@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,97 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/lookup-spf.d.ts
4
- declare const MxToolboxLookupSpfInput: z.ZodTypeAny;
5
- declare const MxToolboxLookupSpfOutput: z.ZodTypeAny;
6
- declare const mxToolboxLookupSpf: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxToolboxLookupSpfInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MxToolboxLookupSpfOutput: 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
+ Type: z.ZodNullable<z.ZodString>;
47
+ Value: z.ZodNullable<z.ZodString>;
48
+ Prefix: z.ZodNullable<z.ZodString>;
49
+ RecordNum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ PrefixDesc: z.ZodNullable<z.ZodString>;
51
+ Description: z.ZodNullable<z.ZodString>;
52
+ }, z.core.$loose>>;
53
+ ArgumentType: z.ZodNullable<z.ZodString>;
54
+ TimeRecorded: z.ZodNullable<z.ZodString>;
55
+ IsTransitioned: z.ZodNullable<z.ZodBoolean>;
56
+ RelatedLookups: z.ZodArray<z.ZodObject<{
57
+ URL: z.ZodNullable<z.ZodString>;
58
+ Name: z.ZodNullable<z.ZodString>;
59
+ Command: z.ZodNullable<z.ZodString>;
60
+ CommandArgument: z.ZodNullable<z.ZodString>;
61
+ }, z.core.$loose>>;
62
+ TimeToComplete: z.ZodNullable<z.ZodString>;
63
+ CommandArgument: z.ZodNullable<z.ZodString>;
64
+ HasSubscriptions: z.ZodNullable<z.ZodBoolean>;
65
+ IsEmptySubDomain: z.ZodNullable<z.ZodBoolean>;
66
+ MultiInformation: z.ZodArray<z.ZodObject<{
67
+ Type: z.ZodNullable<z.ZodString>;
68
+ Value: z.ZodNullable<z.ZodString>;
69
+ Prefix: z.ZodNullable<z.ZodString>;
70
+ RecordNum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ PrefixDesc: z.ZodNullable<z.ZodString>;
72
+ Description: z.ZodNullable<z.ZodString>;
73
+ }, z.core.$loose>>;
74
+ DnsServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ ResourceRecordType: z.ZodNullable<z.ZodNumber>;
76
+ ReportingNameServer: z.ZodNullable<z.ZodString>;
77
+ EmailServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ SPF_Subaction_Detail: z.ZodNullable<z.ZodObject<{
79
+ Void_lookups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
80
+ Recursive_Paths: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
81
+ Included_Lookups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
82
+ Invalid_Includes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
83
+ Modifier_Ignored: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
84
+ Invalid_Redirects: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
85
+ Duplicate_Includes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
86
+ MX_Resource_Records: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
87
+ Deprecated_SPF_Records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
88
+ }, z.core.$loose>>;
89
+ AlertgroupSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
+ DnsServiceProviderIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ }, 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]>;
7
95
  //#endregion
8
96
  export { mxToolboxLookupSpf };
9
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,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAqCW,wBAAA,EAA0B,CAAA,CAAE,UAgC+G;AAAA,cAE3I,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,97 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/lookup-spf.d.ts
4
- declare const MxToolboxLookupSpfInput: z.ZodTypeAny;
5
- declare const MxToolboxLookupSpfOutput: z.ZodTypeAny;
6
- declare const mxToolboxLookupSpf: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxToolboxLookupSpfInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MxToolboxLookupSpfOutput: 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
+ Type: z.ZodNullable<z.ZodString>;
47
+ Value: z.ZodNullable<z.ZodString>;
48
+ Prefix: z.ZodNullable<z.ZodString>;
49
+ RecordNum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ PrefixDesc: z.ZodNullable<z.ZodString>;
51
+ Description: z.ZodNullable<z.ZodString>;
52
+ }, z.core.$loose>>;
53
+ ArgumentType: z.ZodNullable<z.ZodString>;
54
+ TimeRecorded: z.ZodNullable<z.ZodString>;
55
+ IsTransitioned: z.ZodNullable<z.ZodBoolean>;
56
+ RelatedLookups: z.ZodArray<z.ZodObject<{
57
+ URL: z.ZodNullable<z.ZodString>;
58
+ Name: z.ZodNullable<z.ZodString>;
59
+ Command: z.ZodNullable<z.ZodString>;
60
+ CommandArgument: z.ZodNullable<z.ZodString>;
61
+ }, z.core.$loose>>;
62
+ TimeToComplete: z.ZodNullable<z.ZodString>;
63
+ CommandArgument: z.ZodNullable<z.ZodString>;
64
+ HasSubscriptions: z.ZodNullable<z.ZodBoolean>;
65
+ IsEmptySubDomain: z.ZodNullable<z.ZodBoolean>;
66
+ MultiInformation: z.ZodArray<z.ZodObject<{
67
+ Type: z.ZodNullable<z.ZodString>;
68
+ Value: z.ZodNullable<z.ZodString>;
69
+ Prefix: z.ZodNullable<z.ZodString>;
70
+ RecordNum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ PrefixDesc: z.ZodNullable<z.ZodString>;
72
+ Description: z.ZodNullable<z.ZodString>;
73
+ }, z.core.$loose>>;
74
+ DnsServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ ResourceRecordType: z.ZodNullable<z.ZodNumber>;
76
+ ReportingNameServer: z.ZodNullable<z.ZodString>;
77
+ EmailServiceProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ SPF_Subaction_Detail: z.ZodNullable<z.ZodObject<{
79
+ Void_lookups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
80
+ Recursive_Paths: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
81
+ Included_Lookups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
82
+ Invalid_Includes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
83
+ Modifier_Ignored: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
84
+ Invalid_Redirects: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
85
+ Duplicate_Includes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
86
+ MX_Resource_Records: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
87
+ Deprecated_SPF_Records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
88
+ }, z.core.$loose>>;
89
+ AlertgroupSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
+ DnsServiceProviderIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ }, 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]>;
7
95
  //#endregion
8
96
  export { mxToolboxLookupSpf };
9
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,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAqCW,wBAAA,EAA0B,CAAA,CAAE,UAgC+G;AAAA,cAE3I,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,28 +3,28 @@ import { z } from "zod";
3
3
  //#region src/actions/lookup-spf.ts
4
4
  const MxToolboxLookupSpfInput = z.object({ 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.") });
5
5
  const MxToolboxLookupSpf_LookupSpfCheckResultSchema = 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 SPF 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 SPF 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
- });
13
- const MxToolboxLookupSpf_LookupSpfTranscriptSchema = z.object({ Transcript: z.string().describe("Detailed transcript of the SPF lookup process.") });
12
+ }).passthrough();
13
+ const MxToolboxLookupSpf_LookupSpfTranscriptSchema = z.object({ Transcript: z.string().describe("Detailed transcript of the SPF lookup process.").nullable() }).passthrough();
14
14
  const MxToolboxLookupSpf_LookupSpfInformationItemSchema = z.object({
15
- Type: z.string().describe("The SPF mechanism type (e.g., 'v', 'include', 'all', 'record')."),
16
- Value: z.string().describe("The value associated with the mechanism."),
17
- Prefix: z.string().describe("The SPF mechanism prefix (e.g., '+', '-', '~', '?')."),
15
+ Type: z.string().describe("The SPF mechanism type (e.g., 'v', 'include', 'all', 'record').").nullable(),
16
+ Value: z.string().describe("The value associated with the mechanism.").nullable(),
17
+ Prefix: z.string().describe("The SPF mechanism prefix (e.g., '+', '-', '~', '?').").nullable(),
18
18
  RecordNum: z.string().describe("Record number if applicable.").nullable().optional(),
19
- PrefixDesc: z.string().describe("Human-readable description of the prefix (e.g., 'Pass', 'SoftFail')."),
20
- Description: z.string().describe("Detailed description of the SPF mechanism.")
21
- });
19
+ PrefixDesc: z.string().describe("Human-readable description of the prefix (e.g., 'Pass', 'SoftFail').").nullable(),
20
+ Description: z.string().describe("Detailed description of the SPF mechanism.").nullable()
21
+ }).passthrough();
22
22
  const MxToolboxLookupSpf_LookupSpfRelatedLookupSchema = z.object({
23
- URL: z.string().describe("URL to perform the related lookup."),
24
- Name: z.string().describe("Name of the related lookup."),
25
- Command: z.string().describe("Command type for the related lookup."),
26
- CommandArgument: z.string().describe("Argument for the related lookup command.")
27
- });
23
+ URL: z.string().describe("URL to perform the related lookup.").nullable(),
24
+ Name: z.string().describe("Name of the related lookup.").nullable(),
25
+ Command: z.string().describe("Command type for the related lookup.").nullable(),
26
+ CommandArgument: z.string().describe("Argument for the related lookup command.").nullable()
27
+ }).passthrough();
28
28
  const MxToolboxLookupSpf_LookupSpfSubactionDetailSchema = z.object({
29
29
  Void_lookups: z.array(z.string()).describe("List of void lookups found.").nullable().optional(),
30
30
  Recursive_Paths: z.array(z.string()).describe("Recursive paths found.").nullable().optional(),
@@ -35,7 +35,7 @@ const MxToolboxLookupSpf_LookupSpfSubactionDetailSchema = z.object({
35
35
  Duplicate_Includes: z.union([z.string(), z.array(z.string())]).nullable().optional(),
36
36
  MX_Resource_Records: z.union([z.string(), z.number().int()]).nullable().optional(),
37
37
  Deprecated_SPF_Records: z.array(z.string()).describe("Deprecated SPF records found.").nullable().optional()
38
- });
38
+ }).passthrough();
39
39
  const mxToolboxLookupSpf = action("MX_TOOLBOX_LOOKUP_SPF", {
40
40
  slug: "mx_toolbox-lookup-spf",
41
41
  name: "Lookup SPF Record",
@@ -43,37 +43,37 @@ const mxToolboxLookupSpf = action("MX_TOOLBOX_LOOKUP_SPF", {
43
43
  input: MxToolboxLookupSpfInput,
44
44
  output: z.object({
45
45
  UID: z.string().describe("Unique identifier for the lookup.").nullable().optional(),
46
- MxRep: z.number().int().describe("MX reputation score."),
46
+ MxRep: z.number().int().describe("MX reputation score.").nullable(),
47
47
  Errors: z.array(z.string()).describe("List of errors if any."),
48
48
  Failed: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe("List of failed checks."),
49
49
  Passed: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe("List of passed checks."),
50
- Command: z.string().describe("Command executed (e.g., 'spf')."),
51
- IsError: z.boolean().describe("Whether an error occurred."),
50
+ Command: z.string().describe("Command executed (e.g., 'spf').").nullable(),
51
+ IsError: z.boolean().describe("Whether an error occurred.").nullable(),
52
52
  Records: z.array(z.string()).describe("List of SPF records found."),
53
53
  Timeouts: z.array(z.string()).describe("List of timeouts if any."),
54
54
  Warnings: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe("List of warning checks."),
55
55
  RelatedIP: z.string().describe("Related IP address if applicable.").nullable().optional(),
56
56
  CustomData: z.string().describe("Custom data if any.").nullable().optional(),
57
- IsEndpoint: z.boolean().describe("Whether this is an endpoint."),
57
+ IsEndpoint: z.boolean().describe("Whether this is an endpoint.").nullable(),
58
58
  Transcript: z.array(MxToolboxLookupSpf_LookupSpfTranscriptSchema).describe("Detailed transcript of the lookup process."),
59
59
  Information: z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe("Detailed information about the SPF record components."),
60
- ArgumentType: z.string().describe("Type of argument (e.g., 'domain')."),
61
- TimeRecorded: z.string().describe("Timestamp when the lookup was recorded."),
62
- IsTransitioned: z.boolean().describe("Whether the lookup has transitioned."),
60
+ ArgumentType: z.string().describe("Type of argument (e.g., 'domain').").nullable(),
61
+ TimeRecorded: z.string().describe("Timestamp when the lookup was recorded.").nullable(),
62
+ IsTransitioned: z.boolean().describe("Whether the lookup has transitioned.").nullable(),
63
63
  RelatedLookups: z.array(MxToolboxLookupSpf_LookupSpfRelatedLookupSchema).describe("List of related lookups that can be performed."),
64
- TimeToComplete: z.string().describe("Time taken to complete the lookup in milliseconds."),
65
- CommandArgument: z.string().describe("The domain that was looked up."),
66
- HasSubscriptions: z.boolean().describe("Whether there are subscriptions."),
67
- IsEmptySubDomain: z.boolean().describe("Whether the subdomain is empty."),
64
+ TimeToComplete: z.string().describe("Time taken to complete the lookup in milliseconds.").nullable(),
65
+ CommandArgument: z.string().describe("The domain that was looked up.").nullable(),
66
+ HasSubscriptions: z.boolean().describe("Whether there are subscriptions.").nullable(),
67
+ IsEmptySubDomain: z.boolean().describe("Whether the subdomain is empty.").nullable(),
68
68
  MultiInformation: z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe("Multi-information if applicable."),
69
69
  DnsServiceProvider: z.string().describe("DNS service provider if detected.").nullable().optional(),
70
- ResourceRecordType: z.number().int().describe("DNS resource record type number."),
71
- ReportingNameServer: z.string().describe("Name server that reported the result."),
70
+ ResourceRecordType: z.number().int().describe("DNS resource record type number.").nullable(),
71
+ ReportingNameServer: z.string().describe("Name server that reported the result.").nullable(),
72
72
  EmailServiceProvider: z.string().describe("Email service provider if detected.").nullable().optional(),
73
73
  SPF_Subaction_Detail: MxToolboxLookupSpf_LookupSpfSubactionDetailSchema.nullable(),
74
74
  AlertgroupSubscriptionId: z.string().describe("Alert group subscription ID if any.").nullable().optional(),
75
75
  DnsServiceProviderIdentifier: z.string().describe("DNS service provider identifier if applicable.").nullable().optional()
76
- }).describe("SPF lookup response containing complete SPF record data and validation results.\nThe API returns the SPF data directly without a wrapper.")
76
+ }).passthrough().describe("SPF lookup response containing complete SPF record data and validation results.\nThe API returns the SPF data directly without a wrapper.")
77
77
  });
78
78
  //#endregion
79
79
  export { mxToolboxLookupSpf };
@@ -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.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain to perform the SPF lookup on. Must be a bare hostname with no protocol prefix (e.g., not 'https://example.com') or path suffixes.\"),\n});\nconst MxToolboxLookupSpf_LookupSpfCheckResultSchema: z.ZodTypeAny = z.object({\n ID: z.number().int().describe(\"Unique identifier for the check.\"),\n Url: z.string().describe(\"URL to more information about this check.\"),\n Info: z.string().describe(\"Information about the check result.\"),\n Name: z.string().describe(\"Name of the SPF check performed.\"),\n IsExcludedByUser: z.boolean().describe(\"Whether this check is excluded by the user.\"),\n PublicDescription: z.string().describe(\"Public description if available.\").nullable().optional(),\n});\nconst MxToolboxLookupSpf_LookupSpfTranscriptSchema: z.ZodTypeAny = z.object({\n Transcript: z.string().describe(\"Detailed transcript of the SPF lookup process.\"),\n});\nconst MxToolboxLookupSpf_LookupSpfInformationItemSchema: z.ZodTypeAny = z.object({\n Type: z.string().describe(\"The SPF mechanism type (e.g., 'v', 'include', 'all', 'record').\"),\n Value: z.string().describe(\"The value associated with the mechanism.\"),\n Prefix: z.string().describe(\"The SPF mechanism prefix (e.g., '+', '-', '~', '?').\"),\n RecordNum: z.string().describe(\"Record number if applicable.\").nullable().optional(),\n PrefixDesc: z.string().describe(\"Human-readable description of the prefix (e.g., 'Pass', 'SoftFail').\"),\n Description: z.string().describe(\"Detailed description of the SPF mechanism.\"),\n});\nconst MxToolboxLookupSpf_LookupSpfRelatedLookupSchema: z.ZodTypeAny = z.object({\n URL: z.string().describe(\"URL to perform the related lookup.\"),\n Name: z.string().describe(\"Name of the related lookup.\"),\n Command: z.string().describe(\"Command type for the related lookup.\"),\n CommandArgument: z.string().describe(\"Argument for the related lookup command.\"),\n});\nconst MxToolboxLookupSpf_LookupSpfSubactionDetailSchema: z.ZodTypeAny = z.object({\n Void_lookups: z.array(z.string()).describe(\"List of void lookups found.\").nullable().optional(),\n Recursive_Paths: z.array(z.string()).describe(\"Recursive paths found.\").nullable().optional(),\n Included_Lookups: z.array(z.string()).describe(\"List of included lookups.\").nullable().optional(),\n Invalid_Includes: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Modifier_Ignored: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Invalid_Redirects: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n Duplicate_Includes: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n MX_Resource_Records: z.union([z.string(), z.number().int()]).nullable().optional(),\n Deprecated_SPF_Records: z.array(z.string()).describe(\"Deprecated SPF records found.\").nullable().optional(),\n});\nexport const MxToolboxLookupSpfOutput: z.ZodTypeAny = z.object({\n UID: z.string().describe(\"Unique identifier for the lookup.\").nullable().optional(),\n MxRep: z.number().int().describe(\"MX reputation score.\"),\n Errors: z.array(z.string()).describe(\"List of errors if any.\"),\n Failed: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of failed checks.\"),\n Passed: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of passed checks.\"),\n Command: z.string().describe(\"Command executed (e.g., 'spf').\"),\n IsError: z.boolean().describe(\"Whether an error occurred.\"),\n Records: z.array(z.string()).describe(\"List of SPF records found.\"),\n Timeouts: z.array(z.string()).describe(\"List of timeouts if any.\"),\n Warnings: z.array(MxToolboxLookupSpf_LookupSpfCheckResultSchema).describe(\"List of warning checks.\"),\n RelatedIP: z.string().describe(\"Related IP address if applicable.\").nullable().optional(),\n CustomData: z.string().describe(\"Custom data if any.\").nullable().optional(),\n IsEndpoint: z.boolean().describe(\"Whether this is an endpoint.\"),\n Transcript: z.array(MxToolboxLookupSpf_LookupSpfTranscriptSchema).describe(\"Detailed transcript of the lookup process.\"),\n Information: z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe(\"Detailed information about the SPF record components.\"),\n ArgumentType: z.string().describe(\"Type of argument (e.g., 'domain').\"),\n TimeRecorded: z.string().describe(\"Timestamp when the lookup was recorded.\"),\n IsTransitioned: z.boolean().describe(\"Whether the lookup has transitioned.\"),\n RelatedLookups: z.array(MxToolboxLookupSpf_LookupSpfRelatedLookupSchema).describe(\"List of related lookups that can be performed.\"),\n TimeToComplete: z.string().describe(\"Time taken to complete the lookup in milliseconds.\"),\n CommandArgument: z.string().describe(\"The domain that was looked up.\"),\n HasSubscriptions: z.boolean().describe(\"Whether there are subscriptions.\"),\n IsEmptySubDomain: z.boolean().describe(\"Whether the subdomain is empty.\"),\n MultiInformation: z.array(MxToolboxLookupSpf_LookupSpfInformationItemSchema).describe(\"Multi-information if applicable.\"),\n DnsServiceProvider: z.string().describe(\"DNS service provider if detected.\").nullable().optional(),\n ResourceRecordType: z.number().int().describe(\"DNS resource record type number.\"),\n ReportingNameServer: z.string().describe(\"Name server that reported the result.\"),\n EmailServiceProvider: z.string().describe(\"Email service provider if detected.\").nullable().optional(),\n SPF_Subaction_Detail: MxToolboxLookupSpf_LookupSpfSubactionDetailSchema.nullable(),\n AlertgroupSubscriptionId: z.string().describe(\"Alert group subscription ID if any.\").nullable().optional(),\n DnsServiceProviderIdentifier: z.string().describe(\"DNS service provider identifier if applicable.\").nullable().optional(),\n}).describe(\"SPF lookup response containing complete SPF record data and validation results.\\nThe API returns the SPF data directly without a wrapper.\");\n\nexport const mxToolboxLookupSpf = action(\"MX_TOOLBOX_LOOKUP_SPF\", {\n slug: \"mx_toolbox-lookup-spf\",\n name: \"Lookup SPF Record\",\n description: \"Tool to retrieve SPF records for a specified domain. Use when confirming email sender authorization policies.\",\n input: MxToolboxLookupSpfInput,\n output: MxToolboxLookupSpfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EAC5K,CAAC;AACD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,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,kCAAkC;CAC5D,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO,EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC;AACD,MAAM,oDAAkE,EAAE,OAAO;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC;AACD,MAAM,kDAAgE,EAAE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AO,CAAC,CAAC,SAAS,oCAAoC;EACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAC3E,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;EAC3E,gBAAgB,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gDAAgD;EAClI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACrE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;EACzE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC;EACxE,kBAAkB,EAAE,MAAM,iDAAiD,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;EAChF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAChF,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,SAAS,2IAOF;AACV,CAAC"}
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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: zod.z.string().describe("MX reputation score (0-100 scale)").nullable().optional(),
7
7
  Failing: zod.z.array(zod.z.unknown()).describe("List of failing check details").nullable().optional(),
8
8
  Warnings: zod.z.array(zod.z.unknown()).describe("List of warning messages").nullable().optional(),
9
- MonitorUID: zod.z.string().describe("Unique identifier of the monitor"),
10
- LastChecked: zod.z.string().describe("Timestamp of the last status check (ISO 8601 format)"),
11
- ActionString: zod.z.string().describe("Monitor type and target (e.g., 'blacklist:example.com')"),
12
- LastTransition: zod.z.string().describe("Timestamp when the monitor last changed status (ISO 8601 format)")
13
- }).describe("Represents a single monitor status entry from the MX Toolbox API.");
14
- const MxToolboxMonitorStatus_MonitorDataWrapperSchema = zod.z.object({ details: zod.z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe("List of monitor status items").nullable().optional() }).describe("Wrapper for the data field containing monitor details.");
9
+ MonitorUID: zod.z.string().describe("Unique identifier of the monitor").nullable(),
10
+ LastChecked: zod.z.string().describe("Timestamp of the last status check (ISO 8601 format)").nullable(),
11
+ ActionString: zod.z.string().describe("Monitor type and target (e.g., 'blacklist:example.com')").nullable(),
12
+ LastTransition: zod.z.string().describe("Timestamp when the monitor last changed status (ISO 8601 format)").nullable()
13
+ }).passthrough().describe("Represents a single monitor status entry from the MX Toolbox API.");
14
+ const MxToolboxMonitorStatus_MonitorDataWrapperSchema = zod.z.object({ details: zod.z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe("List of monitor status items").nullable().optional() }).passthrough().describe("Wrapper for the data field containing monitor details.");
15
15
  const MxToolboxMonitorStatusOutput = zod.z.object({
16
16
  data: MxToolboxMonitorStatus_MonitorDataWrapperSchema.nullable(),
17
17
  error: zod.z.string().describe("Error message if the retrieval failed, null otherwise").nullable().optional(),
18
- successfull: zod.z.boolean().describe("Indicates if the retrieval was successful")
19
- }).describe("Response model for retrieving all monitor statuses from MX Toolbox API.");
18
+ successfull: zod.z.boolean().describe("Indicates if the retrieval was successful").nullable()
19
+ }).passthrough().describe("Response model for retrieving all monitor statuses from MX Toolbox API.");
20
20
  const mxToolboxMonitorStatus = require_action.action("MX_TOOLBOX_MONITOR_STATUS", {
21
21
  slug: "mx_toolbox-monitor-status",
22
22
  name: "Monitor Status",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all monitor statuses. No parameters are required.\");\nconst MxToolboxMonitorStatus_MonitorStatusItemSchema: z.ZodTypeAny = 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\"),\n LastChecked: z.string().describe(\"Timestamp of the last status check (ISO 8601 format)\"),\n ActionString: z.string().describe(\"Monitor type and target (e.g., 'blacklist:example.com')\"),\n LastTransition: z.string().describe(\"Timestamp when the monitor last changed status (ISO 8601 format)\"),\n}).describe(\"Represents a single monitor status entry from the MX Toolbox API.\");\nconst MxToolboxMonitorStatus_MonitorDataWrapperSchema: z.ZodTypeAny = z.object({\n details: z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe(\"List of monitor status items\").nullable().optional(),\n}).describe(\"Wrapper for the data field containing monitor details.\");\nexport const MxToolboxMonitorStatusOutput: z.ZodTypeAny = 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\"),\n}).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,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC/J,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,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;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACxG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,SAASA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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;AAC/E,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,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 { 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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/monitor-status.d.ts
4
- declare const MxToolboxMonitorStatusInput: z.ZodTypeAny;
5
- declare const MxToolboxMonitorStatusOutput: z.ZodTypeAny;
6
- declare const mxToolboxMonitorStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxToolboxMonitorStatusInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const MxToolboxMonitorStatusOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8
+ MxRep: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ Failing: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
10
+ Warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
11
+ MonitorUID: z.ZodNullable<z.ZodString>;
12
+ LastChecked: z.ZodNullable<z.ZodString>;
13
+ ActionString: z.ZodNullable<z.ZodString>;
14
+ LastTransition: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>>>;
16
+ }, z.core.$loose>>;
17
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ successfull: z.ZodNullable<z.ZodBoolean>;
19
+ }, 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]>;
7
21
  //#endregion
8
22
  export { mxToolboxMonitorStatus };
9
23
  //# 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,EAA6B,CAAA,CAAE,UAAoH;AAAA,cAanJ,4BAAA,EAA8B,CAAA,CAAE,UAIyC;AAAA,cAEzE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/monitor-status.d.ts
4
- declare const MxToolboxMonitorStatusInput: z.ZodTypeAny;
5
- declare const MxToolboxMonitorStatusOutput: z.ZodTypeAny;
6
- declare const mxToolboxMonitorStatus: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxToolboxMonitorStatusInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const MxToolboxMonitorStatusOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8
+ MxRep: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ Failing: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
10
+ Warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
11
+ MonitorUID: z.ZodNullable<z.ZodString>;
12
+ LastChecked: z.ZodNullable<z.ZodString>;
13
+ ActionString: z.ZodNullable<z.ZodString>;
14
+ LastTransition: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>>>;
16
+ }, z.core.$loose>>;
17
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ successfull: z.ZodNullable<z.ZodBoolean>;
19
+ }, 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]>;
7
21
  //#endregion
8
22
  export { mxToolboxMonitorStatus };
9
23
  //# 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,EAA6B,CAAA,CAAE,UAAoH;AAAA,cAanJ,4BAAA,EAA8B,CAAA,CAAE,UAIyC;AAAA,cAEzE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,12 +6,12 @@ const MxToolboxMonitorStatus_MonitorStatusItemSchema = z.object({
6
6
  MxRep: z.string().describe("MX reputation score (0-100 scale)").nullable().optional(),
7
7
  Failing: z.array(z.unknown()).describe("List of failing check details").nullable().optional(),
8
8
  Warnings: z.array(z.unknown()).describe("List of warning messages").nullable().optional(),
9
- MonitorUID: z.string().describe("Unique identifier of the monitor"),
10
- LastChecked: z.string().describe("Timestamp of the last status check (ISO 8601 format)"),
11
- ActionString: z.string().describe("Monitor type and target (e.g., 'blacklist:example.com')"),
12
- LastTransition: z.string().describe("Timestamp when the monitor last changed status (ISO 8601 format)")
13
- }).describe("Represents a single monitor status entry from the MX Toolbox API.");
14
- const MxToolboxMonitorStatus_MonitorDataWrapperSchema = z.object({ details: z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe("List of monitor status items").nullable().optional() }).describe("Wrapper for the data field containing monitor details.");
9
+ MonitorUID: z.string().describe("Unique identifier of the monitor").nullable(),
10
+ LastChecked: z.string().describe("Timestamp of the last status check (ISO 8601 format)").nullable(),
11
+ ActionString: z.string().describe("Monitor type and target (e.g., 'blacklist:example.com')").nullable(),
12
+ LastTransition: z.string().describe("Timestamp when the monitor last changed status (ISO 8601 format)").nullable()
13
+ }).passthrough().describe("Represents a single monitor status entry from the MX Toolbox API.");
14
+ const MxToolboxMonitorStatus_MonitorDataWrapperSchema = z.object({ details: z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe("List of monitor status items").nullable().optional() }).passthrough().describe("Wrapper for the data field containing monitor details.");
15
15
  const mxToolboxMonitorStatus = action("MX_TOOLBOX_MONITOR_STATUS", {
16
16
  slug: "mx_toolbox-monitor-status",
17
17
  name: "Monitor Status",
@@ -20,8 +20,8 @@ const mxToolboxMonitorStatus = action("MX_TOOLBOX_MONITOR_STATUS", {
20
20
  output: z.object({
21
21
  data: MxToolboxMonitorStatus_MonitorDataWrapperSchema.nullable(),
22
22
  error: z.string().describe("Error message if the retrieval failed, null otherwise").nullable().optional(),
23
- successfull: z.boolean().describe("Indicates if the retrieval was successful")
24
- }).describe("Response model for retrieving all monitor statuses from MX Toolbox API.")
23
+ successfull: z.boolean().describe("Indicates if the retrieval was successful").nullable()
24
+ }).passthrough().describe("Response model for retrieving all monitor statuses from MX Toolbox API.")
25
25
  });
26
26
  //#endregion
27
27
  export { mxToolboxMonitorStatus };
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all monitor statuses. No parameters are required.\");\nconst MxToolboxMonitorStatus_MonitorStatusItemSchema: z.ZodTypeAny = 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\"),\n LastChecked: z.string().describe(\"Timestamp of the last status check (ISO 8601 format)\"),\n ActionString: z.string().describe(\"Monitor type and target (e.g., 'blacklist:example.com')\"),\n LastTransition: z.string().describe(\"Timestamp when the monitor last changed status (ISO 8601 format)\"),\n}).describe(\"Represents a single monitor status entry from the MX Toolbox API.\");\nconst MxToolboxMonitorStatus_MonitorDataWrapperSchema: z.ZodTypeAny = z.object({\n details: z.array(MxToolboxMonitorStatus_MonitorStatusItemSchema).describe(\"List of monitor status items\").nullable().optional(),\n}).describe(\"Wrapper for the data field containing monitor details.\");\nexport const MxToolboxMonitorStatusOutput: z.ZodTypeAny = 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\"),\n}).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,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC/J,MAAM,iDAA+D,EAAE,OAAO;CAC5E,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;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACxG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,kDAAgE,EAAE,OAAO,EAC7E,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAOpE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwD,EAAE,OAAO;EACjE,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;CAC/E,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
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"}
@@ -3,13 +3,13 @@ let zod = require("zod");
3
3
  //#region src/actions/usage-check.ts
4
4
  const MxToolboxUsageCheckInput = zod.z.object({}).describe("Request model for API usage statistics check.");
5
5
  const MxToolboxUsageCheckOutput = zod.z.object({
6
- DnsMax: zod.z.number().int().describe("Maximum number of DNS lookups allowed in the current cycle"),
7
- NetworkMax: zod.z.number().int().describe("Maximum number of network requests allowed in the current cycle"),
8
- DnsRequests: zod.z.number().int().describe("Number of DNS lookup requests made in the current cycle"),
9
- NetworkRequests: zod.z.number().int().describe("Number of network (HTTP, SMTP, Ping) requests made in the current cycle"),
10
- DnsOverageErrors: zod.z.number().int().describe("Number of DNS requests that resulted in overage errors"),
11
- NetworkOverageErrors: zod.z.number().int().describe("Number of network requests that resulted in overage errors")
12
- }).describe("Response model for API usage statistics.");
6
+ DnsMax: zod.z.number().int().describe("Maximum number of DNS lookups allowed in the current cycle").nullable(),
7
+ NetworkMax: zod.z.number().int().describe("Maximum number of network requests allowed in the current cycle").nullable(),
8
+ DnsRequests: zod.z.number().int().describe("Number of DNS lookup requests made in the current cycle").nullable(),
9
+ NetworkRequests: zod.z.number().int().describe("Number of network (HTTP, SMTP, Ping) requests made in the current cycle").nullable(),
10
+ DnsOverageErrors: zod.z.number().int().describe("Number of DNS requests that resulted in overage errors").nullable(),
11
+ NetworkOverageErrors: zod.z.number().int().describe("Number of network requests that resulted in overage errors").nullable()
12
+ }).passthrough().describe("Response model for API usage statistics.");
13
13
  const mxToolboxUsageCheck = require_action.action("MX_TOOLBOX_USAGE_CHECK", {
14
14
  slug: "mx_toolbox-usage-check",
15
15
  name: "Check Usage",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for API usage statistics check.\");\nexport const MxToolboxUsageCheckOutput: z.ZodTypeAny = z.object({\n DnsMax: z.number().int().describe(\"Maximum number of DNS lookups allowed in the current cycle\"),\n NetworkMax: z.number().int().describe(\"Maximum number of network requests allowed in the current cycle\"),\n DnsRequests: z.number().int().describe(\"Number of DNS lookup requests made in the current cycle\"),\n NetworkRequests: z.number().int().describe(\"Number of network (HTTP, SMTP, Ping) requests made in the current cycle\"),\n DnsOverageErrors: z.number().int().describe(\"Number of DNS requests that resulted in overage errors\"),\n NetworkOverageErrors: z.number().int().describe(\"Number of network requests that resulted in overage errors\"),\n}).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,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3H,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;AAC9G,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,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 { 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"}