@keystrokehq/mx_toolbox 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/index.cjs +27 -0
- package/dist/actions/index.d.cts +14 -0
- package/dist/actions/index.d.mts +14 -0
- package/dist/actions/index.mjs +14 -0
- package/dist/actions/lookup-bimi-record.cjs +87 -0
- package/dist/actions/lookup-bimi-record.cjs.map +1 -0
- package/dist/actions/lookup-bimi-record.d.cts +9 -0
- package/dist/actions/lookup-bimi-record.d.cts.map +1 -0
- package/dist/actions/lookup-bimi-record.d.mts +9 -0
- package/dist/actions/lookup-bimi-record.d.mts.map +1 -0
- package/dist/actions/lookup-bimi-record.mjs +86 -0
- package/dist/actions/lookup-bimi-record.mjs.map +1 -0
- package/dist/actions/lookup-blacklist.cjs +58 -0
- package/dist/actions/lookup-blacklist.cjs.map +1 -0
- package/dist/actions/lookup-blacklist.d.cts +9 -0
- package/dist/actions/lookup-blacklist.d.cts.map +1 -0
- package/dist/actions/lookup-blacklist.d.mts +9 -0
- package/dist/actions/lookup-blacklist.d.mts.map +1 -0
- package/dist/actions/lookup-blacklist.mjs +57 -0
- package/dist/actions/lookup-blacklist.mjs.map +1 -0
- package/dist/actions/lookup-dkim.cjs +69 -0
- package/dist/actions/lookup-dkim.cjs.map +1 -0
- package/dist/actions/lookup-dkim.d.cts +9 -0
- package/dist/actions/lookup-dkim.d.cts.map +1 -0
- package/dist/actions/lookup-dkim.d.mts +9 -0
- package/dist/actions/lookup-dkim.d.mts.map +1 -0
- package/dist/actions/lookup-dkim.mjs +68 -0
- package/dist/actions/lookup-dkim.mjs.map +1 -0
- package/dist/actions/lookup-dmarc.cjs +39 -0
- package/dist/actions/lookup-dmarc.cjs.map +1 -0
- package/dist/actions/lookup-dmarc.d.cts +9 -0
- package/dist/actions/lookup-dmarc.d.cts.map +1 -0
- package/dist/actions/lookup-dmarc.d.mts +9 -0
- package/dist/actions/lookup-dmarc.d.mts.map +1 -0
- package/dist/actions/lookup-dmarc.mjs +38 -0
- package/dist/actions/lookup-dmarc.mjs.map +1 -0
- package/dist/actions/lookup-dns.cjs +42 -0
- package/dist/actions/lookup-dns.cjs.map +1 -0
- package/dist/actions/lookup-dns.d.cts +9 -0
- package/dist/actions/lookup-dns.d.cts.map +1 -0
- package/dist/actions/lookup-dns.d.mts +9 -0
- package/dist/actions/lookup-dns.d.mts.map +1 -0
- package/dist/actions/lookup-dns.mjs +41 -0
- package/dist/actions/lookup-dns.mjs.map +1 -0
- package/dist/actions/lookup-http.cjs +30 -0
- package/dist/actions/lookup-http.cjs.map +1 -0
- package/dist/actions/lookup-http.d.cts +9 -0
- package/dist/actions/lookup-http.d.cts.map +1 -0
- package/dist/actions/lookup-http.d.mts +9 -0
- package/dist/actions/lookup-http.d.mts.map +1 -0
- package/dist/actions/lookup-http.mjs +29 -0
- package/dist/actions/lookup-http.mjs.map +1 -0
- package/dist/actions/lookup-mta-sts-record.cjs +37 -0
- package/dist/actions/lookup-mta-sts-record.cjs.map +1 -0
- package/dist/actions/lookup-mta-sts-record.d.cts +9 -0
- package/dist/actions/lookup-mta-sts-record.d.cts.map +1 -0
- package/dist/actions/lookup-mta-sts-record.d.mts +9 -0
- package/dist/actions/lookup-mta-sts-record.d.mts.map +1 -0
- package/dist/actions/lookup-mta-sts-record.mjs +36 -0
- package/dist/actions/lookup-mta-sts-record.mjs.map +1 -0
- package/dist/actions/lookup-mx.cjs +24 -0
- package/dist/actions/lookup-mx.cjs.map +1 -0
- package/dist/actions/lookup-mx.d.cts +9 -0
- package/dist/actions/lookup-mx.d.cts.map +1 -0
- package/dist/actions/lookup-mx.d.mts +9 -0
- package/dist/actions/lookup-mx.d.mts.map +1 -0
- package/dist/actions/lookup-mx.mjs +23 -0
- package/dist/actions/lookup-mx.mjs.map +1 -0
- package/dist/actions/lookup-ping.cjs +58 -0
- package/dist/actions/lookup-ping.cjs.map +1 -0
- package/dist/actions/lookup-ping.d.cts +9 -0
- package/dist/actions/lookup-ping.d.cts.map +1 -0
- package/dist/actions/lookup-ping.d.mts +9 -0
- package/dist/actions/lookup-ping.d.mts.map +1 -0
- package/dist/actions/lookup-ping.mjs +57 -0
- package/dist/actions/lookup-ping.mjs.map +1 -0
- package/dist/actions/lookup-smtp.cjs +41 -0
- package/dist/actions/lookup-smtp.cjs.map +1 -0
- package/dist/actions/lookup-smtp.d.cts +9 -0
- package/dist/actions/lookup-smtp.d.cts.map +1 -0
- package/dist/actions/lookup-smtp.d.mts +9 -0
- package/dist/actions/lookup-smtp.d.mts.map +1 -0
- package/dist/actions/lookup-smtp.mjs +40 -0
- package/dist/actions/lookup-smtp.mjs.map +1 -0
- package/dist/actions/lookup-spf.cjs +82 -0
- package/dist/actions/lookup-spf.cjs.map +1 -0
- package/dist/actions/lookup-spf.d.cts +9 -0
- package/dist/actions/lookup-spf.d.cts.map +1 -0
- package/dist/actions/lookup-spf.d.mts +9 -0
- package/dist/actions/lookup-spf.d.mts.map +1 -0
- package/dist/actions/lookup-spf.mjs +81 -0
- package/dist/actions/lookup-spf.mjs.map +1 -0
- package/dist/actions/monitor-status.cjs +30 -0
- package/dist/actions/monitor-status.cjs.map +1 -0
- package/dist/actions/monitor-status.d.cts +9 -0
- package/dist/actions/monitor-status.d.cts.map +1 -0
- package/dist/actions/monitor-status.d.mts +9 -0
- package/dist/actions/monitor-status.d.mts.map +1 -0
- package/dist/actions/monitor-status.mjs +29 -0
- package/dist/actions/monitor-status.mjs.map +1 -0
- package/dist/actions/usage-check.cjs +23 -0
- package/dist/actions/usage-check.cjs.map +1 -0
- package/dist/actions/usage-check.d.cts +9 -0
- package/dist/actions/usage-check.d.cts.map +1 -0
- package/dist/actions/usage-check.d.mts +9 -0
- package/dist/actions/usage-check.d.mts.map +1 -0
- package/dist/actions/usage-check.mjs +20 -0
- package/dist/actions/usage-check.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 +32 -0
- package/dist/index.d.cts +16 -0
- package/dist/index.d.mts +16 -0
- package/dist/index.mjs +17 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/mx_toolbox
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `mx_toolbox`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 13
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { mxToolboxLookupBimiRecord } from "@keystrokehq/mx_toolbox/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "mx_toolbox-agent",
|
|
15
|
+
tools: [mxToolboxLookupBimiRecord],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.mxToolbox.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeMxToolboxTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["mxToolbox","executeMxToolboxTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mxToolbox } from \"./app\";\nimport { executeMxToolboxTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return mxToolbox.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMxToolboxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { mxToolbox } from "./app.mjs";
|
|
2
|
+
import { executeMxToolboxTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return mxToolbox.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeMxToolboxTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mxToolbox } from \"./app\";\nimport { executeMxToolboxTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return mxToolbox.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMxToolboxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_lookup_bimi_record = require("./lookup-bimi-record.cjs");
|
|
3
|
+
const require_lookup_blacklist = require("./lookup-blacklist.cjs");
|
|
4
|
+
const require_lookup_dkim = require("./lookup-dkim.cjs");
|
|
5
|
+
const require_lookup_dmarc = require("./lookup-dmarc.cjs");
|
|
6
|
+
const require_lookup_dns = require("./lookup-dns.cjs");
|
|
7
|
+
const require_lookup_http = require("./lookup-http.cjs");
|
|
8
|
+
const require_lookup_mta_sts_record = require("./lookup-mta-sts-record.cjs");
|
|
9
|
+
const require_lookup_mx = require("./lookup-mx.cjs");
|
|
10
|
+
const require_lookup_ping = require("./lookup-ping.cjs");
|
|
11
|
+
const require_lookup_smtp = require("./lookup-smtp.cjs");
|
|
12
|
+
const require_lookup_spf = require("./lookup-spf.cjs");
|
|
13
|
+
const require_monitor_status = require("./monitor-status.cjs");
|
|
14
|
+
const require_usage_check = require("./usage-check.cjs");
|
|
15
|
+
exports.mxToolboxLookupBimiRecord = require_lookup_bimi_record.mxToolboxLookupBimiRecord;
|
|
16
|
+
exports.mxToolboxLookupBlacklist = require_lookup_blacklist.mxToolboxLookupBlacklist;
|
|
17
|
+
exports.mxToolboxLookupDkim = require_lookup_dkim.mxToolboxLookupDkim;
|
|
18
|
+
exports.mxToolboxLookupDmarc = require_lookup_dmarc.mxToolboxLookupDmarc;
|
|
19
|
+
exports.mxToolboxLookupDns = require_lookup_dns.mxToolboxLookupDns;
|
|
20
|
+
exports.mxToolboxLookupHttp = require_lookup_http.mxToolboxLookupHttp;
|
|
21
|
+
exports.mxToolboxLookupMtaStsRecord = require_lookup_mta_sts_record.mxToolboxLookupMtaStsRecord;
|
|
22
|
+
exports.mxToolboxLookupMx = require_lookup_mx.mxToolboxLookupMx;
|
|
23
|
+
exports.mxToolboxLookupPing = require_lookup_ping.mxToolboxLookupPing;
|
|
24
|
+
exports.mxToolboxLookupSmtp = require_lookup_smtp.mxToolboxLookupSmtp;
|
|
25
|
+
exports.mxToolboxLookupSpf = require_lookup_spf.mxToolboxLookupSpf;
|
|
26
|
+
exports.mxToolboxMonitorStatus = require_monitor_status.mxToolboxMonitorStatus;
|
|
27
|
+
exports.mxToolboxUsageCheck = require_usage_check.mxToolboxUsageCheck;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { mxToolboxLookupBimiRecord } from "./lookup-bimi-record.cjs";
|
|
2
|
+
import { mxToolboxLookupBlacklist } from "./lookup-blacklist.cjs";
|
|
3
|
+
import { mxToolboxLookupDkim } from "./lookup-dkim.cjs";
|
|
4
|
+
import { mxToolboxLookupDmarc } from "./lookup-dmarc.cjs";
|
|
5
|
+
import { mxToolboxLookupDns } from "./lookup-dns.cjs";
|
|
6
|
+
import { mxToolboxLookupHttp } from "./lookup-http.cjs";
|
|
7
|
+
import { mxToolboxLookupMtaStsRecord } from "./lookup-mta-sts-record.cjs";
|
|
8
|
+
import { mxToolboxLookupMx } from "./lookup-mx.cjs";
|
|
9
|
+
import { mxToolboxLookupPing } from "./lookup-ping.cjs";
|
|
10
|
+
import { mxToolboxLookupSmtp } from "./lookup-smtp.cjs";
|
|
11
|
+
import { mxToolboxLookupSpf } from "./lookup-spf.cjs";
|
|
12
|
+
import { mxToolboxMonitorStatus } from "./monitor-status.cjs";
|
|
13
|
+
import { mxToolboxUsageCheck } from "./usage-check.cjs";
|
|
14
|
+
export { mxToolboxLookupBimiRecord, mxToolboxLookupBlacklist, mxToolboxLookupDkim, mxToolboxLookupDmarc, mxToolboxLookupDns, mxToolboxLookupHttp, mxToolboxLookupMtaStsRecord, mxToolboxLookupMx, mxToolboxLookupPing, mxToolboxLookupSmtp, mxToolboxLookupSpf, mxToolboxMonitorStatus, mxToolboxUsageCheck };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { mxToolboxLookupBimiRecord } from "./lookup-bimi-record.mjs";
|
|
2
|
+
import { mxToolboxLookupBlacklist } from "./lookup-blacklist.mjs";
|
|
3
|
+
import { mxToolboxLookupDkim } from "./lookup-dkim.mjs";
|
|
4
|
+
import { mxToolboxLookupDmarc } from "./lookup-dmarc.mjs";
|
|
5
|
+
import { mxToolboxLookupDns } from "./lookup-dns.mjs";
|
|
6
|
+
import { mxToolboxLookupHttp } from "./lookup-http.mjs";
|
|
7
|
+
import { mxToolboxLookupMtaStsRecord } from "./lookup-mta-sts-record.mjs";
|
|
8
|
+
import { mxToolboxLookupMx } from "./lookup-mx.mjs";
|
|
9
|
+
import { mxToolboxLookupPing } from "./lookup-ping.mjs";
|
|
10
|
+
import { mxToolboxLookupSmtp } from "./lookup-smtp.mjs";
|
|
11
|
+
import { mxToolboxLookupSpf } from "./lookup-spf.mjs";
|
|
12
|
+
import { mxToolboxMonitorStatus } from "./monitor-status.mjs";
|
|
13
|
+
import { mxToolboxUsageCheck } from "./usage-check.mjs";
|
|
14
|
+
export { mxToolboxLookupBimiRecord, mxToolboxLookupBlacklist, mxToolboxLookupDkim, mxToolboxLookupDmarc, mxToolboxLookupDns, mxToolboxLookupHttp, mxToolboxLookupMtaStsRecord, mxToolboxLookupMx, mxToolboxLookupPing, mxToolboxLookupSmtp, mxToolboxLookupSpf, mxToolboxMonitorStatus, mxToolboxUsageCheck };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { mxToolboxLookupBimiRecord } from "./lookup-bimi-record.mjs";
|
|
2
|
+
import { mxToolboxLookupBlacklist } from "./lookup-blacklist.mjs";
|
|
3
|
+
import { mxToolboxLookupDkim } from "./lookup-dkim.mjs";
|
|
4
|
+
import { mxToolboxLookupDmarc } from "./lookup-dmarc.mjs";
|
|
5
|
+
import { mxToolboxLookupDns } from "./lookup-dns.mjs";
|
|
6
|
+
import { mxToolboxLookupHttp } from "./lookup-http.mjs";
|
|
7
|
+
import { mxToolboxLookupMtaStsRecord } from "./lookup-mta-sts-record.mjs";
|
|
8
|
+
import { mxToolboxLookupMx } from "./lookup-mx.mjs";
|
|
9
|
+
import { mxToolboxLookupPing } from "./lookup-ping.mjs";
|
|
10
|
+
import { mxToolboxLookupSmtp } from "./lookup-smtp.mjs";
|
|
11
|
+
import { mxToolboxLookupSpf } from "./lookup-spf.mjs";
|
|
12
|
+
import { mxToolboxMonitorStatus } from "./monitor-status.mjs";
|
|
13
|
+
import { mxToolboxUsageCheck } from "./usage-check.mjs";
|
|
14
|
+
export { mxToolboxLookupBimiRecord, mxToolboxLookupBlacklist, mxToolboxLookupDkim, mxToolboxLookupDmarc, mxToolboxLookupDns, mxToolboxLookupHttp, mxToolboxLookupMtaStsRecord, mxToolboxLookupMx, mxToolboxLookupPing, mxToolboxLookupSmtp, mxToolboxLookupSpf, mxToolboxMonitorStatus, mxToolboxUsageCheck };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-bimi-record.ts
|
|
4
|
+
const MxToolboxLookupBimiRecordInput = zod.z.object({ domain: zod.z.string().describe("The domain to perform BIMI lookup on (e.g., 'example.com', 'google.com').") }).describe("Request model for BIMI record lookup.");
|
|
5
|
+
const MxToolboxLookupBimiRecord_BimiCheckResultSchema = zod.z.object({
|
|
6
|
+
ID: zod.z.number().int().describe("Unique identifier for the check."),
|
|
7
|
+
Url: zod.z.string().describe("URL with more details about this check."),
|
|
8
|
+
Info: zod.z.string().describe("Information about the check result."),
|
|
9
|
+
Name: zod.z.string().describe("Name of the BIMI diagnostic check."),
|
|
10
|
+
IsExcludedByUser: zod.z.boolean().describe("Whether this check is excluded by the user."),
|
|
11
|
+
PublicDescription: zod.z.string().describe("Public description if available.").nullable().optional()
|
|
12
|
+
}).describe("Represents a diagnostic check result (passed, failed, or warning).");
|
|
13
|
+
const MxToolboxLookupBimiRecord_BimiCertificateSummarySchema = zod.z.object({
|
|
14
|
+
Issuer: zod.z.string().describe("Certificate issuer information.").nullable().optional(),
|
|
15
|
+
Serial: zod.z.string().describe("Certificate serial number.").nullable().optional(),
|
|
16
|
+
Status: zod.z.string().describe("Certificate status (e.g., 'Valid').").nullable().optional(),
|
|
17
|
+
Expires: zod.z.string().describe("Human-readable expiration time remaining.").nullable().optional(),
|
|
18
|
+
Subject: zod.z.string().describe("Certificate subject information.").nullable().optional(),
|
|
19
|
+
ValidTo: zod.z.string().describe("Certificate valid to date/time.").nullable().optional(),
|
|
20
|
+
Algorithm: zod.z.string().describe("Signing algorithm used (e.g., 'sha256RSA').").nullable().optional(),
|
|
21
|
+
PublicUrl: zod.z.string().describe("Public URL of the certificate PEM file.").nullable().optional(),
|
|
22
|
+
ValidFrom: zod.z.string().describe("Certificate valid from date/time.").nullable().optional()
|
|
23
|
+
}).describe("Certificate summary details for VMC (Verified Mark Certificate).");
|
|
24
|
+
const MxToolboxLookupBimiRecord_BimiCustomDataSchema = zod.z.object({
|
|
25
|
+
logoUrl: zod.z.string().describe("URL of the BIMI logo if found.").nullable().optional(),
|
|
26
|
+
dmarcRecords: zod.z.array(zod.z.string()).describe("DMARC records found for the domain.").nullable().optional(),
|
|
27
|
+
certificateErrors: zod.z.array(zod.z.string()).describe("Certificate validation errors.").nullable().optional(),
|
|
28
|
+
certificateSummary: MxToolboxLookupBimiRecord_BimiCertificateSummarySchema.nullable().optional(),
|
|
29
|
+
logoValidationErrors: zod.z.array(zod.z.string()).describe("Logo validation errors.").nullable().optional()
|
|
30
|
+
}).describe("Custom data specific to BIMI lookups.");
|
|
31
|
+
const MxToolboxLookupBimiRecord_BimiTranscriptSchema = zod.z.object({ Transcript: zod.z.string().describe("Full transcript showing DNS queries and results.") }).describe("Detailed transcript of the BIMI lookup process.");
|
|
32
|
+
const MxToolboxLookupBimiRecord_BimiInformationItemSchema = zod.z.object({
|
|
33
|
+
Tag: zod.z.string().describe("BIMI tag name (e.g., 'v', 'l', 'a') or empty for full record/extrainfo."),
|
|
34
|
+
Name: zod.z.string().describe("Human-readable name for the tag (e.g., 'Version', 'Locations', 'record')."),
|
|
35
|
+
TagValue: zod.z.string().describe("Value assigned to the BIMI tag."),
|
|
36
|
+
Description: zod.z.string().describe("Detailed description of the tag's purpose and value.")
|
|
37
|
+
}).describe("Represents a BIMI record tag information item.");
|
|
38
|
+
const MxToolboxLookupBimiRecord_BimiRelatedLookupSchema = zod.z.object({
|
|
39
|
+
URL: zod.z.string().describe("API URL to perform the related lookup."),
|
|
40
|
+
Name: zod.z.string().describe("Name of the related lookup."),
|
|
41
|
+
Command: zod.z.string().describe("Command type for the related lookup."),
|
|
42
|
+
CommandArgument: zod.z.string().describe("Argument for the related lookup command.")
|
|
43
|
+
}).describe("Related lookup that can be performed for additional information.");
|
|
44
|
+
const MxToolboxLookupBimiRecordOutput = zod.z.object({
|
|
45
|
+
UID: zod.z.string().describe("Unique identifier for the lookup.").nullable().optional(),
|
|
46
|
+
MxRep: zod.z.number().int().describe("MX reputation score."),
|
|
47
|
+
Errors: zod.z.array(zod.z.unknown()).describe("List of errors encountered.").nullable().optional(),
|
|
48
|
+
Failed: zod.z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe("List of diagnostic checks that failed.").nullable().optional(),
|
|
49
|
+
Passed: zod.z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe("List of diagnostic checks that passed.").nullable().optional(),
|
|
50
|
+
Command: zod.z.string().describe("Command executed (always 'bimi' for BIMI lookups)."),
|
|
51
|
+
IsError: zod.z.boolean().describe("Whether an error occurred during the lookup."),
|
|
52
|
+
Records: zod.z.array(zod.z.string()).describe("List of BIMI records found (often empty if no record).").nullable().optional(),
|
|
53
|
+
Timeouts: zod.z.array(zod.z.unknown()).describe("List of timeouts if any.").nullable().optional(),
|
|
54
|
+
Warnings: zod.z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe("List of warning checks.").nullable().optional(),
|
|
55
|
+
RelatedIP: zod.z.string().describe("Related IP address if applicable.").nullable().optional(),
|
|
56
|
+
CustomData: MxToolboxLookupBimiRecord_BimiCustomDataSchema.nullable().optional(),
|
|
57
|
+
IsEndpoint: zod.z.boolean().describe("Whether this is an endpoint."),
|
|
58
|
+
Transcript: zod.z.array(MxToolboxLookupBimiRecord_BimiTranscriptSchema).describe("Detailed transcript of the DNS lookup process.").nullable().optional(),
|
|
59
|
+
Information: zod.z.array(MxToolboxLookupBimiRecord_BimiInformationItemSchema).describe("List of BIMI record information items (empty if no BIMI record found).").nullable().optional(),
|
|
60
|
+
ArgumentType: zod.z.string().describe("Type of argument (e.g., 'domain')."),
|
|
61
|
+
TimeRecorded: zod.z.string().describe("Timestamp when the lookup was recorded."),
|
|
62
|
+
IsTransitioned: zod.z.boolean().describe("Whether the lookup has transitioned."),
|
|
63
|
+
RelatedLookups: zod.z.array(MxToolboxLookupBimiRecord_BimiRelatedLookupSchema).describe("List of related lookups for additional investigation.").nullable().optional(),
|
|
64
|
+
TimeToComplete: zod.z.string().describe("Time taken to complete the lookup in milliseconds."),
|
|
65
|
+
CommandArgument: zod.z.string().describe("The domain that was looked up."),
|
|
66
|
+
HasSubscriptions: zod.z.boolean().describe("Whether there are monitoring subscriptions for this domain."),
|
|
67
|
+
IsEmptySubDomain: zod.z.boolean().describe("Whether the subdomain is empty."),
|
|
68
|
+
MultiInformation: zod.z.array(zod.z.unknown()).describe("Multi-information array (rarely used).").nullable().optional(),
|
|
69
|
+
DnsServiceProvider: zod.z.string().describe("DNS service provider if detected.").nullable().optional(),
|
|
70
|
+
ResourceRecordType: zod.z.number().int().describe("DNS resource record type number."),
|
|
71
|
+
ReportingNameServer: zod.z.string().describe("Name server that reported the result."),
|
|
72
|
+
EmailServiceProvider: zod.z.string().describe("Email service provider if detected.").nullable().optional(),
|
|
73
|
+
SPF_Subaction_Detail: zod.z.unknown().describe("SPF subaction details (null for BIMI).").nullable().optional(),
|
|
74
|
+
AlertgroupSubscriptionId: zod.z.string().describe("Alert group subscription ID if any.").nullable().optional(),
|
|
75
|
+
DnsServiceProviderIdentifier: zod.z.string().describe("DNS service provider identifier.").nullable().optional()
|
|
76
|
+
}).describe("Response model for BIMI record lookup containing complete diagnostic information.\nInherits all fields from BimiLookupData.");
|
|
77
|
+
const mxToolboxLookupBimiRecord = require_action.action("MX_TOOLBOX_LOOKUP_BIMI_RECORD", {
|
|
78
|
+
slug: "mx_toolbox-lookup-bimi-record",
|
|
79
|
+
name: "Lookup BIMI Record",
|
|
80
|
+
description: "Retrieves BIMI (Brand Indicators for Message Identification) record and diagnostic information for a domain. BIMI allows organizations to display verified logos in email clients. This tool checks: - Whether a BIMI record exists at default._bimi.{domain} - DMARC policy requirements (quarantine or reject needed for BIMI) - DNS resolution details and nameserver information - Related diagnostic checks and recommendations Returns comprehensive lookup data including passed/failed checks, DMARC records, DNS transcript, and related lookups. Use when verifying email branding configuration or troubleshooting BIMI implementation.",
|
|
81
|
+
input: MxToolboxLookupBimiRecordInput,
|
|
82
|
+
output: MxToolboxLookupBimiRecordOutput
|
|
83
|
+
});
|
|
84
|
+
//#endregion
|
|
85
|
+
exports.mxToolboxLookupBimiRecord = mxToolboxLookupBimiRecord;
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=lookup-bimi-record.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-bimi-record.cjs","names":["z","action"],"sources":["../../src/actions/lookup-bimi-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupBimiRecordInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to perform BIMI lookup on (e.g., 'example.com', 'google.com').\"),\n}).describe(\"Request model for BIMI record lookup.\");\nconst MxToolboxLookupBimiRecord_BimiCheckResultSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the check.\"),\n Url: z.string().describe(\"URL with more details about this check.\"),\n Info: z.string().describe(\"Information about the check result.\"),\n Name: z.string().describe(\"Name of the BIMI diagnostic check.\"),\n IsExcludedByUser: z.boolean().describe(\"Whether this check is excluded by the user.\"),\n PublicDescription: z.string().describe(\"Public description if available.\").nullable().optional(),\n}).describe(\"Represents a diagnostic check result (passed, failed, or warning).\");\nconst MxToolboxLookupBimiRecord_BimiCertificateSummarySchema: z.ZodTypeAny = z.object({\n Issuer: z.string().describe(\"Certificate issuer information.\").nullable().optional(),\n Serial: z.string().describe(\"Certificate serial number.\").nullable().optional(),\n Status: z.string().describe(\"Certificate status (e.g., 'Valid').\").nullable().optional(),\n Expires: z.string().describe(\"Human-readable expiration time remaining.\").nullable().optional(),\n Subject: z.string().describe(\"Certificate subject information.\").nullable().optional(),\n ValidTo: z.string().describe(\"Certificate valid to date/time.\").nullable().optional(),\n Algorithm: z.string().describe(\"Signing algorithm used (e.g., 'sha256RSA').\").nullable().optional(),\n PublicUrl: z.string().describe(\"Public URL of the certificate PEM file.\").nullable().optional(),\n ValidFrom: z.string().describe(\"Certificate valid from date/time.\").nullable().optional(),\n}).describe(\"Certificate summary details for VMC (Verified Mark Certificate).\");\nconst MxToolboxLookupBimiRecord_BimiCustomDataSchema: z.ZodTypeAny = z.object({\n logoUrl: z.string().describe(\"URL of the BIMI logo if found.\").nullable().optional(),\n dmarcRecords: z.array(z.string()).describe(\"DMARC records found for the domain.\").nullable().optional(),\n certificateErrors: z.array(z.string()).describe(\"Certificate validation errors.\").nullable().optional(),\n certificateSummary: MxToolboxLookupBimiRecord_BimiCertificateSummarySchema.nullable().optional(),\n logoValidationErrors: z.array(z.string()).describe(\"Logo validation errors.\").nullable().optional(),\n}).describe(\"Custom data specific to BIMI lookups.\");\nconst MxToolboxLookupBimiRecord_BimiTranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Full transcript showing DNS queries and results.\"),\n}).describe(\"Detailed transcript of the BIMI lookup process.\");\nconst MxToolboxLookupBimiRecord_BimiInformationItemSchema: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"BIMI tag name (e.g., 'v', 'l', 'a') or empty for full record/extrainfo.\"),\n Name: z.string().describe(\"Human-readable name for the tag (e.g., 'Version', 'Locations', 'record').\"),\n TagValue: z.string().describe(\"Value assigned to the BIMI tag.\"),\n Description: z.string().describe(\"Detailed description of the tag's purpose and value.\"),\n}).describe(\"Represents a BIMI record tag information item.\");\nconst MxToolboxLookupBimiRecord_BimiRelatedLookupSchema: z.ZodTypeAny = z.object({\n URL: z.string().describe(\"API URL to perform the related lookup.\"),\n Name: z.string().describe(\"Name of the related lookup.\"),\n Command: z.string().describe(\"Command type for the related lookup.\"),\n CommandArgument: z.string().describe(\"Argument for the related lookup command.\"),\n}).describe(\"Related lookup that can be performed for additional information.\");\nexport const MxToolboxLookupBimiRecordOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup.\").nullable().optional(),\n MxRep: z.number().int().describe(\"MX reputation score.\"),\n Errors: z.array(z.unknown()).describe(\"List of errors encountered.\").nullable().optional(),\n Failed: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe(\"List of diagnostic checks that failed.\").nullable().optional(),\n Passed: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe(\"List of diagnostic checks that passed.\").nullable().optional(),\n Command: z.string().describe(\"Command executed (always 'bimi' for BIMI lookups).\"),\n IsError: z.boolean().describe(\"Whether an error occurred during the lookup.\"),\n Records: z.array(z.string()).describe(\"List of BIMI records found (often empty if no record).\").nullable().optional(),\n Timeouts: z.array(z.unknown()).describe(\"List of timeouts if any.\").nullable().optional(),\n Warnings: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe(\"List of warning checks.\").nullable().optional(),\n RelatedIP: z.string().describe(\"Related IP address if applicable.\").nullable().optional(),\n CustomData: MxToolboxLookupBimiRecord_BimiCustomDataSchema.nullable().optional(),\n IsEndpoint: z.boolean().describe(\"Whether this is an endpoint.\"),\n Transcript: z.array(MxToolboxLookupBimiRecord_BimiTranscriptSchema).describe(\"Detailed transcript of the DNS lookup process.\").nullable().optional(),\n Information: z.array(MxToolboxLookupBimiRecord_BimiInformationItemSchema).describe(\"List of BIMI record information items (empty if no BIMI record found).\").nullable().optional(),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'domain').\"),\n TimeRecorded: z.string().describe(\"Timestamp when the lookup was recorded.\"),\n IsTransitioned: z.boolean().describe(\"Whether the lookup has transitioned.\"),\n RelatedLookups: z.array(MxToolboxLookupBimiRecord_BimiRelatedLookupSchema).describe(\"List of related lookups for additional investigation.\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Time taken to complete the lookup in milliseconds.\"),\n CommandArgument: z.string().describe(\"The domain that was looked up.\"),\n HasSubscriptions: z.boolean().describe(\"Whether there are monitoring subscriptions for this domain.\"),\n IsEmptySubDomain: z.boolean().describe(\"Whether the subdomain is empty.\"),\n MultiInformation: z.array(z.unknown()).describe(\"Multi-information array (rarely used).\").nullable().optional(),\n DnsServiceProvider: z.string().describe(\"DNS service provider if detected.\").nullable().optional(),\n ResourceRecordType: z.number().int().describe(\"DNS resource record type number.\"),\n ReportingNameServer: z.string().describe(\"Name server that reported the result.\"),\n EmailServiceProvider: z.string().describe(\"Email service provider if detected.\").nullable().optional(),\n SPF_Subaction_Detail: z.unknown().describe(\"SPF subaction details (null for BIMI).\").nullable().optional(),\n AlertgroupSubscriptionId: z.string().describe(\"Alert group subscription ID if any.\").nullable().optional(),\n DnsServiceProviderIdentifier: z.string().describe(\"DNS service provider identifier.\").nullable().optional(),\n}).describe(\"Response model for BIMI record lookup containing complete diagnostic information.\\nInherits all fields from BimiLookupData.\");\n\nexport const mxToolboxLookupBimiRecord = action(\"MX_TOOLBOX_LOOKUP_BIMI_RECORD\", {\n slug: \"mx_toolbox-lookup-bimi-record\",\n name: \"Lookup BIMI Record\",\n description: \"Retrieves BIMI (Brand Indicators for Message Identification) record and diagnostic information for a domain. BIMI allows organizations to display verified logos in email clients. This tool checks: - Whether a BIMI record exists at default._bimi.{domain} - DMARC policy requirements (quarantine or reject needed for BIMI) - DNS resolution details and nameserver information - Related diagnostic checks and recommendations Returns comprehensive lookup data including passed/failed checks, DMARC records, DNS transcript, and related lookups. Use when verifying email branding configuration or troubleshooting BIMI implementation.\",\n input: MxToolboxLookupBimiRecordInput,\n output: MxToolboxL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;CACxE,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAChF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,6HAA6H;AAEzI,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,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/lookup-bimi-record.d.ts
|
|
4
|
+
declare const MxToolboxLookupBimiRecordInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupBimiRecordOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupBimiRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupBimiRecord };
|
|
9
|
+
//# sourceMappingURL=lookup-bimi-record.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-bimi-record.d.cts","names":[],"sources":["../../src/actions/lookup-bimi-record.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEK;AAAA,cA0CvC,+BAAA,EAAiC,CAAA,CAAE,UAgC0F;AAAA,cAE7H,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-bimi-record.d.ts
|
|
4
|
+
declare const MxToolboxLookupBimiRecordInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupBimiRecordOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupBimiRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupBimiRecord };
|
|
9
|
+
//# sourceMappingURL=lookup-bimi-record.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-bimi-record.d.mts","names":[],"sources":["../../src/actions/lookup-bimi-record.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEK;AAAA,cA0CvC,+BAAA,EAAiC,CAAA,CAAE,UAgC0F;AAAA,cAE7H,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/lookup-bimi-record.ts
|
|
4
|
+
const MxToolboxLookupBimiRecordInput = z.object({ domain: z.string().describe("The domain to perform BIMI lookup on (e.g., 'example.com', 'google.com').") }).describe("Request model for BIMI record lookup.");
|
|
5
|
+
const MxToolboxLookupBimiRecord_BimiCheckResultSchema = z.object({
|
|
6
|
+
ID: z.number().int().describe("Unique identifier for the check."),
|
|
7
|
+
Url: z.string().describe("URL with more details about this check."),
|
|
8
|
+
Info: z.string().describe("Information about the check result."),
|
|
9
|
+
Name: z.string().describe("Name of the BIMI diagnostic check."),
|
|
10
|
+
IsExcludedByUser: z.boolean().describe("Whether this check is excluded by the user."),
|
|
11
|
+
PublicDescription: z.string().describe("Public description if available.").nullable().optional()
|
|
12
|
+
}).describe("Represents a diagnostic check result (passed, failed, or warning).");
|
|
13
|
+
const MxToolboxLookupBimiRecord_BimiCertificateSummarySchema = z.object({
|
|
14
|
+
Issuer: z.string().describe("Certificate issuer information.").nullable().optional(),
|
|
15
|
+
Serial: z.string().describe("Certificate serial number.").nullable().optional(),
|
|
16
|
+
Status: z.string().describe("Certificate status (e.g., 'Valid').").nullable().optional(),
|
|
17
|
+
Expires: z.string().describe("Human-readable expiration time remaining.").nullable().optional(),
|
|
18
|
+
Subject: z.string().describe("Certificate subject information.").nullable().optional(),
|
|
19
|
+
ValidTo: z.string().describe("Certificate valid to date/time.").nullable().optional(),
|
|
20
|
+
Algorithm: z.string().describe("Signing algorithm used (e.g., 'sha256RSA').").nullable().optional(),
|
|
21
|
+
PublicUrl: z.string().describe("Public URL of the certificate PEM file.").nullable().optional(),
|
|
22
|
+
ValidFrom: z.string().describe("Certificate valid from date/time.").nullable().optional()
|
|
23
|
+
}).describe("Certificate summary details for VMC (Verified Mark Certificate).");
|
|
24
|
+
const MxToolboxLookupBimiRecord_BimiCustomDataSchema = z.object({
|
|
25
|
+
logoUrl: z.string().describe("URL of the BIMI logo if found.").nullable().optional(),
|
|
26
|
+
dmarcRecords: z.array(z.string()).describe("DMARC records found for the domain.").nullable().optional(),
|
|
27
|
+
certificateErrors: z.array(z.string()).describe("Certificate validation errors.").nullable().optional(),
|
|
28
|
+
certificateSummary: MxToolboxLookupBimiRecord_BimiCertificateSummarySchema.nullable().optional(),
|
|
29
|
+
logoValidationErrors: z.array(z.string()).describe("Logo validation errors.").nullable().optional()
|
|
30
|
+
}).describe("Custom data specific to BIMI lookups.");
|
|
31
|
+
const MxToolboxLookupBimiRecord_BimiTranscriptSchema = z.object({ Transcript: z.string().describe("Full transcript showing DNS queries and results.") }).describe("Detailed transcript of the BIMI lookup process.");
|
|
32
|
+
const MxToolboxLookupBimiRecord_BimiInformationItemSchema = z.object({
|
|
33
|
+
Tag: z.string().describe("BIMI tag name (e.g., 'v', 'l', 'a') or empty for full record/extrainfo."),
|
|
34
|
+
Name: z.string().describe("Human-readable name for the tag (e.g., 'Version', 'Locations', 'record')."),
|
|
35
|
+
TagValue: z.string().describe("Value assigned to the BIMI tag."),
|
|
36
|
+
Description: z.string().describe("Detailed description of the tag's purpose and value.")
|
|
37
|
+
}).describe("Represents a BIMI record tag information item.");
|
|
38
|
+
const MxToolboxLookupBimiRecord_BimiRelatedLookupSchema = z.object({
|
|
39
|
+
URL: z.string().describe("API URL to perform the related lookup."),
|
|
40
|
+
Name: z.string().describe("Name of the related lookup."),
|
|
41
|
+
Command: z.string().describe("Command type for the related lookup."),
|
|
42
|
+
CommandArgument: z.string().describe("Argument for the related lookup command.")
|
|
43
|
+
}).describe("Related lookup that can be performed for additional information.");
|
|
44
|
+
const mxToolboxLookupBimiRecord = action("MX_TOOLBOX_LOOKUP_BIMI_RECORD", {
|
|
45
|
+
slug: "mx_toolbox-lookup-bimi-record",
|
|
46
|
+
name: "Lookup BIMI Record",
|
|
47
|
+
description: "Retrieves BIMI (Brand Indicators for Message Identification) record and diagnostic information for a domain. BIMI allows organizations to display verified logos in email clients. This tool checks: - Whether a BIMI record exists at default._bimi.{domain} - DMARC policy requirements (quarantine or reject needed for BIMI) - DNS resolution details and nameserver information - Related diagnostic checks and recommendations Returns comprehensive lookup data including passed/failed checks, DMARC records, DNS transcript, and related lookups. Use when verifying email branding configuration or troubleshooting BIMI implementation.",
|
|
48
|
+
input: MxToolboxLookupBimiRecordInput,
|
|
49
|
+
output: z.object({
|
|
50
|
+
UID: z.string().describe("Unique identifier for the lookup.").nullable().optional(),
|
|
51
|
+
MxRep: z.number().int().describe("MX reputation score."),
|
|
52
|
+
Errors: z.array(z.unknown()).describe("List of errors encountered.").nullable().optional(),
|
|
53
|
+
Failed: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe("List of diagnostic checks that failed.").nullable().optional(),
|
|
54
|
+
Passed: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe("List of diagnostic checks that passed.").nullable().optional(),
|
|
55
|
+
Command: z.string().describe("Command executed (always 'bimi' for BIMI lookups)."),
|
|
56
|
+
IsError: z.boolean().describe("Whether an error occurred during the lookup."),
|
|
57
|
+
Records: z.array(z.string()).describe("List of BIMI records found (often empty if no record).").nullable().optional(),
|
|
58
|
+
Timeouts: z.array(z.unknown()).describe("List of timeouts if any.").nullable().optional(),
|
|
59
|
+
Warnings: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe("List of warning checks.").nullable().optional(),
|
|
60
|
+
RelatedIP: z.string().describe("Related IP address if applicable.").nullable().optional(),
|
|
61
|
+
CustomData: MxToolboxLookupBimiRecord_BimiCustomDataSchema.nullable().optional(),
|
|
62
|
+
IsEndpoint: z.boolean().describe("Whether this is an endpoint."),
|
|
63
|
+
Transcript: z.array(MxToolboxLookupBimiRecord_BimiTranscriptSchema).describe("Detailed transcript of the DNS lookup process.").nullable().optional(),
|
|
64
|
+
Information: z.array(MxToolboxLookupBimiRecord_BimiInformationItemSchema).describe("List of BIMI record information items (empty if no BIMI record found).").nullable().optional(),
|
|
65
|
+
ArgumentType: z.string().describe("Type of argument (e.g., 'domain')."),
|
|
66
|
+
TimeRecorded: z.string().describe("Timestamp when the lookup was recorded."),
|
|
67
|
+
IsTransitioned: z.boolean().describe("Whether the lookup has transitioned."),
|
|
68
|
+
RelatedLookups: z.array(MxToolboxLookupBimiRecord_BimiRelatedLookupSchema).describe("List of related lookups for additional investigation.").nullable().optional(),
|
|
69
|
+
TimeToComplete: z.string().describe("Time taken to complete the lookup in milliseconds."),
|
|
70
|
+
CommandArgument: z.string().describe("The domain that was looked up."),
|
|
71
|
+
HasSubscriptions: z.boolean().describe("Whether there are monitoring subscriptions for this domain."),
|
|
72
|
+
IsEmptySubDomain: z.boolean().describe("Whether the subdomain is empty."),
|
|
73
|
+
MultiInformation: z.array(z.unknown()).describe("Multi-information array (rarely used).").nullable().optional(),
|
|
74
|
+
DnsServiceProvider: z.string().describe("DNS service provider if detected.").nullable().optional(),
|
|
75
|
+
ResourceRecordType: z.number().int().describe("DNS resource record type number."),
|
|
76
|
+
ReportingNameServer: z.string().describe("Name server that reported the result."),
|
|
77
|
+
EmailServiceProvider: z.string().describe("Email service provider if detected.").nullable().optional(),
|
|
78
|
+
SPF_Subaction_Detail: z.unknown().describe("SPF subaction details (null for BIMI).").nullable().optional(),
|
|
79
|
+
AlertgroupSubscriptionId: z.string().describe("Alert group subscription ID if any.").nullable().optional(),
|
|
80
|
+
DnsServiceProviderIdentifier: z.string().describe("DNS service provider identifier.").nullable().optional()
|
|
81
|
+
}).describe("Response model for BIMI record lookup containing complete diagnostic information.\nInherits all fields from BimiLookupData.")
|
|
82
|
+
});
|
|
83
|
+
//#endregion
|
|
84
|
+
export { mxToolboxLookupBimiRecord };
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=lookup-bimi-record.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-bimi-record.mjs","names":[],"sources":["../../src/actions/lookup-bimi-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupBimiRecordInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to perform BIMI lookup on (e.g., 'example.com', 'google.com').\"),\n}).describe(\"Request model for BIMI record lookup.\");\nconst MxToolboxLookupBimiRecord_BimiCheckResultSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the check.\"),\n Url: z.string().describe(\"URL with more details about this check.\"),\n Info: z.string().describe(\"Information about the check result.\"),\n Name: z.string().describe(\"Name of the BIMI diagnostic check.\"),\n IsExcludedByUser: z.boolean().describe(\"Whether this check is excluded by the user.\"),\n PublicDescription: z.string().describe(\"Public description if available.\").nullable().optional(),\n}).describe(\"Represents a diagnostic check result (passed, failed, or warning).\");\nconst MxToolboxLookupBimiRecord_BimiCertificateSummarySchema: z.ZodTypeAny = z.object({\n Issuer: z.string().describe(\"Certificate issuer information.\").nullable().optional(),\n Serial: z.string().describe(\"Certificate serial number.\").nullable().optional(),\n Status: z.string().describe(\"Certificate status (e.g., 'Valid').\").nullable().optional(),\n Expires: z.string().describe(\"Human-readable expiration time remaining.\").nullable().optional(),\n Subject: z.string().describe(\"Certificate subject information.\").nullable().optional(),\n ValidTo: z.string().describe(\"Certificate valid to date/time.\").nullable().optional(),\n Algorithm: z.string().describe(\"Signing algorithm used (e.g., 'sha256RSA').\").nullable().optional(),\n PublicUrl: z.string().describe(\"Public URL of the certificate PEM file.\").nullable().optional(),\n ValidFrom: z.string().describe(\"Certificate valid from date/time.\").nullable().optional(),\n}).describe(\"Certificate summary details for VMC (Verified Mark Certificate).\");\nconst MxToolboxLookupBimiRecord_BimiCustomDataSchema: z.ZodTypeAny = z.object({\n logoUrl: z.string().describe(\"URL of the BIMI logo if found.\").nullable().optional(),\n dmarcRecords: z.array(z.string()).describe(\"DMARC records found for the domain.\").nullable().optional(),\n certificateErrors: z.array(z.string()).describe(\"Certificate validation errors.\").nullable().optional(),\n certificateSummary: MxToolboxLookupBimiRecord_BimiCertificateSummarySchema.nullable().optional(),\n logoValidationErrors: z.array(z.string()).describe(\"Logo validation errors.\").nullable().optional(),\n}).describe(\"Custom data specific to BIMI lookups.\");\nconst MxToolboxLookupBimiRecord_BimiTranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Full transcript showing DNS queries and results.\"),\n}).describe(\"Detailed transcript of the BIMI lookup process.\");\nconst MxToolboxLookupBimiRecord_BimiInformationItemSchema: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"BIMI tag name (e.g., 'v', 'l', 'a') or empty for full record/extrainfo.\"),\n Name: z.string().describe(\"Human-readable name for the tag (e.g., 'Version', 'Locations', 'record').\"),\n TagValue: z.string().describe(\"Value assigned to the BIMI tag.\"),\n Description: z.string().describe(\"Detailed description of the tag's purpose and value.\"),\n}).describe(\"Represents a BIMI record tag information item.\");\nconst MxToolboxLookupBimiRecord_BimiRelatedLookupSchema: z.ZodTypeAny = z.object({\n URL: z.string().describe(\"API URL to perform the related lookup.\"),\n Name: z.string().describe(\"Name of the related lookup.\"),\n Command: z.string().describe(\"Command type for the related lookup.\"),\n CommandArgument: z.string().describe(\"Argument for the related lookup command.\"),\n}).describe(\"Related lookup that can be performed for additional information.\");\nexport const MxToolboxLookupBimiRecordOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup.\").nullable().optional(),\n MxRep: z.number().int().describe(\"MX reputation score.\"),\n Errors: z.array(z.unknown()).describe(\"List of errors encountered.\").nullable().optional(),\n Failed: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe(\"List of diagnostic checks that failed.\").nullable().optional(),\n Passed: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe(\"List of diagnostic checks that passed.\").nullable().optional(),\n Command: z.string().describe(\"Command executed (always 'bimi' for BIMI lookups).\"),\n IsError: z.boolean().describe(\"Whether an error occurred during the lookup.\"),\n Records: z.array(z.string()).describe(\"List of BIMI records found (often empty if no record).\").nullable().optional(),\n Timeouts: z.array(z.unknown()).describe(\"List of timeouts if any.\").nullable().optional(),\n Warnings: z.array(MxToolboxLookupBimiRecord_BimiCheckResultSchema).describe(\"List of warning checks.\").nullable().optional(),\n RelatedIP: z.string().describe(\"Related IP address if applicable.\").nullable().optional(),\n CustomData: MxToolboxLookupBimiRecord_BimiCustomDataSchema.nullable().optional(),\n IsEndpoint: z.boolean().describe(\"Whether this is an endpoint.\"),\n Transcript: z.array(MxToolboxLookupBimiRecord_BimiTranscriptSchema).describe(\"Detailed transcript of the DNS lookup process.\").nullable().optional(),\n Information: z.array(MxToolboxLookupBimiRecord_BimiInformationItemSchema).describe(\"List of BIMI record information items (empty if no BIMI record found).\").nullable().optional(),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'domain').\"),\n TimeRecorded: z.string().describe(\"Timestamp when the lookup was recorded.\"),\n IsTransitioned: z.boolean().describe(\"Whether the lookup has transitioned.\"),\n RelatedLookups: z.array(MxToolboxLookupBimiRecord_BimiRelatedLookupSchema).describe(\"List of related lookups for additional investigation.\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Time taken to complete the lookup in milliseconds.\"),\n CommandArgument: z.string().describe(\"The domain that was looked up.\"),\n HasSubscriptions: z.boolean().describe(\"Whether there are monitoring subscriptions for this domain.\"),\n IsEmptySubDomain: z.boolean().describe(\"Whether the subdomain is empty.\"),\n MultiInformation: z.array(z.unknown()).describe(\"Multi-information array (rarely used).\").nullable().optional(),\n DnsServiceProvider: z.string().describe(\"DNS service provider if detected.\").nullable().optional(),\n ResourceRecordType: z.number().int().describe(\"DNS resource record type number.\"),\n ReportingNameServer: z.string().describe(\"Name server that reported the result.\"),\n EmailServiceProvider: z.string().describe(\"Email service provider if detected.\").nullable().optional(),\n SPF_Subaction_Detail: z.unknown().describe(\"SPF subaction details (null for BIMI).\").nullable().optional(),\n AlertgroupSubscriptionId: z.string().describe(\"Alert group subscription ID if any.\").nullable().optional(),\n DnsServiceProviderIdentifier: z.string().describe(\"DNS service provider identifier.\").nullable().optional(),\n}).describe(\"Response model for BIMI record lookup containing complete diagnostic information.\\nInherits all fields from BimiLookupData.\");\n\nexport const mxToolboxLookupBimiRecord = action(\"MX_TOOLBOX_LOOKUP_BIMI_RECORD\", {\n slug: \"mx_toolbox-lookup-bimi-record\",\n name: \"Lookup BIMI Record\",\n description: \"Retrieves BIMI (Brand Indicators for Message Identification) record and diagnostic information for a domain. BIMI allows organizations to display verified logos in email clients. This tool checks: - Whether a BIMI record exists at default._bimi.{domain} - DMARC policy requirements (quarantine or reject needed for BIMI) - DNS resolution details and nameserver information - Related diagnostic checks and recommendations Returns comprehensive lookup data including passed/failed checks, DMARC records, DNS transcript, and related lookups. Use when verifying email branding configuration or troubleshooting BIMI implementation.\",\n input: MxToolboxLookupBimiRecordInput,\n output: MxToolboxLookupBimiRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACzG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,yDAAuE,EAAE,OAAO;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9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AAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EAChF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,6HAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-blacklist.ts
|
|
4
|
+
const MxToolboxLookupBlacklistInput = zod.z.object({ domain_or_ip: zod.z.string().describe("The domain name or IP address to lookup in blacklists Must be a bare hostname or IP address without protocol prefixes (e.g., no 'http://') or path suffixes.") }).describe("Request model for blacklist lookup");
|
|
5
|
+
const MxToolboxLookupBlacklist_BlacklistInfoSchema = zod.z.object({
|
|
6
|
+
ID: zod.z.number().int().describe("Unique identifier for the blacklist"),
|
|
7
|
+
Url: zod.z.string().describe("URL for more information").nullable().optional(),
|
|
8
|
+
Info: zod.z.string().describe("Additional information about the blacklist entry").nullable().optional(),
|
|
9
|
+
Name: zod.z.string().describe("Name of the blacklist"),
|
|
10
|
+
IsExcludedByUser: zod.z.boolean().default(false).describe("Whether the blacklist is excluded by user").nullable().optional(),
|
|
11
|
+
PublicDescription: zod.z.string().describe("Public description of the blacklist").nullable().optional(),
|
|
12
|
+
BlacklistResponseTime: zod.z.string().describe("Response time in milliseconds").nullable().optional()
|
|
13
|
+
}).describe("Information about a blacklist check result");
|
|
14
|
+
const MxToolboxLookupBlacklist_TimeoutEntrySchema = zod.z.object({
|
|
15
|
+
ID: zod.z.number().int().describe("Unique identifier for the blacklist"),
|
|
16
|
+
Url: zod.z.string().describe("URL for more information").nullable().optional(),
|
|
17
|
+
Info: zod.z.string().describe("Information about the blacklist").nullable().optional(),
|
|
18
|
+
Name: zod.z.string().describe("Name of the blacklist that timed out"),
|
|
19
|
+
IsExcludedByUser: zod.z.boolean().default(false).describe("Whether excluded by user").nullable().optional(),
|
|
20
|
+
PublicDescription: zod.z.string().describe("Public description").nullable().optional()
|
|
21
|
+
}).describe("Information about a blacklist that timed out");
|
|
22
|
+
const MxToolboxLookupBlacklist_TranscriptEntrySchema = zod.z.object({ Transcript: zod.z.string().describe("Transcript text") }).describe("Transcript entry for debugging information");
|
|
23
|
+
const MxToolboxLookupBlacklist_RelatedLookupSchema = zod.z.object({
|
|
24
|
+
URL: zod.z.string().describe("URL for the related lookup"),
|
|
25
|
+
Name: zod.z.string().describe("Name of the related lookup"),
|
|
26
|
+
Command: zod.z.string().describe("Command type"),
|
|
27
|
+
CommandArgument: zod.z.string().describe("Argument for the command")
|
|
28
|
+
}).describe("Related lookup information");
|
|
29
|
+
const MxToolboxLookupBlacklistOutput = zod.z.object({
|
|
30
|
+
UID: zod.z.string().describe("Unique identifier for the lookup").nullable().optional(),
|
|
31
|
+
MxRep: zod.z.number().int().describe("MX reputation score (0-100, higher is better)").nullable().optional(),
|
|
32
|
+
Errors: zod.z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe("List of errors encountered during lookup").nullable().optional(),
|
|
33
|
+
Failed: zod.z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe("List of blacklists where the domain/IP is listed (blacklisted)").nullable().optional(),
|
|
34
|
+
Passed: zod.z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe("List of blacklists where the domain/IP is NOT listed (clean)").nullable().optional(),
|
|
35
|
+
Command: zod.z.string().describe("The command that was executed (blacklist)"),
|
|
36
|
+
IsError: zod.z.boolean().describe("Whether an error occurred during lookup"),
|
|
37
|
+
Timeouts: zod.z.array(MxToolboxLookupBlacklist_TimeoutEntrySchema).describe("List of blacklists that timed out during the check").nullable().optional(),
|
|
38
|
+
Warnings: zod.z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe("List of warnings encountered during lookup").nullable().optional(),
|
|
39
|
+
RelatedIP: zod.z.string().describe("Related IP address if applicable").nullable().optional(),
|
|
40
|
+
Transcript: zod.z.array(MxToolboxLookupBlacklist_TranscriptEntrySchema).describe("Debug transcript information").nullable().optional(),
|
|
41
|
+
ArgumentType: zod.z.string().describe("Type of argument (domain or IP)"),
|
|
42
|
+
TimeRecorded: zod.z.string().describe("Timestamp when the lookup was recorded").nullable().optional(),
|
|
43
|
+
RelatedLookups: zod.z.array(MxToolboxLookupBlacklist_RelatedLookupSchema).describe("Related lookup suggestions").nullable().optional(),
|
|
44
|
+
TimeToComplete: zod.z.string().describe("Time taken to complete the lookup in milliseconds"),
|
|
45
|
+
CommandArgument: zod.z.string().describe("The domain or IP address that was checked"),
|
|
46
|
+
HasSubscriptions: zod.z.boolean().default(false).describe("Whether there are active monitoring subscriptions").nullable().optional()
|
|
47
|
+
}).describe("Response from MX Toolbox blacklist lookup");
|
|
48
|
+
const mxToolboxLookupBlacklist = require_action.action("MX_TOOLBOX_LOOKUP_BLACKLIST", {
|
|
49
|
+
slug: "mx_toolbox-lookup-blacklist",
|
|
50
|
+
name: "Lookup Blacklist",
|
|
51
|
+
description: "Tool to perform a blacklist check on a domain or IP. Use when you need to verify whether a domain or IP is listed in common blacklists.",
|
|
52
|
+
input: MxToolboxLookupBlacklistInput,
|
|
53
|
+
output: MxToolboxLookupBlacklistOutput
|
|
54
|
+
});
|
|
55
|
+
//#endregion
|
|
56
|
+
exports.mxToolboxLookupBlacklist = mxToolboxLookupBlacklist;
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=lookup-blacklist.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-blacklist.cjs","names":["z","action"],"sources":["../../src/actions/lookup-blacklist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupBlacklistInput: z.ZodTypeAny = z.object({\n domain_or_ip: z.string().describe(\"The domain name or IP address to lookup in blacklists Must be a bare hostname or IP address without protocol prefixes (e.g., no 'http://') or path suffixes.\"),\n}).describe(\"Request model for blacklist lookup\");\nconst MxToolboxLookupBlacklist_BlacklistInfoSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the blacklist\"),\n Url: z.string().describe(\"URL for more information\").nullable().optional(),\n Info: z.string().describe(\"Additional information about the blacklist entry\").nullable().optional(),\n Name: z.string().describe(\"Name of the blacklist\"),\n IsExcludedByUser: z.boolean().default(false).describe(\"Whether the blacklist is excluded by user\").nullable().optional(),\n PublicDescription: z.string().describe(\"Public description of the blacklist\").nullable().optional(),\n BlacklistResponseTime: z.string().describe(\"Response time in milliseconds\").nullable().optional(),\n}).describe(\"Information about a blacklist check result\");\nconst MxToolboxLookupBlacklist_TimeoutEntrySchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the blacklist\"),\n Url: z.string().describe(\"URL for more information\").nullable().optional(),\n Info: z.string().describe(\"Information about the blacklist\").nullable().optional(),\n Name: z.string().describe(\"Name of the blacklist that timed out\"),\n IsExcludedByUser: z.boolean().default(false).describe(\"Whether excluded by user\").nullable().optional(),\n PublicDescription: z.string().describe(\"Public description\").nullable().optional(),\n}).describe(\"Information about a blacklist that timed out\");\nconst MxToolboxLookupBlacklist_TranscriptEntrySchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Transcript text\"),\n}).describe(\"Transcript entry for debugging information\");\nconst MxToolboxLookupBlacklist_RelatedLookupSchema: z.ZodTypeAny = z.object({\n URL: z.string().describe(\"URL for the related lookup\"),\n Name: z.string().describe(\"Name of the related lookup\"),\n Command: z.string().describe(\"Command type\"),\n CommandArgument: z.string().describe(\"Argument for the command\"),\n}).describe(\"Related lookup information\");\nexport const MxToolboxLookupBlacklistOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup\").nullable().optional(),\n MxRep: z.number().int().describe(\"MX reputation score (0-100, higher is better)\").nullable().optional(),\n Errors: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe(\"List of errors encountered during lookup\").nullable().optional(),\n Failed: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe(\"List of blacklists where the domain/IP is listed (blacklisted)\").nullable().optional(),\n Passed: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe(\"List of blacklists where the domain/IP is NOT listed (clean)\").nullable().optional(),\n Command: z.string().describe(\"The command that was executed (blacklist)\"),\n IsError: z.boolean().describe(\"Whether an error occurred during lookup\"),\n Timeouts: z.array(MxToolboxLookupBlacklist_TimeoutEntrySchema).describe(\"List of blacklists that timed out during the check\").nullable().optional(),\n Warnings: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe(\"List of warnings encountered during lookup\").nullable().optional(),\n RelatedIP: z.string().describe(\"Related IP address if applicable\").nullable().optional(),\n Transcript: z.array(MxToolboxLookupBlacklist_TranscriptEntrySchema).describe(\"Debug transcript information\").nullable().optional(),\n ArgumentType: z.string().describe(\"Type of argument (domain or IP)\"),\n TimeRecorded: z.string().describe(\"Timestamp when the lookup was recorded\").nullable().optional(),\n RelatedLookups: z.array(MxToolboxLookupBlacklist_RelatedLookupSchema).describe(\"Related lookup suggestions\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Time taken to complete the lookup in milliseconds\"),\n CommandArgument: z.string().describe(\"The domain or IP address that was checked\"),\n HasSubscriptions: z.boolean().default(false).describe(\"Whether there are active monitoring subscriptions\").nullable().optional(),\n}).describe(\"Response from MX Toolbox blacklist lookup\");\n\nexport const mxToolboxLookupBlacklist = action(\"MX_TOOLBOX_LOOKUP_BLACKLIST\", {\n slug: \"mx_toolbox-lookup-blacklist\",\n name: \"Lookup Blacklist\",\n description: \"Tool to perform a blacklist check on a domain or IP. Use when you need to verify whether a domain or IP is listed in common blacklists.\",\n input: MxToolboxLookupBlacklistInput,\n output: MxToolboxLookupBlacklistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EAClM,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CA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IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAChF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,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/lookup-blacklist.d.ts
|
|
4
|
+
declare const MxToolboxLookupBlacklistInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupBlacklistOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupBlacklist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupBlacklist };
|
|
9
|
+
//# sourceMappingURL=lookup-blacklist.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-blacklist.d.cts","names":[],"sources":["../../src/actions/lookup-blacklist.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEG;AAAA,cA2BpC,8BAAA,EAAgC,CAAA,CAAE,UAkBS;AAAA,cAE3C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-blacklist.d.ts
|
|
4
|
+
declare const MxToolboxLookupBlacklistInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupBlacklistOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupBlacklist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupBlacklist };
|
|
9
|
+
//# sourceMappingURL=lookup-blacklist.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-blacklist.d.mts","names":[],"sources":["../../src/actions/lookup-blacklist.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEG;AAAA,cA2BpC,8BAAA,EAAgC,CAAA,CAAE,UAkBS;AAAA,cAE3C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/lookup-blacklist.ts
|
|
4
|
+
const MxToolboxLookupBlacklistInput = z.object({ domain_or_ip: z.string().describe("The domain name or IP address to lookup in blacklists Must be a bare hostname or IP address without protocol prefixes (e.g., no 'http://') or path suffixes.") }).describe("Request model for blacklist lookup");
|
|
5
|
+
const MxToolboxLookupBlacklist_BlacklistInfoSchema = z.object({
|
|
6
|
+
ID: z.number().int().describe("Unique identifier for the blacklist"),
|
|
7
|
+
Url: z.string().describe("URL for more information").nullable().optional(),
|
|
8
|
+
Info: z.string().describe("Additional information about the blacklist entry").nullable().optional(),
|
|
9
|
+
Name: z.string().describe("Name of the blacklist"),
|
|
10
|
+
IsExcludedByUser: z.boolean().default(false).describe("Whether the blacklist is excluded by user").nullable().optional(),
|
|
11
|
+
PublicDescription: z.string().describe("Public description of the blacklist").nullable().optional(),
|
|
12
|
+
BlacklistResponseTime: z.string().describe("Response time in milliseconds").nullable().optional()
|
|
13
|
+
}).describe("Information about a blacklist check result");
|
|
14
|
+
const MxToolboxLookupBlacklist_TimeoutEntrySchema = z.object({
|
|
15
|
+
ID: z.number().int().describe("Unique identifier for the blacklist"),
|
|
16
|
+
Url: z.string().describe("URL for more information").nullable().optional(),
|
|
17
|
+
Info: z.string().describe("Information about the blacklist").nullable().optional(),
|
|
18
|
+
Name: z.string().describe("Name of the blacklist that timed out"),
|
|
19
|
+
IsExcludedByUser: z.boolean().default(false).describe("Whether excluded by user").nullable().optional(),
|
|
20
|
+
PublicDescription: z.string().describe("Public description").nullable().optional()
|
|
21
|
+
}).describe("Information about a blacklist that timed out");
|
|
22
|
+
const MxToolboxLookupBlacklist_TranscriptEntrySchema = z.object({ Transcript: z.string().describe("Transcript text") }).describe("Transcript entry for debugging information");
|
|
23
|
+
const MxToolboxLookupBlacklist_RelatedLookupSchema = z.object({
|
|
24
|
+
URL: z.string().describe("URL for the related lookup"),
|
|
25
|
+
Name: z.string().describe("Name of the related lookup"),
|
|
26
|
+
Command: z.string().describe("Command type"),
|
|
27
|
+
CommandArgument: z.string().describe("Argument for the command")
|
|
28
|
+
}).describe("Related lookup information");
|
|
29
|
+
const mxToolboxLookupBlacklist = action("MX_TOOLBOX_LOOKUP_BLACKLIST", {
|
|
30
|
+
slug: "mx_toolbox-lookup-blacklist",
|
|
31
|
+
name: "Lookup Blacklist",
|
|
32
|
+
description: "Tool to perform a blacklist check on a domain or IP. Use when you need to verify whether a domain or IP is listed in common blacklists.",
|
|
33
|
+
input: MxToolboxLookupBlacklistInput,
|
|
34
|
+
output: z.object({
|
|
35
|
+
UID: z.string().describe("Unique identifier for the lookup").nullable().optional(),
|
|
36
|
+
MxRep: z.number().int().describe("MX reputation score (0-100, higher is better)").nullable().optional(),
|
|
37
|
+
Errors: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe("List of errors encountered during lookup").nullable().optional(),
|
|
38
|
+
Failed: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe("List of blacklists where the domain/IP is listed (blacklisted)").nullable().optional(),
|
|
39
|
+
Passed: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe("List of blacklists where the domain/IP is NOT listed (clean)").nullable().optional(),
|
|
40
|
+
Command: z.string().describe("The command that was executed (blacklist)"),
|
|
41
|
+
IsError: z.boolean().describe("Whether an error occurred during lookup"),
|
|
42
|
+
Timeouts: z.array(MxToolboxLookupBlacklist_TimeoutEntrySchema).describe("List of blacklists that timed out during the check").nullable().optional(),
|
|
43
|
+
Warnings: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe("List of warnings encountered during lookup").nullable().optional(),
|
|
44
|
+
RelatedIP: z.string().describe("Related IP address if applicable").nullable().optional(),
|
|
45
|
+
Transcript: z.array(MxToolboxLookupBlacklist_TranscriptEntrySchema).describe("Debug transcript information").nullable().optional(),
|
|
46
|
+
ArgumentType: z.string().describe("Type of argument (domain or IP)"),
|
|
47
|
+
TimeRecorded: z.string().describe("Timestamp when the lookup was recorded").nullable().optional(),
|
|
48
|
+
RelatedLookups: z.array(MxToolboxLookupBlacklist_RelatedLookupSchema).describe("Related lookup suggestions").nullable().optional(),
|
|
49
|
+
TimeToComplete: z.string().describe("Time taken to complete the lookup in milliseconds"),
|
|
50
|
+
CommandArgument: z.string().describe("The domain or IP address that was checked"),
|
|
51
|
+
HasSubscriptions: z.boolean().default(false).describe("Whether there are active monitoring subscriptions").nullable().optional()
|
|
52
|
+
}).describe("Response from MX Toolbox blacklist lookup")
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
export { mxToolboxLookupBlacklist };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=lookup-blacklist.mjs.map
|