@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-probe.mjs","names":[],"sources":["../../src/actions/ip-probe.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoIpProbeInput = z.object({\n ip: z.string().describe(\"The IPv4 or IPv6 address to analyze\"),\n \"user-agent\": z.string().describe(\"User-Agent string for device and browser detection\").optional(),\n \"forward-lookup\": z.boolean().default(false).describe(\"For domains, perform a DNS A record lookup\").optional(),\n \"reverse-lookup\": z.boolean().default(false).describe(\"Perform a reverse DNS lookup to get hostname\").optional(),\n}).describe(\"Request model for IP Probe.\");\nexport const NeutrinoIpProbeOutput = z.object({\n ip: z.string().describe(\"The analyzed IP address\").nullable(),\n asn: z.string().describe(\"Autonomous System Number\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n \"is-v6\": z.boolean().describe(\"True if IPv6 address\").nullable().optional(),\n valid: z.boolean().describe(\"True if the IP address is valid\").nullable(),\n \"as-age\": z.number().int().describe(\"Age of the AS in years\").nullable().optional(),\n \"is-isp\": z.boolean().describe(\"True if the IP is from an ISP\").nullable().optional(),\n \"is-tor\": z.boolean().describe(\"True if the IP is part of the TOR network\").nullable().optional(),\n \"is-vpn\": z.boolean().describe(\"True if a VPN service is detected\").nullable().optional(),\n region: z.string().describe(\"Region/state/province name\").nullable().optional(),\n \"as-cidr\": z.string().describe(\"AS CIDR range\").nullable().optional(),\n country: z.string().describe(\"Full country name\").nullable().optional(),\n hostname: z.string().describe(\"Hostname via reverse DNS (if lookup enabled)\").nullable().optional(),\n \"is-bogon\": z.boolean().describe(\"True if bogon/reserved IP\").nullable().optional(),\n \"is-proxy\": z.boolean().describe(\"True if a proxy is detected\").nullable().optional(),\n \"as-domains\": z.array(z.string()).describe(\"List of domains associated with the AS\").nullable().optional(),\n \"is-hosting\": z.boolean().describe(\"True if the IP is from a hosting provider\").nullable().optional(),\n \"vpn-domain\": z.string().describe(\"VPN domain if detected\").nullable().optional(),\n \"host-domain\": z.string().describe(\"Host domain name\").nullable().optional(),\n \"region-code\": z.string().describe(\"Region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"is-v4-mapped\": z.boolean().describe(\"True if IPv4-mapped IPv6 address\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"Currency code\").nullable().optional(),\n \"provider-type\": z.string().describe(\"Type of internet provider (e.g., hosting, ISP, VPN)\").nullable().optional(),\n \"as-description\": z.string().describe(\"AS description\").nullable().optional(),\n \"continent-code\": z.string().describe(\"Continent code\").nullable().optional(),\n \"as-country-code\": z.string().describe(\"AS country code\").nullable().optional(),\n \"is-icloud-relay\": z.boolean().describe(\"True if Apple iCloud Private Relay is detected\").nullable().optional(),\n \"provider-domain\": z.string().describe(\"Domain of the provider\").nullable().optional(),\n \"as-country-code3\": z.string().describe(\"AS 3-letter country code\").nullable().optional(),\n \"provider-website\": z.string().describe(\"Provider's website URL\").nullable().optional(),\n \"provider-description\": z.string().describe(\"Description of the provider\").nullable().optional(),\n}).describe(\"Response model for IP Probe.\");\n\nexport const neutrinoIpProbe = action(\"NEUTRINO_IP_PROBE\", {\n slug: \"neutrino-ip-probe\",\n name: \"IP Probe\",\n description: \"Analyzes an IPv4 or IPv6 address to extract detailed network intelligence including geolocation, ISP/hosting provider information, ASN details, and security flags (VPN, proxy, TOR detection). Performs live network scanning and service probes. Use when you need comprehensive IP address analysis beyond basic geolocation.\",\n input: NeutrinoIpProbeInput,\n output: NeutrinoIpProbeOutput,\n});\n"],"mappings":";;AA8CA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9CkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8CA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BAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"ip-probe.mjs","names":[],"sources":["../../src/actions/ip-probe.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoIpProbeInput = z.object({\n ip: z.string().describe(\"The IPv4 or IPv6 address to analyze\"),\n \"user-agent\": z.string().describe(\"User-Agent string for device and browser detection\").optional(),\n \"forward-lookup\": z.boolean().default(false).describe(\"For domains, perform a DNS A record lookup\").optional(),\n \"reverse-lookup\": z.boolean().default(false).describe(\"Perform a reverse DNS lookup to get hostname\").optional(),\n}).describe(\"Request model for IP Probe.\");\nexport const NeutrinoIpProbeOutput = z.object({\n ip: z.string().describe(\"The analyzed IP address\").nullable(),\n asn: z.string().describe(\"Autonomous System Number\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n \"is-v6\": z.boolean().describe(\"True if IPv6 address\").nullable().optional(),\n valid: z.boolean().describe(\"True if the IP address is valid\").nullable(),\n \"as-age\": z.number().int().describe(\"Age of the AS in years\").nullable().optional(),\n \"is-isp\": z.boolean().describe(\"True if the IP is from an ISP\").nullable().optional(),\n \"is-tor\": z.boolean().describe(\"True if the IP is part of the TOR network\").nullable().optional(),\n \"is-vpn\": z.boolean().describe(\"True if a VPN service is detected\").nullable().optional(),\n region: z.string().describe(\"Region/state/province name\").nullable().optional(),\n \"as-cidr\": z.string().describe(\"AS CIDR range\").nullable().optional(),\n country: z.string().describe(\"Full country name\").nullable().optional(),\n hostname: z.string().describe(\"Hostname via reverse DNS (if lookup enabled)\").nullable().optional(),\n \"is-bogon\": z.boolean().describe(\"True if bogon/reserved IP\").nullable().optional(),\n \"is-proxy\": z.boolean().describe(\"True if a proxy is detected\").nullable().optional(),\n \"as-domains\": z.array(z.string()).describe(\"List of domains associated with the AS\").nullable().optional(),\n \"is-hosting\": z.boolean().describe(\"True if the IP is from a hosting provider\").nullable().optional(),\n \"vpn-domain\": z.string().describe(\"VPN domain if detected\").nullable().optional(),\n \"host-domain\": z.string().describe(\"Host domain name\").nullable().optional(),\n \"region-code\": z.string().describe(\"Region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"is-v4-mapped\": z.boolean().describe(\"True if IPv4-mapped IPv6 address\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"Currency code\").nullable().optional(),\n \"provider-type\": z.string().describe(\"Type of internet provider (e.g., hosting, ISP, VPN)\").nullable().optional(),\n \"as-description\": z.string().describe(\"AS description\").nullable().optional(),\n \"continent-code\": z.string().describe(\"Continent code\").nullable().optional(),\n \"as-country-code\": z.string().describe(\"AS country code\").nullable().optional(),\n \"is-icloud-relay\": z.boolean().describe(\"True if Apple iCloud Private Relay is detected\").nullable().optional(),\n \"provider-domain\": z.string().describe(\"Domain of the provider\").nullable().optional(),\n \"as-country-code3\": z.string().describe(\"AS 3-letter country code\").nullable().optional(),\n \"provider-website\": z.string().describe(\"Provider's website URL\").nullable().optional(),\n \"provider-description\": z.string().describe(\"Description of the provider\").nullable().optional(),\n}).passthrough().describe(\"Response model for IP Probe.\");\n\nexport const neutrinoIpProbe = action(\"NEUTRINO_IP_PROBE\", {\n slug: \"neutrino-ip-probe\",\n name: \"IP Probe\",\n description: \"Analyzes an IPv4 or IPv6 address to extract detailed network intelligence including geolocation, ISP/hosting provider information, ASN details, and security flags (VPN, proxy, TOR detection). Performs live network scanning and service probes. Use when you need comprehensive IP address analysis beyond basic geolocation.\",\n input: NeutrinoIpProbeInput,\n output: NeutrinoIpProbeOutput,\n});\n"],"mappings":";;AA8CA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9CkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,6BAyCH;CACP,QAzCmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,OAAO,CAAC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,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const NeutrinoLookupDomain_BlocklistSensorSchema = zod.z.object({
|
|
|
9
9
|
id: zod.z.number().int().describe("Sensor ID").nullable(),
|
|
10
10
|
blocklist: zod.z.string().describe("Blocklist category name").nullable(),
|
|
11
11
|
description: zod.z.string().describe("Sensor description").nullable()
|
|
12
|
-
}).describe("Details on which specific blocklist sensor detected this domain.");
|
|
12
|
+
}).passthrough().describe("Details on which specific blocklist sensor detected this domain.");
|
|
13
13
|
const NeutrinoLookupDomainOutput = zod.z.object({
|
|
14
14
|
age: zod.z.number().int().describe("The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain").nullable(),
|
|
15
15
|
tld: zod.z.string().describe("The top-level domain (TLD)").nullable(),
|
|
@@ -35,7 +35,7 @@ const NeutrinoLookupDomainOutput = zod.z.object({
|
|
|
35
35
|
"website-status": zod.z.string().describe("The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown").nullable(),
|
|
36
36
|
"registered-date": zod.z.string().describe("The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date").nullable(),
|
|
37
37
|
"website-provider": zod.z.string().describe("The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider").nullable()
|
|
38
|
-
}).describe("Response model for Domain Lookup action.");
|
|
38
|
+
}).passthrough().describe("Response model for Domain Lookup action.");
|
|
39
39
|
const neutrinoLookupDomain = require_action.action("NEUTRINO_LOOKUP_DOMAIN", {
|
|
40
40
|
slug: "neutrino-lookup-domain",
|
|
41
41
|
name: "Domain Lookup",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-domain.cjs","names":["z","action"],"sources":["../../src/actions/lookup-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoLookupDomainInput = z.object({\n host: z.string().describe(\"A domain name, hostname, FQDN, URL, HTML link or email address to lookup\"),\n live: z.boolean().default(true).describe(\"For domains that we have never seen before then perform various live checks and realtime reconnaissance. NOTE: this option may add additional non-deterministic delay to the request, if you require consistently fast API response times or just want to check our domain blocklists then you can disable this option\").optional(),\n}).describe(\"Request model for Domain Lookup action.\");\nconst NeutrinoLookupDomain_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category name\").nullable(),\n description: z.string().describe(\"Sensor description\").nullable(),\n}).describe(\"Details on which specific blocklist sensor detected this domain.\");\nexport const NeutrinoLookupDomainOutput = z.object({\n age: z.number().int().describe(\"The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain\").nullable(),\n tld: z.string().describe(\"The top-level domain (TLD)\").nullable(),\n fqdn: z.string().describe(\"The fully qualified domain name (FQDN)\").nullable(),\n rank: z.number().int().describe(\"The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains\").nullable(),\n valid: z.boolean().describe(\"True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records\").nullable(),\n domain: z.string().describe(\"The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)\").nullable(),\n \"is-gov\": z.boolean().describe(\"Is this domain under a government or military TLD\").nullable(),\n \"tld-cc\": z.string().describe(\"For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code\").nullable(),\n sensors: z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific blocklist sensors have detected this domain\"),\n \"is-adult\": z.boolean().describe(\"This domain is hosting adult content such as porn, webcams, escorts, etc\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this domain is listed on. Current possible values are: phishing, malware, spam, anonymizer, nefarious\"),\n \"is-opennic\": z.boolean().describe(\"Is this domain under an OpenNIC TLD\").nullable(),\n \"is-pending\": z.boolean().describe(\"True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet\").nullable(),\n \"expiry-date\": z.string().describe(\"The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date\").nullable(),\n \"mail-status\": z.string().describe(\"The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown\").nullable(),\n \"dns-provider\": z.string().describe(\"The primary domain of the DNS provider for this domain\").nullable(),\n \"is-malicious\": z.boolean().describe(\"Consider this domain malicious as it is currently listed on at least 1 blocklist\").nullable(),\n \"is-subdomain\": z.boolean().describe(\"Is the FQDN a subdomain of the primary domain\").nullable(),\n \"registrar-id\": z.number().int().describe(\"The IANA registrar ID (0 if no registrar ID was found)\").nullable(),\n \"mail-provider\": z.string().describe(\"The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records\").nullable(),\n \"registrar-name\": z.string().describe(\"The name of the domain registrar owning this domain\").nullable(),\n \"website-status\": z.string().describe(\"The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown\").nullable(),\n \"registered-date\": z.string().describe(\"The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date\").nullable(),\n \"website-provider\": z.string().describe(\"The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider\").nullable(),\n}).describe(\"Response model for Domain Lookup action.\");\n\nexport const neutrinoLookupDomain = action(\"NEUTRINO_LOOKUP_DOMAIN\", {\n slug: \"neutrino-lookup-domain\",\n name: \"Domain Lookup\",\n description: \"Tool to perform a domain lookup to retrieve WHOIS, DNS records, domain registration information and detect potentially malicious or dangerous domains. Use when you need to assess domain reputation, check for security threats, or gather comprehensive domain intelligence.\",\n input: NeutrinoLookupDomainInput,\n output: NeutrinoLookupDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wTAAwT,CAAC,CAAC,SAAS;AAC9W,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"lookup-domain.cjs","names":["z","action"],"sources":["../../src/actions/lookup-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoLookupDomainInput = z.object({\n host: z.string().describe(\"A domain name, hostname, FQDN, URL, HTML link or email address to lookup\"),\n live: z.boolean().default(true).describe(\"For domains that we have never seen before then perform various live checks and realtime reconnaissance. NOTE: this option may add additional non-deterministic delay to the request, if you require consistently fast API response times or just want to check our domain blocklists then you can disable this option\").optional(),\n}).describe(\"Request model for Domain Lookup action.\");\nconst NeutrinoLookupDomain_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category name\").nullable(),\n description: z.string().describe(\"Sensor description\").nullable(),\n}).passthrough().describe(\"Details on which specific blocklist sensor detected this domain.\");\nexport const NeutrinoLookupDomainOutput = z.object({\n age: z.number().int().describe(\"The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain\").nullable(),\n tld: z.string().describe(\"The top-level domain (TLD)\").nullable(),\n fqdn: z.string().describe(\"The fully qualified domain name (FQDN)\").nullable(),\n rank: z.number().int().describe(\"The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains\").nullable(),\n valid: z.boolean().describe(\"True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records\").nullable(),\n domain: z.string().describe(\"The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)\").nullable(),\n \"is-gov\": z.boolean().describe(\"Is this domain under a government or military TLD\").nullable(),\n \"tld-cc\": z.string().describe(\"For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code\").nullable(),\n sensors: z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific blocklist sensors have detected this domain\"),\n \"is-adult\": z.boolean().describe(\"This domain is hosting adult content such as porn, webcams, escorts, etc\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this domain is listed on. Current possible values are: phishing, malware, spam, anonymizer, nefarious\"),\n \"is-opennic\": z.boolean().describe(\"Is this domain under an OpenNIC TLD\").nullable(),\n \"is-pending\": z.boolean().describe(\"True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet\").nullable(),\n \"expiry-date\": z.string().describe(\"The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date\").nullable(),\n \"mail-status\": z.string().describe(\"The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown\").nullable(),\n \"dns-provider\": z.string().describe(\"The primary domain of the DNS provider for this domain\").nullable(),\n \"is-malicious\": z.boolean().describe(\"Consider this domain malicious as it is currently listed on at least 1 blocklist\").nullable(),\n \"is-subdomain\": z.boolean().describe(\"Is the FQDN a subdomain of the primary domain\").nullable(),\n \"registrar-id\": z.number().int().describe(\"The IANA registrar ID (0 if no registrar ID was found)\").nullable(),\n \"mail-provider\": z.string().describe(\"The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records\").nullable(),\n \"registrar-name\": z.string().describe(\"The name of the domain registrar owning this domain\").nullable(),\n \"website-status\": z.string().describe(\"The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown\").nullable(),\n \"registered-date\": z.string().describe(\"The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date\").nullable(),\n \"website-provider\": z.string().describe(\"The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider\").nullable(),\n}).passthrough().describe(\"Response model for Domain Lookup action.\");\n\nexport const neutrinoLookupDomain = action(\"NEUTRINO_LOOKUP_DOMAIN\", {\n slug: \"neutrino-lookup-domain\",\n name: \"Domain Lookup\",\n description: \"Tool to perform a domain lookup to retrieve WHOIS, DNS records, domain registration information and detect potentially malicious or dangerous domains. Use when you need to assess domain reputation, check for security threats, or gather comprehensive domain intelligence.\",\n input: NeutrinoLookupDomainInput,\n output: NeutrinoLookupDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wTAAwT,CAAC,CAAC,SAAS;AAC9W,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD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OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAClI,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACvK,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACtK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC5L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const NeutrinoLookupDomainOutput: z.ZodObject<{
|
|
|
18
18
|
id: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
blocklist: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
"is-adult": z.ZodNullable<z.ZodBoolean>;
|
|
23
23
|
blocklists: z.ZodArray<z.ZodString>;
|
|
24
24
|
"is-opennic": z.ZodNullable<z.ZodBoolean>;
|
|
@@ -34,7 +34,7 @@ declare const NeutrinoLookupDomainOutput: z.ZodObject<{
|
|
|
34
34
|
"website-status": z.ZodNullable<z.ZodString>;
|
|
35
35
|
"registered-date": z.ZodNullable<z.ZodString>;
|
|
36
36
|
"website-provider": z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const neutrinoLookupDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
host: string;
|
|
40
40
|
live?: boolean | undefined;
|
|
@@ -18,7 +18,7 @@ declare const NeutrinoLookupDomainOutput: z.ZodObject<{
|
|
|
18
18
|
id: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
blocklist: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
"is-adult": z.ZodNullable<z.ZodBoolean>;
|
|
23
23
|
blocklists: z.ZodArray<z.ZodString>;
|
|
24
24
|
"is-opennic": z.ZodNullable<z.ZodBoolean>;
|
|
@@ -34,7 +34,7 @@ declare const NeutrinoLookupDomainOutput: z.ZodObject<{
|
|
|
34
34
|
"website-status": z.ZodNullable<z.ZodString>;
|
|
35
35
|
"registered-date": z.ZodNullable<z.ZodString>;
|
|
36
36
|
"website-provider": z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const neutrinoLookupDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
host: string;
|
|
40
40
|
live?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ const NeutrinoLookupDomain_BlocklistSensorSchema = z.object({
|
|
|
9
9
|
id: z.number().int().describe("Sensor ID").nullable(),
|
|
10
10
|
blocklist: z.string().describe("Blocklist category name").nullable(),
|
|
11
11
|
description: z.string().describe("Sensor description").nullable()
|
|
12
|
-
}).describe("Details on which specific blocklist sensor detected this domain.");
|
|
12
|
+
}).passthrough().describe("Details on which specific blocklist sensor detected this domain.");
|
|
13
13
|
const neutrinoLookupDomain = action("NEUTRINO_LOOKUP_DOMAIN", {
|
|
14
14
|
slug: "neutrino-lookup-domain",
|
|
15
15
|
name: "Domain Lookup",
|
|
@@ -40,7 +40,7 @@ const neutrinoLookupDomain = action("NEUTRINO_LOOKUP_DOMAIN", {
|
|
|
40
40
|
"website-status": z.string().describe("The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown").nullable(),
|
|
41
41
|
"registered-date": z.string().describe("The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date").nullable(),
|
|
42
42
|
"website-provider": z.string().describe("The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider").nullable()
|
|
43
|
-
}).describe("Response model for Domain Lookup action.")
|
|
43
|
+
}).passthrough().describe("Response model for Domain Lookup action.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { neutrinoLookupDomain };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-domain.mjs","names":[],"sources":["../../src/actions/lookup-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoLookupDomainInput = z.object({\n host: z.string().describe(\"A domain name, hostname, FQDN, URL, HTML link or email address to lookup\"),\n live: z.boolean().default(true).describe(\"For domains that we have never seen before then perform various live checks and realtime reconnaissance. NOTE: this option may add additional non-deterministic delay to the request, if you require consistently fast API response times or just want to check our domain blocklists then you can disable this option\").optional(),\n}).describe(\"Request model for Domain Lookup action.\");\nconst NeutrinoLookupDomain_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category name\").nullable(),\n description: z.string().describe(\"Sensor description\").nullable(),\n}).describe(\"Details on which specific blocklist sensor detected this domain.\");\nexport const NeutrinoLookupDomainOutput = z.object({\n age: z.number().int().describe(\"The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain\").nullable(),\n tld: z.string().describe(\"The top-level domain (TLD)\").nullable(),\n fqdn: z.string().describe(\"The fully qualified domain name (FQDN)\").nullable(),\n rank: z.number().int().describe(\"The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains\").nullable(),\n valid: z.boolean().describe(\"True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records\").nullable(),\n domain: z.string().describe(\"The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)\").nullable(),\n \"is-gov\": z.boolean().describe(\"Is this domain under a government or military TLD\").nullable(),\n \"tld-cc\": z.string().describe(\"For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code\").nullable(),\n sensors: z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific blocklist sensors have detected this domain\"),\n \"is-adult\": z.boolean().describe(\"This domain is hosting adult content such as porn, webcams, escorts, etc\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this domain is listed on. Current possible values are: phishing, malware, spam, anonymizer, nefarious\"),\n \"is-opennic\": z.boolean().describe(\"Is this domain under an OpenNIC TLD\").nullable(),\n \"is-pending\": z.boolean().describe(\"True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet\").nullable(),\n \"expiry-date\": z.string().describe(\"The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date\").nullable(),\n \"mail-status\": z.string().describe(\"The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown\").nullable(),\n \"dns-provider\": z.string().describe(\"The primary domain of the DNS provider for this domain\").nullable(),\n \"is-malicious\": z.boolean().describe(\"Consider this domain malicious as it is currently listed on at least 1 blocklist\").nullable(),\n \"is-subdomain\": z.boolean().describe(\"Is the FQDN a subdomain of the primary domain\").nullable(),\n \"registrar-id\": z.number().int().describe(\"The IANA registrar ID (0 if no registrar ID was found)\").nullable(),\n \"mail-provider\": z.string().describe(\"The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records\").nullable(),\n \"registrar-name\": z.string().describe(\"The name of the domain registrar owning this domain\").nullable(),\n \"website-status\": z.string().describe(\"The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown\").nullable(),\n \"registered-date\": z.string().describe(\"The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date\").nullable(),\n \"website-provider\": z.string().describe(\"The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider\").nullable(),\n}).describe(\"Response model for Domain Lookup action.\");\n\nexport const neutrinoLookupDomain = action(\"NEUTRINO_LOOKUP_DOMAIN\", {\n slug: \"neutrino-lookup-domain\",\n name: \"Domain Lookup\",\n description: \"Tool to perform a domain lookup to retrieve WHOIS, DNS records, domain registration information and detect potentially malicious or dangerous domains. Use when you need to assess domain reputation, check for security threats, or gather comprehensive domain intelligence.\",\n input: NeutrinoLookupDomainInput,\n output: NeutrinoLookupDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wTAAwT,CAAC,CAAC,SAAS;AAC9W,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"lookup-domain.mjs","names":[],"sources":["../../src/actions/lookup-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoLookupDomainInput = z.object({\n host: z.string().describe(\"A domain name, hostname, FQDN, URL, HTML link or email address to lookup\"),\n live: z.boolean().default(true).describe(\"For domains that we have never seen before then perform various live checks and realtime reconnaissance. NOTE: this option may add additional non-deterministic delay to the request, if you require consistently fast API response times or just want to check our domain blocklists then you can disable this option\").optional(),\n}).describe(\"Request model for Domain Lookup action.\");\nconst NeutrinoLookupDomain_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category name\").nullable(),\n description: z.string().describe(\"Sensor description\").nullable(),\n}).passthrough().describe(\"Details on which specific blocklist sensor detected this domain.\");\nexport const NeutrinoLookupDomainOutput = z.object({\n age: z.number().int().describe(\"The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain\").nullable(),\n tld: z.string().describe(\"The top-level domain (TLD)\").nullable(),\n fqdn: z.string().describe(\"The fully qualified domain name (FQDN)\").nullable(),\n rank: z.number().int().describe(\"The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains\").nullable(),\n valid: z.boolean().describe(\"True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records\").nullable(),\n domain: z.string().describe(\"The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)\").nullable(),\n \"is-gov\": z.boolean().describe(\"Is this domain under a government or military TLD\").nullable(),\n \"tld-cc\": z.string().describe(\"For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code\").nullable(),\n sensors: z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific blocklist sensors have detected this domain\"),\n \"is-adult\": z.boolean().describe(\"This domain is hosting adult content such as porn, webcams, escorts, etc\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this domain is listed on. Current possible values are: phishing, malware, spam, anonymizer, nefarious\"),\n \"is-opennic\": z.boolean().describe(\"Is this domain under an OpenNIC TLD\").nullable(),\n \"is-pending\": z.boolean().describe(\"True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet\").nullable(),\n \"expiry-date\": z.string().describe(\"The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date\").nullable(),\n \"mail-status\": z.string().describe(\"The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown\").nullable(),\n \"dns-provider\": z.string().describe(\"The primary domain of the DNS provider for this domain\").nullable(),\n \"is-malicious\": z.boolean().describe(\"Consider this domain malicious as it is currently listed on at least 1 blocklist\").nullable(),\n \"is-subdomain\": z.boolean().describe(\"Is the FQDN a subdomain of the primary domain\").nullable(),\n \"registrar-id\": z.number().int().describe(\"The IANA registrar ID (0 if no registrar ID was found)\").nullable(),\n \"mail-provider\": z.string().describe(\"The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records\").nullable(),\n \"registrar-name\": z.string().describe(\"The name of the domain registrar owning this domain\").nullable(),\n \"website-status\": z.string().describe(\"The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown\").nullable(),\n \"registered-date\": z.string().describe(\"The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date\").nullable(),\n \"website-provider\": z.string().describe(\"The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider\").nullable(),\n}).passthrough().describe(\"Response model for Domain Lookup action.\");\n\nexport const neutrinoLookupDomain = action(\"NEUTRINO_LOOKUP_DOMAIN\", {\n slug: \"neutrino-lookup-domain\",\n name: \"Domain Lookup\",\n description: \"Tool to perform a domain lookup to retrieve WHOIS, DNS records, domain registration information and detect potentially malicious or dangerous domains. Use when you need to assess domain reputation, check for security threats, or gather comprehensive domain intelligence.\",\n input: NeutrinoLookupDomainInput,\n output: NeutrinoLookupDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wTAAwT,CAAC,CAAC,SAAS;AAC9W,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AA4B5F,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhCwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS;EACpP,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;EAC5M,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EAClK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpJ,UAAU,EAAE,QAAQ,CAAC,CAAC,SAA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CAAC,SAAS;CAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ const NeutrinoPhoneValidateOutput = zod.z.object({
|
|
|
19
19
|
"prefix-network": zod.z.string().describe("Network/carrier that owns the prefix (may be empty if unavailable).").nullable(),
|
|
20
20
|
"international-number": zod.z.string().describe("Number in international format.").nullable(),
|
|
21
21
|
"international-calling-code": zod.z.string().describe("International calling code (e.g., '1' for US).").nullable()
|
|
22
|
-
}).describe("Response model for phone number validation and lookup.");
|
|
22
|
+
}).passthrough().describe("Response model for phone number validation and lookup.");
|
|
23
23
|
const neutrinoPhoneValidate = require_action.action("NEUTRINO_PHONE_VALIDATE", {
|
|
24
24
|
slug: "neutrino-phone-validate",
|
|
25
25
|
name: "Phone Validate",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-validate.cjs","names":["z","action"],"sources":["../../src/actions/phone-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoPhoneValidateInput = z.object({\n ip: z.string().describe(\"User's IP address to help with number location.\").optional(),\n number: z.string().describe(\"The phone number to validate in international format.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (required if number not in international format).\").optional(),\n}).describe(\"Request model for phone number validation and lookup.\");\nexport const NeutrinoPhoneValidateOutput = z.object({\n type: z.string().describe(\"Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown).\").nullable(),\n valid: z.boolean().describe(\"True if the phone number is valid.\").nullable(),\n country: z.string().describe(\"Country name.\").nullable(),\n location: z.string().describe(\"Location description for the number.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile number.\").nullable(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local format.\").nullable(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code.\").nullable(),\n \"currency-code\": z.string().describe(\"ISO 3-letter currency code.\").nullable(),\n \"prefix-network\": z.string().describe(\"Network/carrier that owns the prefix (may be empty if unavailable).\").nullable(),\n \"international-number\": z.string().describe(\"Number in international format.\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code (e.g., '1' for US).\").nullable(),\n}).describe(\"Response model for phone number validation and lookup.\");\n\nexport const neutrinoPhoneValidate = action(\"NEUTRINO_PHONE_VALIDATE\", {\n slug: \"neutrino-phone-validate\",\n name: \"Phone Validate\",\n description: \"Tool to validate and lookup phone numbers. Use when you need to confirm number format and fetch location, carrier, and type details.\",\n input: NeutrinoPhoneValidateInput,\n output: NeutrinoPhoneValidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC7E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACtH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxF,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"phone-validate.cjs","names":["z","action"],"sources":["../../src/actions/phone-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoPhoneValidateInput = z.object({\n ip: z.string().describe(\"User's IP address to help with number location.\").optional(),\n number: z.string().describe(\"The phone number to validate in international format.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (required if number not in international format).\").optional(),\n}).describe(\"Request model for phone number validation and lookup.\");\nexport const NeutrinoPhoneValidateOutput = z.object({\n type: z.string().describe(\"Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown).\").nullable(),\n valid: z.boolean().describe(\"True if the phone number is valid.\").nullable(),\n country: z.string().describe(\"Country name.\").nullable(),\n location: z.string().describe(\"Location description for the number.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile number.\").nullable(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local format.\").nullable(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code.\").nullable(),\n \"currency-code\": z.string().describe(\"ISO 3-letter currency code.\").nullable(),\n \"prefix-network\": z.string().describe(\"Network/carrier that owns the prefix (may be empty if unavailable).\").nullable(),\n \"international-number\": z.string().describe(\"Number in international format.\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code (e.g., '1' for US).\").nullable(),\n}).passthrough().describe(\"Response model for phone number validation and lookup.\");\n\nexport const neutrinoPhoneValidate = action(\"NEUTRINO_PHONE_VALIDATE\", {\n slug: \"neutrino-phone-validate\",\n name: \"Phone Validate\",\n description: \"Tool to validate and lookup phone numbers. Use when you need to confirm number format and fetch location, carrier, and type details.\",\n input: NeutrinoPhoneValidateInput,\n output: NeutrinoPhoneValidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC7E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACtH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxF,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ declare const NeutrinoPhoneValidateOutput: z.ZodObject<{
|
|
|
19
19
|
"prefix-network": z.ZodNullable<z.ZodString>;
|
|
20
20
|
"international-number": z.ZodNullable<z.ZodString>;
|
|
21
21
|
"international-calling-code": z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const neutrinoPhoneValidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
number: string;
|
|
25
25
|
ip?: string | undefined;
|
|
@@ -19,7 +19,7 @@ declare const NeutrinoPhoneValidateOutput: z.ZodObject<{
|
|
|
19
19
|
"prefix-network": z.ZodNullable<z.ZodString>;
|
|
20
20
|
"international-number": z.ZodNullable<z.ZodString>;
|
|
21
21
|
"international-calling-code": z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const neutrinoPhoneValidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
number: string;
|
|
25
25
|
ip?: string | undefined;
|
|
@@ -22,7 +22,7 @@ const neutrinoPhoneValidate = action("NEUTRINO_PHONE_VALIDATE", {
|
|
|
22
22
|
"prefix-network": z.string().describe("Network/carrier that owns the prefix (may be empty if unavailable).").nullable(),
|
|
23
23
|
"international-number": z.string().describe("Number in international format.").nullable(),
|
|
24
24
|
"international-calling-code": z.string().describe("International calling code (e.g., '1' for US).").nullable()
|
|
25
|
-
}).describe("Response model for phone number validation and lookup.")
|
|
25
|
+
}).passthrough().describe("Response model for phone number validation and lookup.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { neutrinoPhoneValidate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-validate.mjs","names":[],"sources":["../../src/actions/phone-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoPhoneValidateInput = z.object({\n ip: z.string().describe(\"User's IP address to help with number location.\").optional(),\n number: z.string().describe(\"The phone number to validate in international format.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (required if number not in international format).\").optional(),\n}).describe(\"Request model for phone number validation and lookup.\");\nexport const NeutrinoPhoneValidateOutput = z.object({\n type: z.string().describe(\"Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown).\").nullable(),\n valid: z.boolean().describe(\"True if the phone number is valid.\").nullable(),\n country: z.string().describe(\"Country name.\").nullable(),\n location: z.string().describe(\"Location description for the number.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile number.\").nullable(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local format.\").nullable(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code.\").nullable(),\n \"currency-code\": z.string().describe(\"ISO 3-letter currency code.\").nullable(),\n \"prefix-network\": z.string().describe(\"Network/carrier that owns the prefix (may be empty if unavailable).\").nullable(),\n \"international-number\": z.string().describe(\"Number in international format.\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code (e.g., '1' for US).\").nullable(),\n}).describe(\"Response model for phone number validation and lookup.\");\n\nexport const neutrinoPhoneValidate = action(\"NEUTRINO_PHONE_VALIDATE\", {\n slug: \"neutrino-phone-validate\",\n name: \"Phone Validate\",\n description: \"Tool to validate and lookup phone numbers. Use when you need to confirm number format and fetch location, carrier, and type details.\",\n input: NeutrinoPhoneValidateInput,\n output: NeutrinoPhoneValidateOutput,\n});\n"],"mappings":";;AAwBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,uDAoBH;CACP,QApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACzH,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACxE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC7E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACtH,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxF,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"phone-validate.mjs","names":[],"sources":["../../src/actions/phone-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoPhoneValidateInput = z.object({\n ip: z.string().describe(\"User's IP address to help with number location.\").optional(),\n number: z.string().describe(\"The phone number to validate in international format.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (required if number not in international format).\").optional(),\n}).describe(\"Request model for phone number validation and lookup.\");\nexport const NeutrinoPhoneValidateOutput = z.object({\n type: z.string().describe(\"Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown).\").nullable(),\n valid: z.boolean().describe(\"True if the phone number is valid.\").nullable(),\n country: z.string().describe(\"Country name.\").nullable(),\n location: z.string().describe(\"Location description for the number.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile number.\").nullable(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local format.\").nullable(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code.\").nullable(),\n \"currency-code\": z.string().describe(\"ISO 3-letter currency code.\").nullable(),\n \"prefix-network\": z.string().describe(\"Network/carrier that owns the prefix (may be empty if unavailable).\").nullable(),\n \"international-number\": z.string().describe(\"Number in international format.\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code (e.g., '1' for US).\").nullable(),\n}).passthrough().describe(\"Response model for phone number validation and lookup.\");\n\nexport const neutrinoPhoneValidate = action(\"NEUTRINO_PHONE_VALIDATE\", {\n slug: \"neutrino-phone-validate\",\n name: \"Phone Validate\",\n description: \"Tool to validate and lookup phone numbers. Use when you need to confirm number format and fetch location, carrier, and type details.\",\n input: NeutrinoPhoneValidateInput,\n output: NeutrinoPhoneValidateOutput,\n});\n"],"mappings":";;AAwBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,uDAoBH;CACP,QApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACzH,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACxE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC7E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACtH,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxF,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
package/dist/actions/qr-code.cjs
CHANGED
|
@@ -9,7 +9,7 @@ const NeutrinoQrCodeInput = zod.z.object({
|
|
|
9
9
|
"fg-color": zod.z.string().default("#000000").describe("The QR code foreground color as hex value; default is #000000 (black)").optional(),
|
|
10
10
|
"code-format": zod.z.enum(["qr", "c128"]).default("qr").describe("The barcode format to output: 'qr' for QR code or 'c128' for Code 128 barcode; default is 'qr'").optional()
|
|
11
11
|
}).describe("Request model for the QR_CODE action.");
|
|
12
|
-
const NeutrinoQrCodeOutput = zod.z.object({ file: zod.z.string().describe("The generated QR code image as binary data.").nullable() }).describe("Response model for the QR_CODE action.");
|
|
12
|
+
const NeutrinoQrCodeOutput = zod.z.object({ file: zod.z.string().describe("The generated QR code image as binary data.").nullable() }).passthrough().describe("Response model for the QR_CODE action.");
|
|
13
13
|
const neutrinoQrCode = require_action.action("NEUTRINO_QR_CODE", {
|
|
14
14
|
slug: "neutrino-qr-code",
|
|
15
15
|
name: "QR Code",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qr-code.cjs","names":["z","action"],"sources":["../../src/actions/qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoQrCodeInput = z.object({\n width: z.number().int().default(256).describe(\"The width of the QR code in pixels; default is 256\").optional(),\n height: z.number().int().default(256).describe(\"The height of the QR code in pixels; default is 256\").optional(),\n content: z.string().describe(\"The content to encode into the QR code (e.g. a URL or a phone number)\"),\n \"bg-color\": z.string().default(\"#ffffff\").describe(\"The QR code background color as hex value; default is #ffffff (white)\").optional(),\n \"fg-color\": z.string().default(\"#000000\").describe(\"The QR code foreground color as hex value; default is #000000 (black)\").optional(),\n \"code-format\": z.enum([\"qr\", \"c128\"]).default(\"qr\").describe(\"The barcode format to output: 'qr' for QR code or 'c128' for Code 128 barcode; default is 'qr'\").optional(),\n}).describe(\"Request model for the QR_CODE action.\");\nexport const NeutrinoQrCodeOutput = z.object({\n file: z.string().describe(\"The generated QR code image as binary data.\").nullable(),\n}).describe(\"Response model for the QR_CODE action.\");\n\nexport const neutrinoQrCode = action(\"NEUTRINO_QR_CODE\", {\n slug: \"neutrino-qr-code\",\n name: \"QR Code\",\n description: \"Generate a QR code or Code 128 barcode as a PNG image. Use when you need to encode URLs, text, phone numbers, or other data into a scannable code. Examples: Create QR code for a website URL, encode contact information, generate barcode for product tracking.\",\n input: NeutrinoQrCodeInput,\n output: NeutrinoQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrI,eAAeA,IAAAA,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"qr-code.cjs","names":["z","action"],"sources":["../../src/actions/qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoQrCodeInput = z.object({\n width: z.number().int().default(256).describe(\"The width of the QR code in pixels; default is 256\").optional(),\n height: z.number().int().default(256).describe(\"The height of the QR code in pixels; default is 256\").optional(),\n content: z.string().describe(\"The content to encode into the QR code (e.g. a URL or a phone number)\"),\n \"bg-color\": z.string().default(\"#ffffff\").describe(\"The QR code background color as hex value; default is #ffffff (white)\").optional(),\n \"fg-color\": z.string().default(\"#000000\").describe(\"The QR code foreground color as hex value; default is #000000 (black)\").optional(),\n \"code-format\": z.enum([\"qr\", \"c128\"]).default(\"qr\").describe(\"The barcode format to output: 'qr' for QR code or 'c128' for Code 128 barcode; default is 'qr'\").optional(),\n}).describe(\"Request model for the QR_CODE action.\");\nexport const NeutrinoQrCodeOutput = z.object({\n file: z.string().describe(\"The generated QR code image as binary data.\").nullable(),\n}).passthrough().describe(\"Response model for the QR_CODE action.\");\n\nexport const neutrinoQrCode = action(\"NEUTRINO_QR_CODE\", {\n slug: \"neutrino-qr-code\",\n name: \"QR Code\",\n description: \"Generate a QR code or Code 128 barcode as a PNG image. Use when you need to encode URLs, text, phone numbers, or other data into a scannable code. Examples: Create QR code for a website URL, encode contact information, generate barcode for product tracking.\",\n input: NeutrinoQrCodeInput,\n output: NeutrinoQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrI,eAAeA,IAAAA,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const NeutrinoQrCodeInput: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const NeutrinoQrCodeOutput: z.ZodObject<{
|
|
16
16
|
file: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const neutrinoQrCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
content: string;
|
|
20
20
|
width?: number | undefined;
|
|
@@ -14,7 +14,7 @@ declare const NeutrinoQrCodeInput: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const NeutrinoQrCodeOutput: z.ZodObject<{
|
|
16
16
|
file: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const neutrinoQrCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
content: string;
|
|
20
20
|
width?: number | undefined;
|
package/dist/actions/qr-code.mjs
CHANGED
|
@@ -12,7 +12,7 @@ const neutrinoQrCode = action("NEUTRINO_QR_CODE", {
|
|
|
12
12
|
"fg-color": z.string().default("#000000").describe("The QR code foreground color as hex value; default is #000000 (black)").optional(),
|
|
13
13
|
"code-format": z.enum(["qr", "c128"]).default("qr").describe("The barcode format to output: 'qr' for QR code or 'c128' for Code 128 barcode; default is 'qr'").optional()
|
|
14
14
|
}).describe("Request model for the QR_CODE action."),
|
|
15
|
-
output: z.object({ file: z.string().describe("The generated QR code image as binary data.").nullable() }).describe("Response model for the QR_CODE action.")
|
|
15
|
+
output: z.object({ file: z.string().describe("The generated QR code image as binary data.").nullable() }).passthrough().describe("Response model for the QR_CODE action.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { neutrinoQrCode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qr-code.mjs","names":[],"sources":["../../src/actions/qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoQrCodeInput = z.object({\n width: z.number().int().default(256).describe(\"The width of the QR code in pixels; default is 256\").optional(),\n height: z.number().int().default(256).describe(\"The height of the QR code in pixels; default is 256\").optional(),\n content: z.string().describe(\"The content to encode into the QR code (e.g. a URL or a phone number)\"),\n \"bg-color\": z.string().default(\"#ffffff\").describe(\"The QR code background color as hex value; default is #ffffff (white)\").optional(),\n \"fg-color\": z.string().default(\"#000000\").describe(\"The QR code foreground color as hex value; default is #000000 (black)\").optional(),\n \"code-format\": z.enum([\"qr\", \"c128\"]).default(\"qr\").describe(\"The barcode format to output: 'qr' for QR code or 'c128' for Code 128 barcode; default is 'qr'\").optional(),\n}).describe(\"Request model for the QR_CODE action.\");\nexport const NeutrinoQrCodeOutput = z.object({\n file: z.string().describe(\"The generated QR code image as binary data.\").nullable(),\n}).describe(\"Response model for the QR_CODE action.\");\n\nexport const neutrinoQrCode = action(\"NEUTRINO_QR_CODE\", {\n slug: \"neutrino-qr-code\",\n name: \"QR Code\",\n description: \"Generate a QR code or Code 128 barcode as a PNG image. Use when you need to encode URLs, text, phone numbers, or other data into a scannable code. Examples: Create QR code for a website URL, encode contact information, generate barcode for product tracking.\",\n input: NeutrinoQrCodeInput,\n output: NeutrinoQrCodeOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACrI,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACrI,eAAe,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,SAAS,uCASH;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"qr-code.mjs","names":[],"sources":["../../src/actions/qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoQrCodeInput = z.object({\n width: z.number().int().default(256).describe(\"The width of the QR code in pixels; default is 256\").optional(),\n height: z.number().int().default(256).describe(\"The height of the QR code in pixels; default is 256\").optional(),\n content: z.string().describe(\"The content to encode into the QR code (e.g. a URL or a phone number)\"),\n \"bg-color\": z.string().default(\"#ffffff\").describe(\"The QR code background color as hex value; default is #ffffff (white)\").optional(),\n \"fg-color\": z.string().default(\"#000000\").describe(\"The QR code foreground color as hex value; default is #000000 (black)\").optional(),\n \"code-format\": z.enum([\"qr\", \"c128\"]).default(\"qr\").describe(\"The barcode format to output: 'qr' for QR code or 'c128' for Code 128 barcode; default is 'qr'\").optional(),\n}).describe(\"Request model for the QR_CODE action.\");\nexport const NeutrinoQrCodeOutput = z.object({\n file: z.string().describe(\"The generated QR code image as binary data.\").nullable(),\n}).passthrough().describe(\"Response model for the QR_CODE action.\");\n\nexport const neutrinoQrCode = action(\"NEUTRINO_QR_CODE\", {\n slug: \"neutrino-qr-code\",\n name: \"QR Code\",\n description: \"Generate a QR code or Code 128 barcode as a PNG image. Use when you need to encode URLs, text, phone numbers, or other data into a scannable code. Examples: Create QR code for a website URL, encode contact information, generate barcode for product tracking.\",\n input: NeutrinoQrCodeInput,\n output: NeutrinoQrCodeOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACrI,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACrI,eAAe,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,SAAS,uCASH;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -16,19 +16,19 @@ const NeutrinoRunBrowserBot_HTMLElementSchema = zod.z.object({
|
|
|
16
16
|
html: zod.z.string().describe("The HTML content of the element").nullable().optional(),
|
|
17
17
|
text: zod.z.string().describe("The text content of the element").nullable().optional(),
|
|
18
18
|
"class": zod.z.string().describe("The class attribute of the element").nullable().optional()
|
|
19
|
-
}).describe("Model representing an HTML element extracted by a CSS selector.");
|
|
19
|
+
}).passthrough().describe("Model representing an HTML element extracted by a CSS selector.");
|
|
20
20
|
const NeutrinoRunBrowserBot_ExecResultSchema = zod.z.object({
|
|
21
21
|
result: zod.z.string().describe("The result returned by the statement").nullable().optional(),
|
|
22
22
|
statement: zod.z.string().describe("The JavaScript statement that was executed").nullable().optional()
|
|
23
|
-
}).describe("Model representing the result of executing JavaScript.");
|
|
23
|
+
}).passthrough().describe("Model representing the result of executing JavaScript.");
|
|
24
24
|
const NeutrinoRunBrowserBot_URLComponentsSchema = zod.z.object({
|
|
25
25
|
url: zod.z.string().describe("The complete and final URL").nullable().optional(),
|
|
26
26
|
host: zod.z.string().describe("The host of the URL. Will be either a domain name, sub-domain or IP address").nullable().optional(),
|
|
27
27
|
path: zod.z.string().describe("The path of the URL. This is the part coming after the host and specifies which resource to load").nullable().optional(),
|
|
28
28
|
port: zod.z.number().int().describe("The port of the URL. This is usually 443 for HTTPS and 80 for HTTP unless otherwise specified in the URL").nullable().optional(),
|
|
29
|
-
query: zod.z.
|
|
29
|
+
query: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The query of the URL. Contains a key/value map of any HTTP GET query parameters present in the URL").nullable().optional(),
|
|
30
30
|
protocol: zod.z.string().describe("The protocol of the URL. For a website URL this will be either 'https' or 'http'").nullable().optional()
|
|
31
|
-
}).describe("Model representing the components of a URL.");
|
|
31
|
+
}).passthrough().describe("Model representing the components of a URL.");
|
|
32
32
|
const NeutrinoRunBrowserBotOutput = zod.z.object({
|
|
33
33
|
url: zod.z.string().describe("The requested URL. This may not be the same as the final destination URL, if the URL redirects then it will be set in 'http-redirect-url' and 'is-http-redirect' will also be true").nullable().optional(),
|
|
34
34
|
title: zod.z.string().describe("The document title").nullable().optional(),
|
|
@@ -50,11 +50,11 @@ const NeutrinoRunBrowserBotOutput = zod.z.object({
|
|
|
50
50
|
"server-hostname": zod.z.string().describe("The HTTP servers hostname (PTR/RDNS record)").nullable().optional(),
|
|
51
51
|
"http-status-code": zod.z.number().int().describe("The HTTP status code the URL returned").nullable().optional(),
|
|
52
52
|
"is-http-redirect": zod.z.boolean().describe("True if the URL responded with an HTTP redirect").nullable().optional(),
|
|
53
|
-
"response-headers": zod.z.
|
|
54
|
-
"security-details": zod.z.
|
|
53
|
+
"response-headers": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map containing all the HTTP response headers the URL responded with").nullable().optional(),
|
|
54
|
+
"security-details": zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map containing details of the TLS/SSL setup").nullable().optional(),
|
|
55
55
|
"http-redirect-url": zod.z.string().describe("The redirected URL if the URL responded with an HTTP redirect").nullable().optional(),
|
|
56
56
|
"http-status-message": zod.z.string().describe("The HTTP status message the URL returned").nullable().optional()
|
|
57
|
-
}).describe("Response model for Browser Bot action.");
|
|
57
|
+
}).passthrough().describe("Response model for Browser Bot action.");
|
|
58
58
|
const neutrinoRunBrowserBot = require_action.action("NEUTRINO_RUN_BROWSER_BOT", {
|
|
59
59
|
slug: "neutrino-run-browser-bot",
|
|
60
60
|
name: "Browser Bot",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-browser-bot.cjs","names":["z","action"],"sources":["../../src/actions/run-browser-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoRunBrowserBotInput = z.object({\n url: z.string().describe(\"The URL to load\"),\n exec: z.array(z.string()).describe(\"Execute JavaScript on the website. This parameter accepts JavaScript as either a string containing JavaScript or for sending multiple separate statements a JSON array. If a statement returns any value it will be returned in the 'exec-results' response. You can also use the following specially defined user interaction functions: sleep(seconds); click('selector'); focus('selector'); keys('characters'); enter(); tab();\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before capturing any page data, executing selectors or JavaScript. Default is 3.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds. Give up if still trying to load the page after this number of seconds. Default is 30.\").optional(),\n selector: z.string().describe(\"Extract content from the page DOM using this CSS selector. You can find a good reference at https://www.w3schools.com/cssref/css_selectors.asp\").optional(),\n \"user-agent\": z.string().describe(\"Override the browser's default user-agent string with this one\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore any TLS/SSL certificate errors and load the page anyway. Default is false.\").optional(),\n}).describe(\"Request model for Browser Bot action.\");\nconst NeutrinoRunBrowserBot_HTMLElementSchema = z.object({\n id: z.string().describe(\"The id attribute of the element\").nullable().optional(),\n href: z.string().describe(\"The href attribute of the element\").nullable().optional(),\n html: z.string().describe(\"The HTML content of the element\").nullable().optional(),\n text: z.string().describe(\"The text content of the element\").nullable().optional(),\n \"class\": z.string().describe(\"The class attribute of the element\").nullable().optional(),\n}).describe(\"Model representing an HTML element extracted by a CSS selector.\");\nconst NeutrinoRunBrowserBot_ExecResultSchema = z.object({\n result: z.string().describe(\"The result returned by the statement\").nullable().optional(),\n statement: z.string().describe(\"The JavaScript statement that was executed\").nullable().optional(),\n}).describe(\"Model representing the result of executing JavaScript.\");\nconst NeutrinoRunBrowserBot_URLComponentsSchema = z.object({\n url: z.string().describe(\"The complete and final URL\").nullable().optional(),\n host: z.string().describe(\"The host of the URL. Will be either a domain name, sub-domain or IP address\").nullable().optional(),\n path: z.string().describe(\"The path of the URL. This is the part coming after the host and specifies which resource to load\").nullable().optional(),\n port: z.number().int().describe(\"The port of the URL. This is usually 443 for HTTPS and 80 for HTTP unless otherwise specified in the URL\").nullable().optional(),\n query: z.object({}).describe(\"The query of the URL. Contains a key/value map of any HTTP GET query parameters present in the URL\").nullable().optional(),\n protocol: z.string().describe(\"The protocol of the URL. For a website URL this will be either 'https' or 'http'\").nullable().optional(),\n}).describe(\"Model representing the components of a URL.\");\nexport const NeutrinoRunBrowserBotOutput = z.object({\n url: z.string().describe(\"The requested URL. This may not be the same as the final destination URL, if the URL redirects then it will be set in 'http-redirect-url' and 'is-http-redirect' will also be true\").nullable().optional(),\n title: z.string().describe(\"The document title\").nullable().optional(),\n content: z.string().describe(\"The complete raw, decompressed and decoded page content. Usually will be either HTML, JSON or XML\").nullable().optional(),\n elements: z.array(NeutrinoRunBrowserBot_HTMLElementSchema).describe(\"Array containing all the elements matching the supplied selector\").nullable().optional(),\n \"is-error\": z.boolean().describe(\"True if an error has occurred loading the page. Check the 'error-message' field for details\").nullable().optional(),\n \"is-secure\": z.boolean().describe(\"True if the page is secured using TLS/SSL\").nullable().optional(),\n \"load-time\": z.number().describe(\"The number of seconds taken to load the page (from initial request until DOM ready)\").nullable().optional(),\n \"mime-type\": z.string().describe(\"The document MIME type\").nullable().optional(),\n \"server-ip\": z.string().describe(\"The HTTP servers IP address\").nullable().optional(),\n \"url-valid\": z.boolean().describe(\"True if the URL supplied is valid\").nullable().optional(),\n \"is-http-ok\": z.boolean().describe(\"True if the HTTP status is OK (200)\").nullable().optional(),\n \"is-timeout\": z.boolean().describe(\"True if a timeout occurred while loading the page. You can set the timeout with the request parameter 'timeout'\").nullable().optional(),\n \"content-size\": z.number().int().describe(\"The size of the returned content in bytes\").nullable().optional(),\n \"exec-results\": z.array(NeutrinoRunBrowserBot_ExecResultSchema).describe(\"If you executed any JavaScript this array holds the results as objects\").nullable().optional(),\n \"error-message\": z.string().describe(\"Contains the error message if an error has occurred ('is-error' will be true)\").nullable().optional(),\n \"language-code\": z.string().describe(\"The ISO 2-letter language code of the page. Extracted from either the HTML document or via HTTP headers\").nullable().optional(),\n \"url-components\": NeutrinoRunBrowserBot_URLComponentsSchema.nullable().optional(),\n \"server-hostname\": z.string().describe(\"The HTTP servers hostname (PTR/RDNS record)\").nullable().optional(),\n \"http-status-code\": z.number().int().describe(\"The HTTP status code the URL returned\").nullable().optional(),\n \"is-http-redirect\": z.boolean().describe(\"True if the URL responded with an HTTP redirect\").nullable().optional(),\n \"response-headers\": z.object({}).describe(\"Map containing all the HTTP response headers the URL responded with\").nullable().optional(),\n \"security-details\": z.object({}).describe(\"Map containing details of the TLS/SSL setup\").nullable().optional(),\n \"http-redirect-url\": z.string().describe(\"The redirected URL if the URL responded with an HTTP redirect\").nullable().optional(),\n \"http-status-message\": z.string().describe(\"The HTTP status message the URL returned\").nullable().optional(),\n}).describe(\"Response model for Browser Bot action.\");\n\nexport const neutrinoRunBrowserBot = action(\"NEUTRINO_RUN_BROWSER_BOT\", {\n slug: \"neutrino-run-browser-bot\",\n name: \"Browser Bot\",\n description: \"Tool to automate browser interactions using a real Chromium browser. Use when you need to extract content, fill forms, capture screenshots, or navigate complex JavaScript-heavy websites.\",\n input: NeutrinoRunBrowser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AAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,kBAAkB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAChF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"run-browser-bot.cjs","names":["z","action"],"sources":["../../src/actions/run-browser-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoRunBrowserBotInput = z.object({\n url: z.string().describe(\"The URL to load\"),\n exec: z.array(z.string()).describe(\"Execute JavaScript on the website. This parameter accepts JavaScript as either a string containing JavaScript or for sending multiple separate statements a JSON array. If a statement returns any value it will be returned in the 'exec-results' response. You can also use the following specially defined user interaction functions: sleep(seconds); click('selector'); focus('selector'); keys('characters'); enter(); tab();\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before capturing any page data, executing selectors or JavaScript. Default is 3.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds. Give up if still trying to load the page after this number of seconds. Default is 30.\").optional(),\n selector: z.string().describe(\"Extract content from the page DOM using this CSS selector. You can find a good reference at https://www.w3schools.com/cssref/css_selectors.asp\").optional(),\n \"user-agent\": z.string().describe(\"Override the browser's default user-agent string with this one\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore any TLS/SSL certificate errors and load the page anyway. Default is false.\").optional(),\n}).describe(\"Request model for Browser Bot action.\");\nconst NeutrinoRunBrowserBot_HTMLElementSchema = z.object({\n id: z.string().describe(\"The id attribute of the element\").nullable().optional(),\n href: z.string().describe(\"The href attribute of the element\").nullable().optional(),\n html: z.string().describe(\"The HTML content of the element\").nullable().optional(),\n text: z.string().describe(\"The text content of the element\").nullable().optional(),\n \"class\": z.string().describe(\"The class attribute of the element\").nullable().optional(),\n}).passthrough().describe(\"Model representing an HTML element extracted by a CSS selector.\");\nconst NeutrinoRunBrowserBot_ExecResultSchema = z.object({\n result: z.string().describe(\"The result returned by the statement\").nullable().optional(),\n statement: z.string().describe(\"The JavaScript statement that was executed\").nullable().optional(),\n}).passthrough().describe(\"Model representing the result of executing JavaScript.\");\nconst NeutrinoRunBrowserBot_URLComponentsSchema = z.object({\n url: z.string().describe(\"The complete and final URL\").nullable().optional(),\n host: z.string().describe(\"The host of the URL. Will be either a domain name, sub-domain or IP address\").nullable().optional(),\n path: z.string().describe(\"The path of the URL. This is the part coming after the host and specifies which resource to load\").nullable().optional(),\n port: z.number().int().describe(\"The port of the URL. This is usually 443 for HTTPS and 80 for HTTP unless otherwise specified in the URL\").nullable().optional(),\n query: z.record(z.string(), z.unknown()).describe(\"The query of the URL. Contains a key/value map of any HTTP GET query parameters present in the URL\").nullable().optional(),\n protocol: z.string().describe(\"The protocol of the URL. For a website URL this will be either 'https' or 'http'\").nullable().optional(),\n}).passthrough().describe(\"Model representing the components of a URL.\");\nexport const NeutrinoRunBrowserBotOutput = z.object({\n url: z.string().describe(\"The requested URL. This may not be the same as the final destination URL, if the URL redirects then it will be set in 'http-redirect-url' and 'is-http-redirect' will also be true\").nullable().optional(),\n title: z.string().describe(\"The document title\").nullable().optional(),\n content: z.string().describe(\"The complete raw, decompressed and decoded page content. Usually will be either HTML, JSON or XML\").nullable().optional(),\n elements: z.array(NeutrinoRunBrowserBot_HTMLElementSchema).describe(\"Array containing all the elements matching the supplied selector\").nullable().optional(),\n \"is-error\": z.boolean().describe(\"True if an error has occurred loading the page. Check the 'error-message' field for details\").nullable().optional(),\n \"is-secure\": z.boolean().describe(\"True if the page is secured using TLS/SSL\").nullable().optional(),\n \"load-time\": z.number().describe(\"The number of seconds taken to load the page (from initial request until DOM ready)\").nullable().optional(),\n \"mime-type\": z.string().describe(\"The document MIME type\").nullable().optional(),\n \"server-ip\": z.string().describe(\"The HTTP servers IP address\").nullable().optional(),\n \"url-valid\": z.boolean().describe(\"True if the URL supplied is valid\").nullable().optional(),\n \"is-http-ok\": z.boolean().describe(\"True if the HTTP status is OK (200)\").nullable().optional(),\n \"is-timeout\": z.boolean().describe(\"True if a timeout occurred while loading the page. You can set the timeout with the request parameter 'timeout'\").nullable().optional(),\n \"content-size\": z.number().int().describe(\"The size of the returned content in bytes\").nullable().optional(),\n \"exec-results\": z.array(NeutrinoRunBrowserBot_ExecResultSchema).describe(\"If you executed any JavaScript this array holds the results as objects\").nullable().optional(),\n \"error-message\": z.string().describe(\"Contains the error message if an error has occurred ('is-error' will be true)\").nullable().optional(),\n \"language-code\": z.string().describe(\"The ISO 2-letter language code of the page. Extracted from either the HTML document or via HTTP headers\").nullable().optional(),\n \"url-components\": NeutrinoRunBrowserBot_URLComponentsSchema.nullable().optional(),\n \"server-hostname\": z.string().describe(\"The HTTP servers hostname (PTR/RDNS record)\").nullable().optional(),\n \"http-status-code\": z.number().int().describe(\"The HTTP status code the URL returned\").nullable().optional(),\n \"is-http-redirect\": z.boolean().describe(\"True if the URL responded with an HTTP redirect\").nullable().optional(),\n \"response-headers\": z.record(z.string(), z.unknown()).describe(\"Map containing all the HTTP response headers the URL responded with\").nullable().optional(),\n \"security-details\": z.record(z.string(), z.unknown()).describe(\"Map containing details of the TLS/SSL setup\").nullable().optional(),\n \"http-redirect-url\": z.string().describe(\"The redirected URL if the URL responded with an HTTP redirect\").nullable().optional(),\n \"http-status-message\": z.string().describe(\"The HTTP status message the URL returned\").nullable().optional(),\n}).passthrough().describe(\"Response model for Browser Bot action.\");\n\nexport const neutrinoRunBrowserBot = action(\"NEUTRINO_RUN_BROWSER_BOT\", {\n slug: \"neutrino-run-browser-bot\",\n name: \"Browser Bot\",\n description: \"Tool to automate browser interactions using a real Chromium browser. Use when you need to extract content, fill forms, capture screenshots, or navigate complex JavaScript-heavy websites.\",\n input: NeutrinoRunBrowserBotInput,\n output: NeutrinoRunBrowserBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC1C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qaAAqa,CAAC,CAAC,SAAS;CACnd,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACzJ,UAAUA,IAAAA,EAAE,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uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,oBAAoBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,oBAAoBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const NeutrinoRunBrowserBotOutput: z.ZodObject<{
|
|
|
20
20
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
class: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
"is-error": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
25
|
"is-secure": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
26
|
"load-time": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -33,7 +33,7 @@ declare const NeutrinoRunBrowserBotOutput: z.ZodObject<{
|
|
|
33
33
|
"exec-results": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
34
|
result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
statement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
"error-message": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
"language-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
"url-components": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -41,17 +41,17 @@ declare const NeutrinoRunBrowserBotOutput: z.ZodObject<{
|
|
|
41
41
|
host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
port: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
-
query: z.ZodOptional<z.ZodNullable<z.
|
|
44
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
45
|
protocol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
"server-hostname": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
"http-status-code": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
49
|
"is-http-redirect": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
50
|
-
"response-headers": z.ZodOptional<z.ZodNullable<z.
|
|
51
|
-
"security-details": z.ZodOptional<z.ZodNullable<z.
|
|
50
|
+
"response-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
51
|
+
"security-details": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
52
52
|
"http-redirect-url": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
"http-status-message": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>;
|
|
55
55
|
declare const neutrinoRunBrowserBot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
56
56
|
url: string;
|
|
57
57
|
exec?: string[] | undefined;
|
|
@@ -20,7 +20,7 @@ declare const NeutrinoRunBrowserBotOutput: z.ZodObject<{
|
|
|
20
20
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
class: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
"is-error": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
25
|
"is-secure": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
26
|
"load-time": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -33,7 +33,7 @@ declare const NeutrinoRunBrowserBotOutput: z.ZodObject<{
|
|
|
33
33
|
"exec-results": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
34
|
result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
statement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
"error-message": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
"language-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
"url-components": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -41,17 +41,17 @@ declare const NeutrinoRunBrowserBotOutput: z.ZodObject<{
|
|
|
41
41
|
host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
port: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
-
query: z.ZodOptional<z.ZodNullable<z.
|
|
44
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
45
|
protocol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
"server-hostname": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
"http-status-code": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
49
|
"is-http-redirect": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
50
|
-
"response-headers": z.ZodOptional<z.ZodNullable<z.
|
|
51
|
-
"security-details": z.ZodOptional<z.ZodNullable<z.
|
|
50
|
+
"response-headers": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
51
|
+
"security-details": z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
52
52
|
"http-redirect-url": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
"http-status-message": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>;
|
|
55
55
|
declare const neutrinoRunBrowserBot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
56
56
|
url: string;
|
|
57
57
|
exec?: string[] | undefined;
|
|
@@ -16,19 +16,19 @@ const NeutrinoRunBrowserBot_HTMLElementSchema = z.object({
|
|
|
16
16
|
html: z.string().describe("The HTML content of the element").nullable().optional(),
|
|
17
17
|
text: z.string().describe("The text content of the element").nullable().optional(),
|
|
18
18
|
"class": z.string().describe("The class attribute of the element").nullable().optional()
|
|
19
|
-
}).describe("Model representing an HTML element extracted by a CSS selector.");
|
|
19
|
+
}).passthrough().describe("Model representing an HTML element extracted by a CSS selector.");
|
|
20
20
|
const NeutrinoRunBrowserBot_ExecResultSchema = z.object({
|
|
21
21
|
result: z.string().describe("The result returned by the statement").nullable().optional(),
|
|
22
22
|
statement: z.string().describe("The JavaScript statement that was executed").nullable().optional()
|
|
23
|
-
}).describe("Model representing the result of executing JavaScript.");
|
|
23
|
+
}).passthrough().describe("Model representing the result of executing JavaScript.");
|
|
24
24
|
const NeutrinoRunBrowserBot_URLComponentsSchema = z.object({
|
|
25
25
|
url: z.string().describe("The complete and final URL").nullable().optional(),
|
|
26
26
|
host: z.string().describe("The host of the URL. Will be either a domain name, sub-domain or IP address").nullable().optional(),
|
|
27
27
|
path: z.string().describe("The path of the URL. This is the part coming after the host and specifies which resource to load").nullable().optional(),
|
|
28
28
|
port: z.number().int().describe("The port of the URL. This is usually 443 for HTTPS and 80 for HTTP unless otherwise specified in the URL").nullable().optional(),
|
|
29
|
-
query: z.
|
|
29
|
+
query: z.record(z.string(), z.unknown()).describe("The query of the URL. Contains a key/value map of any HTTP GET query parameters present in the URL").nullable().optional(),
|
|
30
30
|
protocol: z.string().describe("The protocol of the URL. For a website URL this will be either 'https' or 'http'").nullable().optional()
|
|
31
|
-
}).describe("Model representing the components of a URL.");
|
|
31
|
+
}).passthrough().describe("Model representing the components of a URL.");
|
|
32
32
|
const neutrinoRunBrowserBot = action("NEUTRINO_RUN_BROWSER_BOT", {
|
|
33
33
|
slug: "neutrino-run-browser-bot",
|
|
34
34
|
name: "Browser Bot",
|
|
@@ -55,11 +55,11 @@ const neutrinoRunBrowserBot = action("NEUTRINO_RUN_BROWSER_BOT", {
|
|
|
55
55
|
"server-hostname": z.string().describe("The HTTP servers hostname (PTR/RDNS record)").nullable().optional(),
|
|
56
56
|
"http-status-code": z.number().int().describe("The HTTP status code the URL returned").nullable().optional(),
|
|
57
57
|
"is-http-redirect": z.boolean().describe("True if the URL responded with an HTTP redirect").nullable().optional(),
|
|
58
|
-
"response-headers": z.
|
|
59
|
-
"security-details": z.
|
|
58
|
+
"response-headers": z.record(z.string(), z.unknown()).describe("Map containing all the HTTP response headers the URL responded with").nullable().optional(),
|
|
59
|
+
"security-details": z.record(z.string(), z.unknown()).describe("Map containing details of the TLS/SSL setup").nullable().optional(),
|
|
60
60
|
"http-redirect-url": z.string().describe("The redirected URL if the URL responded with an HTTP redirect").nullable().optional(),
|
|
61
61
|
"http-status-message": z.string().describe("The HTTP status message the URL returned").nullable().optional()
|
|
62
|
-
}).describe("Response model for Browser Bot action.")
|
|
62
|
+
}).passthrough().describe("Response model for Browser Bot action.")
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
65
65
|
export { neutrinoRunBrowserBot };
|