@keystrokehq/mx_toolbox 0.1.4 → 0.1.6

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 (117) 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 +1 -0
  4. package/dist/actions/lookup-bimi-record.cjs.map +1 -1
  5. package/dist/actions/lookup-bimi-record.d.cts +3 -3
  6. package/dist/actions/lookup-bimi-record.d.cts.map +1 -1
  7. package/dist/actions/lookup-bimi-record.d.mts +3 -3
  8. package/dist/actions/lookup-bimi-record.d.mts.map +1 -1
  9. package/dist/actions/lookup-bimi-record.mjs +1 -0
  10. package/dist/actions/lookup-bimi-record.mjs.map +1 -1
  11. package/dist/actions/lookup-blacklist.cjs +1 -0
  12. package/dist/actions/lookup-blacklist.cjs.map +1 -1
  13. package/dist/actions/lookup-blacklist.d.cts +3 -3
  14. package/dist/actions/lookup-blacklist.d.cts.map +1 -1
  15. package/dist/actions/lookup-blacklist.d.mts +3 -3
  16. package/dist/actions/lookup-blacklist.d.mts.map +1 -1
  17. package/dist/actions/lookup-blacklist.mjs +1 -0
  18. package/dist/actions/lookup-blacklist.mjs.map +1 -1
  19. package/dist/actions/lookup-dkim.cjs +1 -0
  20. package/dist/actions/lookup-dkim.cjs.map +1 -1
  21. package/dist/actions/lookup-dkim.d.cts +3 -3
  22. package/dist/actions/lookup-dkim.d.cts.map +1 -1
  23. package/dist/actions/lookup-dkim.d.mts +3 -3
  24. package/dist/actions/lookup-dkim.d.mts.map +1 -1
  25. package/dist/actions/lookup-dkim.mjs +1 -0
  26. package/dist/actions/lookup-dkim.mjs.map +1 -1
  27. package/dist/actions/lookup-dmarc.cjs +1 -0
  28. package/dist/actions/lookup-dmarc.cjs.map +1 -1
  29. package/dist/actions/lookup-dmarc.d.cts +3 -3
  30. package/dist/actions/lookup-dmarc.d.cts.map +1 -1
  31. package/dist/actions/lookup-dmarc.d.mts +3 -3
  32. package/dist/actions/lookup-dmarc.d.mts.map +1 -1
  33. package/dist/actions/lookup-dmarc.mjs +1 -0
  34. package/dist/actions/lookup-dmarc.mjs.map +1 -1
  35. package/dist/actions/lookup-dns.cjs +1 -0
  36. package/dist/actions/lookup-dns.cjs.map +1 -1
  37. package/dist/actions/lookup-dns.d.cts +3 -3
  38. package/dist/actions/lookup-dns.d.cts.map +1 -1
  39. package/dist/actions/lookup-dns.d.mts +3 -3
  40. package/dist/actions/lookup-dns.d.mts.map +1 -1
  41. package/dist/actions/lookup-dns.mjs +1 -0
  42. package/dist/actions/lookup-dns.mjs.map +1 -1
  43. package/dist/actions/lookup-http.cjs +1 -0
  44. package/dist/actions/lookup-http.cjs.map +1 -1
  45. package/dist/actions/lookup-http.d.cts +3 -3
  46. package/dist/actions/lookup-http.d.cts.map +1 -1
  47. package/dist/actions/lookup-http.d.mts +3 -3
  48. package/dist/actions/lookup-http.d.mts.map +1 -1
  49. package/dist/actions/lookup-http.mjs +1 -0
  50. package/dist/actions/lookup-http.mjs.map +1 -1
  51. package/dist/actions/lookup-mta-sts-record.cjs +1 -0
  52. package/dist/actions/lookup-mta-sts-record.cjs.map +1 -1
  53. package/dist/actions/lookup-mta-sts-record.d.cts +3 -3
  54. package/dist/actions/lookup-mta-sts-record.d.cts.map +1 -1
  55. package/dist/actions/lookup-mta-sts-record.d.mts +3 -3
  56. package/dist/actions/lookup-mta-sts-record.d.mts.map +1 -1
  57. package/dist/actions/lookup-mta-sts-record.mjs +1 -0
  58. package/dist/actions/lookup-mta-sts-record.mjs.map +1 -1
  59. package/dist/actions/lookup-mx.cjs +1 -0
  60. package/dist/actions/lookup-mx.cjs.map +1 -1
  61. package/dist/actions/lookup-mx.d.cts +3 -3
  62. package/dist/actions/lookup-mx.d.cts.map +1 -1
  63. package/dist/actions/lookup-mx.d.mts +3 -3
  64. package/dist/actions/lookup-mx.d.mts.map +1 -1
  65. package/dist/actions/lookup-mx.mjs +1 -0
  66. package/dist/actions/lookup-mx.mjs.map +1 -1
  67. package/dist/actions/lookup-ping.cjs +1 -0
  68. package/dist/actions/lookup-ping.cjs.map +1 -1
  69. package/dist/actions/lookup-ping.d.cts +3 -3
  70. package/dist/actions/lookup-ping.d.cts.map +1 -1
  71. package/dist/actions/lookup-ping.d.mts +3 -3
  72. package/dist/actions/lookup-ping.d.mts.map +1 -1
  73. package/dist/actions/lookup-ping.mjs +1 -0
  74. package/dist/actions/lookup-ping.mjs.map +1 -1
  75. package/dist/actions/lookup-smtp.cjs +1 -0
  76. package/dist/actions/lookup-smtp.cjs.map +1 -1
  77. package/dist/actions/lookup-smtp.d.cts +3 -3
  78. package/dist/actions/lookup-smtp.d.cts.map +1 -1
  79. package/dist/actions/lookup-smtp.d.mts +3 -3
  80. package/dist/actions/lookup-smtp.d.mts.map +1 -1
  81. package/dist/actions/lookup-smtp.mjs +1 -0
  82. package/dist/actions/lookup-smtp.mjs.map +1 -1
  83. package/dist/actions/lookup-spf.cjs +1 -0
  84. package/dist/actions/lookup-spf.cjs.map +1 -1
  85. package/dist/actions/lookup-spf.d.cts +3 -3
  86. package/dist/actions/lookup-spf.d.cts.map +1 -1
  87. package/dist/actions/lookup-spf.d.mts +3 -3
  88. package/dist/actions/lookup-spf.d.mts.map +1 -1
  89. package/dist/actions/lookup-spf.mjs +1 -0
  90. package/dist/actions/lookup-spf.mjs.map +1 -1
  91. package/dist/actions/monitor-status.cjs +1 -0
  92. package/dist/actions/monitor-status.cjs.map +1 -1
  93. package/dist/actions/monitor-status.d.cts +3 -1
  94. package/dist/actions/monitor-status.d.cts.map +1 -1
  95. package/dist/actions/monitor-status.d.mts +3 -1
  96. package/dist/actions/monitor-status.d.mts.map +1 -1
  97. package/dist/actions/monitor-status.mjs +1 -0
  98. package/dist/actions/monitor-status.mjs.map +1 -1
  99. package/dist/actions/usage-check.cjs +1 -0
  100. package/dist/actions/usage-check.cjs.map +1 -1
  101. package/dist/actions/usage-check.d.cts +3 -1
  102. package/dist/actions/usage-check.d.cts.map +1 -1
  103. package/dist/actions/usage-check.d.mts +3 -1
  104. package/dist/actions/usage-check.d.mts.map +1 -1
  105. package/dist/actions/usage-check.mjs +1 -0
  106. package/dist/actions/usage-check.mjs.map +1 -1
  107. package/dist/app.cjs +5 -2
  108. package/dist/app.cjs.map +1 -1
  109. package/dist/app.d.cts +7 -1
  110. package/dist/app.d.cts.map +1 -1
  111. package/dist/app.d.mts +7 -1
  112. package/dist/app.d.mts.map +1 -1
  113. package/dist/app.mjs +3 -2
  114. package/dist/app.mjs.map +1 -1
  115. package/dist/index.d.cts +1 -1
  116. package/dist/index.d.mts +1 -1
  117. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/lookup-ping.d.ts
@@ -46,9 +48,7 @@ declare const MxToolboxLookupPingOutput: z.ZodObject<{
46
48
  EmailServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
49
  AlertgroupSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
50
  }, z.core.$loose>;
49
- declare const mxToolboxLookupPing: import("@keystrokehq/action").WorkflowActionDefinition<{
50
- domain_or_ip: string;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ declare const mxToolboxLookupPing: AppAction<typeof MxToolboxLookupPingInput, typeof MxToolboxLookupPingOutput, typeof mxToolbox.credential>;
52
52
  //#endregion
53
53
  export { mxToolboxLookupPing };
54
54
  //# sourceMappingURL=lookup-ping.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-ping.d.cts","names":[],"sources":["../../src/actions/lookup-ping.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"lookup-ping.d.cts","names":[],"sources":["../../src/actions/lookup-ping.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/lookup-ping.d.ts
@@ -46,9 +48,7 @@ declare const MxToolboxLookupPingOutput: z.ZodObject<{
46
48
  EmailServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
49
  AlertgroupSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
50
  }, z.core.$loose>;
49
- declare const mxToolboxLookupPing: import("@keystrokehq/action").WorkflowActionDefinition<{
50
- domain_or_ip: string;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ declare const mxToolboxLookupPing: AppAction<typeof MxToolboxLookupPingInput, typeof MxToolboxLookupPingOutput, typeof mxToolbox.credential>;
52
52
  //#endregion
53
53
  export { mxToolboxLookupPing };
54
54
  //# sourceMappingURL=lookup-ping.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-ping.d.mts","names":[],"sources":["../../src/actions/lookup-ping.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"lookup-ping.d.mts","names":[],"sources":["../../src/actions/lookup-ping.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/lookup-ping.ts
@@ -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.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: MxToolboxLookupPingInput,\n output: MxToolboxLookupPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC9G,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,sCAAsC,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,C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S,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"}
1
+ {"version":3,"file":"lookup-ping.mjs","names":[],"sources":["../../src/actions/lookup-ping.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxToolbox } from \"../app\";\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: AppAction<\n typeof MxToolboxLookupPingInput,\n typeof MxToolboxLookupPingOutput,\n typeof mxToolbox.credential\n> = 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":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC9G,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,sCAAsC,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mE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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,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/lookup-smtp.ts
@@ -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.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,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,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,YAAY,CAAC,CAAC,SAAS,gGAAgG;AAC1H,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,QAAQ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AC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC7E,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxToolbox } from \"../app\";\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: AppAction<\n typeof MxToolboxLookupSmtpInput,\n typeof MxToolboxLookupSmtpOutput,\n typeof mxToolbox.credential\n> = 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: Mx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S,6BAA6B,CAAC,CAAC,SAAS;CAC7E,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,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/lookup-smtp.d.ts
@@ -57,9 +59,7 @@ declare const MxToolboxLookupSmtpOutput: z.ZodObject<{
57
59
  CommandArgument: z.ZodNullable<z.ZodString>;
58
60
  ReportingNameServer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
61
  }, 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]>;
62
+ declare const mxToolboxLookupSmtp: AppAction<typeof MxToolboxLookupSmtpInput, typeof MxToolboxLookupSmtpOutput, typeof mxToolbox.credential>;
63
63
  //#endregion
64
64
  export { mxToolboxLookupSmtp };
65
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,EAAwB,CAAA,CAAA,SAAA;;;cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"lookup-smtp.d.cts","names":[],"sources":["../../src/actions/lookup-smtp.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/lookup-smtp.d.ts
@@ -57,9 +59,7 @@ declare const MxToolboxLookupSmtpOutput: z.ZodObject<{
57
59
  CommandArgument: z.ZodNullable<z.ZodString>;
58
60
  ReportingNameServer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
61
  }, 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]>;
62
+ declare const mxToolboxLookupSmtp: AppAction<typeof MxToolboxLookupSmtpInput, typeof MxToolboxLookupSmtpOutput, typeof mxToolbox.credential>;
63
63
  //#endregion
64
64
  export { mxToolboxLookupSmtp };
65
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,EAAwB,CAAA,CAAA,SAAA;;;cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"lookup-smtp.d.mts","names":[],"sources":["../../src/actions/lookup-smtp.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/lookup-smtp.ts
@@ -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.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,2BAA2B,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EAC5G,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,4CAA4C,EAAE,OAAO;CACzD,IA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AAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACtE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC7E,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxToolbox } from \"../app\";\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: AppAction<\n typeof MxToolboxLookupSmtpInput,\n typeof MxToolboxLookupSmtpOutput,\n typeof mxToolbox.credential\n> = 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":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EAC5G,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,S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CAAC,SAAS;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACtE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC7E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qOAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/lookup-spf.ts
@@ -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.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. Use when confirming email sender authorization policies.\",\n input: MxToolboxLookupSpfInput,\n output: MxToolboxLookupSpfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC5K,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,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ACzG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2IAA2I;AAErK,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxToolbox } from \"../app\";\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: AppAction<\n typeof MxToolboxLookupSpfInput,\n typeof MxToolboxLookupSpfOutput,\n typeof mxToolbox.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC5K,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAA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P,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/lookup-spf.d.ts
@@ -89,9 +91,7 @@ declare const MxToolboxLookupSpfOutput: z.ZodObject<{
89
91
  AlertgroupSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
92
  DnsServiceProviderIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
93
  }, z.core.$loose>;
92
- declare const mxToolboxLookupSpf: import("@keystrokehq/action").WorkflowActionDefinition<{
93
- domain: string;
94
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
94
+ declare const mxToolboxLookupSpf: AppAction<typeof MxToolboxLookupSpfInput, typeof MxToolboxLookupSpfOutput, typeof mxToolbox.credential>;
95
95
  //#endregion
96
96
  export { mxToolboxLookupSpf };
97
97
  //# sourceMappingURL=lookup-spf.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-spf.d.cts","names":[],"sources":["../../src/actions/lookup-spf.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"lookup-spf.d.cts","names":[],"sources":["../../src/actions/lookup-spf.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/lookup-spf.d.ts
@@ -89,9 +91,7 @@ declare const MxToolboxLookupSpfOutput: z.ZodObject<{
89
91
  AlertgroupSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
92
  DnsServiceProviderIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
93
  }, z.core.$loose>;
92
- declare const mxToolboxLookupSpf: import("@keystrokehq/action").WorkflowActionDefinition<{
93
- domain: string;
94
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
94
+ declare const mxToolboxLookupSpf: AppAction<typeof MxToolboxLookupSpfInput, typeof MxToolboxLookupSpfOutput, typeof mxToolbox.credential>;
95
95
  //#endregion
96
96
  export { mxToolboxLookupSpf };
97
97
  //# sourceMappingURL=lookup-spf.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-spf.d.mts","names":[],"sources":["../../src/actions/lookup-spf.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"lookup-spf.d.mts","names":[],"sources":["../../src/actions/lookup-spf.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/lookup-spf.ts
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-spf.mjs","names":[],"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. Use when confirming email sender authorization policies.\",\n input: MxToolboxLookupSpfInput,\n output: MxToolboxLookupSpfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC5K,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO,EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,C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uC,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,sBAAsB,kDAAkD,SAAS;EACjF,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2IAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"lookup-spf.mjs","names":[],"sources":["../../src/actions/lookup-spf.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxToolbox } from \"../app\";\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: AppAction<\n typeof MxToolboxLookupSpfInput,\n typeof MxToolboxLookupSpfOutput,\n typeof mxToolbox.credential\n> = 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":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC5K,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO,EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO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AiD,CAAC,CAAC,SAAS,kCAAkC;EACxH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,sBAAsB,kDAAkD,SAAS;EACjF,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2IAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/monitor-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"monitor-status.cjs","names":["z","action"],"sources":["../../src/actions/monitor-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxMonitorStatusInput = z.object({}).describe(\"Request model for retrieving all monitor statuses. No parameters are required.\");\nconst MxToolboxMonitorStatus_MonitorStatusItemSchema = z.object({\n MxRep: z.string().describe(\"MX reputation score (0-100 scale)\").nullable().optional(),\n Failing: z.array(z.unknown()).describe(\"List of failing check details\").nullable().optional(),\n Warnings: z.array(z.unknown()).describe(\"List of warning messages\").nullable().optional(),\n MonitorUID: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n LastChecked: z.string().describe(\"Timestamp of the last status check (ISO 8601 format)\").nullable(),\n ActionString: z.string().describe(\"Monitor type and target (e.g., 'blacklist:example.com')\").nullable(),\n LastTransition: z.string().describe(\"Timestamp when the monitor last changed status (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Represents a single monitor status entry from the MX Toolbox API.\");\nconst MxToolboxMonitorStatus_MonitorDataWrapperSchema = z.object({\n details: z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe(\"List of monitor status items\").nullable().optional(),\n}).passthrough().describe(\"Wrapper for the data field containing monitor details.\");\nexport const MxToolboxMonitorStatusOutput = z.object({\n data: MxToolboxMonitorStatus_MonitorDataWrapperSchema.nullable(),\n error: z.string().describe(\"Error message if the retrieval failed, null otherwise\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates if the retrieval was successful\").nullable(),\n}).passthrough().describe(\"Response model for retrieving all monitor statuses from MX Toolbox API.\");\n\nexport const mxToolboxMonitorStatus = action(\"MX_TOOLBOX_MONITOR_STATUS\", {\n slug: \"mx_toolbox-monitor-status\",\n name: \"Monitor Status\",\n description: \"Retrieves the current status of all monitors configured in the MX Toolbox account. This action returns a list of all monitors with their health status, last check time, reputation scores, and any failing checks or warnings. Use this when you need to: - Check the overall health of all configured monitors - Get a comprehensive view of monitoring status across all services - Identify which monitors are failing or have warnings - Review when monitors were last checked No parameters are required - this action retrieves all monitors for the authenticated account. Returns an empty list if no monitors are configured.\",\n input: MxToolboxMonitorStatusInput,\n output: MxToolboxMonitorStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACjJ,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,gDAAgD,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"monitor-status.cjs","names":["z","action"],"sources":["../../src/actions/monitor-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxToolbox } from \"../app\";\n\nexport const MxToolboxMonitorStatusInput = z.object({}).describe(\"Request model for retrieving all monitor statuses. No parameters are required.\");\nconst MxToolboxMonitorStatus_MonitorStatusItemSchema = z.object({\n MxRep: z.string().describe(\"MX reputation score (0-100 scale)\").nullable().optional(),\n Failing: z.array(z.unknown()).describe(\"List of failing check details\").nullable().optional(),\n Warnings: z.array(z.unknown()).describe(\"List of warning messages\").nullable().optional(),\n MonitorUID: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n LastChecked: z.string().describe(\"Timestamp of the last status check (ISO 8601 format)\").nullable(),\n ActionString: z.string().describe(\"Monitor type and target (e.g., 'blacklist:example.com')\").nullable(),\n LastTransition: z.string().describe(\"Timestamp when the monitor last changed status (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Represents a single monitor status entry from the MX Toolbox API.\");\nconst MxToolboxMonitorStatus_MonitorDataWrapperSchema = z.object({\n details: z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe(\"List of monitor status items\").nullable().optional(),\n}).passthrough().describe(\"Wrapper for the data field containing monitor details.\");\nexport const MxToolboxMonitorStatusOutput = z.object({\n data: MxToolboxMonitorStatus_MonitorDataWrapperSchema.nullable(),\n error: z.string().describe(\"Error message if the retrieval failed, null otherwise\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates if the retrieval was successful\").nullable(),\n}).passthrough().describe(\"Response model for retrieving all monitor statuses from MX Toolbox API.\");\n\nexport const mxToolboxMonitorStatus: AppAction<\n typeof MxToolboxMonitorStatusInput,\n typeof MxToolboxMonitorStatusOutput,\n typeof mxToolbox.credential\n> = action(\"MX_TOOLBOX_MONITOR_STATUS\", {\n slug: \"mx_toolbox-monitor-status\",\n name: \"Monitor Status\",\n description: \"Retrieves the current status of all monitors configured in the MX Toolbox account. This action returns a list of all monitors with their health status, last check time, reputation scores, and any failing checks or warnings. Use this when you need to: - Check the overall health of all configured monitors - Get a comprehensive view of monitoring status across all services - Identify which monitors are failing or have warnings - Review when monitors were last checked No parameters are required - this action retrieves all monitors for the authenticated account. Returns an empty list if no monitors are configured.\",\n input: MxToolboxMonitorStatusInput,\n output: MxToolboxMonitorStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACjJ,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,gDAAgD,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/monitor-status.d.ts
@@ -17,7 +19,7 @@ declare const MxToolboxMonitorStatusOutput: z.ZodObject<{
17
19
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  successfull: z.ZodNullable<z.ZodBoolean>;
19
21
  }, z.core.$loose>;
20
- declare const mxToolboxMonitorStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const mxToolboxMonitorStatus: AppAction<typeof MxToolboxMonitorStatusInput, typeof MxToolboxMonitorStatusOutput, typeof mxToolbox.credential>;
21
23
  //#endregion
22
24
  export { mxToolboxMonitorStatus };
23
25
  //# sourceMappingURL=monitor-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"monitor-status.d.cts","names":[],"sources":["../../src/actions/monitor-status.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAM5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"monitor-status.d.cts","names":[],"sources":["../../src/actions/monitor-status.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/monitor-status.d.ts
@@ -17,7 +19,7 @@ declare const MxToolboxMonitorStatusOutput: z.ZodObject<{
17
19
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  successfull: z.ZodNullable<z.ZodBoolean>;
19
21
  }, z.core.$loose>;
20
- declare const mxToolboxMonitorStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const mxToolboxMonitorStatus: AppAction<typeof MxToolboxMonitorStatusInput, typeof MxToolboxMonitorStatusOutput, typeof mxToolbox.credential>;
21
23
  //#endregion
22
24
  export { mxToolboxMonitorStatus };
23
25
  //# sourceMappingURL=monitor-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"monitor-status.d.mts","names":[],"sources":["../../src/actions/monitor-status.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAM5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"monitor-status.d.mts","names":[],"sources":["../../src/actions/monitor-status.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/monitor-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"monitor-status.mjs","names":[],"sources":["../../src/actions/monitor-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxMonitorStatusInput = z.object({}).describe(\"Request model for retrieving all monitor statuses. No parameters are required.\");\nconst MxToolboxMonitorStatus_MonitorStatusItemSchema = z.object({\n MxRep: z.string().describe(\"MX reputation score (0-100 scale)\").nullable().optional(),\n Failing: z.array(z.unknown()).describe(\"List of failing check details\").nullable().optional(),\n Warnings: z.array(z.unknown()).describe(\"List of warning messages\").nullable().optional(),\n MonitorUID: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n LastChecked: z.string().describe(\"Timestamp of the last status check (ISO 8601 format)\").nullable(),\n ActionString: z.string().describe(\"Monitor type and target (e.g., 'blacklist:example.com')\").nullable(),\n LastTransition: z.string().describe(\"Timestamp when the monitor last changed status (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Represents a single monitor status entry from the MX Toolbox API.\");\nconst MxToolboxMonitorStatus_MonitorDataWrapperSchema = z.object({\n details: z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe(\"List of monitor status items\").nullable().optional(),\n}).passthrough().describe(\"Wrapper for the data field containing monitor details.\");\nexport const MxToolboxMonitorStatusOutput = z.object({\n data: MxToolboxMonitorStatus_MonitorDataWrapperSchema.nullable(),\n error: z.string().describe(\"Error message if the retrieval failed, null otherwise\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates if the retrieval was successful\").nullable(),\n}).passthrough().describe(\"Response model for retrieving all monitor statuses from MX Toolbox API.\");\n\nexport const mxToolboxMonitorStatus = action(\"MX_TOOLBOX_MONITOR_STATUS\", {\n slug: \"mx_toolbox-monitor-status\",\n name: \"Monitor Status\",\n description: \"Retrieves the current status of all monitors configured in the MX Toolbox account. This action returns a list of all monitors with their health status, last check time, reputation scores, and any failing checks or warnings. Use this when you need to: - Check the overall health of all configured monitors - Get a comprehensive view of monitoring status across all services - Identify which monitors are failing or have warnings - Review when monitors were last checked No parameters are required - this action retrieves all monitors for the authenticated account. Returns an empty list if no monitors are configured.\",\n input: MxToolboxMonitorStatusInput,\n output: MxToolboxMonitorStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACjJ,MAAM,iDAAiD,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,kDAAkD,EAAE,OAAO,EAC/D,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAOlF,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0C,EAAE,OAAO;EACnD,MAAM,gDAAgD,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"monitor-status.mjs","names":[],"sources":["../../src/actions/monitor-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxToolbox } from \"../app\";\n\nexport const MxToolboxMonitorStatusInput = z.object({}).describe(\"Request model for retrieving all monitor statuses. No parameters are required.\");\nconst MxToolboxMonitorStatus_MonitorStatusItemSchema = z.object({\n MxRep: z.string().describe(\"MX reputation score (0-100 scale)\").nullable().optional(),\n Failing: z.array(z.unknown()).describe(\"List of failing check details\").nullable().optional(),\n Warnings: z.array(z.unknown()).describe(\"List of warning messages\").nullable().optional(),\n MonitorUID: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n LastChecked: z.string().describe(\"Timestamp of the last status check (ISO 8601 format)\").nullable(),\n ActionString: z.string().describe(\"Monitor type and target (e.g., 'blacklist:example.com')\").nullable(),\n LastTransition: z.string().describe(\"Timestamp when the monitor last changed status (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Represents a single monitor status entry from the MX Toolbox API.\");\nconst MxToolboxMonitorStatus_MonitorDataWrapperSchema = z.object({\n details: z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe(\"List of monitor status items\").nullable().optional(),\n}).passthrough().describe(\"Wrapper for the data field containing monitor details.\");\nexport const MxToolboxMonitorStatusOutput = z.object({\n data: MxToolboxMonitorStatus_MonitorDataWrapperSchema.nullable(),\n error: z.string().describe(\"Error message if the retrieval failed, null otherwise\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates if the retrieval was successful\").nullable(),\n}).passthrough().describe(\"Response model for retrieving all monitor statuses from MX Toolbox API.\");\n\nexport const mxToolboxMonitorStatus: AppAction<\n typeof MxToolboxMonitorStatusInput,\n typeof MxToolboxMonitorStatusOutput,\n typeof mxToolbox.credential\n> = action(\"MX_TOOLBOX_MONITOR_STATUS\", {\n slug: \"mx_toolbox-monitor-status\",\n name: \"Monitor Status\",\n description: \"Retrieves the current status of all monitors configured in the MX Toolbox account. This action returns a list of all monitors with their health status, last check time, reputation scores, and any failing checks or warnings. Use this when you need to: - Check the overall health of all configured monitors - Get a comprehensive view of monitoring status across all services - Identify which monitors are failing or have warnings - Review when monitors were last checked No parameters are required - this action retrieves all monitors for the authenticated account. Returns an empty list if no monitors are configured.\",\n input: MxToolboxMonitorStatusInput,\n output: MxToolboxMonitorStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACjJ,MAAM,iDAAiD,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,kDAAkD,EAAE,OAAO,EAC/D,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAOlF,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf0C,EAAE,OAAO;EACnD,MAAM,gDAAgD,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/usage-check.ts
@@ -1 +1 @@
1
- {"version":3,"file":"usage-check.cjs","names":["z","action"],"sources":["../../src/actions/usage-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxUsageCheckInput = z.object({}).describe(\"Request model for API usage statistics check.\");\nexport const MxToolboxUsageCheckOutput = z.object({\n DnsMax: z.number().int().describe(\"Maximum number of DNS lookups allowed in the current cycle\").nullable(),\n NetworkMax: z.number().int().describe(\"Maximum number of network requests allowed in the current cycle\").nullable(),\n DnsRequests: z.number().int().describe(\"Number of DNS lookup requests made in the current cycle\").nullable(),\n NetworkRequests: z.number().int().describe(\"Number of network (HTTP, SMTP, Ping) requests made in the current cycle\").nullable(),\n DnsOverageErrors: z.number().int().describe(\"Number of DNS requests that resulted in overage errors\").nullable(),\n NetworkOverageErrors: z.number().int().describe(\"Number of network requests that resulted in overage errors\").nullable(),\n}).passthrough().describe(\"Response model for API usage statistics.\");\n\nexport const mxToolboxUsageCheck = action(\"MX_TOOLBOX_USAGE_CHECK\", {\n slug: \"mx_toolbox-usage-check\",\n name: \"Check Usage\",\n description: \"Retrieve API usage statistics for DNS and network lookups. Returns current request counts, maximum allowed requests, and any overage errors for both DNS lookups and network operations (HTTP, SMTP, Ping).\",\n input: MxToolboxUsageCheckInput,\n output: MxToolboxUsageCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC7G,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC3G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"usage-check.cjs","names":["z","action"],"sources":["../../src/actions/usage-check.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxToolbox } from \"../app\";\n\nexport const MxToolboxUsageCheckInput = z.object({}).describe(\"Request model for API usage statistics check.\");\nexport const MxToolboxUsageCheckOutput = z.object({\n DnsMax: z.number().int().describe(\"Maximum number of DNS lookups allowed in the current cycle\").nullable(),\n NetworkMax: z.number().int().describe(\"Maximum number of network requests allowed in the current cycle\").nullable(),\n DnsRequests: z.number().int().describe(\"Number of DNS lookup requests made in the current cycle\").nullable(),\n NetworkRequests: z.number().int().describe(\"Number of network (HTTP, SMTP, Ping) requests made in the current cycle\").nullable(),\n DnsOverageErrors: z.number().int().describe(\"Number of DNS requests that resulted in overage errors\").nullable(),\n NetworkOverageErrors: z.number().int().describe(\"Number of network requests that resulted in overage errors\").nullable(),\n}).passthrough().describe(\"Response model for API usage statistics.\");\n\nexport const mxToolboxUsageCheck: AppAction<\n typeof MxToolboxUsageCheckInput,\n typeof MxToolboxUsageCheckOutput,\n typeof mxToolbox.credential\n> = action(\"MX_TOOLBOX_USAGE_CHECK\", {\n slug: \"mx_toolbox-usage-check\",\n name: \"Check Usage\",\n description: \"Retrieve API usage statistics for DNS and network lookups. Returns current request counts, maximum allowed requests, and any overage errors for both DNS lookups and network operations (HTTP, SMTP, Ping).\",\n input: MxToolboxUsageCheckInput,\n output: MxToolboxUsageCheckOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC7G,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC3G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/usage-check.d.ts
@@ -10,7 +12,7 @@ declare const MxToolboxUsageCheckOutput: z.ZodObject<{
10
12
  DnsOverageErrors: z.ZodNullable<z.ZodNumber>;
11
13
  NetworkOverageErrors: z.ZodNullable<z.ZodNumber>;
12
14
  }, z.core.$loose>;
13
- declare const mxToolboxUsageCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const mxToolboxUsageCheck: AppAction<typeof MxToolboxUsageCheckInput, typeof MxToolboxUsageCheckOutput, typeof mxToolbox.credential>;
14
16
  //#endregion
15
17
  export { mxToolboxUsageCheck };
16
18
  //# sourceMappingURL=usage-check.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usage-check.d.cts","names":[],"sources":["../../src/actions/usage-check.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"usage-check.d.cts","names":[],"sources":["../../src/actions/usage-check.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxToolbox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/usage-check.d.ts
@@ -10,7 +12,7 @@ declare const MxToolboxUsageCheckOutput: z.ZodObject<{
10
12
  DnsOverageErrors: z.ZodNullable<z.ZodNumber>;
11
13
  NetworkOverageErrors: z.ZodNullable<z.ZodNumber>;
12
14
  }, z.core.$loose>;
13
- declare const mxToolboxUsageCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const mxToolboxUsageCheck: AppAction<typeof MxToolboxUsageCheckInput, typeof MxToolboxUsageCheckOutput, typeof mxToolbox.credential>;
14
16
  //#endregion
15
17
  export { mxToolboxUsageCheck };
16
18
  //# sourceMappingURL=usage-check.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usage-check.d.mts","names":[],"sources":["../../src/actions/usage-check.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"usage-check.d.mts","names":[],"sources":["../../src/actions/usage-check.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mxToolboxUsageCheck = action("MX_TOOLBOX_USAGE_CHECK", {