@keystrokehq/neutrino 0.1.0 → 0.1.2

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 (199) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-watermark-to-image.cjs +3 -3
  4. package/dist/actions/add-watermark-to-image.cjs.map +1 -1
  5. package/dist/actions/add-watermark-to-image.d.cts +44 -3
  6. package/dist/actions/add-watermark-to-image.d.cts.map +1 -1
  7. package/dist/actions/add-watermark-to-image.d.mts +44 -3
  8. package/dist/actions/add-watermark-to-image.d.mts.map +1 -1
  9. package/dist/actions/add-watermark-to-image.mjs +3 -3
  10. package/dist/actions/add-watermark-to-image.mjs.map +1 -1
  11. package/dist/actions/bad-word-filter.cjs +3 -3
  12. package/dist/actions/bad-word-filter.cjs.map +1 -1
  13. package/dist/actions/bad-word-filter.d.cts +23 -3
  14. package/dist/actions/bad-word-filter.d.cts.map +1 -1
  15. package/dist/actions/bad-word-filter.d.mts +23 -3
  16. package/dist/actions/bad-word-filter.d.mts.map +1 -1
  17. package/dist/actions/bad-word-filter.mjs +3 -3
  18. package/dist/actions/bad-word-filter.mjs.map +1 -1
  19. package/dist/actions/bin-lookup.cjs +22 -22
  20. package/dist/actions/bin-lookup.cjs.map +1 -1
  21. package/dist/actions/bin-lookup.d.cts +38 -3
  22. package/dist/actions/bin-lookup.d.cts.map +1 -1
  23. package/dist/actions/bin-lookup.d.mts +38 -3
  24. package/dist/actions/bin-lookup.d.mts.map +1 -1
  25. package/dist/actions/bin-lookup.mjs +22 -22
  26. package/dist/actions/bin-lookup.mjs.map +1 -1
  27. package/dist/actions/check-ip-blocklist.cjs +19 -19
  28. package/dist/actions/check-ip-blocklist.cjs.map +1 -1
  29. package/dist/actions/check-ip-blocklist.d.cts +32 -3
  30. package/dist/actions/check-ip-blocklist.d.cts.map +1 -1
  31. package/dist/actions/check-ip-blocklist.d.mts +32 -3
  32. package/dist/actions/check-ip-blocklist.d.mts.map +1 -1
  33. package/dist/actions/check-ip-blocklist.mjs +19 -19
  34. package/dist/actions/check-ip-blocklist.mjs.map +1 -1
  35. package/dist/actions/convert.cjs +10 -10
  36. package/dist/actions/convert.cjs.map +1 -1
  37. package/dist/actions/convert.d.cts +25 -3
  38. package/dist/actions/convert.d.cts.map +1 -1
  39. package/dist/actions/convert.d.mts +25 -3
  40. package/dist/actions/convert.d.mts.map +1 -1
  41. package/dist/actions/convert.mjs +10 -10
  42. package/dist/actions/convert.mjs.map +1 -1
  43. package/dist/actions/email-validate.cjs +10 -10
  44. package/dist/actions/email-validate.cjs.map +1 -1
  45. package/dist/actions/email-validate.d.cts +22 -3
  46. package/dist/actions/email-validate.d.cts.map +1 -1
  47. package/dist/actions/email-validate.d.mts +22 -3
  48. package/dist/actions/email-validate.d.mts.map +1 -1
  49. package/dist/actions/email-validate.mjs +10 -10
  50. package/dist/actions/email-validate.mjs.map +1 -1
  51. package/dist/actions/email-verify.cjs +16 -16
  52. package/dist/actions/email-verify.cjs.map +1 -1
  53. package/dist/actions/email-verify.d.cts +29 -3
  54. package/dist/actions/email-verify.d.cts.map +1 -1
  55. package/dist/actions/email-verify.d.mts +29 -3
  56. package/dist/actions/email-verify.d.mts.map +1 -1
  57. package/dist/actions/email-verify.mjs +16 -16
  58. package/dist/actions/email-verify.mjs.map +1 -1
  59. package/dist/actions/geocode-address.cjs +4 -4
  60. package/dist/actions/geocode-address.cjs.map +1 -1
  61. package/dist/actions/geocode-address.d.cts +39 -3
  62. package/dist/actions/geocode-address.d.cts.map +1 -1
  63. package/dist/actions/geocode-address.d.mts +39 -3
  64. package/dist/actions/geocode-address.d.mts.map +1 -1
  65. package/dist/actions/geocode-address.mjs +4 -4
  66. package/dist/actions/geocode-address.mjs.map +1 -1
  67. package/dist/actions/geocode-reverse.cjs +1 -1
  68. package/dist/actions/geocode-reverse.cjs.map +1 -1
  69. package/dist/actions/geocode-reverse.d.cts +57 -3
  70. package/dist/actions/geocode-reverse.d.cts.map +1 -1
  71. package/dist/actions/geocode-reverse.d.mts +57 -3
  72. package/dist/actions/geocode-reverse.d.mts.map +1 -1
  73. package/dist/actions/geocode-reverse.mjs +1 -1
  74. package/dist/actions/geocode-reverse.mjs.map +1 -1
  75. package/dist/actions/hlr-lookup.cjs +25 -25
  76. package/dist/actions/hlr-lookup.cjs.map +1 -1
  77. package/dist/actions/hlr-lookup.d.cts +37 -3
  78. package/dist/actions/hlr-lookup.d.cts.map +1 -1
  79. package/dist/actions/hlr-lookup.d.mts +37 -3
  80. package/dist/actions/hlr-lookup.d.mts.map +1 -1
  81. package/dist/actions/hlr-lookup.mjs +25 -25
  82. package/dist/actions/hlr-lookup.mjs.map +1 -1
  83. package/dist/actions/host-reputation.cjs +10 -10
  84. package/dist/actions/host-reputation.cjs.map +1 -1
  85. package/dist/actions/host-reputation.d.cts +24 -3
  86. package/dist/actions/host-reputation.d.cts.map +1 -1
  87. package/dist/actions/host-reputation.d.mts +24 -3
  88. package/dist/actions/host-reputation.d.mts.map +1 -1
  89. package/dist/actions/host-reputation.mjs +10 -10
  90. package/dist/actions/host-reputation.mjs.map +1 -1
  91. package/dist/actions/html-clean.cjs +1 -1
  92. package/dist/actions/html-clean.cjs.map +1 -1
  93. package/dist/actions/html-clean.d.cts +17 -3
  94. package/dist/actions/html-clean.d.cts.map +1 -1
  95. package/dist/actions/html-clean.d.mts +17 -3
  96. package/dist/actions/html-clean.d.mts.map +1 -1
  97. package/dist/actions/html-clean.mjs +1 -1
  98. package/dist/actions/html-clean.mjs.map +1 -1
  99. package/dist/actions/html-render.cjs +2 -2
  100. package/dist/actions/html-render.cjs.map +1 -1
  101. package/dist/actions/html-render.d.cts +62 -3
  102. package/dist/actions/html-render.d.cts.map +1 -1
  103. package/dist/actions/html-render.d.mts +62 -3
  104. package/dist/actions/html-render.d.mts.map +1 -1
  105. package/dist/actions/html-render.mjs +2 -2
  106. package/dist/actions/html-render.mjs.map +1 -1
  107. package/dist/actions/image-resize.cjs +3 -3
  108. package/dist/actions/image-resize.cjs.map +1 -1
  109. package/dist/actions/image-resize.d.cts +32 -3
  110. package/dist/actions/image-resize.d.cts.map +1 -1
  111. package/dist/actions/image-resize.d.mts +32 -3
  112. package/dist/actions/image-resize.d.mts.map +1 -1
  113. package/dist/actions/image-resize.mjs +3 -3
  114. package/dist/actions/image-resize.mjs.map +1 -1
  115. package/dist/actions/ip-info.cjs +1 -1
  116. package/dist/actions/ip-info.cjs.map +1 -1
  117. package/dist/actions/ip-info.d.cts +36 -3
  118. package/dist/actions/ip-info.d.cts.map +1 -1
  119. package/dist/actions/ip-info.d.mts +36 -3
  120. package/dist/actions/ip-info.d.mts.map +1 -1
  121. package/dist/actions/ip-info.mjs +1 -1
  122. package/dist/actions/ip-info.mjs.map +1 -1
  123. package/dist/actions/ip-probe.cjs +2 -2
  124. package/dist/actions/ip-probe.cjs.map +1 -1
  125. package/dist/actions/ip-probe.d.cts +47 -3
  126. package/dist/actions/ip-probe.d.cts.map +1 -1
  127. package/dist/actions/ip-probe.d.mts +47 -3
  128. package/dist/actions/ip-probe.d.mts.map +1 -1
  129. package/dist/actions/ip-probe.mjs +2 -2
  130. package/dist/actions/ip-probe.mjs.map +1 -1
  131. package/dist/actions/lookup-domain.cjs +25 -25
  132. package/dist/actions/lookup-domain.cjs.map +1 -1
  133. package/dist/actions/lookup-domain.d.cts +38 -3
  134. package/dist/actions/lookup-domain.d.cts.map +1 -1
  135. package/dist/actions/lookup-domain.d.mts +38 -3
  136. package/dist/actions/lookup-domain.d.mts.map +1 -1
  137. package/dist/actions/lookup-domain.mjs +25 -25
  138. package/dist/actions/lookup-domain.mjs.map +1 -1
  139. package/dist/actions/phone-validate.cjs +12 -12
  140. package/dist/actions/phone-validate.cjs.map +1 -1
  141. package/dist/actions/phone-validate.d.cts +24 -3
  142. package/dist/actions/phone-validate.d.cts.map +1 -1
  143. package/dist/actions/phone-validate.d.mts +24 -3
  144. package/dist/actions/phone-validate.d.mts.map +1 -1
  145. package/dist/actions/phone-validate.mjs +12 -12
  146. package/dist/actions/phone-validate.mjs.map +1 -1
  147. package/dist/actions/qr-code.cjs +1 -1
  148. package/dist/actions/qr-code.cjs.map +1 -1
  149. package/dist/actions/qr-code.d.cts +22 -3
  150. package/dist/actions/qr-code.d.cts.map +1 -1
  151. package/dist/actions/qr-code.d.mts +22 -3
  152. package/dist/actions/qr-code.d.mts.map +1 -1
  153. package/dist/actions/qr-code.mjs +1 -1
  154. package/dist/actions/qr-code.mjs.map +1 -1
  155. package/dist/actions/run-browser-bot.cjs.map +1 -1
  156. package/dist/actions/run-browser-bot.d.cts +60 -3
  157. package/dist/actions/run-browser-bot.d.cts.map +1 -1
  158. package/dist/actions/run-browser-bot.d.mts +60 -3
  159. package/dist/actions/run-browser-bot.d.mts.map +1 -1
  160. package/dist/actions/run-browser-bot.mjs.map +1 -1
  161. package/dist/actions/sms-verify.cjs +3 -3
  162. package/dist/actions/sms-verify.cjs.map +1 -1
  163. package/dist/actions/sms-verify.d.cts +25 -3
  164. package/dist/actions/sms-verify.d.cts.map +1 -1
  165. package/dist/actions/sms-verify.d.mts +25 -3
  166. package/dist/actions/sms-verify.d.mts.map +1 -1
  167. package/dist/actions/sms-verify.mjs +3 -3
  168. package/dist/actions/sms-verify.mjs.map +1 -1
  169. package/dist/actions/ua-lookup.cjs +1 -1
  170. package/dist/actions/ua-lookup.cjs.map +1 -1
  171. package/dist/actions/ua-lookup.d.cts +37 -3
  172. package/dist/actions/ua-lookup.d.cts.map +1 -1
  173. package/dist/actions/ua-lookup.d.mts +37 -3
  174. package/dist/actions/ua-lookup.d.mts.map +1 -1
  175. package/dist/actions/ua-lookup.mjs +1 -1
  176. package/dist/actions/ua-lookup.mjs.map +1 -1
  177. package/dist/actions/url-info.cjs +15 -15
  178. package/dist/actions/url-info.cjs.map +1 -1
  179. package/dist/actions/url-info.d.cts +37 -3
  180. package/dist/actions/url-info.d.cts.map +1 -1
  181. package/dist/actions/url-info.d.mts +37 -3
  182. package/dist/actions/url-info.d.mts.map +1 -1
  183. package/dist/actions/url-info.mjs +15 -15
  184. package/dist/actions/url-info.mjs.map +1 -1
  185. package/dist/actions/verify-security-code.cjs +1 -1
  186. package/dist/actions/verify-security-code.cjs.map +1 -1
  187. package/dist/actions/verify-security-code.d.cts +11 -3
  188. package/dist/actions/verify-security-code.d.cts.map +1 -1
  189. package/dist/actions/verify-security-code.d.mts +11 -3
  190. package/dist/actions/verify-security-code.d.mts.map +1 -1
  191. package/dist/actions/verify-security-code.mjs +1 -1
  192. package/dist/actions/verify-security-code.mjs.map +1 -1
  193. package/dist/catalog.cjs +14 -1
  194. package/dist/catalog.cjs.map +1 -1
  195. package/dist/catalog.d.cts +13 -0
  196. package/dist/catalog.d.mts +13 -0
  197. package/dist/catalog.mjs +14 -1
  198. package/dist/catalog.mjs.map +1 -1
  199. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"hlr-lookup.mjs","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput: z.ZodTypeAny = z.object({\n mcc: z.string().describe(\"Mobile country code.\"),\n mnc: z.string().describe(\"Mobile network code.\"),\n msc: z.string().describe(\"Mobile Switching Center address.\"),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\"),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\"),\n country: z.string().describe(\"Full country name.\"),\n location: z.string().describe(\"Location/region of the number.\"),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\"),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\"),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\"),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\"),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\"),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\"),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\"),\n \"local-number\": z.string().describe(\"Number in local dialing format.\"),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\"),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\"),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\"),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\"),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\"),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\"),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\"),\n \"international-number\": z.string().describe(\"Number in full international format.\"),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\"),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\"),\n}).describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;AAqCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;EACjM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;CAC5P,CAAC,CAAC,CAAC,SAAS,0CAiCH;CACP,QAjCmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC9D,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC9F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;EAC1E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EACnG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACzE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;EACzE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACjE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACpG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAClG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAClF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC1G,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC1G,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"hlr-lookup.mjs","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;AAqCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;EACjM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;CAC5P,CAAC,CAAC,CAAC,SAAS,0CAiCH;CACP,QAjCqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,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od.z.number().int().describe("Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.").optional()
8
8
  }).describe("Request model for DNSBL-based host reputation check.");
9
9
  const NeutrinoHostReputation_HostReputationListItemSchema = zod.z.object({
10
- "is-listed": zod.z.boolean().describe("If the host is listed in this zone."),
11
- "list-host": zod.z.string().describe("The DNSBL zone host."),
12
- "list-name": zod.z.string().describe("The DNSBL zone name."),
13
- "txt-record": zod.z.string().describe("Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available."),
14
- "list-rating": zod.z.number().int().describe("Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability)."),
15
- "return-code": zod.z.string().describe("DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed."),
16
- "response-time": zod.z.number().int().describe("Response time in milliseconds.")
10
+ "is-listed": zod.z.boolean().describe("If the host is listed in this zone.").nullable(),
11
+ "list-host": zod.z.string().describe("The DNSBL zone host.").nullable(),
12
+ "list-name": zod.z.string().describe("The DNSBL zone name.").nullable(),
13
+ "txt-record": zod.z.string().describe("Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.").nullable(),
14
+ "list-rating": zod.z.number().int().describe("Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).").nullable(),
15
+ "return-code": zod.z.string().describe("DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.").nullable(),
16
+ "response-time": zod.z.number().int().describe("Response time in milliseconds.").nullable()
17
17
  }).describe("A single DNSBL result entry.");
18
18
  const NeutrinoHostReputationOutput = zod.z.object({
19
- host: zod.z.string().describe("The host that was checked."),
19
+ host: zod.z.string().describe("The host that was checked.").nullable(),
20
20
  lists: zod.z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe("Detailed results from each DNSBL checked, including whether the host is listed and response times."),
21
- "is-listed": zod.z.boolean().describe("True if the host is listed in any DNSBL."),
22
- "list-count": zod.z.number().int().describe("Total number of DNSBLs the host is listed in.")
21
+ "is-listed": zod.z.boolean().describe("True if the host is listed in any DNSBL.").nullable(),
22
+ "list-count": zod.z.number().int().describe("Total number of DNSBLs the host is listed in.").nullable()
23
23
  }).describe("Response model for DNSBL-based host reputation check.");
24
24
  const neutrinoHostReputation = require_action.action("NEUTRINO_HOST_REPUTATION", {
25
25
  slug: "neutrino-host-reputation",
@@ -1 +1 @@
1
- {"version":3,"file":"host-reputation.cjs","names":["z","action"],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHostReputationInput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema: z.ZodTypeAny = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\"),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\"),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\"),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\"),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\"),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\"),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\"),\n}).describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"The host that was checked.\"),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\"),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\"),\n}).describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACrJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF;CAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACpH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AAC7E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAOA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oGAAoG;CACjL,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AACzF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"host-reputation.cjs","names":["z","action"],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHostReputationInput = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\").nullable(),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\").nullable(),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\").nullable(),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\").nullable(),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\").nullable(),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\").nullable(),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\").nullable(),\n}).describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput = z.object({\n host: z.string().describe(\"The host that was checked.\").nullable(),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\").nullable(),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\").nullable(),\n}).describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;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/host-reputation.d.ts
4
- declare const NeutrinoHostReputationInput: z.ZodTypeAny;
5
- declare const NeutrinoHostReputationOutput: z.ZodTypeAny;
6
- declare const neutrinoHostReputation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoHostReputationInput: z.ZodObject<{
5
+ host: z.ZodString;
6
+ zones: z.ZodOptional<z.ZodString>;
7
+ "list-rating": z.ZodOptional<z.ZodNumber>;
8
+ }, z.core.$strip>;
9
+ declare const NeutrinoHostReputationOutput: z.ZodObject<{
10
+ host: z.ZodNullable<z.ZodString>;
11
+ lists: z.ZodArray<z.ZodObject<{
12
+ "is-listed": z.ZodNullable<z.ZodBoolean>;
13
+ "list-host": z.ZodNullable<z.ZodString>;
14
+ "list-name": z.ZodNullable<z.ZodString>;
15
+ "txt-record": z.ZodNullable<z.ZodString>;
16
+ "list-rating": z.ZodNullable<z.ZodNumber>;
17
+ "return-code": z.ZodNullable<z.ZodString>;
18
+ "response-time": z.ZodNullable<z.ZodNumber>;
19
+ }, z.core.$strip>>;
20
+ "is-listed": z.ZodNullable<z.ZodBoolean>;
21
+ "list-count": z.ZodNullable<z.ZodNumber>;
22
+ }, z.core.$strip>;
23
+ declare const neutrinoHostReputation: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ host: string;
25
+ zones?: string | undefined;
26
+ "list-rating"?: number | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { neutrinoHostReputation };
9
30
  //# sourceMappingURL=host-reputation.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"host-reputation.d.cts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIuB;AAAA,cAUtD,4BAAA,EAA8B,CAAA,CAAE,UAKuB;AAAA,cAEvD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"host-reputation.d.cts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/host-reputation.d.ts
4
- declare const NeutrinoHostReputationInput: z.ZodTypeAny;
5
- declare const NeutrinoHostReputationOutput: z.ZodTypeAny;
6
- declare const neutrinoHostReputation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoHostReputationInput: z.ZodObject<{
5
+ host: z.ZodString;
6
+ zones: z.ZodOptional<z.ZodString>;
7
+ "list-rating": z.ZodOptional<z.ZodNumber>;
8
+ }, z.core.$strip>;
9
+ declare const NeutrinoHostReputationOutput: z.ZodObject<{
10
+ host: z.ZodNullable<z.ZodString>;
11
+ lists: z.ZodArray<z.ZodObject<{
12
+ "is-listed": z.ZodNullable<z.ZodBoolean>;
13
+ "list-host": z.ZodNullable<z.ZodString>;
14
+ "list-name": z.ZodNullable<z.ZodString>;
15
+ "txt-record": z.ZodNullable<z.ZodString>;
16
+ "list-rating": z.ZodNullable<z.ZodNumber>;
17
+ "return-code": z.ZodNullable<z.ZodString>;
18
+ "response-time": z.ZodNullable<z.ZodNumber>;
19
+ }, z.core.$strip>>;
20
+ "is-listed": z.ZodNullable<z.ZodBoolean>;
21
+ "list-count": z.ZodNullable<z.ZodNumber>;
22
+ }, z.core.$strip>;
23
+ declare const neutrinoHostReputation: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ host: string;
25
+ zones?: string | undefined;
26
+ "list-rating"?: number | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { neutrinoHostReputation };
9
30
  //# sourceMappingURL=host-reputation.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"host-reputation.d.mts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIuB;AAAA,cAUtD,4BAAA,EAA8B,CAAA,CAAE,UAKuB;AAAA,cAEvD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"host-reputation.d.mts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
@@ -7,13 +7,13 @@ const NeutrinoHostReputationInput = z.object({
7
7
  "list-rating": z.number().int().describe("Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.").optional()
8
8
  }).describe("Request model for DNSBL-based host reputation check.");
9
9
  const NeutrinoHostReputation_HostReputationListItemSchema = z.object({
10
- "is-listed": z.boolean().describe("If the host is listed in this zone."),
11
- "list-host": z.string().describe("The DNSBL zone host."),
12
- "list-name": z.string().describe("The DNSBL zone name."),
13
- "txt-record": z.string().describe("Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available."),
14
- "list-rating": z.number().int().describe("Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability)."),
15
- "return-code": z.string().describe("DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed."),
16
- "response-time": z.number().int().describe("Response time in milliseconds.")
10
+ "is-listed": z.boolean().describe("If the host is listed in this zone.").nullable(),
11
+ "list-host": z.string().describe("The DNSBL zone host.").nullable(),
12
+ "list-name": z.string().describe("The DNSBL zone name.").nullable(),
13
+ "txt-record": z.string().describe("Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.").nullable(),
14
+ "list-rating": z.number().int().describe("Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).").nullable(),
15
+ "return-code": z.string().describe("DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.").nullable(),
16
+ "response-time": z.number().int().describe("Response time in milliseconds.").nullable()
17
17
  }).describe("A single DNSBL result entry.");
18
18
  const neutrinoHostReputation = action("NEUTRINO_HOST_REPUTATION", {
19
19
  slug: "neutrino-host-reputation",
@@ -21,10 +21,10 @@ const neutrinoHostReputation = action("NEUTRINO_HOST_REPUTATION", {
21
21
  description: "Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.",
22
22
  input: NeutrinoHostReputationInput,
23
23
  output: z.object({
24
- host: z.string().describe("The host that was checked."),
24
+ host: z.string().describe("The host that was checked.").nullable(),
25
25
  lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe("Detailed results from each DNSBL checked, including whether the host is listed and response times."),
26
- "is-listed": z.boolean().describe("True if the host is listed in any DNSBL."),
27
- "list-count": z.number().int().describe("Total number of DNSBLs the host is listed in.")
26
+ "is-listed": z.boolean().describe("True if the host is listed in any DNSBL.").nullable(),
27
+ "list-count": z.number().int().describe("Total number of DNSBLs the host is listed in.").nullable()
28
28
  }).describe("Response model for DNSBL-based host reputation check.")
29
29
  });
30
30
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"host-reputation.mjs","names":[],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHostReputationInput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema: z.ZodTypeAny = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\"),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\"),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\"),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\"),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\"),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\"),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\"),\n}).describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput: z.ZodTypeAny = z.object({\n host: z.string().describe(\"The host that was checked.\"),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\"),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\"),\n}).describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,sDAAoE,EAAE,OAAO;CACjF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACrJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF;CAChI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACpH,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AAC7E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAQ1C,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oGAAoG;EACjL,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACzF,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"host-reputation.mjs","names":[],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHostReputationInput = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\").nullable(),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\").nullable(),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\").nullable(),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\").nullable(),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\").nullable(),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\").nullable(),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\").nullable(),\n}).describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput = z.object({\n host: z.string().describe(\"The host that was checked.\").nullable(),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\").nullable(),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\").nullable(),\n}).describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,sDAAsD,EAAE,OAAO;CACnE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC3I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC/H,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAQ1C,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oGAAoG;EACjL,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -11,7 +11,7 @@ const NeutrinoHtmlCleanInput = zod.z.object({
11
11
  "advanced-html"
12
12
  ]).default("basic-html").describe("The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).").optional()
13
13
  }).describe("Parameters for HTMLClean action.");
14
- const NeutrinoHtmlCleanOutput = zod.z.object({ "clean-html": zod.z.string().describe("The cleaned and sanitized HTML content.") }).describe("Response from HTMLClean action.");
14
+ const NeutrinoHtmlCleanOutput = zod.z.object({ "clean-html": zod.z.string().describe("The cleaned and sanitized HTML content.").nullable() }).describe("Response from HTMLClean action.");
15
15
  const neutrinoHtmlClean = require_action.action("NEUTRINO_HTML_CLEAN", {
16
16
  slug: "neutrino-html-clean",
17
17
  name: "HTML Clean",
@@ -1 +1 @@
1
- {"version":3,"file":"html-clean.cjs","names":["z","action"],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlCleanInput: z.ZodTypeAny = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput: z.ZodTypeAny = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\"),\n}).describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACxH,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAe;EAAc;EAA0B;CAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;AAC/b,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EAC7E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAE7C,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"html-clean.cjs","names":["z","action"],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlCleanInput = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\").nullable(),\n}).describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACxH,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAe;EAAc;EAA0B;CAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;AAC/b,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAE7C,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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/html-clean.d.ts
4
- declare const NeutrinoHtmlCleanInput: z.ZodTypeAny;
5
- declare const NeutrinoHtmlCleanOutput: z.ZodTypeAny;
6
- declare const neutrinoHtmlClean: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoHtmlCleanInput: z.ZodObject<{
5
+ content: z.ZodString;
6
+ "output-type": z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ "plain-text": "plain-text";
8
+ "simple-text": "simple-text";
9
+ "basic-html": "basic-html";
10
+ "basic-html-with-images": "basic-html-with-images";
11
+ "advanced-html": "advanced-html";
12
+ }>>>;
13
+ }, z.core.$strip>;
14
+ declare const NeutrinoHtmlCleanOutput: z.ZodObject<{
15
+ "clean-html": z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const neutrinoHtmlClean: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ content: string;
19
+ "output-type"?: "plain-text" | "simple-text" | "basic-html" | "basic-html-with-images" | "advanced-html" | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { neutrinoHtmlClean };
9
23
  //# sourceMappingURL=html-clean.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-clean.d.cts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGQ;AAAA,cAClC,uBAAA,EAAyB,CAAA,CAAE,UAEM;AAAA,cAEjC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"html-clean.d.cts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/html-clean.d.ts
4
- declare const NeutrinoHtmlCleanInput: z.ZodTypeAny;
5
- declare const NeutrinoHtmlCleanOutput: z.ZodTypeAny;
6
- declare const neutrinoHtmlClean: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoHtmlCleanInput: z.ZodObject<{
5
+ content: z.ZodString;
6
+ "output-type": z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ "plain-text": "plain-text";
8
+ "simple-text": "simple-text";
9
+ "basic-html": "basic-html";
10
+ "basic-html-with-images": "basic-html-with-images";
11
+ "advanced-html": "advanced-html";
12
+ }>>>;
13
+ }, z.core.$strip>;
14
+ declare const NeutrinoHtmlCleanOutput: z.ZodObject<{
15
+ "clean-html": z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const neutrinoHtmlClean: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ content: string;
19
+ "output-type"?: "plain-text" | "simple-text" | "basic-html" | "basic-html-with-images" | "advanced-html" | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { neutrinoHtmlClean };
9
23
  //# sourceMappingURL=html-clean.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-clean.d.mts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGQ;AAAA,cAClC,uBAAA,EAAyB,CAAA,CAAE,UAEM;AAAA,cAEjC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"html-clean.d.mts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -14,7 +14,7 @@ const neutrinoHtmlClean = action("NEUTRINO_HTML_CLEAN", {
14
14
  "advanced-html"
15
15
  ]).default("basic-html").describe("The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).").optional()
16
16
  }).describe("Parameters for HTMLClean action."),
17
- output: z.object({ "clean-html": z.string().describe("The cleaned and sanitized HTML content.") }).describe("Response from HTMLClean action.")
17
+ output: z.object({ "clean-html": z.string().describe("The cleaned and sanitized HTML content.").nullable() }).describe("Response from HTMLClean action.")
18
18
  });
19
19
  //#endregion
20
20
  export { neutrinoHtmlClean };
@@ -1 +1 @@
1
- {"version":3,"file":"html-clean.mjs","names":[],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlCleanInput: z.ZodTypeAny = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput: z.ZodTypeAny = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\"),\n}).describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACxH,eAAe,EAAE,KAAK;GAAC;GAAc;GAAe;GAAc;GAA0B;EAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;CAC/b,CAAC,CAAC,CAAC,SAAS,kCASH;CACP,QATmD,EAAE,OAAO,EAC5D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EAC7E,CAAC,CAAC,CAAC,SAAS,iCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"html-clean.mjs","names":[],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlCleanInput = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\").nullable(),\n}).describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACxH,eAAe,EAAE,KAAK;GAAC;GAAc;GAAe;GAAc;GAA0B;EAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;CAC/b,CAAC,CAAC,CAAC,SAAS,kCASH;CACP,QATqC,EAAE,OAAO,EAC9C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,iCAOF;AACV,CAAC"}
@@ -33,8 +33,8 @@ const NeutrinoHtmlRenderInput = zod.z.object({
33
33
  "ignore-certificate-errors": zod.z.boolean().describe("Ignore TLS/SSL certificate errors when loading content. Default is false.").optional()
34
34
  });
35
35
  const NeutrinoHtmlRenderOutput = zod.z.object({
36
- file: zod.z.string().describe("The rendered file content as binary data (PDF, PNG, or JPG)."),
37
- "content-type": zod.z.string().describe("The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').")
36
+ file: zod.z.string().describe("The rendered file content as binary data (PDF, PNG, or JPG).").nullable(),
37
+ "content-type": zod.z.string().describe("The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').").nullable()
38
38
  });
39
39
  const neutrinoHtmlRender = require_action.action("NEUTRINO_HTML_RENDER", {
40
40
  slug: "neutrino-html-render",
@@ -1 +1 @@
1
- {"version":3,"file":"html-render.cjs","names":["z","action"],"sources":["../../src/actions/html-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlRenderInput: z.ZodTypeAny = z.object({\n css: z.string().describe(\"Inject custom CSS into the HTML before rendering.\").optional(),\n exec: z.string().describe(\"Execute custom JavaScript before rendering. Supports functions: click(), focus(), keys(), sleep(), enter(), tab().\").optional(),\n zoom: z.number().describe(\"Zoom factor for rendering. 2.0 doubles the size, 0.5 halves it. Default is 1.0.\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before rendering (useful for JavaScript-heavy pages). Default is 0.\").optional(),\n title: z.string().describe(\"The document title.\").optional(),\n footer: z.string().describe(\"Footer HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n format: z.enum([\"PDF\", \"PNG\", \"JPG\"]).default(\"PDF\").describe(\"Output format: PDF, PNG, or JPG. Values are case-sensitive and must be uppercase. Default is 'PDF'.\").optional(),\n header: z.string().describe(\"Header HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n margin: z.number().describe(\"Document margin in millimeters for all sides. Default is 0.\").optional(),\n content: z.string().describe(\"The HTML content to render. Can be a URL to load from, a file upload, or an HTML content string.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for loading the content. Default is 300 seconds.\").optional(),\n \"bg-color\": z.string().describe(\"Background color in hex notation (e.g., '#FFFFFF'). Use 'transparent' for PNG with transparency.\").optional(),\n grayscale: z.boolean().describe(\"Render the final document in grayscale. Default is false.\").optional(),\n landscape: z.boolean().describe(\"Enable landscape orientation for the document. Default is false (portrait).\").optional(),\n \"page-size\": z.string().describe(\"Page size for PDF output. Options: A0-A9, B0-B10, Comm10E, DLE, or Letter. Default is 'A4'.\").optional(),\n \"margin-top\": z.number().describe(\"Top margin in millimeters. Default is 0.\").optional(),\n \"page-width\": z.number().describe(\"PDF page width in millimeters. Overrides page-size width if specified.\").optional(),\n \"user-agent\": z.string().describe(\"Override the default browser User-Agent string.\").optional(),\n \"image-width\": z.number().int().describe(\"Image width in pixels for PNG/JPG output. Default is 1024 pixels.\").optional(),\n \"margin-left\": z.number().describe(\"Left margin in millimeters. Default is 0.\").optional(),\n \"page-height\": z.number().describe(\"PDF page height in millimeters. Overrides page-size height if specified.\").optional(),\n \"image-height\": z.number().int().describe(\"Image height in pixels for PNG/JPG output. If not specified, height is calculated automatically.\").optional(),\n \"margin-right\": z.number().describe(\"Right margin in millimeters. Default is 0.\").optional(),\n \"margin-bottom\": z.number().describe(\"Bottom margin in millimeters. Default is 0.\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore TLS/SSL certificate errors when loading content. Default is false.\").optional(),\n});\nexport const NeutrinoHtmlRenderOutput: z.ZodTypeAny = z.object({\n file: z.string().describe(\"The rendered file content as binary data (PDF, PNG, or JPG).\"),\n \"content-type\": z.string().describe(\"The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').\"),\n});\n\nexport const neutrinoHtmlRender = action(\"NEUTRINO_HTML_RENDER\", {\n slug: \"neutrino-html-render\",\n name: \"HTML Render\",\n description: \"Render HTML content to PDF, PNG, or JPG format. Converts HTML strings or URLs into downloadable files with extensive customization options including page size, margins, headers/footers, and JavaScript execution.\",\n input: NeutrinoHtmlRenderInput,\n output: NeutrinoHtmlRenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD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CAA0C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACvH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,6BAA6BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAClI,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"html-render.cjs","names":["z","action"],"sources":["../../src/actions/html-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlRenderInput = z.object({\n css: z.string().describe(\"Inject custom CSS into the HTML before rendering.\").optional(),\n exec: z.string().describe(\"Execute custom JavaScript before rendering. Supports functions: click(), focus(), keys(), sleep(), enter(), tab().\").optional(),\n zoom: z.number().describe(\"Zoom factor for rendering. 2.0 doubles the size, 0.5 halves it. Default is 1.0.\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before rendering (useful for JavaScript-heavy pages). Default is 0.\").optional(),\n title: z.string().describe(\"The document title.\").optional(),\n footer: z.string().describe(\"Footer HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n format: z.enum([\"PDF\", \"PNG\", \"JPG\"]).default(\"PDF\").describe(\"Output format: PDF, PNG, or JPG. Values are case-sensitive and must be uppercase. Default is 'PDF'.\").optional(),\n header: z.string().describe(\"Header HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n margin: z.number().describe(\"Document margin in millimeters for all sides. Default is 0.\").optional(),\n content: z.string().describe(\"The HTML content to render. Can be a URL to load from, a file upload, or an HTML content string.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for loading the content. Default is 300 seconds.\").optional(),\n \"bg-color\": z.string().describe(\"Background color in hex notation (e.g., '#FFFFFF'). Use 'transparent' for PNG with transparency.\").optional(),\n grayscale: z.boolean().describe(\"Render the final document in grayscale. Default is false.\").optional(),\n landscape: z.boolean().describe(\"Enable landscape orientation for the document. Default is false (portrait).\").optional(),\n \"page-size\": z.string().describe(\"Page size for PDF output. Options: A0-A9, B0-B10, Comm10E, DLE, or Letter. Default is 'A4'.\").optional(),\n \"margin-top\": z.number().describe(\"Top margin in millimeters. Default is 0.\").optional(),\n \"page-width\": z.number().describe(\"PDF page width in millimeters. Overrides page-size width if specified.\").optional(),\n \"user-agent\": z.string().describe(\"Override the default browser User-Agent string.\").optional(),\n \"image-width\": z.number().int().describe(\"Image width in pixels for PNG/JPG output. Default is 1024 pixels.\").optional(),\n \"margin-left\": z.number().describe(\"Left margin in millimeters. Default is 0.\").optional(),\n \"page-height\": z.number().describe(\"PDF page height in millimeters. Overrides page-size height if specified.\").optional(),\n \"image-height\": z.number().int().describe(\"Image height in pixels for PNG/JPG output. If not specified, height is calculated automatically.\").optional(),\n \"margin-right\": z.number().describe(\"Right margin in millimeters. Default is 0.\").optional(),\n \"margin-bottom\": z.number().describe(\"Bottom margin in millimeters. Default is 0.\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore TLS/SSL certificate errors when loading content. Default is false.\").optional(),\n});\nexport const NeutrinoHtmlRenderOutput = z.object({\n file: z.string().describe(\"The rendered file content as binary data (PDF, PNG, or JPG).\").nullable(),\n \"content-type\": z.string().describe(\"The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').\").nullable(),\n});\n\nexport const neutrinoHtmlRender = action(\"NEUTRINO_HTML_RENDER\", {\n slug: \"neutrino-html-render\",\n name: \"HTML Render\",\n description: \"Render HTML content to PDF, PNG, or JPG format. Converts HTML strings or URLs into downloadable files with extensive customization options including page size, margins, headers/footers, and JavaScript execution.\",\n input: NeutrinoHtmlRenderInput,\n output: NeutrinoHtmlRenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACzJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;C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S;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,6BAA6BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC7I,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,68 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/html-render.d.ts
4
- declare const NeutrinoHtmlRenderInput: z.ZodTypeAny;
5
- declare const NeutrinoHtmlRenderOutput: z.ZodTypeAny;
6
- declare const neutrinoHtmlRender: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoHtmlRenderInput: z.ZodObject<{
5
+ css: z.ZodOptional<z.ZodString>;
6
+ exec: z.ZodOptional<z.ZodString>;
7
+ zoom: z.ZodOptional<z.ZodNumber>;
8
+ delay: z.ZodOptional<z.ZodNumber>;
9
+ title: z.ZodOptional<z.ZodString>;
10
+ footer: z.ZodOptional<z.ZodString>;
11
+ format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12
+ PDF: "PDF";
13
+ PNG: "PNG";
14
+ JPG: "JPG";
15
+ }>>>;
16
+ header: z.ZodOptional<z.ZodString>;
17
+ margin: z.ZodOptional<z.ZodNumber>;
18
+ content: z.ZodString;
19
+ timeout: z.ZodOptional<z.ZodNumber>;
20
+ "bg-color": z.ZodOptional<z.ZodString>;
21
+ grayscale: z.ZodOptional<z.ZodBoolean>;
22
+ landscape: z.ZodOptional<z.ZodBoolean>;
23
+ "page-size": z.ZodOptional<z.ZodString>;
24
+ "margin-top": z.ZodOptional<z.ZodNumber>;
25
+ "page-width": z.ZodOptional<z.ZodNumber>;
26
+ "user-agent": z.ZodOptional<z.ZodString>;
27
+ "image-width": z.ZodOptional<z.ZodNumber>;
28
+ "margin-left": z.ZodOptional<z.ZodNumber>;
29
+ "page-height": z.ZodOptional<z.ZodNumber>;
30
+ "image-height": z.ZodOptional<z.ZodNumber>;
31
+ "margin-right": z.ZodOptional<z.ZodNumber>;
32
+ "margin-bottom": z.ZodOptional<z.ZodNumber>;
33
+ "ignore-certificate-errors": z.ZodOptional<z.ZodBoolean>;
34
+ }, z.core.$strip>;
35
+ declare const NeutrinoHtmlRenderOutput: z.ZodObject<{
36
+ file: z.ZodNullable<z.ZodString>;
37
+ "content-type": z.ZodNullable<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ declare const neutrinoHtmlRender: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ content: string;
41
+ css?: string | undefined;
42
+ exec?: string | undefined;
43
+ zoom?: number | undefined;
44
+ delay?: number | undefined;
45
+ title?: string | undefined;
46
+ footer?: string | undefined;
47
+ format?: "PDF" | "PNG" | "JPG" | undefined;
48
+ header?: string | undefined;
49
+ margin?: number | undefined;
50
+ timeout?: number | undefined;
51
+ "bg-color"?: string | undefined;
52
+ grayscale?: boolean | undefined;
53
+ landscape?: boolean | undefined;
54
+ "page-size"?: string | undefined;
55
+ "margin-top"?: number | undefined;
56
+ "page-width"?: number | undefined;
57
+ "user-agent"?: string | undefined;
58
+ "image-width"?: number | undefined;
59
+ "margin-left"?: number | undefined;
60
+ "page-height"?: number | undefined;
61
+ "image-height"?: number | undefined;
62
+ "margin-right"?: number | undefined;
63
+ "margin-bottom"?: number | undefined;
64
+ "ignore-certificate-errors"?: boolean | undefined;
65
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
66
  //#endregion
8
67
  export { neutrinoHtmlRender };
9
68
  //# sourceMappingURL=html-render.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-render.d.cts","names":[],"sources":["../../src/actions/html-render.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UA0BtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"html-render.d.cts","names":[],"sources":["../../src/actions/html-render.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,68 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/html-render.d.ts
4
- declare const NeutrinoHtmlRenderInput: z.ZodTypeAny;
5
- declare const NeutrinoHtmlRenderOutput: z.ZodTypeAny;
6
- declare const neutrinoHtmlRender: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NeutrinoHtmlRenderInput: z.ZodObject<{
5
+ css: z.ZodOptional<z.ZodString>;
6
+ exec: z.ZodOptional<z.ZodString>;
7
+ zoom: z.ZodOptional<z.ZodNumber>;
8
+ delay: z.ZodOptional<z.ZodNumber>;
9
+ title: z.ZodOptional<z.ZodString>;
10
+ footer: z.ZodOptional<z.ZodString>;
11
+ format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12
+ PDF: "PDF";
13
+ PNG: "PNG";
14
+ JPG: "JPG";
15
+ }>>>;
16
+ header: z.ZodOptional<z.ZodString>;
17
+ margin: z.ZodOptional<z.ZodNumber>;
18
+ content: z.ZodString;
19
+ timeout: z.ZodOptional<z.ZodNumber>;
20
+ "bg-color": z.ZodOptional<z.ZodString>;
21
+ grayscale: z.ZodOptional<z.ZodBoolean>;
22
+ landscape: z.ZodOptional<z.ZodBoolean>;
23
+ "page-size": z.ZodOptional<z.ZodString>;
24
+ "margin-top": z.ZodOptional<z.ZodNumber>;
25
+ "page-width": z.ZodOptional<z.ZodNumber>;
26
+ "user-agent": z.ZodOptional<z.ZodString>;
27
+ "image-width": z.ZodOptional<z.ZodNumber>;
28
+ "margin-left": z.ZodOptional<z.ZodNumber>;
29
+ "page-height": z.ZodOptional<z.ZodNumber>;
30
+ "image-height": z.ZodOptional<z.ZodNumber>;
31
+ "margin-right": z.ZodOptional<z.ZodNumber>;
32
+ "margin-bottom": z.ZodOptional<z.ZodNumber>;
33
+ "ignore-certificate-errors": z.ZodOptional<z.ZodBoolean>;
34
+ }, z.core.$strip>;
35
+ declare const NeutrinoHtmlRenderOutput: z.ZodObject<{
36
+ file: z.ZodNullable<z.ZodString>;
37
+ "content-type": z.ZodNullable<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ declare const neutrinoHtmlRender: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ content: string;
41
+ css?: string | undefined;
42
+ exec?: string | undefined;
43
+ zoom?: number | undefined;
44
+ delay?: number | undefined;
45
+ title?: string | undefined;
46
+ footer?: string | undefined;
47
+ format?: "PDF" | "PNG" | "JPG" | undefined;
48
+ header?: string | undefined;
49
+ margin?: number | undefined;
50
+ timeout?: number | undefined;
51
+ "bg-color"?: string | undefined;
52
+ grayscale?: boolean | undefined;
53
+ landscape?: boolean | undefined;
54
+ "page-size"?: string | undefined;
55
+ "margin-top"?: number | undefined;
56
+ "page-width"?: number | undefined;
57
+ "user-agent"?: string | undefined;
58
+ "image-width"?: number | undefined;
59
+ "margin-left"?: number | undefined;
60
+ "page-height"?: number | undefined;
61
+ "image-height"?: number | undefined;
62
+ "margin-right"?: number | undefined;
63
+ "margin-bottom"?: number | undefined;
64
+ "ignore-certificate-errors"?: boolean | undefined;
65
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
66
  //#endregion
8
67
  export { neutrinoHtmlRender };
9
68
  //# sourceMappingURL=html-render.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-render.d.mts","names":[],"sources":["../../src/actions/html-render.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UA0BtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"html-render.d.mts","names":[],"sources":["../../src/actions/html-render.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -36,8 +36,8 @@ const neutrinoHtmlRender = action("NEUTRINO_HTML_RENDER", {
36
36
  "ignore-certificate-errors": z.boolean().describe("Ignore TLS/SSL certificate errors when loading content. Default is false.").optional()
37
37
  }),
38
38
  output: z.object({
39
- file: z.string().describe("The rendered file content as binary data (PDF, PNG, or JPG)."),
40
- "content-type": z.string().describe("The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').")
39
+ file: z.string().describe("The rendered file content as binary data (PDF, PNG, or JPG).").nullable(),
40
+ "content-type": z.string().describe("The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').").nullable()
41
41
  })
42
42
  });
43
43
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"html-render.mjs","names":[],"sources":["../../src/actions/html-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlRenderInput: z.ZodTypeAny = z.object({\n css: z.string().describe(\"Inject custom CSS into the HTML before rendering.\").optional(),\n exec: z.string().describe(\"Execute custom JavaScript before rendering. Supports functions: click(), focus(), keys(), sleep(), enter(), tab().\").optional(),\n zoom: z.number().describe(\"Zoom factor for rendering. 2.0 doubles the size, 0.5 halves it. Default is 1.0.\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before rendering (useful for JavaScript-heavy pages). Default is 0.\").optional(),\n title: z.string().describe(\"The document title.\").optional(),\n footer: z.string().describe(\"Footer HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n format: z.enum([\"PDF\", \"PNG\", \"JPG\"]).default(\"PDF\").describe(\"Output format: PDF, PNG, or JPG. Values are case-sensitive and must be uppercase. Default is 'PDF'.\").optional(),\n header: z.string().describe(\"Header HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n margin: z.number().describe(\"Document margin in millimeters for all sides. Default is 0.\").optional(),\n content: z.string().describe(\"The HTML content to render. Can be a URL to load from, a file upload, or an HTML content string.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for loading the content. Default is 300 seconds.\").optional(),\n \"bg-color\": z.string().describe(\"Background color in hex notation (e.g., '#FFFFFF'). Use 'transparent' for PNG with transparency.\").optional(),\n grayscale: z.boolean().describe(\"Render the final document in grayscale. Default is false.\").optional(),\n landscape: z.boolean().describe(\"Enable landscape orientation for the document. Default is false (portrait).\").optional(),\n \"page-size\": z.string().describe(\"Page size for PDF output. Options: A0-A9, B0-B10, Comm10E, DLE, or Letter. Default is 'A4'.\").optional(),\n \"margin-top\": z.number().describe(\"Top margin in millimeters. Default is 0.\").optional(),\n \"page-width\": z.number().describe(\"PDF page width in millimeters. Overrides page-size width if specified.\").optional(),\n \"user-agent\": z.string().describe(\"Override the default browser User-Agent string.\").optional(),\n \"image-width\": z.number().int().describe(\"Image width in pixels for PNG/JPG output. Default is 1024 pixels.\").optional(),\n \"margin-left\": z.number().describe(\"Left margin in millimeters. Default is 0.\").optional(),\n \"page-height\": z.number().describe(\"PDF page height in millimeters. Overrides page-size height if specified.\").optional(),\n \"image-height\": z.number().int().describe(\"Image height in pixels for PNG/JPG output. If not specified, height is calculated automatically.\").optional(),\n \"margin-right\": z.number().describe(\"Right margin in millimeters. Default is 0.\").optional(),\n \"margin-bottom\": z.number().describe(\"Bottom margin in millimeters. Default is 0.\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore TLS/SSL certificate errors when loading content. Default is false.\").optional(),\n});\nexport const NeutrinoHtmlRenderOutput: z.ZodTypeAny = z.object({\n file: z.string().describe(\"The rendered file content as binary data (PDF, PNG, or JPG).\"),\n \"content-type\": z.string().describe(\"The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').\"),\n});\n\nexport const neutrinoHtmlRender = action(\"NEUTRINO_HTML_RENDER\", {\n slug: \"neutrino-html-render\",\n name: \"HTML Render\",\n description: \"Render HTML content to PDF, PNG, or JPG format. Converts HTML strings or URLs into downloadable files with extensive customization options including page size, margins, headers/footers, and JavaScript execution.\",\n input: NeutrinoHtmlRenderInput,\n output: NeutrinoHtmlRenderOutput,\n});\n"],"mappings":";;AAoCA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApCmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACvH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACzF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC7F,6BAA6B,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC1I,CAUS;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAClI,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"html-render.mjs","names":[],"sources":["../../src/actions/html-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlRenderInput = z.object({\n css: z.string().describe(\"Inject custom CSS into the HTML before rendering.\").optional(),\n exec: z.string().describe(\"Execute custom JavaScript before rendering. Supports functions: click(), focus(), keys(), sleep(), enter(), tab().\").optional(),\n zoom: z.number().describe(\"Zoom factor for rendering. 2.0 doubles the size, 0.5 halves it. Default is 1.0.\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before rendering (useful for JavaScript-heavy pages). Default is 0.\").optional(),\n title: z.string().describe(\"The document title.\").optional(),\n footer: z.string().describe(\"Footer HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n format: z.enum([\"PDF\", \"PNG\", \"JPG\"]).default(\"PDF\").describe(\"Output format: PDF, PNG, or JPG. Values are case-sensitive and must be uppercase. Default is 'PDF'.\").optional(),\n header: z.string().describe(\"Header HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n margin: z.number().describe(\"Document margin in millimeters for all sides. Default is 0.\").optional(),\n content: z.string().describe(\"The HTML content to render. Can be a URL to load from, a file upload, or an HTML content string.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for loading the content. Default is 300 seconds.\").optional(),\n \"bg-color\": z.string().describe(\"Background color in hex notation (e.g., '#FFFFFF'). Use 'transparent' for PNG with transparency.\").optional(),\n grayscale: z.boolean().describe(\"Render the final document in grayscale. Default is false.\").optional(),\n landscape: z.boolean().describe(\"Enable landscape orientation for the document. Default is false (portrait).\").optional(),\n \"page-size\": z.string().describe(\"Page size for PDF output. Options: A0-A9, B0-B10, Comm10E, DLE, or Letter. Default is 'A4'.\").optional(),\n \"margin-top\": z.number().describe(\"Top margin in millimeters. Default is 0.\").optional(),\n \"page-width\": z.number().describe(\"PDF page width in millimeters. Overrides page-size width if specified.\").optional(),\n \"user-agent\": z.string().describe(\"Override the default browser User-Agent string.\").optional(),\n \"image-width\": z.number().int().describe(\"Image width in pixels for PNG/JPG output. Default is 1024 pixels.\").optional(),\n \"margin-left\": z.number().describe(\"Left margin in millimeters. Default is 0.\").optional(),\n \"page-height\": z.number().describe(\"PDF page height in millimeters. Overrides page-size height if specified.\").optional(),\n \"image-height\": z.number().int().describe(\"Image height in pixels for PNG/JPG output. If not specified, height is calculated automatically.\").optional(),\n \"margin-right\": z.number().describe(\"Right margin in millimeters. Default is 0.\").optional(),\n \"margin-bottom\": z.number().describe(\"Bottom margin in millimeters. Default is 0.\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore TLS/SSL certificate errors when loading content. Default is false.\").optional(),\n});\nexport const NeutrinoHtmlRenderOutput = z.object({\n file: z.string().describe(\"The rendered file content as binary data (PDF, PNG, or JPG).\").nullable(),\n \"content-type\": z.string().describe(\"The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').\").nullable(),\n});\n\nexport const neutrinoHtmlRender = action(\"NEUTRINO_HTML_RENDER\", {\n slug: \"neutrino-html-render\",\n name: \"HTML Render\",\n description: \"Render HTML content to PDF, PNG, or JPG format. Converts HTML strings or URLs into downloadable files with extensive customization options including page size, margins, headers/footers, and JavaScript execution.\",\n input: NeutrinoHtmlRenderInput,\n output: NeutrinoHtmlRenderOutput,\n});\n"],"mappings":";;AAoCA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApCqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACzJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACtH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAO;EAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CA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