@keystrokehq/mx_toolbox 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/lookup-bimi-record.cjs +33 -33
  4. package/dist/actions/lookup-bimi-record.cjs.map +1 -1
  5. package/dist/actions/lookup-bimi-record.d.cts +88 -3
  6. package/dist/actions/lookup-bimi-record.d.cts.map +1 -1
  7. package/dist/actions/lookup-bimi-record.d.mts +88 -3
  8. package/dist/actions/lookup-bimi-record.d.mts.map +1 -1
  9. package/dist/actions/lookup-bimi-record.mjs +33 -33
  10. package/dist/actions/lookup-bimi-record.mjs.map +1 -1
  11. package/dist/actions/lookup-blacklist.cjs +18 -18
  12. package/dist/actions/lookup-blacklist.cjs.map +1 -1
  13. package/dist/actions/lookup-blacklist.d.cts +71 -3
  14. package/dist/actions/lookup-blacklist.d.cts.map +1 -1
  15. package/dist/actions/lookup-blacklist.d.mts +71 -3
  16. package/dist/actions/lookup-blacklist.d.mts.map +1 -1
  17. package/dist/actions/lookup-blacklist.mjs +18 -18
  18. package/dist/actions/lookup-blacklist.mjs.map +1 -1
  19. package/dist/actions/lookup-dkim.cjs +25 -25
  20. package/dist/actions/lookup-dkim.cjs.map +1 -1
  21. package/dist/actions/lookup-dkim.d.cts +77 -3
  22. package/dist/actions/lookup-dkim.d.cts.map +1 -1
  23. package/dist/actions/lookup-dkim.d.mts +77 -3
  24. package/dist/actions/lookup-dkim.d.mts.map +1 -1
  25. package/dist/actions/lookup-dkim.mjs +25 -25
  26. package/dist/actions/lookup-dkim.mjs.map +1 -1
  27. package/dist/actions/lookup-dmarc.cjs +3 -3
  28. package/dist/actions/lookup-dmarc.cjs.map +1 -1
  29. package/dist/actions/lookup-dmarc.d.cts +28 -3
  30. package/dist/actions/lookup-dmarc.d.cts.map +1 -1
  31. package/dist/actions/lookup-dmarc.d.mts +28 -3
  32. package/dist/actions/lookup-dmarc.d.mts.map +1 -1
  33. package/dist/actions/lookup-dmarc.mjs +3 -3
  34. package/dist/actions/lookup-dmarc.mjs.map +1 -1
  35. package/dist/actions/lookup-dns.cjs +11 -11
  36. package/dist/actions/lookup-dns.cjs.map +1 -1
  37. package/dist/actions/lookup-dns.d.cts +64 -3
  38. package/dist/actions/lookup-dns.d.cts.map +1 -1
  39. package/dist/actions/lookup-dns.d.mts +64 -3
  40. package/dist/actions/lookup-dns.d.mts.map +1 -1
  41. package/dist/actions/lookup-dns.mjs +11 -11
  42. package/dist/actions/lookup-dns.mjs.map +1 -1
  43. package/dist/actions/lookup-http.cjs +10 -10
  44. package/dist/actions/lookup-http.cjs.map +1 -1
  45. package/dist/actions/lookup-http.d.cts +20 -3
  46. package/dist/actions/lookup-http.d.cts.map +1 -1
  47. package/dist/actions/lookup-http.d.mts +20 -3
  48. package/dist/actions/lookup-http.d.mts.map +1 -1
  49. package/dist/actions/lookup-http.mjs +10 -10
  50. package/dist/actions/lookup-http.mjs.map +1 -1
  51. package/dist/actions/lookup-mta-sts-record.cjs +11 -11
  52. package/dist/actions/lookup-mta-sts-record.cjs.map +1 -1
  53. package/dist/actions/lookup-mta-sts-record.d.cts +36 -3
  54. package/dist/actions/lookup-mta-sts-record.d.cts.map +1 -1
  55. package/dist/actions/lookup-mta-sts-record.d.mts +36 -3
  56. package/dist/actions/lookup-mta-sts-record.d.mts.map +1 -1
  57. package/dist/actions/lookup-mta-sts-record.mjs +11 -11
  58. package/dist/actions/lookup-mta-sts-record.mjs.map +1 -1
  59. package/dist/actions/lookup-mx.cjs +6 -6
  60. package/dist/actions/lookup-mx.cjs.map +1 -1
  61. package/dist/actions/lookup-mx.d.cts +16 -3
  62. package/dist/actions/lookup-mx.d.cts.map +1 -1
  63. package/dist/actions/lookup-mx.d.mts +16 -3
  64. package/dist/actions/lookup-mx.d.mts.map +1 -1
  65. package/dist/actions/lookup-mx.mjs +6 -6
  66. package/dist/actions/lookup-mx.mjs.map +1 -1
  67. package/dist/actions/lookup-ping.cjs +25 -25
  68. package/dist/actions/lookup-ping.cjs.map +1 -1
  69. package/dist/actions/lookup-ping.d.cts +48 -3
  70. package/dist/actions/lookup-ping.d.cts.map +1 -1
  71. package/dist/actions/lookup-ping.d.mts +48 -3
  72. package/dist/actions/lookup-ping.d.mts.map +1 -1
  73. package/dist/actions/lookup-ping.mjs +25 -25
  74. package/dist/actions/lookup-ping.mjs.map +1 -1
  75. package/dist/actions/lookup-smtp.cjs +11 -11
  76. package/dist/actions/lookup-smtp.cjs.map +1 -1
  77. package/dist/actions/lookup-smtp.d.cts +59 -3
  78. package/dist/actions/lookup-smtp.d.cts.map +1 -1
  79. package/dist/actions/lookup-smtp.d.mts +59 -3
  80. package/dist/actions/lookup-smtp.d.mts.map +1 -1
  81. package/dist/actions/lookup-smtp.mjs +11 -11
  82. package/dist/actions/lookup-smtp.mjs.map +1 -1
  83. package/dist/actions/lookup-spf.cjs +33 -33
  84. package/dist/actions/lookup-spf.cjs.map +1 -1
  85. package/dist/actions/lookup-spf.d.cts +91 -3
  86. package/dist/actions/lookup-spf.d.cts.map +1 -1
  87. package/dist/actions/lookup-spf.d.mts +91 -3
  88. package/dist/actions/lookup-spf.d.mts.map +1 -1
  89. package/dist/actions/lookup-spf.mjs +33 -33
  90. package/dist/actions/lookup-spf.mjs.map +1 -1
  91. package/dist/actions/monitor-status.cjs +8 -8
  92. package/dist/actions/monitor-status.cjs.map +1 -1
  93. package/dist/actions/monitor-status.d.cts +17 -3
  94. package/dist/actions/monitor-status.d.cts.map +1 -1
  95. package/dist/actions/monitor-status.d.mts +17 -3
  96. package/dist/actions/monitor-status.d.mts.map +1 -1
  97. package/dist/actions/monitor-status.mjs +8 -8
  98. package/dist/actions/monitor-status.mjs.map +1 -1
  99. package/dist/actions/usage-check.cjs +7 -7
  100. package/dist/actions/usage-check.cjs.map +1 -1
  101. package/dist/actions/usage-check.d.cts +10 -3
  102. package/dist/actions/usage-check.d.cts.map +1 -1
  103. package/dist/actions/usage-check.d.mts +10 -3
  104. package/dist/actions/usage-check.d.mts.map +1 -1
  105. package/dist/actions/usage-check.mjs +7 -7
  106. package/dist/actions/usage-check.mjs.map +1 -1
  107. package/dist/catalog.cjs +7 -1
  108. package/dist/catalog.cjs.map +1 -1
  109. package/dist/catalog.d.cts +8 -0
  110. package/dist/catalog.d.mts +8 -0
  111. package/dist/catalog.mjs +7 -1
  112. package/dist/catalog.mjs.map +1 -1
  113. package/package.json +2 -2
@@ -2,22 +2,22 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/lookup-ping.ts
4
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") });
5
+ const MxToolboxLookupPing_TranscriptSchema = z.object({ Transcript: z.string().describe("Transcript text of the ping operation").nullable() }).passthrough();
6
6
  const MxToolboxLookupPing_PingReplySchema = z.object({
7
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
- });
8
+ TTL: z.string().describe("Time-to-live value (number of network hops before packet expires)").nullable(),
9
+ Time: z.string().describe("Round-trip time in milliseconds (e.g., '<2' means less than 2ms, '15' means 15ms)").nullable(),
10
+ Bytes: z.string().describe("Size of the ping packet in bytes").nullable(),
11
+ Reply: z.string().describe("Status of the ping reply (e.g., 'Success', 'TimedOut')").nullable(),
12
+ IsIpV6: z.string().describe("Whether the IP is IPv6 ('True' or 'False')").nullable(),
13
+ "IP Address": z.string().describe("IP address that responded to the ping").nullable()
14
+ }).passthrough();
15
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
- });
16
+ URL: z.string().describe("URL for the related lookup").nullable(),
17
+ Name: z.string().describe("Name of the related lookup").nullable(),
18
+ Command: z.string().describe("Command type for the related lookup").nullable(),
19
+ CommandArgument: z.string().describe("Argument for the related lookup command").nullable()
20
+ }).passthrough();
21
21
  const mxToolboxLookupPing = action("MX_TOOLBOX_LOOKUP_PING", {
22
22
  slug: "mx_toolbox-lookup-ping",
23
23
  name: "Ping Lookup",
@@ -25,31 +25,31 @@ const mxToolboxLookupPing = action("MX_TOOLBOX_LOOKUP_PING", {
25
25
  input: MxToolboxLookupPingInput,
26
26
  output: z.object({
27
27
  UID: z.string().describe("Unique identifier for the lookup").nullable().optional(),
28
- MxRep: z.number().int().describe("MX reputation score"),
28
+ MxRep: z.number().int().describe("MX reputation score").nullable(),
29
29
  Errors: z.array(z.unknown()).describe("List of error messages encountered during the ping operation").nullable().optional(),
30
30
  Failed: z.array(z.unknown()).describe("List of failed diagnostic checks (typically empty for successful pings)").nullable().optional(),
31
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"),
32
+ Command: z.string().describe("The lookup command executed, always 'ping' for this action").nullable(),
33
+ IsError: z.boolean().describe("True if the ping operation encountered errors, False if successful").nullable(),
34
34
  Timeouts: z.array(z.unknown()).describe("List of ping attempts that timed out without response").nullable().optional(),
35
35
  Warnings: z.array(z.unknown()).describe("List of warning messages about the ping results").nullable().optional(),
36
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
37
  Transcript: z.array(MxToolboxLookupPing_TranscriptSchema).describe("Transcript of the ping operation").nullable().optional(),
38
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"),
39
+ ArgumentType: z.string().describe("Type of argument provided: 'domain' for domain names, 'ipv4' for IPv4 addresses, or 'ipv6' for IPv6 addresses").nullable(),
40
+ TimeRecorded: z.string().describe("ISO 8601 timestamp when the ping lookup was recorded").nullable(),
41
+ IsTransitioned: z.boolean().describe("Internal flag indicating if the lookup was transitioned to another system").nullable(),
42
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"),
43
+ TimeToComplete: z.string().describe("Total time in milliseconds to complete the entire lookup operation").nullable(),
44
+ CommandArgument: z.string().describe("The exact domain name or IP address that was pinged").nullable(),
45
+ HasSubscriptions: z.boolean().describe("Whether the user has active monitoring subscriptions for this target").nullable(),
46
+ IsEmptySubDomain: z.boolean().describe("Indicates if the domain has an empty subdomain component").nullable(),
47
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)"),
48
+ ResourceRecordType: z.number().int().describe("DNS resource record type code (0 for ping lookups)").nullable(),
49
49
  ReportingNameServer: z.string().describe("DNS name server used for domain resolution (null for direct IP pings)").nullable().optional(),
50
50
  EmailServiceProvider: z.string().describe("Email service provider").nullable().optional(),
51
51
  AlertgroupSubscriptionId: z.string().describe("ID of alert group subscription if monitoring is enabled").nullable().optional()
52
- })
52
+ }).passthrough()
53
53
  });
54
54
  //#endregion
55
55
  export { mxToolboxLookupPing };
@@ -1 +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;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC3E,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACrD,MAAM,EA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AS;EAC3H,aAAa,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChO,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EACjJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACxF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E;EAChH,gBAAgB,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC1F,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE;EAC7G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;EACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EAClG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,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"}
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.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.object({\n Transcript: z.string().describe(\"Transcript text of the ping operation\").nullable(),\n}).passthrough();\nconst MxToolboxLookupPing_PingReplySchema = 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)\").nullable(),\n Time: z.string().describe(\"Round-trip time in milliseconds (e.g., '<2' means less than 2ms, '15' means 15ms)\").nullable(),\n Bytes: z.string().describe(\"Size of the ping packet in bytes\").nullable(),\n Reply: z.string().describe(\"Status of the ping reply (e.g., 'Success', 'TimedOut')\").nullable(),\n IsIpV6: z.string().describe(\"Whether the IP is IPv6 ('True' or 'False')\").nullable(),\n \"IP Address\": z.string().describe(\"IP address that responded to the ping\").nullable(),\n}).passthrough();\nconst MxToolboxLookupPing_RelatedLookupSchema = z.object({\n URL: z.string().describe(\"URL for the related lookup\").nullable(),\n Name: z.string().describe(\"Name of the related lookup\").nullable(),\n Command: z.string().describe(\"Command type for the related lookup\").nullable(),\n CommandArgument: z.string().describe(\"Argument for the related lookup command\").nullable(),\n}).passthrough();\nexport const MxToolboxLookupPingOutput = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup\").nullable().optional(),\n MxRep: z.number().int().describe(\"MX reputation score\").nullable(),\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\").nullable(),\n IsError: z.boolean().describe(\"True if the ping operation encountered errors, False if successful\").nullable(),\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\").nullable(),\n TimeRecorded: z.string().describe(\"ISO 8601 timestamp when the ping lookup was recorded\").nullable(),\n IsTransitioned: z.boolean().describe(\"Internal flag indicating if the lookup was transitioned to another system\").nullable(),\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\").nullable(),\n CommandArgument: z.string().describe(\"The exact domain name or IP address that was pinged\").nullable(),\n HasSubscriptions: z.boolean().describe(\"Whether the user has active monitoring subscriptions for this target\").nullable(),\n IsEmptySubDomain: z.boolean().describe(\"Indicates if the domain has an empty subdomain component\").nullable(),\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)\").nullable(),\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}).passthrough();\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: MxToolbox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G,CAAC,CAAC,SAAS;EAC5J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC3H,gBAAgB,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACnH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACrG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACxH,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC7G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -3,29 +3,29 @@ let zod = require("zod");
3
3
  //#region src/actions/lookup-smtp.ts
4
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
5
  const MxToolboxLookupSmtp_DiagnosticCheckSchema = zod.z.object({
6
- ID: zod.z.number().int().describe("Unique identifier for the check"),
6
+ ID: zod.z.number().int().describe("Unique identifier for the check").nullable(),
7
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"),
8
+ Info: zod.z.string().describe("Description or details of the check result").nullable(),
9
+ Name: zod.z.string().describe("Name of the diagnostic check").nullable(),
10
10
  IsExcludedByUser: zod.z.boolean().describe("Whether user has excluded this check").nullable().optional(),
11
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.)");
12
+ }).passthrough().describe("Represents a diagnostic check result (warning, passed test, failed test, timeout, error, etc.)");
13
13
  const MxToolboxLookupSmtpOutput = zod.z.object({
14
14
  UID: zod.z.string().describe("Unique identifier for the lookup").nullable().optional(),
15
15
  Errors: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Error diagnostic checks").nullable().optional(),
16
16
  Failed: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Failed diagnostic checks").nullable().optional(),
17
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"),
18
+ Command: zod.z.string().describe("Command executed (e.g., 'smtp')").nullable(),
19
+ IsError: zod.z.boolean().describe("Whether the lookup encountered an error").nullable(),
20
20
  Timeouts: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Timeout diagnostic checks").nullable().optional(),
21
21
  Warnings: zod.z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Warning diagnostic checks").nullable().optional(),
22
22
  Transcript: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Detailed transcript of SMTP session").nullable().optional(),
23
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"),
24
+ ArgumentType: zod.z.string().describe("Type of argument (e.g., 'domain')").nullable(),
25
+ TimeRecorded: zod.z.string().describe("Timestamp of the lookup").nullable(),
26
+ RelatedLookups: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Related lookup suggestions").nullable().optional(),
27
+ TimeToComplete: zod.z.string().describe("Time taken to complete lookup in ms").nullable(),
28
+ CommandArgument: zod.z.string().describe("The domain that was queried").nullable(),
29
29
  ReportingNameServer: zod.z.string().describe("Name server that reported the results").nullable().optional()
30
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
31
  const mxToolboxLookupSmtp = require_action.action("MX_TOOLBOX_LOOKUP_SMTP", {
@@ -1 +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,CAAC,SAAS,8BAA8B;CACxD,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAC5G,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAA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E,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"}
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.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.object({\n ID: z.number().int().describe(\"Unique identifier for the check\").nullable(),\n Url: z.string().describe(\"URL for more information\").nullable().optional(),\n Info: z.string().describe(\"Description or details of the check result\").nullable(),\n Name: z.string().describe(\"Name of the diagnostic check\").nullable(),\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}).passthrough().describe(\"Represents a diagnostic check result (warning, passed test, failed test, timeout, error, etc.)\");\nexport const MxToolboxLookupSmtpOutput = 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')\").nullable(),\n IsError: z.boolean().describe(\"Whether the lookup encountered an error\").nullable(),\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')\").nullable(),\n TimeRecorded: z.string().describe(\"Timestamp of the lookup\").nullable(),\n RelatedLookups: z.array(z.record(z.string(), z.unknown())).describe(\"Related lookup suggestions\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Time taken to complete lookup in ms\").nullable(),\n CommandArgument: z.string().describe(\"The domain that was queried\").nullable(),\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,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EAC5G,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IA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CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,65 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const MxToolboxLookupSmtpInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MxToolboxLookupSmtpOutput: z.ZodObject<{
8
+ UID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ Errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ ID: z.ZodNullable<z.ZodNumber>;
11
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ Info: z.ZodNullable<z.ZodString>;
13
+ Name: z.ZodNullable<z.ZodString>;
14
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>>;
17
+ Failed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ ID: z.ZodNullable<z.ZodNumber>;
19
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ Info: z.ZodNullable<z.ZodString>;
21
+ Name: z.ZodNullable<z.ZodString>;
22
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>>>;
25
+ Passed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
26
+ ID: z.ZodNullable<z.ZodNumber>;
27
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ Info: z.ZodNullable<z.ZodString>;
29
+ Name: z.ZodNullable<z.ZodString>;
30
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ }, z.core.$loose>>>>;
33
+ Command: z.ZodNullable<z.ZodString>;
34
+ IsError: z.ZodNullable<z.ZodBoolean>;
35
+ Timeouts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
36
+ ID: z.ZodNullable<z.ZodNumber>;
37
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ Info: z.ZodNullable<z.ZodString>;
39
+ Name: z.ZodNullable<z.ZodString>;
40
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ }, z.core.$loose>>>>;
43
+ Warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ ID: z.ZodNullable<z.ZodNumber>;
45
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ Info: z.ZodNullable<z.ZodString>;
47
+ Name: z.ZodNullable<z.ZodString>;
48
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$loose>>>>;
51
+ Transcript: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
52
+ Information: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
53
+ ArgumentType: z.ZodNullable<z.ZodString>;
54
+ TimeRecorded: z.ZodNullable<z.ZodString>;
55
+ RelatedLookups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
56
+ TimeToComplete: z.ZodNullable<z.ZodString>;
57
+ CommandArgument: z.ZodNullable<z.ZodString>;
58
+ ReportingNameServer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ }, z.core.$loose>;
60
+ declare const mxToolboxLookupSmtp: import("@keystrokehq/action").WorkflowActionDefinition<{
61
+ domain: string;
62
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
63
  //#endregion
8
64
  export { mxToolboxLookupSmtp };
9
65
  //# sourceMappingURL=lookup-smtp.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"lookup-smtp.d.cts","names":[],"sources":["../../src/actions/lookup-smtp.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,65 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const MxToolboxLookupSmtpInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MxToolboxLookupSmtpOutput: z.ZodObject<{
8
+ UID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ Errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ ID: z.ZodNullable<z.ZodNumber>;
11
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ Info: z.ZodNullable<z.ZodString>;
13
+ Name: z.ZodNullable<z.ZodString>;
14
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>>;
17
+ Failed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ ID: z.ZodNullable<z.ZodNumber>;
19
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ Info: z.ZodNullable<z.ZodString>;
21
+ Name: z.ZodNullable<z.ZodString>;
22
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>>>;
25
+ Passed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
26
+ ID: z.ZodNullable<z.ZodNumber>;
27
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ Info: z.ZodNullable<z.ZodString>;
29
+ Name: z.ZodNullable<z.ZodString>;
30
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ }, z.core.$loose>>>>;
33
+ Command: z.ZodNullable<z.ZodString>;
34
+ IsError: z.ZodNullable<z.ZodBoolean>;
35
+ Timeouts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
36
+ ID: z.ZodNullable<z.ZodNumber>;
37
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ Info: z.ZodNullable<z.ZodString>;
39
+ Name: z.ZodNullable<z.ZodString>;
40
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ }, z.core.$loose>>>>;
43
+ Warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ ID: z.ZodNullable<z.ZodNumber>;
45
+ Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ Info: z.ZodNullable<z.ZodString>;
47
+ Name: z.ZodNullable<z.ZodString>;
48
+ IsExcludedByUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$loose>>>>;
51
+ Transcript: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
52
+ Information: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
53
+ ArgumentType: z.ZodNullable<z.ZodString>;
54
+ TimeRecorded: z.ZodNullable<z.ZodString>;
55
+ RelatedLookups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
56
+ TimeToComplete: z.ZodNullable<z.ZodString>;
57
+ CommandArgument: z.ZodNullable<z.ZodString>;
58
+ ReportingNameServer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ }, z.core.$loose>;
60
+ declare const mxToolboxLookupSmtp: import("@keystrokehq/action").WorkflowActionDefinition<{
61
+ domain: string;
62
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
63
  //#endregion
8
64
  export { mxToolboxLookupSmtp };
9
65
  //# sourceMappingURL=lookup-smtp.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"lookup-smtp.d.mts","names":[],"sources":["../../src/actions/lookup-smtp.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBzB,mBAAA,gCAAmB,wBAAA"}
@@ -3,13 +3,13 @@ import { z } from "zod";
3
3
  //#region src/actions/lookup-smtp.ts
4
4
  const MxToolboxLookupSmtpInput = z.object({ domain: z.string().describe("Domain to perform SMTP test on (must be a valid hostname, e.g. 'google.com')") }).describe("Parameters for SMTP lookup.");
5
5
  const MxToolboxLookupSmtp_DiagnosticCheckSchema = z.object({
6
- ID: z.number().int().describe("Unique identifier for the check"),
6
+ ID: z.number().int().describe("Unique identifier for the check").nullable(),
7
7
  Url: z.string().describe("URL for more information").nullable().optional(),
8
- Info: z.string().describe("Description or details of the check result"),
9
- Name: z.string().describe("Name of the diagnostic check"),
8
+ Info: z.string().describe("Description or details of the check result").nullable(),
9
+ Name: z.string().describe("Name of the diagnostic check").nullable(),
10
10
  IsExcludedByUser: z.boolean().describe("Whether user has excluded this check").nullable().optional(),
11
11
  PublicDescription: 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.)");
12
+ }).passthrough().describe("Represents a diagnostic check result (warning, passed test, failed test, timeout, error, etc.)");
13
13
  const mxToolboxLookupSmtp = action("MX_TOOLBOX_LOOKUP_SMTP", {
14
14
  slug: "mx_toolbox-lookup-smtp",
15
15
  name: "SMTP Lookup",
@@ -20,17 +20,17 @@ const mxToolboxLookupSmtp = action("MX_TOOLBOX_LOOKUP_SMTP", {
20
20
  Errors: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Error diagnostic checks").nullable().optional(),
21
21
  Failed: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Failed diagnostic checks").nullable().optional(),
22
22
  Passed: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Passed diagnostic checks").nullable().optional(),
23
- Command: z.string().describe("Command executed (e.g., 'smtp')"),
24
- IsError: z.boolean().describe("Whether the lookup encountered an error"),
23
+ Command: z.string().describe("Command executed (e.g., 'smtp')").nullable(),
24
+ IsError: z.boolean().describe("Whether the lookup encountered an error").nullable(),
25
25
  Timeouts: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Timeout diagnostic checks").nullable().optional(),
26
26
  Warnings: z.array(MxToolboxLookupSmtp_DiagnosticCheckSchema).describe("Warning diagnostic checks").nullable().optional(),
27
27
  Transcript: z.array(z.record(z.string(), z.unknown())).describe("Detailed transcript of SMTP session").nullable().optional(),
28
28
  Information: z.array(z.record(z.string(), z.unknown())).describe("General information from SMTP test (e.g., banner messages)").nullable().optional(),
29
- ArgumentType: z.string().describe("Type of argument (e.g., 'domain')"),
30
- TimeRecorded: z.string().describe("Timestamp of the lookup"),
31
- RelatedLookups: z.array(z.object({})).describe("Related lookup suggestions").nullable().optional(),
32
- TimeToComplete: z.string().describe("Time taken to complete lookup in ms"),
33
- CommandArgument: z.string().describe("The domain that was queried"),
29
+ ArgumentType: z.string().describe("Type of argument (e.g., 'domain')").nullable(),
30
+ TimeRecorded: z.string().describe("Timestamp of the lookup").nullable(),
31
+ RelatedLookups: z.array(z.record(z.string(), z.unknown())).describe("Related lookup suggestions").nullable().optional(),
32
+ TimeToComplete: z.string().describe("Time taken to complete lookup in ms").nullable(),
33
+ CommandArgument: z.string().describe("The domain that was queried").nullable(),
34
34
  ReportingNameServer: z.string().describe("Name server that reported the results").nullable().optional()
35
35
  }).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.")
36
36
  });
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-smtp.mjs","names":[],"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,2BAAyC,EAAE,OAAO,EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EAC5G,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,MAAM,EAAE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QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAC3D,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACzE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAClE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qOAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"lookup-smtp.mjs","names":[],"sources":["../../src/actions/lookup-smtp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupSmtpInput = 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.object({\n ID: z.number().int().describe(\"Unique identifier for the check\").nullable(),\n Url: z.string().describe(\"URL for more information\").nullable().optional(),\n Info: z.string().describe(\"Description or details of the check result\").nullable(),\n Name: z.string().describe(\"Name of the diagnostic check\").nullable(),\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}).passthrough().describe(\"Represents a diagnostic check result (warning, passed test, failed test, timeout, error, etc.)\");\nexport const MxToolboxLookupSmtpOutput = 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')\").nullable(),\n IsError: z.boolean().describe(\"Whether the lookup encountered an error\").nullable(),\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')\").nullable(),\n TimeRecorded: z.string().describe(\"Timestamp of the lookup\").nullable(),\n RelatedLookups: z.array(z.record(z.string(), z.unknown())).describe(\"Related lookup suggestions\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Time taken to complete lookup in ms\").nullable(),\n CommandArgument: z.string().describe(\"The domain that was queried\").nullable(),\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: MxToolboxLookupSmt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
3
3
  //#region src/actions/lookup-spf.ts
4
4
  const MxToolboxLookupSpfInput = zod.z.object({ domain: zod.z.string().describe("The domain to perform the SPF lookup on. Must be a bare hostname with no protocol prefix (e.g., not 'https://example.com') or path suffixes.") });
5
5
  const MxToolboxLookupSpf_LookupSpfCheckResultSchema = zod.z.object({
6
- ID: zod.z.number().int().describe("Unique identifier for the check."),
7
- Url: zod.z.string().describe("URL to more information about this check."),
8
- Info: zod.z.string().describe("Information about the check result."),
9
- Name: zod.z.string().describe("Name of the SPF check performed."),
10
- IsExcludedByUser: zod.z.boolean().describe("Whether this check is excluded by the user."),
6
+ ID: zod.z.number().int().describe("Unique identifier for the check.").nullable(),
7
+ Url: zod.z.string().describe("URL to more information about this check.").nullable(),
8
+ Info: zod.z.string().describe("Information about the check result.").nullable(),
9
+ Name: zod.z.string().describe("Name of the SPF check performed.").nullable(),
10
+ IsExcludedByUser: zod.z.boolean().describe("Whether this check is excluded by the user.").nullable(),
11
11
  PublicDescription: zod.z.string().describe("Public description if available.").nullable().optional()
12
- });
13
- const MxToolboxLookupSpf_LookupSpfTranscriptSchema = zod.z.object({ Transcript: zod.z.string().describe("Detailed transcript of the SPF lookup process.") });
12
+ }).passthrough();
13
+ const MxToolboxLookupSpf_LookupSpfTranscriptSchema = zod.z.object({ Transcript: zod.z.string().describe("Detailed transcript of the SPF lookup process.").nullable() }).passthrough();
14
14
  const MxToolboxLookupSpf_LookupSpfInformationItemSchema = zod.z.object({
15
- Type: zod.z.string().describe("The SPF mechanism type (e.g., 'v', 'include', 'all', 'record')."),
16
- Value: zod.z.string().describe("The value associated with the mechanism."),
17
- Prefix: zod.z.string().describe("The SPF mechanism prefix (e.g., '+', '-', '~', '?')."),
15
+ Type: zod.z.string().describe("The SPF mechanism type (e.g., 'v', 'include', 'all', 'record').").nullable(),
16
+ Value: zod.z.string().describe("The value associated with the mechanism.").nullable(),
17
+ Prefix: zod.z.string().describe("The SPF mechanism prefix (e.g., '+', '-', '~', '?').").nullable(),
18
18
  RecordNum: zod.z.string().describe("Record number if applicable.").nullable().optional(),
19
- PrefixDesc: zod.z.string().describe("Human-readable description of the prefix (e.g., 'Pass', 'SoftFail')."),
20
- Description: zod.z.string().describe("Detailed description of the SPF mechanism.")
21
- });
19
+ PrefixDesc: zod.z.string().describe("Human-readable description of the prefix (e.g., 'Pass', 'SoftFail').").nullable(),
20
+ Description: zod.z.string().describe("Detailed description of the SPF mechanism.").nullable()
21
+ }).passthrough();
22
22
  const MxToolboxLookupSpf_LookupSpfRelatedLookupSchema = zod.z.object({
23
- URL: zod.z.string().describe("URL to perform the related lookup."),
24
- Name: zod.z.string().describe("Name of the related lookup."),
25
- Command: zod.z.string().describe("Command type for the related lookup."),
26
- CommandArgument: zod.z.string().describe("Argument for the related lookup command.")
27
- });
23
+ URL: zod.z.string().describe("URL to perform the related lookup.").nullable(),
24
+ Name: zod.z.string().describe("Name of the related lookup.").nullable(),
25
+ Command: zod.z.string().describe("Command type for the related lookup.").nullable(),
26
+ CommandArgument: zod.z.string().describe("Argument for the related lookup command.").nullable()
27
+ }).passthrough();
28
28
  const MxToolboxLookupSpf_LookupSpfSubactionDetailSchema = zod.z.object({
29
29
  Void_lookups: zod.z.array(zod.z.string()).describe("List of void lookups found.").nullable().optional(),
30
30
  Recursive_Paths: zod.z.array(zod.z.string()).describe("Recursive paths found.").nullable().optional(),
@@ -35,40 +35,40 @@ const MxToolboxLookupSpf_LookupSpfSubactionDetailSchema = zod.z.object({
35
35
  Duplicate_Includes: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).nullable().optional(),
36
36
  MX_Resource_Records: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
37
37
  Deprecated_SPF_Records: zod.z.array(zod.z.string()).describe("Deprecated SPF records found.").nullable().optional()
38
- });
38
+ }).passthrough();
39
39
  const MxToolboxLookupSpfOutput = zod.z.object({
40
40
  UID: zod.z.string().describe("Unique identifier for the lookup.").nullable().optional(),
41
- MxRep: zod.z.number().int().describe("MX reputation score."),
41
+ MxRep: zod.z.number().int().describe("MX reputation score.").nullable(),
42
42
  Errors: zod.z.array(zod.z.string()).describe("List of errors if any."),
43
43
  Failed: zod.z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe("List of failed checks."),
44
44
  Passed: zod.z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe("List of passed checks."),
45
- Command: zod.z.string().describe("Command executed (e.g., 'spf')."),
46
- IsError: zod.z.boolean().describe("Whether an error occurred."),
45
+ Command: zod.z.string().describe("Command executed (e.g., 'spf').").nullable(),
46
+ IsError: zod.z.boolean().describe("Whether an error occurred.").nullable(),
47
47
  Records: zod.z.array(zod.z.string()).describe("List of SPF records found."),
48
48
  Timeouts: zod.z.array(zod.z.string()).describe("List of timeouts if any."),
49
49
  Warnings: zod.z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe("List of warning checks."),
50
50
  RelatedIP: zod.z.string().describe("Related IP address if applicable.").nullable().optional(),
51
51
  CustomData: zod.z.string().describe("Custom data if any.").nullable().optional(),
52
- IsEndpoint: zod.z.boolean().describe("Whether this is an endpoint."),
52
+ IsEndpoint: zod.z.boolean().describe("Whether this is an endpoint.").nullable(),
53
53
  Transcript: zod.z.array(MxToolboxLookupSpf_LookupSpfTranscriptSchema).describe("Detailed transcript of the lookup process."),
54
54
  Information: zod.z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe("Detailed information about the SPF record components."),
55
- ArgumentType: zod.z.string().describe("Type of argument (e.g., 'domain')."),
56
- TimeRecorded: zod.z.string().describe("Timestamp when the lookup was recorded."),
57
- IsTransitioned: zod.z.boolean().describe("Whether the lookup has transitioned."),
55
+ ArgumentType: zod.z.string().describe("Type of argument (e.g., 'domain').").nullable(),
56
+ TimeRecorded: zod.z.string().describe("Timestamp when the lookup was recorded.").nullable(),
57
+ IsTransitioned: zod.z.boolean().describe("Whether the lookup has transitioned.").nullable(),
58
58
  RelatedLookups: zod.z.array(MxToolboxLookupSpf_LookupSpfRelatedLookupSchema).describe("List of related lookups that can be performed."),
59
- TimeToComplete: zod.z.string().describe("Time taken to complete the lookup in milliseconds."),
60
- CommandArgument: zod.z.string().describe("The domain that was looked up."),
61
- HasSubscriptions: zod.z.boolean().describe("Whether there are subscriptions."),
62
- IsEmptySubDomain: zod.z.boolean().describe("Whether the subdomain is empty."),
59
+ TimeToComplete: zod.z.string().describe("Time taken to complete the lookup in milliseconds.").nullable(),
60
+ CommandArgument: zod.z.string().describe("The domain that was looked up.").nullable(),
61
+ HasSubscriptions: zod.z.boolean().describe("Whether there are subscriptions.").nullable(),
62
+ IsEmptySubDomain: zod.z.boolean().describe("Whether the subdomain is empty.").nullable(),
63
63
  MultiInformation: zod.z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe("Multi-information if applicable."),
64
64
  DnsServiceProvider: zod.z.string().describe("DNS service provider if detected.").nullable().optional(),
65
- ResourceRecordType: zod.z.number().int().describe("DNS resource record type number."),
66
- ReportingNameServer: zod.z.string().describe("Name server that reported the result."),
65
+ ResourceRecordType: zod.z.number().int().describe("DNS resource record type number.").nullable(),
66
+ ReportingNameServer: zod.z.string().describe("Name server that reported the result.").nullable(),
67
67
  EmailServiceProvider: zod.z.string().describe("Email service provider if detected.").nullable().optional(),
68
68
  SPF_Subaction_Detail: MxToolboxLookupSpf_LookupSpfSubactionDetailSchema.nullable(),
69
69
  AlertgroupSubscriptionId: zod.z.string().describe("Alert group subscription ID if any.").nullable().optional(),
70
70
  DnsServiceProviderIdentifier: zod.z.string().describe("DNS service provider identifier if applicable.").nullable().optional()
71
- }).describe("SPF lookup response containing complete SPF record data and validation results.\nThe API returns the SPF data directly without a wrapper.");
71
+ }).passthrough().describe("SPF lookup response containing complete SPF record data and validation results.\nThe API returns the SPF data directly without a wrapper.");
72
72
  const mxToolboxLookupSpf = require_action.action("MX_TOOLBOX_LOOKUP_SPF", {
73
73
  slug: "mx_toolbox-lookup-spf",
74
74
  name: "Lookup SPF Record",
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-spf.cjs","names":["z","action"],"sources":["../../src/actions/lookup-spf.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupSpfInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to perform the SPF lookup on. Must be a bare hostname with no protocol prefix (e.g., not 'https://example.com') or path suffixes.\"),\n});\nconst MxToolboxLookupSpf_LookupSpfCheckResultSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the check.\"),\n Url: z.string().describe(\"URL to more information about this check.\"),\n Info: z.string().describe(\"Information about the check result.\"),\n Name: z.string().describe(\"Name of the SPF check performed.\"),\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});\nconst MxToolboxLookupSpf_LookupSpfTranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Detailed transcript of the SPF lookup process.\"),\n});\nconst MxToolboxLookupSpf_LookupSpfInformationItemSchema: z.ZodTypeAny = z.object({\n Type: z.string().describe(\"The SPF mechanism type (e.g., 'v', 'include', 'all', 'record').\"),\n Value: z.string().describe(\"The value associated with the mechanism.\"),\n Prefix: z.string().describe(\"The SPF mechanism prefix (e.g., '+', '-', '~', '?').\"),\n RecordNum: z.string().describe(\"Record number if applicable.\").nullable().optional(),\n PrefixDesc: z.string().describe(\"Human-readable description of the prefix (e.g., 'Pass', 'SoftFail').\"),\n Description: z.string().describe(\"Detailed description of the SPF mechanism.\"),\n});\nconst MxToolboxLookupSpf_LookupSpfRelatedLookupSchema: z.ZodTypeAny = z.object({\n URL: z.string().describe(\"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});\nconst MxToolboxLookupSpf_LookupSpfSubactionDetailSchema: z.ZodTypeAny = z.object({\n Void_lookups: z.array(z.string()).describe(\"List of void lookups found.\").nullable().optional(),\n Recursive_Paths: z.array(z.string()).describe(\"Recursive paths found.\").nullable().optional(),\n Included_Lookups: z.array(z.string()).describe(\"List of included lookups.\").nullable().optional(),\n Invalid_Includes: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Modifier_Ignored: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Invalid_Redirects: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Duplicate_Includes: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n MX_Resource_Records: z.union([z.string(), z.number().int()]).nullable().optional(),\n Deprecated_SPF_Records: z.array(z.string()).describe(\"Deprecated SPF records found.\").nullable().optional(),\n});\nexport const MxToolboxLookupSpfOutput: 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.string()).describe(\"List of errors if any.\"),\n Failed: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of failed checks.\"),\n Passed: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of passed checks.\"),\n Command: z.string().describe(\"Command executed (e.g., 'spf').\"),\n IsError: z.boolean().describe(\"Whether an error occurred.\"),\n Records: z.array(z.string()).describe(\"List of SPF records found.\"),\n Timeouts: z.array(z.string()).describe(\"List of timeouts if any.\"),\n Warnings: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of warning checks.\"),\n RelatedIP: z.string().describe(\"Related IP address if applicable.\").nullable().optional(),\n CustomData: z.string().describe(\"Custom data if any.\").nullable().optional(),\n IsEndpoint: z.boolean().describe(\"Whether this is an endpoint.\"),\n Transcript: z.array(MxToolboxLookupSpf_LookupSpfTranscriptSchema).describe(\"Detailed transcript of the lookup process.\"),\n Information: z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe(\"Detailed information about the SPF record components.\"),\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(MxToolboxLookupSpf_LookupSpfRelatedLookupSchema).describe(\"List of related lookups that can be performed.\"),\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 subscriptions.\"),\n IsEmptySubDomain: z.boolean().describe(\"Whether the subdomain is empty.\"),\n MultiInformation: z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe(\"Multi-information if applicable.\"),\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: MxToolboxLookupSpf_LookupSpfSubactionDetailSchema.nullable(),\n AlertgroupSubscriptionId: z.string().describe(\"Alert group subscription ID if any.\").nullable().optional(),\n DnsServiceProviderIdentifier: z.string().describe(\"DNS service provider identifier if applicable.\").nullable().optional(),\n}).describe(\"SPF lookup response containing complete SPF record data and validation results.\\nThe API returns the SPF data directly without a wrapper.\");\n\nexport const mxToolboxLookupSpf = action(\"MX_TOOLBOX_LOOKUP_SPF\", {\n slug: \"mx_toolbox-lookup-spf\",\n name: \"Lookup SPF Record\",\n description: \"Tool to retrieve SPF records for a specified domain. Use when confirming email sender authorization policies.\",\n input: MxToolboxLookupSpfInput,\n output: MxToolboxLookupSpfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC5K,CAAC;AACD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC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;AAC1H,CAAC,CAAC,CAAC,SAAS,2IAA2I;AAEvJ,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"lookup-spf.cjs","names":["z","action"],"sources":["../../src/actions/lookup-spf.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupSpfInput = z.object({\n domain: z.string().describe(\"The domain to perform the SPF lookup on. Must be a bare hostname with no protocol prefix (e.g., not 'https://example.com') or path suffixes.\"),\n});\nconst MxToolboxLookupSpf_LookupSpfCheckResultSchema = z.object({\n ID: z.number().int().describe(\"Unique identifier for the check.\").nullable(),\n Url: z.string().describe(\"URL to more information about this check.\").nullable(),\n Info: z.string().describe(\"Information about the check result.\").nullable(),\n Name: z.string().describe(\"Name of the SPF check performed.\").nullable(),\n IsExcludedByUser: z.boolean().describe(\"Whether this check is excluded by the user.\").nullable(),\n PublicDescription: z.string().describe(\"Public description if available.\").nullable().optional(),\n}).passthrough();\nconst MxToolboxLookupSpf_LookupSpfTranscriptSchema = z.object({\n Transcript: z.string().describe(\"Detailed transcript of the SPF lookup process.\").nullable(),\n}).passthrough();\nconst MxToolboxLookupSpf_LookupSpfInformationItemSchema = z.object({\n Type: z.string().describe(\"The SPF mechanism type (e.g., 'v', 'include', 'all', 'record').\").nullable(),\n Value: z.string().describe(\"The value associated with the mechanism.\").nullable(),\n Prefix: z.string().describe(\"The SPF mechanism prefix (e.g., '+', '-', '~', '?').\").nullable(),\n RecordNum: z.string().describe(\"Record number if applicable.\").nullable().optional(),\n PrefixDesc: z.string().describe(\"Human-readable description of the prefix (e.g., 'Pass', 'SoftFail').\").nullable(),\n Description: z.string().describe(\"Detailed description of the SPF mechanism.\").nullable(),\n}).passthrough();\nconst MxToolboxLookupSpf_LookupSpfRelatedLookupSchema = z.object({\n URL: z.string().describe(\"URL to perform the related lookup.\").nullable(),\n Name: z.string().describe(\"Name of the related lookup.\").nullable(),\n Command: z.string().describe(\"Command type for the related lookup.\").nullable(),\n CommandArgument: z.string().describe(\"Argument for the related lookup command.\").nullable(),\n}).passthrough();\nconst MxToolboxLookupSpf_LookupSpfSubactionDetailSchema = z.object({\n Void_lookups: z.array(z.string()).describe(\"List of void lookups found.\").nullable().optional(),\n Recursive_Paths: z.array(z.string()).describe(\"Recursive paths found.\").nullable().optional(),\n Included_Lookups: z.array(z.string()).describe(\"List of included lookups.\").nullable().optional(),\n Invalid_Includes: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Modifier_Ignored: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Invalid_Redirects: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Duplicate_Includes: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n MX_Resource_Records: z.union([z.string(), z.number().int()]).nullable().optional(),\n Deprecated_SPF_Records: z.array(z.string()).describe(\"Deprecated SPF records found.\").nullable().optional(),\n}).passthrough();\nexport const MxToolboxLookupSpfOutput = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup.\").nullable().optional(),\n MxRep: z.number().int().describe(\"MX reputation score.\").nullable(),\n Errors: z.array(z.string()).describe(\"List of errors if any.\"),\n Failed: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of failed checks.\"),\n Passed: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of passed checks.\"),\n Command: z.string().describe(\"Command executed (e.g., 'spf').\").nullable(),\n IsError: z.boolean().describe(\"Whether an error occurred.\").nullable(),\n Records: z.array(z.string()).describe(\"List of SPF records found.\"),\n Timeouts: z.array(z.string()).describe(\"List of timeouts if any.\"),\n Warnings: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of warning checks.\"),\n RelatedIP: z.string().describe(\"Related IP address if applicable.\").nullable().optional(),\n CustomData: z.string().describe(\"Custom data if any.\").nullable().optional(),\n IsEndpoint: z.boolean().describe(\"Whether this is an endpoint.\").nullable(),\n Transcript: z.array(MxToolboxLookupSpf_LookupSpfTranscriptSchema).describe(\"Detailed transcript of the lookup process.\"),\n Information: z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe(\"Detailed information about the SPF record components.\"),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'domain').\").nullable(),\n TimeRecorded: z.string().describe(\"Timestamp when the lookup was recorded.\").nullable(),\n IsTransitioned: z.boolean().describe(\"Whether the lookup has transitioned.\").nullable(),\n RelatedLookups: z.array(MxToolboxLookupSpf_LookupSpfRelatedLookupSchema).describe(\"List of related lookups that can be performed.\"),\n TimeToComplete: z.string().describe(\"Time taken to complete the lookup in milliseconds.\").nullable(),\n CommandArgument: z.string().describe(\"The domain that was looked up.\").nullable(),\n HasSubscriptions: z.boolean().describe(\"Whether there are subscriptions.\").nullable(),\n IsEmptySubDomain: z.boolean().describe(\"Whether the subdomain is empty.\").nullable(),\n MultiInformation: z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe(\"Multi-information if applicable.\"),\n DnsServiceProvider: z.string().describe(\"DNS service provider if detected.\").nullable().optional(),\n ResourceRecordType: z.number().int().describe(\"DNS resource record type number.\").nullable(),\n ReportingNameServer: z.string().describe(\"Name server that reported the result.\").nullable(),\n EmailServiceProvider: z.string().describe(\"Email service provider if detected.\").nullable().optional(),\n SPF_Subaction_Detail: MxToolboxLookupSpf_LookupSpfSubactionDetailSchema.nullable(),\n AlertgroupSubscriptionId: z.string().describe(\"Alert group subscription ID if any.\").nullable().optional(),\n DnsServiceProviderIdentifier: z.string().describe(\"DNS service provider identifier if applicable.\").nullable().optional(),\n}).passthrough().describe(\"SPF lookup response containing complete SPF record data and validation results.\\nThe API returns the SPF data directly without a wrapper.\");\n\nexport const mxToolboxLookupSpf = action(\"MX_TOOLBOX_LOOKUP_SPF\", {\n slug: \"mx_toolbox-lookup-spf\",\n name: \"Lookup SPF Record\",\n description: \"Tool to retrieve SPF records for a specified domain.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