@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":"email-validate.mjs","names":[],"sources":["../../src/actions/email-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailValidateInput = z.object({\n email: z.string().describe(\"The email address to validate (e.g., 'user@example.com').\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Whether to automatically fix common typos in domain names (e.g., 'gmial.com' -> 'gmail.com'). Defaults to false.\").optional(),\n}).describe(\"Request model for the EMAIL_VALIDATE action.\");\nexport const NeutrinoEmailValidateOutput = z.object({\n email: z.string().describe(\"The email address that was validated (may differ from input if typos were fixed).\").nullable(),\n \"mx-ip\": z.string().describe(\"The IP address of the primary mail exchange (MX) server for this domain. Empty string if unavailable.\").nullable().optional(),\n valid: z.boolean().describe(\"Overall validity: true if the email passes all validation checks (syntax, domain, MX records).\").nullable(),\n domain: z.string().describe(\"The domain part extracted from the email address (e.g., 'gmail.com' from 'user@gmail.com').\").nullable(),\n provider: z.string().describe(\"The email service provider name if identified (e.g., 'gmail.com', 'yahoo.com'). Empty string if not identified.\").nullable().optional(),\n \"is-freemail\": z.boolean().describe(\"Whether the domain is a free email provider like Gmail, Yahoo, Outlook, etc.\").nullable(),\n \"is-personal\": z.boolean().describe(\"Whether the email appears to be a personal address (vs. role-based like 'admin@' or 'info@').\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Whether typos were automatically corrected in the email address (only if fix_typos was enabled).\").nullable(),\n \"domain-error\": z.boolean().describe(\"Whether the domain has validation errors (e.g., doesn't exist, no MX records).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Whether the email has RFC822/RFC2822 syntax errors (e.g., missing '@', invalid characters).\").nullable(),\n \"domain-status\": z.string().describe(\"Domain validation status: 'ok' (valid), 'invalid' (doesn't exist), 'no-mail' (no MX records), or 'resolv-error' (DNS error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Whether the email is from a disposable/temporary email service (often used for spam).\").nullable(),\n}).describe(\"Response model for the EMAIL_VALIDATE action.\");\n\nexport const neutrinoEmailValidate = action(\"NEUTRINO_EMAIL_VALIDATE\", {\n slug: \"neutrino-email-validate\",\n name: \"Validate and analyze an email address\",\n description: \"Validates and analyzes email addresses for syntax, domain validity, DNS/MX records, and detects freemail/disposable providers. This tool performs comprehensive email validation including: - RFC822/RFC2822 syntax compliance checking - Domain existence and DNS verification - Mail exchange (MX) record validation - Detection of free email providers (Gmail, Yahoo, etc.) - Identification of disposable/temporary email services - Optional automatic typo correction for common domain mistakes Important: This does NOT verify if a specific email address/mailbox actually exists with the provider. For mailbox verification, use the EMAIL_VERIFY action instead. Use this tool when you need to validate email addresses before sending, check email quality, or filter out disposable addresses.\",\n input: NeutrinoEmailValidateInput,\n output: NeutrinoEmailValidateOutput,\n});\n"],"mappings":";;AAuBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,SAAS,8CAoBH;CACP,QApByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAC7H,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC9I,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACjJ,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAChI,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAC9K,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"email-validate.mjs","names":[],"sources":["../../src/actions/email-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailValidateInput = z.object({\n email: z.string().describe(\"The email address to validate (e.g., 'user@example.com').\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Whether to automatically fix common typos in domain names (e.g., 'gmial.com' -> 'gmail.com'). Defaults to false.\").optional(),\n}).describe(\"Request model for the EMAIL_VALIDATE action.\");\nexport const NeutrinoEmailValidateOutput = z.object({\n email: z.string().describe(\"The email address that was validated (may differ from input if typos were fixed).\").nullable(),\n \"mx-ip\": z.string().describe(\"The IP address of the primary mail exchange (MX) server for this domain. Empty string if unavailable.\").nullable().optional(),\n valid: z.boolean().describe(\"Overall validity: true if the email passes all validation checks (syntax, domain, MX records).\").nullable(),\n domain: z.string().describe(\"The domain part extracted from the email address (e.g., 'gmail.com' from 'user@gmail.com').\").nullable(),\n provider: z.string().describe(\"The email service provider name if identified (e.g., 'gmail.com', 'yahoo.com'). Empty string if not identified.\").nullable().optional(),\n \"is-freemail\": z.boolean().describe(\"Whether the domain is a free email provider like Gmail, Yahoo, Outlook, etc.\").nullable(),\n \"is-personal\": z.boolean().describe(\"Whether the email appears to be a personal address (vs. role-based like 'admin@' or 'info@').\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Whether typos were automatically corrected in the email address (only if fix_typos was enabled).\").nullable(),\n \"domain-error\": z.boolean().describe(\"Whether the domain has validation errors (e.g., doesn't exist, no MX records).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Whether the email has RFC822/RFC2822 syntax errors (e.g., missing '@', invalid characters).\").nullable(),\n \"domain-status\": z.string().describe(\"Domain validation status: 'ok' (valid), 'invalid' (doesn't exist), 'no-mail' (no MX records), or 'resolv-error' (DNS error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Whether the email is from a disposable/temporary email service (often used for spam).\").nullable(),\n}).passthrough().describe(\"Response model for the EMAIL_VALIDATE action.\");\n\nexport const neutrinoEmailValidate = action(\"NEUTRINO_EMAIL_VALIDATE\", {\n slug: \"neutrino-email-validate\",\n name: \"Validate and analyze an email address\",\n description: \"Validates and analyzes email addresses for syntax, domain validity, DNS/MX records, and detects freemail/disposable providers. This tool performs comprehensive email validation including: - RFC822/RFC2822 syntax compliance checking - Domain existence and DNS verification - Mail exchange (MX) record validation - Detection of free email providers (Gmail, Yahoo, etc.) - Identification of disposable/temporary email services - Optional automatic typo correction for common domain mistakes Important: This does NOT verify if a specific email address/mailbox actually exists with the provider. For mailbox verification, use the EMAIL_VERIFY action instead. Use this tool when you need to validate email addresses before sending, check email quality, or filter out disposable addresses.\",\n input: NeutrinoEmailValidateInput,\n output: NeutrinoEmailValidateOutput,\n});\n"],"mappings":";;AAuBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,SAAS,8CAoBH;CACP,QApByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAC7H,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC9I,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACjJ,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAChI,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EAC9K,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ const NeutrinoEmailVerifyOutput = zod.z.object({
|
|
|
25
25
|
"domain-status": zod.z.string().describe("Status of the email domain. Values: 'ok' (valid), 'invalid' (invalid domain), 'no-service' (no mail service), 'no-mail' (domain doesn't accept mail), 'mx-invalid' (invalid MX records), 'mx-bogon' (bogon IP in MX), 'resolv-error' (DNS resolution error).").nullable(),
|
|
26
26
|
"is-disposable": zod.z.boolean().describe("Is this a temporary/disposable email address.").nullable(),
|
|
27
27
|
"smtp-response": zod.z.string().describe("Raw SMTP response message from the mail server.").nullable()
|
|
28
|
-
}).describe("Response from the EMAIL_VERIFY action.");
|
|
28
|
+
}).passthrough().describe("Response from the EMAIL_VERIFY action.");
|
|
29
29
|
const neutrinoEmailVerify = require_action.action("NEUTRINO_EMAIL_VERIFY", {
|
|
30
30
|
slug: "neutrino-email-verify",
|
|
31
31
|
name: "Verify Email Address",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-verify.cjs","names":["z","action"],"sources":["../../src/actions/email-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailVerifyInput = z.object({\n email: z.string().describe(\"The email address to verify.\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Automatically attempt to fix common typos in the address.\").optional(),\n}).describe(\"Parameters for the EMAIL_VERIFY action.\");\nexport const NeutrinoEmailVerifyOutput = z.object({\n email: z.string().describe(\"The complete email address (corrected if fix-typos was enabled).\").nullable(),\n \"mx-ip\": z.string().describe(\"First resolved IP address of the primary MX server.\").nullable().optional(),\n valid: z.boolean().describe(\"Is this a valid email address with correct syntax, registered domain, and MX records.\").nullable(),\n domain: z.string().describe(\"The domain name of the email address.\").nullable(),\n \"is-role\": z.boolean().describe(\"Is this a role-based address (e.g., admin@, support@, info@). May not be present in all responses.\").nullable().optional(),\n \"mx-found\": z.boolean().describe(\"Were MX records found for the domain. May not be present in all responses.\").nullable().optional(),\n provider: z.string().describe(\"Email hosting provider domain name.\").nullable(),\n verified: z.boolean().describe(\"Has the email address passed SMTP username verification (mailbox exists).\").nullable(),\n \"is-deferred\": z.boolean().describe(\"Is this a temporary mail server failure (retry recommended).\").nullable(),\n \"is-freemail\": z.boolean().describe(\"Is the address from a free email provider (e.g., Gmail, Yahoo, Outlook).\").nullable(),\n \"is-personal\": z.boolean().describe(\"Is this a personal email address (false for role-based addresses).\").nullable(),\n \"smtp-status\": z.string().describe(\"SMTP verification status. Values: 'ok' (verified), 'absent' (mailbox doesn't exist), 'invalid' (invalid mailbox), 'unresponsive' (server unresponsive), 'unknown' (verification status unknown).\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Was a typo automatically fixed in the address.\").nullable(),\n \"domain-error\": z.boolean().describe(\"Are there domain or DNS errors present.\").nullable(),\n \"is-catch-all\": z.boolean().describe(\"Does the domain accept mail for any username (catch-all domain).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Does the address have syntax errors.\").nullable(),\n \"domain-status\": z.string().describe(\"Status of the email domain. Values: 'ok' (valid), 'invalid' (invalid domain), 'no-service' (no mail service), 'no-mail' (domain doesn't accept mail), 'mx-invalid' (invalid MX records), 'mx-bogon' (bogon IP in MX), 'resolv-error' (DNS resolution error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Is this a temporary/disposable email address.\").nullable(),\n \"smtp-response\": z.string().describe(\"Raw SMTP response message from the mail server.\").nullable(),\n}).describe(\"Response from the EMAIL_VERIFY action.\");\n\nexport const neutrinoEmailVerify = action(\"NEUTRINO_EMAIL_VERIFY\", {\n slug: \"neutrino-email-verify\",\n name: \"Verify Email Address\",\n description: \"Tool to verify and analyze the deliverability of an email address. Use when you need SMTP-based validation before sending emails.\",\n input: NeutrinoEmailVerifyInput,\n output: NeutrinoEmailVerifyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,QAAQ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CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"email-verify.cjs","names":["z","action"],"sources":["../../src/actions/email-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailVerifyInput = z.object({\n email: z.string().describe(\"The email address to verify.\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Automatically attempt to fix common typos in the address.\").optional(),\n}).describe(\"Parameters for the EMAIL_VERIFY action.\");\nexport const NeutrinoEmailVerifyOutput = z.object({\n email: z.string().describe(\"The complete email address (corrected if fix-typos was enabled).\").nullable(),\n \"mx-ip\": z.string().describe(\"First resolved IP address of the primary MX server.\").nullable().optional(),\n valid: z.boolean().describe(\"Is this a valid email address with correct syntax, registered domain, and MX records.\").nullable(),\n domain: z.string().describe(\"The domain name of the email address.\").nullable(),\n \"is-role\": z.boolean().describe(\"Is this a role-based address (e.g., admin@, support@, info@). May not be present in all responses.\").nullable().optional(),\n \"mx-found\": z.boolean().describe(\"Were MX records found for the domain. May not be present in all responses.\").nullable().optional(),\n provider: z.string().describe(\"Email hosting provider domain name.\").nullable(),\n verified: z.boolean().describe(\"Has the email address passed SMTP username verification (mailbox exists).\").nullable(),\n \"is-deferred\": z.boolean().describe(\"Is this a temporary mail server failure (retry recommended).\").nullable(),\n \"is-freemail\": z.boolean().describe(\"Is the address from a free email provider (e.g., Gmail, Yahoo, Outlook).\").nullable(),\n \"is-personal\": z.boolean().describe(\"Is this a personal email address (false for role-based addresses).\").nullable(),\n \"smtp-status\": z.string().describe(\"SMTP verification status. Values: 'ok' (verified), 'absent' (mailbox doesn't exist), 'invalid' (invalid mailbox), 'unresponsive' (server unresponsive), 'unknown' (verification status unknown).\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Was a typo automatically fixed in the address.\").nullable(),\n \"domain-error\": z.boolean().describe(\"Are there domain or DNS errors present.\").nullable(),\n \"is-catch-all\": z.boolean().describe(\"Does the domain accept mail for any username (catch-all domain).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Does the address have syntax errors.\").nullable(),\n \"domain-status\": z.string().describe(\"Status of the email domain. Values: 'ok' (valid), 'invalid' (invalid domain), 'no-service' (no mail service), 'no-mail' (domain doesn't accept mail), 'mx-invalid' (invalid MX records), 'mx-bogon' (bogon IP in MX), 'resolv-error' (DNS resolution error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Is this a temporary/disposable email address.\").nullable(),\n \"smtp-response\": z.string().describe(\"Raw SMTP response message from the mail server.\").nullable(),\n}).passthrough().describe(\"Response from the EMAIL_VERIFY action.\");\n\nexport const neutrinoEmailVerify = action(\"NEUTRINO_EMAIL_VERIFY\", {\n slug: \"neutrino-email-verify\",\n name: \"Verify Email Address\",\n description: \"Tool to verify and analyze the deliverability of an email address. Use when you need SMTP-based validation before sending emails.\",\n input: NeutrinoEmailVerifyInput,\n output: NeutrinoEmailVerifyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,C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AS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ declare const NeutrinoEmailVerifyOutput: z.ZodObject<{
|
|
|
25
25
|
"domain-status": z.ZodNullable<z.ZodString>;
|
|
26
26
|
"is-disposable": z.ZodNullable<z.ZodBoolean>;
|
|
27
27
|
"smtp-response": z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const neutrinoEmailVerify: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
email: string;
|
|
31
31
|
"fix-typos"?: boolean | undefined;
|
|
@@ -25,7 +25,7 @@ declare const NeutrinoEmailVerifyOutput: z.ZodObject<{
|
|
|
25
25
|
"domain-status": z.ZodNullable<z.ZodString>;
|
|
26
26
|
"is-disposable": z.ZodNullable<z.ZodBoolean>;
|
|
27
27
|
"smtp-response": z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const neutrinoEmailVerify: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
email: string;
|
|
31
31
|
"fix-typos"?: boolean | undefined;
|
|
@@ -28,7 +28,7 @@ const neutrinoEmailVerify = action("NEUTRINO_EMAIL_VERIFY", {
|
|
|
28
28
|
"domain-status": z.string().describe("Status of the email domain. Values: 'ok' (valid), 'invalid' (invalid domain), 'no-service' (no mail service), 'no-mail' (domain doesn't accept mail), 'mx-invalid' (invalid MX records), 'mx-bogon' (bogon IP in MX), 'resolv-error' (DNS resolution error).").nullable(),
|
|
29
29
|
"is-disposable": z.boolean().describe("Is this a temporary/disposable email address.").nullable(),
|
|
30
30
|
"smtp-response": z.string().describe("Raw SMTP response message from the mail server.").nullable()
|
|
31
|
-
}).describe("Response from the EMAIL_VERIFY action.")
|
|
31
|
+
}).passthrough().describe("Response from the EMAIL_VERIFY action.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { neutrinoEmailVerify };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-verify.mjs","names":[],"sources":["../../src/actions/email-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailVerifyInput = z.object({\n email: z.string().describe(\"The email address to verify.\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Automatically attempt to fix common typos in the address.\").optional(),\n}).describe(\"Parameters for the EMAIL_VERIFY action.\");\nexport const NeutrinoEmailVerifyOutput = z.object({\n email: z.string().describe(\"The complete email address (corrected if fix-typos was enabled).\").nullable(),\n \"mx-ip\": z.string().describe(\"First resolved IP address of the primary MX server.\").nullable().optional(),\n valid: z.boolean().describe(\"Is this a valid email address with correct syntax, registered domain, and MX records.\").nullable(),\n domain: z.string().describe(\"The domain name of the email address.\").nullable(),\n \"is-role\": z.boolean().describe(\"Is this a role-based address (e.g., admin@, support@, info@). May not be present in all responses.\").nullable().optional(),\n \"mx-found\": z.boolean().describe(\"Were MX records found for the domain. May not be present in all responses.\").nullable().optional(),\n provider: z.string().describe(\"Email hosting provider domain name.\").nullable(),\n verified: z.boolean().describe(\"Has the email address passed SMTP username verification (mailbox exists).\").nullable(),\n \"is-deferred\": z.boolean().describe(\"Is this a temporary mail server failure (retry recommended).\").nullable(),\n \"is-freemail\": z.boolean().describe(\"Is the address from a free email provider (e.g., Gmail, Yahoo, Outlook).\").nullable(),\n \"is-personal\": z.boolean().describe(\"Is this a personal email address (false for role-based addresses).\").nullable(),\n \"smtp-status\": z.string().describe(\"SMTP verification status. Values: 'ok' (verified), 'absent' (mailbox doesn't exist), 'invalid' (invalid mailbox), 'unresponsive' (server unresponsive), 'unknown' (verification status unknown).\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Was a typo automatically fixed in the address.\").nullable(),\n \"domain-error\": z.boolean().describe(\"Are there domain or DNS errors present.\").nullable(),\n \"is-catch-all\": z.boolean().describe(\"Does the domain accept mail for any username (catch-all domain).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Does the address have syntax errors.\").nullable(),\n \"domain-status\": z.string().describe(\"Status of the email domain. Values: 'ok' (valid), 'invalid' (invalid domain), 'no-service' (no mail service), 'no-mail' (domain doesn't accept mail), 'mx-invalid' (invalid MX records), 'mx-bogon' (bogon IP in MX), 'resolv-error' (DNS resolution error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Is this a temporary/disposable email address.\").nullable(),\n \"smtp-response\": z.string().describe(\"Raw SMTP response message from the mail server.\").nullable(),\n}).describe(\"Response from the EMAIL_VERIFY action.\");\n\nexport const neutrinoEmailVerify = action(\"NEUTRINO_EMAIL_VERIFY\", {\n slug: \"neutrino-email-verify\",\n name: \"Verify Email Address\",\n description: \"Tool to verify and analyze the deliverability of an email address. Use when you need SMTP-based validation before sending emails.\",\n input: NeutrinoEmailVerifyInput,\n output: NeutrinoEmailVerifyOutput,\n});\n"],"mappings":";;AA8BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACzD,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,yCA2BH;CACP,QA3BuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAA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C,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"email-verify.mjs","names":[],"sources":["../../src/actions/email-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailVerifyInput = z.object({\n email: z.string().describe(\"The email address to verify.\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Automatically attempt to fix common typos in the address.\").optional(),\n}).describe(\"Parameters for the EMAIL_VERIFY action.\");\nexport const NeutrinoEmailVerifyOutput = z.object({\n email: z.string().describe(\"The complete email address (corrected if fix-typos was enabled).\").nullable(),\n \"mx-ip\": z.string().describe(\"First resolved IP address of the primary MX server.\").nullable().optional(),\n valid: z.boolean().describe(\"Is this a valid email address with correct syntax, registered domain, and MX records.\").nullable(),\n domain: z.string().describe(\"The domain name of the email address.\").nullable(),\n \"is-role\": z.boolean().describe(\"Is this a role-based address (e.g., admin@, support@, info@). May not be present in all responses.\").nullable().optional(),\n \"mx-found\": z.boolean().describe(\"Were MX records found for the domain. May not be present in all responses.\").nullable().optional(),\n provider: z.string().describe(\"Email hosting provider domain name.\").nullable(),\n verified: z.boolean().describe(\"Has the email address passed SMTP username verification (mailbox exists).\").nullable(),\n \"is-deferred\": z.boolean().describe(\"Is this a temporary mail server failure (retry recommended).\").nullable(),\n \"is-freemail\": z.boolean().describe(\"Is the address from a free email provider (e.g., Gmail, Yahoo, Outlook).\").nullable(),\n \"is-personal\": z.boolean().describe(\"Is this a personal email address (false for role-based addresses).\").nullable(),\n \"smtp-status\": z.string().describe(\"SMTP verification status. Values: 'ok' (verified), 'absent' (mailbox doesn't exist), 'invalid' (invalid mailbox), 'unresponsive' (server unresponsive), 'unknown' (verification status unknown).\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Was a typo automatically fixed in the address.\").nullable(),\n \"domain-error\": z.boolean().describe(\"Are there domain or DNS errors present.\").nullable(),\n \"is-catch-all\": z.boolean().describe(\"Does the domain accept mail for any username (catch-all domain).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Does the address have syntax errors.\").nullable(),\n \"domain-status\": z.string().describe(\"Status of the email domain. Values: 'ok' (valid), 'invalid' (invalid domain), 'no-service' (no mail service), 'no-mail' (domain doesn't accept mail), 'mx-invalid' (invalid MX records), 'mx-bogon' (bogon IP in MX), 'resolv-error' (DNS resolution error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Is this a temporary/disposable email address.\").nullable(),\n \"smtp-response\": z.string().describe(\"Raw SMTP response message from the mail server.\").nullable(),\n}).passthrough().describe(\"Response from the EMAIL_VERIFY action.\");\n\nexport const neutrinoEmailVerify = action(\"NEUTRINO_EMAIL_VERIFY\", {\n slug: \"neutrino-email-verify\",\n name: \"Verify Email Address\",\n description: \"Tool to verify and analyze the deliverability of an email address. Use when you need SMTP-based validation before sending emails.\",\n input: NeutrinoEmailVerifyInput,\n output: NeutrinoEmailVerifyOutput,\n});\n"],"mappings":";;AA8BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACzD,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,yCA2BH;CACP,QA3BuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE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rinoGeocodeAddressOutput = zod.z.object({
|
|
36
36
|
found: zod.z.number().int().describe("Number of possible matching locations found").nullable(),
|
|
37
37
|
locations: zod.z.array(NeutrinoGeocodeAddress_LocationSchema).describe("List of matching location objects").nullable().optional()
|
|
38
|
-
}).describe("Response model for geocode-address.");
|
|
38
|
+
}).passthrough().describe("Response model for geocode-address.");
|
|
39
39
|
const neutrinoGeocodeAddress = require_action.action("NEUTRINO_GEOCODE_ADDRESS", {
|
|
40
40
|
slug: "neutrino-geocode-address",
|
|
41
41
|
name: "Geocode Address",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-address.cjs","names":["z","action"],"sources":["../../src/actions/geocode-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoGeocodeAddressInput = z.object({\n address: z.string().describe(\"The full address or place name to geocode\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code to limit results\").optional(),\n \"fuzzy-search\": z.boolean().default(false).describe(\"Enable enhanced matching for misspelled addresses\").optional(),\n \"language-code\": z.string().describe(\"ISO 2-letter language code for result translation\").optional(),\n}).describe(\"Request model for geocoding an address or place name.\");\nconst NeutrinoGeocodeAddress_TimezoneSchema = z.object({\n id: z.string().describe(\"Timezone identifier (e.g., 'America/New_York')\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation (e.g., 'EST', 'PST')\").nullable().optional(),\n date: z.string().describe(\"Current date in the timezone\").nullable().optional(),\n name: z.string().describe(\"Full timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time in the timezone\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+00:00', '-05:00')\").nullable().optional(),\n}).passthrough().describe(\"Timezone information for a location.\");\nconst NeutrinoGeocodeAddress_LocationSchema = z.object({\n city: z.string().describe(\"City or locality name\").nullable().optional(),\n state: z.string().describe(\"State or region name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n geohash: z.string().describe(\"Location geohash identifier\").nullable().optional(),\n latitude: z.number().describe(\"Geographic latitude coordinate\").nullable(),\n timezone: NeutrinoGeocodeAddress_TimezoneSchema.nullable().optional(),\n longitude: z.number().describe(\"Geographic longitude coordinate\").nullable(),\n \"postal-code\": z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Building category (house, apartment, office, etc.)\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"location-type\": z.string().describe(\"Precision level (address, street, city, postal-code, etc.)\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted for postal delivery\").nullable().optional(),\n}).passthrough().describe(\"A single geocoded location result.\");\nexport const NeutrinoGeocodeAddressOutput = z.object({\n found: z.number().int().describe(\"Number of possible matching locations found\").nullable(),\n locations: z.array(NeutrinoGeocodeAddress_LocationSchema).describe(\"List of matching location objects\").nullable().optional(),\n}).describe(\"Response model for geocode-address.\");\n\nexport const neutrinoGeocodeAddress = action(\"NEUTRINO_GEOCODE_ADDRESS\", {\n slug: \"neutrino-geocode-address\",\n name: \"Geocode Address\",\n description: \"Tool to geocode an address. Use when you need geographic coordinates for an address or place name.\",\n input: NeutrinoGeocodeAddressInput,\n output: NeutrinoGeocodeAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EA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AS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"geocode-address.cjs","names":["z","action"],"sources":["../../src/actions/geocode-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoGeocodeAddressInput = z.object({\n address: z.string().describe(\"The full address or place name to geocode\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code to limit results\").optional(),\n \"fuzzy-search\": z.boolean().default(false).describe(\"Enable enhanced matching for misspelled addresses\").optional(),\n \"language-code\": z.string().describe(\"ISO 2-letter language code for result translation\").optional(),\n}).describe(\"Request model for geocoding an address or place name.\");\nconst NeutrinoGeocodeAddress_TimezoneSchema = z.object({\n id: z.string().describe(\"Timezone identifier (e.g., 'America/New_York')\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation (e.g., 'EST', 'PST')\").nullable().optional(),\n date: z.string().describe(\"Current date in the timezone\").nullable().optional(),\n name: z.string().describe(\"Full timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time in the timezone\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+00:00', '-05:00')\").nullable().optional(),\n}).passthrough().describe(\"Timezone information for a location.\");\nconst NeutrinoGeocodeAddress_LocationSchema = z.object({\n city: z.string().describe(\"City or locality name\").nullable().optional(),\n state: z.string().describe(\"State or region name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n geohash: z.string().describe(\"Location geohash identifier\").nullable().optional(),\n latitude: z.number().describe(\"Geographic latitude coordinate\").nullable(),\n timezone: NeutrinoGeocodeAddress_TimezoneSchema.nullable().optional(),\n longitude: z.number().describe(\"Geographic longitude coordinate\").nullable(),\n \"postal-code\": z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Building category (house, apartment, office, etc.)\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"location-type\": z.string().describe(\"Precision level (address, street, city, postal-code, etc.)\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted for postal delivery\").nullable().optional(),\n}).passthrough().describe(\"A single geocoded location result.\");\nexport const NeutrinoGeocodeAddressOutput = z.object({\n found: z.number().int().describe(\"Number of possible matching locations found\").nullable(),\n locations: z.array(NeutrinoGeocodeAddress_LocationSchema).describe(\"List of matching location objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for geocode-address.\");\n\nexport const neutrinoGeocodeAddress = action(\"NEUTRINO_GEOCODE_ADDRESS\", {\n slug: \"neutrino-geocode-address\",\n name: \"Geocode Address\",\n description: \"Tool to geocode an address. Use when you need geographic coordinates for an address or place name.\",\n input: NeutrinoGeocodeAddressInput,\n output: NeutrinoGeocodeAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,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AE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -33,7 +33,7 @@ declare const NeutrinoGeocodeAddressOutput: z.ZodObject<{
|
|
|
33
33
|
"location-type": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
"postal-address": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
}, z.core.$loose>>>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const neutrinoGeocodeAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
address: string;
|
|
39
39
|
"country-code"?: string | undefined;
|
|
@@ -33,7 +33,7 @@ declare const NeutrinoGeocodeAddressOutput: z.ZodObject<{
|
|
|
33
33
|
"location-type": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
"postal-address": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
}, z.core.$loose>>>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const neutrinoGeocodeAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
address: string;
|
|
39
39
|
"country-code"?: string | undefined;
|
|
@@ -40,7 +40,7 @@ const neutrinoGeocodeAddress = action("NEUTRINO_GEOCODE_ADDRESS", {
|
|
|
40
40
|
output: z.object({
|
|
41
41
|
found: z.number().int().describe("Number of possible matching locations found").nullable(),
|
|
42
42
|
locations: z.array(NeutrinoGeocodeAddress_LocationSchema).describe("List of matching location objects").nullable().optional()
|
|
43
|
-
}).describe("Response model for geocode-address.")
|
|
43
|
+
}).passthrough().describe("Response model for geocode-address.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { neutrinoGeocodeAddress };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-address.mjs","names":[],"sources":["../../src/actions/geocode-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoGeocodeAddressInput = z.object({\n address: z.string().describe(\"The full address or place name to geocode\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code to limit results\").optional(),\n \"fuzzy-search\": z.boolean().default(false).describe(\"Enable enhanced matching for misspelled addresses\").optional(),\n \"language-code\": z.string().describe(\"ISO 2-letter language code for result translation\").optional(),\n}).describe(\"Request model for geocoding an address or place name.\");\nconst NeutrinoGeocodeAddress_TimezoneSchema = z.object({\n id: z.string().describe(\"Timezone identifier (e.g., 'America/New_York')\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation (e.g., 'EST', 'PST')\").nullable().optional(),\n date: z.string().describe(\"Current date in the timezone\").nullable().optional(),\n name: z.string().describe(\"Full timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time in the timezone\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+00:00', '-05:00')\").nullable().optional(),\n}).passthrough().describe(\"Timezone information for a location.\");\nconst NeutrinoGeocodeAddress_LocationSchema = z.object({\n city: z.string().describe(\"City or locality name\").nullable().optional(),\n state: z.string().describe(\"State or region name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n geohash: z.string().describe(\"Location geohash identifier\").nullable().optional(),\n latitude: z.number().describe(\"Geographic latitude coordinate\").nullable(),\n timezone: NeutrinoGeocodeAddress_TimezoneSchema.nullable().optional(),\n longitude: z.number().describe(\"Geographic longitude coordinate\").nullable(),\n \"postal-code\": z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Building category (house, apartment, office, etc.)\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"location-type\": z.string().describe(\"Precision level (address, street, city, postal-code, etc.)\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted for postal delivery\").nullable().optional(),\n}).passthrough().describe(\"A single geocoded location result.\");\nexport const NeutrinoGeocodeAddressOutput = z.object({\n found: z.number().int().describe(\"Number of possible matching locations found\").nullable(),\n locations: z.array(NeutrinoGeocodeAddress_LocationSchema).describe(\"List of matching location objects\").nullable().optional(),\n}).describe(\"Response model for geocode-address.\");\n\nexport const neutrinoGeocodeAddress = action(\"NEUTRINO_GEOCODE_ADDRESS\", {\n slug: \"neutrino-geocode-address\",\n name: \"Geocode Address\",\n description: \"Tool to geocode an address. Use when you need geographic coordinates for an address or place name.\",\n input: NeutrinoGeocodeAddressInput,\n output: NeutrinoGeocodeAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,O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C,CAAC,SAAS,oCAAoC;AAM9D,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"geocode-address.mjs","names":[],"sources":["../../src/actions/geocode-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoGeocodeAddressInput = z.object({\n address: z.string().describe(\"The full address or place name to geocode\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code to limit results\").optional(),\n \"fuzzy-search\": z.boolean().default(false).describe(\"Enable enhanced matching for misspelled addresses\").optional(),\n \"language-code\": z.string().describe(\"ISO 2-letter language code for result translation\").optional(),\n}).describe(\"Request model for geocoding an address or place name.\");\nconst NeutrinoGeocodeAddress_TimezoneSchema = z.object({\n id: z.string().describe(\"Timezone identifier (e.g., 'America/New_York')\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation (e.g., 'EST', 'PST')\").nullable().optional(),\n date: z.string().describe(\"Current date in the timezone\").nullable().optional(),\n name: z.string().describe(\"Full timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time in the timezone\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+00:00', '-05:00')\").nullable().optional(),\n}).passthrough().describe(\"Timezone information for a location.\");\nconst NeutrinoGeocodeAddress_LocationSchema = z.object({\n city: z.string().describe(\"City or locality name\").nullable().optional(),\n state: z.string().describe(\"State or region name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n geohash: z.string().describe(\"Location geohash identifier\").nullable().optional(),\n latitude: z.number().describe(\"Geographic latitude coordinate\").nullable(),\n timezone: NeutrinoGeocodeAddress_TimezoneSchema.nullable().optional(),\n longitude: z.number().describe(\"Geographic longitude coordinate\").nullable(),\n \"postal-code\": z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Building category (house, apartment, office, etc.)\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"location-type\": z.string().describe(\"Precision level (address, street, city, postal-code, etc.)\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted for postal delivery\").nullable().optional(),\n}).passthrough().describe(\"A single geocoded location result.\");\nexport const NeutrinoGeocodeAddressOutput = z.object({\n found: z.number().int().describe(\"Number of possible matching locations found\").nullable(),\n locations: z.array(NeutrinoGeocodeAddress_LocationSchema).describe(\"List of matching location objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for geocode-address.\");\n\nexport const neutrinoGeocodeAddress = action(\"NEUTRINO_GEOCODE_ADDRESS\", {\n slug: \"neutrino-geocode-address\",\n name: \"Geocode Address\",\n description: \"Tool to geocode an address. Use when you need geographic coordinates for an address or place name.\",\n input: NeutrinoGeocodeAddressInput,\n output: NeutrinoGeocodeAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAA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C,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAM9D,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -15,14 +15,14 @@ const NeutrinoGeocodeReverse_TimezoneInfoSchema = zod.z.object({
|
|
|
15
15
|
name: zod.z.string().describe("Timezone name").nullable().optional(),
|
|
16
16
|
time: zod.z.string().describe("Current time at the location").nullable().optional(),
|
|
17
17
|
offset: zod.z.string().describe("UTC offset (e.g., '+13:00')").nullable().optional()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const NeutrinoGeocodeReverse_LocationProfileSchema = zod.z.object({
|
|
20
20
|
"org-name": zod.z.string().describe("Organization name if available").nullable().optional(),
|
|
21
21
|
"website-url": zod.z.string().describe("Website URL if available").nullable().optional(),
|
|
22
22
|
"phone-number": zod.z.string().describe("Phone number if available").nullable().optional(),
|
|
23
23
|
"wikidata-entity": zod.z.string().describe("Wikidata entity ID if available").nullable().optional(),
|
|
24
24
|
"wikipedia-title": zod.z.string().describe("Wikipedia article title if available").nullable().optional()
|
|
25
|
-
});
|
|
25
|
+
}).passthrough();
|
|
26
26
|
const NeutrinoGeocodeReverse_AddressComponentsSchema = zod.z.object({
|
|
27
27
|
route: zod.z.string().describe("Street or route name").nullable().optional(),
|
|
28
28
|
country: zod.z.string().describe("Country name").nullable().optional(),
|
|
@@ -30,7 +30,7 @@ const NeutrinoGeocodeReverse_AddressComponentsSchema = zod.z.object({
|
|
|
30
30
|
"postal-code": zod.z.string().describe("Postal code").nullable().optional(),
|
|
31
31
|
"street-number": zod.z.string().describe("House or building number").nullable().optional(),
|
|
32
32
|
"administrative-area-level-1": zod.z.string().describe("State, region, or province").nullable().optional()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const NeutrinoGeocodeReverseOutput = zod.z.object({
|
|
35
35
|
city: zod.z.string().describe("The city name").nullable().optional(),
|
|
36
36
|
found: zod.z.boolean().describe("True if coordinates map to a real location, False otherwise").nullable(),
|
|
@@ -53,7 +53,7 @@ const NeutrinoGeocodeReverseOutput = zod.z.object({
|
|
|
53
53
|
"postal-address": zod.z.string().describe("Address formatted per local postal standards").nullable().optional(),
|
|
54
54
|
"location-profile": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),
|
|
55
55
|
"address-components": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional()
|
|
56
|
-
});
|
|
56
|
+
}).passthrough();
|
|
57
57
|
const neutrinoGeocodeReverse = require_action.action("NEUTRINO_GEOCODE_REVERSE", {
|
|
58
58
|
slug: "neutrino-geocode-reverse",
|
|
59
59
|
name: "Reverse Geocode",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-reverse.cjs","names":["z","action"],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoGeocodeReverseInput = z.object({\n zoom: z.string().describe(\"The zoom level to control address detail precision. Options: 'address' (most detailed, default), 'street', 'city', 'state', or 'country' (least detailed)\").optional(),\n latitude: z.number().describe(\"The location latitude in decimal degrees format\"),\n longitude: z.number().describe(\"The location longitude in decimal degrees format\"),\n \"country-code\": z.string().describe(\"Limit results to a specific country using ISO 2-letter country code\").optional(),\n \"language-code\": z.string().describe(\"The language to display results in (ISO 639-1 code). Supported: ar, de, en, es, fr, it, ja, nl, pt, ru, zh. Default is 'en'\").optional(),\n});\nconst NeutrinoGeocodeReverse_TimezoneInfoSchema = z.object({\n id: z.string().describe(\"IANA timezone identifier\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation\").nullable().optional(),\n date: z.string().describe(\"Current date at the location\").nullable().optional(),\n name: z.string().describe(\"Timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time at the location\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+13:00')\").nullable().optional(),\n});\nconst NeutrinoGeocodeReverse_LocationProfileSchema = z.object({\n \"org-name\": z.string().describe(\"Organization name if available\").nullable().optional(),\n \"website-url\": z.string().describe(\"Website URL if available\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number if available\").nullable().optional(),\n \"wikidata-entity\": z.string().describe(\"Wikidata entity ID if available\").nullable().optional(),\n \"wikipedia-title\": z.string().describe(\"Wikipedia article title if available\").nullable().optional(),\n});\nconst NeutrinoGeocodeReverse_AddressComponentsSchema = z.object({\n route: z.string().describe(\"Street or route name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"Locality or city\").nullable().optional(),\n \"postal-code\": z.string().describe(\"Postal code\").nullable().optional(),\n \"street-number\": z.string().describe(\"House or building number\").nullable().optional(),\n \"administrative-area-level-1\": z.string().describe(\"State, region, or province\").nullable().optional(),\n});\nexport const NeutrinoGeocodeReverseOutput = z.object({\n city: z.string().describe(\"The city name\").nullable().optional(),\n found: z.boolean().describe(\"True if coordinates map to a real location, False otherwise\").nullable(),\n state: z.string().describe(\"The state, region, or province name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable().optional(),\n country: z.string().describe(\"The country name\").nullable().optional(),\n geohash: z.string().describe(\"The geohash value for this location\").nullable().optional(),\n latitude: z.number().describe(\"The location latitude\").nullable().optional(),\n timezone: NeutrinoGeocodeReverse_TimezoneInfoSchema.nullable().optional(),\n longitude: z.number().describe(\"The location longitude\").nullable().optional(),\n \"postal-code\": z.string().describe(\"The postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Structure type if applicable: house, apartment, office, shop, attraction, medical, etc.\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n \"location-tags\": z.array(z.unknown()).describe(\"Metadata tags describing the location (e.g., shop, office, cafe, bank)\").nullable().optional(),\n \"location-type\": z.string().describe(\"Location precision type: address, street, city, postal-code, railway, natural, island, or administrative\").nullable().optional(),\n \"continent-code\": z.string().describe(\"2-letter continent code\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted per local postal standards\").nullable().optional(),\n \"location-profile\": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),\n \"address-components\": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional(),\n});\n\nexport const neutrinoGeocodeReverse = action(\"NEUTRINO_GEOCODE_REVERSE\", {\n slug: \"neutrino-geocode-reverse\",\n name: \"Reverse Geocode\",\n description: \"Convert geographic coordinates (latitude/longitude) into real-world address information. Returns comprehensive location data including formatted addresses, administrative boundaries, timezone information, and location metadata. Useful for translating GPS coordinates into human-readable locations or enriching location data with regional details. The zoom parameter controls detail level: 'address' returns building-level precision, while 'city' or 'country' returns broader geographic information.\",\n input: NeutrinoGeocodeReverseInput,\n output: NeutrinoGeocodeReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAChM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACpH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;AAC/K,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC;
|
|
1
|
+
{"version":3,"file":"geocode-reverse.cjs","names":["z","action"],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoGeocodeReverseInput = z.object({\n zoom: z.string().describe(\"The zoom level to control address detail precision. Options: 'address' (most detailed, default), 'street', 'city', 'state', or 'country' (least detailed)\").optional(),\n latitude: z.number().describe(\"The location latitude in decimal degrees format\"),\n longitude: z.number().describe(\"The location longitude in decimal degrees format\"),\n \"country-code\": z.string().describe(\"Limit results to a specific country using ISO 2-letter country code\").optional(),\n \"language-code\": z.string().describe(\"The language to display results in (ISO 639-1 code). Supported: ar, de, en, es, fr, it, ja, nl, pt, ru, zh. Default is 'en'\").optional(),\n});\nconst NeutrinoGeocodeReverse_TimezoneInfoSchema = z.object({\n id: z.string().describe(\"IANA timezone identifier\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation\").nullable().optional(),\n date: z.string().describe(\"Current date at the location\").nullable().optional(),\n name: z.string().describe(\"Timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time at the location\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+13:00')\").nullable().optional(),\n}).passthrough();\nconst NeutrinoGeocodeReverse_LocationProfileSchema = z.object({\n \"org-name\": z.string().describe(\"Organization name if available\").nullable().optional(),\n \"website-url\": z.string().describe(\"Website URL if available\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number if available\").nullable().optional(),\n \"wikidata-entity\": z.string().describe(\"Wikidata entity ID if available\").nullable().optional(),\n \"wikipedia-title\": z.string().describe(\"Wikipedia article title if available\").nullable().optional(),\n}).passthrough();\nconst NeutrinoGeocodeReverse_AddressComponentsSchema = z.object({\n route: z.string().describe(\"Street or route name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"Locality or city\").nullable().optional(),\n \"postal-code\": z.string().describe(\"Postal code\").nullable().optional(),\n \"street-number\": z.string().describe(\"House or building number\").nullable().optional(),\n \"administrative-area-level-1\": z.string().describe(\"State, region, or province\").nullable().optional(),\n}).passthrough();\nexport const NeutrinoGeocodeReverseOutput = z.object({\n city: z.string().describe(\"The city name\").nullable().optional(),\n found: z.boolean().describe(\"True if coordinates map to a real location, False otherwise\").nullable(),\n state: z.string().describe(\"The state, region, or province name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable().optional(),\n country: z.string().describe(\"The country name\").nullable().optional(),\n geohash: z.string().describe(\"The geohash value for this location\").nullable().optional(),\n latitude: z.number().describe(\"The location latitude\").nullable().optional(),\n timezone: NeutrinoGeocodeReverse_TimezoneInfoSchema.nullable().optional(),\n longitude: z.number().describe(\"The location longitude\").nullable().optional(),\n \"postal-code\": z.string().describe(\"The postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Structure type if applicable: house, apartment, office, shop, attraction, medical, etc.\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n \"location-tags\": z.array(z.unknown()).describe(\"Metadata tags describing the location (e.g., shop, office, cafe, bank)\").nullable().optional(),\n \"location-type\": z.string().describe(\"Location precision type: address, street, city, postal-code, railway, natural, island, or administrative\").nullable().optional(),\n \"continent-code\": z.string().describe(\"2-letter continent code\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted per local postal standards\").nullable().optional(),\n \"location-profile\": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),\n \"address-components\": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional(),\n}).passthrough();\n\nexport const neutrinoGeocodeReverse = action(\"NEUTRINO_GEOCODE_REVERSE\", {\n slug: \"neutrino-geocode-reverse\",\n name: \"Reverse Geocode\",\n description: \"Convert geographic coordinates (latitude/longitude) into real-world address information. Returns comprehensive location data including formatted addresses, administrative boundaries, timezone information, and location metadata. Useful for translating GPS coordinates into human-readable locations or enriching location data with regional details. The zoom parameter controls detail level: 'address' returns building-level precision, while 'city' or 'country' returns broader geographic information.\",\n input: NeutrinoGeocodeReverseInput,\n output: NeutrinoGeocodeReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAChM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACpH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;AAC/K,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/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CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoB,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACrF,sBAAsB,+CAA+C,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ declare const NeutrinoGeocodeReverseOutput: z.ZodObject<{
|
|
|
23
23
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
offset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
"postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
"region-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -41,7 +41,7 @@ declare const NeutrinoGeocodeReverseOutput: z.ZodObject<{
|
|
|
41
41
|
"phone-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
"wikidata-entity": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
"wikipedia-title": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
"address-components": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
route: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -49,8 +49,8 @@ declare const NeutrinoGeocodeReverseOutput: z.ZodObject<{
|
|
|
49
49
|
"postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
"street-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
"administrative-area-level-1": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
}, z.core.$
|
|
53
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
54
|
declare const neutrinoGeocodeReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
55
|
latitude: number;
|
|
56
56
|
longitude: number;
|
|
@@ -23,7 +23,7 @@ declare const NeutrinoGeocodeReverseOutput: z.ZodObject<{
|
|
|
23
23
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
offset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
27
|
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
"postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
"region-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -41,7 +41,7 @@ declare const NeutrinoGeocodeReverseOutput: z.ZodObject<{
|
|
|
41
41
|
"phone-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
"wikidata-entity": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
"wikipedia-title": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
"address-components": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
route: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -49,8 +49,8 @@ declare const NeutrinoGeocodeReverseOutput: z.ZodObject<{
|
|
|
49
49
|
"postal-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
"street-number": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
"administrative-area-level-1": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
}, z.core.$
|
|
53
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
54
|
declare const neutrinoGeocodeReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
55
|
latitude: number;
|
|
56
56
|
longitude: number;
|
|
@@ -15,14 +15,14 @@ const NeutrinoGeocodeReverse_TimezoneInfoSchema = z.object({
|
|
|
15
15
|
name: z.string().describe("Timezone name").nullable().optional(),
|
|
16
16
|
time: z.string().describe("Current time at the location").nullable().optional(),
|
|
17
17
|
offset: z.string().describe("UTC offset (e.g., '+13:00')").nullable().optional()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const NeutrinoGeocodeReverse_LocationProfileSchema = z.object({
|
|
20
20
|
"org-name": z.string().describe("Organization name if available").nullable().optional(),
|
|
21
21
|
"website-url": z.string().describe("Website URL if available").nullable().optional(),
|
|
22
22
|
"phone-number": z.string().describe("Phone number if available").nullable().optional(),
|
|
23
23
|
"wikidata-entity": z.string().describe("Wikidata entity ID if available").nullable().optional(),
|
|
24
24
|
"wikipedia-title": z.string().describe("Wikipedia article title if available").nullable().optional()
|
|
25
|
-
});
|
|
25
|
+
}).passthrough();
|
|
26
26
|
const NeutrinoGeocodeReverse_AddressComponentsSchema = z.object({
|
|
27
27
|
route: z.string().describe("Street or route name").nullable().optional(),
|
|
28
28
|
country: z.string().describe("Country name").nullable().optional(),
|
|
@@ -30,7 +30,7 @@ const NeutrinoGeocodeReverse_AddressComponentsSchema = z.object({
|
|
|
30
30
|
"postal-code": z.string().describe("Postal code").nullable().optional(),
|
|
31
31
|
"street-number": z.string().describe("House or building number").nullable().optional(),
|
|
32
32
|
"administrative-area-level-1": z.string().describe("State, region, or province").nullable().optional()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const neutrinoGeocodeReverse = action("NEUTRINO_GEOCODE_REVERSE", {
|
|
35
35
|
slug: "neutrino-geocode-reverse",
|
|
36
36
|
name: "Reverse Geocode",
|
|
@@ -58,7 +58,7 @@ const neutrinoGeocodeReverse = action("NEUTRINO_GEOCODE_REVERSE", {
|
|
|
58
58
|
"postal-address": z.string().describe("Address formatted per local postal standards").nullable().optional(),
|
|
59
59
|
"location-profile": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),
|
|
60
60
|
"address-components": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional()
|
|
61
|
-
})
|
|
61
|
+
}).passthrough()
|
|
62
62
|
});
|
|
63
63
|
//#endregion
|
|
64
64
|
export { neutrinoGeocodeReverse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-reverse.mjs","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoGeocodeReverseInput = z.object({\n zoom: z.string().describe(\"The zoom level to control address detail precision. Options: 'address' (most detailed, default), 'street', 'city', 'state', or 'country' (least detailed)\").optional(),\n latitude: z.number().describe(\"The location latitude in decimal degrees format\"),\n longitude: z.number().describe(\"The location longitude in decimal degrees format\"),\n \"country-code\": z.string().describe(\"Limit results to a specific country using ISO 2-letter country code\").optional(),\n \"language-code\": z.string().describe(\"The language to display results in (ISO 639-1 code). Supported: ar, de, en, es, fr, it, ja, nl, pt, ru, zh. Default is 'en'\").optional(),\n});\nconst NeutrinoGeocodeReverse_TimezoneInfoSchema = z.object({\n id: z.string().describe(\"IANA timezone identifier\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation\").nullable().optional(),\n date: z.string().describe(\"Current date at the location\").nullable().optional(),\n name: z.string().describe(\"Timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time at the location\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+13:00')\").nullable().optional(),\n});\nconst NeutrinoGeocodeReverse_LocationProfileSchema = z.object({\n \"org-name\": z.string().describe(\"Organization name if available\").nullable().optional(),\n \"website-url\": z.string().describe(\"Website URL if available\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number if available\").nullable().optional(),\n \"wikidata-entity\": z.string().describe(\"Wikidata entity ID if available\").nullable().optional(),\n \"wikipedia-title\": z.string().describe(\"Wikipedia article title if available\").nullable().optional(),\n});\nconst NeutrinoGeocodeReverse_AddressComponentsSchema = z.object({\n route: z.string().describe(\"Street or route name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"Locality or city\").nullable().optional(),\n \"postal-code\": z.string().describe(\"Postal code\").nullable().optional(),\n \"street-number\": z.string().describe(\"House or building number\").nullable().optional(),\n \"administrative-area-level-1\": z.string().describe(\"State, region, or province\").nullable().optional(),\n});\nexport const NeutrinoGeocodeReverseOutput = z.object({\n city: z.string().describe(\"The city name\").nullable().optional(),\n found: z.boolean().describe(\"True if coordinates map to a real location, False otherwise\").nullable(),\n state: z.string().describe(\"The state, region, or province name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable().optional(),\n country: z.string().describe(\"The country name\").nullable().optional(),\n geohash: z.string().describe(\"The geohash value for this location\").nullable().optional(),\n latitude: z.number().describe(\"The location latitude\").nullable().optional(),\n timezone: NeutrinoGeocodeReverse_TimezoneInfoSchema.nullable().optional(),\n longitude: z.number().describe(\"The location longitude\").nullable().optional(),\n \"postal-code\": z.string().describe(\"The postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Structure type if applicable: house, apartment, office, shop, attraction, medical, etc.\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n \"location-tags\": z.array(z.unknown()).describe(\"Metadata tags describing the location (e.g., shop, office, cafe, bank)\").nullable().optional(),\n \"location-type\": z.string().describe(\"Location precision type: address, street, city, postal-code, railway, natural, island, or administrative\").nullable().optional(),\n \"continent-code\": z.string().describe(\"2-letter continent code\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted per local postal standards\").nullable().optional(),\n \"location-profile\": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),\n \"address-components\": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional(),\n});\n\nexport const neutrinoGeocodeReverse = action(\"NEUTRINO_GEOCODE_REVERSE\", {\n slug: \"neutrino-geocode-reverse\",\n name: \"Reverse Geocode\",\n description: \"Convert geographic coordinates (latitude/longitude) into real-world address information. Returns comprehensive location data including formatted addresses, administrative boundaries, timezone information, and location metadata. Useful for translating GPS coordinates into human-readable locations or enriching location data with regional details. The zoom parameter controls detail level: 'address' returns building-level precision, while 'city' or 'country' returns broader geographic information.\",\n input: NeutrinoGeocodeReverseInput,\n output: NeutrinoGeocodeReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAChM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACpH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;AAC/K,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC;
|
|
1
|
+
{"version":3,"file":"geocode-reverse.mjs","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoGeocodeReverseInput = z.object({\n zoom: z.string().describe(\"The zoom level to control address detail precision. Options: 'address' (most detailed, default), 'street', 'city', 'state', or 'country' (least detailed)\").optional(),\n latitude: z.number().describe(\"The location latitude in decimal degrees format\"),\n longitude: z.number().describe(\"The location longitude in decimal degrees format\"),\n \"country-code\": z.string().describe(\"Limit results to a specific country using ISO 2-letter country code\").optional(),\n \"language-code\": z.string().describe(\"The language to display results in (ISO 639-1 code). Supported: ar, de, en, es, fr, it, ja, nl, pt, ru, zh. Default is 'en'\").optional(),\n});\nconst NeutrinoGeocodeReverse_TimezoneInfoSchema = z.object({\n id: z.string().describe(\"IANA timezone identifier\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation\").nullable().optional(),\n date: z.string().describe(\"Current date at the location\").nullable().optional(),\n name: z.string().describe(\"Timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time at the location\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+13:00')\").nullable().optional(),\n}).passthrough();\nconst NeutrinoGeocodeReverse_LocationProfileSchema = z.object({\n \"org-name\": z.string().describe(\"Organization name if available\").nullable().optional(),\n \"website-url\": z.string().describe(\"Website URL if available\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number if available\").nullable().optional(),\n \"wikidata-entity\": z.string().describe(\"Wikidata entity ID if available\").nullable().optional(),\n \"wikipedia-title\": z.string().describe(\"Wikipedia article title if available\").nullable().optional(),\n}).passthrough();\nconst NeutrinoGeocodeReverse_AddressComponentsSchema = z.object({\n route: z.string().describe(\"Street or route name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"Locality or city\").nullable().optional(),\n \"postal-code\": z.string().describe(\"Postal code\").nullable().optional(),\n \"street-number\": z.string().describe(\"House or building number\").nullable().optional(),\n \"administrative-area-level-1\": z.string().describe(\"State, region, or province\").nullable().optional(),\n}).passthrough();\nexport const NeutrinoGeocodeReverseOutput = z.object({\n city: z.string().describe(\"The city name\").nullable().optional(),\n found: z.boolean().describe(\"True if coordinates map to a real location, False otherwise\").nullable(),\n state: z.string().describe(\"The state, region, or province name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable().optional(),\n country: z.string().describe(\"The country name\").nullable().optional(),\n geohash: z.string().describe(\"The geohash value for this location\").nullable().optional(),\n latitude: z.number().describe(\"The location latitude\").nullable().optional(),\n timezone: NeutrinoGeocodeReverse_TimezoneInfoSchema.nullable().optional(),\n longitude: z.number().describe(\"The location longitude\").nullable().optional(),\n \"postal-code\": z.string().describe(\"The postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Structure type if applicable: house, apartment, office, shop, attraction, medical, etc.\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n \"location-tags\": z.array(z.unknown()).describe(\"Metadata tags describing the location (e.g., shop, office, cafe, bank)\").nullable().optional(),\n \"location-type\": z.string().describe(\"Location precision type: address, street, city, postal-code, railway, natural, island, or administrative\").nullable().optional(),\n \"continent-code\": z.string().describe(\"2-letter continent code\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted per local postal standards\").nullable().optional(),\n \"location-profile\": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),\n \"address-components\": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional(),\n}).passthrough();\n\nexport const neutrinoGeocodeReverse = action(\"NEUTRINO_GEOCODE_REVERSE\", {\n slug: \"neutrino-geocode-reverse\",\n name: \"Reverse Geocode\",\n description: \"Convert geographic coordinates (latitude/longitude) into real-world address information. Returns comprehensive location data including formatted addresses, administrative boundaries, timezone information, and location metadata. Useful for translating GPS coordinates into human-readable locations or enriching location data with regional details. The zoom parameter controls detail level: 'address' returns building-level precision, while 'city' or 'country' returns broader geographic information.\",\n input: NeutrinoGeocodeReverseInput,\n output: NeutrinoGeocodeReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAChM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACpH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;AAC/K,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,S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AO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,oBAAoB,6CAA6C,SAAS,CAAC,CAAC,SAAS;EACrF,sBAAsB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -32,7 +32,7 @@ const NeutrinoHlrLookupOutput = zod.z.object({
|
|
|
32
32
|
"international-number": zod.z.string().describe("Number in full international format.").nullable(),
|
|
33
33
|
"roaming-country-code": zod.z.string().describe("Country code where device is roaming (empty if not roaming).").nullable(),
|
|
34
34
|
"international-calling-code": zod.z.string().describe("International calling code for the number's country.").nullable()
|
|
35
|
-
}).describe("Response model for the HLR_LOOKUP action.");
|
|
35
|
+
}).passthrough().describe("Response model for the HLR_LOOKUP action.");
|
|
36
36
|
const neutrinoHlrLookup = require_action.action("NEUTRINO_HLR_LOOKUP", {
|
|
37
37
|
slug: "neutrino-hlr-lookup",
|
|
38
38
|
name: "HLR Lookup",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hlr-lookup.cjs","names":["z","action"],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;CACjM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;AAC5P,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,SAASA,I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AAC,CAAC,SAAS;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC7G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7F,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrH,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"hlr-lookup.cjs","names":["z","action"],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).passthrough().describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output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CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -32,7 +32,7 @@ declare const NeutrinoHlrLookupOutput: z.ZodObject<{
|
|
|
32
32
|
"international-number": z.ZodNullable<z.ZodString>;
|
|
33
33
|
"roaming-country-code": z.ZodNullable<z.ZodString>;
|
|
34
34
|
"international-calling-code": z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const neutrinoHlrLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
number: string;
|
|
38
38
|
ip?: string | undefined;
|
|
@@ -32,7 +32,7 @@ declare const NeutrinoHlrLookupOutput: z.ZodObject<{
|
|
|
32
32
|
"international-number": z.ZodNullable<z.ZodString>;
|
|
33
33
|
"roaming-country-code": z.ZodNullable<z.ZodString>;
|
|
34
34
|
"international-calling-code": z.ZodNullable<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const neutrinoHlrLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
number: string;
|
|
38
38
|
ip?: string | undefined;
|
|
@@ -35,7 +35,7 @@ const neutrinoHlrLookup = action("NEUTRINO_HLR_LOOKUP", {
|
|
|
35
35
|
"international-number": z.string().describe("Number in full international format.").nullable(),
|
|
36
36
|
"roaming-country-code": z.string().describe("Country code where device is roaming (empty if not roaming).").nullable(),
|
|
37
37
|
"international-calling-code": z.string().describe("International calling code for the number's country.").nullable()
|
|
38
|
-
}).describe("Response model for the HLR_LOOKUP action.")
|
|
38
|
+
}).passthrough().describe("Response model for the HLR_LOOKUP action.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { neutrinoHlrLookup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hlr-lookup.mjs","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;AAqCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;EACjM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;CAC5P,CAAC,CAAC,CAAC,SAAS,0CAiCH;CACP,QAjCqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OA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AAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACpG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC7G,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7F,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrH,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"hlr-lookup.mjs","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).passthrough().describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;AAqCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;EACjM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;CAC5P,CAAC,CAAC,CAAC,SAAS,0CAiCH;CACP,QAjCqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,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