@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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-http.d.ts
|
|
4
|
+
declare const MxToolboxLookupHttpInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupHttpOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupHttp: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupHttp };
|
|
9
|
+
//# sourceMappingURL=lookup-http.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-http.d.cts","names":[],"sources":["../../src/actions/lookup-http.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEe;AAAA,cAM3C,yBAAA,EAA2B,CAAA,CAAE,UASe;AAAA,cAE5C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-http.d.ts
|
|
4
|
+
declare const MxToolboxLookupHttpInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupHttpOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupHttp: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupHttp };
|
|
9
|
+
//# sourceMappingURL=lookup-http.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-http.d.mts","names":[],"sources":["../../src/actions/lookup-http.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEe;AAAA,cAM3C,yBAAA,EAA2B,CAAA,CAAE,UASe;AAAA,cAE5C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/lookup-http.ts
|
|
4
|
+
const MxToolboxLookupHttpInput = z.object({ domain: z.string().describe("The domain to perform HTTP diagnostics on (e.g., 'example.com'). Do not include protocol or paths.") }).describe("Request model for the HTTP lookup action.");
|
|
5
|
+
const MxToolboxLookupHttp_LookupHttpResultItemSchema = z.object({
|
|
6
|
+
TTL: z.string().describe("Time-to-live for DNS lookup, if applicable").nullable().optional(),
|
|
7
|
+
Name: z.string().describe("Name/description of the specific test performed"),
|
|
8
|
+
Result: z.string().describe("Outcome or status of the test")
|
|
9
|
+
});
|
|
10
|
+
const mxToolboxLookupHttp = action("MX_TOOLBOX_LOOKUP_HTTP", {
|
|
11
|
+
slug: "mx_toolbox-lookup-http",
|
|
12
|
+
name: "HTTP Lookup",
|
|
13
|
+
description: "Tool to perform an HTTP test on a domain. Use when you need to assess HTTP connectivity and status for a given domain.",
|
|
14
|
+
input: MxToolboxLookupHttpInput,
|
|
15
|
+
output: z.object({
|
|
16
|
+
Domain: z.string().describe("The queried domain name"),
|
|
17
|
+
IPAddress: z.string().describe("Resolved IP address for the domain"),
|
|
18
|
+
IsSuccess: z.boolean().describe("True if the lookup completed successfully"),
|
|
19
|
+
HostChanged: z.boolean().describe("Whether the host IP changed during resolution"),
|
|
20
|
+
Information: z.string().describe("General summary information about the lookup"),
|
|
21
|
+
ResultArray: z.array(MxToolboxLookupHttp_LookupHttpResultItemSchema).describe("Array of detailed test results"),
|
|
22
|
+
ErrorMessage: z.string().describe("Error message if the lookup failed").nullable().optional(),
|
|
23
|
+
ResponseTime: z.string().describe("HTTP response time as reported by the API")
|
|
24
|
+
}).describe("Response model for the HTTP lookup action.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { mxToolboxLookupHttp };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=lookup-http.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-http.mjs","names":[],"sources":["../../src/actions/lookup-http.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupHttpInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to perform HTTP diagnostics on (e.g., 'example.com'). Do not include protocol or paths.\"),\n}).describe(\"Request model for the HTTP lookup action.\");\nconst MxToolboxLookupHttp_LookupHttpResultItemSchema: z.ZodTypeAny = z.object({\n TTL: z.string().describe(\"Time-to-live for DNS lookup, if applicable\").nullable().optional(),\n Name: z.string().describe(\"Name/description of the specific test performed\"),\n Result: z.string().describe(\"Outcome or status of the test\"),\n});\nexport const MxToolboxLookupHttpOutput: z.ZodTypeAny = z.object({\n Domain: z.string().describe(\"The queried domain name\"),\n IPAddress: z.string().describe(\"Resolved IP address for the domain\"),\n IsSuccess: z.boolean().describe(\"True if the lookup completed successfully\"),\n HostChanged: z.boolean().describe(\"Whether the host IP changed during resolution\"),\n Information: z.string().describe(\"General summary information about the lookup\"),\n ResultArray: z.array(MxToolboxLookupHttp_LookupHttpResultItemSchema).describe(\"Array of detailed test results\"),\n ErrorMessage: z.string().describe(\"Error message if the lookup failed\").nullable().optional(),\n ResponseTime: z.string().describe(\"HTTP response time as reported by the API\"),\n}).describe(\"Response model for the HTTP lookup action.\");\n\nexport const mxToolboxLookupHttp = action(\"MX_TOOLBOX_LOOKUP_HTTP\", {\n slug: \"mx_toolbox-lookup-http\",\n name: \"HTTP Lookup\",\n description: \"Tool to perform an HTTP test on a domain. Use when you need to assess HTTP connectivity and status for a given domain.\",\n input: MxToolboxLookupHttpInput,\n output: MxToolboxLookupHttpOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAClI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,iDAA+D,EAAE,OAAO;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC;AAYD,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACnE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;EAC3E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC/E,aAAa,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,gCAAgC;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC/E,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-mta-sts-record.ts
|
|
4
|
+
const MxToolboxLookupMtaStsRecordInput = zod.z.object({ domain: zod.z.string().describe("The domain to perform MTA-STS lookup on.") }).describe("Request model for MTA-STS record lookup.");
|
|
5
|
+
const MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema = zod.z.object({
|
|
6
|
+
ID: zod.z.number().int().describe("Test ID."),
|
|
7
|
+
Url: zod.z.string().describe("URL with more details about this test.").nullable().optional(),
|
|
8
|
+
Info: zod.z.string().describe("Information about the test result."),
|
|
9
|
+
Name: zod.z.string().describe("Name of the test performed.")
|
|
10
|
+
}).describe("Represents a test result (passed, failed, or warning) from the MTA-STS lookup.");
|
|
11
|
+
const MxToolboxLookupMtaStsRecord_MtaStsInfoItemSchema = zod.z.object({
|
|
12
|
+
Tag: zod.z.string().describe("Tag name (e.g., 'v', 'id')."),
|
|
13
|
+
Name: zod.z.string().describe("Descriptive name of the tag."),
|
|
14
|
+
TagValue: zod.z.string().describe("Value of the tag."),
|
|
15
|
+
Description: zod.z.string().describe("Explanation of what this tag means.")
|
|
16
|
+
}).describe("Represents a single information item from the MTA-STS lookup.");
|
|
17
|
+
const MxToolboxLookupMtaStsRecordOutput = zod.z.object({
|
|
18
|
+
domain: zod.z.string().describe("The domain that was queried for MTA-STS records."),
|
|
19
|
+
errors: zod.z.array(zod.z.string()).describe("Any error messages returned during the lookup.").nullable().optional(),
|
|
20
|
+
failed: zod.z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe("List of tests that failed during the MTA-STS lookup.").nullable().optional(),
|
|
21
|
+
passed: zod.z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe("List of tests that passed during the MTA-STS lookup.").nullable().optional(),
|
|
22
|
+
warnings: zod.z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe("List of warnings encountered during the MTA-STS lookup.").nullable().optional(),
|
|
23
|
+
information: zod.z.array(MxToolboxLookupMtaStsRecord_MtaStsInfoItemSchema).describe("Detailed information about the MTA-STS record tags and values.").nullable().optional(),
|
|
24
|
+
record_value: zod.z.string().describe("The actual MTA-STS DNS TXT record value found (e.g., 'v=STSv1; id=20210803T010101;').").nullable().optional(),
|
|
25
|
+
time_to_complete: zod.z.string().describe("Time taken to complete the lookup in milliseconds.").nullable().optional()
|
|
26
|
+
}).describe("Response model for MTA-STS record lookup.");
|
|
27
|
+
const mxToolboxLookupMtaStsRecord = require_action.action("MX_TOOLBOX_LOOKUP_MTA_STS_RECORD", {
|
|
28
|
+
slug: "mx_toolbox-lookup-mta-sts-record",
|
|
29
|
+
name: "Lookup MTA-STS Record",
|
|
30
|
+
description: "Tool to lookup MTA-STS record for a domain. Use when validating mail transport security policy.",
|
|
31
|
+
input: MxToolboxLookupMtaStsRecordInput,
|
|
32
|
+
output: MxToolboxLookupMtaStsRecordOutput
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.mxToolboxLookupMtaStsRecord = mxToolboxLookupMtaStsRecord;
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=lookup-mta-sts-record.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-mta-sts-record.cjs","names":["z","action"],"sources":["../../src/actions/lookup-mta-sts-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupMtaStsRecordInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to perform MTA-STS lookup on.\"),\n}).describe(\"Request model for MTA-STS record lookup.\");\nconst MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Test ID.\"),\n Url: z.string().describe(\"URL with more details about this test.\").nullable().optional(),\n Info: z.string().describe(\"Information about the test result.\"),\n Name: z.string().describe(\"Name of the test performed.\"),\n}).describe(\"Represents a test result (passed, failed, or warning) from the MTA-STS lookup.\");\nconst MxToolboxLookupMtaStsRecord_MtaStsInfoItemSchema: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"Tag name (e.g., 'v', 'id').\"),\n Name: z.string().describe(\"Descriptive name of the tag.\"),\n TagValue: z.string().describe(\"Value of the tag.\"),\n Description: z.string().describe(\"Explanation of what this tag means.\"),\n}).describe(\"Represents a single information item from the MTA-STS lookup.\");\nexport const MxToolboxLookupMtaStsRecordOutput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain that was queried for MTA-STS records.\"),\n errors: z.array(z.string()).describe(\"Any error messages returned during the lookup.\").nullable().optional(),\n failed: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe(\"List of tests that failed during the MTA-STS lookup.\").nullable().optional(),\n passed: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe(\"List of tests that passed during the MTA-STS lookup.\").nullable().optional(),\n warnings: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe(\"List of warnings encountered during the MTA-STS lookup.\").nullable().optional(),\n information: z.array(MxToolboxLookupMtaStsRecord_MtaStsInfoItemSchema).describe(\"Detailed information about the MTA-STS record tags and values.\").nullable().optional(),\n record_value: z.string().describe(\"The actual MTA-STS DNS TXT record value found (e.g., 'v=STSv1; id=20210803T010101;').\").nullable().optional(),\n time_to_complete: z.string().describe(\"Time taken to complete the lookup in milliseconds.\").nullable().optional(),\n}).describe(\"Response model for MTA-STS record lookup.\");\n\nexport const mxToolboxLookupMtaStsRecord = action(\"MX_TOOLBOX_LOOKUP_MTA_STS_RECORD\", {\n slug: \"mx_toolbox-lookup-mta-sts-record\",\n name: \"Lookup MTA-STS Record\",\n description: \"Tool to lookup MTA-STS record for a domain. Use when validating mail transport security policy.\",\n input: MxToolboxLookupMtaStsRecordInput,\n output: MxToolboxLookupMtaStsRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,EACxE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU;CACxC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACzD,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,QAAQA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,UAAUA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,aAAaA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,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-mta-sts-record.d.ts
|
|
4
|
+
declare const MxToolboxLookupMtaStsRecordInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupMtaStsRecordOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupMtaStsRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupMtaStsRecord };
|
|
9
|
+
//# sourceMappingURL=lookup-mta-sts-record.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-mta-sts-record.d.cts","names":[],"sources":["../../src/actions/lookup-mta-sts-record.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEM;AAAA,cAa1C,iCAAA,EAAmC,CAAA,CAAE,UASM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-mta-sts-record.d.ts
|
|
4
|
+
declare const MxToolboxLookupMtaStsRecordInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupMtaStsRecordOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupMtaStsRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupMtaStsRecord };
|
|
9
|
+
//# sourceMappingURL=lookup-mta-sts-record.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-mta-sts-record.d.mts","names":[],"sources":["../../src/actions/lookup-mta-sts-record.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEM;AAAA,cAa1C,iCAAA,EAAmC,CAAA,CAAE,UASM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/lookup-mta-sts-record.ts
|
|
4
|
+
const MxToolboxLookupMtaStsRecordInput = z.object({ domain: z.string().describe("The domain to perform MTA-STS lookup on.") }).describe("Request model for MTA-STS record lookup.");
|
|
5
|
+
const MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema = z.object({
|
|
6
|
+
ID: z.number().int().describe("Test ID."),
|
|
7
|
+
Url: z.string().describe("URL with more details about this test.").nullable().optional(),
|
|
8
|
+
Info: z.string().describe("Information about the test result."),
|
|
9
|
+
Name: z.string().describe("Name of the test performed.")
|
|
10
|
+
}).describe("Represents a test result (passed, failed, or warning) from the MTA-STS lookup.");
|
|
11
|
+
const MxToolboxLookupMtaStsRecord_MtaStsInfoItemSchema = z.object({
|
|
12
|
+
Tag: z.string().describe("Tag name (e.g., 'v', 'id')."),
|
|
13
|
+
Name: z.string().describe("Descriptive name of the tag."),
|
|
14
|
+
TagValue: z.string().describe("Value of the tag."),
|
|
15
|
+
Description: z.string().describe("Explanation of what this tag means.")
|
|
16
|
+
}).describe("Represents a single information item from the MTA-STS lookup.");
|
|
17
|
+
const mxToolboxLookupMtaStsRecord = action("MX_TOOLBOX_LOOKUP_MTA_STS_RECORD", {
|
|
18
|
+
slug: "mx_toolbox-lookup-mta-sts-record",
|
|
19
|
+
name: "Lookup MTA-STS Record",
|
|
20
|
+
description: "Tool to lookup MTA-STS record for a domain. Use when validating mail transport security policy.",
|
|
21
|
+
input: MxToolboxLookupMtaStsRecordInput,
|
|
22
|
+
output: z.object({
|
|
23
|
+
domain: z.string().describe("The domain that was queried for MTA-STS records."),
|
|
24
|
+
errors: z.array(z.string()).describe("Any error messages returned during the lookup.").nullable().optional(),
|
|
25
|
+
failed: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe("List of tests that failed during the MTA-STS lookup.").nullable().optional(),
|
|
26
|
+
passed: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe("List of tests that passed during the MTA-STS lookup.").nullable().optional(),
|
|
27
|
+
warnings: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe("List of warnings encountered during the MTA-STS lookup.").nullable().optional(),
|
|
28
|
+
information: z.array(MxToolboxLookupMtaStsRecord_MtaStsInfoItemSchema).describe("Detailed information about the MTA-STS record tags and values.").nullable().optional(),
|
|
29
|
+
record_value: z.string().describe("The actual MTA-STS DNS TXT record value found (e.g., 'v=STSv1; id=20210803T010101;').").nullable().optional(),
|
|
30
|
+
time_to_complete: z.string().describe("Time taken to complete the lookup in milliseconds.").nullable().optional()
|
|
31
|
+
}).describe("Response model for MTA-STS record lookup.")
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
export { mxToolboxLookupMtaStsRecord };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=lookup-mta-sts-record.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-mta-sts-record.mjs","names":[],"sources":["../../src/actions/lookup-mta-sts-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupMtaStsRecordInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to perform MTA-STS lookup on.\"),\n}).describe(\"Request model for MTA-STS record lookup.\");\nconst MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Test ID.\"),\n Url: z.string().describe(\"URL with more details about this test.\").nullable().optional(),\n Info: z.string().describe(\"Information about the test result.\"),\n Name: z.string().describe(\"Name of the test performed.\"),\n}).describe(\"Represents a test result (passed, failed, or warning) from the MTA-STS lookup.\");\nconst MxToolboxLookupMtaStsRecord_MtaStsInfoItemSchema: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"Tag name (e.g., 'v', 'id').\"),\n Name: z.string().describe(\"Descriptive name of the tag.\"),\n TagValue: z.string().describe(\"Value of the tag.\"),\n Description: z.string().describe(\"Explanation of what this tag means.\"),\n}).describe(\"Represents a single information item from the MTA-STS lookup.\");\nexport const MxToolboxLookupMtaStsRecordOutput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain that was queried for MTA-STS records.\"),\n errors: z.array(z.string()).describe(\"Any error messages returned during the lookup.\").nullable().optional(),\n failed: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe(\"List of tests that failed during the MTA-STS lookup.\").nullable().optional(),\n passed: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe(\"List of tests that passed during the MTA-STS lookup.\").nullable().optional(),\n warnings: z.array(MxToolboxLookupMtaStsRecord_MtaStsTestResultSchema).describe(\"List of warnings encountered during the MTA-STS lookup.\").nullable().optional(),\n information: z.array(MxToolboxLookupMtaStsRecord_MtaStsInfoItemSchema).describe(\"Detailed information about the MTA-STS record tags and values.\").nullable().optional(),\n record_value: z.string().describe(\"The actual MTA-STS DNS TXT record value found (e.g., 'v=STSv1; id=20210803T010101;').\").nullable().optional(),\n time_to_complete: z.string().describe(\"Time taken to complete the lookup in milliseconds.\").nullable().optional(),\n}).describe(\"Response model for MTA-STS record lookup.\");\n\nexport const mxToolboxLookupMtaStsRecord = action(\"MX_TOOLBOX_LOOKUP_MTA_STS_RECORD\", {\n slug: \"mx_toolbox-lookup-mta-sts-record\",\n name: \"Lookup MTA-STS Record\",\n description: \"Tool to lookup MTA-STS record for a domain. Use when validating mail transport security policy.\",\n input: MxToolboxLookupMtaStsRecordInput,\n output: MxToolboxLookupMtaStsRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,EACxE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,qDAAmE,EAAE,OAAO;CAChF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU;CACx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SAAS;EAC/I,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-mx.ts
|
|
4
|
+
const MxToolboxLookupMxInput = zod.z.object({ domain: zod.z.string().describe("Domain name to lookup MX records for (e.g., example.com) Bare hostname only — no protocol prefix (e.g., not 'http://example.com') or path suffix.") }).describe("Request parameters for MX record lookup.");
|
|
5
|
+
const MxToolboxLookupMx_MXRecordSchema = zod.z.object({
|
|
6
|
+
TTL: zod.z.number().int().describe("Time to live in seconds - how long this DNS record should be cached"),
|
|
7
|
+
Exchange: zod.z.string().describe("Mail server hostname (e.g., smtp.google.com)"),
|
|
8
|
+
HostName: zod.z.string().describe("Hostname of the mail server (same as Exchange)").nullable().optional(),
|
|
9
|
+
IPAddress: zod.z.string().describe("IP address (IPv4 or IPv6) of the mail server").nullable().optional(),
|
|
10
|
+
Preference: zod.z.number().int().describe("Priority/preference value for this MX record (lower values have higher priority)"),
|
|
11
|
+
Information: zod.z.string().describe("Human-readable summary containing the exchange hostname, priority, and TTL")
|
|
12
|
+
});
|
|
13
|
+
const MxToolboxLookupMxOutput = zod.z.object({ records: zod.z.array(MxToolboxLookupMx_MXRecordSchema).describe("List of MX records for the domain") }).describe("Response model for MX lookup, encapsulating a list of mail exchange records.");
|
|
14
|
+
const mxToolboxLookupMx = require_action.action("MX_TOOLBOX_LOOKUP_MX", {
|
|
15
|
+
slug: "mx_toolbox-lookup-mx",
|
|
16
|
+
name: "Lookup MX Records",
|
|
17
|
+
description: "Retrieves MX (Mail Exchange) records for a domain. Returns the mail servers responsible for receiving email for the domain, including their priority, hostname, IP address, and TTL. Use this to discover and verify email infrastructure for any domain.",
|
|
18
|
+
input: MxToolboxLookupMxInput,
|
|
19
|
+
output: MxToolboxLookupMxOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.mxToolboxLookupMx = mxToolboxLookupMx;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=lookup-mx.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-mx.cjs","names":["z","action"],"sources":["../../src/actions/lookup-mx.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupMxInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"Domain name to lookup MX records for (e.g., example.com) Bare hostname only — no protocol prefix (e.g., not 'http://example.com') or path suffix.\"),\n}).describe(\"Request parameters for MX record lookup.\");\nconst MxToolboxLookupMx_MXRecordSchema: z.ZodTypeAny = z.object({\n TTL: z.number().int().describe(\"Time to live in seconds - how long this DNS record should be cached\"),\n Exchange: z.string().describe(\"Mail server hostname (e.g., smtp.google.com)\"),\n HostName: z.string().describe(\"Hostname of the mail server (same as Exchange)\").nullable().optional(),\n IPAddress: z.string().describe(\"IP address (IPv4 or IPv6) of the mail server\").nullable().optional(),\n Preference: z.number().int().describe(\"Priority/preference value for this MX record (lower values have higher priority)\"),\n Information: z.string().describe(\"Human-readable summary containing the exchange hostname, priority, and TTL\"),\n});\nexport const MxToolboxLookupMxOutput: z.ZodTypeAny = z.object({\n records: z.array(MxToolboxLookupMx_MXRecordSchema).describe(\"List of MX records for the domain\"),\n}).describe(\"Response model for MX lookup, encapsulating a list of mail exchange records.\");\n\nexport const mxToolboxLookupMx = action(\"MX_TOOLBOX_LOOKUP_MX\", {\n slug: \"mx_toolbox-lookup-mx\",\n name: \"Lookup MX Records\",\n description: \"Retrieves MX (Mail Exchange) records for a domain. Returns the mail servers responsible for receiving email for the domain, including their priority, hostname, IP address, and TTL. Use this to discover and verify email infrastructure for any domain.\",\n input: MxToolboxLookupMxInput,\n output: MxToolboxLookupMxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,EACjL,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC/G,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mCAAmC,EACjG,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAE1F,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,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-mx.d.ts
|
|
4
|
+
declare const MxToolboxLookupMxInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupMxOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupMx: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupMx };
|
|
9
|
+
//# sourceMappingURL=lookup-mx.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-mx.d.cts","names":[],"sources":["../../src/actions/lookup-mx.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEgB;AAAA,cAS1C,uBAAA,EAAyB,CAAA,CAAE,UAEmD;AAAA,cAE9E,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-mx.d.ts
|
|
4
|
+
declare const MxToolboxLookupMxInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupMxOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupMx: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupMx };
|
|
9
|
+
//# sourceMappingURL=lookup-mx.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-mx.d.mts","names":[],"sources":["../../src/actions/lookup-mx.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEgB;AAAA,cAS1C,uBAAA,EAAyB,CAAA,CAAE,UAEmD;AAAA,cAE9E,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/lookup-mx.ts
|
|
4
|
+
const MxToolboxLookupMxInput = z.object({ domain: z.string().describe("Domain name to lookup MX records for (e.g., example.com) Bare hostname only — no protocol prefix (e.g., not 'http://example.com') or path suffix.") }).describe("Request parameters for MX record lookup.");
|
|
5
|
+
const MxToolboxLookupMx_MXRecordSchema = z.object({
|
|
6
|
+
TTL: z.number().int().describe("Time to live in seconds - how long this DNS record should be cached"),
|
|
7
|
+
Exchange: z.string().describe("Mail server hostname (e.g., smtp.google.com)"),
|
|
8
|
+
HostName: z.string().describe("Hostname of the mail server (same as Exchange)").nullable().optional(),
|
|
9
|
+
IPAddress: z.string().describe("IP address (IPv4 or IPv6) of the mail server").nullable().optional(),
|
|
10
|
+
Preference: z.number().int().describe("Priority/preference value for this MX record (lower values have higher priority)"),
|
|
11
|
+
Information: z.string().describe("Human-readable summary containing the exchange hostname, priority, and TTL")
|
|
12
|
+
});
|
|
13
|
+
const mxToolboxLookupMx = action("MX_TOOLBOX_LOOKUP_MX", {
|
|
14
|
+
slug: "mx_toolbox-lookup-mx",
|
|
15
|
+
name: "Lookup MX Records",
|
|
16
|
+
description: "Retrieves MX (Mail Exchange) records for a domain. Returns the mail servers responsible for receiving email for the domain, including their priority, hostname, IP address, and TTL. Use this to discover and verify email infrastructure for any domain.",
|
|
17
|
+
input: MxToolboxLookupMxInput,
|
|
18
|
+
output: z.object({ records: z.array(MxToolboxLookupMx_MXRecordSchema).describe("List of MX records for the domain") }).describe("Response model for MX lookup, encapsulating a list of mail exchange records.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { mxToolboxLookupMx };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=lookup-mx.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-mx.mjs","names":[],"sources":["../../src/actions/lookup-mx.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupMxInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"Domain name to lookup MX records for (e.g., example.com) Bare hostname only — no protocol prefix (e.g., not 'http://example.com') or path suffix.\"),\n}).describe(\"Request parameters for MX record lookup.\");\nconst MxToolboxLookupMx_MXRecordSchema: z.ZodTypeAny = z.object({\n TTL: z.number().int().describe(\"Time to live in seconds - how long this DNS record should be cached\"),\n Exchange: z.string().describe(\"Mail server hostname (e.g., smtp.google.com)\"),\n HostName: z.string().describe(\"Hostname of the mail server (same as Exchange)\").nullable().optional(),\n IPAddress: z.string().describe(\"IP address (IPv4 or IPv6) of the mail server\").nullable().optional(),\n Preference: z.number().int().describe(\"Priority/preference value for this MX record (lower values have higher priority)\"),\n Information: z.string().describe(\"Human-readable summary containing the exchange hostname, priority, and TTL\"),\n});\nexport const MxToolboxLookupMxOutput: z.ZodTypeAny = z.object({\n records: z.array(MxToolboxLookupMx_MXRecordSchema).describe(\"List of MX records for the domain\"),\n}).describe(\"Response model for MX lookup, encapsulating a list of mail exchange records.\");\n\nexport const mxToolboxLookupMx = action(\"MX_TOOLBOX_LOOKUP_MX\", {\n slug: \"mx_toolbox-lookup-mx\",\n name: \"Lookup MX Records\",\n description: \"Retrieves MX (Mail Exchange) records for a domain. Returns the mail servers responsible for receiving email for the domain, including their priority, hostname, IP address, and TTL. Use this to discover and verify email infrastructure for any domain.\",\n input: MxToolboxLookupMxInput,\n output: MxToolboxLookupMxOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,EACjL,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF;CACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC/G,CAAC;AAKD,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mCAAmC,EACjG,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-ping.ts
|
|
4
|
+
const MxToolboxLookupPingInput = zod.z.object({ domain_or_ip: zod.z.string().describe("The domain name or IP address to ping (e.g., 'google.com' or '8.8.8.8').") });
|
|
5
|
+
const MxToolboxLookupPing_TranscriptSchema = zod.z.object({ Transcript: zod.z.string().describe("Transcript text of the ping operation") });
|
|
6
|
+
const MxToolboxLookupPing_PingReplySchema = zod.z.object({
|
|
7
|
+
Asn: zod.z.string().describe("Autonomous System Number information as JSON string, identifying the network owner").nullable().optional(),
|
|
8
|
+
TTL: zod.z.string().describe("Time-to-live value (number of network hops before packet expires)"),
|
|
9
|
+
Time: zod.z.string().describe("Round-trip time in milliseconds (e.g., '<2' means less than 2ms, '15' means 15ms)"),
|
|
10
|
+
Bytes: zod.z.string().describe("Size of the ping packet in bytes"),
|
|
11
|
+
Reply: zod.z.string().describe("Status of the ping reply (e.g., 'Success', 'TimedOut')"),
|
|
12
|
+
IsIpV6: zod.z.string().describe("Whether the IP is IPv6 ('True' or 'False')"),
|
|
13
|
+
"IP Address": zod.z.string().describe("IP address that responded to the ping")
|
|
14
|
+
});
|
|
15
|
+
const MxToolboxLookupPing_RelatedLookupSchema = zod.z.object({
|
|
16
|
+
URL: zod.z.string().describe("URL for the related lookup"),
|
|
17
|
+
Name: zod.z.string().describe("Name of the related lookup"),
|
|
18
|
+
Command: zod.z.string().describe("Command type for the related lookup"),
|
|
19
|
+
CommandArgument: zod.z.string().describe("Argument for the related lookup command")
|
|
20
|
+
});
|
|
21
|
+
const MxToolboxLookupPingOutput = zod.z.object({
|
|
22
|
+
UID: zod.z.string().describe("Unique identifier for the lookup").nullable().optional(),
|
|
23
|
+
MxRep: zod.z.number().int().describe("MX reputation score"),
|
|
24
|
+
Errors: zod.z.array(zod.z.unknown()).describe("List of error messages encountered during the ping operation").nullable().optional(),
|
|
25
|
+
Failed: zod.z.array(zod.z.unknown()).describe("List of failed diagnostic checks (typically empty for successful pings)").nullable().optional(),
|
|
26
|
+
Passed: zod.z.array(zod.z.unknown()).describe("List of passed diagnostic checks").nullable().optional(),
|
|
27
|
+
Command: zod.z.string().describe("The lookup command executed, always 'ping' for this action"),
|
|
28
|
+
IsError: zod.z.boolean().describe("True if the ping operation encountered errors, False if successful"),
|
|
29
|
+
Timeouts: zod.z.array(zod.z.unknown()).describe("List of ping attempts that timed out without response").nullable().optional(),
|
|
30
|
+
Warnings: zod.z.array(zod.z.unknown()).describe("List of warning messages about the ping results").nullable().optional(),
|
|
31
|
+
RelatedIP: zod.z.string().describe("The resolved IP address when a domain name was provided, or the same IP if an IP was provided directly").nullable().optional(),
|
|
32
|
+
Transcript: zod.z.array(MxToolboxLookupPing_TranscriptSchema).describe("Transcript of the ping operation").nullable().optional(),
|
|
33
|
+
Information: zod.z.array(MxToolboxLookupPing_PingReplySchema).describe("List of ping replies (typically 4 attempts) with details including IP address, packet size, round-trip time, TTL, and ASN information").nullable().optional(),
|
|
34
|
+
ArgumentType: zod.z.string().describe("Type of argument provided: 'domain' for domain names, 'ipv4' for IPv4 addresses, or 'ipv6' for IPv6 addresses"),
|
|
35
|
+
TimeRecorded: zod.z.string().describe("ISO 8601 timestamp when the ping lookup was recorded"),
|
|
36
|
+
IsTransitioned: zod.z.boolean().describe("Internal flag indicating if the lookup was transitioned to another system"),
|
|
37
|
+
RelatedLookups: zod.z.array(MxToolboxLookupPing_RelatedLookupSchema).describe("List of related lookup suggestions").nullable().optional(),
|
|
38
|
+
TimeToComplete: zod.z.string().describe("Total time in milliseconds to complete the entire lookup operation"),
|
|
39
|
+
CommandArgument: zod.z.string().describe("The exact domain name or IP address that was pinged"),
|
|
40
|
+
HasSubscriptions: zod.z.boolean().describe("Whether the user has active monitoring subscriptions for this target"),
|
|
41
|
+
IsEmptySubDomain: zod.z.boolean().describe("Indicates if the domain has an empty subdomain component"),
|
|
42
|
+
DnsServiceProvider: zod.z.string().describe("DNS service provider").nullable().optional(),
|
|
43
|
+
ResourceRecordType: zod.z.number().int().describe("DNS resource record type code (0 for ping lookups)"),
|
|
44
|
+
ReportingNameServer: zod.z.string().describe("DNS name server used for domain resolution (null for direct IP pings)").nullable().optional(),
|
|
45
|
+
EmailServiceProvider: zod.z.string().describe("Email service provider").nullable().optional(),
|
|
46
|
+
AlertgroupSubscriptionId: zod.z.string().describe("ID of alert group subscription if monitoring is enabled").nullable().optional()
|
|
47
|
+
});
|
|
48
|
+
const mxToolboxLookupPing = require_action.action("MX_TOOLBOX_LOOKUP_PING", {
|
|
49
|
+
slug: "mx_toolbox-lookup-ping",
|
|
50
|
+
name: "Ping Lookup",
|
|
51
|
+
description: "Performs a ping test to check network connectivity and measure round-trip time to a domain or IP address. Returns detailed ping statistics including response time, TTL (Time-To-Live), packet size, and ASN (Autonomous System Number) information. Useful for diagnosing network connectivity issues, measuring latency, and verifying host availability.",
|
|
52
|
+
input: MxToolboxLookupPingInput,
|
|
53
|
+
output: MxToolboxLookupPingOutput
|
|
54
|
+
});
|
|
55
|
+
//#endregion
|
|
56
|
+
exports.mxToolboxLookupPing = mxToolboxLookupPing;
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=lookup-ping.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-ping.cjs","names":["z","action"],"sources":["../../src/actions/lookup-ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupPingInput: z.ZodTypeAny = z.object({\n domain_or_ip: z.string().describe(\"The domain name or IP address to ping (e.g., 'google.com' or '8.8.8.8').\"),\n});\nconst MxToolboxLookupPing_TranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Transcript text of the ping operation\"),\n});\nconst MxToolboxLookupPing_PingReplySchema: z.ZodTypeAny = z.object({\n Asn: z.string().describe(\"Autonomous System Number information as JSON string, identifying the network owner\").nullable().optional(),\n TTL: z.string().describe(\"Time-to-live value (number of network hops before packet expires)\"),\n Time: z.string().describe(\"Round-trip time in milliseconds (e.g., '<2' means less than 2ms, '15' means 15ms)\"),\n Bytes: z.string().describe(\"Size of the ping packet in bytes\"),\n Reply: z.string().describe(\"Status of the ping reply (e.g., 'Success', 'TimedOut')\"),\n IsIpV6: z.string().describe(\"Whether the IP is IPv6 ('True' or 'False')\"),\n \"IP Address\": z.string().describe(\"IP address that responded to the ping\"),\n});\nconst MxToolboxLookupPing_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 for the related lookup\"),\n CommandArgument: z.string().describe(\"Argument for the related lookup command\"),\n});\nexport const MxToolboxLookupPingOutput: 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 error messages encountered during the ping operation\").nullable().optional(),\n Failed: z.array(z.unknown()).describe(\"List of failed diagnostic checks (typically empty for successful pings)\").nullable().optional(),\n Passed: z.array(z.unknown()).describe(\"List of passed diagnostic checks\").nullable().optional(),\n Command: z.string().describe(\"The lookup command executed, always 'ping' for this action\"),\n IsError: z.boolean().describe(\"True if the ping operation encountered errors, False if successful\"),\n Timeouts: z.array(z.unknown()).describe(\"List of ping attempts that timed out without response\").nullable().optional(),\n Warnings: z.array(z.unknown()).describe(\"List of warning messages about the ping results\").nullable().optional(),\n RelatedIP: z.string().describe(\"The resolved IP address when a domain name was provided, or the same IP if an IP was provided directly\").nullable().optional(),\n Transcript: z.array(MxToolboxLookupPing_TranscriptSchema).describe(\"Transcript of the ping operation\").nullable().optional(),\n Information: z.array(MxToolboxLookupPing_PingReplySchema).describe(\"List of ping replies (typically 4 attempts) with details including IP address, packet size, round-trip time, TTL, and ASN information\").nullable().optional(),\n ArgumentType: z.string().describe(\"Type of argument provided: 'domain' for domain names, 'ipv4' for IPv4 addresses, or 'ipv6' for IPv6 addresses\"),\n TimeRecorded: z.string().describe(\"ISO 8601 timestamp when the ping lookup was recorded\"),\n IsTransitioned: z.boolean().describe(\"Internal flag indicating if the lookup was transitioned to another system\"),\n RelatedLookups: z.array(MxToolboxLookupPing_RelatedLookupSchema).describe(\"List of related lookup suggestions\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Total time in milliseconds to complete the entire lookup operation\"),\n CommandArgument: z.string().describe(\"The exact domain name or IP address that was pinged\"),\n HasSubscriptions: z.boolean().describe(\"Whether the user has active monitoring subscriptions for this target\"),\n IsEmptySubDomain: z.boolean().describe(\"Indicates if the domain has an empty subdomain component\"),\n DnsServiceProvider: z.string().describe(\"DNS service provider\").nullable().optional(),\n ResourceRecordType: z.number().int().describe(\"DNS resource record type code (0 for ping lookups)\"),\n ReportingNameServer: z.string().describe(\"DNS name server used for domain resolution (null for direct IP pings)\").nullable().optional(),\n EmailServiceProvider: z.string().describe(\"Email service provider\").nullable().optional(),\n AlertgroupSubscriptionId: z.string().describe(\"ID of alert group subscription if monitoring is enabled\").nullable().optional(),\n});\n\nexport const mxToolboxLookupPing = action(\"MX_TOOLBOX_LOOKUP_PING\", {\n slug: \"mx_toolbox-lookup-ping\",\n name: \"Ping Lookup\",\n description: \"Performs a ping test to check network connectivity and measure round-trip time to a domain or IP address. Returns detailed ping statistics including response time, TTL (Time-To-Live), packet size, and ASN (Autonomous System Number) information. Useful for diagnosing network connectivity issues, measuring latency, and verifying host availability.\",\n input: MxToolboxLookupPingInput,\n output: MxToolboxLookupPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC9G,CAAC;AACD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO,EAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACzE,CAAC;AACD,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC3E,CAAC;AACD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAChF,CAAC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/actions/lookup-ping.d.ts
|
|
4
|
+
declare const MxToolboxLookupPingInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupPingOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupPing: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupPing };
|
|
9
|
+
//# sourceMappingURL=lookup-ping.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-ping.d.cts","names":[],"sources":["../../src/actions/lookup-ping.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAmBW,yBAAA,EAA2B,CAAA,CAAE,UA0BxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-ping.d.ts
|
|
4
|
+
declare const MxToolboxLookupPingInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupPingOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupPing: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupPing };
|
|
9
|
+
//# sourceMappingURL=lookup-ping.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-ping.d.mts","names":[],"sources":["../../src/actions/lookup-ping.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAmBW,yBAAA,EAA2B,CAAA,CAAE,UA0BxC;AAAA,cAEW,mBAAA,gCAAmB,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-ping.ts
|
|
4
|
+
const MxToolboxLookupPingInput = z.object({ domain_or_ip: z.string().describe("The domain name or IP address to ping (e.g., 'google.com' or '8.8.8.8').") });
|
|
5
|
+
const MxToolboxLookupPing_TranscriptSchema = z.object({ Transcript: z.string().describe("Transcript text of the ping operation") });
|
|
6
|
+
const MxToolboxLookupPing_PingReplySchema = z.object({
|
|
7
|
+
Asn: z.string().describe("Autonomous System Number information as JSON string, identifying the network owner").nullable().optional(),
|
|
8
|
+
TTL: z.string().describe("Time-to-live value (number of network hops before packet expires)"),
|
|
9
|
+
Time: z.string().describe("Round-trip time in milliseconds (e.g., '<2' means less than 2ms, '15' means 15ms)"),
|
|
10
|
+
Bytes: z.string().describe("Size of the ping packet in bytes"),
|
|
11
|
+
Reply: z.string().describe("Status of the ping reply (e.g., 'Success', 'TimedOut')"),
|
|
12
|
+
IsIpV6: z.string().describe("Whether the IP is IPv6 ('True' or 'False')"),
|
|
13
|
+
"IP Address": z.string().describe("IP address that responded to the ping")
|
|
14
|
+
});
|
|
15
|
+
const MxToolboxLookupPing_RelatedLookupSchema = z.object({
|
|
16
|
+
URL: z.string().describe("URL for the related lookup"),
|
|
17
|
+
Name: z.string().describe("Name of the related lookup"),
|
|
18
|
+
Command: z.string().describe("Command type for the related lookup"),
|
|
19
|
+
CommandArgument: z.string().describe("Argument for the related lookup command")
|
|
20
|
+
});
|
|
21
|
+
const mxToolboxLookupPing = action("MX_TOOLBOX_LOOKUP_PING", {
|
|
22
|
+
slug: "mx_toolbox-lookup-ping",
|
|
23
|
+
name: "Ping Lookup",
|
|
24
|
+
description: "Performs a ping test to check network connectivity and measure round-trip time to a domain or IP address. Returns detailed ping statistics including response time, TTL (Time-To-Live), packet size, and ASN (Autonomous System Number) information. Useful for diagnosing network connectivity issues, measuring latency, and verifying host availability.",
|
|
25
|
+
input: MxToolboxLookupPingInput,
|
|
26
|
+
output: z.object({
|
|
27
|
+
UID: z.string().describe("Unique identifier for the lookup").nullable().optional(),
|
|
28
|
+
MxRep: z.number().int().describe("MX reputation score"),
|
|
29
|
+
Errors: z.array(z.unknown()).describe("List of error messages encountered during the ping operation").nullable().optional(),
|
|
30
|
+
Failed: z.array(z.unknown()).describe("List of failed diagnostic checks (typically empty for successful pings)").nullable().optional(),
|
|
31
|
+
Passed: z.array(z.unknown()).describe("List of passed diagnostic checks").nullable().optional(),
|
|
32
|
+
Command: z.string().describe("The lookup command executed, always 'ping' for this action"),
|
|
33
|
+
IsError: z.boolean().describe("True if the ping operation encountered errors, False if successful"),
|
|
34
|
+
Timeouts: z.array(z.unknown()).describe("List of ping attempts that timed out without response").nullable().optional(),
|
|
35
|
+
Warnings: z.array(z.unknown()).describe("List of warning messages about the ping results").nullable().optional(),
|
|
36
|
+
RelatedIP: z.string().describe("The resolved IP address when a domain name was provided, or the same IP if an IP was provided directly").nullable().optional(),
|
|
37
|
+
Transcript: z.array(MxToolboxLookupPing_TranscriptSchema).describe("Transcript of the ping operation").nullable().optional(),
|
|
38
|
+
Information: z.array(MxToolboxLookupPing_PingReplySchema).describe("List of ping replies (typically 4 attempts) with details including IP address, packet size, round-trip time, TTL, and ASN information").nullable().optional(),
|
|
39
|
+
ArgumentType: z.string().describe("Type of argument provided: 'domain' for domain names, 'ipv4' for IPv4 addresses, or 'ipv6' for IPv6 addresses"),
|
|
40
|
+
TimeRecorded: z.string().describe("ISO 8601 timestamp when the ping lookup was recorded"),
|
|
41
|
+
IsTransitioned: z.boolean().describe("Internal flag indicating if the lookup was transitioned to another system"),
|
|
42
|
+
RelatedLookups: z.array(MxToolboxLookupPing_RelatedLookupSchema).describe("List of related lookup suggestions").nullable().optional(),
|
|
43
|
+
TimeToComplete: z.string().describe("Total time in milliseconds to complete the entire lookup operation"),
|
|
44
|
+
CommandArgument: z.string().describe("The exact domain name or IP address that was pinged"),
|
|
45
|
+
HasSubscriptions: z.boolean().describe("Whether the user has active monitoring subscriptions for this target"),
|
|
46
|
+
IsEmptySubDomain: z.boolean().describe("Indicates if the domain has an empty subdomain component"),
|
|
47
|
+
DnsServiceProvider: z.string().describe("DNS service provider").nullable().optional(),
|
|
48
|
+
ResourceRecordType: z.number().int().describe("DNS resource record type code (0 for ping lookups)"),
|
|
49
|
+
ReportingNameServer: z.string().describe("DNS name server used for domain resolution (null for direct IP pings)").nullable().optional(),
|
|
50
|
+
EmailServiceProvider: z.string().describe("Email service provider").nullable().optional(),
|
|
51
|
+
AlertgroupSubscriptionId: z.string().describe("ID of alert group subscription if monitoring is enabled").nullable().optional()
|
|
52
|
+
})
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
export { mxToolboxLookupPing };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=lookup-ping.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-ping.mjs","names":[],"sources":["../../src/actions/lookup-ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupPingInput: z.ZodTypeAny = z.object({\n domain_or_ip: z.string().describe(\"The domain name or IP address to ping (e.g., 'google.com' or '8.8.8.8').\"),\n});\nconst MxToolboxLookupPing_TranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Transcript text of the ping operation\"),\n});\nconst MxToolboxLookupPing_PingReplySchema: z.ZodTypeAny = z.object({\n Asn: z.string().describe(\"Autonomous System Number information as JSON string, identifying the network owner\").nullable().optional(),\n TTL: z.string().describe(\"Time-to-live value (number of network hops before packet expires)\"),\n Time: z.string().describe(\"Round-trip time in milliseconds (e.g., '<2' means less than 2ms, '15' means 15ms)\"),\n Bytes: z.string().describe(\"Size of the ping packet in bytes\"),\n Reply: z.string().describe(\"Status of the ping reply (e.g., 'Success', 'TimedOut')\"),\n IsIpV6: z.string().describe(\"Whether the IP is IPv6 ('True' or 'False')\"),\n \"IP Address\": z.string().describe(\"IP address that responded to the ping\"),\n});\nconst MxToolboxLookupPing_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 for the related lookup\"),\n CommandArgument: z.string().describe(\"Argument for the related lookup command\"),\n});\nexport const MxToolboxLookupPingOutput: 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 error messages encountered during the ping operation\").nullable().optional(),\n Failed: z.array(z.unknown()).describe(\"List of failed diagnostic checks (typically empty for successful pings)\").nullable().optional(),\n Passed: z.array(z.unknown()).describe(\"List of passed diagnostic checks\").nullable().optional(),\n Command: z.string().describe(\"The lookup command executed, always 'ping' for this action\"),\n IsError: z.boolean().describe(\"True if the ping operation encountered errors, False if successful\"),\n Timeouts: z.array(z.unknown()).describe(\"List of ping attempts that timed out without response\").nullable().optional(),\n Warnings: z.array(z.unknown()).describe(\"List of warning messages about the ping results\").nullable().optional(),\n RelatedIP: z.string().describe(\"The resolved IP address when a domain name was provided, or the same IP if an IP was provided directly\").nullable().optional(),\n Transcript: z.array(MxToolboxLookupPing_TranscriptSchema).describe(\"Transcript of the ping operation\").nullable().optional(),\n Information: z.array(MxToolboxLookupPing_PingReplySchema).describe(\"List of ping replies (typically 4 attempts) with details including IP address, packet size, round-trip time, TTL, and ASN information\").nullable().optional(),\n ArgumentType: z.string().describe(\"Type of argument provided: 'domain' for domain names, 'ipv4' for IPv4 addresses, or 'ipv6' for IPv6 addresses\"),\n TimeRecorded: z.string().describe(\"ISO 8601 timestamp when the ping lookup was recorded\"),\n IsTransitioned: z.boolean().describe(\"Internal flag indicating if the lookup was transitioned to another system\"),\n RelatedLookups: z.array(MxToolboxLookupPing_RelatedLookupSchema).describe(\"List of related lookup suggestions\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Total time in milliseconds to complete the entire lookup operation\"),\n CommandArgument: z.string().describe(\"The exact domain name or IP address that was pinged\"),\n HasSubscriptions: z.boolean().describe(\"Whether the user has active monitoring subscriptions for this target\"),\n IsEmptySubDomain: z.boolean().describe(\"Indicates if the domain has an empty subdomain component\"),\n DnsServiceProvider: z.string().describe(\"DNS service provider\").nullable().optional(),\n ResourceRecordType: z.number().int().describe(\"DNS resource record type code (0 for ping lookups)\"),\n ReportingNameServer: z.string().describe(\"DNS name server used for domain resolution (null for direct IP pings)\").nullable().optional(),\n EmailServiceProvider: z.string().describe(\"Email service provider\").nullable().optional(),\n AlertgroupSubscriptionId: z.string().describe(\"ID of alert group subscription if monitoring is enabled\").nullable().optional(),\n});\n\nexport const mxToolboxLookupPing = action(\"MX_TOOLBOX_LOOKUP_PING\", {\n slug: \"mx_toolbox-lookup-ping\",\n name: \"Ping Lookup\",\n description: \"Performs a ping test to check network connectivity and measure round-trip time to a domain or IP address. Returns detailed ping statistics including response time, TTL (Time-To-Live), packet size, and ASN (Autonomous System Number) information. Useful for diagnosing network connectivity issues, measuring latency, and verifying host availability.\",\n input: MxToolboxLookupPingInput,\n output: MxToolboxLookupPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC9G,CAAC;AACD,MAAM,uCAAqD,EAAE,OAAO,EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACzE,CAAC;AACD,MAAM,sCAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC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wB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/lookup-smtp.ts
|
|
4
|
+
const MxToolboxLookupSmtpInput = zod.z.object({ domain: zod.z.string().describe("Domain to perform SMTP test on (must be a valid hostname, e.g. 'google.com')") }).describe("Parameters for SMTP lookup.");
|
|
5
|
+
const MxToolboxLookupSmtp_DiagnosticCheckSchema = zod.z.object({
|
|
6
|
+
ID: zod.z.number().int().describe("Unique identifier for the check"),
|
|
7
|
+
Url: zod.z.string().describe("URL for more information").nullable().optional(),
|
|
8
|
+
Info: zod.z.string().describe("Description or details of the check result"),
|
|
9
|
+
Name: zod.z.string().describe("Name of the diagnostic check"),
|
|
10
|
+
IsExcludedByUser: zod.z.boolean().describe("Whether user has excluded this check").nullable().optional(),
|
|
11
|
+
PublicDescription: zod.z.string().describe("Public description of the issue").nullable().optional()
|
|
12
|
+
}).describe("Represents a diagnostic check result (warning, passed test, failed test, timeout, error, etc.)");
|
|
13
|
+
const MxToolboxLookupSmtpOutput = zod.z.object({
|
|
14
|
+
UID: zod.z.string().describe("Unique identifier for the lookup").nullable().optional(),
|
|
15
|
+
Errors: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Error diagnostic checks").nullable().optional(),
|
|
16
|
+
Failed: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Failed diagnostic checks").nullable().optional(),
|
|
17
|
+
Passed: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Passed diagnostic checks").nullable().optional(),
|
|
18
|
+
Command: zod.z.string().describe("Command executed (e.g., 'smtp')"),
|
|
19
|
+
IsError: zod.z.boolean().describe("Whether the lookup encountered an error"),
|
|
20
|
+
Timeouts: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Timeout diagnostic checks").nullable().optional(),
|
|
21
|
+
Warnings: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Warning diagnostic checks").nullable().optional(),
|
|
22
|
+
Transcript: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Detailed transcript of SMTP session").nullable().optional(),
|
|
23
|
+
Information: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("General information from SMTP test (e.g., banner messages)").nullable().optional(),
|
|
24
|
+
ArgumentType: zod.z.string().describe("Type of argument (e.g., 'domain')"),
|
|
25
|
+
TimeRecorded: zod.z.string().describe("Timestamp of the lookup"),
|
|
26
|
+
RelatedLookups: zod.z.array(zod.z.object({})).describe("Related lookup suggestions").nullable().optional(),
|
|
27
|
+
TimeToComplete: zod.z.string().describe("Time taken to complete lookup in ms"),
|
|
28
|
+
CommandArgument: zod.z.string().describe("The domain that was queried"),
|
|
29
|
+
ReportingNameServer: zod.z.string().describe("Name server that reported the results").nullable().optional()
|
|
30
|
+
}).passthrough().describe("Response model for SMTP lookup action containing complete diagnostic results.\nInherits all fields from SMTPData including UID, Command, Failed, Warnings, Passed,\nTimeouts, Errors, Information, Transcript, and related lookups.");
|
|
31
|
+
const mxToolboxLookupSmtp = require_action.action("MX_TOOLBOX_LOOKUP_SMTP", {
|
|
32
|
+
slug: "mx_toolbox-lookup-smtp",
|
|
33
|
+
name: "SMTP Lookup",
|
|
34
|
+
description: "Tool to perform an SMTP connectivity test on a domain. Returns diagnostic results including connection status, DNS checks, TLS support, and other email deliverability indicators. Use when verifying SMTP server configuration or troubleshooting email delivery issues for a domain.",
|
|
35
|
+
input: MxToolboxLookupSmtpInput,
|
|
36
|
+
output: MxToolboxLookupSmtpOutput
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
exports.mxToolboxLookupSmtp = mxToolboxLookupSmtp;
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=lookup-smtp.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-smtp.cjs","names":["z","action"],"sources":["../../src/actions/lookup-smtp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupSmtpInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"Domain to perform SMTP test on (must be a valid hostname, e.g. 'google.com')\"),\n}).describe(\"Parameters for SMTP lookup.\");\nconst MxToolboxLookupSmtp_DiagnosticCheckSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the check\"),\n Url: z.string().describe(\"URL for more information\").nullable().optional(),\n Info: z.string().describe(\"Description or details of the check result\"),\n Name: z.string().describe(\"Name of the diagnostic check\"),\n IsExcludedByUser: z.boolean().describe(\"Whether user has excluded this check\").nullable().optional(),\n PublicDescription: z.string().describe(\"Public description of the issue\").nullable().optional(),\n}).describe(\"Represents a diagnostic check result (warning, passed test, failed test, timeout, error, etc.)\");\nexport const MxToolboxLookupSmtpOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup\").nullable().optional(),\n Errors: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe(\"Error diagnostic checks\").nullable().optional(),\n Failed: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe(\"Failed diagnostic checks\").nullable().optional(),\n Passed: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe(\"Passed diagnostic checks\").nullable().optional(),\n Command: z.string().describe(\"Command executed (e.g., 'smtp')\"),\n IsError: z.boolean().describe(\"Whether the lookup encountered an error\"),\n Timeouts: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe(\"Timeout diagnostic checks\").nullable().optional(),\n Warnings: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe(\"Warning diagnostic checks\").nullable().optional(),\n Transcript: z.array(z.record(z.string(), z.unknown())).describe(\"Detailed transcript of SMTP session\").nullable().optional(),\n Information: z.array(z.record(z.string(), z.unknown())).describe(\"General information from SMTP test (e.g., banner messages)\").nullable().optional(),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'domain')\"),\n TimeRecorded: z.string().describe(\"Timestamp of the lookup\"),\n RelatedLookups: z.array(z.object({})).describe(\"Related lookup suggestions\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Time taken to complete lookup in ms\"),\n CommandArgument: z.string().describe(\"The domain that was queried\"),\n ReportingNameServer: z.string().describe(\"Name server that reported the results\").nullable().optional(),\n}).passthrough().describe(\"Response model for SMTP lookup action containing complete diagnostic results.\\nInherits all fields from SMTPData including UID, Command, Failed, Warnings, Passed,\\nTimeouts, Errors, Information, Transcript, and related lookups.\");\n\nexport const mxToolboxLookupSmtp = action(\"MX_TOOLBOX_LOOKUP_SMTP\", {\n slug: \"mx_toolbox-lookup-smtp\",\n name: \"SMTP Lookup\",\n description: \"Tool to perform an SMTP connectivity test on a domain. Returns diagnostic results including connection status, DNS checks, TLS support, and other email deliverability indicators. Use when verifying SMTP server configuration or troubleshooting email delivery issues for a domain.\",\n input: MxToolboxLookupSmtpInput,\n output: MxToolboxLookupSmtpOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EAC5G,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,C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AAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACrE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAC3D,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACzE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAClE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qOAAqO;AAE/P,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,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-smtp.d.ts
|
|
4
|
+
declare const MxToolboxLookupSmtpInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupSmtpOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupSmtp: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupSmtp };
|
|
9
|
+
//# sourceMappingURL=lookup-smtp.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-smtp.d.cts","names":[],"sources":["../../src/actions/lookup-smtp.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEC;AAAA,cAS7B,yBAAA,EAA2B,CAAA,CAAE,UAiBsN;AAAA,cAEnP,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/lookup-smtp.d.ts
|
|
4
|
+
declare const MxToolboxLookupSmtpInput: z.ZodTypeAny;
|
|
5
|
+
declare const MxToolboxLookupSmtpOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mxToolboxLookupSmtp: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mxToolboxLookupSmtp };
|
|
9
|
+
//# sourceMappingURL=lookup-smtp.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookup-smtp.d.mts","names":[],"sources":["../../src/actions/lookup-smtp.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEC;AAAA,cAS7B,yBAAA,EAA2B,CAAA,CAAE,UAiBsN;AAAA,cAEnP,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|