@keystrokehq/mx_toolbox 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/lookup-bimi-record.cjs +33 -33
  4. package/dist/actions/lookup-bimi-record.cjs.map +1 -1
  5. package/dist/actions/lookup-bimi-record.d.cts +88 -3
  6. package/dist/actions/lookup-bimi-record.d.cts.map +1 -1
  7. package/dist/actions/lookup-bimi-record.d.mts +88 -3
  8. package/dist/actions/lookup-bimi-record.d.mts.map +1 -1
  9. package/dist/actions/lookup-bimi-record.mjs +33 -33
  10. package/dist/actions/lookup-bimi-record.mjs.map +1 -1
  11. package/dist/actions/lookup-blacklist.cjs +18 -18
  12. package/dist/actions/lookup-blacklist.cjs.map +1 -1
  13. package/dist/actions/lookup-blacklist.d.cts +71 -3
  14. package/dist/actions/lookup-blacklist.d.cts.map +1 -1
  15. package/dist/actions/lookup-blacklist.d.mts +71 -3
  16. package/dist/actions/lookup-blacklist.d.mts.map +1 -1
  17. package/dist/actions/lookup-blacklist.mjs +18 -18
  18. package/dist/actions/lookup-blacklist.mjs.map +1 -1
  19. package/dist/actions/lookup-dkim.cjs +25 -25
  20. package/dist/actions/lookup-dkim.cjs.map +1 -1
  21. package/dist/actions/lookup-dkim.d.cts +77 -3
  22. package/dist/actions/lookup-dkim.d.cts.map +1 -1
  23. package/dist/actions/lookup-dkim.d.mts +77 -3
  24. package/dist/actions/lookup-dkim.d.mts.map +1 -1
  25. package/dist/actions/lookup-dkim.mjs +25 -25
  26. package/dist/actions/lookup-dkim.mjs.map +1 -1
  27. package/dist/actions/lookup-dmarc.cjs +3 -3
  28. package/dist/actions/lookup-dmarc.cjs.map +1 -1
  29. package/dist/actions/lookup-dmarc.d.cts +28 -3
  30. package/dist/actions/lookup-dmarc.d.cts.map +1 -1
  31. package/dist/actions/lookup-dmarc.d.mts +28 -3
  32. package/dist/actions/lookup-dmarc.d.mts.map +1 -1
  33. package/dist/actions/lookup-dmarc.mjs +3 -3
  34. package/dist/actions/lookup-dmarc.mjs.map +1 -1
  35. package/dist/actions/lookup-dns.cjs +11 -11
  36. package/dist/actions/lookup-dns.cjs.map +1 -1
  37. package/dist/actions/lookup-dns.d.cts +64 -3
  38. package/dist/actions/lookup-dns.d.cts.map +1 -1
  39. package/dist/actions/lookup-dns.d.mts +64 -3
  40. package/dist/actions/lookup-dns.d.mts.map +1 -1
  41. package/dist/actions/lookup-dns.mjs +11 -11
  42. package/dist/actions/lookup-dns.mjs.map +1 -1
  43. package/dist/actions/lookup-http.cjs +10 -10
  44. package/dist/actions/lookup-http.cjs.map +1 -1
  45. package/dist/actions/lookup-http.d.cts +20 -3
  46. package/dist/actions/lookup-http.d.cts.map +1 -1
  47. package/dist/actions/lookup-http.d.mts +20 -3
  48. package/dist/actions/lookup-http.d.mts.map +1 -1
  49. package/dist/actions/lookup-http.mjs +10 -10
  50. package/dist/actions/lookup-http.mjs.map +1 -1
  51. package/dist/actions/lookup-mta-sts-record.cjs +11 -11
  52. package/dist/actions/lookup-mta-sts-record.cjs.map +1 -1
  53. package/dist/actions/lookup-mta-sts-record.d.cts +36 -3
  54. package/dist/actions/lookup-mta-sts-record.d.cts.map +1 -1
  55. package/dist/actions/lookup-mta-sts-record.d.mts +36 -3
  56. package/dist/actions/lookup-mta-sts-record.d.mts.map +1 -1
  57. package/dist/actions/lookup-mta-sts-record.mjs +11 -11
  58. package/dist/actions/lookup-mta-sts-record.mjs.map +1 -1
  59. package/dist/actions/lookup-mx.cjs +6 -6
  60. package/dist/actions/lookup-mx.cjs.map +1 -1
  61. package/dist/actions/lookup-mx.d.cts +16 -3
  62. package/dist/actions/lookup-mx.d.cts.map +1 -1
  63. package/dist/actions/lookup-mx.d.mts +16 -3
  64. package/dist/actions/lookup-mx.d.mts.map +1 -1
  65. package/dist/actions/lookup-mx.mjs +6 -6
  66. package/dist/actions/lookup-mx.mjs.map +1 -1
  67. package/dist/actions/lookup-ping.cjs +25 -25
  68. package/dist/actions/lookup-ping.cjs.map +1 -1
  69. package/dist/actions/lookup-ping.d.cts +48 -3
  70. package/dist/actions/lookup-ping.d.cts.map +1 -1
  71. package/dist/actions/lookup-ping.d.mts +48 -3
  72. package/dist/actions/lookup-ping.d.mts.map +1 -1
  73. package/dist/actions/lookup-ping.mjs +25 -25
  74. package/dist/actions/lookup-ping.mjs.map +1 -1
  75. package/dist/actions/lookup-smtp.cjs +11 -11
  76. package/dist/actions/lookup-smtp.cjs.map +1 -1
  77. package/dist/actions/lookup-smtp.d.cts +59 -3
  78. package/dist/actions/lookup-smtp.d.cts.map +1 -1
  79. package/dist/actions/lookup-smtp.d.mts +59 -3
  80. package/dist/actions/lookup-smtp.d.mts.map +1 -1
  81. package/dist/actions/lookup-smtp.mjs +11 -11
  82. package/dist/actions/lookup-smtp.mjs.map +1 -1
  83. package/dist/actions/lookup-spf.cjs +33 -33
  84. package/dist/actions/lookup-spf.cjs.map +1 -1
  85. package/dist/actions/lookup-spf.d.cts +91 -3
  86. package/dist/actions/lookup-spf.d.cts.map +1 -1
  87. package/dist/actions/lookup-spf.d.mts +91 -3
  88. package/dist/actions/lookup-spf.d.mts.map +1 -1
  89. package/dist/actions/lookup-spf.mjs +33 -33
  90. package/dist/actions/lookup-spf.mjs.map +1 -1
  91. package/dist/actions/monitor-status.cjs +8 -8
  92. package/dist/actions/monitor-status.cjs.map +1 -1
  93. package/dist/actions/monitor-status.d.cts +17 -3
  94. package/dist/actions/monitor-status.d.cts.map +1 -1
  95. package/dist/actions/monitor-status.d.mts +17 -3
  96. package/dist/actions/monitor-status.d.mts.map +1 -1
  97. package/dist/actions/monitor-status.mjs +8 -8
  98. package/dist/actions/monitor-status.mjs.map +1 -1
  99. package/dist/actions/usage-check.cjs +7 -7
  100. package/dist/actions/usage-check.cjs.map +1 -1
  101. package/dist/actions/usage-check.d.cts +10 -3
  102. package/dist/actions/usage-check.d.cts.map +1 -1
  103. package/dist/actions/usage-check.d.mts +10 -3
  104. package/dist/actions/usage-check.d.mts.map +1 -1
  105. package/dist/actions/usage-check.mjs +7 -7
  106. package/dist/actions/usage-check.mjs.map +1 -1
  107. package/dist/catalog.cjs +7 -1
  108. package/dist/catalog.cjs.map +1 -1
  109. package/dist/catalog.d.cts +8 -0
  110. package/dist/catalog.d.mts +8 -0
  111. package/dist/catalog.mjs +7 -1
  112. package/dist/catalog.mjs.map +1 -1
  113. package/package.json +2 -2
@@ -1,9 +1,83 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/lookup-dkim.d.ts
4
- declare const MxToolboxLookupDkimInput: z.ZodTypeAny;
5
- declare const MxToolboxLookupDkimOutput: z.ZodTypeAny;
6
- declare const mxToolboxLookupDkim: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxToolboxLookupDkimInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MxToolboxLookupDkimOutput: z.ZodObject<{
8
+ UID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ MxRep: z.ZodNullable<z.ZodNumber>;
10
+ Errors: z.ZodArray<z.ZodString>;
11
+ Failed: z.ZodArray<z.ZodObject<{
12
+ ID: z.ZodNullable<z.ZodNumber>;
13
+ Url: z.ZodNullable<z.ZodString>;
14
+ Info: z.ZodNullable<z.ZodString>;
15
+ Name: z.ZodNullable<z.ZodString>;
16
+ IsExcludedByUser: z.ZodNullable<z.ZodBoolean>;
17
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ Passed: z.ZodArray<z.ZodObject<{
20
+ ID: z.ZodNullable<z.ZodNumber>;
21
+ Url: z.ZodNullable<z.ZodString>;
22
+ Info: z.ZodNullable<z.ZodString>;
23
+ Name: z.ZodNullable<z.ZodString>;
24
+ IsExcludedByUser: z.ZodNullable<z.ZodBoolean>;
25
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>;
27
+ Command: z.ZodNullable<z.ZodString>;
28
+ IsError: z.ZodNullable<z.ZodBoolean>;
29
+ Records: z.ZodArray<z.ZodString>;
30
+ Timeouts: z.ZodArray<z.ZodString>;
31
+ Warnings: z.ZodArray<z.ZodObject<{
32
+ ID: z.ZodNullable<z.ZodNumber>;
33
+ Url: z.ZodNullable<z.ZodString>;
34
+ Info: z.ZodNullable<z.ZodString>;
35
+ Name: z.ZodNullable<z.ZodString>;
36
+ IsExcludedByUser: z.ZodNullable<z.ZodBoolean>;
37
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ }, z.core.$loose>>;
39
+ RelatedIP: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ CustomData: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ IsEndpoint: z.ZodNullable<z.ZodBoolean>;
42
+ Transcript: z.ZodArray<z.ZodObject<{
43
+ Transcript: z.ZodNullable<z.ZodString>;
44
+ }, z.core.$loose>>;
45
+ Information: z.ZodArray<z.ZodObject<{
46
+ Tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ TagValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$loose>>;
51
+ ArgumentType: z.ZodNullable<z.ZodString>;
52
+ TimeRecorded: z.ZodNullable<z.ZodString>;
53
+ IsTransitioned: z.ZodNullable<z.ZodBoolean>;
54
+ RelatedLookups: z.ZodArray<z.ZodObject<{
55
+ URL: z.ZodNullable<z.ZodString>;
56
+ Name: z.ZodNullable<z.ZodString>;
57
+ Command: z.ZodNullable<z.ZodString>;
58
+ CommandArgument: z.ZodNullable<z.ZodString>;
59
+ }, z.core.$loose>>;
60
+ TimeToComplete: z.ZodNullable<z.ZodString>;
61
+ CommandArgument: z.ZodNullable<z.ZodString>;
62
+ HasSubscriptions: z.ZodNullable<z.ZodBoolean>;
63
+ IsEmptySubDomain: z.ZodNullable<z.ZodBoolean>;
64
+ MultiInformation: z.ZodArray<z.ZodObject<{
65
+ Tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ TagValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ }, z.core.$loose>>;
70
+ DnsServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ ResourceRecordType: z.ZodNullable<z.ZodNumber>;
72
+ ReportingNameServer: z.ZodNullable<z.ZodString>;
73
+ EmailServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ SPF_Subaction_Detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
75
+ AlertgroupSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ DnsServiceProviderIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ }, z.core.$loose>;
78
+ declare const mxToolboxLookupDkim: import("@keystrokehq/action").WorkflowActionDefinition<{
79
+ domain: string;
80
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
81
  //#endregion
8
82
  export { mxToolboxLookupDkim };
9
83
  //# sourceMappingURL=lookup-dkim.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-dkim.d.cts","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAwB5C,yBAAA,EAA2B,CAAA,CAAE,UAgCkE;AAAA,cAE/F,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"lookup-dkim.d.cts","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cA0BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,83 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/lookup-dkim.d.ts
4
- declare const MxToolboxLookupDkimInput: z.ZodTypeAny;
5
- declare const MxToolboxLookupDkimOutput: z.ZodTypeAny;
6
- declare const mxToolboxLookupDkim: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxToolboxLookupDkimInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MxToolboxLookupDkimOutput: z.ZodObject<{
8
+ UID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ MxRep: z.ZodNullable<z.ZodNumber>;
10
+ Errors: z.ZodArray<z.ZodString>;
11
+ Failed: z.ZodArray<z.ZodObject<{
12
+ ID: z.ZodNullable<z.ZodNumber>;
13
+ Url: z.ZodNullable<z.ZodString>;
14
+ Info: z.ZodNullable<z.ZodString>;
15
+ Name: z.ZodNullable<z.ZodString>;
16
+ IsExcludedByUser: z.ZodNullable<z.ZodBoolean>;
17
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ Passed: z.ZodArray<z.ZodObject<{
20
+ ID: z.ZodNullable<z.ZodNumber>;
21
+ Url: z.ZodNullable<z.ZodString>;
22
+ Info: z.ZodNullable<z.ZodString>;
23
+ Name: z.ZodNullable<z.ZodString>;
24
+ IsExcludedByUser: z.ZodNullable<z.ZodBoolean>;
25
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>;
27
+ Command: z.ZodNullable<z.ZodString>;
28
+ IsError: z.ZodNullable<z.ZodBoolean>;
29
+ Records: z.ZodArray<z.ZodString>;
30
+ Timeouts: z.ZodArray<z.ZodString>;
31
+ Warnings: z.ZodArray<z.ZodObject<{
32
+ ID: z.ZodNullable<z.ZodNumber>;
33
+ Url: z.ZodNullable<z.ZodString>;
34
+ Info: z.ZodNullable<z.ZodString>;
35
+ Name: z.ZodNullable<z.ZodString>;
36
+ IsExcludedByUser: z.ZodNullable<z.ZodBoolean>;
37
+ PublicDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ }, z.core.$loose>>;
39
+ RelatedIP: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ CustomData: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ IsEndpoint: z.ZodNullable<z.ZodBoolean>;
42
+ Transcript: z.ZodArray<z.ZodObject<{
43
+ Transcript: z.ZodNullable<z.ZodString>;
44
+ }, z.core.$loose>>;
45
+ Information: z.ZodArray<z.ZodObject<{
46
+ Tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ TagValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$loose>>;
51
+ ArgumentType: z.ZodNullable<z.ZodString>;
52
+ TimeRecorded: z.ZodNullable<z.ZodString>;
53
+ IsTransitioned: z.ZodNullable<z.ZodBoolean>;
54
+ RelatedLookups: z.ZodArray<z.ZodObject<{
55
+ URL: z.ZodNullable<z.ZodString>;
56
+ Name: z.ZodNullable<z.ZodString>;
57
+ Command: z.ZodNullable<z.ZodString>;
58
+ CommandArgument: z.ZodNullable<z.ZodString>;
59
+ }, z.core.$loose>>;
60
+ TimeToComplete: z.ZodNullable<z.ZodString>;
61
+ CommandArgument: z.ZodNullable<z.ZodString>;
62
+ HasSubscriptions: z.ZodNullable<z.ZodBoolean>;
63
+ IsEmptySubDomain: z.ZodNullable<z.ZodBoolean>;
64
+ MultiInformation: z.ZodArray<z.ZodObject<{
65
+ Tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ TagValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ }, z.core.$loose>>;
70
+ DnsServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ ResourceRecordType: z.ZodNullable<z.ZodNumber>;
72
+ ReportingNameServer: z.ZodNullable<z.ZodString>;
73
+ EmailServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ SPF_Subaction_Detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
75
+ AlertgroupSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ DnsServiceProviderIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ }, z.core.$loose>;
78
+ declare const mxToolboxLookupDkim: import("@keystrokehq/action").WorkflowActionDefinition<{
79
+ domain: string;
80
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
81
  //#endregion
8
82
  export { mxToolboxLookupDkim };
9
83
  //# sourceMappingURL=lookup-dkim.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-dkim.d.mts","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAwB5C,yBAAA,EAA2B,CAAA,CAAE,UAgCkE;AAAA,cAE/F,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"lookup-dkim.d.mts","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cA0BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCzB,mBAAA,gCAAmB,wBAAA"}
@@ -3,14 +3,14 @@ import { z } from "zod";
3
3
  //#region src/actions/lookup-dkim.ts
4
4
  const MxToolboxLookupDkimInput = z.object({ domain: z.string().describe("DKIM record name in DNS format: 'selector._domainkey.domain' (e.g., 'google._domainkey.google.com' where 'google' is the selector). This is the full DNS hostname for the DKIM TXT record. Common selectors include 'default', 'google', 'k1', 's1', 's2', or 'email'.") }).describe("Request parameters for DKIM record lookup.");
5
5
  const MxToolboxLookupDkim_LookupDkimCheckResultSchema = z.object({
6
- ID: z.number().int().describe("Unique identifier for the check."),
7
- Url: z.string().describe("URL to more information about this check."),
8
- Info: z.string().describe("Information about the check result."),
9
- Name: z.string().describe("Name of the DKIM check performed."),
10
- IsExcludedByUser: z.boolean().describe("Whether this check is excluded by the user."),
6
+ ID: z.number().int().describe("Unique identifier for the check.").nullable(),
7
+ Url: z.string().describe("URL to more information about this check.").nullable(),
8
+ Info: z.string().describe("Information about the check result.").nullable(),
9
+ Name: z.string().describe("Name of the DKIM check performed.").nullable(),
10
+ IsExcludedByUser: z.boolean().describe("Whether this check is excluded by the user.").nullable(),
11
11
  PublicDescription: z.string().describe("Public description if available.").nullable().optional()
12
- }).describe("Represents a diagnostic check result (passed, failed, or warning).");
13
- const MxToolboxLookupDkim_LookupDkimTranscriptSchema = z.object({ Transcript: z.string().describe("Detailed transcript of the DKIM lookup process.") }).describe("Detailed transcript of the DKIM lookup process.");
12
+ }).passthrough().describe("Represents a diagnostic check result (passed, failed, or warning).");
13
+ const MxToolboxLookupDkim_LookupDkimTranscriptSchema = z.object({ Transcript: z.string().describe("Detailed transcript of the DKIM lookup process.").nullable() }).passthrough().describe("Detailed transcript of the DKIM lookup process.");
14
14
  const MxToolboxLookupDkim_LookupDkimInformationItemSchema = z.object({
15
15
  Tag: z.string().describe("DKIM tag name (e.g., 'v', 'k', 'p'). May be empty for the full record entry.").nullable().optional(),
16
16
  Name: z.string().describe("Human-readable name of the tag (e.g., 'Version', 'Key Type', 'Public Key').").nullable().optional(),
@@ -18,11 +18,11 @@ const MxToolboxLookupDkim_LookupDkimInformationItemSchema = z.object({
18
18
  Description: z.string().describe("Detailed description of the tag's purpose and value, or the full DKIM record for the first entry.").nullable().optional()
19
19
  }).passthrough().describe("Information item from DKIM record details containing parsed DKIM tag information.");
20
20
  const MxToolboxLookupDkim_LookupDkimRelatedLookupSchema = z.object({
21
- URL: z.string().describe("URL to perform the related lookup."),
22
- Name: z.string().describe("Name of the related lookup."),
23
- Command: z.string().describe("Command type for the related lookup."),
24
- CommandArgument: z.string().describe("Argument for the related lookup command.")
25
- }).describe("Related lookup suggestion.");
21
+ URL: z.string().describe("URL to perform the related lookup.").nullable(),
22
+ Name: z.string().describe("Name of the related lookup.").nullable(),
23
+ Command: z.string().describe("Command type for the related lookup.").nullable(),
24
+ CommandArgument: z.string().describe("Argument for the related lookup command.").nullable()
25
+ }).passthrough().describe("Related lookup suggestion.");
26
26
  const mxToolboxLookupDkim = action("MX_TOOLBOX_LOOKUP_DKIM", {
27
27
  slug: "mx_toolbox-lookup-dkim",
28
28
  name: "Lookup DKIM Record",
@@ -30,32 +30,32 @@ const mxToolboxLookupDkim = action("MX_TOOLBOX_LOOKUP_DKIM", {
30
30
  input: MxToolboxLookupDkimInput,
31
31
  output: z.object({
32
32
  UID: z.string().describe("Unique identifier for the lookup.").nullable().optional(),
33
- MxRep: z.number().int().describe("MX reputation score."),
33
+ MxRep: z.number().int().describe("MX reputation score.").nullable(),
34
34
  Errors: z.array(z.string()).describe("List of errors if any."),
35
35
  Failed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of failed checks."),
36
36
  Passed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of passed checks."),
37
- Command: z.string().describe("Command executed (should be 'dkim')."),
38
- IsError: z.boolean().describe("Whether an error occurred."),
37
+ Command: z.string().describe("Command executed (should be 'dkim').").nullable(),
38
+ IsError: z.boolean().describe("Whether an error occurred.").nullable(),
39
39
  Records: z.array(z.string()).describe("List of DKIM records found. Empty if no records found."),
40
40
  Timeouts: z.array(z.string()).describe("List of timeouts if any."),
41
41
  Warnings: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe("List of warning checks."),
42
42
  RelatedIP: z.string().describe("Related IP address if applicable.").nullable().optional(),
43
43
  CustomData: z.string().describe("Custom data if any.").nullable().optional(),
44
- IsEndpoint: z.boolean().describe("Whether this is an endpoint."),
44
+ IsEndpoint: z.boolean().describe("Whether this is an endpoint.").nullable(),
45
45
  Transcript: z.array(MxToolboxLookupDkim_LookupDkimTranscriptSchema).describe("Detailed transcript of the lookup process."),
46
46
  Information: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe("Detailed information about the DKIM record components."),
47
- ArgumentType: z.string().describe("Type of argument (e.g., 'other')."),
48
- TimeRecorded: z.string().describe("Timestamp when the lookup was recorded."),
49
- IsTransitioned: z.boolean().describe("Whether the lookup has transitioned."),
47
+ ArgumentType: z.string().describe("Type of argument (e.g., 'other').").nullable(),
48
+ TimeRecorded: z.string().describe("Timestamp when the lookup was recorded.").nullable(),
49
+ IsTransitioned: z.boolean().describe("Whether the lookup has transitioned.").nullable(),
50
50
  RelatedLookups: z.array(MxToolboxLookupDkim_LookupDkimRelatedLookupSchema).describe("List of related lookups that can be performed."),
51
- TimeToComplete: z.string().describe("Time taken to complete the lookup in milliseconds."),
52
- CommandArgument: z.string().describe("The domain/selector that was looked up."),
53
- HasSubscriptions: z.boolean().describe("Whether there are subscriptions."),
54
- IsEmptySubDomain: z.boolean().describe("Whether the subdomain is empty."),
51
+ TimeToComplete: z.string().describe("Time taken to complete the lookup in milliseconds.").nullable(),
52
+ CommandArgument: z.string().describe("The domain/selector that was looked up.").nullable(),
53
+ HasSubscriptions: z.boolean().describe("Whether there are subscriptions.").nullable(),
54
+ IsEmptySubDomain: z.boolean().describe("Whether the subdomain is empty.").nullable(),
55
55
  MultiInformation: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe("Multi-information if applicable."),
56
56
  DnsServiceProvider: z.string().describe("DNS service provider if detected.").nullable().optional(),
57
- ResourceRecordType: z.number().int().describe("DNS resource record type number."),
58
- ReportingNameServer: z.string().describe("Name server that reported the result."),
57
+ ResourceRecordType: z.number().int().describe("DNS resource record type number.").nullable(),
58
+ ReportingNameServer: z.string().describe("Name server that reported the result.").nullable(),
59
59
  EmailServiceProvider: z.string().describe("Email service provider if detected.").nullable().optional(),
60
60
  SPF_Subaction_Detail: z.record(z.string(), z.unknown()).describe("SPF subaction details if applicable.").nullable().optional(),
61
61
  AlertgroupSubscriptionId: z.string().describe("Alert group subscription ID if any.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-dkim.mjs","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDkimInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"DKIM record name in DNS format: 'selector._domainkey.domain' (e.g., 'google._domainkey.google.com' where 'google' is the selector). This is the full DNS hostname for the DKIM TXT record. Common selectors include 'default', 'google', 'k1', 's1', 's2', or 'email'.\"),\n}).describe(\"Request parameters for DKIM record lookup.\");\nconst MxToolboxLookupDkim_LookupDkimCheckResultSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the check.\"),\n Url: z.string().describe(\"URL to more information about this check.\"),\n Info: z.string().describe(\"Information about the check result.\"),\n Name: z.string().describe(\"Name of the DKIM check performed.\"),\n IsExcludedByUser: z.boolean().describe(\"Whether this check is excluded by the user.\"),\n PublicDescription: z.string().describe(\"Public description if available.\").nullable().optional(),\n}).describe(\"Represents a diagnostic check result (passed, failed, or warning).\");\nconst MxToolboxLookupDkim_LookupDkimTranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Detailed transcript of the DKIM lookup process.\"),\n}).describe(\"Detailed transcript of the DKIM lookup process.\");\nconst MxToolboxLookupDkim_LookupDkimInformationItemSchema: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"DKIM tag name (e.g., 'v', 'k', 'p'). May be empty for the full record entry.\").nullable().optional(),\n Name: z.string().describe(\"Human-readable name of the tag (e.g., 'Version', 'Key Type', 'Public Key').\").nullable().optional(),\n TagValue: z.string().describe(\"Value associated with the DKIM tag. May be empty for the full record entry.\").nullable().optional(),\n Description: z.string().describe(\"Detailed description of the tag's purpose and value, or the full DKIM record for the first entry.\").nullable().optional(),\n}).passthrough().describe(\"Information item from DKIM record details containing parsed DKIM tag information.\");\nconst MxToolboxLookupDkim_LookupDkimRelatedLookupSchema: z.ZodTypeAny = z.object({\n URL: z.string().describe(\"URL to perform the related lookup.\"),\n Name: z.string().describe(\"Name of the related lookup.\"),\n Command: z.string().describe(\"Command type for the related lookup.\"),\n CommandArgument: z.string().describe(\"Argument for the related lookup command.\"),\n}).describe(\"Related lookup suggestion.\");\nexport const MxToolboxLookupDkimOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup.\").nullable().optional(),\n MxRep: z.number().int().describe(\"MX reputation score.\"),\n Errors: z.array(z.string()).describe(\"List of errors if any.\"),\n Failed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of failed checks.\"),\n Passed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of passed checks.\"),\n Command: z.string().describe(\"Command executed (should be 'dkim').\"),\n IsError: z.boolean().describe(\"Whether an error occurred.\"),\n Records: z.array(z.string()).describe(\"List of DKIM records found. Empty if no records found.\"),\n Timeouts: z.array(z.string()).describe(\"List of timeouts if any.\"),\n Warnings: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of warning checks.\"),\n RelatedIP: z.string().describe(\"Related IP address if applicable.\").nullable().optional(),\n CustomData: z.string().describe(\"Custom data if any.\").nullable().optional(),\n IsEndpoint: z.boolean().describe(\"Whether this is an endpoint.\"),\n Transcript: z.array(MxToolboxLookupDkim_LookupDkimTranscriptSchema).describe(\"Detailed transcript of the lookup process.\"),\n Information: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe(\"Detailed information about the DKIM record components.\"),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'other').\"),\n TimeRecorded: z.string().describe(\"Timestamp when the lookup was recorded.\"),\n IsTransitioned: z.boolean().describe(\"Whether the lookup has transitioned.\"),\n RelatedLookups: z.array(MxToolboxLookupDkim_LookupDkimRelatedLookupSchema).describe(\"List of related lookups that can be performed.\"),\n TimeToComplete: z.string().describe(\"Time taken to complete the lookup in milliseconds.\"),\n CommandArgument: z.string().describe(\"The domain/selector that was looked up.\"),\n HasSubscriptions: z.boolean().describe(\"Whether there are subscriptions.\"),\n IsEmptySubDomain: z.boolean().describe(\"Whether the subdomain is empty.\"),\n MultiInformation: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe(\"Multi-information if applicable.\"),\n DnsServiceProvider: z.string().describe(\"DNS service provider if detected.\").nullable().optional(),\n ResourceRecordType: z.number().int().describe(\"DNS resource record type number.\"),\n ReportingNameServer: z.string().describe(\"Name server that reported the result.\"),\n EmailServiceProvider: z.string().describe(\"Email service provider if detected.\").nullable().optional(),\n SPF_Subaction_Detail: z.record(z.string(), z.unknown()).describe(\"SPF subaction details if applicable.\").nullable().optional(),\n AlertgroupSubscriptionId: z.string().describe(\"Alert group subscription ID if any.\").nullable().optional(),\n DnsServiceProviderIdentifier: z.string().describe(\"DNS service provider identifier if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for DKIM lookup containing comprehensive diagnostic information.\");\n\nexport const mxToolboxLookupDkim = action(\"MX_TOOLBOX_LOOKUP_DKIM\", {\n slug: \"mx_toolbox-lookup-dkim\",\n name: \"Lookup DKIM Record\",\n description: \"Tool to retrieve DKIM (DomainKeys Identified Mail) records for a domain. DKIM is an email authentication method that helps prevent email spoofing by allowing the receiver to verify that an email was actually sent and authorized by the owner of that domain. Use this tool to verify DKIM configuration and troubleshoot email authentication issues.\",\n input: MxToolboxLookupDkimInput,\n output: MxToolboxLookupDkimOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wQAAwQ,EACtS,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,iDAA+D,EAAE,OAAO,EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sDAAoE,EAAE,OAAO;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,MAAM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SAAS,CAAC,CAAC,SAAS;EACrG,sBAAsB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,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,iFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"lookup-dkim.mjs","names":[],"sources":["../../src/actions/lookup-dkim.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDkimInput = z.object({\n domain: z.string().describe(\"DKIM record name in DNS format: 'selector._domainkey.domain' (e.g., 'google._domainkey.google.com' where 'google' is the selector). This is the full DNS hostname for the DKIM TXT record. Common selectors include 'default', 'google', 'k1', 's1', 's2', or 'email'.\"),\n}).describe(\"Request parameters for DKIM record lookup.\");\nconst MxToolboxLookupDkim_LookupDkimCheckResultSchema = z.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 DKIM 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().describe(\"Represents a diagnostic check result (passed, failed, or warning).\");\nconst MxToolboxLookupDkim_LookupDkimTranscriptSchema = z.object({\n Transcript: z.string().describe(\"Detailed transcript of the DKIM lookup process.\").nullable(),\n}).passthrough().describe(\"Detailed transcript of the DKIM lookup process.\");\nconst MxToolboxLookupDkim_LookupDkimInformationItemSchema = z.object({\n Tag: z.string().describe(\"DKIM tag name (e.g., 'v', 'k', 'p'). May be empty for the full record entry.\").nullable().optional(),\n Name: z.string().describe(\"Human-readable name of the tag (e.g., 'Version', 'Key Type', 'Public Key').\").nullable().optional(),\n TagValue: z.string().describe(\"Value associated with the DKIM tag. May be empty for the full record entry.\").nullable().optional(),\n Description: z.string().describe(\"Detailed description of the tag's purpose and value, or the full DKIM record for the first entry.\").nullable().optional(),\n}).passthrough().describe(\"Information item from DKIM record details containing parsed DKIM tag information.\");\nconst MxToolboxLookupDkim_LookupDkimRelatedLookupSchema = z.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().describe(\"Related lookup suggestion.\");\nexport const MxToolboxLookupDkimOutput = 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(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of failed checks.\"),\n Passed: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of passed checks.\"),\n Command: z.string().describe(\"Command executed (should be 'dkim').\").nullable(),\n IsError: z.boolean().describe(\"Whether an error occurred.\").nullable(),\n Records: z.array(z.string()).describe(\"List of DKIM records found. Empty if no records found.\"),\n Timeouts: z.array(z.string()).describe(\"List of timeouts if any.\"),\n Warnings: z.array(MxToolboxLookupDkim_LookupDkimCheckResultSchema).describe(\"List of warning checks.\"),\n RelatedIP: z.string().describe(\"Related IP address if applicable.\").nullable().optional(),\n CustomData: z.string().describe(\"Custom data if any.\").nullable().optional(),\n IsEndpoint: z.boolean().describe(\"Whether this is an endpoint.\").nullable(),\n Transcript: z.array(MxToolboxLookupDkim_LookupDkimTranscriptSchema).describe(\"Detailed transcript of the lookup process.\"),\n Information: z.array(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe(\"Detailed information about the DKIM record components.\"),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'other').\").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(MxToolboxLookupDkim_LookupDkimRelatedLookupSchema).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/selector 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(MxToolboxLookupDkim_LookupDkimInformationItemSchema).describe(\"Multi-information if applicable.\"),\n DnsServiceProvider: z.string().describe(\"DNS service provider if detected.\").nullable().optional(),\n ResourceRecordType: z.number().int().describe(\"DNS resource record type number.\").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: z.record(z.string(), z.unknown()).describe(\"SPF subaction details if applicable.\").nullable().optional(),\n AlertgroupSubscriptionId: z.string().describe(\"Alert group subscription ID if any.\").nullable().optional(),\n DnsServiceProviderIdentifier: z.string().describe(\"DNS service provider identifier if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for DKIM lookup containing comprehensive diagnostic information.\");\n\nexport const mxToolboxLookupDkim = action(\"MX_TOOLBOX_LOOKUP_DKIM\", {\n slug: \"mx_toolbox-lookup-dkim\",\n name: \"Lookup DKIM Record\",\n description: \"Tool to retrieve DKIM (DomainKeys Identified Mail) records for a domain. DKIM is an email authentication method that helps prevent email spoofing by allowing the receiver to verify that an email was actually sent and authorized by the owner of that domain. Use this tool to verify DKIM configuration and troubleshoot email authentication issues.\",\n input: MxToolboxLookupDkimInput,\n output: MxToolboxLookupDkimOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wQAAwQ,EACtS,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,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,mCAAmC,CAAC,CAAC,SAAS;CACxE,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,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAM,iDAAiD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,sDAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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C,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,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,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,iFAOhB;AACV,CAAC"}
@@ -9,13 +9,13 @@ const MxToolboxLookupDmarc_PassedCheckSchema = zod.z.object({
9
9
  name: zod.z.string().default("").describe("Name of the diagnostic check (e.g., 'DMARC Record Published').").nullable().optional(),
10
10
  public_description: zod.z.string().describe("Public description of the check, if available.").nullable().optional(),
11
11
  is_excluded_by_user: zod.z.boolean().default(false).describe("Whether this check has been excluded by the user.").nullable().optional()
12
- }).describe("Represents a diagnostic check that passed during DMARC validation.");
12
+ }).passthrough().describe("Represents a diagnostic check that passed during DMARC validation.");
13
13
  const MxToolboxLookupDmarc_InformationItemSchema = zod.z.object({
14
14
  tag: zod.z.string().default("").describe("DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.").nullable().optional(),
15
15
  name: zod.z.string().default("").describe("Human-readable name for the tag (e.g., 'Version', 'Policy').").nullable().optional(),
16
16
  tag_value: zod.z.string().default("").describe("The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').").nullable().optional(),
17
17
  description: zod.z.string().default("").describe("Detailed description explaining the tag's purpose and valid values.").nullable().optional()
18
- }).describe("DMARC record information item providing details about DMARC tags and their values.");
18
+ }).passthrough().describe("DMARC record information item providing details about DMARC tags and their values.");
19
19
  const MxToolboxLookupDmarcOutput = zod.z.object({
20
20
  ttl: zod.z.number().int().default(0).describe("Time to live for the DNS record in seconds.").nullable().optional(),
21
21
  name: zod.z.string().default("").describe("The queried record name (usually the domain or subdomain for DMARC).").nullable().optional(),
@@ -25,7 +25,7 @@ const MxToolboxLookupDmarcOutput = zod.z.object({
25
25
  address: zod.z.string().default("").describe("The resolved DMARC record data/address.").nullable().optional(),
26
26
  information: zod.z.array(MxToolboxLookupDmarc_InformationItemSchema).describe("List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.").nullable().optional(),
27
27
  lookup_results: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Additional DNS lookup results (typically empty for DMARC lookups).").nullable().optional()
28
- }).describe("Response schema for DMARC lookup containing record details and diagnostic checks.");
28
+ }).passthrough().describe("Response schema for DMARC lookup containing record details and diagnostic checks.");
29
29
  const mxToolboxLookupDmarc = require_action.action("MX_TOOLBOX_LOOKUP_DMARC", {
30
30
  slug: "mx_toolbox-lookup-dmarc",
31
31
  name: "Lookup DMARC Record",
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-dmarc.cjs","names":["z","action"],"sources":["../../src/actions/lookup-dmarc.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDmarcInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to lookup DMARC record for. Must be a bare hostname (e.g., 'example.com') without protocol prefixes ('https://') or path components.\"),\n}).describe(\"Parameters for a DMARC lookup.\");\nconst MxToolboxLookupDmarc_PassedCheckSchema: z.ZodTypeAny = z.object({\n id: z.number().int().default(0).describe(\"Unique identifier for the diagnostic check.\").nullable().optional(),\n url: z.string().default(\"\").describe(\"URL with more details about this check.\").nullable().optional(),\n info: z.string().default(\"\").describe(\"Information about the check result.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Name of the diagnostic check (e.g., 'DMARC Record Published').\").nullable().optional(),\n public_description: z.string().describe(\"Public description of the check, if available.\").nullable().optional(),\n is_excluded_by_user: z.boolean().default(false).describe(\"Whether this check has been excluded by the user.\").nullable().optional(),\n}).describe(\"Represents a diagnostic check that passed during DMARC validation.\");\nconst MxToolboxLookupDmarc_InformationItemSchema: z.ZodTypeAny = z.object({\n tag: z.string().default(\"\").describe(\"DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Human-readable name for the tag (e.g., 'Version', 'Policy').\").nullable().optional(),\n tag_value: z.string().default(\"\").describe(\"The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').\").nullable().optional(),\n description: z.string().default(\"\").describe(\"Detailed description explaining the tag's purpose and valid values.\").nullable().optional(),\n}).describe(\"DMARC record information item providing details about DMARC tags and their values.\");\nexport const MxToolboxLookupDmarcOutput: z.ZodTypeAny = z.object({\n ttl: z.number().int().default(0).describe(\"Time to live for the DNS record in seconds.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"The queried record name (usually the domain or subdomain for DMARC).\").nullable().optional(),\n type: z.string().default(\"\").describe(\"The DNS record type (typically 'TXT' for DMARC records).\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of errors encountered during lookup, if any.\").nullable().optional(),\n passed: z.array(MxToolboxLookupDmarc_PassedCheckSchema).describe(\"List of diagnostic checks that passed during DMARC validation.\").nullable().optional(),\n address: z.string().default(\"\").describe(\"The resolved DMARC record data/address.\").nullable().optional(),\n information: z.array(MxToolboxLookupDmarc_InformationItemSchema).describe(\"List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.\").nullable().optional(),\n lookup_results: z.array(z.record(z.string(), z.unknown())).describe(\"Additional DNS lookup results (typically empty for DMARC lookups).\").nullable().optional(),\n}).describe(\"Response schema for DMARC lookup containing record details and diagnostic checks.\");\n\nexport const mxToolboxLookupDmarc = action(\"MX_TOOLBOX_LOOKUP_DMARC\", {\n slug: \"mx_toolbox-lookup-dmarc\",\n name: \"Lookup DMARC Record\",\n description: \"Retrieves DMARC (Domain-based Message Authentication, Reporting & Conformance) records for a domain and performs validation checks. Returns detailed information about the DMARC record including policy settings (reject/quarantine/none), reporting addresses, alignment modes, and diagnostic check results. Useful for verifying email authentication configuration and troubleshooting email delivery issues.\",\n input: MxToolboxLookupDmarcInput,\n output: MxToolboxLookupDmarcOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAC/K,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MA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AAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAE/F,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"lookup-dmarc.cjs","names":["z","action"],"sources":["../../src/actions/lookup-dmarc.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDmarcInput = z.object({\n domain: z.string().describe(\"The domain to lookup DMARC record for. Must be a bare hostname (e.g., 'example.com') without protocol prefixes ('https://') or path components.\"),\n}).describe(\"Parameters for a DMARC lookup.\");\nconst MxToolboxLookupDmarc_PassedCheckSchema = z.object({\n id: z.number().int().default(0).describe(\"Unique identifier for the diagnostic check.\").nullable().optional(),\n url: z.string().default(\"\").describe(\"URL with more details about this check.\").nullable().optional(),\n info: z.string().default(\"\").describe(\"Information about the check result.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Name of the diagnostic check (e.g., 'DMARC Record Published').\").nullable().optional(),\n public_description: z.string().describe(\"Public description of the check, if available.\").nullable().optional(),\n is_excluded_by_user: z.boolean().default(false).describe(\"Whether this check has been excluded by the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents a diagnostic check that passed during DMARC validation.\");\nconst MxToolboxLookupDmarc_InformationItemSchema = z.object({\n tag: z.string().default(\"\").describe(\"DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Human-readable name for the tag (e.g., 'Version', 'Policy').\").nullable().optional(),\n tag_value: z.string().default(\"\").describe(\"The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').\").nullable().optional(),\n description: z.string().default(\"\").describe(\"Detailed description explaining the tag's purpose and valid values.\").nullable().optional(),\n}).passthrough().describe(\"DMARC record information item providing details about DMARC tags and their values.\");\nexport const MxToolboxLookupDmarcOutput = z.object({\n ttl: z.number().int().default(0).describe(\"Time to live for the DNS record in seconds.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"The queried record name (usually the domain or subdomain for DMARC).\").nullable().optional(),\n type: z.string().default(\"\").describe(\"The DNS record type (typically 'TXT' for DMARC records).\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of errors encountered during lookup, if any.\").nullable().optional(),\n passed: z.array(MxToolboxLookupDmarc_PassedCheckSchema).describe(\"List of diagnostic checks that passed during DMARC validation.\").nullable().optional(),\n address: z.string().default(\"\").describe(\"The resolved DMARC record data/address.\").nullable().optional(),\n information: z.array(MxToolboxLookupDmarc_InformationItemSchema).describe(\"List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.\").nullable().optional(),\n lookup_results: z.array(z.record(z.string(), z.unknown())).describe(\"Additional DNS lookup results (typically empty for DMARC lookups).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for DMARC lookup containing record details and diagnostic checks.\");\n\nexport const mxToolboxLookupDmarc = action(\"MX_TOOLBOX_LOOKUP_DMARC\", {\n slug: \"mx_toolbox-lookup-dmarc\",\n name: \"Lookup DMARC Record\",\n description: \"Retrieves DMARC (Domain-based Message Authentication, Reporting & Conformance) records for a domain and performs validation checks. Returns detailed information about the DMARC record including policy settings (reject/quarantine/none), reporting addresses, alignment modes, and diagnostic check results. Useful for verifying email authentication configuration and troubleshooting email delivery issues.\",\n input: MxToolboxLookupDmarcInput,\n output: MxTo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AAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/lookup-dmarc.d.ts
4
- declare const MxToolboxLookupDmarcInput: z.ZodTypeAny;
5
- declare const MxToolboxLookupDmarcOutput: z.ZodTypeAny;
6
- declare const mxToolboxLookupDmarc: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxToolboxLookupDmarcInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MxToolboxLookupDmarcOutput: z.ZodObject<{
8
+ ttl: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
10
+ type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
11
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ passed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
14
+ url: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
15
+ info: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
+ name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
17
+ public_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ is_excluded_by_user: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
19
+ }, z.core.$loose>>>>;
20
+ address: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
21
+ information: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
22
+ tag: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
23
+ name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
24
+ tag_value: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
25
+ description: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
26
+ }, z.core.$loose>>>>;
27
+ lookup_results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
28
+ }, z.core.$loose>;
29
+ declare const mxToolboxLookupDmarc: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ domain: string;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { mxToolboxLookupDmarc };
9
34
  //# sourceMappingURL=lookup-dmarc.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-dmarc.d.cts","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEG;AAAA,cAehC,0BAAA,EAA4B,CAAA,CAAE,UASqD;AAAA,cAEnF,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"lookup-dmarc.d.cts","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAiBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAW1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/lookup-dmarc.d.ts
4
- declare const MxToolboxLookupDmarcInput: z.ZodTypeAny;
5
- declare const MxToolboxLookupDmarcOutput: z.ZodTypeAny;
6
- declare const mxToolboxLookupDmarc: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxToolboxLookupDmarcInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MxToolboxLookupDmarcOutput: z.ZodObject<{
8
+ ttl: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
10
+ type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
11
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ passed: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
14
+ url: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
15
+ info: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
+ name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
17
+ public_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ is_excluded_by_user: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
19
+ }, z.core.$loose>>>>;
20
+ address: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
21
+ information: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
22
+ tag: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
23
+ name: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
24
+ tag_value: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
25
+ description: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
26
+ }, z.core.$loose>>>>;
27
+ lookup_results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
28
+ }, z.core.$loose>;
29
+ declare const mxToolboxLookupDmarc: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ domain: string;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { mxToolboxLookupDmarc };
9
34
  //# sourceMappingURL=lookup-dmarc.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-dmarc.d.mts","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEG;AAAA,cAehC,0BAAA,EAA4B,CAAA,CAAE,UASqD;AAAA,cAEnF,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"lookup-dmarc.d.mts","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAiBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAW1B,oBAAA,gCAAoB,wBAAA"}
@@ -9,13 +9,13 @@ const MxToolboxLookupDmarc_PassedCheckSchema = z.object({
9
9
  name: z.string().default("").describe("Name of the diagnostic check (e.g., 'DMARC Record Published').").nullable().optional(),
10
10
  public_description: z.string().describe("Public description of the check, if available.").nullable().optional(),
11
11
  is_excluded_by_user: z.boolean().default(false).describe("Whether this check has been excluded by the user.").nullable().optional()
12
- }).describe("Represents a diagnostic check that passed during DMARC validation.");
12
+ }).passthrough().describe("Represents a diagnostic check that passed during DMARC validation.");
13
13
  const MxToolboxLookupDmarc_InformationItemSchema = z.object({
14
14
  tag: z.string().default("").describe("DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.").nullable().optional(),
15
15
  name: z.string().default("").describe("Human-readable name for the tag (e.g., 'Version', 'Policy').").nullable().optional(),
16
16
  tag_value: z.string().default("").describe("The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').").nullable().optional(),
17
17
  description: z.string().default("").describe("Detailed description explaining the tag's purpose and valid values.").nullable().optional()
18
- }).describe("DMARC record information item providing details about DMARC tags and their values.");
18
+ }).passthrough().describe("DMARC record information item providing details about DMARC tags and their values.");
19
19
  const mxToolboxLookupDmarc = action("MX_TOOLBOX_LOOKUP_DMARC", {
20
20
  slug: "mx_toolbox-lookup-dmarc",
21
21
  name: "Lookup DMARC Record",
@@ -30,7 +30,7 @@ const mxToolboxLookupDmarc = action("MX_TOOLBOX_LOOKUP_DMARC", {
30
30
  address: z.string().default("").describe("The resolved DMARC record data/address.").nullable().optional(),
31
31
  information: z.array(MxToolboxLookupDmarc_InformationItemSchema).describe("List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.").nullable().optional(),
32
32
  lookup_results: z.array(z.record(z.string(), z.unknown())).describe("Additional DNS lookup results (typically empty for DMARC lookups).").nullable().optional()
33
- }).describe("Response schema for DMARC lookup containing record details and diagnostic checks.")
33
+ }).passthrough().describe("Response schema for DMARC lookup containing record details and diagnostic checks.")
34
34
  });
35
35
  //#endregion
36
36
  export { mxToolboxLookupDmarc };
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-dmarc.mjs","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDmarcInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to lookup DMARC record for. Must be a bare hostname (e.g., 'example.com') without protocol prefixes ('https://') or path components.\"),\n}).describe(\"Parameters for a DMARC lookup.\");\nconst MxToolboxLookupDmarc_PassedCheckSchema: z.ZodTypeAny = z.object({\n id: z.number().int().default(0).describe(\"Unique identifier for the diagnostic check.\").nullable().optional(),\n url: z.string().default(\"\").describe(\"URL with more details about this check.\").nullable().optional(),\n info: z.string().default(\"\").describe(\"Information about the check result.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Name of the diagnostic check (e.g., 'DMARC Record Published').\").nullable().optional(),\n public_description: z.string().describe(\"Public description of the check, if available.\").nullable().optional(),\n is_excluded_by_user: z.boolean().default(false).describe(\"Whether this check has been excluded by the user.\").nullable().optional(),\n}).describe(\"Represents a diagnostic check that passed during DMARC validation.\");\nconst MxToolboxLookupDmarc_InformationItemSchema: z.ZodTypeAny = z.object({\n tag: z.string().default(\"\").describe(\"DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Human-readable name for the tag (e.g., 'Version', 'Policy').\").nullable().optional(),\n tag_value: z.string().default(\"\").describe(\"The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').\").nullable().optional(),\n description: z.string().default(\"\").describe(\"Detailed description explaining the tag's purpose and valid values.\").nullable().optional(),\n}).describe(\"DMARC record information item providing details about DMARC tags and their values.\");\nexport const MxToolboxLookupDmarcOutput: z.ZodTypeAny = z.object({\n ttl: z.number().int().default(0).describe(\"Time to live for the DNS record in seconds.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"The queried record name (usually the domain or subdomain for DMARC).\").nullable().optional(),\n type: z.string().default(\"\").describe(\"The DNS record type (typically 'TXT' for DMARC records).\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of errors encountered during lookup, if any.\").nullable().optional(),\n passed: z.array(MxToolboxLookupDmarc_PassedCheckSchema).describe(\"List of diagnostic checks that passed during DMARC validation.\").nullable().optional(),\n address: z.string().default(\"\").describe(\"The resolved DMARC record data/address.\").nullable().optional(),\n information: z.array(MxToolboxLookupDmarc_InformationItemSchema).describe(\"List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.\").nullable().optional(),\n lookup_results: z.array(z.record(z.string(), z.unknown())).describe(\"Additional DNS lookup results (typically empty for DMARC lookups).\").nullable().optional(),\n}).describe(\"Response schema for DMARC lookup containing record details and diagnostic checks.\");\n\nexport const mxToolboxLookupDmarc = action(\"MX_TOOLBOX_LOOKUP_DMARC\", {\n slug: \"mx_toolbox-lookup-dmarc\",\n name: \"Lookup DMARC Record\",\n description: \"Retrieves DMARC (Domain-based Message Authentication, Reporting & Conformance) records for a domain and performs validation checks. Returns detailed information about the DMARC record including policy settings (reject/quarantine/none), reporting addresses, alignment modes, and diagnostic check results. Useful for verifying email authentication configuration and troubleshooting email delivery issues.\",\n input: MxToolboxLookupDmarcInput,\n output: MxToolboxLookupDmarcOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAC/K,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H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AQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpN,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,mFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"lookup-dmarc.mjs","names":[],"sources":["../../src/actions/lookup-dmarc.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxToolboxLookupDmarcInput = z.object({\n domain: z.string().describe(\"The domain to lookup DMARC record for. Must be a bare hostname (e.g., 'example.com') without protocol prefixes ('https://') or path components.\"),\n}).describe(\"Parameters for a DMARC lookup.\");\nconst MxToolboxLookupDmarc_PassedCheckSchema = z.object({\n id: z.number().int().default(0).describe(\"Unique identifier for the diagnostic check.\").nullable().optional(),\n url: z.string().default(\"\").describe(\"URL with more details about this check.\").nullable().optional(),\n info: z.string().default(\"\").describe(\"Information about the check result.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Name of the diagnostic check (e.g., 'DMARC Record Published').\").nullable().optional(),\n public_description: z.string().describe(\"Public description of the check, if available.\").nullable().optional(),\n is_excluded_by_user: z.boolean().default(false).describe(\"Whether this check has been excluded by the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents a diagnostic check that passed during DMARC validation.\");\nconst MxToolboxLookupDmarc_InformationItemSchema = z.object({\n tag: z.string().default(\"\").describe(\"DMARC tag name (e.g., 'v', 'p', 'rua'). Empty for the full record.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"Human-readable name for the tag (e.g., 'Version', 'Policy').\").nullable().optional(),\n tag_value: z.string().default(\"\").describe(\"The value assigned to the DMARC tag (e.g., 'DMARC1', 'reject').\").nullable().optional(),\n description: z.string().default(\"\").describe(\"Detailed description explaining the tag's purpose and valid values.\").nullable().optional(),\n}).passthrough().describe(\"DMARC record information item providing details about DMARC tags and their values.\");\nexport const MxToolboxLookupDmarcOutput = z.object({\n ttl: z.number().int().default(0).describe(\"Time to live for the DNS record in seconds.\").nullable().optional(),\n name: z.string().default(\"\").describe(\"The queried record name (usually the domain or subdomain for DMARC).\").nullable().optional(),\n type: z.string().default(\"\").describe(\"The DNS record type (typically 'TXT' for DMARC records).\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of errors encountered during lookup, if any.\").nullable().optional(),\n passed: z.array(MxToolboxLookupDmarc_PassedCheckSchema).describe(\"List of diagnostic checks that passed during DMARC validation.\").nullable().optional(),\n address: z.string().default(\"\").describe(\"The resolved DMARC record data/address.\").nullable().optional(),\n information: z.array(MxToolboxLookupDmarc_InformationItemSchema).describe(\"List of DMARC record tags with their values and descriptions. First item typically contains the full DMARC record.\").nullable().optional(),\n lookup_results: z.array(z.record(z.string(), z.unknown())).describe(\"Additional DNS lookup results (typically empty for DMARC lookups).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for DMARC lookup containing record details and diagnostic checks.\");\n\nexport const mxToolboxLookupDmarc = action(\"MX_TOOLBOX_LOOKUP_DMARC\", {\n slug: \"mx_toolbox-lookup-dmarc\",\n name: \"Lookup DMARC Record\",\n description: \"Retrieves DMARC (Domain-based Message Authentication, Reporting & Conformance) records for a domain and performs validation checks. Returns detailed information about the DMARC record including policy settings (reject/quarantine/none), reporting addresses, alignment modes, and diagnostic check results. Useful for verifying email authentication configuration and troubleshooting email delivery issues.\",\n input: MxToolboxLookupDmarcInput,\n output: MxToolboxLookupDmarcOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EAC/K,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAC9F,MAAM,6CAA6C,EAAE,OAAO;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,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AE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAOhB;AACV,CAAC"}
@@ -3,30 +3,30 @@ let zod = require("zod");
3
3
  //#region src/actions/lookup-dns.ts
4
4
  const MxToolboxLookupDnsInput = zod.z.object({ domain: zod.z.string().describe("Domain to perform DNS lookup on, for example 'google.com' Bare hostname only — no protocols (e.g., 'http://'), subpath, or trailing slashes.") }).describe("Request model for LookupDns action.");
5
5
  const MxToolboxLookupDns_DiagnosticCheckSchema = zod.z.object({
6
- ID: zod.z.number().int().describe("Unique identifier for the check"),
6
+ ID: zod.z.number().int().describe("Unique identifier for the check").nullable(),
7
7
  Url: zod.z.string().describe("URL for more information").nullable().optional(),
8
- Info: zod.z.string().describe("Brief description of the check result"),
9
- Name: zod.z.string().describe("Name of the diagnostic check"),
8
+ Info: zod.z.string().describe("Brief description of the check result").nullable(),
9
+ Name: zod.z.string().describe("Name of the diagnostic check").nullable(),
10
10
  AdditionalInfo: zod.z.array(zod.z.string()).describe("Additional details about the check").nullable().optional(),
11
11
  IsExcludedByUser: zod.z.boolean().describe("Whether user has excluded this check").nullable().optional(),
12
12
  PublicDescription: zod.z.string().describe("Public description of the issue").nullable().optional()
13
- }).describe("Represents a diagnostic check result (warning, passed test, error, etc.)");
13
+ }).passthrough().describe("Represents a diagnostic check result (warning, passed test, error, etc.)");
14
14
  const MxToolboxLookupDnsOutput = zod.z.object({
15
15
  UID: zod.z.string().describe("Unique identifier for the lookup").nullable().optional(),
16
16
  Errors: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Error diagnostic checks").nullable().optional(),
17
17
  Failed: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Failed diagnostic checks").nullable().optional(),
18
18
  Passed: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Passed diagnostic checks").nullable().optional(),
19
- Command: zod.z.string().describe("Command executed (e.g., 'dns')"),
20
- IsError: zod.z.boolean().describe("Whether the lookup encountered an error"),
19
+ Command: zod.z.string().describe("Command executed (e.g., 'dns')").nullable(),
20
+ IsError: zod.z.boolean().describe("Whether the lookup encountered an error").nullable(),
21
21
  Timeouts: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Timeout diagnostic checks").nullable().optional(),
22
22
  Warnings: zod.z.array(MxToolboxLookupDns_DiagnosticCheckSchema).describe("Warning diagnostic checks").nullable().optional(),
23
23
  Transcript: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Detailed transcript of DNS queries").nullable().optional(),
24
24
  Information: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("DNS server information (NS records, A records, etc.)").nullable().optional(),
25
- ArgumentType: zod.z.string().describe("Type of argument (e.g., 'domain')"),
26
- TimeRecorded: zod.z.string().describe("Timestamp of the lookup"),
27
- RelatedLookups: zod.z.array(zod.z.object({})).describe("Related lookup suggestions").nullable().optional(),
28
- TimeToComplete: zod.z.string().describe("Time taken to complete lookup in ms"),
29
- CommandArgument: zod.z.string().describe("The domain that was queried"),
25
+ ArgumentType: zod.z.string().describe("Type of argument (e.g., 'domain')").nullable(),
26
+ TimeRecorded: zod.z.string().describe("Timestamp of the lookup").nullable(),
27
+ RelatedLookups: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Related lookup suggestions").nullable().optional(),
28
+ TimeToComplete: zod.z.string().describe("Time taken to complete lookup in ms").nullable(),
29
+ CommandArgument: zod.z.string().describe("The domain that was queried").nullable(),
30
30
  ReportingNameServer: zod.z.string().describe("Name server that reported the results").nullable().optional()
31
31
  }).passthrough().describe("Response model for LookupDns action containing complete DNS lookup data and diagnostics.\nInherits all fields from DnsData.");
32
32
  const mxToolboxLookupDns = require_action.action("MX_TOOLBOX_LOOKUP_DNS", {