@keystrokehq/neutrino 0.1.0 → 0.1.2
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-watermark-to-image.cjs +3 -3
- package/dist/actions/add-watermark-to-image.cjs.map +1 -1
- package/dist/actions/add-watermark-to-image.d.cts +44 -3
- package/dist/actions/add-watermark-to-image.d.cts.map +1 -1
- package/dist/actions/add-watermark-to-image.d.mts +44 -3
- package/dist/actions/add-watermark-to-image.d.mts.map +1 -1
- package/dist/actions/add-watermark-to-image.mjs +3 -3
- package/dist/actions/add-watermark-to-image.mjs.map +1 -1
- package/dist/actions/bad-word-filter.cjs +3 -3
- package/dist/actions/bad-word-filter.cjs.map +1 -1
- package/dist/actions/bad-word-filter.d.cts +23 -3
- package/dist/actions/bad-word-filter.d.cts.map +1 -1
- package/dist/actions/bad-word-filter.d.mts +23 -3
- package/dist/actions/bad-word-filter.d.mts.map +1 -1
- package/dist/actions/bad-word-filter.mjs +3 -3
- package/dist/actions/bad-word-filter.mjs.map +1 -1
- package/dist/actions/bin-lookup.cjs +22 -22
- package/dist/actions/bin-lookup.cjs.map +1 -1
- package/dist/actions/bin-lookup.d.cts +38 -3
- package/dist/actions/bin-lookup.d.cts.map +1 -1
- package/dist/actions/bin-lookup.d.mts +38 -3
- package/dist/actions/bin-lookup.d.mts.map +1 -1
- package/dist/actions/bin-lookup.mjs +22 -22
- package/dist/actions/bin-lookup.mjs.map +1 -1
- package/dist/actions/check-ip-blocklist.cjs +19 -19
- package/dist/actions/check-ip-blocklist.cjs.map +1 -1
- package/dist/actions/check-ip-blocklist.d.cts +32 -3
- package/dist/actions/check-ip-blocklist.d.cts.map +1 -1
- package/dist/actions/check-ip-blocklist.d.mts +32 -3
- package/dist/actions/check-ip-blocklist.d.mts.map +1 -1
- package/dist/actions/check-ip-blocklist.mjs +19 -19
- package/dist/actions/check-ip-blocklist.mjs.map +1 -1
- package/dist/actions/convert.cjs +10 -10
- package/dist/actions/convert.cjs.map +1 -1
- package/dist/actions/convert.d.cts +25 -3
- package/dist/actions/convert.d.cts.map +1 -1
- package/dist/actions/convert.d.mts +25 -3
- package/dist/actions/convert.d.mts.map +1 -1
- package/dist/actions/convert.mjs +10 -10
- package/dist/actions/convert.mjs.map +1 -1
- package/dist/actions/email-validate.cjs +10 -10
- package/dist/actions/email-validate.cjs.map +1 -1
- package/dist/actions/email-validate.d.cts +22 -3
- package/dist/actions/email-validate.d.cts.map +1 -1
- package/dist/actions/email-validate.d.mts +22 -3
- package/dist/actions/email-validate.d.mts.map +1 -1
- package/dist/actions/email-validate.mjs +10 -10
- package/dist/actions/email-validate.mjs.map +1 -1
- package/dist/actions/email-verify.cjs +16 -16
- package/dist/actions/email-verify.cjs.map +1 -1
- package/dist/actions/email-verify.d.cts +29 -3
- package/dist/actions/email-verify.d.cts.map +1 -1
- package/dist/actions/email-verify.d.mts +29 -3
- package/dist/actions/email-verify.d.mts.map +1 -1
- package/dist/actions/email-verify.mjs +16 -16
- package/dist/actions/email-verify.mjs.map +1 -1
- package/dist/actions/geocode-address.cjs +4 -4
- package/dist/actions/geocode-address.cjs.map +1 -1
- package/dist/actions/geocode-address.d.cts +39 -3
- package/dist/actions/geocode-address.d.cts.map +1 -1
- package/dist/actions/geocode-address.d.mts +39 -3
- package/dist/actions/geocode-address.d.mts.map +1 -1
- package/dist/actions/geocode-address.mjs +4 -4
- package/dist/actions/geocode-address.mjs.map +1 -1
- package/dist/actions/geocode-reverse.cjs +1 -1
- package/dist/actions/geocode-reverse.cjs.map +1 -1
- package/dist/actions/geocode-reverse.d.cts +57 -3
- package/dist/actions/geocode-reverse.d.cts.map +1 -1
- package/dist/actions/geocode-reverse.d.mts +57 -3
- package/dist/actions/geocode-reverse.d.mts.map +1 -1
- package/dist/actions/geocode-reverse.mjs +1 -1
- package/dist/actions/geocode-reverse.mjs.map +1 -1
- package/dist/actions/hlr-lookup.cjs +25 -25
- package/dist/actions/hlr-lookup.cjs.map +1 -1
- package/dist/actions/hlr-lookup.d.cts +37 -3
- package/dist/actions/hlr-lookup.d.cts.map +1 -1
- package/dist/actions/hlr-lookup.d.mts +37 -3
- package/dist/actions/hlr-lookup.d.mts.map +1 -1
- package/dist/actions/hlr-lookup.mjs +25 -25
- package/dist/actions/hlr-lookup.mjs.map +1 -1
- package/dist/actions/host-reputation.cjs +10 -10
- package/dist/actions/host-reputation.cjs.map +1 -1
- package/dist/actions/host-reputation.d.cts +24 -3
- package/dist/actions/host-reputation.d.cts.map +1 -1
- package/dist/actions/host-reputation.d.mts +24 -3
- package/dist/actions/host-reputation.d.mts.map +1 -1
- package/dist/actions/host-reputation.mjs +10 -10
- 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 +17 -3
- package/dist/actions/html-clean.d.cts.map +1 -1
- package/dist/actions/html-clean.d.mts +17 -3
- package/dist/actions/html-clean.d.mts.map +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 +2 -2
- package/dist/actions/html-render.cjs.map +1 -1
- package/dist/actions/html-render.d.cts +62 -3
- package/dist/actions/html-render.d.cts.map +1 -1
- package/dist/actions/html-render.d.mts +62 -3
- package/dist/actions/html-render.d.mts.map +1 -1
- package/dist/actions/html-render.mjs +2 -2
- package/dist/actions/html-render.mjs.map +1 -1
- package/dist/actions/image-resize.cjs +3 -3
- package/dist/actions/image-resize.cjs.map +1 -1
- package/dist/actions/image-resize.d.cts +32 -3
- package/dist/actions/image-resize.d.cts.map +1 -1
- package/dist/actions/image-resize.d.mts +32 -3
- package/dist/actions/image-resize.d.mts.map +1 -1
- package/dist/actions/image-resize.mjs +3 -3
- 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 +36 -3
- package/dist/actions/ip-info.d.cts.map +1 -1
- package/dist/actions/ip-info.d.mts +36 -3
- package/dist/actions/ip-info.d.mts.map +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 +2 -2
- package/dist/actions/ip-probe.cjs.map +1 -1
- package/dist/actions/ip-probe.d.cts +47 -3
- package/dist/actions/ip-probe.d.cts.map +1 -1
- package/dist/actions/ip-probe.d.mts +47 -3
- package/dist/actions/ip-probe.d.mts.map +1 -1
- package/dist/actions/ip-probe.mjs +2 -2
- package/dist/actions/ip-probe.mjs.map +1 -1
- package/dist/actions/lookup-domain.cjs +25 -25
- package/dist/actions/lookup-domain.cjs.map +1 -1
- package/dist/actions/lookup-domain.d.cts +38 -3
- package/dist/actions/lookup-domain.d.cts.map +1 -1
- package/dist/actions/lookup-domain.d.mts +38 -3
- package/dist/actions/lookup-domain.d.mts.map +1 -1
- package/dist/actions/lookup-domain.mjs +25 -25
- package/dist/actions/lookup-domain.mjs.map +1 -1
- package/dist/actions/phone-validate.cjs +12 -12
- package/dist/actions/phone-validate.cjs.map +1 -1
- package/dist/actions/phone-validate.d.cts +24 -3
- package/dist/actions/phone-validate.d.cts.map +1 -1
- package/dist/actions/phone-validate.d.mts +24 -3
- package/dist/actions/phone-validate.d.mts.map +1 -1
- package/dist/actions/phone-validate.mjs +12 -12
- 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 +22 -3
- package/dist/actions/qr-code.d.cts.map +1 -1
- package/dist/actions/qr-code.d.mts +22 -3
- package/dist/actions/qr-code.d.mts.map +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.map +1 -1
- package/dist/actions/run-browser-bot.d.cts +60 -3
- package/dist/actions/run-browser-bot.d.cts.map +1 -1
- package/dist/actions/run-browser-bot.d.mts +60 -3
- package/dist/actions/run-browser-bot.d.mts.map +1 -1
- package/dist/actions/run-browser-bot.mjs.map +1 -1
- package/dist/actions/sms-verify.cjs +3 -3
- package/dist/actions/sms-verify.cjs.map +1 -1
- package/dist/actions/sms-verify.d.cts +25 -3
- package/dist/actions/sms-verify.d.cts.map +1 -1
- package/dist/actions/sms-verify.d.mts +25 -3
- package/dist/actions/sms-verify.d.mts.map +1 -1
- package/dist/actions/sms-verify.mjs +3 -3
- 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 +37 -3
- package/dist/actions/ua-lookup.d.cts.map +1 -1
- package/dist/actions/ua-lookup.d.mts +37 -3
- package/dist/actions/ua-lookup.d.mts.map +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 +15 -15
- package/dist/actions/url-info.cjs.map +1 -1
- package/dist/actions/url-info.d.cts +37 -3
- package/dist/actions/url-info.d.cts.map +1 -1
- package/dist/actions/url-info.d.mts +37 -3
- package/dist/actions/url-info.d.mts.map +1 -1
- package/dist/actions/url-info.mjs +15 -15
- 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 +11 -3
- package/dist/actions/verify-security-code.d.cts.map +1 -1
- package/dist/actions/verify-security-code.d.mts +11 -3
- package/dist/actions/verify-security-code.d.mts.map +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 +14 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +13 -0
- package/dist/catalog.d.mts +13 -0
- package/dist/catalog.mjs +14 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,35 +6,35 @@ const NeutrinoLookupDomainInput = zod.z.object({
|
|
|
6
6
|
live: zod.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()
|
|
7
7
|
}).describe("Request model for Domain Lookup action.");
|
|
8
8
|
const NeutrinoLookupDomain_BlocklistSensorSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Sensor ID"),
|
|
10
|
-
blocklist: zod.z.string().describe("Blocklist category name"),
|
|
11
|
-
description: zod.z.string().describe("Sensor description")
|
|
9
|
+
id: zod.z.number().int().describe("Sensor ID").nullable(),
|
|
10
|
+
blocklist: zod.z.string().describe("Blocklist category name").nullable(),
|
|
11
|
+
description: zod.z.string().describe("Sensor description").nullable()
|
|
12
12
|
}).describe("Details on which specific blocklist sensor detected this domain.");
|
|
13
13
|
const NeutrinoLookupDomainOutput = zod.z.object({
|
|
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"),
|
|
15
|
-
tld: zod.z.string().describe("The top-level domain (TLD)"),
|
|
16
|
-
fqdn: zod.z.string().describe("The fully qualified domain name (FQDN)"),
|
|
17
|
-
rank: zod.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"),
|
|
18
|
-
valid: zod.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"),
|
|
19
|
-
domain: zod.z.string().describe("The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)"),
|
|
20
|
-
"is-gov": zod.z.boolean().describe("Is this domain under a government or military TLD"),
|
|
21
|
-
"tld-cc": zod.z.string().describe("For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code"),
|
|
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
|
+
tld: zod.z.string().describe("The top-level domain (TLD)").nullable(),
|
|
16
|
+
fqdn: zod.z.string().describe("The fully qualified domain name (FQDN)").nullable(),
|
|
17
|
+
rank: zod.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(),
|
|
18
|
+
valid: zod.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(),
|
|
19
|
+
domain: zod.z.string().describe("The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)").nullable(),
|
|
20
|
+
"is-gov": zod.z.boolean().describe("Is this domain under a government or military TLD").nullable(),
|
|
21
|
+
"tld-cc": zod.z.string().describe("For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code").nullable(),
|
|
22
22
|
sensors: zod.z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe("An array of objects containing details on which specific blocklist sensors have detected this domain"),
|
|
23
|
-
"is-adult": zod.z.boolean().describe("This domain is hosting adult content such as porn, webcams, escorts, etc"),
|
|
23
|
+
"is-adult": zod.z.boolean().describe("This domain is hosting adult content such as porn, webcams, escorts, etc").nullable(),
|
|
24
24
|
blocklists: zod.z.array(zod.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"),
|
|
25
|
-
"is-opennic": zod.z.boolean().describe("Is this domain under an OpenNIC TLD"),
|
|
26
|
-
"is-pending": zod.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"),
|
|
27
|
-
"expiry-date": zod.z.string().describe("The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date"),
|
|
28
|
-
"mail-status": zod.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"),
|
|
29
|
-
"dns-provider": zod.z.string().describe("The primary domain of the DNS provider for this domain"),
|
|
30
|
-
"is-malicious": zod.z.boolean().describe("Consider this domain malicious as it is currently listed on at least 1 blocklist"),
|
|
31
|
-
"is-subdomain": zod.z.boolean().describe("Is the FQDN a subdomain of the primary domain"),
|
|
32
|
-
"registrar-id": zod.z.number().int().describe("The IANA registrar ID (0 if no registrar ID was found)"),
|
|
33
|
-
"mail-provider": zod.z.string().describe("The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records"),
|
|
34
|
-
"registrar-name": zod.z.string().describe("The name of the domain registrar owning this domain"),
|
|
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"),
|
|
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"),
|
|
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")
|
|
25
|
+
"is-opennic": zod.z.boolean().describe("Is this domain under an OpenNIC TLD").nullable(),
|
|
26
|
+
"is-pending": zod.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(),
|
|
27
|
+
"expiry-date": zod.z.string().describe("The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date").nullable(),
|
|
28
|
+
"mail-status": zod.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(),
|
|
29
|
+
"dns-provider": zod.z.string().describe("The primary domain of the DNS provider for this domain").nullable(),
|
|
30
|
+
"is-malicious": zod.z.boolean().describe("Consider this domain malicious as it is currently listed on at least 1 blocklist").nullable(),
|
|
31
|
+
"is-subdomain": zod.z.boolean().describe("Is the FQDN a subdomain of the primary domain").nullable(),
|
|
32
|
+
"registrar-id": zod.z.number().int().describe("The IANA registrar ID (0 if no registrar ID was found)").nullable(),
|
|
33
|
+
"mail-provider": zod.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(),
|
|
34
|
+
"registrar-name": zod.z.string().describe("The name of the domain registrar owning this domain").nullable(),
|
|
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
|
+
"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
|
+
"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
38
|
}).describe("Response model for Domain Lookup action.");
|
|
39
39
|
const neutrinoLookupDomain = require_action.action("NEUTRINO_LOOKUP_DOMAIN", {
|
|
40
40
|
slug: "neutrino-lookup-domain",
|
|
@@ -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
|
|
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,O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
-
|
|
4
|
+
declare const NeutrinoLookupDomainInput: z.ZodObject<{
|
|
5
|
+
host: z.ZodString;
|
|
6
|
+
live: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NeutrinoLookupDomainOutput: z.ZodObject<{
|
|
9
|
+
age: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
tld: z.ZodNullable<z.ZodString>;
|
|
11
|
+
fqdn: z.ZodNullable<z.ZodString>;
|
|
12
|
+
rank: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
15
|
+
"is-gov": z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
"tld-cc": z.ZodNullable<z.ZodString>;
|
|
17
|
+
sensors: z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
blocklist: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
"is-adult": z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
blocklists: z.ZodArray<z.ZodString>;
|
|
24
|
+
"is-opennic": z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
"is-pending": z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
"expiry-date": z.ZodNullable<z.ZodString>;
|
|
27
|
+
"mail-status": z.ZodNullable<z.ZodString>;
|
|
28
|
+
"dns-provider": z.ZodNullable<z.ZodString>;
|
|
29
|
+
"is-malicious": z.ZodNullable<z.ZodBoolean>;
|
|
30
|
+
"is-subdomain": z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
"registrar-id": z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
"mail-provider": z.ZodNullable<z.ZodString>;
|
|
33
|
+
"registrar-name": z.ZodNullable<z.ZodString>;
|
|
34
|
+
"website-status": z.ZodNullable<z.ZodString>;
|
|
35
|
+
"registered-date": z.ZodNullable<z.ZodString>;
|
|
36
|
+
"website-provider": z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const neutrinoLookupDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
host: string;
|
|
40
|
+
live?: boolean | undefined;
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
42
|
//#endregion
|
|
8
43
|
export { neutrinoLookupDomain };
|
|
9
44
|
//# sourceMappingURL=lookup-domain.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-domain.d.cts","names":[],"sources":["../../src/actions/lookup-domain.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"lookup-domain.d.cts","names":[],"sources":["../../src/actions/lookup-domain.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/lookup-domain.d.ts
|
|
4
|
-
declare const NeutrinoLookupDomainInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NeutrinoLookupDomainInput: z.ZodObject<{
|
|
5
|
+
host: z.ZodString;
|
|
6
|
+
live: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NeutrinoLookupDomainOutput: z.ZodObject<{
|
|
9
|
+
age: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
tld: z.ZodNullable<z.ZodString>;
|
|
11
|
+
fqdn: z.ZodNullable<z.ZodString>;
|
|
12
|
+
rank: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
15
|
+
"is-gov": z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
"tld-cc": z.ZodNullable<z.ZodString>;
|
|
17
|
+
sensors: z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
blocklist: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
"is-adult": z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
blocklists: z.ZodArray<z.ZodString>;
|
|
24
|
+
"is-opennic": z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
"is-pending": z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
"expiry-date": z.ZodNullable<z.ZodString>;
|
|
27
|
+
"mail-status": z.ZodNullable<z.ZodString>;
|
|
28
|
+
"dns-provider": z.ZodNullable<z.ZodString>;
|
|
29
|
+
"is-malicious": z.ZodNullable<z.ZodBoolean>;
|
|
30
|
+
"is-subdomain": z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
"registrar-id": z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
"mail-provider": z.ZodNullable<z.ZodString>;
|
|
33
|
+
"registrar-name": z.ZodNullable<z.ZodString>;
|
|
34
|
+
"website-status": z.ZodNullable<z.ZodString>;
|
|
35
|
+
"registered-date": z.ZodNullable<z.ZodString>;
|
|
36
|
+
"website-provider": z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const neutrinoLookupDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
host: string;
|
|
40
|
+
live?: boolean | undefined;
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
42
|
//#endregion
|
|
8
43
|
export { neutrinoLookupDomain };
|
|
9
44
|
//# sourceMappingURL=lookup-domain.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-domain.d.mts","names":[],"sources":["../../src/actions/lookup-domain.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"lookup-domain.d.mts","names":[],"sources":["../../src/actions/lookup-domain.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -6,9 +6,9 @@ const NeutrinoLookupDomainInput = z.object({
|
|
|
6
6
|
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()
|
|
7
7
|
}).describe("Request model for Domain Lookup action.");
|
|
8
8
|
const NeutrinoLookupDomain_BlocklistSensorSchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Sensor ID"),
|
|
10
|
-
blocklist: z.string().describe("Blocklist category name"),
|
|
11
|
-
description: z.string().describe("Sensor description")
|
|
9
|
+
id: z.number().int().describe("Sensor ID").nullable(),
|
|
10
|
+
blocklist: z.string().describe("Blocklist category name").nullable(),
|
|
11
|
+
description: z.string().describe("Sensor description").nullable()
|
|
12
12
|
}).describe("Details on which specific blocklist sensor detected this domain.");
|
|
13
13
|
const neutrinoLookupDomain = action("NEUTRINO_LOOKUP_DOMAIN", {
|
|
14
14
|
slug: "neutrino-lookup-domain",
|
|
@@ -16,30 +16,30 @@ const neutrinoLookupDomain = action("NEUTRINO_LOOKUP_DOMAIN", {
|
|
|
16
16
|
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.",
|
|
17
17
|
input: NeutrinoLookupDomainInput,
|
|
18
18
|
output: z.object({
|
|
19
|
-
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"),
|
|
20
|
-
tld: z.string().describe("The top-level domain (TLD)"),
|
|
21
|
-
fqdn: z.string().describe("The fully qualified domain name (FQDN)"),
|
|
22
|
-
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"),
|
|
23
|
-
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"),
|
|
24
|
-
domain: z.string().describe("The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)"),
|
|
25
|
-
"is-gov": z.boolean().describe("Is this domain under a government or military TLD"),
|
|
26
|
-
"tld-cc": z.string().describe("For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code"),
|
|
19
|
+
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(),
|
|
20
|
+
tld: z.string().describe("The top-level domain (TLD)").nullable(),
|
|
21
|
+
fqdn: z.string().describe("The fully qualified domain name (FQDN)").nullable(),
|
|
22
|
+
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(),
|
|
23
|
+
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(),
|
|
24
|
+
domain: z.string().describe("The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)").nullable(),
|
|
25
|
+
"is-gov": z.boolean().describe("Is this domain under a government or military TLD").nullable(),
|
|
26
|
+
"tld-cc": z.string().describe("For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code").nullable(),
|
|
27
27
|
sensors: z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe("An array of objects containing details on which specific blocklist sensors have detected this domain"),
|
|
28
|
-
"is-adult": z.boolean().describe("This domain is hosting adult content such as porn, webcams, escorts, etc"),
|
|
28
|
+
"is-adult": z.boolean().describe("This domain is hosting adult content such as porn, webcams, escorts, etc").nullable(),
|
|
29
29
|
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"),
|
|
30
|
-
"is-opennic": z.boolean().describe("Is this domain under an OpenNIC TLD"),
|
|
31
|
-
"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"),
|
|
32
|
-
"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"),
|
|
33
|
-
"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"),
|
|
34
|
-
"dns-provider": z.string().describe("The primary domain of the DNS provider for this domain"),
|
|
35
|
-
"is-malicious": z.boolean().describe("Consider this domain malicious as it is currently listed on at least 1 blocklist"),
|
|
36
|
-
"is-subdomain": z.boolean().describe("Is the FQDN a subdomain of the primary domain"),
|
|
37
|
-
"registrar-id": z.number().int().describe("The IANA registrar ID (0 if no registrar ID was found)"),
|
|
38
|
-
"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"),
|
|
39
|
-
"registrar-name": z.string().describe("The name of the domain registrar owning this domain"),
|
|
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"),
|
|
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"),
|
|
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")
|
|
30
|
+
"is-opennic": z.boolean().describe("Is this domain under an OpenNIC TLD").nullable(),
|
|
31
|
+
"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(),
|
|
32
|
+
"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(),
|
|
33
|
+
"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(),
|
|
34
|
+
"dns-provider": z.string().describe("The primary domain of the DNS provider for this domain").nullable(),
|
|
35
|
+
"is-malicious": z.boolean().describe("Consider this domain malicious as it is currently listed on at least 1 blocklist").nullable(),
|
|
36
|
+
"is-subdomain": z.boolean().describe("Is the FQDN a subdomain of the primary domain").nullable(),
|
|
37
|
+
"registrar-id": z.number().int().describe("The IANA registrar ID (0 if no registrar ID was found)").nullable(),
|
|
38
|
+
"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(),
|
|
39
|
+
"registrar-name": z.string().describe("The name of the domain registrar owning this domain").nullable(),
|
|
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
|
+
"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
|
+
"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
43
|
}).describe("Response model for Domain Lookup action.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
@@ -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
|
|
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: Neutrino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|
@@ -7,18 +7,18 @@ const NeutrinoPhoneValidateInput = zod.z.object({
|
|
|
7
7
|
"country-code": zod.z.string().describe("ISO 2-letter country code (required if number not in international format).").optional()
|
|
8
8
|
}).describe("Request model for phone number validation and lookup.");
|
|
9
9
|
const NeutrinoPhoneValidateOutput = zod.z.object({
|
|
10
|
-
type: zod.z.string().describe("Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown)."),
|
|
11
|
-
valid: zod.z.boolean().describe("True if the phone number is valid."),
|
|
12
|
-
country: zod.z.string().describe("Country name."),
|
|
13
|
-
location: zod.z.string().describe("Location description for the number."),
|
|
14
|
-
"is-mobile": zod.z.boolean().describe("True if the number is a mobile number."),
|
|
15
|
-
"country-code": zod.z.string().describe("ISO 2-letter country code."),
|
|
16
|
-
"local-number": zod.z.string().describe("Number in local format."),
|
|
17
|
-
"country-code3": zod.z.string().describe("ISO 3-letter country code."),
|
|
18
|
-
"currency-code": zod.z.string().describe("ISO 3-letter currency code."),
|
|
19
|
-
"prefix-network": zod.z.string().describe("Network/carrier that owns the prefix (may be empty if unavailable)."),
|
|
20
|
-
"international-number": zod.z.string().describe("Number in international format."),
|
|
21
|
-
"international-calling-code": zod.z.string().describe("International calling code (e.g., '1' for US).")
|
|
10
|
+
type: zod.z.string().describe("Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown).").nullable(),
|
|
11
|
+
valid: zod.z.boolean().describe("True if the phone number is valid.").nullable(),
|
|
12
|
+
country: zod.z.string().describe("Country name.").nullable(),
|
|
13
|
+
location: zod.z.string().describe("Location description for the number.").nullable(),
|
|
14
|
+
"is-mobile": zod.z.boolean().describe("True if the number is a mobile number.").nullable(),
|
|
15
|
+
"country-code": zod.z.string().describe("ISO 2-letter country code.").nullable(),
|
|
16
|
+
"local-number": zod.z.string().describe("Number in local format.").nullable(),
|
|
17
|
+
"country-code3": zod.z.string().describe("ISO 3-letter country code.").nullable(),
|
|
18
|
+
"currency-code": zod.z.string().describe("ISO 3-letter currency code.").nullable(),
|
|
19
|
+
"prefix-network": zod.z.string().describe("Network/carrier that owns the prefix (may be empty if unavailable).").nullable(),
|
|
20
|
+
"international-number": zod.z.string().describe("Number in international format.").nullable(),
|
|
21
|
+
"international-calling-code": zod.z.string().describe("International calling code (e.g., '1' for US).").nullable()
|
|
22
22
|
}).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",
|
|
@@ -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
|
|
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;AAEpE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/phone-validate.d.ts
|
|
4
|
-
declare const NeutrinoPhoneValidateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NeutrinoPhoneValidateInput: z.ZodObject<{
|
|
5
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
6
|
+
number: z.ZodString;
|
|
7
|
+
"country-code": z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NeutrinoPhoneValidateOutput: z.ZodObject<{
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
12
|
+
country: z.ZodNullable<z.ZodString>;
|
|
13
|
+
location: z.ZodNullable<z.ZodString>;
|
|
14
|
+
"is-mobile": z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
"country-code": z.ZodNullable<z.ZodString>;
|
|
16
|
+
"local-number": z.ZodNullable<z.ZodString>;
|
|
17
|
+
"country-code3": z.ZodNullable<z.ZodString>;
|
|
18
|
+
"currency-code": z.ZodNullable<z.ZodString>;
|
|
19
|
+
"prefix-network": z.ZodNullable<z.ZodString>;
|
|
20
|
+
"international-number": z.ZodNullable<z.ZodString>;
|
|
21
|
+
"international-calling-code": z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const neutrinoPhoneValidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
number: string;
|
|
25
|
+
ip?: string | undefined;
|
|
26
|
+
"country-code"?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { neutrinoPhoneValidate };
|
|
9
30
|
//# sourceMappingURL=phone-validate.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-validate.d.cts","names":[],"sources":["../../src/actions/phone-validate.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"phone-validate.d.cts","names":[],"sources":["../../src/actions/phone-validate.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/phone-validate.d.ts
|
|
4
|
-
declare const NeutrinoPhoneValidateInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NeutrinoPhoneValidateInput: z.ZodObject<{
|
|
5
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
6
|
+
number: z.ZodString;
|
|
7
|
+
"country-code": z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NeutrinoPhoneValidateOutput: z.ZodObject<{
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
12
|
+
country: z.ZodNullable<z.ZodString>;
|
|
13
|
+
location: z.ZodNullable<z.ZodString>;
|
|
14
|
+
"is-mobile": z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
"country-code": z.ZodNullable<z.ZodString>;
|
|
16
|
+
"local-number": z.ZodNullable<z.ZodString>;
|
|
17
|
+
"country-code3": z.ZodNullable<z.ZodString>;
|
|
18
|
+
"currency-code": z.ZodNullable<z.ZodString>;
|
|
19
|
+
"prefix-network": z.ZodNullable<z.ZodString>;
|
|
20
|
+
"international-number": z.ZodNullable<z.ZodString>;
|
|
21
|
+
"international-calling-code": z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const neutrinoPhoneValidate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
number: string;
|
|
25
|
+
ip?: string | undefined;
|
|
26
|
+
"country-code"?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { neutrinoPhoneValidate };
|
|
9
30
|
//# sourceMappingURL=phone-validate.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-validate.d.mts","names":[],"sources":["../../src/actions/phone-validate.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"phone-validate.d.mts","names":[],"sources":["../../src/actions/phone-validate.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -10,18 +10,18 @@ const neutrinoPhoneValidate = action("NEUTRINO_PHONE_VALIDATE", {
|
|
|
10
10
|
"country-code": z.string().describe("ISO 2-letter country code (required if number not in international format).").optional()
|
|
11
11
|
}).describe("Request model for phone number validation and lookup."),
|
|
12
12
|
output: z.object({
|
|
13
|
-
type: z.string().describe("Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown)."),
|
|
14
|
-
valid: z.boolean().describe("True if the phone number is valid."),
|
|
15
|
-
country: z.string().describe("Country name."),
|
|
16
|
-
location: z.string().describe("Location description for the number."),
|
|
17
|
-
"is-mobile": z.boolean().describe("True if the number is a mobile number."),
|
|
18
|
-
"country-code": z.string().describe("ISO 2-letter country code."),
|
|
19
|
-
"local-number": z.string().describe("Number in local format."),
|
|
20
|
-
"country-code3": z.string().describe("ISO 3-letter country code."),
|
|
21
|
-
"currency-code": z.string().describe("ISO 3-letter currency code."),
|
|
22
|
-
"prefix-network": z.string().describe("Network/carrier that owns the prefix (may be empty if unavailable)."),
|
|
23
|
-
"international-number": z.string().describe("Number in international format."),
|
|
24
|
-
"international-calling-code": z.string().describe("International calling code (e.g., '1' for US).")
|
|
13
|
+
type: z.string().describe("Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown).").nullable(),
|
|
14
|
+
valid: z.boolean().describe("True if the phone number is valid.").nullable(),
|
|
15
|
+
country: z.string().describe("Country name.").nullable(),
|
|
16
|
+
location: z.string().describe("Location description for the number.").nullable(),
|
|
17
|
+
"is-mobile": z.boolean().describe("True if the number is a mobile number.").nullable(),
|
|
18
|
+
"country-code": z.string().describe("ISO 2-letter country code.").nullable(),
|
|
19
|
+
"local-number": z.string().describe("Number in local format.").nullable(),
|
|
20
|
+
"country-code3": z.string().describe("ISO 3-letter country code.").nullable(),
|
|
21
|
+
"currency-code": z.string().describe("ISO 3-letter currency code.").nullable(),
|
|
22
|
+
"prefix-network": z.string().describe("Network/carrier that owns the prefix (may be empty if unavailable).").nullable(),
|
|
23
|
+
"international-number": z.string().describe("Number in international format.").nullable(),
|
|
24
|
+
"international-calling-code": z.string().describe("International calling code (e.g., '1' for US).").nullable()
|
|
25
25
|
}).describe("Response model for phone number validation and lookup.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
@@ -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
|
|
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,wDAOF;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.") }).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() }).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
|
|
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;AAEpD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/qr-code.d.ts
|
|
4
|
-
declare const NeutrinoQrCodeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NeutrinoQrCodeInput: z.ZodObject<{
|
|
5
|
+
width: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
height: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
content: z.ZodString;
|
|
8
|
+
"bg-color": z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
9
|
+
"fg-color": z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
10
|
+
"code-format": z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
11
|
+
qr: "qr";
|
|
12
|
+
c128: "c128";
|
|
13
|
+
}>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const NeutrinoQrCodeOutput: z.ZodObject<{
|
|
16
|
+
file: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const neutrinoQrCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
content: string;
|
|
20
|
+
width?: number | undefined;
|
|
21
|
+
height?: number | undefined;
|
|
22
|
+
"bg-color"?: string | undefined;
|
|
23
|
+
"fg-color"?: string | undefined;
|
|
24
|
+
"code-format"?: "qr" | "c128" | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { neutrinoQrCode };
|
|
9
28
|
//# sourceMappingURL=qr-code.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qr-code.d.cts","names":[],"sources":["../../src/actions/qr-code.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"qr-code.d.cts","names":[],"sources":["../../src/actions/qr-code.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;cAQnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAIpB,cAAA,gCAAc,wBAAA"}
|