@keystrokehq/neutrino 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-watermark-to-image.cjs +5 -5
- package/dist/actions/add-watermark-to-image.cjs.map +1 -1
- package/dist/actions/add-watermark-to-image.d.cts +44 -3
- package/dist/actions/add-watermark-to-image.d.cts.map +1 -1
- package/dist/actions/add-watermark-to-image.d.mts +44 -3
- package/dist/actions/add-watermark-to-image.d.mts.map +1 -1
- package/dist/actions/add-watermark-to-image.mjs +5 -5
- package/dist/actions/add-watermark-to-image.mjs.map +1 -1
- package/dist/actions/bad-word-filter.cjs +4 -4
- package/dist/actions/bad-word-filter.cjs.map +1 -1
- package/dist/actions/bad-word-filter.d.cts +23 -3
- package/dist/actions/bad-word-filter.d.cts.map +1 -1
- package/dist/actions/bad-word-filter.d.mts +23 -3
- package/dist/actions/bad-word-filter.d.mts.map +1 -1
- package/dist/actions/bad-word-filter.mjs +4 -4
- package/dist/actions/bad-word-filter.mjs.map +1 -1
- package/dist/actions/bin-lookup.cjs +23 -23
- package/dist/actions/bin-lookup.cjs.map +1 -1
- package/dist/actions/bin-lookup.d.cts +38 -3
- package/dist/actions/bin-lookup.d.cts.map +1 -1
- package/dist/actions/bin-lookup.d.mts +38 -3
- package/dist/actions/bin-lookup.d.mts.map +1 -1
- package/dist/actions/bin-lookup.mjs +23 -23
- package/dist/actions/bin-lookup.mjs.map +1 -1
- package/dist/actions/check-ip-blocklist.cjs +20 -20
- package/dist/actions/check-ip-blocklist.cjs.map +1 -1
- package/dist/actions/check-ip-blocklist.d.cts +32 -3
- package/dist/actions/check-ip-blocklist.d.cts.map +1 -1
- package/dist/actions/check-ip-blocklist.d.mts +32 -3
- package/dist/actions/check-ip-blocklist.d.mts.map +1 -1
- package/dist/actions/check-ip-blocklist.mjs +20 -20
- package/dist/actions/check-ip-blocklist.mjs.map +1 -1
- package/dist/actions/convert.cjs +11 -11
- package/dist/actions/convert.cjs.map +1 -1
- package/dist/actions/convert.d.cts +25 -3
- package/dist/actions/convert.d.cts.map +1 -1
- package/dist/actions/convert.d.mts +25 -3
- package/dist/actions/convert.d.mts.map +1 -1
- package/dist/actions/convert.mjs +11 -11
- package/dist/actions/convert.mjs.map +1 -1
- package/dist/actions/email-validate.cjs +11 -11
- package/dist/actions/email-validate.cjs.map +1 -1
- package/dist/actions/email-validate.d.cts +22 -3
- package/dist/actions/email-validate.d.cts.map +1 -1
- package/dist/actions/email-validate.d.mts +22 -3
- package/dist/actions/email-validate.d.mts.map +1 -1
- package/dist/actions/email-validate.mjs +11 -11
- package/dist/actions/email-validate.mjs.map +1 -1
- package/dist/actions/email-verify.cjs +17 -17
- package/dist/actions/email-verify.cjs.map +1 -1
- package/dist/actions/email-verify.d.cts +29 -3
- package/dist/actions/email-verify.d.cts.map +1 -1
- package/dist/actions/email-verify.d.mts +29 -3
- package/dist/actions/email-verify.d.mts.map +1 -1
- package/dist/actions/email-verify.mjs +17 -17
- package/dist/actions/email-verify.mjs.map +1 -1
- package/dist/actions/geocode-address.cjs +5 -5
- package/dist/actions/geocode-address.cjs.map +1 -1
- package/dist/actions/geocode-address.d.cts +39 -3
- package/dist/actions/geocode-address.d.cts.map +1 -1
- package/dist/actions/geocode-address.d.mts +39 -3
- package/dist/actions/geocode-address.d.mts.map +1 -1
- package/dist/actions/geocode-address.mjs +5 -5
- package/dist/actions/geocode-address.mjs.map +1 -1
- package/dist/actions/geocode-reverse.cjs +5 -5
- package/dist/actions/geocode-reverse.cjs.map +1 -1
- package/dist/actions/geocode-reverse.d.cts +57 -3
- package/dist/actions/geocode-reverse.d.cts.map +1 -1
- package/dist/actions/geocode-reverse.d.mts +57 -3
- package/dist/actions/geocode-reverse.d.mts.map +1 -1
- package/dist/actions/geocode-reverse.mjs +5 -5
- package/dist/actions/geocode-reverse.mjs.map +1 -1
- package/dist/actions/hlr-lookup.cjs +26 -26
- package/dist/actions/hlr-lookup.cjs.map +1 -1
- package/dist/actions/hlr-lookup.d.cts +37 -3
- package/dist/actions/hlr-lookup.d.cts.map +1 -1
- package/dist/actions/hlr-lookup.d.mts +37 -3
- package/dist/actions/hlr-lookup.d.mts.map +1 -1
- package/dist/actions/hlr-lookup.mjs +26 -26
- package/dist/actions/hlr-lookup.mjs.map +1 -1
- package/dist/actions/host-reputation.cjs +12 -12
- package/dist/actions/host-reputation.cjs.map +1 -1
- package/dist/actions/host-reputation.d.cts +24 -3
- package/dist/actions/host-reputation.d.cts.map +1 -1
- package/dist/actions/host-reputation.d.mts +24 -3
- package/dist/actions/host-reputation.d.mts.map +1 -1
- package/dist/actions/host-reputation.mjs +12 -12
- package/dist/actions/host-reputation.mjs.map +1 -1
- package/dist/actions/html-clean.cjs +1 -1
- package/dist/actions/html-clean.cjs.map +1 -1
- package/dist/actions/html-clean.d.cts +17 -3
- package/dist/actions/html-clean.d.cts.map +1 -1
- package/dist/actions/html-clean.d.mts +17 -3
- package/dist/actions/html-clean.d.mts.map +1 -1
- package/dist/actions/html-clean.mjs +1 -1
- package/dist/actions/html-clean.mjs.map +1 -1
- package/dist/actions/html-render.cjs +3 -3
- package/dist/actions/html-render.cjs.map +1 -1
- package/dist/actions/html-render.d.cts +62 -3
- package/dist/actions/html-render.d.cts.map +1 -1
- package/dist/actions/html-render.d.mts +62 -3
- package/dist/actions/html-render.d.mts.map +1 -1
- package/dist/actions/html-render.mjs +3 -3
- package/dist/actions/html-render.mjs.map +1 -1
- package/dist/actions/image-resize.cjs +5 -5
- package/dist/actions/image-resize.cjs.map +1 -1
- package/dist/actions/image-resize.d.cts +32 -3
- package/dist/actions/image-resize.d.cts.map +1 -1
- package/dist/actions/image-resize.d.mts +32 -3
- package/dist/actions/image-resize.d.mts.map +1 -1
- package/dist/actions/image-resize.mjs +5 -5
- package/dist/actions/image-resize.mjs.map +1 -1
- package/dist/actions/ip-info.cjs +2 -2
- package/dist/actions/ip-info.cjs.map +1 -1
- package/dist/actions/ip-info.d.cts +36 -3
- package/dist/actions/ip-info.d.cts.map +1 -1
- package/dist/actions/ip-info.d.mts +36 -3
- package/dist/actions/ip-info.d.mts.map +1 -1
- package/dist/actions/ip-info.mjs +2 -2
- package/dist/actions/ip-info.mjs.map +1 -1
- package/dist/actions/ip-probe.cjs +3 -3
- package/dist/actions/ip-probe.cjs.map +1 -1
- package/dist/actions/ip-probe.d.cts +47 -3
- package/dist/actions/ip-probe.d.cts.map +1 -1
- package/dist/actions/ip-probe.d.mts +47 -3
- package/dist/actions/ip-probe.d.mts.map +1 -1
- package/dist/actions/ip-probe.mjs +3 -3
- package/dist/actions/ip-probe.mjs.map +1 -1
- package/dist/actions/lookup-domain.cjs +27 -27
- package/dist/actions/lookup-domain.cjs.map +1 -1
- package/dist/actions/lookup-domain.d.cts +38 -3
- package/dist/actions/lookup-domain.d.cts.map +1 -1
- package/dist/actions/lookup-domain.d.mts +38 -3
- package/dist/actions/lookup-domain.d.mts.map +1 -1
- package/dist/actions/lookup-domain.mjs +27 -27
- package/dist/actions/lookup-domain.mjs.map +1 -1
- package/dist/actions/phone-validate.cjs +13 -13
- package/dist/actions/phone-validate.cjs.map +1 -1
- package/dist/actions/phone-validate.d.cts +24 -3
- package/dist/actions/phone-validate.d.cts.map +1 -1
- package/dist/actions/phone-validate.d.mts +24 -3
- package/dist/actions/phone-validate.d.mts.map +1 -1
- package/dist/actions/phone-validate.mjs +13 -13
- package/dist/actions/phone-validate.mjs.map +1 -1
- package/dist/actions/qr-code.cjs +1 -1
- package/dist/actions/qr-code.cjs.map +1 -1
- package/dist/actions/qr-code.d.cts +22 -3
- package/dist/actions/qr-code.d.cts.map +1 -1
- package/dist/actions/qr-code.d.mts +22 -3
- package/dist/actions/qr-code.d.mts.map +1 -1
- package/dist/actions/qr-code.mjs +1 -1
- package/dist/actions/qr-code.mjs.map +1 -1
- package/dist/actions/run-browser-bot.cjs +7 -7
- package/dist/actions/run-browser-bot.cjs.map +1 -1
- package/dist/actions/run-browser-bot.d.cts +60 -3
- package/dist/actions/run-browser-bot.d.cts.map +1 -1
- package/dist/actions/run-browser-bot.d.mts +60 -3
- package/dist/actions/run-browser-bot.d.mts.map +1 -1
- package/dist/actions/run-browser-bot.mjs +7 -7
- package/dist/actions/run-browser-bot.mjs.map +1 -1
- package/dist/actions/sms-verify.cjs +4 -4
- package/dist/actions/sms-verify.cjs.map +1 -1
- package/dist/actions/sms-verify.d.cts +25 -3
- package/dist/actions/sms-verify.d.cts.map +1 -1
- package/dist/actions/sms-verify.d.mts +25 -3
- package/dist/actions/sms-verify.d.mts.map +1 -1
- package/dist/actions/sms-verify.mjs +4 -4
- package/dist/actions/sms-verify.mjs.map +1 -1
- package/dist/actions/ua-lookup.cjs +2 -2
- package/dist/actions/ua-lookup.cjs.map +1 -1
- package/dist/actions/ua-lookup.d.cts +37 -3
- package/dist/actions/ua-lookup.d.cts.map +1 -1
- package/dist/actions/ua-lookup.d.mts +37 -3
- package/dist/actions/ua-lookup.d.mts.map +1 -1
- package/dist/actions/ua-lookup.mjs +2 -2
- package/dist/actions/ua-lookup.mjs.map +1 -1
- package/dist/actions/url-info.cjs +17 -17
- package/dist/actions/url-info.cjs.map +1 -1
- package/dist/actions/url-info.d.cts +37 -3
- package/dist/actions/url-info.d.cts.map +1 -1
- package/dist/actions/url-info.d.mts +37 -3
- package/dist/actions/url-info.d.mts.map +1 -1
- package/dist/actions/url-info.mjs +17 -17
- package/dist/actions/url-info.mjs.map +1 -1
- package/dist/actions/verify-security-code.cjs +1 -1
- package/dist/actions/verify-security-code.cjs.map +1 -1
- package/dist/actions/verify-security-code.d.cts +11 -3
- package/dist/actions/verify-security-code.d.cts.map +1 -1
- package/dist/actions/verify-security-code.d.mts +11 -3
- package/dist/actions/verify-security-code.d.mts.map +1 -1
- package/dist/actions/verify-security-code.mjs +1 -1
- package/dist/actions/verify-security-code.mjs.map +1 -1
- package/dist/catalog.cjs +14 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +13 -0
- package/dist/catalog.d.mts +13 -0
- package/dist/catalog.mjs +14 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ip-probe.d.ts
|
|
4
|
-
declare const NeutrinoIpProbeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NeutrinoIpProbeInput: z.ZodObject<{
|
|
5
|
+
ip: z.ZodString;
|
|
6
|
+
"user-agent": z.ZodOptional<z.ZodString>;
|
|
7
|
+
"forward-lookup": z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
"reverse-lookup": z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const NeutrinoIpProbeOutput: z.ZodObject<{
|
|
11
|
+
ip: z.ZodNullable<z.ZodString>;
|
|
12
|
+
asn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
"is-v6": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
"as-age": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
"is-isp": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
"is-tor": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
"is-vpn": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
"as-cidr": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
hostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
"is-bogon": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
+
"is-proxy": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
+
"as-domains": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
+
"is-hosting": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
"vpn-domain": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
"host-domain": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
"region-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
"country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
"is-v4-mapped": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
|
+
"country-code3": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
"currency-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
"provider-type": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
"as-description": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
"continent-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
"as-country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
"is-icloud-relay": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
|
+
"provider-domain": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
"as-country-code3": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
"provider-website": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
"provider-description": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
|
+
declare const neutrinoIpProbe: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
|
+
ip: string;
|
|
47
|
+
"user-agent"?: string | undefined;
|
|
48
|
+
"forward-lookup"?: boolean | undefined;
|
|
49
|
+
"reverse-lookup"?: boolean | undefined;
|
|
50
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { neutrinoIpProbe };
|
|
9
53
|
//# sourceMappingURL=ip-probe.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-probe.d.cts","names":[],"sources":["../../src/actions/ip-probe.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"ip-probe.d.cts","names":[],"sources":["../../src/actions/ip-probe.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ip-probe.d.ts
|
|
4
|
-
declare const NeutrinoIpProbeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NeutrinoIpProbeInput: z.ZodObject<{
|
|
5
|
+
ip: z.ZodString;
|
|
6
|
+
"user-agent": z.ZodOptional<z.ZodString>;
|
|
7
|
+
"forward-lookup": z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
"reverse-lookup": z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const NeutrinoIpProbeOutput: z.ZodObject<{
|
|
11
|
+
ip: z.ZodNullable<z.ZodString>;
|
|
12
|
+
asn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
"is-v6": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
"as-age": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
"is-isp": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
"is-tor": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
"is-vpn": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
"as-cidr": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
hostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
"is-bogon": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
+
"is-proxy": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
+
"as-domains": z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
+
"is-hosting": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
"vpn-domain": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
"host-domain": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
"region-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
"country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
"is-v4-mapped": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
|
+
"country-code3": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
"currency-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
"provider-type": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
"as-description": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
"continent-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
"as-country-code": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
"is-icloud-relay": z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
|
+
"provider-domain": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
"as-country-code3": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
"provider-website": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
"provider-description": z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
|
+
declare const neutrinoIpProbe: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
|
+
ip: string;
|
|
47
|
+
"user-agent"?: string | undefined;
|
|
48
|
+
"forward-lookup"?: boolean | undefined;
|
|
49
|
+
"reverse-lookup"?: boolean | undefined;
|
|
50
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { neutrinoIpProbe };
|
|
9
53
|
//# sourceMappingURL=ip-probe.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-probe.d.mts","names":[],"sources":["../../src/actions/ip-probe.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"ip-probe.d.mts","names":[],"sources":["../../src/actions/ip-probe.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -11,11 +11,11 @@ const neutrinoIpProbe = action("NEUTRINO_IP_PROBE", {
|
|
|
11
11
|
"reverse-lookup": z.boolean().default(false).describe("Perform a reverse DNS lookup to get hostname").optional()
|
|
12
12
|
}).describe("Request model for IP Probe."),
|
|
13
13
|
output: z.object({
|
|
14
|
-
ip: z.string().describe("The analyzed IP address"),
|
|
14
|
+
ip: z.string().describe("The analyzed IP address").nullable(),
|
|
15
15
|
asn: z.string().describe("Autonomous System Number").nullable().optional(),
|
|
16
16
|
city: z.string().describe("City name").nullable().optional(),
|
|
17
17
|
"is-v6": z.boolean().describe("True if IPv6 address").nullable().optional(),
|
|
18
|
-
valid: z.boolean().describe("True if the IP address is valid"),
|
|
18
|
+
valid: z.boolean().describe("True if the IP address is valid").nullable(),
|
|
19
19
|
"as-age": z.number().int().describe("Age of the AS in years").nullable().optional(),
|
|
20
20
|
"is-isp": z.boolean().describe("True if the IP is from an ISP").nullable().optional(),
|
|
21
21
|
"is-tor": z.boolean().describe("True if the IP is part of the TOR network").nullable().optional(),
|
|
@@ -44,7 +44,7 @@ const neutrinoIpProbe = action("NEUTRINO_IP_PROBE", {
|
|
|
44
44
|
"as-country-code3": z.string().describe("AS 3-letter country code").nullable().optional(),
|
|
45
45
|
"provider-website": z.string().describe("Provider's website URL").nullable().optional(),
|
|
46
46
|
"provider-description": z.string().describe("Description of the provider").nullable().optional()
|
|
47
|
-
}).describe("Response model for IP Probe.")
|
|
47
|
+
}).passthrough().describe("Response model for IP Probe.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { neutrinoIpProbe };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-probe.mjs","names":[],"sources":["../../src/actions/ip-probe.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoIpProbeInput
|
|
1
|
+
{"version":3,"file":"ip-probe.mjs","names":[],"sources":["../../src/actions/ip-probe.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoIpProbeInput = z.object({\n ip: z.string().describe(\"The IPv4 or IPv6 address to analyze\"),\n \"user-agent\": z.string().describe(\"User-Agent string for device and browser detection\").optional(),\n \"forward-lookup\": z.boolean().default(false).describe(\"For domains, perform a DNS A record lookup\").optional(),\n \"reverse-lookup\": z.boolean().default(false).describe(\"Perform a reverse DNS lookup to get hostname\").optional(),\n}).describe(\"Request model for IP Probe.\");\nexport const NeutrinoIpProbeOutput = z.object({\n ip: z.string().describe(\"The analyzed IP address\").nullable(),\n asn: z.string().describe(\"Autonomous System Number\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n \"is-v6\": z.boolean().describe(\"True if IPv6 address\").nullable().optional(),\n valid: z.boolean().describe(\"True if the IP address is valid\").nullable(),\n \"as-age\": z.number().int().describe(\"Age of the AS in years\").nullable().optional(),\n \"is-isp\": z.boolean().describe(\"True if the IP is from an ISP\").nullable().optional(),\n \"is-tor\": z.boolean().describe(\"True if the IP is part of the TOR network\").nullable().optional(),\n \"is-vpn\": z.boolean().describe(\"True if a VPN service is detected\").nullable().optional(),\n region: z.string().describe(\"Region/state/province name\").nullable().optional(),\n \"as-cidr\": z.string().describe(\"AS CIDR range\").nullable().optional(),\n country: z.string().describe(\"Full country name\").nullable().optional(),\n hostname: z.string().describe(\"Hostname via reverse DNS (if lookup enabled)\").nullable().optional(),\n \"is-bogon\": z.boolean().describe(\"True if bogon/reserved IP\").nullable().optional(),\n \"is-proxy\": z.boolean().describe(\"True if a proxy is detected\").nullable().optional(),\n \"as-domains\": z.array(z.string()).describe(\"List of domains associated with the AS\").nullable().optional(),\n \"is-hosting\": z.boolean().describe(\"True if the IP is from a hosting provider\").nullable().optional(),\n \"vpn-domain\": z.string().describe(\"VPN domain if detected\").nullable().optional(),\n \"host-domain\": z.string().describe(\"Host domain name\").nullable().optional(),\n \"region-code\": z.string().describe(\"Region code\").nullable().optional(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code\").nullable().optional(),\n \"is-v4-mapped\": z.boolean().describe(\"True if IPv4-mapped IPv6 address\").nullable().optional(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code\").nullable().optional(),\n \"currency-code\": z.string().describe(\"Currency code\").nullable().optional(),\n \"provider-type\": z.string().describe(\"Type of internet provider (e.g., hosting, ISP, VPN)\").nullable().optional(),\n \"as-description\": z.string().describe(\"AS description\").nullable().optional(),\n \"continent-code\": z.string().describe(\"Continent code\").nullable().optional(),\n \"as-country-code\": z.string().describe(\"AS country code\").nullable().optional(),\n \"is-icloud-relay\": z.boolean().describe(\"True if Apple iCloud Private Relay is detected\").nullable().optional(),\n \"provider-domain\": z.string().describe(\"Domain of the provider\").nullable().optional(),\n \"as-country-code3\": z.string().describe(\"AS 3-letter country code\").nullable().optional(),\n \"provider-website\": z.string().describe(\"Provider's website URL\").nullable().optional(),\n \"provider-description\": z.string().describe(\"Description of the provider\").nullable().optional(),\n}).passthrough().describe(\"Response model for IP Probe.\");\n\nexport const neutrinoIpProbe = action(\"NEUTRINO_IP_PROBE\", {\n slug: \"neutrino-ip-probe\",\n name: \"IP Probe\",\n description: \"Analyzes an IPv4 or IPv6 address to extract detailed network intelligence including geolocation, ISP/hosting provider information, ASN details, and security flags (VPN, proxy, TOR detection). Performs live network scanning and service probes. Use when you need comprehensive IP address analysis beyond basic geolocation.\",\n input: NeutrinoIpProbeInput,\n output: NeutrinoIpProbeOutput,\n});\n"],"mappings":";;AA8CA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9CkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;E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AO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAOhB;AACV,CAAC"}
|
|
@@ -6,36 +6,36 @@ const NeutrinoLookupDomainInput = zod.z.object({
|
|
|
6
6
|
live: zod.z.boolean().default(true).describe("For domains that we have never seen before then perform various live checks and realtime reconnaissance. NOTE: this option may add additional non-deterministic delay to the request, if you require consistently fast API response times or just want to check our domain blocklists then you can disable this option").optional()
|
|
7
7
|
}).describe("Request model for Domain Lookup action.");
|
|
8
8
|
const NeutrinoLookupDomain_BlocklistSensorSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Sensor ID"),
|
|
10
|
-
blocklist: zod.z.string().describe("Blocklist category name"),
|
|
11
|
-
description: zod.z.string().describe("Sensor description")
|
|
12
|
-
}).describe("Details on which specific blocklist sensor detected this domain.");
|
|
9
|
+
id: zod.z.number().int().describe("Sensor ID").nullable(),
|
|
10
|
+
blocklist: zod.z.string().describe("Blocklist category name").nullable(),
|
|
11
|
+
description: zod.z.string().describe("Sensor description").nullable()
|
|
12
|
+
}).passthrough().describe("Details on which specific blocklist sensor detected this domain.");
|
|
13
13
|
const NeutrinoLookupDomainOutput = zod.z.object({
|
|
14
|
-
age: zod.z.number().int().describe("The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain"),
|
|
15
|
-
tld: zod.z.string().describe("The top-level domain (TLD)"),
|
|
16
|
-
fqdn: zod.z.string().describe("The fully qualified domain name (FQDN)"),
|
|
17
|
-
rank: zod.z.number().int().describe("The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains"),
|
|
18
|
-
valid: zod.z.boolean().describe("True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records"),
|
|
19
|
-
domain: zod.z.string().describe("The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)"),
|
|
20
|
-
"is-gov": zod.z.boolean().describe("Is this domain under a government or military TLD"),
|
|
21
|
-
"tld-cc": zod.z.string().describe("For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code"),
|
|
14
|
+
age: zod.z.number().int().describe("The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain").nullable(),
|
|
15
|
+
tld: zod.z.string().describe("The top-level domain (TLD)").nullable(),
|
|
16
|
+
fqdn: zod.z.string().describe("The fully qualified domain name (FQDN)").nullable(),
|
|
17
|
+
rank: zod.z.number().int().describe("The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains").nullable(),
|
|
18
|
+
valid: zod.z.boolean().describe("True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records").nullable(),
|
|
19
|
+
domain: zod.z.string().describe("The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)").nullable(),
|
|
20
|
+
"is-gov": zod.z.boolean().describe("Is this domain under a government or military TLD").nullable(),
|
|
21
|
+
"tld-cc": zod.z.string().describe("For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code").nullable(),
|
|
22
22
|
sensors: zod.z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe("An array of objects containing details on which specific blocklist sensors have detected this domain"),
|
|
23
|
-
"is-adult": zod.z.boolean().describe("This domain is hosting adult content such as porn, webcams, escorts, etc"),
|
|
23
|
+
"is-adult": zod.z.boolean().describe("This domain is hosting adult content such as porn, webcams, escorts, etc").nullable(),
|
|
24
24
|
blocklists: zod.z.array(zod.z.string()).describe("An array of strings indicating which blocklist categories this domain is listed on. Current possible values are: phishing, malware, spam, anonymizer, nefarious"),
|
|
25
|
-
"is-opennic": zod.z.boolean().describe("Is this domain under an OpenNIC TLD"),
|
|
26
|
-
"is-pending": zod.z.boolean().describe("True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet"),
|
|
27
|
-
"expiry-date": zod.z.string().describe("The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date"),
|
|
28
|
-
"mail-status": zod.z.string().describe("The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown"),
|
|
29
|
-
"dns-provider": zod.z.string().describe("The primary domain of the DNS provider for this domain"),
|
|
30
|
-
"is-malicious": zod.z.boolean().describe("Consider this domain malicious as it is currently listed on at least 1 blocklist"),
|
|
31
|
-
"is-subdomain": zod.z.boolean().describe("Is the FQDN a subdomain of the primary domain"),
|
|
32
|
-
"registrar-id": zod.z.number().int().describe("The IANA registrar ID (0 if no registrar ID was found)"),
|
|
33
|
-
"mail-provider": zod.z.string().describe("The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records"),
|
|
34
|
-
"registrar-name": zod.z.string().describe("The name of the domain registrar owning this domain"),
|
|
35
|
-
"website-status": zod.z.string().describe("The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown"),
|
|
36
|
-
"registered-date": zod.z.string().describe("The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date"),
|
|
37
|
-
"website-provider": zod.z.string().describe("The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider")
|
|
38
|
-
}).describe("Response model for Domain Lookup action.");
|
|
25
|
+
"is-opennic": zod.z.boolean().describe("Is this domain under an OpenNIC TLD").nullable(),
|
|
26
|
+
"is-pending": zod.z.boolean().describe("True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet").nullable(),
|
|
27
|
+
"expiry-date": zod.z.string().describe("The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date").nullable(),
|
|
28
|
+
"mail-status": zod.z.string().describe("The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown").nullable(),
|
|
29
|
+
"dns-provider": zod.z.string().describe("The primary domain of the DNS provider for this domain").nullable(),
|
|
30
|
+
"is-malicious": zod.z.boolean().describe("Consider this domain malicious as it is currently listed on at least 1 blocklist").nullable(),
|
|
31
|
+
"is-subdomain": zod.z.boolean().describe("Is the FQDN a subdomain of the primary domain").nullable(),
|
|
32
|
+
"registrar-id": zod.z.number().int().describe("The IANA registrar ID (0 if no registrar ID was found)").nullable(),
|
|
33
|
+
"mail-provider": zod.z.string().describe("The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records").nullable(),
|
|
34
|
+
"registrar-name": zod.z.string().describe("The name of the domain registrar owning this domain").nullable(),
|
|
35
|
+
"website-status": zod.z.string().describe("The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown").nullable(),
|
|
36
|
+
"registered-date": zod.z.string().describe("The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date").nullable(),
|
|
37
|
+
"website-provider": zod.z.string().describe("The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider").nullable()
|
|
38
|
+
}).passthrough().describe("Response model for Domain Lookup action.");
|
|
39
39
|
const neutrinoLookupDomain = require_action.action("NEUTRINO_LOOKUP_DOMAIN", {
|
|
40
40
|
slug: "neutrino-lookup-domain",
|
|
41
41
|
name: "Domain Lookup",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-domain.cjs","names":["z","action"],"sources":["../../src/actions/lookup-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoLookupDomainInput
|
|
1
|
+
{"version":3,"file":"lookup-domain.cjs","names":["z","action"],"sources":["../../src/actions/lookup-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoLookupDomainInput = z.object({\n host: z.string().describe(\"A domain name, hostname, FQDN, URL, HTML link or email address to lookup\"),\n live: z.boolean().default(true).describe(\"For domains that we have never seen before then perform various live checks and realtime reconnaissance. NOTE: this option may add additional non-deterministic delay to the request, if you require consistently fast API response times or just want to check our domain blocklists then you can disable this option\").optional(),\n}).describe(\"Request model for Domain Lookup action.\");\nconst NeutrinoLookupDomain_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category name\").nullable(),\n description: z.string().describe(\"Sensor description\").nullable(),\n}).passthrough().describe(\"Details on which specific blocklist sensor detected this domain.\");\nexport const NeutrinoLookupDomainOutput = z.object({\n age: z.number().int().describe(\"The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain\").nullable(),\n tld: z.string().describe(\"The top-level domain (TLD)\").nullable(),\n fqdn: z.string().describe(\"The fully qualified domain name (FQDN)\").nullable(),\n rank: z.number().int().describe(\"The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains\").nullable(),\n valid: z.boolean().describe(\"True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records\").nullable(),\n domain: z.string().describe(\"The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)\").nullable(),\n \"is-gov\": z.boolean().describe(\"Is this domain under a government or military TLD\").nullable(),\n \"tld-cc\": z.string().describe(\"For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code\").nullable(),\n sensors: z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific blocklist sensors have detected this domain\"),\n \"is-adult\": z.boolean().describe(\"This domain is hosting adult content such as porn, webcams, escorts, etc\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this domain is listed on. Current possible values are: phishing, malware, spam, anonymizer, nefarious\"),\n \"is-opennic\": z.boolean().describe(\"Is this domain under an OpenNIC TLD\").nullable(),\n \"is-pending\": z.boolean().describe(\"True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet\").nullable(),\n \"expiry-date\": z.string().describe(\"The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date\").nullable(),\n \"mail-status\": z.string().describe(\"The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown\").nullable(),\n \"dns-provider\": z.string().describe(\"The primary domain of the DNS provider for this domain\").nullable(),\n \"is-malicious\": z.boolean().describe(\"Consider this domain malicious as it is currently listed on at least 1 blocklist\").nullable(),\n \"is-subdomain\": z.boolean().describe(\"Is the FQDN a subdomain of the primary domain\").nullable(),\n \"registrar-id\": z.number().int().describe(\"The IANA registrar ID (0 if no registrar ID was found)\").nullable(),\n \"mail-provider\": z.string().describe(\"The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records\").nullable(),\n \"registrar-name\": z.string().describe(\"The name of the domain registrar owning this domain\").nullable(),\n \"website-status\": z.string().describe(\"The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown\").nullable(),\n \"registered-date\": z.string().describe(\"The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date\").nullable(),\n \"website-provider\": z.string().describe(\"The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider\").nullable(),\n}).passthrough().describe(\"Response model for Domain Lookup action.\");\n\nexport const neutrinoLookupDomain = action(\"NEUTRINO_LOOKUP_DOMAIN\", {\n slug: \"neutrino-lookup-domain\",\n name: \"Domain Lookup\",\n description: \"Tool to perform a domain lookup to retrieve WHOIS, DNS records, domain registration information and detect potentially malicious or dangerous domains. Use when you need to assess domain reputation, check for security threats, or gather comprehensive domain intelligence.\",\n input: NeutrinoLookupDomainInput,\n output: NeutrinoLookupDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wTAAwT,CAAC,CAAC,SAAS;AAC9W,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS;CACpP,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E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AC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACvK,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACtK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC5L,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/lookup-domain.d.ts
|
|
4
|
-
declare const NeutrinoLookupDomainInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NeutrinoLookupDomainInput: z.ZodObject<{
|
|
5
|
+
host: z.ZodString;
|
|
6
|
+
live: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NeutrinoLookupDomainOutput: z.ZodObject<{
|
|
9
|
+
age: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
tld: z.ZodNullable<z.ZodString>;
|
|
11
|
+
fqdn: z.ZodNullable<z.ZodString>;
|
|
12
|
+
rank: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
15
|
+
"is-gov": z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
"tld-cc": z.ZodNullable<z.ZodString>;
|
|
17
|
+
sensors: z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
blocklist: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
"is-adult": z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
blocklists: z.ZodArray<z.ZodString>;
|
|
24
|
+
"is-opennic": z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
"is-pending": z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
"expiry-date": z.ZodNullable<z.ZodString>;
|
|
27
|
+
"mail-status": z.ZodNullable<z.ZodString>;
|
|
28
|
+
"dns-provider": z.ZodNullable<z.ZodString>;
|
|
29
|
+
"is-malicious": z.ZodNullable<z.ZodBoolean>;
|
|
30
|
+
"is-subdomain": z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
"registrar-id": z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
"mail-provider": z.ZodNullable<z.ZodString>;
|
|
33
|
+
"registrar-name": z.ZodNullable<z.ZodString>;
|
|
34
|
+
"website-status": z.ZodNullable<z.ZodString>;
|
|
35
|
+
"registered-date": z.ZodNullable<z.ZodString>;
|
|
36
|
+
"website-provider": z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
|
+
declare const neutrinoLookupDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
host: string;
|
|
40
|
+
live?: boolean | undefined;
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
42
|
//#endregion
|
|
8
43
|
export { neutrinoLookupDomain };
|
|
9
44
|
//# sourceMappingURL=lookup-domain.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-domain.d.cts","names":[],"sources":["../../src/actions/lookup-domain.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"lookup-domain.d.cts","names":[],"sources":["../../src/actions/lookup-domain.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/lookup-domain.d.ts
|
|
4
|
-
declare const NeutrinoLookupDomainInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NeutrinoLookupDomainInput: z.ZodObject<{
|
|
5
|
+
host: z.ZodString;
|
|
6
|
+
live: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NeutrinoLookupDomainOutput: z.ZodObject<{
|
|
9
|
+
age: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
tld: z.ZodNullable<z.ZodString>;
|
|
11
|
+
fqdn: z.ZodNullable<z.ZodString>;
|
|
12
|
+
rank: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
15
|
+
"is-gov": z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
"tld-cc": z.ZodNullable<z.ZodString>;
|
|
17
|
+
sensors: z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
blocklist: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
"is-adult": z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
blocklists: z.ZodArray<z.ZodString>;
|
|
24
|
+
"is-opennic": z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
"is-pending": z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
"expiry-date": z.ZodNullable<z.ZodString>;
|
|
27
|
+
"mail-status": z.ZodNullable<z.ZodString>;
|
|
28
|
+
"dns-provider": z.ZodNullable<z.ZodString>;
|
|
29
|
+
"is-malicious": z.ZodNullable<z.ZodBoolean>;
|
|
30
|
+
"is-subdomain": z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
"registrar-id": z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
"mail-provider": z.ZodNullable<z.ZodString>;
|
|
33
|
+
"registrar-name": z.ZodNullable<z.ZodString>;
|
|
34
|
+
"website-status": z.ZodNullable<z.ZodString>;
|
|
35
|
+
"registered-date": z.ZodNullable<z.ZodString>;
|
|
36
|
+
"website-provider": z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
|
+
declare const neutrinoLookupDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
host: string;
|
|
40
|
+
live?: boolean | undefined;
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
42
|
//#endregion
|
|
8
43
|
export { neutrinoLookupDomain };
|
|
9
44
|
//# sourceMappingURL=lookup-domain.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-domain.d.mts","names":[],"sources":["../../src/actions/lookup-domain.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"lookup-domain.d.mts","names":[],"sources":["../../src/actions/lookup-domain.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -6,41 +6,41 @@ const NeutrinoLookupDomainInput = z.object({
|
|
|
6
6
|
live: z.boolean().default(true).describe("For domains that we have never seen before then perform various live checks and realtime reconnaissance. NOTE: this option may add additional non-deterministic delay to the request, if you require consistently fast API response times or just want to check our domain blocklists then you can disable this option").optional()
|
|
7
7
|
}).describe("Request model for Domain Lookup action.");
|
|
8
8
|
const NeutrinoLookupDomain_BlocklistSensorSchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Sensor ID"),
|
|
10
|
-
blocklist: z.string().describe("Blocklist category name"),
|
|
11
|
-
description: z.string().describe("Sensor description")
|
|
12
|
-
}).describe("Details on which specific blocklist sensor detected this domain.");
|
|
9
|
+
id: z.number().int().describe("Sensor ID").nullable(),
|
|
10
|
+
blocklist: z.string().describe("Blocklist category name").nullable(),
|
|
11
|
+
description: z.string().describe("Sensor description").nullable()
|
|
12
|
+
}).passthrough().describe("Details on which specific blocklist sensor detected this domain.");
|
|
13
13
|
const neutrinoLookupDomain = action("NEUTRINO_LOOKUP_DOMAIN", {
|
|
14
14
|
slug: "neutrino-lookup-domain",
|
|
15
15
|
name: "Domain Lookup",
|
|
16
16
|
description: "Tool to perform a domain lookup to retrieve WHOIS, DNS records, domain registration information and detect potentially malicious or dangerous domains. Use when you need to assess domain reputation, check for security threats, or gather comprehensive domain intelligence.",
|
|
17
17
|
input: NeutrinoLookupDomainInput,
|
|
18
18
|
output: z.object({
|
|
19
|
-
age: z.number().int().describe("The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain"),
|
|
20
|
-
tld: z.string().describe("The top-level domain (TLD)"),
|
|
21
|
-
fqdn: z.string().describe("The fully qualified domain name (FQDN)"),
|
|
22
|
-
rank: z.number().int().describe("The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains"),
|
|
23
|
-
valid: z.boolean().describe("True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records"),
|
|
24
|
-
domain: z.string().describe("The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)"),
|
|
25
|
-
"is-gov": z.boolean().describe("Is this domain under a government or military TLD"),
|
|
26
|
-
"tld-cc": z.string().describe("For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code"),
|
|
19
|
+
age: z.number().int().describe("The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain").nullable(),
|
|
20
|
+
tld: z.string().describe("The top-level domain (TLD)").nullable(),
|
|
21
|
+
fqdn: z.string().describe("The fully qualified domain name (FQDN)").nullable(),
|
|
22
|
+
rank: z.number().int().describe("The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains").nullable(),
|
|
23
|
+
valid: z.boolean().describe("True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records").nullable(),
|
|
24
|
+
domain: z.string().describe("The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)").nullable(),
|
|
25
|
+
"is-gov": z.boolean().describe("Is this domain under a government or military TLD").nullable(),
|
|
26
|
+
"tld-cc": z.string().describe("For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code").nullable(),
|
|
27
27
|
sensors: z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe("An array of objects containing details on which specific blocklist sensors have detected this domain"),
|
|
28
|
-
"is-adult": z.boolean().describe("This domain is hosting adult content such as porn, webcams, escorts, etc"),
|
|
28
|
+
"is-adult": z.boolean().describe("This domain is hosting adult content such as porn, webcams, escorts, etc").nullable(),
|
|
29
29
|
blocklists: z.array(z.string()).describe("An array of strings indicating which blocklist categories this domain is listed on. Current possible values are: phishing, malware, spam, anonymizer, nefarious"),
|
|
30
|
-
"is-opennic": z.boolean().describe("Is this domain under an OpenNIC TLD"),
|
|
31
|
-
"is-pending": z.boolean().describe("True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet"),
|
|
32
|
-
"expiry-date": z.string().describe("The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date"),
|
|
33
|
-
"mail-status": z.string().describe("The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown"),
|
|
34
|
-
"dns-provider": z.string().describe("The primary domain of the DNS provider for this domain"),
|
|
35
|
-
"is-malicious": z.boolean().describe("Consider this domain malicious as it is currently listed on at least 1 blocklist"),
|
|
36
|
-
"is-subdomain": z.boolean().describe("Is the FQDN a subdomain of the primary domain"),
|
|
37
|
-
"registrar-id": z.number().int().describe("The IANA registrar ID (0 if no registrar ID was found)"),
|
|
38
|
-
"mail-provider": z.string().describe("The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records"),
|
|
39
|
-
"registrar-name": z.string().describe("The name of the domain registrar owning this domain"),
|
|
40
|
-
"website-status": z.string().describe("The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown"),
|
|
41
|
-
"registered-date": z.string().describe("The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date"),
|
|
42
|
-
"website-provider": z.string().describe("The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider")
|
|
43
|
-
}).describe("Response model for Domain Lookup action.")
|
|
30
|
+
"is-opennic": z.boolean().describe("Is this domain under an OpenNIC TLD").nullable(),
|
|
31
|
+
"is-pending": z.boolean().describe("True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet").nullable(),
|
|
32
|
+
"expiry-date": z.string().describe("The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date").nullable(),
|
|
33
|
+
"mail-status": z.string().describe("The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown").nullable(),
|
|
34
|
+
"dns-provider": z.string().describe("The primary domain of the DNS provider for this domain").nullable(),
|
|
35
|
+
"is-malicious": z.boolean().describe("Consider this domain malicious as it is currently listed on at least 1 blocklist").nullable(),
|
|
36
|
+
"is-subdomain": z.boolean().describe("Is the FQDN a subdomain of the primary domain").nullable(),
|
|
37
|
+
"registrar-id": z.number().int().describe("The IANA registrar ID (0 if no registrar ID was found)").nullable(),
|
|
38
|
+
"mail-provider": z.string().describe("The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records").nullable(),
|
|
39
|
+
"registrar-name": z.string().describe("The name of the domain registrar owning this domain").nullable(),
|
|
40
|
+
"website-status": z.string().describe("The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown").nullable(),
|
|
41
|
+
"registered-date": z.string().describe("The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date").nullable(),
|
|
42
|
+
"website-provider": z.string().describe("The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider").nullable()
|
|
43
|
+
}).passthrough().describe("Response model for Domain Lookup action.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { neutrinoLookupDomain };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-domain.mjs","names":[],"sources":["../../src/actions/lookup-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoLookupDomainInput
|
|
1
|
+
{"version":3,"file":"lookup-domain.mjs","names":[],"sources":["../../src/actions/lookup-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoLookupDomainInput = z.object({\n host: z.string().describe(\"A domain name, hostname, FQDN, URL, HTML link or email address to lookup\"),\n live: z.boolean().default(true).describe(\"For domains that we have never seen before then perform various live checks and realtime reconnaissance. NOTE: this option may add additional non-deterministic delay to the request, if you require consistently fast API response times or just want to check our domain blocklists then you can disable this option\").optional(),\n}).describe(\"Request model for Domain Lookup action.\");\nconst NeutrinoLookupDomain_BlocklistSensorSchema = z.object({\n id: z.number().int().describe(\"Sensor ID\").nullable(),\n blocklist: z.string().describe(\"Blocklist category name\").nullable(),\n description: z.string().describe(\"Sensor description\").nullable(),\n}).passthrough().describe(\"Details on which specific blocklist sensor detected this domain.\");\nexport const NeutrinoLookupDomainOutput = z.object({\n age: z.number().int().describe(\"The number of days since the domain was registered. A domain age of under 90 days is generally considered to be potentially risky. A value of 0 indicates no registration date was found for this domain\").nullable(),\n tld: z.string().describe(\"The top-level domain (TLD)\").nullable(),\n fqdn: z.string().describe(\"The fully qualified domain name (FQDN)\").nullable(),\n rank: z.number().int().describe(\"The domains estimated global traffic rank with the highest rank being 1. A value of 0 indicates the domain is currently ranked outside of the top 1M of domains\").nullable(),\n valid: z.boolean().describe(\"True if a valid domain was found. For a domain to be considered valid it must be registered and have valid DNS NS records\").nullable(),\n domain: z.string().describe(\"The primary domain name excluding any subdomains. This is also referred to as the second-level domain (SLD)\").nullable(),\n \"is-gov\": z.boolean().describe(\"Is this domain under a government or military TLD\").nullable(),\n \"tld-cc\": z.string().describe(\"For a country code top-level domain (ccTLD) this will contain the associated ISO 2-letter country code\").nullable(),\n sensors: z.array(NeutrinoLookupDomain_BlocklistSensorSchema).describe(\"An array of objects containing details on which specific blocklist sensors have detected this domain\"),\n \"is-adult\": z.boolean().describe(\"This domain is hosting adult content such as porn, webcams, escorts, etc\").nullable(),\n blocklists: z.array(z.string()).describe(\"An array of strings indicating which blocklist categories this domain is listed on. Current possible values are: phishing, malware, spam, anonymizer, nefarious\"),\n \"is-opennic\": z.boolean().describe(\"Is this domain under an OpenNIC TLD\").nullable(),\n \"is-pending\": z.boolean().describe(\"True if this domain is unseen and is currently being processed in the background. This field only matters when the 'live' lookup setting has been explicitly disabled and indicates that not all domain data my be present yet\").nullable(),\n \"expiry-date\": z.string().describe(\"The ISO date this domain is due to expire. An empty value indicates we could not reliably determine the date\").nullable(),\n \"mail-status\": z.string().describe(\"The status of the domains mail configuration, possible values are: ok, invalid, no-service, no-mail, mx-invalid, mx-bogon, resolv-error, unknown\").nullable(),\n \"dns-provider\": z.string().describe(\"The primary domain of the DNS provider for this domain\").nullable(),\n \"is-malicious\": z.boolean().describe(\"Consider this domain malicious as it is currently listed on at least 1 blocklist\").nullable(),\n \"is-subdomain\": z.boolean().describe(\"Is the FQDN a subdomain of the primary domain\").nullable(),\n \"registrar-id\": z.number().int().describe(\"The IANA registrar ID (0 if no registrar ID was found)\").nullable(),\n \"mail-provider\": z.string().describe(\"The primary domain of the email provider for this domain. An empty value indicates the domain has no valid MX records\").nullable(),\n \"registrar-name\": z.string().describe(\"The name of the domain registrar owning this domain\").nullable(),\n \"website-status\": z.string().describe(\"The status of the domains website configuration, possible values are: ok, no-http, no-ip, bogon-ip, parked, unknown\").nullable(),\n \"registered-date\": z.string().describe(\"The ISO date this domain was registered or first seen on the internet. An empty value indicates we could not reliably determine the date\").nullable(),\n \"website-provider\": z.string().describe(\"The primary domain of the website hosting provider for this domain. An empty value indicates the domain has no active website provider\").nullable(),\n}).passthrough().describe(\"Response model for Domain Lookup action.\");\n\nexport const neutrinoLookupDomain = action(\"NEUTRINO_LOOKUP_DOMAIN\", {\n slug: \"neutrino-lookup-domain\",\n name: \"Domain Lookup\",\n description: \"Tool to perform a domain lookup to retrieve WHOIS, DNS records, domain registration information and detect potentially malicious or dangerous domains. Use when you need to assess domain reputation, check for security threats, or gather comprehensive domain intelligence.\",\n input: NeutrinoLookupDomainInput,\n output: NeutrinoLookupDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACpG,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wTAAwT,CAAC,CAAC,SAAS;AAC9W,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC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,SAAS,gOAAgO,CAAC,CAAC,SAAS;EAC9Q,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EAC5J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;EAChM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAClI,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC7G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACvK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACtG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EACtK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EAC5L,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -7,19 +7,19 @@ const NeutrinoPhoneValidateInput = zod.z.object({
|
|
|
7
7
|
"country-code": zod.z.string().describe("ISO 2-letter country code (required if number not in international format).").optional()
|
|
8
8
|
}).describe("Request model for phone number validation and lookup.");
|
|
9
9
|
const NeutrinoPhoneValidateOutput = zod.z.object({
|
|
10
|
-
type: zod.z.string().describe("Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown)."),
|
|
11
|
-
valid: zod.z.boolean().describe("True if the phone number is valid."),
|
|
12
|
-
country: zod.z.string().describe("Country name."),
|
|
13
|
-
location: zod.z.string().describe("Location description for the number."),
|
|
14
|
-
"is-mobile": zod.z.boolean().describe("True if the number is a mobile number."),
|
|
15
|
-
"country-code": zod.z.string().describe("ISO 2-letter country code."),
|
|
16
|
-
"local-number": zod.z.string().describe("Number in local format."),
|
|
17
|
-
"country-code3": zod.z.string().describe("ISO 3-letter country code."),
|
|
18
|
-
"currency-code": zod.z.string().describe("ISO 3-letter currency code."),
|
|
19
|
-
"prefix-network": zod.z.string().describe("Network/carrier that owns the prefix (may be empty if unavailable)."),
|
|
20
|
-
"international-number": zod.z.string().describe("Number in international format."),
|
|
21
|
-
"international-calling-code": zod.z.string().describe("International calling code (e.g., '1' for US).")
|
|
22
|
-
}).describe("Response model for phone number validation and lookup.");
|
|
10
|
+
type: zod.z.string().describe("Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown).").nullable(),
|
|
11
|
+
valid: zod.z.boolean().describe("True if the phone number is valid.").nullable(),
|
|
12
|
+
country: zod.z.string().describe("Country name.").nullable(),
|
|
13
|
+
location: zod.z.string().describe("Location description for the number.").nullable(),
|
|
14
|
+
"is-mobile": zod.z.boolean().describe("True if the number is a mobile number.").nullable(),
|
|
15
|
+
"country-code": zod.z.string().describe("ISO 2-letter country code.").nullable(),
|
|
16
|
+
"local-number": zod.z.string().describe("Number in local format.").nullable(),
|
|
17
|
+
"country-code3": zod.z.string().describe("ISO 3-letter country code.").nullable(),
|
|
18
|
+
"currency-code": zod.z.string().describe("ISO 3-letter currency code.").nullable(),
|
|
19
|
+
"prefix-network": zod.z.string().describe("Network/carrier that owns the prefix (may be empty if unavailable).").nullable(),
|
|
20
|
+
"international-number": zod.z.string().describe("Number in international format.").nullable(),
|
|
21
|
+
"international-calling-code": zod.z.string().describe("International calling code (e.g., '1' for US).").nullable()
|
|
22
|
+
}).passthrough().describe("Response model for phone number validation and lookup.");
|
|
23
23
|
const neutrinoPhoneValidate = require_action.action("NEUTRINO_PHONE_VALIDATE", {
|
|
24
24
|
slug: "neutrino-phone-validate",
|
|
25
25
|
name: "Phone Validate",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-validate.cjs","names":["z","action"],"sources":["../../src/actions/phone-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoPhoneValidateInput
|
|
1
|
+
{"version":3,"file":"phone-validate.cjs","names":["z","action"],"sources":["../../src/actions/phone-validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoPhoneValidateInput = z.object({\n ip: z.string().describe(\"User's IP address to help with number location.\").optional(),\n number: z.string().describe(\"The phone number to validate in international format.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (required if number not in international format).\").optional(),\n}).describe(\"Request model for phone number validation and lookup.\");\nexport const NeutrinoPhoneValidateOutput = z.object({\n type: z.string().describe(\"Phone number type (mobile, fixed-line, premium-rate, toll-free, voip, or unknown).\").nullable(),\n valid: z.boolean().describe(\"True if the phone number is valid.\").nullable(),\n country: z.string().describe(\"Country name.\").nullable(),\n location: z.string().describe(\"Location description for the number.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile number.\").nullable(),\n \"country-code\": z.string().describe(\"ISO 2-letter country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local format.\").nullable(),\n \"country-code3\": z.string().describe(\"ISO 3-letter country code.\").nullable(),\n \"currency-code\": z.string().describe(\"ISO 3-letter currency code.\").nullable(),\n \"prefix-network\": z.string().describe(\"Network/carrier that owns the prefix (may be empty if unavailable).\").nullable(),\n \"international-number\": z.string().describe(\"Number in international format.\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code (e.g., '1' for US).\").nullable(),\n}).passthrough().describe(\"Response model for phone number validation and lookup.\");\n\nexport const neutrinoPhoneValidate = action(\"NEUTRINO_PHONE_VALIDATE\", {\n slug: \"neutrino-phone-validate\",\n name: \"Phone Validate\",\n description: \"Tool to validate and lookup phone numbers. Use when you need to confirm number format and fetch location, carrier, and type details.\",\n input: NeutrinoPhoneValidateInput,\n output: NeutrinoPhoneValidateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC7E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAA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