@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.
Files changed (138) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/index.cjs +27 -0
  7. package/dist/actions/index.d.cts +14 -0
  8. package/dist/actions/index.d.mts +14 -0
  9. package/dist/actions/index.mjs +14 -0
  10. package/dist/actions/lookup-bimi-record.cjs +87 -0
  11. package/dist/actions/lookup-bimi-record.cjs.map +1 -0
  12. package/dist/actions/lookup-bimi-record.d.cts +9 -0
  13. package/dist/actions/lookup-bimi-record.d.cts.map +1 -0
  14. package/dist/actions/lookup-bimi-record.d.mts +9 -0
  15. package/dist/actions/lookup-bimi-record.d.mts.map +1 -0
  16. package/dist/actions/lookup-bimi-record.mjs +86 -0
  17. package/dist/actions/lookup-bimi-record.mjs.map +1 -0
  18. package/dist/actions/lookup-blacklist.cjs +58 -0
  19. package/dist/actions/lookup-blacklist.cjs.map +1 -0
  20. package/dist/actions/lookup-blacklist.d.cts +9 -0
  21. package/dist/actions/lookup-blacklist.d.cts.map +1 -0
  22. package/dist/actions/lookup-blacklist.d.mts +9 -0
  23. package/dist/actions/lookup-blacklist.d.mts.map +1 -0
  24. package/dist/actions/lookup-blacklist.mjs +57 -0
  25. package/dist/actions/lookup-blacklist.mjs.map +1 -0
  26. package/dist/actions/lookup-dkim.cjs +69 -0
  27. package/dist/actions/lookup-dkim.cjs.map +1 -0
  28. package/dist/actions/lookup-dkim.d.cts +9 -0
  29. package/dist/actions/lookup-dkim.d.cts.map +1 -0
  30. package/dist/actions/lookup-dkim.d.mts +9 -0
  31. package/dist/actions/lookup-dkim.d.mts.map +1 -0
  32. package/dist/actions/lookup-dkim.mjs +68 -0
  33. package/dist/actions/lookup-dkim.mjs.map +1 -0
  34. package/dist/actions/lookup-dmarc.cjs +39 -0
  35. package/dist/actions/lookup-dmarc.cjs.map +1 -0
  36. package/dist/actions/lookup-dmarc.d.cts +9 -0
  37. package/dist/actions/lookup-dmarc.d.cts.map +1 -0
  38. package/dist/actions/lookup-dmarc.d.mts +9 -0
  39. package/dist/actions/lookup-dmarc.d.mts.map +1 -0
  40. package/dist/actions/lookup-dmarc.mjs +38 -0
  41. package/dist/actions/lookup-dmarc.mjs.map +1 -0
  42. package/dist/actions/lookup-dns.cjs +42 -0
  43. package/dist/actions/lookup-dns.cjs.map +1 -0
  44. package/dist/actions/lookup-dns.d.cts +9 -0
  45. package/dist/actions/lookup-dns.d.cts.map +1 -0
  46. package/dist/actions/lookup-dns.d.mts +9 -0
  47. package/dist/actions/lookup-dns.d.mts.map +1 -0
  48. package/dist/actions/lookup-dns.mjs +41 -0
  49. package/dist/actions/lookup-dns.mjs.map +1 -0
  50. package/dist/actions/lookup-http.cjs +30 -0
  51. package/dist/actions/lookup-http.cjs.map +1 -0
  52. package/dist/actions/lookup-http.d.cts +9 -0
  53. package/dist/actions/lookup-http.d.cts.map +1 -0
  54. package/dist/actions/lookup-http.d.mts +9 -0
  55. package/dist/actions/lookup-http.d.mts.map +1 -0
  56. package/dist/actions/lookup-http.mjs +29 -0
  57. package/dist/actions/lookup-http.mjs.map +1 -0
  58. package/dist/actions/lookup-mta-sts-record.cjs +37 -0
  59. package/dist/actions/lookup-mta-sts-record.cjs.map +1 -0
  60. package/dist/actions/lookup-mta-sts-record.d.cts +9 -0
  61. package/dist/actions/lookup-mta-sts-record.d.cts.map +1 -0
  62. package/dist/actions/lookup-mta-sts-record.d.mts +9 -0
  63. package/dist/actions/lookup-mta-sts-record.d.mts.map +1 -0
  64. package/dist/actions/lookup-mta-sts-record.mjs +36 -0
  65. package/dist/actions/lookup-mta-sts-record.mjs.map +1 -0
  66. package/dist/actions/lookup-mx.cjs +24 -0
  67. package/dist/actions/lookup-mx.cjs.map +1 -0
  68. package/dist/actions/lookup-mx.d.cts +9 -0
  69. package/dist/actions/lookup-mx.d.cts.map +1 -0
  70. package/dist/actions/lookup-mx.d.mts +9 -0
  71. package/dist/actions/lookup-mx.d.mts.map +1 -0
  72. package/dist/actions/lookup-mx.mjs +23 -0
  73. package/dist/actions/lookup-mx.mjs.map +1 -0
  74. package/dist/actions/lookup-ping.cjs +58 -0
  75. package/dist/actions/lookup-ping.cjs.map +1 -0
  76. package/dist/actions/lookup-ping.d.cts +9 -0
  77. package/dist/actions/lookup-ping.d.cts.map +1 -0
  78. package/dist/actions/lookup-ping.d.mts +9 -0
  79. package/dist/actions/lookup-ping.d.mts.map +1 -0
  80. package/dist/actions/lookup-ping.mjs +57 -0
  81. package/dist/actions/lookup-ping.mjs.map +1 -0
  82. package/dist/actions/lookup-smtp.cjs +41 -0
  83. package/dist/actions/lookup-smtp.cjs.map +1 -0
  84. package/dist/actions/lookup-smtp.d.cts +9 -0
  85. package/dist/actions/lookup-smtp.d.cts.map +1 -0
  86. package/dist/actions/lookup-smtp.d.mts +9 -0
  87. package/dist/actions/lookup-smtp.d.mts.map +1 -0
  88. package/dist/actions/lookup-smtp.mjs +40 -0
  89. package/dist/actions/lookup-smtp.mjs.map +1 -0
  90. package/dist/actions/lookup-spf.cjs +82 -0
  91. package/dist/actions/lookup-spf.cjs.map +1 -0
  92. package/dist/actions/lookup-spf.d.cts +9 -0
  93. package/dist/actions/lookup-spf.d.cts.map +1 -0
  94. package/dist/actions/lookup-spf.d.mts +9 -0
  95. package/dist/actions/lookup-spf.d.mts.map +1 -0
  96. package/dist/actions/lookup-spf.mjs +81 -0
  97. package/dist/actions/lookup-spf.mjs.map +1 -0
  98. package/dist/actions/monitor-status.cjs +30 -0
  99. package/dist/actions/monitor-status.cjs.map +1 -0
  100. package/dist/actions/monitor-status.d.cts +9 -0
  101. package/dist/actions/monitor-status.d.cts.map +1 -0
  102. package/dist/actions/monitor-status.d.mts +9 -0
  103. package/dist/actions/monitor-status.d.mts.map +1 -0
  104. package/dist/actions/monitor-status.mjs +29 -0
  105. package/dist/actions/monitor-status.mjs.map +1 -0
  106. package/dist/actions/usage-check.cjs +23 -0
  107. package/dist/actions/usage-check.cjs.map +1 -0
  108. package/dist/actions/usage-check.d.cts +9 -0
  109. package/dist/actions/usage-check.d.cts.map +1 -0
  110. package/dist/actions/usage-check.d.mts +9 -0
  111. package/dist/actions/usage-check.d.mts.map +1 -0
  112. package/dist/actions/usage-check.mjs +20 -0
  113. package/dist/actions/usage-check.mjs.map +1 -0
  114. package/dist/app.cjs +9 -0
  115. package/dist/app.cjs.map +1 -0
  116. package/dist/app.d.cts +5 -0
  117. package/dist/app.d.cts.map +1 -0
  118. package/dist/app.d.mts +5 -0
  119. package/dist/app.d.mts.map +1 -0
  120. package/dist/app.mjs +10 -0
  121. package/dist/app.mjs.map +1 -0
  122. package/dist/catalog.cjs +15 -0
  123. package/dist/catalog.cjs.map +1 -0
  124. package/dist/catalog.d.cts +14 -0
  125. package/dist/catalog.d.cts.map +1 -0
  126. package/dist/catalog.d.mts +14 -0
  127. package/dist/catalog.d.mts.map +1 -0
  128. package/dist/catalog.mjs +15 -0
  129. package/dist/catalog.mjs.map +1 -0
  130. package/dist/execute.cjs +18 -0
  131. package/dist/execute.cjs.map +1 -0
  132. package/dist/execute.mjs +18 -0
  133. package/dist/execute.mjs.map +1 -0
  134. package/dist/index.cjs +32 -0
  135. package/dist/index.d.cts +16 -0
  136. package/dist/index.d.mts +16 -0
  137. package/dist/index.mjs +17 -0
  138. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-blacklist.mjs","names":[],"sources":["../../src/actions/lookup-blacklist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupBlacklistInput: z.ZodTypeAny = z.object({\n domain_or_ip: z.string().describe(\"The domain name or IP address to lookup in blacklists Must be a bare hostname or IP address without protocol prefixes (e.g., no 'http://') or path suffixes.\"),\n}).describe(\"Request model for blacklist lookup\");\nconst MxToolboxLookupBlacklist_BlacklistInfoSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the blacklist\"),\n Url: z.string().describe(\"URL for more information\").nullable().optional(),\n Info: z.string().describe(\"Additional information about the blacklist entry\").nullable().optional(),\n Name: z.string().describe(\"Name of the blacklist\"),\n IsExcludedByUser: z.boolean().default(false).describe(\"Whether the blacklist is excluded by user\").nullable().optional(),\n PublicDescription: z.string().describe(\"Public description of the blacklist\").nullable().optional(),\n BlacklistResponseTime: z.string().describe(\"Response time in milliseconds\").nullable().optional(),\n}).describe(\"Information about a blacklist check result\");\nconst MxToolboxLookupBlacklist_TimeoutEntrySchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the blacklist\"),\n Url: z.string().describe(\"URL for more information\").nullable().optional(),\n Info: z.string().describe(\"Information about the blacklist\").nullable().optional(),\n Name: z.string().describe(\"Name of the blacklist that timed out\"),\n IsExcludedByUser: z.boolean().default(false).describe(\"Whether excluded by user\").nullable().optional(),\n PublicDescription: z.string().describe(\"Public description\").nullable().optional(),\n}).describe(\"Information about a blacklist that timed out\");\nconst MxToolboxLookupBlacklist_TranscriptEntrySchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Transcript text\"),\n}).describe(\"Transcript entry for debugging information\");\nconst MxToolboxLookupBlacklist_RelatedLookupSchema: z.ZodTypeAny = z.object({\n URL: z.string().describe(\"URL for the related lookup\"),\n Name: z.string().describe(\"Name of the related lookup\"),\n Command: z.string().describe(\"Command type\"),\n CommandArgument: z.string().describe(\"Argument for the command\"),\n}).describe(\"Related lookup information\");\nexport const MxToolboxLookupBlacklistOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup\").nullable().optional(),\n MxRep: z.number().int().describe(\"MX reputation score (0-100, higher is better)\").nullable().optional(),\n Errors: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe(\"List of errors encountered during lookup\").nullable().optional(),\n Failed: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe(\"List of blacklists where the domain/IP is listed (blacklisted)\").nullable().optional(),\n Passed: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe(\"List of blacklists where the domain/IP is NOT listed (clean)\").nullable().optional(),\n Command: z.string().describe(\"The command that was executed (blacklist)\"),\n IsError: z.boolean().describe(\"Whether an error occurred during lookup\"),\n Timeouts: z.array(MxToolboxLookupBlacklist_TimeoutEntrySchema).describe(\"List of blacklists that timed out during the check\").nullable().optional(),\n Warnings: z.array(MxToolboxLookupBlacklist_BlacklistInfoSchema).describe(\"List of warnings encountered during lookup\").nullable().optional(),\n RelatedIP: z.string().describe(\"Related IP address if applicable\").nullable().optional(),\n Transcript: z.array(MxToolboxLookupBlacklist_TranscriptEntrySchema).describe(\"Debug transcript information\").nullable().optional(),\n ArgumentType: z.string().describe(\"Type of argument (domain or IP)\"),\n TimeRecorded: z.string().describe(\"Timestamp when the lookup was recorded\").nullable().optional(),\n RelatedLookups: z.array(MxToolboxLookupBlacklist_RelatedLookupSchema).describe(\"Related lookup suggestions\").nullable().optional(),\n TimeToComplete: z.string().describe(\"Time taken to complete the lookup in milliseconds\"),\n CommandArgument: z.string().describe(\"The domain or IP address that was checked\"),\n HasSubscriptions: z.boolean().default(false).describe(\"Whether there are active monitoring subscriptions\").nullable().optional(),\n}).describe(\"Response from MX Toolbox blacklist lookup\");\n\nexport const mxToolboxLookupBlacklist = action(\"MX_TOOLBOX_LOOKUP_BLACKLIST\", {\n slug: \"mx_toolbox-lookup-blacklist\",\n name: \"Lookup Blacklist\",\n description: \"Tool to perform a blacklist check on a domain or IP. Use when you need to verify whether a domain or IP is listed in common blacklists.\",\n input: MxToolboxLookupBlacklistInput,\n output: MxToolboxLookupBlacklistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,EAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EAClM,CAAC,CAAC,CAAC,SAAS,oCA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SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAChF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,69 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/lookup-dkim.ts
4
+ const MxToolboxLookupDkimInput = zod.z.object({ domain: zod.z.string().describe("DKIM record name in DNS format: 'selector._domainkey.domain' (e.g., 'google._domainkey.google.com' where 'google' is the selector). This is the full DNS hostname for the DKIM TXT record. Common selectors include 'default', 'google', 'k1', 's1', 's2', or 'email'.") }).describe("Request parameters for DKIM record lookup.");
5
+ const MxToolboxLookupDkim_LookupDkimCheckResultSchema = 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 DKIM check performed."),
10
+ IsExcludedByUser: zod.z.boolean().describe("Whether this check is excluded by the user."),
11
+ PublicDescription: zod.z.string().describe("Public description if available.").nullable().optional()
12
+ }).describe("Represents a diagnostic check result (passed, failed, or warning).");
13
+ const MxToolboxLookupDkim_LookupDkimTranscriptSchema = zod.z.object({ Transcript: zod.z.string().describe("Detailed transcript of the DKIM lookup process.") }).describe("Detailed transcript of the DKIM lookup process.");
14
+ const MxToolboxLookupDkim_LookupDkimInformationItemSchema = zod.z.object({
15
+ Tag: zod.z.string().describe("DKIM tag name (e.g., 'v', 'k', 'p'). May be empty for the full record entry.").nullable().optional(),
16
+ Name: zod.z.string().describe("Human-readable name of the tag (e.g., 'Version', 'Key Type', 'Public Key').").nullable().optional(),
17
+ TagValue: zod.z.string().describe("Value associated with the DKIM tag. May be empty for the full record entry.").nullable().optional(),
18
+ Description: zod.z.string().describe("Detailed description of the tag's purpose and value, or the full DKIM record for the first entry.").nullable().optional()
19
+ }).passthrough().describe("Information item from DKIM record details containing parsed DKIM tag information.");
20
+ const MxToolboxLookupDkim_LookupDkimRelatedLookupSchema = zod.z.object({
21
+ URL: zod.z.string().describe("URL to perform the related lookup."),
22
+ Name: zod.z.string().describe("Name of the related lookup."),
23
+ Command: zod.z.string().describe("Command type for the related lookup."),
24
+ CommandArgument: zod.z.string().describe("Argument for the related lookup command.")
25
+ }).describe("Related lookup suggestion.");
26
+ const MxToolboxLookupDkimOutput = zod.z.object({
27
+ UID: zod.z.string().describe("Unique identifier for the lookup.").nullable().optional(),
28
+ MxRep: zod.z.number().int().describe("MX reputation score."),
29
+ Errors: zod.z.array(zod.z.string()).describe("List of errors if any."),
30
+ Failed: zod.z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of failed checks."),
31
+ Passed: zod.z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of passed checks."),
32
+ Command: zod.z.string().describe("Command executed (should be 'dkim')."),
33
+ IsError: zod.z.boolean().describe("Whether an error occurred."),
34
+ Records: zod.z.array(zod.z.string()).describe("List of DKIM records found. Empty if no records found."),
35
+ Timeouts: zod.z.array(zod.z.string()).describe("List of timeouts if any."),
36
+ Warnings: zod.z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of warning checks."),
37
+ RelatedIP: zod.z.string().describe("Related IP address if applicable.").nullable().optional(),
38
+ CustomData: zod.z.string().describe("Custom data if any.").nullable().optional(),
39
+ IsEndpoint: zod.z.boolean().describe("Whether this is an endpoint."),
40
+ Transcript: zod.z.array(MxToolboxLookupDkim_LookupDkimTranscriptSchema).describe("Detailed transcript of the lookup process."),
41
+ Information: zod.z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe("Detailed information about the DKIM record components."),
42
+ ArgumentType: zod.z.string().describe("Type of argument (e.g., 'other')."),
43
+ TimeRecorded: zod.z.string().describe("Timestamp when the lookup was recorded."),
44
+ IsTransitioned: zod.z.boolean().describe("Whether the lookup has transitioned."),
45
+ RelatedLookups: zod.z.array(MxToolboxLookupDkim_LookupDkimRelatedLookupSchema).describe("List of related lookups that can be performed."),
46
+ TimeToComplete: zod.z.string().describe("Time taken to complete the lookup in milliseconds."),
47
+ CommandArgument: zod.z.string().describe("The domain/selector that was looked up."),
48
+ HasSubscriptions: zod.z.boolean().describe("Whether there are subscriptions."),
49
+ IsEmptySubDomain: zod.z.boolean().describe("Whether the subdomain is empty."),
50
+ MultiInformation: zod.z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe("Multi-information if applicable."),
51
+ DnsServiceProvider: zod.z.string().describe("DNS service provider if detected.").nullable().optional(),
52
+ ResourceRecordType: zod.z.number().int().describe("DNS resource record type number."),
53
+ ReportingNameServer: zod.z.string().describe("Name server that reported the result."),
54
+ EmailServiceProvider: zod.z.string().describe("Email service provider if detected.").nullable().optional(),
55
+ SPF_Subaction_Detail: zod.z.record(zod.z.string(), zod.z.unknown()).describe("SPF subaction details if applicable.").nullable().optional(),
56
+ AlertgroupSubscriptionId: zod.z.string().describe("Alert group subscription ID if any.").nullable().optional(),
57
+ DnsServiceProviderIdentifier: zod.z.string().describe("DNS service provider identifier if applicable.").nullable().optional()
58
+ }).passthrough().describe("Response model for DKIM lookup containing comprehensive diagnostic information.");
59
+ const mxToolboxLookupDkim = require_action.action("MX_TOOLBOX_LOOKUP_DKIM", {
60
+ slug: "mx_toolbox-lookup-dkim",
61
+ name: "Lookup DKIM Record",
62
+ description: "Tool to retrieve DKIM (DomainKeys Identified Mail) records for a domain. DKIM is an email authentication method that helps prevent email spoofing by allowing the receiver to verify that an email was actually sent and authorized by the owner of that domain. Use this tool to verify DKIM configuration and troubleshoot email authentication issues.",
63
+ input: MxToolboxLookupDkimInput,
64
+ output: MxToolboxLookupDkimOutput
65
+ });
66
+ //#endregion
67
+ exports.mxToolboxLookupDkim = mxToolboxLookupDkim;
68
+
69
+ //# sourceMappingURL=lookup-dkim.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dkim.cjs","names":["z","action"],"sources":["../../src/actions/lookup-dkim.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDkimInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"DKIM record name in DNS format: 'selector._domainkey.domain' (e.g., 'google._domainkey.google.com' where 'google' is the selector). This is the full DNS hostname for the DKIM TXT record. Common selectors include 'default', 'google', 'k1', 's1', 's2', or 'email'.\"),\n}).describe(\"Request parameters for DKIM record lookup.\");\nconst MxToolboxLookupDkim_LookupDkimCheckResultSchema: 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 DKIM 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}).describe(\"Represents a diagnostic check result (passed, failed, or warning).\");\nconst MxToolboxLookupDkim_LookupDkimTranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Detailed transcript of the DKIM lookup process.\"),\n}).describe(\"Detailed transcript of the DKIM lookup process.\");\nconst MxToolboxLookupDkim_LookupDkimInformationItemSchema: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"DKIM tag name (e.g., 'v', 'k', 'p'). May be empty for the full record entry.\").nullable().optional(),\n Name: z.string().describe(\"Human-readable name of the tag (e.g., 'Version', 'Key Type', 'Public Key').\").nullable().optional(),\n TagValue: z.string().describe(\"Value associated with the DKIM tag. May be empty for the full record entry.\").nullable().optional(),\n Description: z.string().describe(\"Detailed description of the tag's purpose and value, or the full DKIM record for the first entry.\").nullable().optional(),\n}).passthrough().describe(\"Information item from DKIM record details containing parsed DKIM tag information.\");\nconst MxToolboxLookupDkim_LookupDkimRelatedLookupSchema: 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}).describe(\"Related lookup suggestion.\");\nexport const MxToolboxLookupDkimOutput: 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(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of failed checks.\"),\n Passed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of passed checks.\"),\n Command: z.string().describe(\"Command executed (should be 'dkim').\"),\n IsError: z.boolean().describe(\"Whether an error occurred.\"),\n Records: z.array(z.string()).describe(\"List of DKIM records found. Empty if no records found.\"),\n Timeouts: z.array(z.string()).describe(\"List of timeouts if any.\"),\n Warnings: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).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(MxToolboxLookupDkim_LookupDkimTranscriptSchema).describe(\"Detailed transcript of the lookup process.\"),\n Information: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe(\"Detailed information about the DKIM record components.\"),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'other').\"),\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(MxToolboxLookupDkim_LookupDkimRelatedLookupSchema).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/selector 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(MxToolboxLookupDkim_LookupDkimInformationItemSchema).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: z.record(z.string(), z.unknown()).describe(\"SPF subaction details if applicable.\").nullable().optional(),\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(\"Response model for DKIM lookup containing comprehensive diagnostic information.\");\n\nexport const mxToolboxLookupDkim = action(\"MX_TOOLBOX_LOOKUP_DKIM\", {\n slug: \"mx_toolbox-lookup-dkim\",\n name: \"Lookup DKIM Record\",\n description: \"Tool to retrieve DKIM (DomainKeys Identified Mail) records for a domain. DKIM is an email authentication method that helps prevent email spoofing by allowing the receiver to verify that an email was actually sent and authorized by the owner of that domain. Use this tool to verify DKIM configuration and troubleshoot email authentication issues.\",\n input: MxToolboxLookupDkimInput,\n output: MxToolboxLookupDkimOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wQAAwQ,EACtS,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CACpF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,iDAA+DA,IAAAA,EAAE,OAAO,EAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU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C,CAAC,SAAS,kCAAkC;CAChF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,sBAAsBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,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-dkim.d.ts
4
+ declare const MxToolboxLookupDkimInput: z.ZodTypeAny;
5
+ declare const MxToolboxLookupDkimOutput: z.ZodTypeAny;
6
+ declare const mxToolboxLookupDkim: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxToolboxLookupDkim };
9
+ //# sourceMappingURL=lookup-dkim.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dkim.d.cts","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAwB5C,yBAAA,EAA2B,CAAA,CAAE,UAgCkE;AAAA,cAE/F,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/lookup-dkim.d.ts
4
+ declare const MxToolboxLookupDkimInput: z.ZodTypeAny;
5
+ declare const MxToolboxLookupDkimOutput: z.ZodTypeAny;
6
+ declare const mxToolboxLookupDkim: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxToolboxLookupDkim };
9
+ //# sourceMappingURL=lookup-dkim.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dkim.d.mts","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAwB5C,yBAAA,EAA2B,CAAA,CAAE,UAgCkE;AAAA,cAE/F,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,68 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/lookup-dkim.ts
4
+ const MxToolboxLookupDkimInput = z.object({ domain: z.string().describe("DKIM record name in DNS format: 'selector._domainkey.domain' (e.g., 'google._domainkey.google.com' where 'google' is the selector). This is the full DNS hostname for the DKIM TXT record. Common selectors include 'default', 'google', 'k1', 's1', 's2', or 'email'.") }).describe("Request parameters for DKIM record lookup.");
5
+ const MxToolboxLookupDkim_LookupDkimCheckResultSchema = z.object({
6
+ ID: z.number().int().describe("Unique identifier for the check."),
7
+ Url: z.string().describe("URL to more information about this check."),
8
+ Info: z.string().describe("Information about the check result."),
9
+ Name: z.string().describe("Name of the DKIM check performed."),
10
+ IsExcludedByUser: z.boolean().describe("Whether this check is excluded by the user."),
11
+ PublicDescription: z.string().describe("Public description if available.").nullable().optional()
12
+ }).describe("Represents a diagnostic check result (passed, failed, or warning).");
13
+ const MxToolboxLookupDkim_LookupDkimTranscriptSchema = z.object({ Transcript: z.string().describe("Detailed transcript of the DKIM lookup process.") }).describe("Detailed transcript of the DKIM lookup process.");
14
+ const MxToolboxLookupDkim_LookupDkimInformationItemSchema = z.object({
15
+ Tag: z.string().describe("DKIM tag name (e.g., 'v', 'k', 'p'). May be empty for the full record entry.").nullable().optional(),
16
+ Name: z.string().describe("Human-readable name of the tag (e.g., 'Version', 'Key Type', 'Public Key').").nullable().optional(),
17
+ TagValue: z.string().describe("Value associated with the DKIM tag. May be empty for the full record entry.").nullable().optional(),
18
+ Description: z.string().describe("Detailed description of the tag's purpose and value, or the full DKIM record for the first entry.").nullable().optional()
19
+ }).passthrough().describe("Information item from DKIM record details containing parsed DKIM tag information.");
20
+ const MxToolboxLookupDkim_LookupDkimRelatedLookupSchema = z.object({
21
+ URL: z.string().describe("URL to perform the related lookup."),
22
+ Name: z.string().describe("Name of the related lookup."),
23
+ Command: z.string().describe("Command type for the related lookup."),
24
+ CommandArgument: z.string().describe("Argument for the related lookup command.")
25
+ }).describe("Related lookup suggestion.");
26
+ const mxToolboxLookupDkim = action("MX_TOOLBOX_LOOKUP_DKIM", {
27
+ slug: "mx_toolbox-lookup-dkim",
28
+ name: "Lookup DKIM Record",
29
+ description: "Tool to retrieve DKIM (DomainKeys Identified Mail) records for a domain. DKIM is an email authentication method that helps prevent email spoofing by allowing the receiver to verify that an email was actually sent and authorized by the owner of that domain. Use this tool to verify DKIM configuration and troubleshoot email authentication issues.",
30
+ input: MxToolboxLookupDkimInput,
31
+ output: z.object({
32
+ UID: z.string().describe("Unique identifier for the lookup.").nullable().optional(),
33
+ MxRep: z.number().int().describe("MX reputation score."),
34
+ Errors: z.array(z.string()).describe("List of errors if any."),
35
+ Failed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of failed checks."),
36
+ Passed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of passed checks."),
37
+ Command: z.string().describe("Command executed (should be 'dkim')."),
38
+ IsError: z.boolean().describe("Whether an error occurred."),
39
+ Records: z.array(z.string()).describe("List of DKIM records found. Empty if no records found."),
40
+ Timeouts: z.array(z.string()).describe("List of timeouts if any."),
41
+ Warnings: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of warning checks."),
42
+ RelatedIP: z.string().describe("Related IP address if applicable.").nullable().optional(),
43
+ CustomData: z.string().describe("Custom data if any.").nullable().optional(),
44
+ IsEndpoint: z.boolean().describe("Whether this is an endpoint."),
45
+ Transcript: z.array(MxToolboxLookupDkim_LookupDkimTranscriptSchema).describe("Detailed transcript of the lookup process."),
46
+ Information: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe("Detailed information about the DKIM record components."),
47
+ ArgumentType: z.string().describe("Type of argument (e.g., 'other')."),
48
+ TimeRecorded: z.string().describe("Timestamp when the lookup was recorded."),
49
+ IsTransitioned: z.boolean().describe("Whether the lookup has transitioned."),
50
+ RelatedLookups: z.array(MxToolboxLookupDkim_LookupDkimRelatedLookupSchema).describe("List of related lookups that can be performed."),
51
+ TimeToComplete: z.string().describe("Time taken to complete the lookup in milliseconds."),
52
+ CommandArgument: z.string().describe("The domain/selector that was looked up."),
53
+ HasSubscriptions: z.boolean().describe("Whether there are subscriptions."),
54
+ IsEmptySubDomain: z.boolean().describe("Whether the subdomain is empty."),
55
+ MultiInformation: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe("Multi-information if applicable."),
56
+ DnsServiceProvider: z.string().describe("DNS service provider if detected.").nullable().optional(),
57
+ ResourceRecordType: z.number().int().describe("DNS resource record type number."),
58
+ ReportingNameServer: z.string().describe("Name server that reported the result."),
59
+ EmailServiceProvider: z.string().describe("Email service provider if detected.").nullable().optional(),
60
+ SPF_Subaction_Detail: z.record(z.string(), z.unknown()).describe("SPF subaction details if applicable.").nullable().optional(),
61
+ AlertgroupSubscriptionId: z.string().describe("Alert group subscription ID if any.").nullable().optional(),
62
+ DnsServiceProviderIdentifier: z.string().describe("DNS service provider identifier if applicable.").nullable().optional()
63
+ }).passthrough().describe("Response model for DKIM lookup containing comprehensive diagnostic information.")
64
+ });
65
+ //#endregion
66
+ export { mxToolboxLookupDkim };
67
+
68
+ //# sourceMappingURL=lookup-dkim.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dkim.mjs","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDkimInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"DKIM record name in DNS format: 'selector._domainkey.domain' (e.g., 'google._domainkey.google.com' where 'google' is the selector). This is the full DNS hostname for the DKIM TXT record. Common selectors include 'default', 'google', 'k1', 's1', 's2', or 'email'.\"),\n}).describe(\"Request parameters for DKIM record lookup.\");\nconst MxToolboxLookupDkim_LookupDkimCheckResultSchema: 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 DKIM 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}).describe(\"Represents a diagnostic check result (passed, failed, or warning).\");\nconst MxToolboxLookupDkim_LookupDkimTranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Detailed transcript of the DKIM lookup process.\"),\n}).describe(\"Detailed transcript of the DKIM lookup process.\");\nconst MxToolboxLookupDkim_LookupDkimInformationItemSchema: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"DKIM tag name (e.g., 'v', 'k', 'p'). May be empty for the full record entry.\").nullable().optional(),\n Name: z.string().describe(\"Human-readable name of the tag (e.g., 'Version', 'Key Type', 'Public Key').\").nullable().optional(),\n TagValue: z.string().describe(\"Value associated with the DKIM tag. May be empty for the full record entry.\").nullable().optional(),\n Description: z.string().describe(\"Detailed description of the tag's purpose and value, or the full DKIM record for the first entry.\").nullable().optional(),\n}).passthrough().describe(\"Information item from DKIM record details containing parsed DKIM tag information.\");\nconst MxToolboxLookupDkim_LookupDkimRelatedLookupSchema: 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}).describe(\"Related lookup suggestion.\");\nexport const MxToolboxLookupDkimOutput: 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(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of failed checks.\"),\n Passed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of passed checks.\"),\n Command: z.string().describe(\"Command executed (should be 'dkim').\"),\n IsError: z.boolean().describe(\"Whether an error occurred.\"),\n Records: z.array(z.string()).describe(\"List of DKIM records found. Empty if no records found.\"),\n Timeouts: z.array(z.string()).describe(\"List of timeouts if any.\"),\n Warnings: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).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(MxToolboxLookupDkim_LookupDkimTranscriptSchema).describe(\"Detailed transcript of the lookup process.\"),\n Information: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe(\"Detailed information about the DKIM record components.\"),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'other').\"),\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(MxToolboxLookupDkim_LookupDkimRelatedLookupSchema).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/selector 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(MxToolboxLookupDkim_LookupDkimInformationItemSchema).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: z.record(z.string(), z.unknown()).describe(\"SPF subaction details if applicable.\").nullable().optional(),\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(\"Response model for DKIM lookup containing comprehensive diagnostic information.\");\n\nexport const mxToolboxLookupDkim = action(\"MX_TOOLBOX_LOOKUP_DKIM\", {\n slug: \"mx_toolbox-lookup-dkim\",\n name: \"Lookup DKIM Record\",\n description: \"Tool to retrieve DKIM (DomainKeys Identified Mail) records for a domain. DKIM is an email authentication method that helps prevent email spoofing by allowing the receiver to verify that an email was actually sent and authorized by the owner of that domain. Use this tool to verify DKIM configuration and troubleshoot email authentication issues.\",\n input: MxToolboxLookupDkimInput,\n output: MxToolboxLookupDkimOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAA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4
+ const MxToolboxLookupDmarcInput = zod.z.object({ domain: zod.z.string().describe("The domain to lookup DMARC record for. Must be a bare hostname (e.g., 'example.com') without protocol prefixes ('https://') or path components.") }).describe("Parameters for a DMARC lookup.");
5
+ const MxToolboxLookupDmarc_PassedCheckSchema = zod.z.object({
6
+ id: zod.z.number().int().default(0).describe("Unique identifier for the diagnostic check.").nullable().optional(),
7
+ url: zod.z.string().default("").describe("URL with more details about this check.").nullable().optional(),
8
+ info: zod.z.string().default("").describe("Information about the check result.").nullable().optional(),
9
+ name: zod.z.string().default("").describe("Name of the diagnostic check (e.g., 'DMARC Record Published').").nullable().optional(),
10
+ public_description: zod.z.string().describe("Public description of the check, if available.").nullable().optional(),
11
+ is_excluded_by_user: zod.z.boolean().default(false).describe("Whether this check has been excluded by the user.").nullable().optional()
12
+ }).describe("Represents a diagnostic check that passed during DMARC validation.");
13
+ const MxToolboxLookupDmarc_InformationItemSchema = zod.z.object({
14
+ tag: zod.z.string().default("").describe("DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.").nullable().optional(),
15
+ name: zod.z.string().default("").describe("Human-readable name for the tag (e.g., 'Version', 'Policy').").nullable().optional(),
16
+ tag_value: zod.z.string().default("").describe("The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').").nullable().optional(),
17
+ description: zod.z.string().default("").describe("Detailed description explaining the tag's purpose and valid values.").nullable().optional()
18
+ }).describe("DMARC record information item providing details about DMARC tags and their values.");
19
+ const MxToolboxLookupDmarcOutput = zod.z.object({
20
+ ttl: zod.z.number().int().default(0).describe("Time to live for the DNS record in seconds.").nullable().optional(),
21
+ name: zod.z.string().default("").describe("The queried record name (usually the domain or subdomain for DMARC).").nullable().optional(),
22
+ type: zod.z.string().default("").describe("The DNS record type (typically 'TXT' for DMARC records).").nullable().optional(),
23
+ errors: zod.z.array(zod.z.string()).describe("List of errors encountered during lookup, if any.").nullable().optional(),
24
+ passed: zod.z.array(MxToolboxLookupDmarc_PassedCheckSchema).describe("List of diagnostic checks that passed during DMARC validation.").nullable().optional(),
25
+ address: zod.z.string().default("").describe("The resolved DMARC record data/address.").nullable().optional(),
26
+ information: zod.z.array(MxToolboxLookupDmarc_InformationItemSchema).describe("List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.").nullable().optional(),
27
+ lookup_results: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Additional DNS lookup results (typically empty for DMARC lookups).").nullable().optional()
28
+ }).describe("Response schema for DMARC lookup containing record details and diagnostic checks.");
29
+ const mxToolboxLookupDmarc = require_action.action("MX_TOOLBOX_LOOKUP_DMARC", {
30
+ slug: "mx_toolbox-lookup-dmarc",
31
+ name: "Lookup DMARC Record",
32
+ description: "Retrieves DMARC (Domain-based Message Authentication, Reporting & Conformance) records for a domain and performs validation checks. Returns detailed information about the DMARC record including policy settings (reject/quarantine/none), reporting addresses, alignment modes, and diagnostic check results. Useful for verifying email authentication configuration and troubleshooting email delivery issues.",
33
+ input: MxToolboxLookupDmarcInput,
34
+ output: MxToolboxLookupDmarcOutput
35
+ });
36
+ //#endregion
37
+ exports.mxToolboxLookupDmarc = mxToolboxLookupDmarc;
38
+
39
+ //# sourceMappingURL=lookup-dmarc.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dmarc.cjs","names":["z","action"],"sources":["../../src/actions/lookup-dmarc.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDmarcInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to lookup DMARC record for. Must be a bare hostname (e.g., 'example.com') without protocol prefixes ('https://') or path components.\"),\n}).describe(\"Parameters for a DMARC lookup.\");\nconst MxToolboxLookupDmarc_PassedCheckSchema: z.ZodTypeAny = z.object({\n id: z.number().int().default(0).describe(\"Unique identifier for the diagnostic check.\").nullable().optional(),\n url: z.string().default(\"\").describe(\"URL with more details about this check.\").nullable().optional(),\n info: z.string().default(\"\").describe(\"Information about the check result.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Name of the diagnostic check (e.g., 'DMARC Record Published').\").nullable().optional(),\n public_description: z.string().describe(\"Public description of the check, if available.\").nullable().optional(),\n is_excluded_by_user: z.boolean().default(false).describe(\"Whether this check has been excluded by the user.\").nullable().optional(),\n}).describe(\"Represents a diagnostic check that passed during DMARC validation.\");\nconst MxToolboxLookupDmarc_InformationItemSchema: z.ZodTypeAny = z.object({\n tag: z.string().default(\"\").describe(\"DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Human-readable name for the tag (e.g., 'Version', 'Policy').\").nullable().optional(),\n tag_value: z.string().default(\"\").describe(\"The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').\").nullable().optional(),\n description: z.string().default(\"\").describe(\"Detailed description explaining the tag's purpose and valid values.\").nullable().optional(),\n}).describe(\"DMARC record information item providing details about DMARC tags and their values.\");\nexport const MxToolboxLookupDmarcOutput: z.ZodTypeAny = z.object({\n ttl: z.number().int().default(0).describe(\"Time to live for the DNS record in seconds.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"The queried record name (usually the domain or subdomain for DMARC).\").nullable().optional(),\n type: z.string().default(\"\").describe(\"The DNS record type (typically 'TXT' for DMARC records).\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of errors encountered during lookup, if any.\").nullable().optional(),\n passed: z.array(MxToolboxLookupDmarc_PassedCheckSchema).describe(\"List of diagnostic checks that passed during DMARC validation.\").nullable().optional(),\n address: z.string().default(\"\").describe(\"The resolved DMARC record data/address.\").nullable().optional(),\n information: z.array(MxToolboxLookupDmarc_InformationItemSchema).describe(\"List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.\").nullable().optional(),\n lookup_results: z.array(z.record(z.string(), z.unknown())).describe(\"Additional DNS lookup results (typically empty for DMARC lookups).\").nullable().optional(),\n}).describe(\"Response schema for DMARC lookup containing record details and diagnostic checks.\");\n\nexport const mxToolboxLookupDmarc = action(\"MX_TOOLBOX_LOOKUP_DMARC\", {\n slug: \"mx_toolbox-lookup-dmarc\",\n name: \"Lookup DMARC Record\",\n description: \"Retrieves DMARC (Domain-based Message Authentication, Reporting & Conformance) records for a domain and performs validation checks. Returns detailed information about the DMARC record including policy settings (reject/quarantine/none), reporting addresses, alignment modes, and diagnostic check results. Useful for verifying email authentication configuration and troubleshooting email delivery issues.\",\n input: MxToolboxLookupDmarcInput,\n output: MxToolboxLookupDmarcOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAC/K,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,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,SAAS;CACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAE/F,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,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-dmarc.d.ts
4
+ declare const MxToolboxLookupDmarcInput: z.ZodTypeAny;
5
+ declare const MxToolboxLookupDmarcOutput: z.ZodTypeAny;
6
+ declare const mxToolboxLookupDmarc: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxToolboxLookupDmarc };
9
+ //# sourceMappingURL=lookup-dmarc.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dmarc.d.cts","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEG;AAAA,cAehC,0BAAA,EAA4B,CAAA,CAAE,UASqD;AAAA,cAEnF,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/lookup-dmarc.d.ts
4
+ declare const MxToolboxLookupDmarcInput: z.ZodTypeAny;
5
+ declare const MxToolboxLookupDmarcOutput: z.ZodTypeAny;
6
+ declare const mxToolboxLookupDmarc: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxToolboxLookupDmarc };
9
+ //# sourceMappingURL=lookup-dmarc.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dmarc.d.mts","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEG;AAAA,cAehC,0BAAA,EAA4B,CAAA,CAAE,UASqD;AAAA,cAEnF,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,38 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/lookup-dmarc.ts
4
+ const MxToolboxLookupDmarcInput = z.object({ domain: z.string().describe("The domain to lookup DMARC record for. Must be a bare hostname (e.g., 'example.com') without protocol prefixes ('https://') or path components.") }).describe("Parameters for a DMARC lookup.");
5
+ const MxToolboxLookupDmarc_PassedCheckSchema = z.object({
6
+ id: z.number().int().default(0).describe("Unique identifier for the diagnostic check.").nullable().optional(),
7
+ url: z.string().default("").describe("URL with more details about this check.").nullable().optional(),
8
+ info: z.string().default("").describe("Information about the check result.").nullable().optional(),
9
+ name: z.string().default("").describe("Name of the diagnostic check (e.g., 'DMARC Record Published').").nullable().optional(),
10
+ public_description: z.string().describe("Public description of the check, if available.").nullable().optional(),
11
+ is_excluded_by_user: z.boolean().default(false).describe("Whether this check has been excluded by the user.").nullable().optional()
12
+ }).describe("Represents a diagnostic check that passed during DMARC validation.");
13
+ const MxToolboxLookupDmarc_InformationItemSchema = z.object({
14
+ tag: z.string().default("").describe("DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.").nullable().optional(),
15
+ name: z.string().default("").describe("Human-readable name for the tag (e.g., 'Version', 'Policy').").nullable().optional(),
16
+ tag_value: z.string().default("").describe("The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').").nullable().optional(),
17
+ description: z.string().default("").describe("Detailed description explaining the tag's purpose and valid values.").nullable().optional()
18
+ }).describe("DMARC record information item providing details about DMARC tags and their values.");
19
+ const mxToolboxLookupDmarc = action("MX_TOOLBOX_LOOKUP_DMARC", {
20
+ slug: "mx_toolbox-lookup-dmarc",
21
+ name: "Lookup DMARC Record",
22
+ description: "Retrieves DMARC (Domain-based Message Authentication, Reporting & Conformance) records for a domain and performs validation checks. Returns detailed information about the DMARC record including policy settings (reject/quarantine/none), reporting addresses, alignment modes, and diagnostic check results. Useful for verifying email authentication configuration and troubleshooting email delivery issues.",
23
+ input: MxToolboxLookupDmarcInput,
24
+ output: z.object({
25
+ ttl: z.number().int().default(0).describe("Time to live for the DNS record in seconds.").nullable().optional(),
26
+ name: z.string().default("").describe("The queried record name (usually the domain or subdomain for DMARC).").nullable().optional(),
27
+ type: z.string().default("").describe("The DNS record type (typically 'TXT' for DMARC records).").nullable().optional(),
28
+ errors: z.array(z.string()).describe("List of errors encountered during lookup, if any.").nullable().optional(),
29
+ passed: z.array(MxToolboxLookupDmarc_PassedCheckSchema).describe("List of diagnostic checks that passed during DMARC validation.").nullable().optional(),
30
+ address: z.string().default("").describe("The resolved DMARC record data/address.").nullable().optional(),
31
+ information: z.array(MxToolboxLookupDmarc_InformationItemSchema).describe("List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.").nullable().optional(),
32
+ lookup_results: z.array(z.record(z.string(), z.unknown())).describe("Additional DNS lookup results (typically empty for DMARC lookups).").nullable().optional()
33
+ }).describe("Response schema for DMARC lookup containing record details and diagnostic checks.")
34
+ });
35
+ //#endregion
36
+ export { mxToolboxLookupDmarc };
37
+
38
+ //# sourceMappingURL=lookup-dmarc.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dmarc.mjs","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDmarcInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to lookup DMARC record for. Must be a bare hostname (e.g., 'example.com') without protocol prefixes ('https://') or path components.\"),\n}).describe(\"Parameters for a DMARC lookup.\");\nconst MxToolboxLookupDmarc_PassedCheckSchema: z.ZodTypeAny = z.object({\n id: z.number().int().default(0).describe(\"Unique identifier for the diagnostic check.\").nullable().optional(),\n url: z.string().default(\"\").describe(\"URL with more details about this check.\").nullable().optional(),\n info: z.string().default(\"\").describe(\"Information about the check result.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Name of the diagnostic check (e.g., 'DMARC Record Published').\").nullable().optional(),\n public_description: z.string().describe(\"Public description of the check, if available.\").nullable().optional(),\n is_excluded_by_user: z.boolean().default(false).describe(\"Whether this check has been excluded by the user.\").nullable().optional(),\n}).describe(\"Represents a diagnostic check that passed during DMARC validation.\");\nconst MxToolboxLookupDmarc_InformationItemSchema: z.ZodTypeAny = z.object({\n tag: z.string().default(\"\").describe(\"DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Human-readable name for the tag (e.g., 'Version', 'Policy').\").nullable().optional(),\n tag_value: z.string().default(\"\").describe(\"The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').\").nullable().optional(),\n description: z.string().default(\"\").describe(\"Detailed description explaining the tag's purpose and valid values.\").nullable().optional(),\n}).describe(\"DMARC record information item providing details about DMARC tags and their values.\");\nexport const MxToolboxLookupDmarcOutput: z.ZodTypeAny = z.object({\n ttl: z.number().int().default(0).describe(\"Time to live for the DNS record in seconds.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"The queried record name (usually the domain or subdomain for DMARC).\").nullable().optional(),\n type: z.string().default(\"\").describe(\"The DNS record type (typically 'TXT' for DMARC records).\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of errors encountered during lookup, if any.\").nullable().optional(),\n passed: z.array(MxToolboxLookupDmarc_PassedCheckSchema).describe(\"List of diagnostic checks that passed during DMARC validation.\").nullable().optional(),\n address: z.string().default(\"\").describe(\"The resolved DMARC record data/address.\").nullable().optional(),\n information: z.array(MxToolboxLookupDmarc_InformationItemSchema).describe(\"List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.\").nullable().optional(),\n lookup_results: z.array(z.record(z.string(), z.unknown())).describe(\"Additional DNS lookup results (typically empty for DMARC lookups).\").nullable().optional(),\n}).describe(\"Response schema for DMARC lookup containing record details and diagnostic checks.\");\n\nexport const mxToolboxLookupDmarc = action(\"MX_TOOLBOX_LOOKUP_DMARC\", {\n slug: \"mx_toolbox-lookup-dmarc\",\n name: \"Lookup DMARC Record\",\n description: \"Retrieves DMARC (Domain-based Message Authentication, Reporting & Conformance) records for a domain and performs validation checks. Returns detailed information about the DMARC record including policy settings (reject/quarantine/none), reporting addresses, alignment modes, and diagnostic check results. Useful for verifying email authentication configuration and troubleshooting email delivery issues.\",\n input: MxToolboxLookupDmarcInput,\n output: MxToolboxLookupDmarcOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAC/K,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAA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AC7G,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpN,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,mFAOF;AACV,CAAC"}
@@ -0,0 +1,42 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/lookup-dns.ts
4
+ const MxToolboxLookupDnsInput = zod.z.object({ domain: zod.z.string().describe("Domain to perform DNS lookup on, for example 'google.com' Bare hostname only — no protocols (e.g., 'http://'), subpath, or trailing slashes.") }).describe("Request model for LookupDns action.");
5
+ const MxToolboxLookupDns_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("Brief description of the check result"),
9
+ Name: zod.z.string().describe("Name of the diagnostic check"),
10
+ AdditionalInfo: zod.z.array(zod.z.string()).describe("Additional details about the check").nullable().optional(),
11
+ IsExcludedByUser: zod.z.boolean().describe("Whether user has excluded this check").nullable().optional(),
12
+ PublicDescription: zod.z.string().describe("Public description of the issue").nullable().optional()
13
+ }).describe("Represents a diagnostic check result (warning, passed test, error, etc.)");
14
+ const MxToolboxLookupDnsOutput = zod.z.object({
15
+ UID: zod.z.string().describe("Unique identifier for the lookup").nullable().optional(),
16
+ Errors: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Error diagnostic checks").nullable().optional(),
17
+ Failed: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Failed diagnostic checks").nullable().optional(),
18
+ Passed: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Passed diagnostic checks").nullable().optional(),
19
+ Command: zod.z.string().describe("Command executed (e.g., 'dns')"),
20
+ IsError: zod.z.boolean().describe("Whether the lookup encountered an error"),
21
+ Timeouts: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Timeout diagnostic checks").nullable().optional(),
22
+ Warnings: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Warning diagnostic checks").nullable().optional(),
23
+ Transcript: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Detailed transcript of DNS queries").nullable().optional(),
24
+ Information: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("DNS server information (NS records, A records, etc.)").nullable().optional(),
25
+ ArgumentType: zod.z.string().describe("Type of argument (e.g., 'domain')"),
26
+ TimeRecorded: zod.z.string().describe("Timestamp of the lookup"),
27
+ RelatedLookups: zod.z.array(zod.z.object({})).describe("Related lookup suggestions").nullable().optional(),
28
+ TimeToComplete: zod.z.string().describe("Time taken to complete lookup in ms"),
29
+ CommandArgument: zod.z.string().describe("The domain that was queried"),
30
+ ReportingNameServer: zod.z.string().describe("Name server that reported the results").nullable().optional()
31
+ }).passthrough().describe("Response model for LookupDns action containing complete DNS lookup data and diagnostics.\nInherits all fields from DnsData.");
32
+ const mxToolboxLookupDns = require_action.action("MX_TOOLBOX_LOOKUP_DNS", {
33
+ slug: "mx_toolbox-lookup-dns",
34
+ name: "Lookup DNS Records",
35
+ description: "Performs comprehensive DNS health check and retrieves name server records for a domain. Returns detailed diagnostics including: - Name server (NS) records with IP addresses, TTL, and status - DNS configuration health checks (warnings, errors, passed tests) - Query transcripts showing DNS resolution path - Related lookup suggestions (A, MX, SPF records) Use this to diagnose DNS issues, verify name server configurations, or check DNS propagation status.",
36
+ input: MxToolboxLookupDnsInput,
37
+ output: MxToolboxLookupDnsOutput
38
+ });
39
+ //#endregion
40
+ exports.mxToolboxLookupDns = mxToolboxLookupDns;
41
+
42
+ //# sourceMappingURL=lookup-dns.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dns.cjs","names":["z","action"],"sources":["../../src/actions/lookup-dns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDnsInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"Domain to perform DNS lookup on, for example 'google.com' Bare hostname only — no protocols (e.g., 'http://'), subpath, or trailing slashes.\"),\n}).describe(\"Request model for LookupDns action.\");\nconst MxToolboxLookupDns_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(\"Brief description of the check result\"),\n Name: z.string().describe(\"Name of the diagnostic check\"),\n AdditionalInfo: z.array(z.string()).describe(\"Additional details about the check\").nullable().optional(),\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, error, etc.)\");\nexport const MxToolboxLookupDnsOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup\").nullable().optional(),\n Errors: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Error diagnostic checks\").nullable().optional(),\n Failed: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Failed diagnostic checks\").nullable().optional(),\n Passed: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Passed diagnostic checks\").nullable().optional(),\n Command: z.string().describe(\"Command executed (e.g., 'dns')\"),\n IsError: z.boolean().describe(\"Whether the lookup encountered an error\"),\n Timeouts: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Timeout diagnostic checks\").nullable().optional(),\n Warnings: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Warning diagnostic checks\").nullable().optional(),\n Transcript: z.array(z.record(z.string(), z.unknown())).describe(\"Detailed transcript of DNS queries\").nullable().optional(),\n Information: z.array(z.record(z.string(), z.unknown())).describe(\"DNS server information (NS records, A records, etc.)\").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 LookupDns action containing complete DNS lookup data and diagnostics.\\nInherits all fields from DnsData.\");\n\nexport const mxToolboxLookupDns = action(\"MX_TOOLBOX_LOOKUP_DNS\", {\n slug: \"mx_toolbox-lookup-dns\",\n name: \"Lookup DNS Records\",\n description: \"Performs comprehensive DNS health check and retrieves name server records for a domain. Returns detailed diagnostics including: - Name server (NS) records with IP addresses, TTL, and status - DNS configuration health checks (warnings, errors, passed tests) - Query transcripts showing DNS resolution path - Related lookup suggestions (A, MX, SPF records) Use this to diagnose DNS issues, verify name server configurations, or check DNS propagation status.\",\n input: MxToolboxLookupDnsInput,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AAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6HAA6H;AAEvJ,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,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-dns.d.ts
4
+ declare const MxToolboxLookupDnsInput: z.ZodTypeAny;
5
+ declare const MxToolboxLookupDnsOutput: z.ZodTypeAny;
6
+ declare const mxToolboxLookupDns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxToolboxLookupDns };
9
+ //# sourceMappingURL=lookup-dns.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dns.d.cts","names":[],"sources":["../../src/actions/lookup-dns.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEU;AAAA,cAUrC,wBAAA,EAA0B,CAAA,CAAE,UAiB+G;AAAA,cAE3I,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/lookup-dns.d.ts
4
+ declare const MxToolboxLookupDnsInput: z.ZodTypeAny;
5
+ declare const MxToolboxLookupDnsOutput: z.ZodTypeAny;
6
+ declare const mxToolboxLookupDns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxToolboxLookupDns };
9
+ //# sourceMappingURL=lookup-dns.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dns.d.mts","names":[],"sources":["../../src/actions/lookup-dns.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEU;AAAA,cAUrC,wBAAA,EAA0B,CAAA,CAAE,UAiB+G;AAAA,cAE3I,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,41 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/lookup-dns.ts
4
+ const MxToolboxLookupDnsInput = z.object({ domain: z.string().describe("Domain to perform DNS lookup on, for example 'google.com' Bare hostname only — no protocols (e.g., 'http://'), subpath, or trailing slashes.") }).describe("Request model for LookupDns action.");
5
+ const MxToolboxLookupDns_DiagnosticCheckSchema = z.object({
6
+ ID: z.number().int().describe("Unique identifier for the check"),
7
+ Url: z.string().describe("URL for more information").nullable().optional(),
8
+ Info: z.string().describe("Brief description of the check result"),
9
+ Name: z.string().describe("Name of the diagnostic check"),
10
+ AdditionalInfo: z.array(z.string()).describe("Additional details about the check").nullable().optional(),
11
+ IsExcludedByUser: z.boolean().describe("Whether user has excluded this check").nullable().optional(),
12
+ PublicDescription: z.string().describe("Public description of the issue").nullable().optional()
13
+ }).describe("Represents a diagnostic check result (warning, passed test, error, etc.)");
14
+ const mxToolboxLookupDns = action("MX_TOOLBOX_LOOKUP_DNS", {
15
+ slug: "mx_toolbox-lookup-dns",
16
+ name: "Lookup DNS Records",
17
+ description: "Performs comprehensive DNS health check and retrieves name server records for a domain. Returns detailed diagnostics including: - Name server (NS) records with IP addresses, TTL, and status - DNS configuration health checks (warnings, errors, passed tests) - Query transcripts showing DNS resolution path - Related lookup suggestions (A, MX, SPF records) Use this to diagnose DNS issues, verify name server configurations, or check DNS propagation status.",
18
+ input: MxToolboxLookupDnsInput,
19
+ output: z.object({
20
+ UID: z.string().describe("Unique identifier for the lookup").nullable().optional(),
21
+ Errors: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Error diagnostic checks").nullable().optional(),
22
+ Failed: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Failed diagnostic checks").nullable().optional(),
23
+ Passed: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Passed diagnostic checks").nullable().optional(),
24
+ Command: z.string().describe("Command executed (e.g., 'dns')"),
25
+ IsError: z.boolean().describe("Whether the lookup encountered an error"),
26
+ Timeouts: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Timeout diagnostic checks").nullable().optional(),
27
+ Warnings: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Warning diagnostic checks").nullable().optional(),
28
+ Transcript: z.array(z.record(z.string(), z.unknown())).describe("Detailed transcript of DNS queries").nullable().optional(),
29
+ Information: z.array(z.record(z.string(), z.unknown())).describe("DNS server information (NS records, A records, etc.)").nullable().optional(),
30
+ ArgumentType: z.string().describe("Type of argument (e.g., 'domain')"),
31
+ TimeRecorded: z.string().describe("Timestamp of the lookup"),
32
+ RelatedLookups: z.array(z.object({})).describe("Related lookup suggestions").nullable().optional(),
33
+ TimeToComplete: z.string().describe("Time taken to complete lookup in ms"),
34
+ CommandArgument: z.string().describe("The domain that was queried"),
35
+ ReportingNameServer: z.string().describe("Name server that reported the results").nullable().optional()
36
+ }).passthrough().describe("Response model for LookupDns action containing complete DNS lookup data and diagnostics.\nInherits all fields from DnsData.")
37
+ });
38
+ //#endregion
39
+ export { mxToolboxLookupDns };
40
+
41
+ //# sourceMappingURL=lookup-dns.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-dns.mjs","names":[],"sources":["../../src/actions/lookup-dns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDnsInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"Domain to perform DNS lookup on, for example 'google.com' Bare hostname only — no protocols (e.g., 'http://'), subpath, or trailing slashes.\"),\n}).describe(\"Request model for LookupDns action.\");\nconst MxToolboxLookupDns_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(\"Brief description of the check result\"),\n Name: z.string().describe(\"Name of the diagnostic check\"),\n AdditionalInfo: z.array(z.string()).describe(\"Additional details about the check\").nullable().optional(),\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, error, etc.)\");\nexport const MxToolboxLookupDnsOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup\").nullable().optional(),\n Errors: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Error diagnostic checks\").nullable().optional(),\n Failed: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Failed diagnostic checks\").nullable().optional(),\n Passed: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Passed diagnostic checks\").nullable().optional(),\n Command: z.string().describe(\"Command executed (e.g., 'dns')\"),\n IsError: z.boolean().describe(\"Whether the lookup encountered an error\"),\n Timeouts: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Timeout diagnostic checks\").nullable().optional(),\n Warnings: z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe(\"Warning diagnostic checks\").nullable().optional(),\n Transcript: z.array(z.record(z.string(), z.unknown())).describe(\"Detailed transcript of DNS queries\").nullable().optional(),\n Information: z.array(z.record(z.string(), z.unknown())).describe(\"DNS server information (NS records, A records, etc.)\").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 LookupDns action containing complete DNS lookup data and diagnostics.\\nInherits all fields from DnsData.\");\n\nexport const mxToolboxLookupDns = action(\"MX_TOOLBOX_LOOKUP_DNS\", {\n slug: \"mx_toolbox-lookup-dns\",\n name: \"Lookup DNS Records\",\n description: \"Performs comprehensive DNS health check and retrieves name server records for a domain. Returns detailed diagnostics including: - Name server (NS) records with IP addresses, TTL, and status - DNS configuration health checks (warnings, errors, passed tests) - Query transcripts showing DNS resolution path - Related lookup suggestions (A, MX, SPF records) Use this to diagnose DNS issues, verify name server configurations, or check DNS propagation status.\",\n input: MxToolboxLookupDnsInput,\n output: MxToolboxLookupDnsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC5K,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,2CAAyD,EAAE,OAAO;CACtE,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,uCAAuC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAoBtF,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MA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,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,6HAOhB;AACV,CAAC"}
@@ -0,0 +1,30 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/lookup-http.ts
4
+ const MxToolboxLookupHttpInput = zod.z.object({ domain: zod.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 = zod.z.object({
6
+ TTL: zod.z.string().describe("Time-to-live for DNS lookup, if applicable").nullable().optional(),
7
+ Name: zod.z.string().describe("Name/description of the specific test performed"),
8
+ Result: zod.z.string().describe("Outcome or status of the test")
9
+ });
10
+ const MxToolboxLookupHttpOutput = zod.z.object({
11
+ Domain: zod.z.string().describe("The queried domain name"),
12
+ IPAddress: zod.z.string().describe("Resolved IP address for the domain"),
13
+ IsSuccess: zod.z.boolean().describe("True if the lookup completed successfully"),
14
+ HostChanged: zod.z.boolean().describe("Whether the host IP changed during resolution"),
15
+ Information: zod.z.string().describe("General summary information about the lookup"),
16
+ ResultArray: zod.z.array(MxToolboxLookupHttp_LookupHttpResultItemSchema).describe("Array of detailed test results"),
17
+ ErrorMessage: zod.z.string().describe("Error message if the lookup failed").nullable().optional(),
18
+ ResponseTime: zod.z.string().describe("HTTP response time as reported by the API")
19
+ }).describe("Response model for the HTTP lookup action.");
20
+ const mxToolboxLookupHttp = require_action.action("MX_TOOLBOX_LOOKUP_HTTP", {
21
+ slug: "mx_toolbox-lookup-http",
22
+ name: "HTTP Lookup",
23
+ description: "Tool to perform an HTTP test on a domain. Use when you need to assess HTTP connectivity and status for a given domain.",
24
+ input: MxToolboxLookupHttpInput,
25
+ output: MxToolboxLookupHttpOutput
26
+ });
27
+ //#endregion
28
+ exports.mxToolboxLookupHttp = mxToolboxLookupHttp;
29
+
30
+ //# sourceMappingURL=lookup-http.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-http.cjs","names":["z","action"],"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,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAClI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACnE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,aAAaA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,gCAAgC;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC/E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}