@keystrokehq/securitytrails 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) 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 +1 -0
  4. package/dist/actions/bulk-static-asset-rules.cjs.map +1 -1
  5. package/dist/actions/bulk-static-asset-rules.d.cts +3 -15
  6. package/dist/actions/bulk-static-asset-rules.d.cts.map +1 -1
  7. package/dist/actions/bulk-static-asset-rules.d.mts +3 -15
  8. package/dist/actions/bulk-static-asset-rules.d.mts.map +1 -1
  9. package/dist/actions/bulk-static-asset-rules.mjs +1 -0
  10. package/dist/actions/bulk-static-asset-rules.mjs.map +1 -1
  11. package/dist/actions/get-company-associated-ips.cjs +1 -0
  12. package/dist/actions/get-company-associated-ips.cjs.map +1 -1
  13. package/dist/actions/get-company-associated-ips.d.cts +3 -3
  14. package/dist/actions/get-company-associated-ips.d.cts.map +1 -1
  15. package/dist/actions/get-company-associated-ips.d.mts +3 -3
  16. package/dist/actions/get-company-associated-ips.d.mts.map +1 -1
  17. package/dist/actions/get-company-associated-ips.mjs +1 -0
  18. package/dist/actions/get-company-associated-ips.mjs.map +1 -1
  19. package/dist/actions/get-domain-ssl.cjs +1 -0
  20. package/dist/actions/get-domain-ssl.cjs.map +1 -1
  21. package/dist/actions/get-domain-ssl.d.cts +3 -3
  22. package/dist/actions/get-domain-ssl.d.cts.map +1 -1
  23. package/dist/actions/get-domain-ssl.d.mts +3 -3
  24. package/dist/actions/get-domain-ssl.d.mts.map +1 -1
  25. package/dist/actions/get-domain-ssl.mjs +1 -0
  26. package/dist/actions/get-domain-ssl.mjs.map +1 -1
  27. package/dist/actions/get-domain.cjs +1 -0
  28. package/dist/actions/get-domain.cjs.map +1 -1
  29. package/dist/actions/get-domain.d.cts +3 -3
  30. package/dist/actions/get-domain.d.cts.map +1 -1
  31. package/dist/actions/get-domain.d.mts +3 -3
  32. package/dist/actions/get-domain.d.mts.map +1 -1
  33. package/dist/actions/get-domain.mjs +1 -0
  34. package/dist/actions/get-domain.mjs.map +1 -1
  35. package/dist/actions/ip-search-statistics.cjs +1 -0
  36. package/dist/actions/ip-search-statistics.cjs.map +1 -1
  37. package/dist/actions/ip-search-statistics.d.cts +3 -3
  38. package/dist/actions/ip-search-statistics.d.cts.map +1 -1
  39. package/dist/actions/ip-search-statistics.d.mts +3 -3
  40. package/dist/actions/ip-search-statistics.d.mts.map +1 -1
  41. package/dist/actions/ip-search-statistics.mjs +1 -0
  42. package/dist/actions/ip-search-statistics.mjs.map +1 -1
  43. package/dist/actions/list-projects.cjs +1 -0
  44. package/dist/actions/list-projects.cjs.map +1 -1
  45. package/dist/actions/list-projects.d.cts +3 -1
  46. package/dist/actions/list-projects.d.cts.map +1 -1
  47. package/dist/actions/list-projects.d.mts +3 -1
  48. package/dist/actions/list-projects.d.mts.map +1 -1
  49. package/dist/actions/list-projects.mjs +1 -0
  50. package/dist/actions/list-projects.mjs.map +1 -1
  51. package/dist/actions/ping.cjs +1 -0
  52. package/dist/actions/ping.cjs.map +1 -1
  53. package/dist/actions/ping.d.cts +3 -1
  54. package/dist/actions/ping.d.cts.map +1 -1
  55. package/dist/actions/ping.d.mts +3 -1
  56. package/dist/actions/ping.d.mts.map +1 -1
  57. package/dist/actions/ping.mjs +1 -0
  58. package/dist/actions/ping.mjs.map +1 -1
  59. package/dist/actions/scroll.cjs +1 -0
  60. package/dist/actions/scroll.cjs.map +1 -1
  61. package/dist/actions/scroll.d.cts +3 -3
  62. package/dist/actions/scroll.d.cts.map +1 -1
  63. package/dist/actions/scroll.d.mts +3 -3
  64. package/dist/actions/scroll.d.mts.map +1 -1
  65. package/dist/actions/scroll.mjs +1 -0
  66. package/dist/actions/scroll.mjs.map +1 -1
  67. package/dist/actions/search-ips.cjs +1 -0
  68. package/dist/actions/search-ips.cjs.map +1 -1
  69. package/dist/actions/search-ips.d.cts +3 -4
  70. package/dist/actions/search-ips.d.cts.map +1 -1
  71. package/dist/actions/search-ips.d.mts +3 -4
  72. package/dist/actions/search-ips.d.mts.map +1 -1
  73. package/dist/actions/search-ips.mjs +1 -0
  74. package/dist/actions/search-ips.mjs.map +1 -1
  75. package/dist/actions/sql-api-execute-query.cjs +1 -0
  76. package/dist/actions/sql-api-execute-query.cjs.map +1 -1
  77. package/dist/actions/sql-api-execute-query.d.cts +3 -3
  78. package/dist/actions/sql-api-execute-query.d.cts.map +1 -1
  79. package/dist/actions/sql-api-execute-query.d.mts +3 -3
  80. package/dist/actions/sql-api-execute-query.d.mts.map +1 -1
  81. package/dist/actions/sql-api-execute-query.mjs +1 -0
  82. package/dist/actions/sql-api-execute-query.mjs.map +1 -1
  83. package/dist/actions/sql-api-scroll-results.cjs +1 -0
  84. package/dist/actions/sql-api-scroll-results.cjs.map +1 -1
  85. package/dist/actions/sql-api-scroll-results.d.cts +3 -3
  86. package/dist/actions/sql-api-scroll-results.d.cts.map +1 -1
  87. package/dist/actions/sql-api-scroll-results.d.mts +3 -3
  88. package/dist/actions/sql-api-scroll-results.d.mts.map +1 -1
  89. package/dist/actions/sql-api-scroll-results.mjs +1 -0
  90. package/dist/actions/sql-api-scroll-results.mjs.map +1 -1
  91. package/dist/actions/temp-scrape-securitytrails-usage.cjs +1 -0
  92. package/dist/actions/temp-scrape-securitytrails-usage.cjs.map +1 -1
  93. package/dist/actions/temp-scrape-securitytrails-usage.d.cts +3 -1
  94. package/dist/actions/temp-scrape-securitytrails-usage.d.cts.map +1 -1
  95. package/dist/actions/temp-scrape-securitytrails-usage.d.mts +3 -1
  96. package/dist/actions/temp-scrape-securitytrails-usage.d.mts.map +1 -1
  97. package/dist/actions/temp-scrape-securitytrails-usage.mjs +1 -0
  98. package/dist/actions/temp-scrape-securitytrails-usage.mjs.map +1 -1
  99. package/dist/app.cjs +5 -2
  100. package/dist/app.cjs.map +1 -1
  101. package/dist/app.d.cts +7 -1
  102. package/dist/app.d.cts.map +1 -1
  103. package/dist/app.d.mts +7 -1
  104. package/dist/app.d.mts.map +1 -1
  105. package/dist/app.mjs +3 -2
  106. package/dist/app.mjs.map +1 -1
  107. package/dist/index.d.cts +1 -1
  108. package/dist/index.d.mts +1 -1
  109. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["securitytrails","executeSecuritytrailsTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { securitytrails } from \"./app\";\nimport { executeSecuritytrailsTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return securitytrails.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSecuritytrailsTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["securitytrails","executeSecuritytrailsTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { securitytrails } from \"./app\";\nimport { executeSecuritytrailsTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof securitytrails.credential> {\n return securitytrails.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSecuritytrailsTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { securitytrails } from \"./app\";\nimport { executeSecuritytrailsTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return securitytrails.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSecuritytrailsTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { securitytrails } from \"./app\";\nimport { executeSecuritytrailsTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof securitytrails.credential> {\n return securitytrails.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSecuritytrailsTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/bulk-static-asset-rules.ts
@@ -1 +1 @@
1
- {"version":3,"file":"bulk-static-asset-rules.cjs","names":["z","action"],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsBulkStaticAssetRulesInput = z.object({\n add: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to add. Each rule must include asset, membership, and static_type\").optional(),\n remove: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to remove. Each rule must include asset, membership, and static_type\").optional(),\n project_id: z.string().describe(\"ASI project identifier\"),\n}).describe(\"Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.\");\nconst SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({\n error: z.string().describe(\"Error message if the operation failed (e.g., 'Unknown Project')\").nullable().optional(),\n status: z.boolean().describe(\"Operation status: true for success, false for failure\").nullable().optional(),\n message: z.string().describe(\"Success or informational message about the operation\").nullable().optional(),\n complete: z.boolean().describe(\"Whether the asynchronous operation completed within the 2-second window\").nullable().optional(),\n task_ids: z.array(z.string()).describe(\"List of task IDs for asynchronous operations that can be polled for completion status\").nullable().optional(),\n}).passthrough().describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput = z.object({\n body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)\").nullable(),\n}).passthrough().describe(\"Response from the bulk static asset rules endpoint.\");\n\nexport const securitytrailsBulkStaticAssetRules = action(\"SECURITYTRAILS_BULK_STATIC_ASSET_RULES\", {\n slug: \"securitytrails-bulk-static-asset-rules\",\n name: \"Bulk Static Asset Rules\",\n description: \"Bulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.\",\n input: SecuritytrailsBulkStaticAssetRulesInput,\n output: SecuritytrailsBulkStaticAssetRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACtB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtM,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,4EAA4EA,IAAAA,EAAE,OAAO;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAM,CAAC,2EAA2EA,IAAAA,EAAE,OAAO,CAAC,CAAC;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"bulk-static-asset-rules.cjs","names":["z","action"],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\n\nexport const SecuritytrailsBulkStaticAssetRulesInput = z.object({\n add: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to add. Each rule must include asset, membership, and static_type\").optional(),\n remove: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to remove. Each rule must include asset, membership, and static_type\").optional(),\n project_id: z.string().describe(\"ASI project identifier\"),\n}).describe(\"Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.\");\nconst SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({\n error: z.string().describe(\"Error message if the operation failed (e.g., 'Unknown Project')\").nullable().optional(),\n status: z.boolean().describe(\"Operation status: true for success, false for failure\").nullable().optional(),\n message: z.string().describe(\"Success or informational message about the operation\").nullable().optional(),\n complete: z.boolean().describe(\"Whether the asynchronous operation completed within the 2-second window\").nullable().optional(),\n task_ids: z.array(z.string()).describe(\"List of task IDs for asynchronous operations that can be polled for completion status\").nullable().optional(),\n}).passthrough().describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput = z.object({\n body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)\").nullable(),\n}).passthrough().describe(\"Response from the bulk static asset rules endpoint.\");\n\nexport const securitytrailsBulkStaticAssetRules: AppAction<\n typeof SecuritytrailsBulkStaticAssetRulesInput,\n typeof SecuritytrailsBulkStaticAssetRulesOutput,\n typeof securitytrails.credential\n> = action(\"SECURITYTRAILS_BULK_STATIC_ASSET_RULES\", {\n slug: \"securitytrails-bulk-static-asset-rules\",\n name: \"Bulk Static Asset Rules\",\n description: \"Bulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.\",\n input: SecuritytrailsBulkStaticAssetRulesInput,\n output: SecuritytrailsBulkStaticAssetRulesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACtB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtM,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS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src/actions/bulk-static-asset-rules.d.ts
@@ -24,21 +26,7 @@ declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodObject<{
24
26
  }, z.core.$loose>, z.ZodString]>;
25
27
  status_code: z.ZodNullable<z.ZodNumber>;
26
28
  }, z.core.$loose>;
27
- declare const securitytrailsBulkStaticAssetRules: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- project_id: string;
29
- add?: {
30
- [x: string]: unknown;
31
- asset: string;
32
- membership: string;
33
- static_type: string;
34
- }[] | undefined;
35
- remove?: {
36
- [x: string]: unknown;
37
- asset: string;
38
- membership: string;
39
- static_type: string;
40
- }[] | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const securitytrailsBulkStaticAssetRules: AppAction<typeof SecuritytrailsBulkStaticAssetRulesInput, typeof SecuritytrailsBulkStaticAssetRulesOutput, typeof securitytrails.credential>;
42
30
  //#endregion
43
31
  export { securitytrailsBulkStaticAssetRules };
44
32
  //# sourceMappingURL=bulk-static-asset-rules.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bulk-static-asset-rules.d.cts","names":[],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"bulk-static-asset-rules.d.cts","names":[],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAKxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/bulk-static-asset-rules.d.ts
@@ -24,21 +26,7 @@ declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodObject<{
24
26
  }, z.core.$loose>, z.ZodString]>;
25
27
  status_code: z.ZodNullable<z.ZodNumber>;
26
28
  }, z.core.$loose>;
27
- declare const securitytrailsBulkStaticAssetRules: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- project_id: string;
29
- add?: {
30
- [x: string]: unknown;
31
- asset: string;
32
- membership: string;
33
- static_type: string;
34
- }[] | undefined;
35
- remove?: {
36
- [x: string]: unknown;
37
- asset: string;
38
- membership: string;
39
- static_type: string;
40
- }[] | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const securitytrailsBulkStaticAssetRules: AppAction<typeof SecuritytrailsBulkStaticAssetRulesInput, typeof SecuritytrailsBulkStaticAssetRulesOutput, typeof securitytrails.credential>;
42
30
  //#endregion
43
31
  export { securitytrailsBulkStaticAssetRules };
44
32
  //# sourceMappingURL=bulk-static-asset-rules.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bulk-static-asset-rules.d.mts","names":[],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAKxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"bulk-static-asset-rules.d.mts","names":[],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAKxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/bulk-static-asset-rules.ts
@@ -1 +1 @@
1
- {"version":3,"file":"bulk-static-asset-rules.mjs","names":[],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsBulkStaticAssetRulesInput = z.object({\n add: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to add. Each rule must include asset, membership, and static_type\").optional(),\n remove: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to remove. Each rule must include asset, membership, and static_type\").optional(),\n project_id: z.string().describe(\"ASI project identifier\"),\n}).describe(\"Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.\");\nconst SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({\n error: z.string().describe(\"Error message if the operation failed (e.g., 'Unknown Project')\").nullable().optional(),\n status: z.boolean().describe(\"Operation status: true for success, false for failure\").nullable().optional(),\n message: z.string().describe(\"Success or informational message about the operation\").nullable().optional(),\n complete: z.boolean().describe(\"Whether the asynchronous operation completed within the 2-second window\").nullable().optional(),\n task_ids: z.array(z.string()).describe(\"List of task IDs for asynchronous operations that can be polled for completion status\").nullable().optional(),\n}).passthrough().describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput = z.object({\n body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)\").nullable(),\n}).passthrough().describe(\"Response from the bulk static asset rules endpoint.\");\n\nexport const securitytrailsBulkStaticAssetRules = action(\"SECURITYTRAILS_BULK_STATIC_ASSET_RULES\", {\n slug: \"securitytrails-bulk-static-asset-rules\",\n name: \"Bulk Static Asset Rules\",\n description: \"Bulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.\",\n input: SecuritytrailsBulkStaticAssetRulesInput,\n output: SecuritytrailsBulkStaticAssetRulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,KAAK,EAAE,MAAM,EAAE,OAAO;EACtB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAA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AY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"bulk-static-asset-rules.mjs","names":[],"sources":["../../src/actions/bulk-static-asset-rules.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\n\nexport const SecuritytrailsBulkStaticAssetRulesInput = z.object({\n add: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to add. Each rule must include asset, membership, and static_type\").optional(),\n remove: z.array(z.object({\n asset: z.string().describe(\"Name of the static asset - can be a domain name (e.g., example.com) or IP address (e.g., 192.168.1.1)\"),\n membership: z.string().describe(\"Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope\"),\n static_type: z.string().describe(\"DNS record type for the static asset. Common types: 'A' (IPv4 address), 'AAAA' (IPv6), 'MX' (mail exchange), 'NS' (name server), 'CNAME' (canonical name), 'TXT' (text record)\"),\n}).passthrough().describe(\"Represents a single static asset rule to add or remove.\")).describe(\"List of static asset rules to remove. Each rule must include asset, membership, and static_type\").optional(),\n project_id: z.string().describe(\"ASI project identifier\"),\n}).describe(\"Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.\");\nconst SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({\n error: z.string().describe(\"Error message if the operation failed (e.g., 'Unknown Project')\").nullable().optional(),\n status: z.boolean().describe(\"Operation status: true for success, false for failure\").nullable().optional(),\n message: z.string().describe(\"Success or informational message about the operation\").nullable().optional(),\n complete: z.boolean().describe(\"Whether the asynchronous operation completed within the 2-second window\").nullable().optional(),\n task_ids: z.array(z.string()).describe(\"List of task IDs for asynchronous operations that can be polled for completion status\").nullable().optional(),\n}).passthrough().describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput = z.object({\n body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),\n status_code: z.number().int().describe(\"HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)\").nullable(),\n}).passthrough().describe(\"Response from the bulk static asset rules endpoint.\");\n\nexport const securitytrailsBulkStaticAssetRules: AppAction<\n typeof SecuritytrailsBulkStaticAssetRulesInput,\n typeof SecuritytrailsBulkStaticAssetRulesOutput,\n typeof securitytrails.credential\n> = action(\"SECURITYTRAILS_BULK_STATIC_ASSET_RULES\", {\n slug: \"securitytrails-bulk-static-asset-rules\",\n name: \"Bulk Static Asset Rules\",\n description: \"Bulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.\",\n input: SecuritytrailsBulkStaticAssetRulesInput,\n output: SecuritytrailsBulkStaticAssetRulesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,KAAK,EAAE,MAAM,EAAE,OAAO;EACtB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS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AC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-company-associated-ips.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-company-associated-ips.cjs","names":["z","action"],"sources":["../../src/actions/get-company-associated-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({\n domain: z.string().describe(\"Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.\"),\n}).describe(\"Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\nconst SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({\n cidr: z.string().describe(\"IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')\").nullable(),\n}).passthrough().describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n query: z.string().describe(\"The original query domain\").nullable(),\n redir: z.string().describe(\"Redirect information if domain was redirected\").nullable().optional(),\n domain: z.string().describe(\"The company domain (null if not found)\").nullable().optional(),\n records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe(\"List of IP address records in CIDR notation\").nullable().optional(),\n endpoint: z.string().describe(\"The API endpoint that was queried\").nullable(),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\").nullable(),\n record_count: z.number().int().describe(\"Total number of associated IP records found\").nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\n\nexport const securitytrailsGetCompanyAssociatedIps = action(\"SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS\", {\n slug: \"securitytrails-get-company-associated-ips\",\n name: \"Get Company Associated IPs\",\n description: \"Tool to retrieve IPs associated with a company domain. Use when you need to find all IP addresses linked to an organization's domain name.\",\n input: SecuritytrailsGetCompanyAssociatedIpsInput,\n output: SecuritytrailsGetCompanyAssociatedIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-company-associated-ips.cjs","names":["z","action"],"sources":["../../src/actions/get-company-associated-ips.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\n\nexport const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({\n domain: z.string().describe(\"Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.\"),\n}).describe(\"Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\nconst SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({\n cidr: z.string().describe(\"IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')\").nullable(),\n}).passthrough().describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n query: z.string().describe(\"The original query domain\").nullable(),\n redir: z.string().describe(\"Redirect information if domain was redirected\").nullable().optional(),\n domain: z.string().describe(\"The company domain (null if not found)\").nullable().optional(),\n records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe(\"List of IP address records in CIDR notation\").nullable().optional(),\n endpoint: z.string().describe(\"The API endpoint that was queried\").nullable(),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\").nullable(),\n record_count: z.number().int().describe(\"Total number of associated IP records found\").nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\n\nexport const securitytrailsGetCompanyAssociatedIps: AppAction<\n typeof SecuritytrailsGetCompanyAssociatedIpsInput,\n typeof SecuritytrailsGetCompanyAssociatedIpsOutput,\n typeof securitytrails.credential\n> = action(\"SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS\", {\n slug: \"securitytrails-get-company-associated-ips\",\n name: \"Get Company Associated IPs\",\n description: \"Tool to retrieve IPs associated with a company domain. Use when you need to find all IP addresses linked to an organization's domain name.\",\n input: SecuritytrailsGetCompanyAssociatedIpsInput,\n output: SecuritytrailsGetCompanyAssociatedIpsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,wCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-company-associated-ips.d.ts
@@ -16,9 +18,7 @@ declare const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodObject<{
16
18
  page_size: z.ZodNullable<z.ZodNumber>;
17
19
  record_count: z.ZodNullable<z.ZodNumber>;
18
20
  }, z.core.$loose>;
19
- declare const securitytrailsGetCompanyAssociatedIps: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- domain: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const securitytrailsGetCompanyAssociatedIps: AppAction<typeof SecuritytrailsGetCompanyAssociatedIpsInput, typeof SecuritytrailsGetCompanyAssociatedIpsOutput, typeof securitytrails.credential>;
22
22
  //#endregion
23
23
  export { securitytrailsGetCompanyAssociatedIps };
24
24
  //# sourceMappingURL=get-company-associated-ips.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-company-associated-ips.d.cts","names":[],"sources":["../../src/actions/get-company-associated-ips.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAM1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAW3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"get-company-associated-ips.d.cts","names":[],"sources":["../../src/actions/get-company-associated-ips.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAM1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAW3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-company-associated-ips.d.ts
@@ -16,9 +18,7 @@ declare const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodObject<{
16
18
  page_size: z.ZodNullable<z.ZodNumber>;
17
19
  record_count: z.ZodNullable<z.ZodNumber>;
18
20
  }, z.core.$loose>;
19
- declare const securitytrailsGetCompanyAssociatedIps: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- domain: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const securitytrailsGetCompanyAssociatedIps: AppAction<typeof SecuritytrailsGetCompanyAssociatedIpsInput, typeof SecuritytrailsGetCompanyAssociatedIpsOutput, typeof securitytrails.credential>;
22
22
  //#endregion
23
23
  export { securitytrailsGetCompanyAssociatedIps };
24
24
  //# sourceMappingURL=get-company-associated-ips.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-company-associated-ips.d.mts","names":[],"sources":["../../src/actions/get-company-associated-ips.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAM1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAW3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"get-company-associated-ips.d.mts","names":[],"sources":["../../src/actions/get-company-associated-ips.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAM1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAW3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-company-associated-ips.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-company-associated-ips.mjs","names":[],"sources":["../../src/actions/get-company-associated-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({\n domain: z.string().describe(\"Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.\"),\n}).describe(\"Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\nconst SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({\n cidr: z.string().describe(\"IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')\").nullable(),\n}).passthrough().describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n query: z.string().describe(\"The original query domain\").nullable(),\n redir: z.string().describe(\"Redirect information if domain was redirected\").nullable().optional(),\n domain: z.string().describe(\"The company domain (null if not found)\").nullable().optional(),\n records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe(\"List of IP address records in CIDR notation\").nullable().optional(),\n endpoint: z.string().describe(\"The API endpoint that was queried\").nullable(),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\").nullable(),\n record_count: z.number().int().describe(\"Total number of associated IP records found\").nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\n\nexport const securitytrailsGetCompanyAssociatedIps = action(\"SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS\", {\n slug: \"securitytrails-get-company-associated-ips\",\n name: \"Get Company Associated IPs\",\n description: \"Tool to retrieve IPs associated with a company domain. Use when you need to find all IP addresses linked to an organization's domain name.\",\n input: SecuritytrailsGetCompanyAssociatedIpsInput,\n output: SecuritytrailsGetCompanyAssociatedIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuD,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAY1E,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-company-associated-ips.mjs","names":[],"sources":["../../src/actions/get-company-associated-ips.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\n\nexport const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({\n domain: z.string().describe(\"Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.\"),\n}).describe(\"Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\nconst SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({\n cidr: z.string().describe(\"IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')\").nullable(),\n}).passthrough().describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\").nullable(),\n query: z.string().describe(\"The original query domain\").nullable(),\n redir: z.string().describe(\"Redirect information if domain was redirected\").nullable().optional(),\n domain: z.string().describe(\"The company domain (null if not found)\").nullable().optional(),\n records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe(\"List of IP address records in CIDR notation\").nullable().optional(),\n endpoint: z.string().describe(\"The API endpoint that was queried\").nullable(),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\").nullable(),\n record_count: z.number().int().describe(\"Total number of associated IP records found\").nullable(),\n}).passthrough().describe(\"Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.\");\n\nexport const securitytrailsGetCompanyAssociatedIps: AppAction<\n typeof SecuritytrailsGetCompanyAssociatedIpsInput,\n typeof SecuritytrailsGetCompanyAssociatedIpsOutput,\n typeof securitytrails.credential\n> = action(\"SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS\", {\n slug: \"securitytrails-get-company-associated-ips\",\n name: \"Get Company Associated IPs\",\n description: \"Tool to retrieve IPs associated with a company domain. Use when you need to find all IP addresses linked to an organization's domain name.\",\n input: SecuritytrailsGetCompanyAssociatedIpsInput,\n output: SecuritytrailsGetCompanyAssociatedIpsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAuD,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAY1E,MAAa,wCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-domain-ssl.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-domain-ssl.cjs","names":["z","action"],"sources":["../../src/actions/get-domain-ssl.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainSslInput = z.object({\n hostname: z.string().describe(\"The domain or subdomain to query for SSL certificate information. Must be a bare domain or subdomain without URL scheme or path — omit `https://`, trailing slashes, and path segments.\"),\n}).describe(\"Request model for fetching SSL certificate data for a hostname.\");\nexport const SecuritytrailsGetDomainSslOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails containing certificate details.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Response containing SSL certificate information or error details for the requested hostname.\");\n\nexport const securitytrailsGetDomainSsl = action(\"SECURITYTRAILS_GET_DOMAIN_SSL\", {\n slug: \"securitytrails-get-domain-ssl\",\n name: \"Get Domain SSL\",\n description: \"Tool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.\",\n input: SecuritytrailsGetDomainSslInput,\n output: SecuritytrailsGetDomainSslOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAExH,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-domain-ssl.cjs","names":["z","action"],"sources":["../../src/actions/get-domain-ssl.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\n\nexport const SecuritytrailsGetDomainSslInput = z.object({\n hostname: z.string().describe(\"The domain or subdomain to query for SSL certificate information. Must be a bare domain or subdomain without URL scheme or path — omit `https://`, trailing slashes, and path segments.\"),\n}).describe(\"Request model for fetching SSL certificate data for a hostname.\");\nexport const SecuritytrailsGetDomainSslOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails containing certificate details.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Response containing SSL certificate information or error details for the requested hostname.\");\n\nexport const securitytrailsGetDomainSsl: AppAction<\n typeof SecuritytrailsGetDomainSslInput,\n typeof SecuritytrailsGetDomainSslOutput,\n typeof securitytrails.credential\n> = action(\"SECURITYTRAILS_GET_DOMAIN_SSL\", {\n slug: \"securitytrails-get-domain-ssl\",\n name: \"Get Domain SSL\",\n description: \"Tool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.\",\n input: SecuritytrailsGetDomainSslInput,\n output: SecuritytrailsGetDomainSslOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAExH,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-domain-ssl.d.ts
@@ -9,9 +11,7 @@ declare const SecuritytrailsGetDomainSslOutput: z.ZodObject<{
9
11
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  status_code: z.ZodNullable<z.ZodNumber>;
11
13
  }, z.core.$loose>;
12
- declare const securitytrailsGetDomainSsl: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- hostname: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const securitytrailsGetDomainSsl: AppAction<typeof SecuritytrailsGetDomainSslInput, typeof SecuritytrailsGetDomainSslOutput, typeof securitytrails.credential>;
15
15
  //#endregion
16
16
  export { securitytrailsGetDomainSsl };
17
17
  //# sourceMappingURL=get-domain-ssl.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-domain-ssl.d.cts","names":[],"sources":["../../src/actions/get-domain-ssl.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-domain-ssl.d.cts","names":[],"sources":["../../src/actions/get-domain-ssl.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-domain-ssl.d.ts
@@ -9,9 +11,7 @@ declare const SecuritytrailsGetDomainSslOutput: z.ZodObject<{
9
11
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  status_code: z.ZodNullable<z.ZodNumber>;
11
13
  }, z.core.$loose>;
12
- declare const securitytrailsGetDomainSsl: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- hostname: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const securitytrailsGetDomainSsl: AppAction<typeof SecuritytrailsGetDomainSslInput, typeof SecuritytrailsGetDomainSslOutput, typeof securitytrails.credential>;
15
15
  //#endregion
16
16
  export { securitytrailsGetDomainSsl };
17
17
  //# sourceMappingURL=get-domain-ssl.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-domain-ssl.d.mts","names":[],"sources":["../../src/actions/get-domain-ssl.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-domain-ssl.d.mts","names":[],"sources":["../../src/actions/get-domain-ssl.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const securitytrailsGetDomainSsl = action("SECURITYTRAILS_GET_DOMAIN_SSL", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-domain-ssl.mjs","names":[],"sources":["../../src/actions/get-domain-ssl.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SecuritytrailsGetDomainSslInput = z.object({\n hostname: z.string().describe(\"The domain or subdomain to query for SSL certificate information. Must be a bare domain or subdomain without URL scheme or path — omit `https://`, trailing slashes, and path segments.\"),\n}).describe(\"Request model for fetching SSL certificate data for a hostname.\");\nexport const SecuritytrailsGetDomainSslOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails containing certificate details.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Response containing SSL certificate information or error details for the requested hostname.\");\n\nexport const securitytrailsGetDomainSsl = action(\"SECURITYTRAILS_GET_DOMAIN_SSL\", {\n slug: \"securitytrails-get-domain-ssl\",\n name: \"Get Domain SSL\",\n description: \"Tool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.\",\n input: SecuritytrailsGetDomainSslInput,\n output: SecuritytrailsGetDomainSslOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAX8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-domain-ssl.mjs","names":[],"sources":["../../src/actions/get-domain-ssl.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\n\nexport const SecuritytrailsGetDomainSslInput = z.object({\n hostname: z.string().describe(\"The domain or subdomain to query for SSL certificate information. Must be a bare domain or subdomain without URL scheme or path — omit `https://`, trailing slashes, and path segments.\"),\n}).describe(\"Request model for fetching SSL certificate data for a hostname.\");\nexport const SecuritytrailsGetDomainSslOutput = z.object({\n raw: z.record(z.string(), z.unknown()).describe(\"Complete JSON payload returned by SecurityTrails containing certificate details.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Response containing SSL certificate information or error details for the requested hostname.\");\n\nexport const securitytrailsGetDomainSsl: AppAction<\n typeof SecuritytrailsGetDomainSslInput,\n typeof SecuritytrailsGetDomainSslOutput,\n typeof securitytrails.credential\n> = action(\"SECURITYTRAILS_GET_DOMAIN_SSL\", {\n slug: \"securitytrails-get-domain-ssl\",\n name: \"Get Domain SSL\",\n description: \"Tool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.\",\n input: SecuritytrailsGetDomainSslInput,\n output: SecuritytrailsGetDomainSslOutput,\n});\n"],"mappings":";;;AAeA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAeH;CACP,QAf8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-domain.ts
@@ -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.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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OA,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
+ {"version":3,"file":"get-domain.cjs","names":["z","action"],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsGetDomainInput,\n typeof SecuritytrailsGetDomainOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC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AC,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,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-domain.d.ts
@@ -40,9 +42,7 @@ declare const SecuritytrailsGetDomainOutput: z.ZodObject<{
40
42
  subdomain_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
43
  }, z.core.$loose>>;
42
44
  }, 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]>;
45
+ declare const securitytrailsGetDomain: AppAction<typeof SecuritytrailsGetDomainInput, typeof SecuritytrailsGetDomainOutput, typeof securitytrails.credential>;
46
46
  //#endregion
47
47
  export { securitytrailsGetDomain };
48
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,EAA4B,CAAA,CAAA,SAAA;;;cAuB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-domain.d.cts","names":[],"sources":["../../src/actions/get-domain.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAuB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-domain.d.ts
@@ -40,9 +42,7 @@ declare const SecuritytrailsGetDomainOutput: z.ZodObject<{
40
42
  subdomain_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
43
  }, z.core.$loose>>;
42
44
  }, 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]>;
45
+ declare const securitytrailsGetDomain: AppAction<typeof SecuritytrailsGetDomainInput, typeof SecuritytrailsGetDomainOutput, typeof securitytrails.credential>;
46
46
  //#endregion
47
47
  export { securitytrailsGetDomain };
48
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,EAA4B,CAAA,CAAA,SAAA;;;cAuB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-domain.d.mts","names":[],"sources":["../../src/actions/get-domain.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAuB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-domain.ts
@@ -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.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,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AAC,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"}
1
+ {"version":3,"file":"get-domain.mjs","names":[],"sources":["../../src/actions/get-domain.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsGetDomainInput,\n typeof SecuritytrailsGetDomainOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA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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,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,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,8RAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/ip-search-statistics.ts
@@ -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.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
+ {"version":3,"file":"ip-search-statistics.cjs","names":["z","action"],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsIpSearchStatisticsInput,\n typeof SecuritytrailsIpSearchStatisticsOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,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,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/ip-search-statistics.d.ts
@@ -19,9 +21,7 @@ declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
19
21
  count: z.ZodNullable<z.ZodNumber>;
20
22
  }, z.core.$loose>>>>;
21
23
  }, 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]>;
24
+ declare const securitytrailsIpSearchStatistics: AppAction<typeof SecuritytrailsIpSearchStatisticsInput, typeof SecuritytrailsIpSearchStatisticsOutput, typeof securitytrails.credential>;
25
25
  //#endregion
26
26
  export { securitytrailsIpSearchStatistics };
27
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,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"ip-search-statistics.d.cts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { securitytrails } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/ip-search-statistics.d.ts
@@ -19,9 +21,7 @@ declare const SecuritytrailsIpSearchStatisticsOutput: z.ZodObject<{
19
21
  count: z.ZodNullable<z.ZodNumber>;
20
22
  }, z.core.$loose>>>>;
21
23
  }, 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]>;
24
+ declare const securitytrailsIpSearchStatistics: AppAction<typeof SecuritytrailsIpSearchStatisticsInput, typeof SecuritytrailsIpSearchStatisticsOutput, typeof securitytrails.credential>;
25
25
  //#endregion
26
26
  export { securitytrailsIpSearchStatistics };
27
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,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"ip-search-statistics.d.mts","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAerC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/ip-search-statistics.ts
@@ -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.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"}
1
+ {"version":3,"file":"ip-search-statistics.mjs","names":[],"sources":["../../src/actions/ip-search-statistics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { securitytrails } from \"../app\";\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: AppAction<\n typeof SecuritytrailsIpSearchStatisticsInput,\n typeof SecuritytrailsIpSearchStatisticsOutput,\n typeof securitytrails.credential\n> = 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":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,EAC9P,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,uDA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js");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-projects.ts