@keystrokehq/neutrino 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-watermark-to-image.cjs +43 -0
- package/dist/actions/add-watermark-to-image.cjs.map +1 -0
- package/dist/actions/add-watermark-to-image.d.cts +9 -0
- package/dist/actions/add-watermark-to-image.d.cts.map +1 -0
- package/dist/actions/add-watermark-to-image.d.mts +9 -0
- package/dist/actions/add-watermark-to-image.d.mts.map +1 -0
- package/dist/actions/add-watermark-to-image.mjs +42 -0
- package/dist/actions/add-watermark-to-image.mjs.map +1 -0
- package/dist/actions/bad-word-filter.cjs +27 -0
- package/dist/actions/bad-word-filter.cjs.map +1 -0
- package/dist/actions/bad-word-filter.d.cts +9 -0
- package/dist/actions/bad-word-filter.d.cts.map +1 -0
- package/dist/actions/bad-word-filter.d.mts +9 -0
- package/dist/actions/bad-word-filter.d.mts.map +1 -0
- package/dist/actions/bad-word-filter.mjs +24 -0
- package/dist/actions/bad-word-filter.mjs.map +1 -0
- package/dist/actions/bin-lookup.cjs +44 -0
- package/dist/actions/bin-lookup.cjs.map +1 -0
- package/dist/actions/bin-lookup.d.cts +9 -0
- package/dist/actions/bin-lookup.d.cts.map +1 -0
- package/dist/actions/bin-lookup.d.mts +9 -0
- package/dist/actions/bin-lookup.d.mts.map +1 -0
- package/dist/actions/bin-lookup.mjs +41 -0
- package/dist/actions/bin-lookup.mjs.map +1 -0
- package/dist/actions/check-ip-blocklist.cjs +43 -0
- package/dist/actions/check-ip-blocklist.cjs.map +1 -0
- package/dist/actions/check-ip-blocklist.d.cts +9 -0
- package/dist/actions/check-ip-blocklist.d.cts.map +1 -0
- package/dist/actions/check-ip-blocklist.d.mts +9 -0
- package/dist/actions/check-ip-blocklist.d.mts.map +1 -0
- package/dist/actions/check-ip-blocklist.mjs +42 -0
- package/dist/actions/check-ip-blocklist.mjs.map +1 -0
- package/dist/actions/convert.cjs +33 -0
- package/dist/actions/convert.cjs.map +1 -0
- package/dist/actions/convert.d.cts +9 -0
- package/dist/actions/convert.d.cts.map +1 -0
- package/dist/actions/convert.d.mts +9 -0
- package/dist/actions/convert.d.mts.map +1 -0
- package/dist/actions/convert.mjs +30 -0
- package/dist/actions/convert.mjs.map +1 -0
- package/dist/actions/email-validate.cjs +32 -0
- package/dist/actions/email-validate.cjs.map +1 -0
- package/dist/actions/email-validate.d.cts +9 -0
- package/dist/actions/email-validate.d.cts.map +1 -0
- package/dist/actions/email-validate.d.mts +9 -0
- package/dist/actions/email-validate.d.mts.map +1 -0
- package/dist/actions/email-validate.mjs +29 -0
- package/dist/actions/email-validate.mjs.map +1 -0
- package/dist/actions/email-verify.cjs +39 -0
- package/dist/actions/email-verify.cjs.map +1 -0
- package/dist/actions/email-verify.d.cts +9 -0
- package/dist/actions/email-verify.d.cts.map +1 -0
- package/dist/actions/email-verify.d.mts +9 -0
- package/dist/actions/email-verify.d.mts.map +1 -0
- package/dist/actions/email-verify.mjs +36 -0
- package/dist/actions/email-verify.mjs.map +1 -0
- package/dist/actions/geocode-address.cjs +49 -0
- package/dist/actions/geocode-address.cjs.map +1 -0
- package/dist/actions/geocode-address.d.cts +9 -0
- package/dist/actions/geocode-address.d.cts.map +1 -0
- package/dist/actions/geocode-address.d.mts +9 -0
- package/dist/actions/geocode-address.d.mts.map +1 -0
- package/dist/actions/geocode-address.mjs +48 -0
- package/dist/actions/geocode-address.mjs.map +1 -0
- package/dist/actions/geocode-reverse.cjs +67 -0
- package/dist/actions/geocode-reverse.cjs.map +1 -0
- package/dist/actions/geocode-reverse.d.cts +9 -0
- package/dist/actions/geocode-reverse.d.cts.map +1 -0
- package/dist/actions/geocode-reverse.d.mts +9 -0
- package/dist/actions/geocode-reverse.d.mts.map +1 -0
- package/dist/actions/geocode-reverse.mjs +66 -0
- package/dist/actions/geocode-reverse.mjs.map +1 -0
- package/dist/actions/hlr-lookup.cjs +46 -0
- package/dist/actions/hlr-lookup.cjs.map +1 -0
- package/dist/actions/hlr-lookup.d.cts +9 -0
- package/dist/actions/hlr-lookup.d.cts.map +1 -0
- package/dist/actions/hlr-lookup.d.mts +9 -0
- package/dist/actions/hlr-lookup.d.mts.map +1 -0
- package/dist/actions/hlr-lookup.mjs +43 -0
- package/dist/actions/hlr-lookup.mjs.map +1 -0
- package/dist/actions/host-reputation.cjs +34 -0
- package/dist/actions/host-reputation.cjs.map +1 -0
- package/dist/actions/host-reputation.d.cts +9 -0
- package/dist/actions/host-reputation.d.cts.map +1 -0
- package/dist/actions/host-reputation.d.mts +9 -0
- package/dist/actions/host-reputation.d.mts.map +1 -0
- package/dist/actions/host-reputation.mjs +33 -0
- package/dist/actions/host-reputation.mjs.map +1 -0
- package/dist/actions/html-clean.cjs +25 -0
- package/dist/actions/html-clean.cjs.map +1 -0
- package/dist/actions/html-clean.d.cts +9 -0
- package/dist/actions/html-clean.d.cts.map +1 -0
- package/dist/actions/html-clean.d.mts +9 -0
- package/dist/actions/html-clean.d.mts.map +1 -0
- package/dist/actions/html-clean.mjs +22 -0
- package/dist/actions/html-clean.mjs.map +1 -0
- package/dist/actions/html-render.cjs +49 -0
- package/dist/actions/html-render.cjs.map +1 -0
- package/dist/actions/html-render.d.cts +9 -0
- package/dist/actions/html-render.d.cts.map +1 -0
- package/dist/actions/html-render.d.mts +9 -0
- package/dist/actions/html-render.d.mts.map +1 -0
- package/dist/actions/html-render.mjs +46 -0
- package/dist/actions/html-render.mjs.map +1 -0
- package/dist/actions/image-resize.cjs +33 -0
- package/dist/actions/image-resize.cjs.map +1 -0
- package/dist/actions/image-resize.d.cts +9 -0
- package/dist/actions/image-resize.d.cts.map +1 -0
- package/dist/actions/image-resize.d.mts +9 -0
- package/dist/actions/image-resize.d.mts.map +1 -0
- package/dist/actions/image-resize.mjs +32 -0
- package/dist/actions/image-resize.mjs.map +1 -0
- package/dist/actions/index.cjs +49 -0
- package/dist/actions/index.d.cts +25 -0
- package/dist/actions/index.d.mts +25 -0
- package/dist/actions/index.mjs +25 -0
- package/dist/actions/ip-info.cjs +47 -0
- package/dist/actions/ip-info.cjs.map +1 -0
- package/dist/actions/ip-info.d.cts +9 -0
- package/dist/actions/ip-info.d.cts.map +1 -0
- package/dist/actions/ip-info.d.mts +9 -0
- package/dist/actions/ip-info.d.mts.map +1 -0
- package/dist/actions/ip-info.mjs +46 -0
- package/dist/actions/ip-info.mjs.map +1 -0
- package/dist/actions/ip-probe.cjs +55 -0
- package/dist/actions/ip-probe.cjs.map +1 -0
- package/dist/actions/ip-probe.d.cts +9 -0
- package/dist/actions/ip-probe.d.cts.map +1 -0
- package/dist/actions/ip-probe.d.mts +9 -0
- package/dist/actions/ip-probe.d.mts.map +1 -0
- package/dist/actions/ip-probe.mjs +52 -0
- package/dist/actions/ip-probe.mjs.map +1 -0
- package/dist/actions/lookup-domain.cjs +49 -0
- package/dist/actions/lookup-domain.cjs.map +1 -0
- package/dist/actions/lookup-domain.d.cts +9 -0
- package/dist/actions/lookup-domain.d.cts.map +1 -0
- package/dist/actions/lookup-domain.d.mts +9 -0
- package/dist/actions/lookup-domain.d.mts.map +1 -0
- package/dist/actions/lookup-domain.mjs +48 -0
- package/dist/actions/lookup-domain.mjs.map +1 -0
- package/dist/actions/phone-validate.cjs +33 -0
- package/dist/actions/phone-validate.cjs.map +1 -0
- package/dist/actions/phone-validate.d.cts +9 -0
- package/dist/actions/phone-validate.d.cts.map +1 -0
- package/dist/actions/phone-validate.d.mts +9 -0
- package/dist/actions/phone-validate.d.mts.map +1 -0
- package/dist/actions/phone-validate.mjs +30 -0
- package/dist/actions/phone-validate.mjs.map +1 -0
- package/dist/actions/qr-code.cjs +23 -0
- package/dist/actions/qr-code.cjs.map +1 -0
- package/dist/actions/qr-code.d.cts +9 -0
- package/dist/actions/qr-code.d.cts.map +1 -0
- package/dist/actions/qr-code.d.mts +9 -0
- package/dist/actions/qr-code.d.mts.map +1 -0
- package/dist/actions/qr-code.mjs +20 -0
- package/dist/actions/qr-code.mjs.map +1 -0
- package/dist/actions/run-browser-bot.cjs +68 -0
- package/dist/actions/run-browser-bot.cjs.map +1 -0
- package/dist/actions/run-browser-bot.d.cts +9 -0
- package/dist/actions/run-browser-bot.d.cts.map +1 -0
- package/dist/actions/run-browser-bot.d.mts +9 -0
- package/dist/actions/run-browser-bot.d.mts.map +1 -0
- package/dist/actions/run-browser-bot.mjs +67 -0
- package/dist/actions/run-browser-bot.mjs.map +1 -0
- package/dist/actions/sms-verify.cjs +29 -0
- package/dist/actions/sms-verify.cjs.map +1 -0
- package/dist/actions/sms-verify.d.cts +9 -0
- package/dist/actions/sms-verify.d.cts.map +1 -0
- package/dist/actions/sms-verify.d.mts +9 -0
- package/dist/actions/sms-verify.d.mts.map +1 -0
- package/dist/actions/sms-verify.mjs +26 -0
- package/dist/actions/sms-verify.mjs.map +1 -0
- package/dist/actions/ua-lookup.cjs +47 -0
- package/dist/actions/ua-lookup.cjs.map +1 -0
- package/dist/actions/ua-lookup.d.cts +9 -0
- package/dist/actions/ua-lookup.d.cts.map +1 -0
- package/dist/actions/ua-lookup.d.mts +9 -0
- package/dist/actions/ua-lookup.d.mts.map +1 -0
- package/dist/actions/ua-lookup.mjs +44 -0
- package/dist/actions/ua-lookup.mjs.map +1 -0
- package/dist/actions/url-info.cjs +47 -0
- package/dist/actions/url-info.cjs.map +1 -0
- package/dist/actions/url-info.d.cts +9 -0
- package/dist/actions/url-info.d.cts.map +1 -0
- package/dist/actions/url-info.d.mts +9 -0
- package/dist/actions/url-info.d.mts.map +1 -0
- package/dist/actions/url-info.mjs +44 -0
- package/dist/actions/url-info.mjs.map +1 -0
- package/dist/actions/verify-security-code.cjs +19 -0
- package/dist/actions/verify-security-code.cjs.map +1 -0
- package/dist/actions/verify-security-code.d.cts +9 -0
- package/dist/actions/verify-security-code.d.cts.map +1 -0
- package/dist/actions/verify-security-code.d.mts +9 -0
- package/dist/actions/verify-security-code.d.mts.map +1 -0
- package/dist/actions/verify-security-code.mjs +16 -0
- package/dist/actions/verify-security-code.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +54 -0
- package/dist/index.d.cts +27 -0
- package/dist/index.d.mts +27 -0
- package/dist/index.mjs +28 -0
- package/package.json +49 -0
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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\"),\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\"),\n timezone: NeutrinoGeocodeAddress_TimezoneSchema.nullable().optional(),\n longitude: z.number().describe(\"Geographic longitude coordinate\"),\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.ZodTypeAny = z.object({\n found: z.number().int().describe(\"Number of possible matching locations found\"),\n locations: z.array(NeutrinoGeocodeAddress_LocationSchema).describe(\"List of matching location objects\").nullable().optional(),\n}).describe(\"Response model for geocode-address.\");\n\nexport const neutrinoGeocodeAddress = action(\"NEUTRINO_GEOCODE_ADDRESS\", {\n slug: \"neutrino-geocode-address\",\n name: \"Geocode Address\",\n description: \"Tool to geocode an address. Use when you need geographic coordinates for an address or place name.\",\n input: NeutrinoGeocodeAddressInput,\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,MAAM,qCAAqC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/geocode-reverse.ts
|
|
4
|
+
const NeutrinoGeocodeReverseInput = zod.z.object({
|
|
5
|
+
zoom: zod.z.string().describe("The zoom level to control address detail precision. Options: 'address' (most detailed, default), 'street', 'city', 'state', or 'country' (least detailed)").optional(),
|
|
6
|
+
latitude: zod.z.number().describe("The location latitude in decimal degrees format"),
|
|
7
|
+
longitude: zod.z.number().describe("The location longitude in decimal degrees format"),
|
|
8
|
+
"country-code": zod.z.string().describe("Limit results to a specific country using ISO 2-letter country code").optional(),
|
|
9
|
+
"language-code": zod.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()
|
|
10
|
+
});
|
|
11
|
+
const NeutrinoGeocodeReverse_TimezoneInfoSchema = zod.z.object({
|
|
12
|
+
id: zod.z.string().describe("IANA timezone identifier").nullable().optional(),
|
|
13
|
+
abbr: zod.z.string().describe("Timezone abbreviation").nullable().optional(),
|
|
14
|
+
date: zod.z.string().describe("Current date at the location").nullable().optional(),
|
|
15
|
+
name: zod.z.string().describe("Timezone name").nullable().optional(),
|
|
16
|
+
time: zod.z.string().describe("Current time at the location").nullable().optional(),
|
|
17
|
+
offset: zod.z.string().describe("UTC offset (e.g., '+13:00')").nullable().optional()
|
|
18
|
+
});
|
|
19
|
+
const NeutrinoGeocodeReverse_LocationProfileSchema = zod.z.object({
|
|
20
|
+
"org-name": zod.z.string().describe("Organization name if available").nullable().optional(),
|
|
21
|
+
"website-url": zod.z.string().describe("Website URL if available").nullable().optional(),
|
|
22
|
+
"phone-number": zod.z.string().describe("Phone number if available").nullable().optional(),
|
|
23
|
+
"wikidata-entity": zod.z.string().describe("Wikidata entity ID if available").nullable().optional(),
|
|
24
|
+
"wikipedia-title": zod.z.string().describe("Wikipedia article title if available").nullable().optional()
|
|
25
|
+
});
|
|
26
|
+
const NeutrinoGeocodeReverse_AddressComponentsSchema = zod.z.object({
|
|
27
|
+
route: zod.z.string().describe("Street or route name").nullable().optional(),
|
|
28
|
+
country: zod.z.string().describe("Country name").nullable().optional(),
|
|
29
|
+
locality: zod.z.string().describe("Locality or city").nullable().optional(),
|
|
30
|
+
"postal-code": zod.z.string().describe("Postal code").nullable().optional(),
|
|
31
|
+
"street-number": zod.z.string().describe("House or building number").nullable().optional(),
|
|
32
|
+
"administrative-area-level-1": zod.z.string().describe("State, region, or province").nullable().optional()
|
|
33
|
+
});
|
|
34
|
+
const NeutrinoGeocodeReverseOutput = zod.z.object({
|
|
35
|
+
city: zod.z.string().describe("The city name").nullable().optional(),
|
|
36
|
+
found: zod.z.boolean().describe("True if coordinates map to a real location, False otherwise"),
|
|
37
|
+
state: zod.z.string().describe("The state, region, or province name").nullable().optional(),
|
|
38
|
+
address: zod.z.string().describe("Full comma-separated address string").nullable().optional(),
|
|
39
|
+
country: zod.z.string().describe("The country name").nullable().optional(),
|
|
40
|
+
geohash: zod.z.string().describe("The geohash value for this location").nullable().optional(),
|
|
41
|
+
latitude: zod.z.number().describe("The location latitude").nullable().optional(),
|
|
42
|
+
timezone: NeutrinoGeocodeReverse_TimezoneInfoSchema.nullable().optional(),
|
|
43
|
+
longitude: zod.z.number().describe("The location longitude").nullable().optional(),
|
|
44
|
+
"postal-code": zod.z.string().describe("The postal/ZIP code").nullable().optional(),
|
|
45
|
+
"region-code": zod.z.string().describe("ISO 3166-2 region code").nullable().optional(),
|
|
46
|
+
"country-code": zod.z.string().describe("ISO 2-letter country code").nullable().optional(),
|
|
47
|
+
"building-type": zod.z.string().describe("Structure type if applicable: house, apartment, office, shop, attraction, medical, etc.").nullable().optional(),
|
|
48
|
+
"country-code3": zod.z.string().describe("ISO 3-letter country code").nullable().optional(),
|
|
49
|
+
"currency-code": zod.z.string().describe("ISO 4217 currency code").nullable().optional(),
|
|
50
|
+
"location-tags": zod.z.array(zod.z.unknown()).describe("Metadata tags describing the location (e.g., shop, office, cafe, bank)").nullable().optional(),
|
|
51
|
+
"location-type": zod.z.string().describe("Location precision type: address, street, city, postal-code, railway, natural, island, or administrative").nullable().optional(),
|
|
52
|
+
"continent-code": zod.z.string().describe("2-letter continent code").nullable().optional(),
|
|
53
|
+
"postal-address": zod.z.string().describe("Address formatted per local postal standards").nullable().optional(),
|
|
54
|
+
"location-profile": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),
|
|
55
|
+
"address-components": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional()
|
|
56
|
+
});
|
|
57
|
+
const neutrinoGeocodeReverse = require_action.action("NEUTRINO_GEOCODE_REVERSE", {
|
|
58
|
+
slug: "neutrino-geocode-reverse",
|
|
59
|
+
name: "Reverse Geocode",
|
|
60
|
+
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.",
|
|
61
|
+
input: NeutrinoGeocodeReverseInput,
|
|
62
|
+
output: NeutrinoGeocodeReverseOutput
|
|
63
|
+
});
|
|
64
|
+
//#endregion
|
|
65
|
+
exports.neutrinoGeocodeReverse = neutrinoGeocodeReverse;
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=geocode-reverse.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"IANA timezone identifier\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation\").nullable().optional(),\n date: z.string().describe(\"Current date at the location\").nullable().optional(),\n name: z.string().describe(\"Timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time at the location\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+13:00')\").nullable().optional(),\n});\nconst NeutrinoGeocodeReverse_LocationProfileSchema: z.ZodTypeAny = z.object({\n \"org-name\": z.string().describe(\"Organization name if available\").nullable().optional(),\n \"website-url\": z.string().describe(\"Website URL if available\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number if available\").nullable().optional(),\n \"wikidata-entity\": z.string().describe(\"Wikidata entity ID if available\").nullable().optional(),\n \"wikipedia-title\": z.string().describe(\"Wikipedia article title if available\").nullable().optional(),\n});\nconst NeutrinoGeocodeReverse_AddressComponentsSchema: z.ZodTypeAny = z.object({\n route: z.string().describe(\"Street or route name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"Locality or city\").nullable().optional(),\n \"postal-code\": z.string().describe(\"Postal code\").nullable().optional(),\n \"street-number\": z.string().describe(\"House or building number\").nullable().optional(),\n \"administrative-area-level-1\": z.string().describe(\"State, region, or province\").nullable().optional(),\n});\nexport const NeutrinoGeocodeReverseOutput: z.ZodTypeAny = 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\"),\n state: z.string().describe(\"The state, region, or province name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable().optional(),\n country: z.string().describe(\"The country name\").nullable().optional(),\n geohash: z.string().describe(\"The geohash value for this location\").nullable().optional(),\n latitude: z.number().describe(\"The location latitude\").nullable().optional(),\n timezone: NeutrinoGeocodeReverse_TimezoneInfoSchema.nullable().optional(),\n longitude: z.number().describe(\"The location longitude\").nullable().optional(),\n \"postal-code\": z.string().describe(\"The postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Structure type if applicable: house, apartment, office, shop, attraction, medical, etc.\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n \"location-tags\": z.array(z.unknown()).describe(\"Metadata tags describing the location (e.g., shop, office, cafe, bank)\").nullable().optional(),\n \"location-type\": z.string().describe(\"Location precision type: address, street, city, postal-code, railway, natural, island, or administrative\").nullable().optional(),\n \"continent-code\": z.string().describe(\"2-letter continent code\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted per local postal standards\").nullable().optional(),\n \"location-profile\": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),\n \"address-components\": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional(),\n});\n\nexport const neutrinoGeocodeReverse = action(\"NEUTRINO_GEOCODE_REVERSE\", {\n slug: \"neutrino-geocode-reverse\",\n name: \"Reverse Geocode\",\n description: \"Convert geographic coordinates (latitude/longitude) into real-world address information. Returns comprehensive location data including formatted addresses, administrative boundaries, timezone information, and location metadata. Useful for translating GPS coordinates into human-readable locations or enriching location data with regional details. The zoom parameter controls detail level: 'address' returns building-level precision, while 'city' or 'country' returns broader geographic information.\",\n input: Neutr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,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;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/geocode-reverse.d.ts
|
|
4
|
+
declare const NeutrinoGeocodeReverseInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoGeocodeReverseOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoGeocodeReverse: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoGeocodeReverse };
|
|
9
|
+
//# sourceMappingURL=geocode-reverse.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geocode-reverse.d.cts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM1C;AAAA,cAwBW,4BAAA,EAA8B,CAAA,CAAE,UAsB3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/geocode-reverse.d.ts
|
|
4
|
+
declare const NeutrinoGeocodeReverseInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoGeocodeReverseOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoGeocodeReverse: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoGeocodeReverse };
|
|
9
|
+
//# sourceMappingURL=geocode-reverse.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geocode-reverse.d.mts","names":[],"sources":["../../src/actions/geocode-reverse.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM1C;AAAA,cAwBW,4BAAA,EAA8B,CAAA,CAAE,UAsB3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/geocode-reverse.ts
|
|
4
|
+
const NeutrinoGeocodeReverseInput = z.object({
|
|
5
|
+
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(),
|
|
6
|
+
latitude: z.number().describe("The location latitude in decimal degrees format"),
|
|
7
|
+
longitude: z.number().describe("The location longitude in decimal degrees format"),
|
|
8
|
+
"country-code": z.string().describe("Limit results to a specific country using ISO 2-letter country code").optional(),
|
|
9
|
+
"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()
|
|
10
|
+
});
|
|
11
|
+
const NeutrinoGeocodeReverse_TimezoneInfoSchema = z.object({
|
|
12
|
+
id: z.string().describe("IANA timezone identifier").nullable().optional(),
|
|
13
|
+
abbr: z.string().describe("Timezone abbreviation").nullable().optional(),
|
|
14
|
+
date: z.string().describe("Current date at the location").nullable().optional(),
|
|
15
|
+
name: z.string().describe("Timezone name").nullable().optional(),
|
|
16
|
+
time: z.string().describe("Current time at the location").nullable().optional(),
|
|
17
|
+
offset: z.string().describe("UTC offset (e.g., '+13:00')").nullable().optional()
|
|
18
|
+
});
|
|
19
|
+
const NeutrinoGeocodeReverse_LocationProfileSchema = z.object({
|
|
20
|
+
"org-name": z.string().describe("Organization name if available").nullable().optional(),
|
|
21
|
+
"website-url": z.string().describe("Website URL if available").nullable().optional(),
|
|
22
|
+
"phone-number": z.string().describe("Phone number if available").nullable().optional(),
|
|
23
|
+
"wikidata-entity": z.string().describe("Wikidata entity ID if available").nullable().optional(),
|
|
24
|
+
"wikipedia-title": z.string().describe("Wikipedia article title if available").nullable().optional()
|
|
25
|
+
});
|
|
26
|
+
const NeutrinoGeocodeReverse_AddressComponentsSchema = z.object({
|
|
27
|
+
route: z.string().describe("Street or route name").nullable().optional(),
|
|
28
|
+
country: z.string().describe("Country name").nullable().optional(),
|
|
29
|
+
locality: z.string().describe("Locality or city").nullable().optional(),
|
|
30
|
+
"postal-code": z.string().describe("Postal code").nullable().optional(),
|
|
31
|
+
"street-number": z.string().describe("House or building number").nullable().optional(),
|
|
32
|
+
"administrative-area-level-1": z.string().describe("State, region, or province").nullable().optional()
|
|
33
|
+
});
|
|
34
|
+
const neutrinoGeocodeReverse = action("NEUTRINO_GEOCODE_REVERSE", {
|
|
35
|
+
slug: "neutrino-geocode-reverse",
|
|
36
|
+
name: "Reverse Geocode",
|
|
37
|
+
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.",
|
|
38
|
+
input: NeutrinoGeocodeReverseInput,
|
|
39
|
+
output: z.object({
|
|
40
|
+
city: z.string().describe("The city name").nullable().optional(),
|
|
41
|
+
found: z.boolean().describe("True if coordinates map to a real location, False otherwise"),
|
|
42
|
+
state: z.string().describe("The state, region, or province name").nullable().optional(),
|
|
43
|
+
address: z.string().describe("Full comma-separated address string").nullable().optional(),
|
|
44
|
+
country: z.string().describe("The country name").nullable().optional(),
|
|
45
|
+
geohash: z.string().describe("The geohash value for this location").nullable().optional(),
|
|
46
|
+
latitude: z.number().describe("The location latitude").nullable().optional(),
|
|
47
|
+
timezone: NeutrinoGeocodeReverse_TimezoneInfoSchema.nullable().optional(),
|
|
48
|
+
longitude: z.number().describe("The location longitude").nullable().optional(),
|
|
49
|
+
"postal-code": z.string().describe("The postal/ZIP code").nullable().optional(),
|
|
50
|
+
"region-code": z.string().describe("ISO 3166-2 region code").nullable().optional(),
|
|
51
|
+
"country-code": z.string().describe("ISO 2-letter country code").nullable().optional(),
|
|
52
|
+
"building-type": z.string().describe("Structure type if applicable: house, apartment, office, shop, attraction, medical, etc.").nullable().optional(),
|
|
53
|
+
"country-code3": z.string().describe("ISO 3-letter country code").nullable().optional(),
|
|
54
|
+
"currency-code": z.string().describe("ISO 4217 currency code").nullable().optional(),
|
|
55
|
+
"location-tags": z.array(z.unknown()).describe("Metadata tags describing the location (e.g., shop, office, cafe, bank)").nullable().optional(),
|
|
56
|
+
"location-type": z.string().describe("Location precision type: address, street, city, postal-code, railway, natural, island, or administrative").nullable().optional(),
|
|
57
|
+
"continent-code": z.string().describe("2-letter continent code").nullable().optional(),
|
|
58
|
+
"postal-address": z.string().describe("Address formatted per local postal standards").nullable().optional(),
|
|
59
|
+
"location-profile": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),
|
|
60
|
+
"address-components": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional()
|
|
61
|
+
})
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
export { neutrinoGeocodeReverse };
|
|
65
|
+
|
|
66
|
+
//# sourceMappingURL=geocode-reverse.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"IANA timezone identifier\").nullable().optional(),\n abbr: z.string().describe(\"Timezone abbreviation\").nullable().optional(),\n date: z.string().describe(\"Current date at the location\").nullable().optional(),\n name: z.string().describe(\"Timezone name\").nullable().optional(),\n time: z.string().describe(\"Current time at the location\").nullable().optional(),\n offset: z.string().describe(\"UTC offset (e.g., '+13:00')\").nullable().optional(),\n});\nconst NeutrinoGeocodeReverse_LocationProfileSchema: z.ZodTypeAny = z.object({\n \"org-name\": z.string().describe(\"Organization name if available\").nullable().optional(),\n \"website-url\": z.string().describe(\"Website URL if available\").nullable().optional(),\n \"phone-number\": z.string().describe(\"Phone number if available\").nullable().optional(),\n \"wikidata-entity\": z.string().describe(\"Wikidata entity ID if available\").nullable().optional(),\n \"wikipedia-title\": z.string().describe(\"Wikipedia article title if available\").nullable().optional(),\n});\nconst NeutrinoGeocodeReverse_AddressComponentsSchema: z.ZodTypeAny = z.object({\n route: z.string().describe(\"Street or route name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n locality: z.string().describe(\"Locality or city\").nullable().optional(),\n \"postal-code\": z.string().describe(\"Postal code\").nullable().optional(),\n \"street-number\": z.string().describe(\"House or building number\").nullable().optional(),\n \"administrative-area-level-1\": z.string().describe(\"State, region, or province\").nullable().optional(),\n});\nexport const NeutrinoGeocodeReverseOutput: z.ZodTypeAny = 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\"),\n state: z.string().describe(\"The state, region, or province name\").nullable().optional(),\n address: z.string().describe(\"Full comma-separated address string\").nullable().optional(),\n country: z.string().describe(\"The country name\").nullable().optional(),\n geohash: z.string().describe(\"The geohash value for this location\").nullable().optional(),\n latitude: z.number().describe(\"The location latitude\").nullable().optional(),\n timezone: NeutrinoGeocodeReverse_TimezoneInfoSchema.nullable().optional(),\n longitude: z.number().describe(\"The location longitude\").nullable().optional(),\n \"postal-code\": z.string().describe(\"The postal/ZIP code\").nullable().optional(),\n \"region-code\": z.string().describe(\"ISO 3166-2 region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"building-type\": z.string().describe(\"Structure type if applicable: house, apartment, office, shop, attraction, medical, etc.\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n \"location-tags\": z.array(z.unknown()).describe(\"Metadata tags describing the location (e.g., shop, office, cafe, bank)\").nullable().optional(),\n \"location-type\": z.string().describe(\"Location precision type: address, street, city, postal-code, railway, natural, island, or administrative\").nullable().optional(),\n \"continent-code\": z.string().describe(\"2-letter continent code\").nullable().optional(),\n \"postal-address\": z.string().describe(\"Address formatted per local postal standards\").nullable().optional(),\n \"location-profile\": NeutrinoGeocodeReverse_LocationProfileSchema.nullable().optional(),\n \"address-components\": NeutrinoGeocodeReverse_AddressComponentsSchema.nullable().optional(),\n});\n\nexport const neutrinoGeocodeReverse = action(\"NEUTRINO_GEOCODE_REVERSE\", {\n slug: \"neutrino-geocode-reverse\",\n name: \"Reverse Geocode\",\n description: \"Convert geographic coordinates (latitude/longitude) into real-world address information. Returns comprehensive location data including formatted addresses, administrative boundaries, timezone information, and location metadata. Useful for translating GPS coordinates into human-readable locations or enriching location data with regional details. The zoom parameter controls detail level: 'address' returns building-level precision, while 'city' or 'country' returns broader geographic information.\",\n input: NeutrinoGeocodeReverseInput,\n output: NeutrinoGeocodeReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,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,4CAA0D,EAAE,OAAO;CACvE,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,EA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CAAC,SAAS;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,iBAAiB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,oBAAoB,6CAA6C,SAAS,CAAC,CAAC,SAAS;EACrF,sBAAsB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC3F,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/hlr-lookup.ts
|
|
4
|
+
const NeutrinoHlrLookupInput = zod.z.object({
|
|
5
|
+
ip: zod.z.string().describe("Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.").optional(),
|
|
6
|
+
number: zod.z.string().describe("Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter."),
|
|
7
|
+
"country-code": zod.z.string().describe("ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.").optional()
|
|
8
|
+
}).describe("Request model for the HLR_LOOKUP action.");
|
|
9
|
+
const NeutrinoHlrLookupOutput = zod.z.object({
|
|
10
|
+
mcc: zod.z.string().describe("Mobile country code."),
|
|
11
|
+
mnc: zod.z.string().describe("Mobile network code."),
|
|
12
|
+
msc: zod.z.string().describe("Mobile Switching Center address."),
|
|
13
|
+
imsi: zod.z.string().describe("International Mobile Subscriber Identity (may be empty)."),
|
|
14
|
+
msin: zod.z.string().describe("Mobile Subscription Identification Number."),
|
|
15
|
+
country: zod.z.string().describe("Full country name."),
|
|
16
|
+
location: zod.z.string().describe("Location/region of the number."),
|
|
17
|
+
"hlr-valid": zod.z.boolean().describe("True if HLR lookup was successful and device is reachable."),
|
|
18
|
+
"is-mobile": zod.z.boolean().describe("True if the number is a mobile device."),
|
|
19
|
+
"is-ported": zod.z.boolean().describe("True if the number has been ported to a different network."),
|
|
20
|
+
"hlr-status": zod.z.string().describe("HLR lookup status (ok, absent, unknown, invalid, failed, etc.)."),
|
|
21
|
+
"is-roaming": zod.z.boolean().describe("True if the number is currently roaming."),
|
|
22
|
+
"number-type": zod.z.string().describe("Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown)."),
|
|
23
|
+
"country-code": zod.z.string().describe("2-letter ISO country code."),
|
|
24
|
+
"local-number": zod.z.string().describe("Number in local dialing format."),
|
|
25
|
+
"network-tags": zod.z.string().describe("Network tags/labels (may be empty)."),
|
|
26
|
+
"number-valid": zod.z.boolean().describe("True if this a valid phone number."),
|
|
27
|
+
"country-code3": zod.z.string().describe("3-letter ISO country code."),
|
|
28
|
+
"currency-code": zod.z.string().describe("Currency code for the number's country."),
|
|
29
|
+
"origin-network": zod.z.string().describe("Original carrier/network name before any porting."),
|
|
30
|
+
"ported-network": zod.z.string().describe("New carrier name if number was ported (empty if not ported)."),
|
|
31
|
+
"current-network": zod.z.string().describe("Current carrier/network name the number is registered on."),
|
|
32
|
+
"international-number": zod.z.string().describe("Number in full international format."),
|
|
33
|
+
"roaming-country-code": zod.z.string().describe("Country code where device is roaming (empty if not roaming)."),
|
|
34
|
+
"international-calling-code": zod.z.string().describe("International calling code for the number's country.")
|
|
35
|
+
}).describe("Response model for the HLR_LOOKUP action.");
|
|
36
|
+
const neutrinoHlrLookup = require_action.action("NEUTRINO_HLR_LOOKUP", {
|
|
37
|
+
slug: "neutrino-hlr-lookup",
|
|
38
|
+
name: "HLR Lookup",
|
|
39
|
+
description: "Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.",
|
|
40
|
+
input: NeutrinoHlrLookupInput,
|
|
41
|
+
output: NeutrinoHlrLookupOutput
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.neutrinoHlrLookup = neutrinoHlrLookup;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=hlr-lookup.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hlr-lookup.cjs","names":["z","action"],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput: z.ZodTypeAny = z.object({\n mcc: z.string().describe(\"Mobile country code.\"),\n mnc: z.string().describe(\"Mobile network code.\"),\n msc: z.string().describe(\"Mobile Switching Center address.\"),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\"),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\"),\n country: z.string().describe(\"Full country name.\"),\n location: z.string().describe(\"Location/region of the number.\"),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\"),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\"),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\"),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\"),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\"),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\"),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\"),\n \"local-number\": z.string().describe(\"Number in local dialing format.\"),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\"),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\"),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\"),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\"),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\"),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\"),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\"),\n \"international-number\": z.string().describe(\"Number in full international format.\"),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\"),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\"),\n}).describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;CACjM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;AAC5P,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC9D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC9F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CAC1E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACnG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACjH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAChE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACrE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACzE,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;CACzE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACjE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACpG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAClG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AAC1G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/hlr-lookup.d.ts
|
|
4
|
+
declare const NeutrinoHlrLookupInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoHlrLookupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoHlrLookup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoHlrLookup };
|
|
9
|
+
//# sourceMappingURL=hlr-lookup.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hlr-lookup.d.cts","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIgB;AAAA,cAC1C,uBAAA,EAAyB,CAAA,CAAE,UA0BgB;AAAA,cAE3C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/hlr-lookup.d.ts
|
|
4
|
+
declare const NeutrinoHlrLookupInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoHlrLookupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoHlrLookup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoHlrLookup };
|
|
9
|
+
//# sourceMappingURL=hlr-lookup.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hlr-lookup.d.mts","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIgB;AAAA,cAC1C,uBAAA,EAAyB,CAAA,CAAE,UA0BgB;AAAA,cAE3C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const neutrinoHlrLookup = action("NEUTRINO_HLR_LOOKUP", {
|
|
4
|
+
slug: "neutrino-hlr-lookup",
|
|
5
|
+
name: "HLR Lookup",
|
|
6
|
+
description: "Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
ip: z.string().describe("Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.").optional(),
|
|
9
|
+
number: z.string().describe("Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter."),
|
|
10
|
+
"country-code": z.string().describe("ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.").optional()
|
|
11
|
+
}).describe("Request model for the HLR_LOOKUP action."),
|
|
12
|
+
output: z.object({
|
|
13
|
+
mcc: z.string().describe("Mobile country code."),
|
|
14
|
+
mnc: z.string().describe("Mobile network code."),
|
|
15
|
+
msc: z.string().describe("Mobile Switching Center address."),
|
|
16
|
+
imsi: z.string().describe("International Mobile Subscriber Identity (may be empty)."),
|
|
17
|
+
msin: z.string().describe("Mobile Subscription Identification Number."),
|
|
18
|
+
country: z.string().describe("Full country name."),
|
|
19
|
+
location: z.string().describe("Location/region of the number."),
|
|
20
|
+
"hlr-valid": z.boolean().describe("True if HLR lookup was successful and device is reachable."),
|
|
21
|
+
"is-mobile": z.boolean().describe("True if the number is a mobile device."),
|
|
22
|
+
"is-ported": z.boolean().describe("True if the number has been ported to a different network."),
|
|
23
|
+
"hlr-status": z.string().describe("HLR lookup status (ok, absent, unknown, invalid, failed, etc.)."),
|
|
24
|
+
"is-roaming": z.boolean().describe("True if the number is currently roaming."),
|
|
25
|
+
"number-type": z.string().describe("Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown)."),
|
|
26
|
+
"country-code": z.string().describe("2-letter ISO country code."),
|
|
27
|
+
"local-number": z.string().describe("Number in local dialing format."),
|
|
28
|
+
"network-tags": z.string().describe("Network tags/labels (may be empty)."),
|
|
29
|
+
"number-valid": z.boolean().describe("True if this a valid phone number."),
|
|
30
|
+
"country-code3": z.string().describe("3-letter ISO country code."),
|
|
31
|
+
"currency-code": z.string().describe("Currency code for the number's country."),
|
|
32
|
+
"origin-network": z.string().describe("Original carrier/network name before any porting."),
|
|
33
|
+
"ported-network": z.string().describe("New carrier name if number was ported (empty if not ported)."),
|
|
34
|
+
"current-network": z.string().describe("Current carrier/network name the number is registered on."),
|
|
35
|
+
"international-number": z.string().describe("Number in full international format."),
|
|
36
|
+
"roaming-country-code": z.string().describe("Country code where device is roaming (empty if not roaming)."),
|
|
37
|
+
"international-calling-code": z.string().describe("International calling code for the number's country.")
|
|
38
|
+
}).describe("Response model for the HLR_LOOKUP action.")
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { neutrinoHlrLookup };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=hlr-lookup.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hlr-lookup.mjs","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput: z.ZodTypeAny = z.object({\n mcc: z.string().describe(\"Mobile country code.\"),\n mnc: z.string().describe(\"Mobile network code.\"),\n msc: z.string().describe(\"Mobile Switching Center address.\"),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\"),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\"),\n country: z.string().describe(\"Full country name.\"),\n location: z.string().describe(\"Location/region of the number.\"),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\"),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\"),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\"),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\"),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\"),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\"),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\"),\n \"local-number\": z.string().describe(\"Number in local dialing format.\"),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\"),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\"),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\"),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\"),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\"),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\"),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\"),\n \"international-number\": z.string().describe(\"Number in full international format.\"),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\"),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\"),\n}).describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;AAqCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;EACjM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;CAC5P,CAAC,CAAC,CAAC,SAAS,0CAiCH;CACP,QAjCmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC9D,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC9F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;EAC1E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EACnG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACzE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;EACzE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACjE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACpG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAClG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAClF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC1G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC1G,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/host-reputation.ts
|
|
4
|
+
const NeutrinoHostReputationInput = zod.z.object({
|
|
5
|
+
host: zod.z.string().describe("The IP address, domain name, or URL to check."),
|
|
6
|
+
zones: zod.z.string().describe("Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.").optional(),
|
|
7
|
+
"list-rating": zod.z.number().int().describe("Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.").optional()
|
|
8
|
+
}).describe("Request model for DNSBL-based host reputation check.");
|
|
9
|
+
const NeutrinoHostReputation_HostReputationListItemSchema = zod.z.object({
|
|
10
|
+
"is-listed": zod.z.boolean().describe("If the host is listed in this zone."),
|
|
11
|
+
"list-host": zod.z.string().describe("The DNSBL zone host."),
|
|
12
|
+
"list-name": zod.z.string().describe("The DNSBL zone name."),
|
|
13
|
+
"txt-record": zod.z.string().describe("Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available."),
|
|
14
|
+
"list-rating": zod.z.number().int().describe("Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability)."),
|
|
15
|
+
"return-code": zod.z.string().describe("DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed."),
|
|
16
|
+
"response-time": zod.z.number().int().describe("Response time in milliseconds.")
|
|
17
|
+
}).describe("A single DNSBL result entry.");
|
|
18
|
+
const NeutrinoHostReputationOutput = zod.z.object({
|
|
19
|
+
host: zod.z.string().describe("The host that was checked."),
|
|
20
|
+
lists: zod.z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe("Detailed results from each DNSBL checked, including whether the host is listed and response times."),
|
|
21
|
+
"is-listed": zod.z.boolean().describe("True if the host is listed in any DNSBL."),
|
|
22
|
+
"list-count": zod.z.number().int().describe("Total number of DNSBLs the host is listed in.")
|
|
23
|
+
}).describe("Response model for DNSBL-based host reputation check.");
|
|
24
|
+
const neutrinoHostReputation = require_action.action("NEUTRINO_HOST_REPUTATION", {
|
|
25
|
+
slug: "neutrino-host-reputation",
|
|
26
|
+
name: "Host Reputation",
|
|
27
|
+
description: "Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.",
|
|
28
|
+
input: NeutrinoHostReputationInput,
|
|
29
|
+
output: NeutrinoHostReputationOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.neutrinoHostReputation = neutrinoHostReputation;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=host-reputation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-reputation.cjs","names":["z","action"],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHostReputationInput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema: z.ZodTypeAny = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\"),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\"),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\"),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\"),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\"),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\"),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\"),\n}).describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"The host that was checked.\"),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\"),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\"),\n}).describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACrJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF;CAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACpH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AAC7E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAOA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oGAAoG;CACjL,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AACzF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/host-reputation.d.ts
|
|
4
|
+
declare const NeutrinoHostReputationInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoHostReputationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoHostReputation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoHostReputation };
|
|
9
|
+
//# sourceMappingURL=host-reputation.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-reputation.d.cts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIuB;AAAA,cAUtD,4BAAA,EAA8B,CAAA,CAAE,UAKuB;AAAA,cAEvD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/host-reputation.d.ts
|
|
4
|
+
declare const NeutrinoHostReputationInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoHostReputationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoHostReputation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoHostReputation };
|
|
9
|
+
//# sourceMappingURL=host-reputation.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-reputation.d.mts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIuB;AAAA,cAUtD,4BAAA,EAA8B,CAAA,CAAE,UAKuB;AAAA,cAEvD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/host-reputation.ts
|
|
4
|
+
const NeutrinoHostReputationInput = z.object({
|
|
5
|
+
host: z.string().describe("The IP address, domain name, or URL to check."),
|
|
6
|
+
zones: z.string().describe("Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.").optional(),
|
|
7
|
+
"list-rating": z.number().int().describe("Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.").optional()
|
|
8
|
+
}).describe("Request model for DNSBL-based host reputation check.");
|
|
9
|
+
const NeutrinoHostReputation_HostReputationListItemSchema = z.object({
|
|
10
|
+
"is-listed": z.boolean().describe("If the host is listed in this zone."),
|
|
11
|
+
"list-host": z.string().describe("The DNSBL zone host."),
|
|
12
|
+
"list-name": z.string().describe("The DNSBL zone name."),
|
|
13
|
+
"txt-record": z.string().describe("Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available."),
|
|
14
|
+
"list-rating": z.number().int().describe("Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability)."),
|
|
15
|
+
"return-code": z.string().describe("DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed."),
|
|
16
|
+
"response-time": z.number().int().describe("Response time in milliseconds.")
|
|
17
|
+
}).describe("A single DNSBL result entry.");
|
|
18
|
+
const neutrinoHostReputation = action("NEUTRINO_HOST_REPUTATION", {
|
|
19
|
+
slug: "neutrino-host-reputation",
|
|
20
|
+
name: "Host Reputation",
|
|
21
|
+
description: "Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.",
|
|
22
|
+
input: NeutrinoHostReputationInput,
|
|
23
|
+
output: z.object({
|
|
24
|
+
host: z.string().describe("The host that was checked."),
|
|
25
|
+
lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe("Detailed results from each DNSBL checked, including whether the host is listed and response times."),
|
|
26
|
+
"is-listed": z.boolean().describe("True if the host is listed in any DNSBL."),
|
|
27
|
+
"list-count": z.number().int().describe("Total number of DNSBLs the host is listed in.")
|
|
28
|
+
}).describe("Response model for DNSBL-based host reputation check.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { neutrinoHostReputation };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=host-reputation.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-reputation.mjs","names":[],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHostReputationInput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema: z.ZodTypeAny = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\"),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\"),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\"),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\"),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\"),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\"),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\"),\n}).describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"The host that was checked.\"),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\"),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\"),\n}).describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,sDAAoE,EAAE,OAAO;CACjF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACrJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF;CAChI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACpH,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AAC7E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAQ1C,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oGAAoG;EACjL,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACzF,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/html-clean.ts
|
|
4
|
+
const NeutrinoHtmlCleanInput = zod.z.object({
|
|
5
|
+
content: zod.z.string().describe("The HTML content to clean. This can be a URL to load HTML from or an HTML content string."),
|
|
6
|
+
"output-type": zod.z.enum([
|
|
7
|
+
"plain-text",
|
|
8
|
+
"simple-text",
|
|
9
|
+
"basic-html",
|
|
10
|
+
"basic-html-with-images",
|
|
11
|
+
"advanced-html"
|
|
12
|
+
]).default("basic-html").describe("The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).").optional()
|
|
13
|
+
}).describe("Parameters for HTMLClean action.");
|
|
14
|
+
const NeutrinoHtmlCleanOutput = zod.z.object({ "clean-html": zod.z.string().describe("The cleaned and sanitized HTML content.") }).describe("Response from HTMLClean action.");
|
|
15
|
+
const neutrinoHtmlClean = require_action.action("NEUTRINO_HTML_CLEAN", {
|
|
16
|
+
slug: "neutrino-html-clean",
|
|
17
|
+
name: "HTML Clean",
|
|
18
|
+
description: "Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.",
|
|
19
|
+
input: NeutrinoHtmlCleanInput,
|
|
20
|
+
output: NeutrinoHtmlCleanOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.neutrinoHtmlClean = neutrinoHtmlClean;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=html-clean.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-clean.cjs","names":["z","action"],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlCleanInput: z.ZodTypeAny = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput: z.ZodTypeAny = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\"),\n}).describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACxH,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAe;EAAc;EAA0B;CAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;AAC/b,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EAC7E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAE7C,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/html-clean.d.ts
|
|
4
|
+
declare const NeutrinoHtmlCleanInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoHtmlCleanOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoHtmlClean: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoHtmlClean };
|
|
9
|
+
//# sourceMappingURL=html-clean.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-clean.d.cts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGQ;AAAA,cAClC,uBAAA,EAAyB,CAAA,CAAE,UAEM;AAAA,cAEjC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/html-clean.d.ts
|
|
4
|
+
declare const NeutrinoHtmlCleanInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoHtmlCleanOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoHtmlClean: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoHtmlClean };
|
|
9
|
+
//# sourceMappingURL=html-clean.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-clean.d.mts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGQ;AAAA,cAClC,uBAAA,EAAyB,CAAA,CAAE,UAEM;AAAA,cAEjC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|