@keystrokehq/securitytrails 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 (103) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/bulk-static-asset-rules.cjs +5 -5
  4. package/dist/actions/bulk-static-asset-rules.cjs.map +1 -1
  5. package/dist/actions/bulk-static-asset-rules.d.cts +38 -3
  6. package/dist/actions/bulk-static-asset-rules.d.cts.map +1 -1
  7. package/dist/actions/bulk-static-asset-rules.d.mts +38 -3
  8. package/dist/actions/bulk-static-asset-rules.d.mts.map +1 -1
  9. package/dist/actions/bulk-static-asset-rules.mjs +5 -5
  10. package/dist/actions/bulk-static-asset-rules.mjs.map +1 -1
  11. package/dist/actions/get-company-associated-ips.cjs +7 -7
  12. package/dist/actions/get-company-associated-ips.cjs.map +1 -1
  13. package/dist/actions/get-company-associated-ips.d.cts +18 -3
  14. package/dist/actions/get-company-associated-ips.d.cts.map +1 -1
  15. package/dist/actions/get-company-associated-ips.d.mts +18 -3
  16. package/dist/actions/get-company-associated-ips.d.mts.map +1 -1
  17. package/dist/actions/get-company-associated-ips.mjs +7 -7
  18. package/dist/actions/get-company-associated-ips.mjs.map +1 -1
  19. package/dist/actions/get-domain-ssl.cjs +2 -2
  20. package/dist/actions/get-domain-ssl.cjs.map +1 -1
  21. package/dist/actions/get-domain-ssl.d.cts +11 -3
  22. package/dist/actions/get-domain-ssl.d.cts.map +1 -1
  23. package/dist/actions/get-domain-ssl.d.mts +11 -3
  24. package/dist/actions/get-domain-ssl.d.mts.map +1 -1
  25. package/dist/actions/get-domain-ssl.mjs +2 -2
  26. package/dist/actions/get-domain-ssl.mjs.map +1 -1
  27. package/dist/actions/get-domain.cjs +6 -6
  28. package/dist/actions/get-domain.cjs.map +1 -1
  29. package/dist/actions/get-domain.d.cts +42 -3
  30. package/dist/actions/get-domain.d.cts.map +1 -1
  31. package/dist/actions/get-domain.d.mts +42 -3
  32. package/dist/actions/get-domain.d.mts.map +1 -1
  33. package/dist/actions/get-domain.mjs +6 -6
  34. package/dist/actions/get-domain.mjs.map +1 -1
  35. package/dist/actions/ip-search-statistics.cjs +11 -11
  36. package/dist/actions/ip-search-statistics.cjs.map +1 -1
  37. package/dist/actions/ip-search-statistics.d.cts +21 -3
  38. package/dist/actions/ip-search-statistics.d.cts.map +1 -1
  39. package/dist/actions/ip-search-statistics.d.mts +21 -3
  40. package/dist/actions/ip-search-statistics.d.mts.map +1 -1
  41. package/dist/actions/ip-search-statistics.mjs +11 -11
  42. package/dist/actions/ip-search-statistics.mjs.map +1 -1
  43. package/dist/actions/list-projects.cjs +1 -1
  44. package/dist/actions/list-projects.cjs.map +1 -1
  45. package/dist/actions/list-projects.d.cts +5 -3
  46. package/dist/actions/list-projects.d.cts.map +1 -1
  47. package/dist/actions/list-projects.d.mts +5 -3
  48. package/dist/actions/list-projects.d.mts.map +1 -1
  49. package/dist/actions/list-projects.mjs +1 -1
  50. package/dist/actions/list-projects.mjs.map +1 -1
  51. package/dist/actions/ping.cjs +3 -3
  52. package/dist/actions/ping.cjs.map +1 -1
  53. package/dist/actions/ping.d.cts +7 -3
  54. package/dist/actions/ping.d.cts.map +1 -1
  55. package/dist/actions/ping.d.mts +7 -3
  56. package/dist/actions/ping.d.mts.map +1 -1
  57. package/dist/actions/ping.mjs +3 -3
  58. package/dist/actions/ping.mjs.map +1 -1
  59. package/dist/actions/scroll.cjs +2 -2
  60. package/dist/actions/scroll.cjs.map +1 -1
  61. package/dist/actions/scroll.d.cts +10 -3
  62. package/dist/actions/scroll.d.cts.map +1 -1
  63. package/dist/actions/scroll.d.mts +10 -3
  64. package/dist/actions/scroll.d.mts.map +1 -1
  65. package/dist/actions/scroll.mjs +2 -2
  66. package/dist/actions/scroll.mjs.map +1 -1
  67. package/dist/actions/search-ips.cjs +1 -1
  68. package/dist/actions/search-ips.cjs.map +1 -1
  69. package/dist/actions/search-ips.d.cts +11 -3
  70. package/dist/actions/search-ips.d.cts.map +1 -1
  71. package/dist/actions/search-ips.d.mts +11 -3
  72. package/dist/actions/search-ips.d.mts.map +1 -1
  73. package/dist/actions/search-ips.mjs +1 -1
  74. package/dist/actions/search-ips.mjs.map +1 -1
  75. package/dist/actions/sql-api-execute-query.cjs +4 -4
  76. package/dist/actions/sql-api-execute-query.cjs.map +1 -1
  77. package/dist/actions/sql-api-execute-query.d.cts +19 -3
  78. package/dist/actions/sql-api-execute-query.d.cts.map +1 -1
  79. package/dist/actions/sql-api-execute-query.d.mts +19 -3
  80. package/dist/actions/sql-api-execute-query.d.mts.map +1 -1
  81. package/dist/actions/sql-api-execute-query.mjs +4 -4
  82. package/dist/actions/sql-api-execute-query.mjs.map +1 -1
  83. package/dist/actions/sql-api-scroll-results.cjs.map +1 -1
  84. package/dist/actions/sql-api-scroll-results.d.cts +9 -3
  85. package/dist/actions/sql-api-scroll-results.d.cts.map +1 -1
  86. package/dist/actions/sql-api-scroll-results.d.mts +9 -3
  87. package/dist/actions/sql-api-scroll-results.d.mts.map +1 -1
  88. package/dist/actions/sql-api-scroll-results.mjs.map +1 -1
  89. package/dist/actions/temp-scrape-securitytrails-usage.cjs +1 -1
  90. package/dist/actions/temp-scrape-securitytrails-usage.cjs.map +1 -1
  91. package/dist/actions/temp-scrape-securitytrails-usage.d.cts +5 -3
  92. package/dist/actions/temp-scrape-securitytrails-usage.d.cts.map +1 -1
  93. package/dist/actions/temp-scrape-securitytrails-usage.d.mts +5 -3
  94. package/dist/actions/temp-scrape-securitytrails-usage.d.mts.map +1 -1
  95. package/dist/actions/temp-scrape-securitytrails-usage.mjs +1 -1
  96. package/dist/actions/temp-scrape-securitytrails-usage.mjs.map +1 -1
  97. package/dist/catalog.cjs +7 -1
  98. package/dist/catalog.cjs.map +1 -1
  99. package/dist/catalog.d.cts +8 -0
  100. package/dist/catalog.d.mts +8 -0
  101. package/dist/catalog.mjs +7 -1
  102. package/dist/catalog.mjs.map +1 -1
  103. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-domain.cjs","names":["z","action"],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput: z.ZodTypeAny = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema: z.ZodTypeAny = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema: z.ZodTypeAny = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema: z.ZodTypeAny = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\"),\n hostname: z.string().describe(\"The queried domain hostname\"),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput: z.ZodTypeAny = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,GAAG,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,aAAa,yCAAyC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,8RAA8R;AAE1S,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-domain.cjs","names":["z","action"],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).passthrough().describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).passthrough().describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\").nullable(),\n hostname: z.string().describe(\"The queried domain hostname\").nullable(),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).passthrough().describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,GAAG,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,aAAa,yCAAyC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8RAA8R;AAExT,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-domain.d.ts
4
- declare const SecuritytrailsGetDomainInput: z.ZodTypeAny;
5
- declare const SecuritytrailsGetDomainOutput: z.ZodTypeAny;
6
- declare const securitytrailsGetDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsGetDomainInput: z.ZodObject<{
5
+ hostname: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SecuritytrailsGetDomainOutput: z.ZodObject<{
8
+ raw: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9
+ domain_data: z.ZodNullable<z.ZodObject<{
10
+ endpoint: z.ZodNullable<z.ZodString>;
11
+ hostname: z.ZodNullable<z.ZodString>;
12
+ alexa_rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ apex_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ current_dns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ a: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
17
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>>;
19
+ mx: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>>;
23
+ ns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
25
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>;
27
+ soa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
29
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>>;
31
+ txt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
33
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>>;
35
+ aaaa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
37
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ }, z.core.$loose>>>;
39
+ }, z.core.$loose>>>;
40
+ subdomain_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ }, z.core.$loose>>;
42
+ }, z.core.$loose>;
43
+ declare const securitytrailsGetDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
44
+ hostname: string;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { securitytrailsGetDomain };
9
48
  //# sourceMappingURL=get-domain.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-domain.d.cts","names":[],"sources":["../../src/actions/get-domain.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEc;AAAA,cAqB9C,6BAAA,EAA+B,CAAA,CAAE,UAG6P;AAAA,cAE9R,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-domain.d.cts","names":[],"sources":["../../src/actions/get-domain.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAuB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-domain.d.ts
4
- declare const SecuritytrailsGetDomainInput: z.ZodTypeAny;
5
- declare const SecuritytrailsGetDomainOutput: z.ZodTypeAny;
6
- declare const securitytrailsGetDomain: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsGetDomainInput: z.ZodObject<{
5
+ hostname: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SecuritytrailsGetDomainOutput: z.ZodObject<{
8
+ raw: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9
+ domain_data: z.ZodNullable<z.ZodObject<{
10
+ endpoint: z.ZodNullable<z.ZodString>;
11
+ hostname: z.ZodNullable<z.ZodString>;
12
+ alexa_rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ apex_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ current_dns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
+ a: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
17
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>>;
19
+ mx: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
21
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>>;
23
+ ns: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
25
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>;
27
+ soa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
29
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>>;
31
+ txt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
33
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>>;
35
+ aaaa: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
37
+ first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ }, z.core.$loose>>>;
39
+ }, z.core.$loose>>>;
40
+ subdomain_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ }, z.core.$loose>>;
42
+ }, z.core.$loose>;
43
+ declare const securitytrailsGetDomain: import("@keystrokehq/action").WorkflowActionDefinition<{
44
+ hostname: string;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { securitytrailsGetDomain };
9
48
  //# sourceMappingURL=get-domain.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-domain.d.mts","names":[],"sources":["../../src/actions/get-domain.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEc;AAAA,cAqB9C,6BAAA,EAA+B,CAAA,CAAE,UAG6P;AAAA,cAE9R,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-domain.d.mts","names":[],"sources":["../../src/actions/get-domain.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAuB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -5,7 +5,7 @@ const SecuritytrailsGetDomainInput = z.object({ hostname: z.string().describe("T
5
5
  const SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({
6
6
  values: z.array(z.record(z.string(), z.unknown())).describe("List of DNS record values").nullable().optional(),
7
7
  first_seen: z.string().describe("Date when this DNS record was first observed (YYYY-MM-DD format)").nullable().optional()
8
- }).describe("DNS records of a specific type with first seen date.");
8
+ }).passthrough().describe("DNS records of a specific type with first seen date.");
9
9
  const SecuritytrailsGetDomain_CurrentDNSSchema = z.object({
10
10
  a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
11
11
  mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
@@ -13,15 +13,15 @@ const SecuritytrailsGetDomain_CurrentDNSSchema = z.object({
13
13
  soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
14
14
  txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
15
15
  aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional()
16
- }).describe("Current DNS configuration for the domain.");
16
+ }).passthrough().describe("Current DNS configuration for the domain.");
17
17
  const SecuritytrailsGetDomain_DomainDataSchema = z.object({
18
- endpoint: z.string().describe("API endpoint path used for this query"),
19
- hostname: z.string().describe("The queried domain hostname"),
18
+ endpoint: z.string().describe("API endpoint path used for this query").nullable(),
19
+ hostname: z.string().describe("The queried domain hostname").nullable(),
20
20
  alexa_rank: z.number().int().describe("Historical Alexa ranking (deprecated, often null)").nullable().optional(),
21
21
  apex_domain: z.string().describe("The apex/root domain (e.g., 'example.com' for 'www.example.com')").nullable().optional(),
22
22
  current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),
23
23
  subdomain_count: z.number().int().describe("Number of known subdomains for this domain").nullable().optional()
24
- }).describe("Complete domain information returned by SecurityTrails API.");
24
+ }).passthrough().describe("Complete domain information returned by SecurityTrails API.");
25
25
  const securitytrailsGetDomain = action("SECURITYTRAILS_GET_DOMAIN", {
26
26
  slug: "securitytrails-get-domain",
27
27
  name: "Get Domain Details",
@@ -30,7 +30,7 @@ const securitytrailsGetDomain = action("SECURITYTRAILS_GET_DOMAIN", {
30
30
  output: z.object({
31
31
  raw: z.record(z.string(), z.unknown()).describe("Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)").nullable().optional(),
32
32
  domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable()
33
- }).describe("Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\n\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.")
33
+ }).passthrough().describe("Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\n\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.")
34
34
  });
35
35
  //#endregion
36
36
  export { securitytrailsGetDomain };
@@ -1 +1 @@
1
- {"version":3,"file":"get-domain.mjs","names":[],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput: z.ZodTypeAny = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema: z.ZodTypeAny = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema: z.ZodTypeAny = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema: z.ZodTypeAny = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\"),\n hostname: z.string().describe(\"The queried domain hostname\"),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput: z.ZodTypeAny = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA2D,EAAE,OAAO;CACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,2CAAyD,EAAE,OAAO;CACtE,GAAG,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,2CAAyD,EAAE,OAAO;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAMzE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,aAAa,yCAAyC,SAAS;CACjE,CAAC,CAAC,CAAC,SAAS,8RAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-domain.mjs","names":[],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainInput = z.object({\n hostname: z.string().describe(\"The domain/hostname to retrieve DNS and statistical data for. Must be a valid domain name without protocol or path (e.g., 'example.com', not 'https://example.com'). For internationalized domain names (IDNs), use punycode encoding. Do not include trailing dots.\"),\n}).describe(\"Request model for SECURITYTRAILS_GET_DOMAIN.\");\nconst SecuritytrailsGetDomain_DNSRecordSetSchema = z.object({\n values: z.array(z.record(z.string(), z.unknown())).describe(\"List of DNS record values\").nullable().optional(),\n first_seen: z.string().describe(\"Date when this DNS record was first observed (YYYY-MM-DD format)\").nullable().optional(),\n}).passthrough().describe(\"DNS records of a specific type with first seen date.\");\nconst SecuritytrailsGetDomain_CurrentDNSSchema = z.object({\n a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n ns: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),\n}).passthrough().describe(\"Current DNS configuration for the domain.\");\nconst SecuritytrailsGetDomain_DomainDataSchema = z.object({\n endpoint: z.string().describe(\"API endpoint path used for this query\").nullable(),\n hostname: z.string().describe(\"The queried domain hostname\").nullable(),\n alexa_rank: z.number().int().describe(\"Historical Alexa ranking (deprecated, often null)\").nullable().optional(),\n apex_domain: z.string().describe(\"The apex/root domain (e.g., 'example.com' for 'www.example.com')\").nullable().optional(),\n current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),\n subdomain_count: z.number().int().describe(\"Number of known subdomains for this domain\").nullable().optional(),\n}).passthrough().describe(\"Complete domain information returned by SecurityTrails API.\");\nexport const SecuritytrailsGetDomainOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)\").nullable().optional(),\n domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_GET_DOMAIN with structured DNS data.\\n\\nReturns comprehensive domain information including current DNS records (A, AAAA, MX, NS, SOA, TXT),\\norganizational metadata, and statistical insights like how many other domains share the same infrastructure.\");\n\nexport const securitytrailsGetDomain = action(\"SECURITYTRAILS_GET_DOMAIN\", {\n slug: \"securitytrails-get-domain\",\n name: \"Get Domain Details\",\n description: \"Retrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.\",\n input: SecuritytrailsGetDomainInput,\n output: SecuritytrailsGetDomainOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sQAAsQ,EACtS,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,2CAA2C,EAAE,OAAO;CACxD,GAAG,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAClE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,IAAI,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACnE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,KAAK,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,2CAA2C,EAAE,OAAO;CACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,aAAa,yCAAyC,SAAS;CACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8RAOhB;AACV,CAAC"}
@@ -3,23 +3,23 @@ let zod = require("zod");
3
3
  //#region src/actions/ip-search-statistics.ts
4
4
  const SecuritytrailsIpSearchStatisticsInput = zod.z.object({ query: zod.z.string().describe("DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.") }).describe("Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.");
5
5
  const SecuritytrailsIpSearchStatistics_PortStatisticSchema = zod.z.object({
6
- key: zod.z.number().int().describe("Port number"),
7
- count: zod.z.number().int().describe("Number of IPs with this port open")
8
- }).describe("Port count statistic.");
6
+ key: zod.z.number().int().describe("Port number").nullable(),
7
+ count: zod.z.number().int().describe("Number of IPs with this port open").nullable()
8
+ }).passthrough().describe("Port count statistic.");
9
9
  const SecuritytrailsIpSearchStatistics_TotalStatisticSchema = zod.z.object({
10
- value: zod.z.number().int().describe("Total count of IPs matching the query"),
11
- relation: zod.z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)")
12
- }).describe("Total count with relation indicator.");
10
+ value: zod.z.number().int().describe("Total count of IPs matching the query").nullable(),
11
+ relation: zod.z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)").nullable()
12
+ }).passthrough().describe("Total count with relation indicator.");
13
13
  const SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = zod.z.object({
14
- key: zod.z.string().describe("Reverse DNS pattern"),
15
- count: zod.z.number().int().describe("Number of IPs matching this pattern")
16
- }).describe("PTR pattern statistic.");
14
+ key: zod.z.string().describe("Reverse DNS pattern").nullable(),
15
+ count: zod.z.number().int().describe("Number of IPs matching this pattern").nullable()
16
+ }).passthrough().describe("PTR pattern statistic.");
17
17
  const SecuritytrailsIpSearchStatisticsOutput = zod.z.object({
18
18
  ports: zod.z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe("Top open ports ranked by frequency across matching IPs").nullable().optional(),
19
19
  total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),
20
- endpoint: zod.z.string().describe("The API endpoint used"),
20
+ endpoint: zod.z.string().describe("The API endpoint used").nullable(),
21
21
  top_ptr_patterns: zod.z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe("Most common reverse DNS patterns across matching IPs").nullable().optional()
22
- }).describe("Response schema for IP search statistics.");
22
+ }).passthrough().describe("Response schema for IP search statistics.");
23
23
  const securitytrailsIpSearchStatistics = require_action.action("SECURITYTRAILS_IP_SEARCH_STATISTICS", {
24
24
  slug: "securitytrails-ip-search-statistics",
25
25
  name: "IP Search Statistics",
@@ -1 +1 @@
1
- {"version":3,"file":"ip-search-statistics.cjs","names":["z","action"],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema: z.ZodTypeAny = z.object({\n key: z.number().int().describe(\"Port number\"),\n count: z.number().int().describe(\"Number of IPs with this port open\"),\n}).describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema: z.ZodTypeAny = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\"),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\"),\n}).describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Reverse DNS pattern\"),\n count: z.number().int().describe(\"Number of IPs matching this pattern\"),\n}).describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput: z.ZodTypeAny = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\"),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AACtE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AAClI,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6DAA2EA,IAAAA,EAAE,OAAO;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,OAAO,sDAAsD,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACrD,kBAAkBA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"ip-search-statistics.cjs","names":["z","action"],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({\n key: z.number().int().describe(\"Port number\").nullable(),\n count: z.number().int().describe(\"Number of IPs with this port open\").nullable(),\n}).passthrough().describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\").nullable(),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\").nullable(),\n}).passthrough().describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({\n key: z.string().describe(\"Reverse DNS pattern\").nullable(),\n count: z.number().int().describe(\"Number of IPs matching this pattern\").nullable(),\n}).passthrough().describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\").nullable(),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).passthrough().describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,OAAO,sDAAsD,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,kBAAkBA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/ip-search-statistics.d.ts
4
- declare const SecuritytrailsIpSearchStatisticsInput: z.ZodTypeAny;
5
- declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodTypeAny;
6
- declare const securitytrailsIpSearchStatistics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsIpSearchStatisticsInput: z.ZodObject<{
5
+ query: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
8
+ ports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9
+ key: z.ZodNullable<z.ZodNumber>;
10
+ count: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$loose>>>>;
12
+ total: z.ZodNullable<z.ZodObject<{
13
+ value: z.ZodNullable<z.ZodNumber>;
14
+ relation: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ endpoint: z.ZodNullable<z.ZodString>;
17
+ top_ptr_patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ key: z.ZodNullable<z.ZodString>;
19
+ count: z.ZodNullable<z.ZodNumber>;
20
+ }, z.core.$loose>>>>;
21
+ }, z.core.$loose>;
22
+ declare const securitytrailsIpSearchStatistics: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ query: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { securitytrailsIpSearchStatistics };
9
27
  //# sourceMappingURL=ip-search-statistics.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ip-search-statistics.d.cts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEe;AAAA,cAaxD,sCAAA,EAAwC,CAAA,CAAE,UAKC;AAAA,cAE3C,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"ip-search-statistics.d.cts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/ip-search-statistics.d.ts
4
- declare const SecuritytrailsIpSearchStatisticsInput: z.ZodTypeAny;
5
- declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodTypeAny;
6
- declare const securitytrailsIpSearchStatistics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsIpSearchStatisticsInput: z.ZodObject<{
5
+ query: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
8
+ ports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9
+ key: z.ZodNullable<z.ZodNumber>;
10
+ count: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$loose>>>>;
12
+ total: z.ZodNullable<z.ZodObject<{
13
+ value: z.ZodNullable<z.ZodNumber>;
14
+ relation: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ endpoint: z.ZodNullable<z.ZodString>;
17
+ top_ptr_patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ key: z.ZodNullable<z.ZodString>;
19
+ count: z.ZodNullable<z.ZodNumber>;
20
+ }, z.core.$loose>>>>;
21
+ }, z.core.$loose>;
22
+ declare const securitytrailsIpSearchStatistics: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ query: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { securitytrailsIpSearchStatistics };
9
27
  //# sourceMappingURL=ip-search-statistics.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ip-search-statistics.d.mts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEe;AAAA,cAaxD,sCAAA,EAAwC,CAAA,CAAE,UAKC;AAAA,cAE3C,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"ip-search-statistics.d.mts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
@@ -3,17 +3,17 @@ import { z } from "zod";
3
3
  //#region src/actions/ip-search-statistics.ts
4
4
  const SecuritytrailsIpSearchStatisticsInput = z.object({ query: z.string().describe("DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.") }).describe("Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.");
5
5
  const SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({
6
- key: z.number().int().describe("Port number"),
7
- count: z.number().int().describe("Number of IPs with this port open")
8
- }).describe("Port count statistic.");
6
+ key: z.number().int().describe("Port number").nullable(),
7
+ count: z.number().int().describe("Number of IPs with this port open").nullable()
8
+ }).passthrough().describe("Port count statistic.");
9
9
  const SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({
10
- value: z.number().int().describe("Total count of IPs matching the query"),
11
- relation: z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)")
12
- }).describe("Total count with relation indicator.");
10
+ value: z.number().int().describe("Total count of IPs matching the query").nullable(),
11
+ relation: z.string().describe("Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)").nullable()
12
+ }).passthrough().describe("Total count with relation indicator.");
13
13
  const SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({
14
- key: z.string().describe("Reverse DNS pattern"),
15
- count: z.number().int().describe("Number of IPs matching this pattern")
16
- }).describe("PTR pattern statistic.");
14
+ key: z.string().describe("Reverse DNS pattern").nullable(),
15
+ count: z.number().int().describe("Number of IPs matching this pattern").nullable()
16
+ }).passthrough().describe("PTR pattern statistic.");
17
17
  const securitytrailsIpSearchStatistics = action("SECURITYTRAILS_IP_SEARCH_STATISTICS", {
18
18
  slug: "securitytrails-ip-search-statistics",
19
19
  name: "IP Search Statistics",
@@ -22,9 +22,9 @@ const securitytrailsIpSearchStatistics = action("SECURITYTRAILS_IP_SEARCH_STATIS
22
22
  output: z.object({
23
23
  ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe("Top open ports ranked by frequency across matching IPs").nullable().optional(),
24
24
  total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),
25
- endpoint: z.string().describe("The API endpoint used"),
25
+ endpoint: z.string().describe("The API endpoint used").nullable(),
26
26
  top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe("Most common reverse DNS patterns across matching IPs").nullable().optional()
27
- }).describe("Response schema for IP search statistics.")
27
+ }).passthrough().describe("Response schema for IP search statistics.")
28
28
  });
29
29
  //#endregion
30
30
  export { securitytrailsIpSearchStatistics };
@@ -1 +1 @@
1
- {"version":3,"file":"ip-search-statistics.mjs","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema: z.ZodTypeAny = z.object({\n key: z.number().int().describe(\"Port number\"),\n count: z.number().int().describe(\"Number of IPs with this port open\"),\n}).describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema: z.ZodTypeAny = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\"),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\"),\n}).describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Reverse DNS pattern\"),\n count: z.number().int().describe(\"Number of IPs matching this pattern\"),\n}).describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput: z.ZodTypeAny = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\"),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO,EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAqE,EAAE,OAAO;CAClF,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AACtE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAM,wDAAsE,EAAE,OAAO;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AAClI,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6DAA2E,EAAE,OAAO;CACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC,CAAC,CAAC,SAAS,wBAAwB;AAQpC,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkE,EAAE,OAAO;EAC3E,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,OAAO,sDAAsD,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACrD,kBAAkB,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"ip-search-statistics.mjs","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsIpSearchStatisticsInput = z.object({\n query: z.string().describe(\"DSL query string for IP statistics. Supports SQL-like syntax with fields: ip (with CIDR notation), ptr_part (reverse DNS pattern), port (numeric), and operators: =, !=, AND, OR. Use parentheses for grouping complex queries.\"),\n}).describe(\"Request model for SECURITYTRAILS_IP_SEARCH_STATISTICS.\");\nconst SecuritytrailsIpSearchStatistics_PortStatisticSchema = z.object({\n key: z.number().int().describe(\"Port number\").nullable(),\n count: z.number().int().describe(\"Number of IPs with this port open\").nullable(),\n}).passthrough().describe(\"Port count statistic.\");\nconst SecuritytrailsIpSearchStatistics_TotalStatisticSchema = z.object({\n value: z.number().int().describe(\"Total count of IPs matching the query\").nullable(),\n relation: z.string().describe(\"Relation type: 'eq' (exact count) or 'gte' (greater than or equal, indicating truncated results)\").nullable(),\n}).passthrough().describe(\"Total count with relation indicator.\");\nconst SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema = z.object({\n key: z.string().describe(\"Reverse DNS pattern\").nullable(),\n count: z.number().int().describe(\"Number of IPs matching this pattern\").nullable(),\n}).passthrough().describe(\"PTR pattern statistic.\");\nexport const SecuritytrailsIpSearchStatisticsOutput = z.object({\n ports: z.array(SecuritytrailsIpSearchStatistics_PortStatisticSchema).describe(\"Top open ports ranked by frequency across matching IPs\").nullable().optional(),\n total: SecuritytrailsIpSearchStatistics_TotalStatisticSchema.nullable(),\n endpoint: z.string().describe(\"The API endpoint used\").nullable(),\n top_ptr_patterns: z.array(SecuritytrailsIpSearchStatistics_PtrPatternStatisticSchema).describe(\"Most common reverse DNS patterns across matching IPs\").nullable().optional(),\n}).passthrough().describe(\"Response schema for IP search statistics.\");\n\nexport const securitytrailsIpSearchStatistics = action(\"SECURITYTRAILS_IP_SEARCH_STATISTICS\", {\n slug: \"securitytrails-ip-search-statistics\",\n name: \"IP Search Statistics\",\n description: \"Fetch aggregated statistics for IP addresses matching a DSL query. Returns top open ports by frequency, common reverse DNS patterns, and total count. Useful for analyzing IP infrastructure patterns, port distributions, and PTR records across specific IP ranges or reverse DNS domains.\",\n input: SecuritytrailsIpSearchStatisticsInput,\n output: SecuritytrailsIpSearchStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAM,wDAAwD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,6DAA6D,EAAE,OAAO;CAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAQlD,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,OAAO,sDAAsD,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAChE,kBAAkB,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/list-projects.ts
4
4
  const SecuritytrailsListProjectsInput = zod.z.object({}).describe("Request model for listing ASI projects available to the account. No parameters are required.");
5
- const SecuritytrailsListProjectsOutput = zod.z.object({ raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON payload returned by the /v2/projects endpoint, or error details on failure") }).describe("Raw JSON response schema for listing ASI projects.");
5
+ const SecuritytrailsListProjectsOutput = zod.z.object({ raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON payload returned by the /v2/projects endpoint, or error details on failure") }).passthrough().describe("Raw JSON response schema for listing ASI projects.");
6
6
  const securitytrailsListProjects = require_action.action("SECURITYTRAILS_LIST_PROJECTS", {
7
7
  slug: "securitytrails-list-projects",
8
8
  name: "List ASI Projects",
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput: z.ZodTypeAny = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACjL,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).passthrough().describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACnK,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-projects.d.ts
4
- declare const SecuritytrailsListProjectsInput: z.ZodTypeAny;
5
- declare const SecuritytrailsListProjectsOutput: z.ZodTypeAny;
6
- declare const securitytrailsListProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsListProjectsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SecuritytrailsListProjectsOutput: z.ZodObject<{
6
+ raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
+ }, z.core.$loose>;
8
+ declare const securitytrailsListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { securitytrailsListProjects };
9
11
  //# sourceMappingURL=list-projects.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAkI;AAAA,cACrK,gCAAA,EAAkC,CAAA,CAAE,UAEgB;AAAA,cAEpD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-projects.d.cts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-projects.d.ts
4
- declare const SecuritytrailsListProjectsInput: z.ZodTypeAny;
5
- declare const SecuritytrailsListProjectsOutput: z.ZodTypeAny;
6
- declare const securitytrailsListProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsListProjectsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SecuritytrailsListProjectsOutput: z.ZodObject<{
6
+ raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
+ }, z.core.$loose>;
8
+ declare const securitytrailsListProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { securitytrailsListProjects };
9
11
  //# sourceMappingURL=list-projects.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAkI;AAAA,cACrK,gCAAA,EAAkC,CAAA,CAAE,UAEgB;AAAA,cAEpD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-projects.d.mts","names":[],"sources":["../../src/actions/list-projects.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,7 +5,7 @@ const securitytrailsListProjects = action("SECURITYTRAILS_LIST_PROJECTS", {
5
5
  name: "List ASI Projects",
6
6
  description: "Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.",
7
7
  input: z.object({}).describe("Request model for listing ASI projects available to the account. No parameters are required."),
8
- output: z.object({ raw: z.record(z.string(), z.unknown()).describe("Complete JSON payload returned by the /v2/projects endpoint, or error details on failure") }).describe("Raw JSON response schema for listing ASI projects.")
8
+ output: z.object({ raw: z.record(z.string(), z.unknown()).describe("Complete JSON payload returned by the /v2/projects endpoint, or error details on failure") }).passthrough().describe("Raw JSON response schema for listing ASI projects.")
9
9
  });
10
10
  //#endregion
11
11
  export { securitytrailsListProjects };
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput: z.ZodTypeAny = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAS1E;CACP,QAT4D,EAAE,OAAO,EACrE,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-projects.mjs","names":[],"sources":["../../src/actions/list-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsListProjectsInput = z.object({}).describe(\"Request model for listing ASI projects available to the account. No parameters are required.\");\nexport const SecuritytrailsListProjectsOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by the /v2/projects endpoint, or error details on failure\"),\n}).passthrough().describe(\"Raw JSON response schema for listing ASI projects.\");\n\nexport const securitytrailsListProjects = action(\"SECURITYTRAILS_LIST_PROJECTS\", {\n slug: \"securitytrails-list-projects\",\n name: \"List ASI Projects\",\n description: \"Tool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.\",\n input: SecuritytrailsListProjectsInput,\n output: SecuritytrailsListProjectsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -4,9 +4,9 @@ let zod = require("zod");
4
4
  const SecuritytrailsPingInput = zod.z.object({}).describe("Request model for SECURITYTRAILS_PING. No parameters are required.");
5
5
  const SecuritytrailsPingOutput = zod.z.object({
6
6
  body: zod.z.union([zod.z.record(zod.z.string(), zod.z.unknown()), zod.z.string()]),
7
- success: zod.z.boolean().describe("True if the ping was successful (HTTP 200), False otherwise"),
8
- status_code: zod.z.number().int().describe("HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)")
9
- }).describe("Response model for SecurityTrails /ping endpoint.\nContains HTTP status code and response body for both successful and error responses.");
7
+ success: zod.z.boolean().describe("True if the ping was successful (HTTP 200), False otherwise").nullable(),
8
+ status_code: zod.z.number().int().describe("HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)").nullable()
9
+ }).passthrough().describe("Response model for SecurityTrails /ping endpoint.\nContains HTTP status code and response body for both successful and error responses.");
10
10
  const securitytrailsPing = require_action.action("SECURITYTRAILS_PING", {
11
11
  slug: "securitytrails-ping",
12
12
  name: "Ping",
@@ -1 +1 @@
1
- {"version":3,"file":"ping.cjs","names":["z","action"],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsPingInput: z.ZodTypeAny = z.object({}).describe(\"Request model for SECURITYTRAILS_PING. No parameters are required.\");\nexport const SecuritytrailsPingOutput: z.ZodTypeAny = z.object({\n body: z.union([z.record(z.string(), z.unknown()), z.string()]),\n success: z.boolean().describe(\"True if the ping was successful (HTTP 200), False otherwise\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)\"),\n}).describe(\"Response model for SecurityTrails /ping endpoint.\\nContains HTTP status code and response body for both successful and error responses.\");\n\nexport const securitytrailsPing = action(\"SECURITYTRAILS_PING\", {\n slug: \"securitytrails-ping\",\n name: \"Ping\",\n description: \"Tool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.\",\n input: SecuritytrailsPingInput,\n output: SecuritytrailsPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC/I,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;AAC7H,CAAC,CAAC,CAAC,SAAS,yIAAyI;AAErJ,MAAa,qBAAqBC,eAAAA,OAAO,uBAAuB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"ping.cjs","names":["z","action"],"sources":["../../src/actions/ping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsPingInput = z.object({}).describe(\"Request model for SECURITYTRAILS_PING. No parameters are required.\");\nexport const SecuritytrailsPingOutput = z.object({\n body: z.union([z.record(z.string(), z.unknown()), z.string()]),\n success: z.boolean().describe(\"True if the ping was successful (HTTP 200), False otherwise\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (e.g., 200 for success, 401 for unauthorized)\").nullable(),\n}).passthrough().describe(\"Response model for SecurityTrails /ping endpoint.\\nContains HTTP status code and response body for both successful and error responses.\");\n\nexport const securitytrailsPing = action(\"SECURITYTRAILS_PING\", {\n slug: \"securitytrails-ping\",\n name: \"Ping\",\n description: \"Tool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.\",\n input: SecuritytrailsPingInput,\n output: SecuritytrailsPingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACjI,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yIAAyI;AAEnK,MAAa,qBAAqBC,eAAAA,OAAO,uBAAuB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/ping.d.ts
4
- declare const SecuritytrailsPingInput: z.ZodTypeAny;
5
- declare const SecuritytrailsPingOutput: z.ZodTypeAny;
6
- declare const securitytrailsPing: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsPingInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SecuritytrailsPingOutput: z.ZodObject<{
6
+ body: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
7
+ success: z.ZodNullable<z.ZodBoolean>;
8
+ status_code: z.ZodNullable<z.ZodNumber>;
9
+ }, z.core.$loose>;
10
+ declare const securitytrailsPing: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { securitytrailsPing };
9
13
  //# sourceMappingURL=ping.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ping.d.cts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAwG;AAAA,cACnI,wBAAA,EAA0B,CAAA,CAAE,UAI6G;AAAA,cAEzI,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"ping.d.cts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/ping.d.ts
4
- declare const SecuritytrailsPingInput: z.ZodTypeAny;
5
- declare const SecuritytrailsPingOutput: z.ZodTypeAny;
6
- declare const securitytrailsPing: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsPingInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SecuritytrailsPingOutput: z.ZodObject<{
6
+ body: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
7
+ success: z.ZodNullable<z.ZodBoolean>;
8
+ status_code: z.ZodNullable<z.ZodNumber>;
9
+ }, z.core.$loose>;
10
+ declare const securitytrailsPing: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { securitytrailsPing };
9
13
  //# sourceMappingURL=ping.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ping.d.mts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAwG;AAAA,cACnI,wBAAA,EAA0B,CAAA,CAAE,UAI6G;AAAA,cAEzI,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"ping.d.mts","names":[],"sources":["../../src/actions/ping.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAMxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}