@keystrokehq/neutrino 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-watermark-to-image.cjs +1 -0
- package/dist/actions/add-watermark-to-image.cjs.map +1 -1
- package/dist/actions/add-watermark-to-image.d.cts +3 -11
- package/dist/actions/add-watermark-to-image.d.cts.map +1 -1
- package/dist/actions/add-watermark-to-image.d.mts +3 -11
- package/dist/actions/add-watermark-to-image.d.mts.map +1 -1
- package/dist/actions/add-watermark-to-image.mjs +1 -0
- package/dist/actions/add-watermark-to-image.mjs.map +1 -1
- package/dist/actions/bad-word-filter.cjs +1 -0
- package/dist/actions/bad-word-filter.cjs.map +1 -1
- package/dist/actions/bad-word-filter.d.cts +3 -7
- package/dist/actions/bad-word-filter.d.cts.map +1 -1
- package/dist/actions/bad-word-filter.d.mts +3 -7
- package/dist/actions/bad-word-filter.d.mts.map +1 -1
- package/dist/actions/bad-word-filter.mjs +1 -0
- package/dist/actions/bad-word-filter.mjs.map +1 -1
- package/dist/actions/bin-lookup.cjs +1 -0
- package/dist/actions/bin-lookup.cjs.map +1 -1
- package/dist/actions/bin-lookup.d.cts +3 -5
- package/dist/actions/bin-lookup.d.cts.map +1 -1
- package/dist/actions/bin-lookup.d.mts +3 -5
- package/dist/actions/bin-lookup.d.mts.map +1 -1
- package/dist/actions/bin-lookup.mjs +1 -0
- package/dist/actions/bin-lookup.mjs.map +1 -1
- package/dist/actions/check-ip-blocklist.cjs +1 -0
- package/dist/actions/check-ip-blocklist.cjs.map +1 -1
- package/dist/actions/check-ip-blocklist.d.cts +3 -4
- package/dist/actions/check-ip-blocklist.d.cts.map +1 -1
- package/dist/actions/check-ip-blocklist.d.mts +3 -4
- package/dist/actions/check-ip-blocklist.d.mts.map +1 -1
- package/dist/actions/check-ip-blocklist.mjs +1 -0
- package/dist/actions/check-ip-blocklist.mjs.map +1 -1
- package/dist/actions/convert.cjs +1 -0
- package/dist/actions/convert.cjs.map +1 -1
- package/dist/actions/convert.d.cts +3 -6
- package/dist/actions/convert.d.cts.map +1 -1
- package/dist/actions/convert.d.mts +3 -6
- package/dist/actions/convert.d.mts.map +1 -1
- package/dist/actions/convert.mjs +1 -0
- package/dist/actions/convert.mjs.map +1 -1
- package/dist/actions/email-validate.cjs +1 -0
- package/dist/actions/email-validate.cjs.map +1 -1
- package/dist/actions/email-validate.d.cts +3 -4
- package/dist/actions/email-validate.d.cts.map +1 -1
- package/dist/actions/email-validate.d.mts +3 -4
- package/dist/actions/email-validate.d.mts.map +1 -1
- package/dist/actions/email-validate.mjs +1 -0
- package/dist/actions/email-validate.mjs.map +1 -1
- package/dist/actions/email-verify.cjs +1 -0
- package/dist/actions/email-verify.cjs.map +1 -1
- package/dist/actions/email-verify.d.cts +3 -4
- package/dist/actions/email-verify.d.cts.map +1 -1
- package/dist/actions/email-verify.d.mts +3 -4
- package/dist/actions/email-verify.d.mts.map +1 -1
- package/dist/actions/email-verify.mjs +1 -0
- package/dist/actions/email-verify.mjs.map +1 -1
- package/dist/actions/geocode-address.cjs +1 -0
- package/dist/actions/geocode-address.cjs.map +1 -1
- package/dist/actions/geocode-address.d.cts +3 -6
- package/dist/actions/geocode-address.d.cts.map +1 -1
- package/dist/actions/geocode-address.d.mts +3 -6
- package/dist/actions/geocode-address.d.mts.map +1 -1
- package/dist/actions/geocode-address.mjs +1 -0
- package/dist/actions/geocode-address.mjs.map +1 -1
- package/dist/actions/geocode-reverse.cjs +1 -0
- package/dist/actions/geocode-reverse.cjs.map +1 -1
- package/dist/actions/geocode-reverse.d.cts +3 -7
- package/dist/actions/geocode-reverse.d.cts.map +1 -1
- package/dist/actions/geocode-reverse.d.mts +3 -7
- package/dist/actions/geocode-reverse.d.mts.map +1 -1
- package/dist/actions/geocode-reverse.mjs +1 -0
- package/dist/actions/geocode-reverse.mjs.map +1 -1
- package/dist/actions/hlr-lookup.cjs +1 -0
- package/dist/actions/hlr-lookup.cjs.map +1 -1
- package/dist/actions/hlr-lookup.d.cts +3 -5
- package/dist/actions/hlr-lookup.d.cts.map +1 -1
- package/dist/actions/hlr-lookup.d.mts +3 -5
- package/dist/actions/hlr-lookup.d.mts.map +1 -1
- package/dist/actions/hlr-lookup.mjs +1 -0
- package/dist/actions/hlr-lookup.mjs.map +1 -1
- package/dist/actions/host-reputation.cjs +1 -0
- package/dist/actions/host-reputation.cjs.map +1 -1
- package/dist/actions/host-reputation.d.cts +3 -5
- package/dist/actions/host-reputation.d.cts.map +1 -1
- package/dist/actions/host-reputation.d.mts +3 -5
- package/dist/actions/host-reputation.d.mts.map +1 -1
- package/dist/actions/host-reputation.mjs +1 -0
- package/dist/actions/host-reputation.mjs.map +1 -1
- package/dist/actions/html-clean.cjs +1 -0
- package/dist/actions/html-clean.cjs.map +1 -1
- package/dist/actions/html-clean.d.cts +3 -4
- package/dist/actions/html-clean.d.cts.map +1 -1
- package/dist/actions/html-clean.d.mts +3 -4
- package/dist/actions/html-clean.d.mts.map +1 -1
- package/dist/actions/html-clean.mjs +1 -0
- package/dist/actions/html-clean.mjs.map +1 -1
- package/dist/actions/html-render.cjs +1 -0
- package/dist/actions/html-render.cjs.map +1 -1
- package/dist/actions/html-render.d.cts +3 -27
- package/dist/actions/html-render.d.cts.map +1 -1
- package/dist/actions/html-render.d.mts +3 -27
- package/dist/actions/html-render.d.mts.map +1 -1
- package/dist/actions/html-render.mjs +1 -0
- package/dist/actions/html-render.mjs.map +1 -1
- package/dist/actions/image-resize.cjs +1 -0
- package/dist/actions/image-resize.cjs.map +1 -1
- package/dist/actions/image-resize.d.cts +3 -9
- package/dist/actions/image-resize.d.cts.map +1 -1
- package/dist/actions/image-resize.d.mts +3 -9
- package/dist/actions/image-resize.d.mts.map +1 -1
- package/dist/actions/image-resize.mjs +1 -0
- package/dist/actions/image-resize.mjs.map +1 -1
- package/dist/actions/ip-info.cjs +1 -0
- package/dist/actions/ip-info.cjs.map +1 -1
- package/dist/actions/ip-info.d.cts +3 -4
- package/dist/actions/ip-info.d.cts.map +1 -1
- package/dist/actions/ip-info.d.mts +3 -4
- package/dist/actions/ip-info.d.mts.map +1 -1
- package/dist/actions/ip-info.mjs +1 -0
- package/dist/actions/ip-info.mjs.map +1 -1
- package/dist/actions/ip-probe.cjs +1 -0
- package/dist/actions/ip-probe.cjs.map +1 -1
- package/dist/actions/ip-probe.d.cts +3 -6
- package/dist/actions/ip-probe.d.cts.map +1 -1
- package/dist/actions/ip-probe.d.mts +3 -6
- package/dist/actions/ip-probe.d.mts.map +1 -1
- package/dist/actions/ip-probe.mjs +1 -0
- package/dist/actions/ip-probe.mjs.map +1 -1
- package/dist/actions/lookup-domain.cjs +1 -0
- package/dist/actions/lookup-domain.cjs.map +1 -1
- package/dist/actions/lookup-domain.d.cts +3 -4
- package/dist/actions/lookup-domain.d.cts.map +1 -1
- package/dist/actions/lookup-domain.d.mts +3 -4
- package/dist/actions/lookup-domain.d.mts.map +1 -1
- package/dist/actions/lookup-domain.mjs +1 -0
- package/dist/actions/lookup-domain.mjs.map +1 -1
- package/dist/actions/phone-validate.cjs +1 -0
- package/dist/actions/phone-validate.cjs.map +1 -1
- package/dist/actions/phone-validate.d.cts +3 -5
- package/dist/actions/phone-validate.d.cts.map +1 -1
- package/dist/actions/phone-validate.d.mts +3 -5
- package/dist/actions/phone-validate.d.mts.map +1 -1
- package/dist/actions/phone-validate.mjs +1 -0
- package/dist/actions/phone-validate.mjs.map +1 -1
- package/dist/actions/qr-code.cjs +1 -0
- package/dist/actions/qr-code.cjs.map +1 -1
- package/dist/actions/qr-code.d.cts +3 -8
- package/dist/actions/qr-code.d.cts.map +1 -1
- package/dist/actions/qr-code.d.mts +3 -8
- package/dist/actions/qr-code.d.mts.map +1 -1
- package/dist/actions/qr-code.mjs +1 -0
- package/dist/actions/qr-code.mjs.map +1 -1
- package/dist/actions/run-browser-bot.cjs +1 -0
- package/dist/actions/run-browser-bot.cjs.map +1 -1
- package/dist/actions/run-browser-bot.d.cts +3 -9
- package/dist/actions/run-browser-bot.d.cts.map +1 -1
- package/dist/actions/run-browser-bot.d.mts +3 -9
- package/dist/actions/run-browser-bot.d.mts.map +1 -1
- package/dist/actions/run-browser-bot.mjs +1 -0
- package/dist/actions/run-browser-bot.mjs.map +1 -1
- package/dist/actions/sms-verify.cjs +1 -0
- package/dist/actions/sms-verify.cjs.map +1 -1
- package/dist/actions/sms-verify.d.cts +3 -10
- package/dist/actions/sms-verify.d.cts.map +1 -1
- package/dist/actions/sms-verify.d.mts +3 -10
- package/dist/actions/sms-verify.d.mts.map +1 -1
- package/dist/actions/sms-verify.mjs +1 -0
- package/dist/actions/sms-verify.mjs.map +1 -1
- package/dist/actions/ua-lookup.cjs +1 -0
- package/dist/actions/ua-lookup.cjs.map +1 -1
- package/dist/actions/ua-lookup.d.cts +3 -4
- package/dist/actions/ua-lookup.d.cts.map +1 -1
- package/dist/actions/ua-lookup.d.mts +3 -4
- package/dist/actions/ua-lookup.d.mts.map +1 -1
- package/dist/actions/ua-lookup.mjs +1 -0
- package/dist/actions/ua-lookup.mjs.map +1 -1
- package/dist/actions/url-info.cjs +1 -0
- package/dist/actions/url-info.cjs.map +1 -1
- package/dist/actions/url-info.d.cts +3 -4
- package/dist/actions/url-info.d.cts.map +1 -1
- package/dist/actions/url-info.d.mts +3 -4
- package/dist/actions/url-info.d.mts.map +1 -1
- package/dist/actions/url-info.mjs +1 -0
- package/dist/actions/url-info.mjs.map +1 -1
- package/dist/actions/verify-security-code.cjs +1 -0
- package/dist/actions/verify-security-code.cjs.map +1 -1
- package/dist/actions/verify-security-code.d.cts +3 -4
- package/dist/actions/verify-security-code.d.cts.map +1 -1
- package/dist/actions/verify-security-code.d.mts +3 -4
- package/dist/actions/verify-security-code.d.mts.map +1 -1
- package/dist/actions/verify-security-code.mjs +1 -0
- package/dist/actions/verify-security-code.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.d.mts","names":[],"sources":["../../src/actions/convert.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert.d.mts","names":[],"sources":["../../src/actions/convert.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
package/dist/actions/convert.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.mjs","names":[],"sources":["../../src/actions/convert.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoConvertInput = z.object({\n \"to-type\": z.string().describe(\"The unit or currency code to convert to (e.g., 'EUR', 'm', 'gram').\"),\n \"from-type\": z.string().describe(\"The unit or currency code of the input value (e.g., 'USD', 'kg', 'mile').\"),\n \"from-value\": z.string().describe(\"The numeric value (as a string) to convert from.\"),\n \"historical-date\": z.string().describe(\"Optional date for historical exchange rates. Formats: YYYY-MM-DD, YYYY-MM, or YYYY. If not provided, uses current rates.\").optional(),\n}).describe(\"Request model for the Convert action.\");\nexport const NeutrinoConvertOutput = z.object({\n valid: z.boolean().describe(\"Indicates whether the conversion was successful.\").nullable(),\n result: z.string().describe(\"The converted value formatted as a string.\").nullable(),\n \"to-name\": z.string().describe(\"The full name of the target unit or currency.\").nullable(),\n \"to-type\": z.string().describe(\"The target unit or currency code.\").nullable(),\n \"from-name\": z.string().describe(\"The full name of the source unit or currency.\").nullable(),\n \"from-type\": z.string().describe(\"The source unit or currency code.\").nullable(),\n \"to-symbol\": z.string().describe(\"The symbol for the target unit or currency.\").nullable(),\n \"from-value\": z.string().describe(\"The original input value.\").nullable(),\n \"from-symbol\": z.string().describe(\"The symbol for the source unit or currency.\").nullable(),\n \"result-float\": z.number().describe(\"The converted value as a float number.\").nullable(),\n \"historical-date\": z.string().default(\"\").describe(\"The historical date used for the conversion (ISO format YYYY-MM-DD), empty string if current rates used.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Convert action.\");\n\nexport const neutrinoConvert = action(\"NEUTRINO_CONVERT\", {\n slug: \"neutrino-convert\",\n name: \"Convert Value\",\n description: \"Tool to perform unit and currency conversions. Use when you need to convert a value from one unit or currency to another. Example: convert 100 USD to EUR.\",\n input: NeutrinoConvertInput,\n output: NeutrinoConvertOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert.mjs","names":[],"sources":["../../src/actions/convert.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoConvertInput = z.object({\n \"to-type\": z.string().describe(\"The unit or currency code to convert to (e.g., 'EUR', 'm', 'gram').\"),\n \"from-type\": z.string().describe(\"The unit or currency code of the input value (e.g., 'USD', 'kg', 'mile').\"),\n \"from-value\": z.string().describe(\"The numeric value (as a string) to convert from.\"),\n \"historical-date\": z.string().describe(\"Optional date for historical exchange rates. Formats: YYYY-MM-DD, YYYY-MM, or YYYY. If not provided, uses current rates.\").optional(),\n}).describe(\"Request model for the Convert action.\");\nexport const NeutrinoConvertOutput = z.object({\n valid: z.boolean().describe(\"Indicates whether the conversion was successful.\").nullable(),\n result: z.string().describe(\"The converted value formatted as a string.\").nullable(),\n \"to-name\": z.string().describe(\"The full name of the target unit or currency.\").nullable(),\n \"to-type\": z.string().describe(\"The target unit or currency code.\").nullable(),\n \"from-name\": z.string().describe(\"The full name of the source unit or currency.\").nullable(),\n \"from-type\": z.string().describe(\"The source unit or currency code.\").nullable(),\n \"to-symbol\": z.string().describe(\"The symbol for the target unit or currency.\").nullable(),\n \"from-value\": z.string().describe(\"The original input value.\").nullable(),\n \"from-symbol\": z.string().describe(\"The symbol for the source unit or currency.\").nullable(),\n \"result-float\": z.number().describe(\"The converted value as a float number.\").nullable(),\n \"historical-date\": z.string().default(\"\").describe(\"The historical date used for the conversion (ISO format YYYY-MM-DD), empty string if current rates used.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Convert action.\");\n\nexport const neutrinoConvert: AppAction<\n typeof NeutrinoConvertInput,\n typeof NeutrinoConvertOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_CONVERT\", {\n slug: \"neutrino-convert\",\n name: \"Convert Value\",\n description: \"Tool to perform unit and currency conversions. Use when you need to convert a value from one unit or currency to another. Example: convert 100 USD to EUR.\",\n input: NeutrinoConvertInput,\n output: NeutrinoConvertOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,kBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BkC,EAAE,OAAO;EAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,uCAuBH;CACP,QAvBmC,EAAE,OAAO;EAC5C,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-validate.cjs","names":["z","action"],"sources":["../../src/actions/email-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoEmailValidateInput = z.object({\n email: z.string().describe(\"The email address to validate (e.g., 'user@example.com').\"),\n \"fix-typos\": z.boolean().default(false).describe(\"Whether to automatically fix common typos in domain names (e.g., 'gmial.com' -> 'gmail.com'). Defaults to false.\").optional(),\n}).describe(\"Request model for the EMAIL_VALIDATE action.\");\nexport const NeutrinoEmailValidateOutput = z.object({\n email: z.string().describe(\"The email address that was validated (may differ from input if typos were fixed).\").nullable(),\n \"mx-ip\": z.string().describe(\"The IP address of the primary mail exchange (MX) server for this domain. Empty string if unavailable.\").nullable().optional(),\n valid: z.boolean().describe(\"Overall validity: true if the email passes all validation checks (syntax, domain, MX records).\").nullable(),\n domain: z.string().describe(\"The domain part extracted from the email address (e.g., 'gmail.com' from 'user@gmail.com').\").nullable(),\n provider: z.string().describe(\"The email service provider name if identified (e.g., 'gmail.com', 'yahoo.com'). Empty string if not identified.\").nullable().optional(),\n \"is-freemail\": z.boolean().describe(\"Whether the domain is a free email provider like Gmail, Yahoo, Outlook, etc.\").nullable(),\n \"is-personal\": z.boolean().describe(\"Whether the email appears to be a personal address (vs. role-based like 'admin@' or 'info@').\").nullable(),\n \"typos-fixed\": z.boolean().describe(\"Whether typos were automatically corrected in the email address (only if fix_typos was enabled).\").nullable(),\n \"domain-error\": z.boolean().describe(\"Whether the domain has validation errors (e.g., doesn't exist, no MX records).\").nullable(),\n \"syntax-error\": z.boolean().describe(\"Whether the email has RFC822/RFC2822 syntax errors (e.g., missing '@', invalid characters).\").nullable(),\n \"domain-status\": z.string().describe(\"Domain validation status: 'ok' (valid), 'invalid' (doesn't exist), 'no-mail' (no MX records), or 'resolv-error' (DNS error).\").nullable(),\n \"is-disposable\": z.boolean().describe(\"Whether the email is from a disposable/temporary email service (often used for spam).\").nullable(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"email-validate.cjs","names":["z","action"],"sources":["../../src/actions/email-validate.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\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: AppAction<\n typeof NeutrinoEmailValidateInput,\n typeof NeutrinoEmailValidateOutput,\n typeof neutrino.credential\n> = 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":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC9I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACjJ,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC9K,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neutrino } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/email-validate.d.ts
|
|
@@ -19,10 +21,7 @@ declare const NeutrinoEmailValidateOutput: z.ZodObject<{
|
|
|
19
21
|
"domain-status": z.ZodNullable<z.ZodString>;
|
|
20
22
|
"is-disposable": z.ZodNullable<z.ZodBoolean>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const neutrinoEmailValidate:
|
|
23
|
-
email: string;
|
|
24
|
-
"fix-typos"?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const neutrinoEmailValidate: AppAction<typeof NeutrinoEmailValidateInput, typeof NeutrinoEmailValidateOutput, typeof neutrino.credential>;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { neutrinoEmailValidate };
|
|
28
27
|
//# sourceMappingURL=email-validate.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-validate.d.cts","names":[],"sources":["../../src/actions/email-validate.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"email-validate.d.cts","names":[],"sources":["../../src/actions/email-validate.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neutrino } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/email-validate.d.ts
|
|
@@ -19,10 +21,7 @@ declare const NeutrinoEmailValidateOutput: z.ZodObject<{
|
|
|
19
21
|
"domain-status": z.ZodNullable<z.ZodString>;
|
|
20
22
|
"is-disposable": z.ZodNullable<z.ZodBoolean>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const neutrinoEmailValidate:
|
|
23
|
-
email: string;
|
|
24
|
-
"fix-typos"?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const neutrinoEmailValidate: AppAction<typeof NeutrinoEmailValidateInput, typeof NeutrinoEmailValidateOutput, typeof neutrino.credential>;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { neutrinoEmailValidate };
|
|
28
27
|
//# sourceMappingURL=email-validate.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-validate.d.mts","names":[],"sources":["../../src/actions/email-validate.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"email-validate.d.mts","names":[],"sources":["../../src/actions/email-validate.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"email-validate.mjs","names":[],"sources":["../../src/actions/email-validate.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\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: AppAction<\n typeof NeutrinoEmailValidateInput,\n typeof NeutrinoEmailValidateOutput,\n typeof neutrino.credential\n> = 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":";;;AAyBA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BwC,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,8CAwBH;CACP,QAxByC,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,+CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"email-verify.cjs","names":["z","action"],"sources":["../../src/actions/email-verify.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\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: AppAction<\n typeof NeutrinoEmailVerifyInput,\n typeof NeutrinoEmailVerifyOutput,\n typeof neutrino.credential\n> = 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":";;;;AAMA,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,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,UAAUA,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from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/email-verify.d.ts
|
|
@@ -26,10 +28,7 @@ declare const NeutrinoEmailVerifyOutput: z.ZodObject<{
|
|
|
26
28
|
"is-disposable": z.ZodNullable<z.ZodBoolean>;
|
|
27
29
|
"smtp-response": z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const neutrinoEmailVerify:
|
|
30
|
-
email: string;
|
|
31
|
-
"fix-typos"?: boolean | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const neutrinoEmailVerify: AppAction<typeof NeutrinoEmailVerifyInput, typeof NeutrinoEmailVerifyOutput, typeof neutrino.credential>;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { neutrinoEmailVerify };
|
|
35
34
|
//# sourceMappingURL=email-verify.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-verify.d.cts","names":[],"sources":["../../src/actions/email-verify.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"email-verify.d.cts","names":[],"sources":["../../src/actions/email-verify.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neutrino } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/email-verify.d.ts
|
|
@@ -26,10 +28,7 @@ declare const NeutrinoEmailVerifyOutput: z.ZodObject<{
|
|
|
26
28
|
"is-disposable": z.ZodNullable<z.ZodBoolean>;
|
|
27
29
|
"smtp-response": z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const neutrinoEmailVerify:
|
|
30
|
-
email: string;
|
|
31
|
-
"fix-typos"?: boolean | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const neutrinoEmailVerify: AppAction<typeof NeutrinoEmailVerifyInput, typeof NeutrinoEmailVerifyOutput, typeof neutrino.credential>;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { neutrinoEmailVerify };
|
|
35
34
|
//# sourceMappingURL=email-verify.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-verify.d.mts","names":[],"sources":["../../src/actions/email-verify.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"email-verify.d.mts","names":[],"sources":["../../src/actions/email-verify.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"email-verify.mjs","names":[],"sources":["../../src/actions/email-verify.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\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: AppAction<\n typeof NeutrinoEmailVerifyInput,\n typeof NeutrinoEmailVerifyOutput,\n typeof neutrino.credential\n> = 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":";;;AAgCA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCsC,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,yCA+BH;CACP,QA/BuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CA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iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"geocode-address.cjs","names":["z","action"],"sources":["../../src/actions/geocode-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\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: AppAction<\n typeof NeutrinoGeocodeAddressInput,\n typeof NeutrinoGeocodeAddressOutput,\n typeof neutrino.credential\n> = 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":";;;;AAMA,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,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,u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S,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neutrino } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/geocode-address.d.ts
|
|
@@ -34,12 +36,7 @@ declare const NeutrinoGeocodeAddressOutput: z.ZodObject<{
|
|
|
34
36
|
"postal-address": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const neutrinoGeocodeAddress:
|
|
38
|
-
address: string;
|
|
39
|
-
"country-code"?: string | undefined;
|
|
40
|
-
"fuzzy-search"?: boolean | undefined;
|
|
41
|
-
"language-code"?: string | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const neutrinoGeocodeAddress: AppAction<typeof NeutrinoGeocodeAddressInput, typeof NeutrinoGeocodeAddressOutput, typeof neutrino.credential>;
|
|
43
40
|
//#endregion
|
|
44
41
|
export { neutrinoGeocodeAddress };
|
|
45
42
|
//# sourceMappingURL=geocode-address.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-address.d.cts","names":[],"sources":["../../src/actions/geocode-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"geocode-address.d.cts","names":[],"sources":["../../src/actions/geocode-address.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neutrino } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/geocode-address.d.ts
|
|
@@ -34,12 +36,7 @@ declare const NeutrinoGeocodeAddressOutput: z.ZodObject<{
|
|
|
34
36
|
"postal-address": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const neutrinoGeocodeAddress:
|
|
38
|
-
address: string;
|
|
39
|
-
"country-code"?: string | undefined;
|
|
40
|
-
"fuzzy-search"?: boolean | undefined;
|
|
41
|
-
"language-code"?: string | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const neutrinoGeocodeAddress: AppAction<typeof NeutrinoGeocodeAddressInput, typeof NeutrinoGeocodeAddressOutput, typeof neutrino.credential>;
|
|
43
40
|
//#endregion
|
|
44
41
|
export { neutrinoGeocodeAddress };
|
|
45
42
|
//# sourceMappingURL=geocode-address.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-address.d.mts","names":[],"sources":["../../src/actions/geocode-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"geocode-address.d.mts","names":[],"sources":["../../src/actions/geocode-address.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"geocode-address.mjs","names":[],"sources":["../../src/actions/geocode-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\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: AppAction<\n typeof NeutrinoGeocodeAddressInput,\n typeof NeutrinoGeocodeAddressOutput,\n typeof neutrino.credential\n> = 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":";;;;AAMA,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,8BA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AAS,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,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,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,qCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"geocode-reverse.cjs","names":["z","action"],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\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: AppAction<\n typeof NeutrinoGeocodeReverseInput,\n typeof NeutrinoGeocodeReverseOutput,\n typeof neutrino.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C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AAS,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neutrino } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/geocode-reverse.d.ts
|
|
@@ -51,13 +53,7 @@ declare const NeutrinoGeocodeReverseOutput: z.ZodObject<{
|
|
|
51
53
|
"administrative-area-level-1": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
}, z.core.$loose>>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const neutrinoGeocodeReverse:
|
|
55
|
-
latitude: number;
|
|
56
|
-
longitude: number;
|
|
57
|
-
zoom?: string | undefined;
|
|
58
|
-
"country-code"?: string | undefined;
|
|
59
|
-
"language-code"?: string | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const neutrinoGeocodeReverse: AppAction<typeof NeutrinoGeocodeReverseInput, typeof NeutrinoGeocodeReverseOutput, typeof neutrino.credential>;
|
|
61
57
|
//#endregion
|
|
62
58
|
export { neutrinoGeocodeReverse };
|
|
63
59
|
//# sourceMappingURL=geocode-reverse.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-reverse.d.cts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"geocode-reverse.d.cts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cA8B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { neutrino } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/geocode-reverse.d.ts
|
|
@@ -51,13 +53,7 @@ declare const NeutrinoGeocodeReverseOutput: z.ZodObject<{
|
|
|
51
53
|
"administrative-area-level-1": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
}, z.core.$loose>>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const neutrinoGeocodeReverse:
|
|
55
|
-
latitude: number;
|
|
56
|
-
longitude: number;
|
|
57
|
-
zoom?: string | undefined;
|
|
58
|
-
"country-code"?: string | undefined;
|
|
59
|
-
"language-code"?: string | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const neutrinoGeocodeReverse: AppAction<typeof NeutrinoGeocodeReverseInput, typeof NeutrinoGeocodeReverseOutput, typeof neutrino.credential>;
|
|
61
57
|
//#endregion
|
|
62
58
|
export { neutrinoGeocodeReverse };
|
|
63
59
|
//# sourceMappingURL=geocode-reverse.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geocode-reverse.d.mts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"geocode-reverse.d.mts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cA8B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"geocode-reverse.mjs","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\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: AppAction<\n typeof NeutrinoGeocodeReverseInput,\n typeof NeutrinoGeocodeReverseOutput,\n typeof neutrino.credential\n> = 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":";;;;AAMA,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,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,C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