@keystrokehq/securitytrails 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/bulk-static-asset-rules.cjs +5 -5
  4. package/dist/actions/bulk-static-asset-rules.cjs.map +1 -1
  5. package/dist/actions/bulk-static-asset-rules.d.cts +38 -3
  6. package/dist/actions/bulk-static-asset-rules.d.cts.map +1 -1
  7. package/dist/actions/bulk-static-asset-rules.d.mts +38 -3
  8. package/dist/actions/bulk-static-asset-rules.d.mts.map +1 -1
  9. package/dist/actions/bulk-static-asset-rules.mjs +5 -5
  10. package/dist/actions/bulk-static-asset-rules.mjs.map +1 -1
  11. package/dist/actions/get-company-associated-ips.cjs +7 -7
  12. package/dist/actions/get-company-associated-ips.cjs.map +1 -1
  13. package/dist/actions/get-company-associated-ips.d.cts +18 -3
  14. package/dist/actions/get-company-associated-ips.d.cts.map +1 -1
  15. package/dist/actions/get-company-associated-ips.d.mts +18 -3
  16. package/dist/actions/get-company-associated-ips.d.mts.map +1 -1
  17. package/dist/actions/get-company-associated-ips.mjs +7 -7
  18. package/dist/actions/get-company-associated-ips.mjs.map +1 -1
  19. package/dist/actions/get-domain-ssl.cjs +2 -2
  20. package/dist/actions/get-domain-ssl.cjs.map +1 -1
  21. package/dist/actions/get-domain-ssl.d.cts +11 -3
  22. package/dist/actions/get-domain-ssl.d.cts.map +1 -1
  23. package/dist/actions/get-domain-ssl.d.mts +11 -3
  24. package/dist/actions/get-domain-ssl.d.mts.map +1 -1
  25. package/dist/actions/get-domain-ssl.mjs +2 -2
  26. package/dist/actions/get-domain-ssl.mjs.map +1 -1
  27. package/dist/actions/get-domain.cjs +6 -6
  28. package/dist/actions/get-domain.cjs.map +1 -1
  29. package/dist/actions/get-domain.d.cts +42 -3
  30. package/dist/actions/get-domain.d.cts.map +1 -1
  31. package/dist/actions/get-domain.d.mts +42 -3
  32. package/dist/actions/get-domain.d.mts.map +1 -1
  33. package/dist/actions/get-domain.mjs +6 -6
  34. package/dist/actions/get-domain.mjs.map +1 -1
  35. package/dist/actions/ip-search-statistics.cjs +11 -11
  36. package/dist/actions/ip-search-statistics.cjs.map +1 -1
  37. package/dist/actions/ip-search-statistics.d.cts +21 -3
  38. package/dist/actions/ip-search-statistics.d.cts.map +1 -1
  39. package/dist/actions/ip-search-statistics.d.mts +21 -3
  40. package/dist/actions/ip-search-statistics.d.mts.map +1 -1
  41. package/dist/actions/ip-search-statistics.mjs +11 -11
  42. package/dist/actions/ip-search-statistics.mjs.map +1 -1
  43. package/dist/actions/list-projects.cjs +1 -1
  44. package/dist/actions/list-projects.cjs.map +1 -1
  45. package/dist/actions/list-projects.d.cts +5 -3
  46. package/dist/actions/list-projects.d.cts.map +1 -1
  47. package/dist/actions/list-projects.d.mts +5 -3
  48. package/dist/actions/list-projects.d.mts.map +1 -1
  49. package/dist/actions/list-projects.mjs +1 -1
  50. package/dist/actions/list-projects.mjs.map +1 -1
  51. package/dist/actions/ping.cjs +3 -3
  52. package/dist/actions/ping.cjs.map +1 -1
  53. package/dist/actions/ping.d.cts +7 -3
  54. package/dist/actions/ping.d.cts.map +1 -1
  55. package/dist/actions/ping.d.mts +7 -3
  56. package/dist/actions/ping.d.mts.map +1 -1
  57. package/dist/actions/ping.mjs +3 -3
  58. package/dist/actions/ping.mjs.map +1 -1
  59. package/dist/actions/scroll.cjs +2 -2
  60. package/dist/actions/scroll.cjs.map +1 -1
  61. package/dist/actions/scroll.d.cts +10 -3
  62. package/dist/actions/scroll.d.cts.map +1 -1
  63. package/dist/actions/scroll.d.mts +10 -3
  64. package/dist/actions/scroll.d.mts.map +1 -1
  65. package/dist/actions/scroll.mjs +2 -2
  66. package/dist/actions/scroll.mjs.map +1 -1
  67. package/dist/actions/search-ips.cjs +1 -1
  68. package/dist/actions/search-ips.cjs.map +1 -1
  69. package/dist/actions/search-ips.d.cts +11 -3
  70. package/dist/actions/search-ips.d.cts.map +1 -1
  71. package/dist/actions/search-ips.d.mts +11 -3
  72. package/dist/actions/search-ips.d.mts.map +1 -1
  73. package/dist/actions/search-ips.mjs +1 -1
  74. package/dist/actions/search-ips.mjs.map +1 -1
  75. package/dist/actions/sql-api-execute-query.cjs +4 -4
  76. package/dist/actions/sql-api-execute-query.cjs.map +1 -1
  77. package/dist/actions/sql-api-execute-query.d.cts +19 -3
  78. package/dist/actions/sql-api-execute-query.d.cts.map +1 -1
  79. package/dist/actions/sql-api-execute-query.d.mts +19 -3
  80. package/dist/actions/sql-api-execute-query.d.mts.map +1 -1
  81. package/dist/actions/sql-api-execute-query.mjs +4 -4
  82. package/dist/actions/sql-api-execute-query.mjs.map +1 -1
  83. package/dist/actions/sql-api-scroll-results.cjs.map +1 -1
  84. package/dist/actions/sql-api-scroll-results.d.cts +9 -3
  85. package/dist/actions/sql-api-scroll-results.d.cts.map +1 -1
  86. package/dist/actions/sql-api-scroll-results.d.mts +9 -3
  87. package/dist/actions/sql-api-scroll-results.d.mts.map +1 -1
  88. package/dist/actions/sql-api-scroll-results.mjs.map +1 -1
  89. package/dist/actions/temp-scrape-securitytrails-usage.cjs +1 -1
  90. package/dist/actions/temp-scrape-securitytrails-usage.cjs.map +1 -1
  91. package/dist/actions/temp-scrape-securitytrails-usage.d.cts +5 -3
  92. package/dist/actions/temp-scrape-securitytrails-usage.d.cts.map +1 -1
  93. package/dist/actions/temp-scrape-securitytrails-usage.d.mts +5 -3
  94. package/dist/actions/temp-scrape-securitytrails-usage.d.mts.map +1 -1
  95. package/dist/actions/temp-scrape-securitytrails-usage.mjs +1 -1
  96. package/dist/actions/temp-scrape-securitytrails-usage.mjs.map +1 -1
  97. package/dist/catalog.cjs +7 -1
  98. package/dist/catalog.cjs.map +1 -1
  99. package/dist/catalog.d.cts +8 -0
  100. package/dist/catalog.d.mts +8 -0
  101. package/dist/catalog.mjs +7 -1
  102. package/dist/catalog.mjs.map +1 -1
  103. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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 +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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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"}
@@ -6,12 +6,12 @@ const SecuritytrailsBulkStaticAssetRulesInput = zod.z.object({
6
6
  asset: zod.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)"),
7
7
  membership: zod.z.string().describe("Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope"),
8
8
  static_type: zod.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)")
9
- }).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(),
9
+ }).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(),
10
10
  remove: zod.z.array(zod.z.object({
11
11
  asset: zod.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)"),
12
12
  membership: zod.z.string().describe("Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope"),
13
13
  static_type: zod.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)")
14
- }).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(),
14
+ }).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(),
15
15
  project_id: zod.z.string().describe("ASI project identifier")
16
16
  }).describe("Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.");
17
17
  const SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = zod.z.object({
@@ -20,11 +20,11 @@ const SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema
20
20
  message: zod.z.string().describe("Success or informational message about the operation").nullable().optional(),
21
21
  complete: zod.z.boolean().describe("Whether the asynchronous operation completed within the 2-second window").nullable().optional(),
22
22
  task_ids: zod.z.array(zod.z.string()).describe("List of task IDs for asynchronous operations that can be polled for completion status").nullable().optional()
23
- }).describe("Structured response body from the API.");
23
+ }).passthrough().describe("Structured response body from the API.");
24
24
  const SecuritytrailsBulkStaticAssetRulesOutput = zod.z.object({
25
25
  body: zod.z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, zod.z.string()]),
26
- status_code: zod.z.number().int().describe("HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)")
27
- }).describe("Response from the bulk static asset rules endpoint.");
26
+ status_code: zod.z.number().int().describe("HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)").nullable()
27
+ }).passthrough().describe("Response from the bulk static asset rules endpoint.");
28
28
  const securitytrailsBulkStaticAssetRules = require_action.action("SECURITYTRAILS_BULK_STATIC_ASSET_RULES", {
29
29
  slug: "securitytrails-bulk-static-asset-rules",
30
30
  name: "Bulk Static Asset Rules",
@@ -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.ZodTypeAny = 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}).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}).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.ZodTypeAny = 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}).describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodTypeAny = 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.)\"),\n}).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,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,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,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACxL,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,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC3L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,4EAA0FA,IAAAA,EAAE,OAAO;CACvG,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,SAAS,wCAAwC;AACpD,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,MAAM,CAAC,2EAA2EA,IAAAA,EAAE,OAAO,CAAC,CAAC;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF;AAChI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,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 { 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,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/bulk-static-asset-rules.d.ts
4
- declare const SecuritytrailsBulkStaticAssetRulesInput: z.ZodTypeAny;
5
- declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodTypeAny;
6
- declare const securitytrailsBulkStaticAssetRules: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsBulkStaticAssetRulesInput: z.ZodObject<{
5
+ add: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ asset: z.ZodString;
7
+ membership: z.ZodString;
8
+ static_type: z.ZodString;
9
+ }, z.core.$loose>>>;
10
+ remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ asset: z.ZodString;
12
+ membership: z.ZodString;
13
+ static_type: z.ZodString;
14
+ }, z.core.$loose>>>;
15
+ project_id: z.ZodString;
16
+ }, z.core.$strip>;
17
+ declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodObject<{
18
+ body: z.ZodUnion<readonly [z.ZodObject<{
19
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ status: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ task_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ }, z.core.$loose>, z.ZodString]>;
25
+ status_code: z.ZodNullable<z.ZodNumber>;
26
+ }, 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]>;
7
42
  //#endregion
8
43
  export { securitytrailsBulkStaticAssetRules };
9
44
  //# 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,EAAyC,CAAA,CAAE,UAYgB;AAAA,cAQ3D,wCAAA,EAA0C,CAAA,CAAE,UAGS;AAAA,cAErD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/bulk-static-asset-rules.d.ts
4
- declare const SecuritytrailsBulkStaticAssetRulesInput: z.ZodTypeAny;
5
- declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodTypeAny;
6
- declare const securitytrailsBulkStaticAssetRules: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsBulkStaticAssetRulesInput: z.ZodObject<{
5
+ add: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ asset: z.ZodString;
7
+ membership: z.ZodString;
8
+ static_type: z.ZodString;
9
+ }, z.core.$loose>>>;
10
+ remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ asset: z.ZodString;
12
+ membership: z.ZodString;
13
+ static_type: z.ZodString;
14
+ }, z.core.$loose>>>;
15
+ project_id: z.ZodString;
16
+ }, z.core.$strip>;
17
+ declare const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodObject<{
18
+ body: z.ZodUnion<readonly [z.ZodObject<{
19
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ status: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ complete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ task_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ }, z.core.$loose>, z.ZodString]>;
25
+ status_code: z.ZodNullable<z.ZodNumber>;
26
+ }, 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]>;
7
42
  //#endregion
8
43
  export { securitytrailsBulkStaticAssetRules };
9
44
  //# 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,EAAyC,CAAA,CAAE,UAYgB;AAAA,cAQ3D,wCAAA,EAA0C,CAAA,CAAE,UAGS;AAAA,cAErD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,12 +6,12 @@ const SecuritytrailsBulkStaticAssetRulesInput = z.object({
6
6
  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)"),
7
7
  membership: z.string().describe("Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope"),
8
8
  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)")
9
- }).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(),
9
+ }).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(),
10
10
  remove: z.array(z.object({
11
11
  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)"),
12
12
  membership: z.string().describe("Membership type for the rule: 'include' to add asset to monitoring scope, 'exclude' to remove from monitoring scope"),
13
13
  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)")
14
- }).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(),
14
+ }).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(),
15
15
  project_id: z.string().describe("ASI project identifier")
16
16
  }).describe("Request model for SECURITYTRAILS_BULK_STATIC_ASSET_RULES.");
17
17
  const SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema = z.object({
@@ -20,7 +20,7 @@ const SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema
20
20
  message: z.string().describe("Success or informational message about the operation").nullable().optional(),
21
21
  complete: z.boolean().describe("Whether the asynchronous operation completed within the 2-second window").nullable().optional(),
22
22
  task_ids: z.array(z.string()).describe("List of task IDs for asynchronous operations that can be polled for completion status").nullable().optional()
23
- }).describe("Structured response body from the API.");
23
+ }).passthrough().describe("Structured response body from the API.");
24
24
  const securitytrailsBulkStaticAssetRules = action("SECURITYTRAILS_BULK_STATIC_ASSET_RULES", {
25
25
  slug: "securitytrails-bulk-static-asset-rules",
26
26
  name: "Bulk Static Asset Rules",
@@ -28,8 +28,8 @@ const securitytrailsBulkStaticAssetRules = action("SECURITYTRAILS_BULK_STATIC_AS
28
28
  input: SecuritytrailsBulkStaticAssetRulesInput,
29
29
  output: z.object({
30
30
  body: z.union([SecuritytrailsBulkStaticAssetRules_BulkStaticAssetRulesResponseBodySchema, z.string()]),
31
- status_code: z.number().int().describe("HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)")
32
- }).describe("Response from the bulk static asset rules endpoint.")
31
+ status_code: z.number().int().describe("HTTP status code returned by the API (200 for success, 404 for unknown project, etc.)").nullable()
32
+ }).passthrough().describe("Response from the bulk static asset rules endpoint.")
33
33
  });
34
34
  //#endregion
35
35
  export { securitytrailsBulkStaticAssetRules };
@@ -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.ZodTypeAny = 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}).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}).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.ZodTypeAny = 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}).describe(\"Structured response body from the API.\");\nexport const SecuritytrailsBulkStaticAssetRulesOutput: z.ZodTypeAny = 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.)\"),\n}).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,0CAAwD,EAAE,OAAO;CAC5E,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,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACxL,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,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,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC3L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,4EAA0F,EAAE,OAAO;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoE,EAAE,OAAO;EAC7E,MAAM,EAAE,MAAM,CAAC,2EAA2E,EAAE,OAAO,CAAC,CAAC;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF;CAChI,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
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,CAAC,CAAC,SAAS;CACtM,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,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,iGAAiG,CAAC,CAAC,SAAS;CACzM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,4EAA4E,EAAE,OAAO;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,CAAC,2EAA2E,EAAE,OAAO,CAAC,CAAC;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -2,17 +2,17 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-company-associated-ips.ts
4
4
  const SecuritytrailsGetCompanyAssociatedIpsInput = zod.z.object({ domain: zod.z.string().describe("Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.") }).describe("Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.");
5
- const SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = zod.z.object({ cidr: zod.z.string().describe("IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')") }).describe("Individual IP record containing CIDR notation.");
5
+ const SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = zod.z.object({ cidr: zod.z.string().describe("IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')").nullable() }).passthrough().describe("Individual IP record containing CIDR notation.");
6
6
  const SecuritytrailsGetCompanyAssociatedIpsOutput = zod.z.object({
7
- page: zod.z.number().int().describe("Current page number (1-indexed)"),
8
- query: zod.z.string().describe("The original query domain"),
7
+ page: zod.z.number().int().describe("Current page number (1-indexed)").nullable(),
8
+ query: zod.z.string().describe("The original query domain").nullable(),
9
9
  redir: zod.z.string().describe("Redirect information if domain was redirected").nullable().optional(),
10
10
  domain: zod.z.string().describe("The company domain (null if not found)").nullable().optional(),
11
11
  records: zod.z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe("List of IP address records in CIDR notation").nullable().optional(),
12
- endpoint: zod.z.string().describe("The API endpoint that was queried"),
13
- page_size: zod.z.number().int().describe("Number of records per page (default: 100)"),
14
- record_count: zod.z.number().int().describe("Total number of associated IP records found")
15
- }).describe("Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.");
12
+ endpoint: zod.z.string().describe("The API endpoint that was queried").nullable(),
13
+ page_size: zod.z.number().int().describe("Number of records per page (default: 100)").nullable(),
14
+ record_count: zod.z.number().int().describe("Total number of associated IP records found").nullable()
15
+ }).passthrough().describe("Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.");
16
16
  const securitytrailsGetCompanyAssociatedIps = require_action.action("SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS", {
17
17
  slug: "securitytrails-get-company-associated-ips",
18
18
  name: "Get Company Associated IPs",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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')\"),\n}).describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\"),\n query: z.string().describe(\"The original query domain\"),\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\"),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\"),\n record_count: z.number().int().describe(\"Total number of associated IP records found\"),\n}).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,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAqEA,IAAAA,EAAE,OAAO,EAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EACxG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,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;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACvF,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,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 { 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,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-company-associated-ips.d.ts
4
- declare const SecuritytrailsGetCompanyAssociatedIpsInput: z.ZodTypeAny;
5
- declare const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodTypeAny;
6
- declare const securitytrailsGetCompanyAssociatedIps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsGetCompanyAssociatedIpsInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodObject<{
8
+ page: z.ZodNullable<z.ZodNumber>;
9
+ query: z.ZodNullable<z.ZodString>;
10
+ redir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ cidr: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>>>>;
15
+ endpoint: z.ZodNullable<z.ZodString>;
16
+ page_size: z.ZodNullable<z.ZodNumber>;
17
+ record_count: z.ZodNullable<z.ZodNumber>;
18
+ }, 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]>;
7
22
  //#endregion
8
23
  export { securitytrailsGetCompanyAssociatedIps };
9
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,EAA4C,CAAA,CAAE,UAEmB;AAAA,cAIjE,2CAAA,EAA6C,CAAA,CAAE,UASoB;AAAA,cAEnE,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-company-associated-ips.d.ts
4
- declare const SecuritytrailsGetCompanyAssociatedIpsInput: z.ZodTypeAny;
5
- declare const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodTypeAny;
6
- declare const securitytrailsGetCompanyAssociatedIps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsGetCompanyAssociatedIpsInput: z.ZodObject<{
5
+ domain: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodObject<{
8
+ page: z.ZodNullable<z.ZodNumber>;
9
+ query: z.ZodNullable<z.ZodString>;
10
+ redir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ cidr: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>>>>;
15
+ endpoint: z.ZodNullable<z.ZodString>;
16
+ page_size: z.ZodNullable<z.ZodNumber>;
17
+ record_count: z.ZodNullable<z.ZodNumber>;
18
+ }, 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]>;
7
22
  //#endregion
8
23
  export { securitytrailsGetCompanyAssociatedIps };
9
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,EAA4C,CAAA,CAAE,UAEmB;AAAA,cAIjE,2CAAA,EAA6C,CAAA,CAAE,UASoB;AAAA,cAEnE,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -2,22 +2,22 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-company-associated-ips.ts
4
4
  const SecuritytrailsGetCompanyAssociatedIpsInput = z.object({ domain: z.string().describe("Company domain to retrieve associated IP addresses for. Omit protocol (e.g., 'https://') and any trailing slash.") }).describe("Request model for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.");
5
- const SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({ cidr: z.string().describe("IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')") }).describe("Individual IP record containing CIDR notation.");
5
+ const SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema = z.object({ cidr: z.string().describe("IP address or range in CIDR notation (e.g., '8.8.4.0/24' or '12.18.196.9')").nullable() }).passthrough().describe("Individual IP record containing CIDR notation.");
6
6
  const securitytrailsGetCompanyAssociatedIps = action("SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPS", {
7
7
  slug: "securitytrails-get-company-associated-ips",
8
8
  name: "Get Company Associated IPs",
9
9
  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.",
10
10
  input: SecuritytrailsGetCompanyAssociatedIpsInput,
11
11
  output: z.object({
12
- page: z.number().int().describe("Current page number (1-indexed)"),
13
- query: z.string().describe("The original query domain"),
12
+ page: z.number().int().describe("Current page number (1-indexed)").nullable(),
13
+ query: z.string().describe("The original query domain").nullable(),
14
14
  redir: z.string().describe("Redirect information if domain was redirected").nullable().optional(),
15
15
  domain: z.string().describe("The company domain (null if not found)").nullable().optional(),
16
16
  records: z.array(SecuritytrailsGetCompanyAssociatedIps_IpRecordSchema).describe("List of IP address records in CIDR notation").nullable().optional(),
17
- endpoint: z.string().describe("The API endpoint that was queried"),
18
- page_size: z.number().int().describe("Number of records per page (default: 100)"),
19
- record_count: z.number().int().describe("Total number of associated IP records found")
20
- }).describe("Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.")
17
+ endpoint: z.string().describe("The API endpoint that was queried").nullable(),
18
+ page_size: z.number().int().describe("Number of records per page (default: 100)").nullable(),
19
+ record_count: z.number().int().describe("Total number of associated IP records found").nullable()
20
+ }).passthrough().describe("Response schema for SECURITYTRAILS_V2_COMPANY_GET_ASSOCIATED_IPS.")
21
21
  });
22
22
  //#endregion
23
23
  export { securitytrailsGetCompanyAssociatedIps };
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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')\"),\n}).describe(\"Individual IP record containing CIDR notation.\");\nexport const SecuritytrailsGetCompanyAssociatedIpsOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number (1-indexed)\"),\n query: z.string().describe(\"The original query domain\"),\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\"),\n page_size: z.number().int().describe(\"Number of records per page (default: 100)\"),\n record_count: z.number().int().describe(\"Total number of associated IP records found\"),\n}).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,6CAA2D,EAAE,OAAO,EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAChJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uDAAqE,EAAE,OAAO,EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EACxG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAY5D,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBuE,EAAE,OAAO;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACtD,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;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACvF,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
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"}
@@ -5,8 +5,8 @@ const SecuritytrailsGetDomainSslInput = zod.z.object({ hostname: zod.z.string().
5
5
  const SecuritytrailsGetDomainSslOutput = zod.z.object({
6
6
  raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete JSON payload returned by SecurityTrails containing certificate details.").nullable().optional(),
7
7
  error: zod.z.string().describe("Error message if the request failed.").nullable().optional(),
8
- status_code: zod.z.number().int().describe("HTTP status code returned by the API.")
9
- }).describe("Response containing SSL certificate information or error details for the requested hostname.");
8
+ status_code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable()
9
+ }).passthrough().describe("Response containing SSL certificate information or error details for the requested hostname.");
10
10
  const securitytrailsGetDomainSsl = require_action.action("SECURITYTRAILS_GET_DOMAIN_SSL", {
11
11
  slug: "securitytrails-get-domain-ssl",
12
12
  name: "Get Domain SSL",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n}).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,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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;AAChF,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAE1G,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 { 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,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-domain-ssl.d.ts
4
- declare const SecuritytrailsGetDomainSslInput: z.ZodTypeAny;
5
- declare const SecuritytrailsGetDomainSslOutput: z.ZodTypeAny;
6
- declare const securitytrailsGetDomainSsl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsGetDomainSslInput: z.ZodObject<{
5
+ hostname: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SecuritytrailsGetDomainSslOutput: z.ZodObject<{
8
+ raw: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status_code: z.ZodNullable<z.ZodNumber>;
11
+ }, 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]>;
7
15
  //#endregion
8
16
  export { securitytrailsGetDomainSsl };
9
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,EAAiC,CAAA,CAAE,UAE8B;AAAA,cACjE,gCAAA,EAAkC,CAAA,CAAE,UAI0D;AAAA,cAE9F,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-domain-ssl.d.ts
4
- declare const SecuritytrailsGetDomainSslInput: z.ZodTypeAny;
5
- declare const SecuritytrailsGetDomainSslOutput: z.ZodTypeAny;
6
- declare const securitytrailsGetDomainSsl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SecuritytrailsGetDomainSslInput: z.ZodObject<{
5
+ hostname: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SecuritytrailsGetDomainSslOutput: z.ZodObject<{
8
+ raw: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status_code: z.ZodNullable<z.ZodNumber>;
11
+ }, 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]>;
7
15
  //#endregion
8
16
  export { securitytrailsGetDomainSsl };
9
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,EAAiC,CAAA,CAAE,UAE8B;AAAA,cACjE,gCAAA,EAAkC,CAAA,CAAE,UAI0D;AAAA,cAE9F,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -8,8 +8,8 @@ const securitytrailsGetDomainSsl = action("SECURITYTRAILS_GET_DOMAIN_SSL", {
8
8
  output: z.object({
9
9
  raw: z.record(z.string(), z.unknown()).describe("Complete JSON payload returned by SecurityTrails containing certificate details.").nullable().optional(),
10
10
  error: z.string().describe("Error message if the request failed.").nullable().optional(),
11
- status_code: z.number().int().describe("HTTP status code returned by the API.")
12
- }).describe("Response containing SSL certificate information or error details for the requested hostname.")
11
+ status_code: z.number().int().describe("HTTP status code returned by the API.").nullable()
12
+ }).passthrough().describe("Response containing SSL certificate information or error details for the requested hostname.")
13
13
  });
14
14
  //#endregion
15
15
  export { securitytrailsGetDomainSsl };
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n}).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,OAb2D,EAAE,OAAO,EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EACzN,CAAC,CAAC,CAAC,SAAS,iEAWH;CACP,QAX4D,EAAE,OAAO;EACrE,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;CAChF,CAAC,CAAC,CAAC,SAAS,8FAOF;AACV,CAAC"}
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"}
@@ -5,7 +5,7 @@ const SecuritytrailsGetDomainInput = zod.z.object({ hostname: zod.z.string().des
5
5
  const SecuritytrailsGetDomain_DNSRecordSetSchema = zod.z.object({
6
6
  values: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of DNS record values").nullable().optional(),
7
7
  first_seen: zod.z.string().describe("Date when this DNS record was first observed (YYYY-MM-DD format)").nullable().optional()
8
- }).describe("DNS records of a specific type with first seen date.");
8
+ }).passthrough().describe("DNS records of a specific type with first seen date.");
9
9
  const SecuritytrailsGetDomain_CurrentDNSSchema = zod.z.object({
10
10
  a: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
11
11
  mx: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
@@ -13,19 +13,19 @@ const SecuritytrailsGetDomain_CurrentDNSSchema = zod.z.object({
13
13
  soa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
14
14
  txt: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional(),
15
15
  aaaa: SecuritytrailsGetDomain_DNSRecordSetSchema.nullable().optional()
16
- }).describe("Current DNS configuration for the domain.");
16
+ }).passthrough().describe("Current DNS configuration for the domain.");
17
17
  const SecuritytrailsGetDomain_DomainDataSchema = zod.z.object({
18
- endpoint: zod.z.string().describe("API endpoint path used for this query"),
19
- hostname: zod.z.string().describe("The queried domain hostname"),
18
+ endpoint: zod.z.string().describe("API endpoint path used for this query").nullable(),
19
+ hostname: zod.z.string().describe("The queried domain hostname").nullable(),
20
20
  alexa_rank: zod.z.number().int().describe("Historical Alexa ranking (deprecated, often null)").nullable().optional(),
21
21
  apex_domain: zod.z.string().describe("The apex/root domain (e.g., 'example.com' for 'www.example.com')").nullable().optional(),
22
22
  current_dns: SecuritytrailsGetDomain_CurrentDNSSchema.nullable().optional(),
23
23
  subdomain_count: zod.z.number().int().describe("Number of known subdomains for this domain").nullable().optional()
24
- }).describe("Complete domain information returned by SecurityTrails API.");
24
+ }).passthrough().describe("Complete domain information returned by SecurityTrails API.");
25
25
  const SecuritytrailsGetDomainOutput = zod.z.object({
26
26
  raw: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete raw JSON response from SecurityTrails API (for debugging or accessing undocumented fields)").nullable().optional(),
27
27
  domain_data: SecuritytrailsGetDomain_DomainDataSchema.nullable()
28
- }).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.");
28
+ }).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.");
29
29
  const securitytrailsGetDomain = require_action.action("SECURITYTRAILS_GET_DOMAIN", {
30
30
  slug: "securitytrails-get-domain",
31
31
  name: "Get Domain Details",