@indiciaosint/sdk 0.0.1
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.
- package/.devcontainer/README.md +30 -0
- package/FUNCTIONS.md +87 -0
- package/README.md +526 -0
- package/RUNTIMES.md +48 -0
- package/docs/sdks/indicia/README.md +3053 -0
- package/esm/core.d.ts +10 -0
- package/esm/core.d.ts.map +1 -0
- package/esm/core.js +13 -0
- package/esm/core.js.map +1 -0
- package/esm/funcs/delete-v1-activity-by-id.d.ts +14 -0
- package/esm/funcs/delete-v1-activity-by-id.d.ts.map +1 -0
- package/esm/funcs/delete-v1-activity-by-id.js +82 -0
- package/esm/funcs/delete-v1-activity-by-id.js.map +1 -0
- package/esm/funcs/get-v1-activity-by-id.d.ts +14 -0
- package/esm/funcs/get-v1-activity-by-id.d.ts.map +1 -0
- package/esm/funcs/get-v1-activity-by-id.js +82 -0
- package/esm/funcs/get-v1-activity-by-id.js.map +1 -0
- package/esm/funcs/get-v1-activity.d.ts +14 -0
- package/esm/funcs/get-v1-activity.d.ts.map +1 -0
- package/esm/funcs/get-v1-activity.js +81 -0
- package/esm/funcs/get-v1-activity.js.map +1 -0
- package/esm/funcs/get-v1-info.d.ts +14 -0
- package/esm/funcs/get-v1-info.d.ts.map +1 -0
- package/esm/funcs/get-v1-info.js +66 -0
- package/esm/funcs/get-v1-info.js.map +1 -0
- package/esm/funcs/get-v1-organizations-by-id-audit-log.d.ts +14 -0
- package/esm/funcs/get-v1-organizations-by-id-audit-log.d.ts.map +1 -0
- package/esm/funcs/get-v1-organizations-by-id-audit-log.js +87 -0
- package/esm/funcs/get-v1-organizations-by-id-audit-log.js.map +1 -0
- package/esm/funcs/get-v1-organizations-by-id-cases.d.ts +14 -0
- package/esm/funcs/get-v1-organizations-by-id-cases.d.ts.map +1 -0
- package/esm/funcs/get-v1-organizations-by-id-cases.js +82 -0
- package/esm/funcs/get-v1-organizations-by-id-cases.js.map +1 -0
- package/esm/funcs/get-v1-organizations-by-id-members.d.ts +14 -0
- package/esm/funcs/get-v1-organizations-by-id-members.d.ts.map +1 -0
- package/esm/funcs/get-v1-organizations-by-id-members.js +82 -0
- package/esm/funcs/get-v1-organizations-by-id-members.js.map +1 -0
- package/esm/funcs/get-v1-organizations-by-id.d.ts +14 -0
- package/esm/funcs/get-v1-organizations-by-id.d.ts.map +1 -0
- package/esm/funcs/get-v1-organizations-by-id.js +82 -0
- package/esm/funcs/get-v1-organizations-by-id.js.map +1 -0
- package/esm/funcs/get-v1-organizations.d.ts +14 -0
- package/esm/funcs/get-v1-organizations.d.ts.map +1 -0
- package/esm/funcs/get-v1-organizations.js +66 -0
- package/esm/funcs/get-v1-organizations.js.map +1 -0
- package/esm/funcs/get-v1-pricing.d.ts +14 -0
- package/esm/funcs/get-v1-pricing.d.ts.map +1 -0
- package/esm/funcs/get-v1-pricing.js +66 -0
- package/esm/funcs/get-v1-pricing.js.map +1 -0
- package/esm/funcs/post-v1-organizations-by-id-credits.d.ts +14 -0
- package/esm/funcs/post-v1-organizations-by-id-credits.d.ts.map +1 -0
- package/esm/funcs/post-v1-organizations-by-id-credits.js +83 -0
- package/esm/funcs/post-v1-organizations-by-id-credits.js.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-certificates.d.ts +18 -0
- package/esm/funcs/post-v1-search-infrastructure-certificates.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-certificates.js +85 -0
- package/esm/funcs/post-v1-search-infrastructure-certificates.js.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-dns.d.ts +18 -0
- package/esm/funcs/post-v1-search-infrastructure-dns.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-dns.js +84 -0
- package/esm/funcs/post-v1-search-infrastructure-dns.js.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-ipinfo.d.ts +18 -0
- package/esm/funcs/post-v1-search-infrastructure-ipinfo.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-ipinfo.js +84 -0
- package/esm/funcs/post-v1-search-infrastructure-ipinfo.js.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-portscan.d.ts +144 -0
- package/esm/funcs/post-v1-search-infrastructure-portscan.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-portscan.js +213 -0
- package/esm/funcs/post-v1-search-infrastructure-portscan.js.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-shodan.d.ts +18 -0
- package/esm/funcs/post-v1-search-infrastructure-shodan.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-shodan.js +84 -0
- package/esm/funcs/post-v1-search-infrastructure-shodan.js.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-whois.d.ts +18 -0
- package/esm/funcs/post-v1-search-infrastructure-whois.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-infrastructure-whois.js +84 -0
- package/esm/funcs/post-v1-search-infrastructure-whois.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-address.d.ts +15 -0
- package/esm/funcs/post-v1-search-intelligence-address.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-address.js +81 -0
- package/esm/funcs/post-v1-search-intelligence-address.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-email.d.ts +18 -0
- package/esm/funcs/post-v1-search-intelligence-email.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-email.js +84 -0
- package/esm/funcs/post-v1-search-intelligence-email.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-facial.d.ts +37 -0
- package/esm/funcs/post-v1-search-intelligence-facial.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-facial.js +106 -0
- package/esm/funcs/post-v1-search-intelligence-facial.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-geolocation.d.ts +29 -0
- package/esm/funcs/post-v1-search-intelligence-geolocation.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-geolocation.js +106 -0
- package/esm/funcs/post-v1-search-intelligence-geolocation.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-gmail.d.ts +18 -0
- package/esm/funcs/post-v1-search-intelligence-gmail.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-gmail.js +84 -0
- package/esm/funcs/post-v1-search-intelligence-gmail.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-hudsonrock.d.ts +18 -0
- package/esm/funcs/post-v1-search-intelligence-hudsonrock.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-hudsonrock.js +85 -0
- package/esm/funcs/post-v1-search-intelligence-hudsonrock.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-person.d.ts +18 -0
- package/esm/funcs/post-v1-search-intelligence-person.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-person.js +84 -0
- package/esm/funcs/post-v1-search-intelligence-person.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-phone.d.ts +18 -0
- package/esm/funcs/post-v1-search-intelligence-phone.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-phone.js +84 -0
- package/esm/funcs/post-v1-search-intelligence-phone.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-seon.d.ts +18 -0
- package/esm/funcs/post-v1-search-intelligence-seon.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-seon.js +84 -0
- package/esm/funcs/post-v1-search-intelligence-seon.js.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-web-dbs.d.ts +18 -0
- package/esm/funcs/post-v1-search-intelligence-web-dbs.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-intelligence-web-dbs.js +84 -0
- package/esm/funcs/post-v1-search-intelligence-web-dbs.js.map +1 -0
- package/esm/funcs/post-v1-search-socials-discord.d.ts +18 -0
- package/esm/funcs/post-v1-search-socials-discord.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-socials-discord.js +84 -0
- package/esm/funcs/post-v1-search-socials-discord.js.map +1 -0
- package/esm/funcs/post-v1-search-socials-github.d.ts +18 -0
- package/esm/funcs/post-v1-search-socials-github.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-socials-github.js +84 -0
- package/esm/funcs/post-v1-search-socials-github.js.map +1 -0
- package/esm/funcs/post-v1-search-socials-roblox.d.ts +18 -0
- package/esm/funcs/post-v1-search-socials-roblox.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-socials-roblox.js +84 -0
- package/esm/funcs/post-v1-search-socials-roblox.js.map +1 -0
- package/esm/funcs/post-v1-search-socials-tiktok.d.ts +18 -0
- package/esm/funcs/post-v1-search-socials-tiktok.d.ts.map +1 -0
- package/esm/funcs/post-v1-search-socials-tiktok.js +84 -0
- package/esm/funcs/post-v1-search-socials-tiktok.js.map +1 -0
- package/esm/funcs/post-v1-tools-doogle.d.ts +18 -0
- package/esm/funcs/post-v1-tools-doogle.d.ts.map +1 -0
- package/esm/funcs/post-v1-tools-doogle.js +84 -0
- package/esm/funcs/post-v1-tools-doogle.js.map +1 -0
- package/esm/funcs/post-v1-tools-doublecounter.d.ts +18 -0
- package/esm/funcs/post-v1-tools-doublecounter.d.ts.map +1 -0
- package/esm/funcs/post-v1-tools-doublecounter.js +84 -0
- package/esm/funcs/post-v1-tools-doublecounter.js.map +1 -0
- package/esm/funcs/post-v1-tools-intelx.d.ts +18 -0
- package/esm/funcs/post-v1-tools-intelx.d.ts.map +1 -0
- package/esm/funcs/post-v1-tools-intelx.js +84 -0
- package/esm/funcs/post-v1-tools-intelx.js.map +1 -0
- package/esm/funcs/post-v2-search-socials-username.d.ts +18 -0
- package/esm/funcs/post-v2-search-socials-username.d.ts.map +1 -0
- package/esm/funcs/post-v2-search-socials-username.js +84 -0
- package/esm/funcs/post-v2-search-socials-username.js.map +1 -0
- package/esm/hooks/hooks.d.ts +25 -0
- package/esm/hooks/hooks.d.ts.map +1 -0
- package/esm/hooks/hooks.js +80 -0
- package/esm/hooks/hooks.js.map +1 -0
- package/esm/hooks/index.d.ts +3 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +6 -0
- package/esm/hooks/index.js.map +1 -0
- package/esm/hooks/types.d.ts +77 -0
- package/esm/hooks/types.d.ts.map +1 -0
- package/esm/hooks/types.js +5 -0
- package/esm/hooks/types.js.map +1 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +8 -0
- package/esm/index.js.map +1 -0
- package/esm/lib/base64.d.ts +10 -0
- package/esm/lib/base64.d.ts.map +1 -0
- package/esm/lib/base64.js +31 -0
- package/esm/lib/base64.js.map +1 -0
- package/esm/lib/config.d.ts +38 -0
- package/esm/lib/config.d.ts.map +1 -0
- package/esm/lib/config.js +31 -0
- package/esm/lib/config.js.map +1 -0
- package/esm/lib/encodings.d.ts +54 -0
- package/esm/lib/encodings.d.ts.map +1 -0
- package/esm/lib/encodings.js +391 -0
- package/esm/lib/encodings.js.map +1 -0
- package/esm/lib/env.d.ts +15 -0
- package/esm/lib/env.d.ts.map +1 -0
- package/esm/lib/env.js +44 -0
- package/esm/lib/env.js.map +1 -0
- package/esm/lib/files.d.ts +26 -0
- package/esm/lib/files.d.ts.map +1 -0
- package/esm/lib/files.js +91 -0
- package/esm/lib/files.js.map +1 -0
- package/esm/lib/http.d.ts +67 -0
- package/esm/lib/http.d.ts.map +1 -0
- package/esm/lib/http.js +209 -0
- package/esm/lib/http.js.map +1 -0
- package/esm/lib/logger.d.ts +6 -0
- package/esm/lib/logger.d.ts.map +1 -0
- package/esm/lib/logger.js +5 -0
- package/esm/lib/logger.js.map +1 -0
- package/esm/lib/matchers.d.ts +59 -0
- package/esm/lib/matchers.d.ts.map +1 -0
- package/esm/lib/matchers.js +202 -0
- package/esm/lib/matchers.js.map +1 -0
- package/esm/lib/primitives.d.ts +27 -0
- package/esm/lib/primitives.d.ts.map +1 -0
- package/esm/lib/primitives.js +120 -0
- package/esm/lib/primitives.js.map +1 -0
- package/esm/lib/retries.d.ts +38 -0
- package/esm/lib/retries.d.ts.map +1 -0
- package/esm/lib/retries.js +157 -0
- package/esm/lib/retries.js.map +1 -0
- package/esm/lib/schemas.d.ts +21 -0
- package/esm/lib/schemas.d.ts.map +1 -0
- package/esm/lib/schemas.js +57 -0
- package/esm/lib/schemas.js.map +1 -0
- package/esm/lib/sdks.d.ts +63 -0
- package/esm/lib/sdks.d.ts.map +1 -0
- package/esm/lib/sdks.js +294 -0
- package/esm/lib/sdks.js.map +1 -0
- package/esm/lib/security.d.ts +83 -0
- package/esm/lib/security.d.ts.map +1 -0
- package/esm/lib/security.js +149 -0
- package/esm/lib/security.js.map +1 -0
- package/esm/lib/url.d.ts +5 -0
- package/esm/lib/url.d.ts.map +1 -0
- package/esm/lib/url.js +24 -0
- package/esm/lib/url.js.map +1 -0
- package/esm/models/errors/http-client-errors.d.ts +44 -0
- package/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/esm/models/errors/http-client-errors.js +56 -0
- package/esm/models/errors/http-client-errors.js.map +1 -0
- package/esm/models/errors/index.d.ts +30 -0
- package/esm/models/errors/index.d.ts.map +1 -0
- package/esm/models/errors/index.js +33 -0
- package/esm/models/errors/index.js.map +1 -0
- package/esm/models/errors/indicia-default-error.d.ts +10 -0
- package/esm/models/errors/indicia-default-error.d.ts.map +1 -0
- package/esm/models/errors/indicia-default-error.js +30 -0
- package/esm/models/errors/indicia-default-error.js.map +1 -0
- package/esm/models/errors/indicia-error.d.ts +19 -0
- package/esm/models/errors/indicia-error.d.ts.map +1 -0
- package/esm/models/errors/indicia-error.js +26 -0
- package/esm/models/errors/indicia-error.js.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-certificates.d.ts +29 -0
- package/esm/models/errors/post-v1-search-infrastructure-certificates.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-certificates.js +46 -0
- package/esm/models/errors/post-v1-search-infrastructure-certificates.js.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-dns.d.ts +26 -0
- package/esm/models/errors/post-v1-search-infrastructure-dns.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-dns.js +42 -0
- package/esm/models/errors/post-v1-search-infrastructure-dns.js.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-ipinfo.d.ts +26 -0
- package/esm/models/errors/post-v1-search-infrastructure-ipinfo.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-ipinfo.js +41 -0
- package/esm/models/errors/post-v1-search-infrastructure-ipinfo.js.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-portscan.d.ts +72 -0
- package/esm/models/errors/post-v1-search-infrastructure-portscan.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-portscan.js +110 -0
- package/esm/models/errors/post-v1-search-infrastructure-portscan.js.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-shodan.d.ts +26 -0
- package/esm/models/errors/post-v1-search-infrastructure-shodan.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-shodan.js +41 -0
- package/esm/models/errors/post-v1-search-infrastructure-shodan.js.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-whois.d.ts +26 -0
- package/esm/models/errors/post-v1-search-infrastructure-whois.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-infrastructure-whois.js +42 -0
- package/esm/models/errors/post-v1-search-infrastructure-whois.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-address.d.ts +26 -0
- package/esm/models/errors/post-v1-search-intelligence-address.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-address.js +42 -0
- package/esm/models/errors/post-v1-search-intelligence-address.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-email.d.ts +26 -0
- package/esm/models/errors/post-v1-search-intelligence-email.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-email.js +42 -0
- package/esm/models/errors/post-v1-search-intelligence-email.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-facial.d.ts +72 -0
- package/esm/models/errors/post-v1-search-intelligence-facial.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-facial.js +112 -0
- package/esm/models/errors/post-v1-search-intelligence-facial.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-geolocation.d.ts +72 -0
- package/esm/models/errors/post-v1-search-intelligence-geolocation.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-geolocation.js +110 -0
- package/esm/models/errors/post-v1-search-intelligence-geolocation.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-gmail.d.ts +26 -0
- package/esm/models/errors/post-v1-search-intelligence-gmail.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-gmail.js +42 -0
- package/esm/models/errors/post-v1-search-intelligence-gmail.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-hudsonrock.d.ts +26 -0
- package/esm/models/errors/post-v1-search-intelligence-hudsonrock.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-hudsonrock.js +41 -0
- package/esm/models/errors/post-v1-search-intelligence-hudsonrock.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-person.d.ts +26 -0
- package/esm/models/errors/post-v1-search-intelligence-person.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-person.js +42 -0
- package/esm/models/errors/post-v1-search-intelligence-person.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-phone.d.ts +26 -0
- package/esm/models/errors/post-v1-search-intelligence-phone.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-phone.js +42 -0
- package/esm/models/errors/post-v1-search-intelligence-phone.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-seon.d.ts +26 -0
- package/esm/models/errors/post-v1-search-intelligence-seon.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-seon.js +42 -0
- package/esm/models/errors/post-v1-search-intelligence-seon.js.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-web-dbs.d.ts +49 -0
- package/esm/models/errors/post-v1-search-intelligence-web-dbs.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-intelligence-web-dbs.js +77 -0
- package/esm/models/errors/post-v1-search-intelligence-web-dbs.js.map +1 -0
- package/esm/models/errors/post-v1-search-socials-discord.d.ts +26 -0
- package/esm/models/errors/post-v1-search-socials-discord.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-socials-discord.js +42 -0
- package/esm/models/errors/post-v1-search-socials-discord.js.map +1 -0
- package/esm/models/errors/post-v1-search-socials-github.d.ts +26 -0
- package/esm/models/errors/post-v1-search-socials-github.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-socials-github.js +41 -0
- package/esm/models/errors/post-v1-search-socials-github.js.map +1 -0
- package/esm/models/errors/post-v1-search-socials-roblox.d.ts +26 -0
- package/esm/models/errors/post-v1-search-socials-roblox.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-socials-roblox.js +41 -0
- package/esm/models/errors/post-v1-search-socials-roblox.js.map +1 -0
- package/esm/models/errors/post-v1-search-socials-tiktok.d.ts +26 -0
- package/esm/models/errors/post-v1-search-socials-tiktok.d.ts.map +1 -0
- package/esm/models/errors/post-v1-search-socials-tiktok.js +41 -0
- package/esm/models/errors/post-v1-search-socials-tiktok.js.map +1 -0
- package/esm/models/errors/post-v1-tools-doogle.d.ts +29 -0
- package/esm/models/errors/post-v1-tools-doogle.d.ts.map +1 -0
- package/esm/models/errors/post-v1-tools-doogle.js +46 -0
- package/esm/models/errors/post-v1-tools-doogle.js.map +1 -0
- package/esm/models/errors/post-v1-tools-doublecounter.d.ts +26 -0
- package/esm/models/errors/post-v1-tools-doublecounter.d.ts.map +1 -0
- package/esm/models/errors/post-v1-tools-doublecounter.js +41 -0
- package/esm/models/errors/post-v1-tools-doublecounter.js.map +1 -0
- package/esm/models/errors/post-v1-tools-intelx.d.ts +49 -0
- package/esm/models/errors/post-v1-tools-intelx.d.ts.map +1 -0
- package/esm/models/errors/post-v1-tools-intelx.js +75 -0
- package/esm/models/errors/post-v1-tools-intelx.js.map +1 -0
- package/esm/models/errors/post-v2-search-socials-username.d.ts +26 -0
- package/esm/models/errors/post-v2-search-socials-username.d.ts.map +1 -0
- package/esm/models/errors/post-v2-search-socials-username.js +42 -0
- package/esm/models/errors/post-v2-search-socials-username.js.map +1 -0
- package/esm/models/errors/response-validation-error.d.ts +26 -0
- package/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/esm/models/errors/response-validation-error.js +37 -0
- package/esm/models/errors/response-validation-error.js.map +1 -0
- package/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/esm/models/errors/sdk-validation-error.js +52 -0
- package/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/esm/models/index.d.ts +2 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +5 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/operations/delete-v1-activity-by-id.d.ts +15 -0
- package/esm/models/operations/delete-v1-activity-by-id.d.ts.map +1 -0
- package/esm/models/operations/delete-v1-activity-by-id.js +12 -0
- package/esm/models/operations/delete-v1-activity-by-id.js.map +1 -0
- package/esm/models/operations/get-v1-activity-by-id.d.ts +105 -0
- package/esm/models/operations/get-v1-activity-by-id.d.ts.map +1 -0
- package/esm/models/operations/get-v1-activity-by-id.js +107 -0
- package/esm/models/operations/get-v1-activity-by-id.js.map +1 -0
- package/esm/models/operations/get-v1-activity.d.ts +104 -0
- package/esm/models/operations/get-v1-activity.d.ts.map +1 -0
- package/esm/models/operations/get-v1-activity.js +108 -0
- package/esm/models/operations/get-v1-activity.js.map +1 -0
- package/esm/models/operations/get-v1-info.d.ts +136 -0
- package/esm/models/operations/get-v1-info.d.ts.map +1 -0
- package/esm/models/operations/get-v1-info.js +119 -0
- package/esm/models/operations/get-v1-info.js.map +1 -0
- package/esm/models/operations/get-v1-organizations-by-id-audit-log.d.ts +43 -0
- package/esm/models/operations/get-v1-organizations-by-id-audit-log.d.ts.map +1 -0
- package/esm/models/operations/get-v1-organizations-by-id-audit-log.js +35 -0
- package/esm/models/operations/get-v1-organizations-by-id-audit-log.js.map +1 -0
- package/esm/models/operations/get-v1-organizations-by-id-cases.d.ts +38 -0
- package/esm/models/operations/get-v1-organizations-by-id-cases.d.ts.map +1 -0
- package/esm/models/operations/get-v1-organizations-by-id-cases.js +34 -0
- package/esm/models/operations/get-v1-organizations-by-id-cases.js.map +1 -0
- package/esm/models/operations/get-v1-organizations-by-id-members.d.ts +39 -0
- package/esm/models/operations/get-v1-organizations-by-id-members.d.ts.map +1 -0
- package/esm/models/operations/get-v1-organizations-by-id-members.js +35 -0
- package/esm/models/operations/get-v1-organizations-by-id-members.js.map +1 -0
- package/esm/models/operations/get-v1-organizations-by-id.d.ts +41 -0
- package/esm/models/operations/get-v1-organizations-by-id.d.ts.map +1 -0
- package/esm/models/operations/get-v1-organizations-by-id.js +37 -0
- package/esm/models/operations/get-v1-organizations-by-id.js.map +1 -0
- package/esm/models/operations/get-v1-organizations.d.ts +31 -0
- package/esm/models/operations/get-v1-organizations.d.ts.map +1 -0
- package/esm/models/operations/get-v1-organizations.js +30 -0
- package/esm/models/operations/get-v1-organizations.js.map +1 -0
- package/esm/models/operations/get-v1-pricing.d.ts +17 -0
- package/esm/models/operations/get-v1-pricing.d.ts.map +1 -0
- package/esm/models/operations/get-v1-pricing.js +16 -0
- package/esm/models/operations/get-v1-pricing.js.map +1 -0
- package/esm/models/operations/index.d.ts +36 -0
- package/esm/models/operations/index.d.ts.map +1 -0
- package/esm/models/operations/index.js +39 -0
- package/esm/models/operations/index.js.map +1 -0
- package/esm/models/operations/post-v1-organizations-by-id-credits.d.ts +39 -0
- package/esm/models/operations/post-v1-organizations-by-id-credits.d.ts.map +1 -0
- package/esm/models/operations/post-v1-organizations-by-id-credits.js +32 -0
- package/esm/models/operations/post-v1-organizations-by-id-credits.js.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-certificates.d.ts +53 -0
- package/esm/models/operations/post-v1-search-infrastructure-certificates.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-certificates.js +78 -0
- package/esm/models/operations/post-v1-search-infrastructure-certificates.js.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-dns.d.ts +194 -0
- package/esm/models/operations/post-v1-search-infrastructure-dns.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-dns.js +268 -0
- package/esm/models/operations/post-v1-search-infrastructure-dns.js.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-ipinfo.d.ts +58 -0
- package/esm/models/operations/post-v1-search-infrastructure-ipinfo.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-ipinfo.js +57 -0
- package/esm/models/operations/post-v1-search-infrastructure-ipinfo.js.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-portscan.d.ts +28 -0
- package/esm/models/operations/post-v1-search-infrastructure-portscan.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-portscan.js +22 -0
- package/esm/models/operations/post-v1-search-infrastructure-portscan.js.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-shodan.d.ts +215 -0
- package/esm/models/operations/post-v1-search-infrastructure-shodan.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-shodan.js +271 -0
- package/esm/models/operations/post-v1-search-infrastructure-shodan.js.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-whois.d.ts +97 -0
- package/esm/models/operations/post-v1-search-infrastructure-whois.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-infrastructure-whois.js +123 -0
- package/esm/models/operations/post-v1-search-infrastructure-whois.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-address.d.ts +77 -0
- package/esm/models/operations/post-v1-search-intelligence-address.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-address.js +82 -0
- package/esm/models/operations/post-v1-search-intelligence-address.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-email.d.ts +39 -0
- package/esm/models/operations/post-v1-search-intelligence-email.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-email.js +38 -0
- package/esm/models/operations/post-v1-search-intelligence-email.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-facial.d.ts +12 -0
- package/esm/models/operations/post-v1-search-intelligence-facial.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-facial.js +12 -0
- package/esm/models/operations/post-v1-search-intelligence-facial.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-geolocation.d.ts +24 -0
- package/esm/models/operations/post-v1-search-intelligence-geolocation.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-geolocation.js +20 -0
- package/esm/models/operations/post-v1-search-intelligence-geolocation.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-gmail.d.ts +196 -0
- package/esm/models/operations/post-v1-search-intelligence-gmail.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-gmail.js +214 -0
- package/esm/models/operations/post-v1-search-intelligence-gmail.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-hudsonrock.d.ts +265 -0
- package/esm/models/operations/post-v1-search-intelligence-hudsonrock.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-hudsonrock.js +355 -0
- package/esm/models/operations/post-v1-search-intelligence-hudsonrock.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-person.d.ts +74 -0
- package/esm/models/operations/post-v1-search-intelligence-person.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-person.js +81 -0
- package/esm/models/operations/post-v1-search-intelligence-person.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-phone.d.ts +111 -0
- package/esm/models/operations/post-v1-search-intelligence-phone.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-phone.js +154 -0
- package/esm/models/operations/post-v1-search-intelligence-phone.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-seon.d.ts +413 -0
- package/esm/models/operations/post-v1-search-intelligence-seon.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-seon.js +598 -0
- package/esm/models/operations/post-v1-search-intelligence-seon.js.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-web-dbs.d.ts +581 -0
- package/esm/models/operations/post-v1-search-intelligence-web-dbs.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-intelligence-web-dbs.js +736 -0
- package/esm/models/operations/post-v1-search-intelligence-web-dbs.js.map +1 -0
- package/esm/models/operations/post-v1-search-socials-discord.d.ts +243 -0
- package/esm/models/operations/post-v1-search-socials-discord.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-socials-discord.js +264 -0
- package/esm/models/operations/post-v1-search-socials-discord.js.map +1 -0
- package/esm/models/operations/post-v1-search-socials-github.d.ts +48 -0
- package/esm/models/operations/post-v1-search-socials-github.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-socials-github.js +52 -0
- package/esm/models/operations/post-v1-search-socials-github.js.map +1 -0
- package/esm/models/operations/post-v1-search-socials-roblox.d.ts +119 -0
- package/esm/models/operations/post-v1-search-socials-roblox.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-socials-roblox.js +118 -0
- package/esm/models/operations/post-v1-search-socials-roblox.js.map +1 -0
- package/esm/models/operations/post-v1-search-socials-tiktok.d.ts +389 -0
- package/esm/models/operations/post-v1-search-socials-tiktok.d.ts.map +1 -0
- package/esm/models/operations/post-v1-search-socials-tiktok.js +617 -0
- package/esm/models/operations/post-v1-search-socials-tiktok.js.map +1 -0
- package/esm/models/operations/post-v1-tools-doogle.d.ts +97 -0
- package/esm/models/operations/post-v1-tools-doogle.d.ts.map +1 -0
- package/esm/models/operations/post-v1-tools-doogle.js +103 -0
- package/esm/models/operations/post-v1-tools-doogle.js.map +1 -0
- package/esm/models/operations/post-v1-tools-doublecounter.d.ts +24 -0
- package/esm/models/operations/post-v1-tools-doublecounter.d.ts.map +1 -0
- package/esm/models/operations/post-v1-tools-doublecounter.js +22 -0
- package/esm/models/operations/post-v1-tools-doublecounter.js.map +1 -0
- package/esm/models/operations/post-v1-tools-intelx.d.ts +88 -0
- package/esm/models/operations/post-v1-tools-intelx.d.ts.map +1 -0
- package/esm/models/operations/post-v1-tools-intelx.js +82 -0
- package/esm/models/operations/post-v1-tools-intelx.js.map +1 -0
- package/esm/models/operations/post-v2-search-socials-username.d.ts +282 -0
- package/esm/models/operations/post-v2-search-socials-username.d.ts.map +1 -0
- package/esm/models/operations/post-v2-search-socials-username.js +416 -0
- package/esm/models/operations/post-v2-search-socials-username.js.map +1 -0
- package/esm/models/security.d.ts +12 -0
- package/esm/models/security.d.ts.map +1 -0
- package/esm/models/security.js +17 -0
- package/esm/models/security.js.map +1 -0
- package/esm/sdk/index.d.ts +2 -0
- package/esm/sdk/index.d.ts.map +1 -0
- package/esm/sdk/index.js +5 -0
- package/esm/sdk/index.js.map +1 -0
- package/esm/sdk/sdk.d.ts +370 -0
- package/esm/sdk/sdk.d.ts.map +1 -0
- package/esm/sdk/sdk.js +478 -0
- package/esm/sdk/sdk.js.map +1 -0
- package/esm/types/async.d.ts +23 -0
- package/esm/types/async.d.ts.map +1 -0
- package/esm/types/async.js +28 -0
- package/esm/types/async.js.map +1 -0
- package/esm/types/blobs.d.ts +4 -0
- package/esm/types/blobs.d.ts.map +1 -0
- package/esm/types/blobs.js +25 -0
- package/esm/types/blobs.js.map +1 -0
- package/esm/types/const-date-time.d.ts +3 -0
- package/esm/types/const-date-time.d.ts.map +1 -0
- package/esm/types/const-date-time.js +10 -0
- package/esm/types/const-date-time.js.map +1 -0
- package/esm/types/default-to-zero-value.d.ts +12 -0
- package/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/esm/types/default-to-zero-value.js +31 -0
- package/esm/types/default-to-zero-value.js.map +1 -0
- package/esm/types/enums.d.ts +9 -0
- package/esm/types/enums.d.ts.map +1 -0
- package/esm/types/enums.js +27 -0
- package/esm/types/enums.js.map +1 -0
- package/esm/types/fp.d.ts +31 -0
- package/esm/types/fp.d.ts.map +1 -0
- package/esm/types/fp.js +31 -0
- package/esm/types/fp.js.map +1 -0
- package/esm/types/index.d.ts +10 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +10 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/operations.d.ts +27 -0
- package/esm/types/operations.d.ts.map +1 -0
- package/esm/types/operations.js +77 -0
- package/esm/types/operations.js.map +1 -0
- package/esm/types/primitives.d.ts +9 -0
- package/esm/types/primitives.d.ts.map +1 -0
- package/esm/types/primitives.js +109 -0
- package/esm/types/primitives.js.map +1 -0
- package/esm/types/rfcdate.d.ts +21 -0
- package/esm/types/rfcdate.d.ts.map +1 -0
- package/esm/types/rfcdate.js +43 -0
- package/esm/types/rfcdate.js.map +1 -0
- package/esm/types/smart-union.d.ts +7 -0
- package/esm/types/smart-union.d.ts.map +1 -0
- package/esm/types/smart-union.js +117 -0
- package/esm/types/smart-union.js.map +1 -0
- package/esm/types/streams.d.ts +2 -0
- package/esm/types/streams.d.ts.map +1 -0
- package/esm/types/streams.js +15 -0
- package/esm/types/streams.js.map +1 -0
- package/esm/types/unrecognized.d.ts +16 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +31 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/README.md +31 -0
- package/examples/getV1Info.example.ts +26 -0
- package/examples/node_modules/@esbuild/darwin-arm64/README.md +3 -0
- package/examples/node_modules/@types/node/LICENSE +21 -0
- package/examples/node_modules/@types/node/README.md +15 -0
- package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/examples/node_modules/@types/node/assert.d.ts +1062 -0
- package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
- package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
- package/examples/node_modules/@types/node/cluster.d.ts +577 -0
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/examples/node_modules/@types/node/console.d.ts +452 -0
- package/examples/node_modules/@types/node/constants.d.ts +21 -0
- package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
- package/examples/node_modules/@types/node/dgram.d.ts +597 -0
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/examples/node_modules/@types/node/dns.d.ts +871 -0
- package/examples/node_modules/@types/node/domain.d.ts +170 -0
- package/examples/node_modules/@types/node/events.d.ts +977 -0
- package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
- package/examples/node_modules/@types/node/fs.d.ts +4375 -0
- package/examples/node_modules/@types/node/globals.d.ts +172 -0
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/examples/node_modules/@types/node/http.d.ts +2049 -0
- package/examples/node_modules/@types/node/http2.d.ts +2712 -0
- package/examples/node_modules/@types/node/https.d.ts +578 -0
- package/examples/node_modules/@types/node/index.d.ts +93 -0
- package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
- package/examples/node_modules/@types/node/module.d.ts +539 -0
- package/examples/node_modules/@types/node/net.d.ts +1031 -0
- package/examples/node_modules/@types/node/os.d.ts +506 -0
- package/examples/node_modules/@types/node/path.d.ts +200 -0
- package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
- package/examples/node_modules/@types/node/process.d.ts +1961 -0
- package/examples/node_modules/@types/node/punycode.d.ts +117 -0
- package/examples/node_modules/@types/node/querystring.d.ts +152 -0
- package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/examples/node_modules/@types/node/readline.d.ts +589 -0
- package/examples/node_modules/@types/node/repl.d.ts +430 -0
- package/examples/node_modules/@types/node/sea.d.ts +153 -0
- package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
- package/examples/node_modules/@types/node/stream.d.ts +1698 -0
- package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/examples/node_modules/@types/node/test.d.ts +1787 -0
- package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/examples/node_modules/@types/node/timers.d.ts +286 -0
- package/examples/node_modules/@types/node/tls.d.ts +1259 -0
- package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
- package/examples/node_modules/@types/node/tty.d.ts +208 -0
- package/examples/node_modules/@types/node/url.d.ts +964 -0
- package/examples/node_modules/@types/node/util.d.ts +2331 -0
- package/examples/node_modules/@types/node/v8.d.ts +809 -0
- package/examples/node_modules/@types/node/vm.d.ts +1001 -0
- package/examples/node_modules/@types/node/wasi.d.ts +181 -0
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
- package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
- package/examples/node_modules/@types/node/zlib.d.ts +598 -0
- package/examples/node_modules/dotenv/LICENSE +23 -0
- package/examples/node_modules/dotenv/README.md +645 -0
- package/examples/node_modules/dotenv/config.d.ts +1 -0
- package/examples/node_modules/dotenv/config.js +9 -0
- package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
- package/examples/node_modules/dotenv/lib/env-options.js +28 -0
- package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
- package/examples/node_modules/dotenv/lib/main.js +386 -0
- package/examples/node_modules/esbuild/LICENSE.md +21 -0
- package/examples/node_modules/esbuild/README.md +3 -0
- package/examples/node_modules/esbuild/install.js +300 -0
- package/examples/node_modules/esbuild/lib/main.d.ts +716 -0
- package/examples/node_modules/esbuild/lib/main.js +2532 -0
- package/examples/node_modules/fsevents/LICENSE +22 -0
- package/examples/node_modules/fsevents/README.md +89 -0
- package/examples/node_modules/fsevents/fsevents.d.ts +46 -0
- package/examples/node_modules/fsevents/fsevents.js +83 -0
- package/examples/node_modules/tsx/LICENSE +21 -0
- package/examples/node_modules/tsx/README.md +32 -0
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cli.mjs +55 -0
- package/examples/node_modules/tsx/dist/client-D_mPDF5S.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +1 -0
- package/examples/node_modules/tsx/dist/index-XurvG3JN.mjs +14 -0
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
- package/examples/node_modules/tsx/dist/loader.mjs +1 -0
- package/examples/node_modules/tsx/dist/node-features-B9BBLzwu.mjs +1 -0
- package/examples/node_modules/tsx/dist/package-Bj47PlGH.mjs +1 -0
- package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
- package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
- package/examples/node_modules/tsx/dist/register-BnTWPeIB.mjs +10 -0
- package/examples/node_modules/tsx/dist/register-CqMfTiWi.mjs +2 -0
- package/examples/node_modules/tsx/dist/repl.mjs +3 -0
- package/examples/node_modules/tsx/dist/require-DzmC1hVr.mjs +1 -0
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
- package/examples/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +1 -0
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
- package/examples/node_modules/undici-types/LICENSE +21 -0
- package/examples/node_modules/undici-types/README.md +6 -0
- package/examples/node_modules/undici-types/agent.d.ts +31 -0
- package/examples/node_modules/undici-types/api.d.ts +43 -0
- package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/examples/node_modules/undici-types/cache.d.ts +36 -0
- package/examples/node_modules/undici-types/client.d.ts +108 -0
- package/examples/node_modules/undici-types/connector.d.ts +34 -0
- package/examples/node_modules/undici-types/content-type.d.ts +21 -0
- package/examples/node_modules/undici-types/cookies.d.ts +28 -0
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/examples/node_modules/undici-types/errors.d.ts +149 -0
- package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
- package/examples/node_modules/undici-types/fetch.d.ts +209 -0
- package/examples/node_modules/undici-types/file.d.ts +39 -0
- package/examples/node_modules/undici-types/filereader.d.ts +54 -0
- package/examples/node_modules/undici-types/formdata.d.ts +108 -0
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
- package/examples/node_modules/undici-types/handlers.d.ts +15 -0
- package/examples/node_modules/undici-types/header.d.ts +4 -0
- package/examples/node_modules/undici-types/index.d.ts +71 -0
- package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
- package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
- package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/examples/node_modules/undici-types/patch.d.ts +33 -0
- package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/examples/node_modules/undici-types/pool.d.ts +39 -0
- package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/examples/node_modules/undici-types/readable.d.ts +65 -0
- package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/examples/node_modules/undici-types/util.d.ts +18 -0
- package/examples/node_modules/undici-types/webidl.d.ts +228 -0
- package/examples/node_modules/undici-types/websocket.d.ts +150 -0
- package/jsr.json +27 -0
- package/package.json +59 -0
- package/src/core.ts +13 -0
- package/src/funcs/delete-v1-activity-by-id.ts +166 -0
- package/src/funcs/get-v1-activity-by-id.ts +166 -0
- package/src/funcs/get-v1-activity.ts +169 -0
- package/src/funcs/get-v1-info.ts +141 -0
- package/src/funcs/get-v1-organizations-by-id-audit-log.ts +178 -0
- package/src/funcs/get-v1-organizations-by-id-cases.ts +169 -0
- package/src/funcs/get-v1-organizations-by-id-members.ts +169 -0
- package/src/funcs/get-v1-organizations-by-id.ts +166 -0
- package/src/funcs/get-v1-organizations.ts +141 -0
- package/src/funcs/get-v1-pricing.ts +141 -0
- package/src/funcs/post-v1-organizations-by-id-credits.ts +173 -0
- package/src/funcs/post-v1-search-infrastructure-certificates.ts +183 -0
- package/src/funcs/post-v1-search-infrastructure-dns.ts +179 -0
- package/src/funcs/post-v1-search-infrastructure-ipinfo.ts +182 -0
- package/src/funcs/post-v1-search-infrastructure-portscan.ts +322 -0
- package/src/funcs/post-v1-search-infrastructure-shodan.ts +182 -0
- package/src/funcs/post-v1-search-infrastructure-whois.ts +182 -0
- package/src/funcs/post-v1-search-intelligence-address.ts +179 -0
- package/src/funcs/post-v1-search-intelligence-email.ts +179 -0
- package/src/funcs/post-v1-search-intelligence-facial.ts +216 -0
- package/src/funcs/post-v1-search-intelligence-geolocation.ts +216 -0
- package/src/funcs/post-v1-search-intelligence-gmail.ts +179 -0
- package/src/funcs/post-v1-search-intelligence-hudsonrock.ts +183 -0
- package/src/funcs/post-v1-search-intelligence-person.ts +182 -0
- package/src/funcs/post-v1-search-intelligence-phone.ts +179 -0
- package/src/funcs/post-v1-search-intelligence-seon.ts +179 -0
- package/src/funcs/post-v1-search-intelligence-web-dbs.ts +189 -0
- package/src/funcs/post-v1-search-socials-discord.ts +179 -0
- package/src/funcs/post-v1-search-socials-github.ts +179 -0
- package/src/funcs/post-v1-search-socials-roblox.ts +179 -0
- package/src/funcs/post-v1-search-socials-tiktok.ts +179 -0
- package/src/funcs/post-v1-tools-doogle.ts +173 -0
- package/src/funcs/post-v1-tools-doublecounter.ts +176 -0
- package/src/funcs/post-v1-tools-intelx.ts +177 -0
- package/src/funcs/post-v2-search-socials-username.ts +179 -0
- package/src/hooks/hooks.ts +129 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/types.ts +108 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +39 -0
- package/src/lib/config.ts +64 -0
- package/src/lib/encodings.ts +529 -0
- package/src/lib/env.ts +61 -0
- package/src/lib/files.ts +104 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +353 -0
- package/src/lib/primitives.ts +166 -0
- package/src/lib/retries.ts +226 -0
- package/src/lib/schemas.ts +94 -0
- package/src/lib/sdks.ts +442 -0
- package/src/lib/security.ts +275 -0
- package/src/lib/url.ts +35 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/index.ts +33 -0
- package/src/models/errors/indicia-default-error.ts +40 -0
- package/src/models/errors/indicia-error.ts +35 -0
- package/src/models/errors/post-v1-search-infrastructure-certificates.ts +79 -0
- package/src/models/errors/post-v1-search-infrastructure-dns.ts +63 -0
- package/src/models/errors/post-v1-search-infrastructure-ipinfo.ts +63 -0
- package/src/models/errors/post-v1-search-infrastructure-portscan.ts +179 -0
- package/src/models/errors/post-v1-search-infrastructure-shodan.ts +63 -0
- package/src/models/errors/post-v1-search-infrastructure-whois.ts +63 -0
- package/src/models/errors/post-v1-search-intelligence-address.ts +63 -0
- package/src/models/errors/post-v1-search-intelligence-email.ts +63 -0
- package/src/models/errors/post-v1-search-intelligence-facial.ts +175 -0
- package/src/models/errors/post-v1-search-intelligence-geolocation.ts +179 -0
- package/src/models/errors/post-v1-search-intelligence-gmail.ts +63 -0
- package/src/models/errors/post-v1-search-intelligence-hudsonrock.ts +65 -0
- package/src/models/errors/post-v1-search-intelligence-person.ts +63 -0
- package/src/models/errors/post-v1-search-intelligence-phone.ts +63 -0
- package/src/models/errors/post-v1-search-intelligence-seon.ts +63 -0
- package/src/models/errors/post-v1-search-intelligence-web-dbs.ts +119 -0
- package/src/models/errors/post-v1-search-socials-discord.ts +63 -0
- package/src/models/errors/post-v1-search-socials-github.ts +60 -0
- package/src/models/errors/post-v1-search-socials-roblox.ts +60 -0
- package/src/models/errors/post-v1-search-socials-tiktok.ts +60 -0
- package/src/models/errors/post-v1-tools-doogle.ts +71 -0
- package/src/models/errors/post-v1-tools-doublecounter.ts +60 -0
- package/src/models/errors/post-v1-tools-intelx.ts +117 -0
- package/src/models/errors/post-v2-search-socials-username.ts +63 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +54 -0
- package/src/models/index.ts +5 -0
- package/src/models/operations/delete-v1-activity-by-id.ts +35 -0
- package/src/models/operations/get-v1-activity-by-id.ts +218 -0
- package/src/models/operations/get-v1-activity.ts +218 -0
- package/src/models/operations/get-v1-info.ts +230 -0
- package/src/models/operations/get-v1-organizations-by-id-audit-log.ts +99 -0
- package/src/models/operations/get-v1-organizations-by-id-cases.ts +96 -0
- package/src/models/operations/get-v1-organizations-by-id-members.ts +98 -0
- package/src/models/operations/get-v1-organizations-by-id.ts +105 -0
- package/src/models/operations/get-v1-organizations.ts +79 -0
- package/src/models/operations/get-v1-pricing.ts +38 -0
- package/src/models/operations/index.ts +39 -0
- package/src/models/operations/post-v1-organizations-by-id-credits.ts +102 -0
- package/src/models/operations/post-v1-search-infrastructure-certificates.ts +189 -0
- package/src/models/operations/post-v1-search-infrastructure-dns.ts +609 -0
- package/src/models/operations/post-v1-search-infrastructure-ipinfo.ts +147 -0
- package/src/models/operations/post-v1-search-infrastructure-portscan.ts +62 -0
- package/src/models/operations/post-v1-search-infrastructure-shodan.ts +647 -0
- package/src/models/operations/post-v1-search-infrastructure-whois.ts +313 -0
- package/src/models/operations/post-v1-search-intelligence-address.ts +217 -0
- package/src/models/operations/post-v1-search-intelligence-email.ts +104 -0
- package/src/models/operations/post-v1-search-intelligence-facial.ts +33 -0
- package/src/models/operations/post-v1-search-intelligence-geolocation.ts +50 -0
- package/src/models/operations/post-v1-search-intelligence-gmail.ts +565 -0
- package/src/models/operations/post-v1-search-intelligence-hudsonrock.ts +882 -0
- package/src/models/operations/post-v1-search-intelligence-person.ts +206 -0
- package/src/models/operations/post-v1-search-intelligence-phone.ts +366 -0
- package/src/models/operations/post-v1-search-intelligence-seon.ts +1384 -0
- package/src/models/operations/post-v1-search-intelligence-web-dbs.ts +1652 -0
- package/src/models/operations/post-v1-search-socials-discord.ts +678 -0
- package/src/models/operations/post-v1-search-socials-github.ts +127 -0
- package/src/models/operations/post-v1-search-socials-roblox.ts +312 -0
- package/src/models/operations/post-v1-search-socials-tiktok.ts +1449 -0
- package/src/models/operations/post-v1-tools-doogle.ts +282 -0
- package/src/models/operations/post-v1-tools-doublecounter.ts +63 -0
- package/src/models/operations/post-v1-tools-intelx.ts +157 -0
- package/src/models/operations/post-v2-search-socials-username.ts +870 -0
- package/src/models/security.ts +34 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/sdk.ts +753 -0
- package/src/types/async.ts +69 -0
- package/src/types/blobs.ts +33 -0
- package/src/types/const-date-time.ts +15 -0
- package/src/types/default-to-zero-value.ts +33 -0
- package/src/types/enums.ts +45 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +13 -0
- package/src/types/operations.ts +105 -0
- package/src/types/primitives.ts +140 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +153 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
|
@@ -0,0 +1,882 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import * as types from "../../types/primitives.js";
|
|
12
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
13
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
14
|
+
|
|
15
|
+
export const PostV1SearchIntelligenceHudsonrockTypeRequest = {
|
|
16
|
+
Domain: "domain",
|
|
17
|
+
Email: "email",
|
|
18
|
+
Ip: "ip",
|
|
19
|
+
Password: "password",
|
|
20
|
+
Username: "username",
|
|
21
|
+
} as const;
|
|
22
|
+
export type PostV1SearchIntelligenceHudsonrockTypeRequest = ClosedEnum<
|
|
23
|
+
typeof PostV1SearchIntelligenceHudsonrockTypeRequest
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
export type PostV1SearchIntelligenceHudsonrockRequest = {
|
|
27
|
+
query: string;
|
|
28
|
+
type: PostV1SearchIntelligenceHudsonrockTypeRequest;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export type Stealer = {
|
|
32
|
+
computerName: string;
|
|
33
|
+
dateCompromised: string;
|
|
34
|
+
ip: string;
|
|
35
|
+
malwarePath: string;
|
|
36
|
+
operatingSystem: string;
|
|
37
|
+
topLogins: Array<string>;
|
|
38
|
+
topPasswords: Array<string>;
|
|
39
|
+
totalCorporateServices: number;
|
|
40
|
+
totalUserServices: number;
|
|
41
|
+
stealerFamily?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export const PostV1SearchIntelligenceHudsonrockDataType2 = {
|
|
45
|
+
Domain: "domain",
|
|
46
|
+
Email: "email",
|
|
47
|
+
Ip: "ip",
|
|
48
|
+
Password: "password",
|
|
49
|
+
Username: "username",
|
|
50
|
+
} as const;
|
|
51
|
+
export type PostV1SearchIntelligenceHudsonrockDataType2 = OpenEnum<
|
|
52
|
+
typeof PostV1SearchIntelligenceHudsonrockDataType2
|
|
53
|
+
>;
|
|
54
|
+
|
|
55
|
+
export type PostV1SearchIntelligenceHudsonrockData2 = {
|
|
56
|
+
message: string;
|
|
57
|
+
stealers: Array<Stealer>;
|
|
58
|
+
type: PostV1SearchIntelligenceHudsonrockDataType2;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export type Application = {
|
|
62
|
+
keyword: string;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export type EmployeesUrl = {
|
|
66
|
+
occurrence: number;
|
|
67
|
+
type: string;
|
|
68
|
+
url: string;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export type PostV1SearchIntelligenceHudsonrockDataData = {
|
|
72
|
+
employeesUrls: Array<EmployeesUrl>;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export type PostV1SearchIntelligenceHudsonrockStats = {
|
|
76
|
+
clientsCount: Array<number>;
|
|
77
|
+
clientsUrls: Array<string>;
|
|
78
|
+
employeesCount: Array<number>;
|
|
79
|
+
employeesUrls: Array<string>;
|
|
80
|
+
totalEmployees: number;
|
|
81
|
+
totalUsers: number;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type ThirdPartyDomain = {
|
|
85
|
+
domain: string;
|
|
86
|
+
occurrence: number;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export const PostV1SearchIntelligenceHudsonrockDataType1 = {
|
|
90
|
+
Domain: "domain",
|
|
91
|
+
Email: "email",
|
|
92
|
+
Ip: "ip",
|
|
93
|
+
Password: "password",
|
|
94
|
+
Username: "username",
|
|
95
|
+
} as const;
|
|
96
|
+
export type PostV1SearchIntelligenceHudsonrockDataType1 = OpenEnum<
|
|
97
|
+
typeof PostV1SearchIntelligenceHudsonrockDataType1
|
|
98
|
+
>;
|
|
99
|
+
|
|
100
|
+
export type PostV1SearchIntelligenceHudsonrockList = {
|
|
101
|
+
count: number;
|
|
102
|
+
name: string;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export type Antiviruses = {
|
|
106
|
+
found: number;
|
|
107
|
+
free: string;
|
|
108
|
+
list: Array<PostV1SearchIntelligenceHudsonrockList>;
|
|
109
|
+
notFound: string;
|
|
110
|
+
total: number;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
export type EmployeePasswordsMedium = {
|
|
114
|
+
perc: number;
|
|
115
|
+
qty: number;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export type EmployeePasswordsStrong = {
|
|
119
|
+
perc: number;
|
|
120
|
+
qty: number;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export type EmployeePasswordsTooWeak = {
|
|
124
|
+
perc: number;
|
|
125
|
+
qty: number;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export type EmployeePasswordsWeak = {
|
|
129
|
+
perc: number;
|
|
130
|
+
qty: number;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export type EmployeePasswords = {
|
|
134
|
+
hasStats: boolean;
|
|
135
|
+
medium: EmployeePasswordsMedium;
|
|
136
|
+
strong: EmployeePasswordsStrong;
|
|
137
|
+
tooWeak: EmployeePasswordsTooWeak;
|
|
138
|
+
totalPass: number;
|
|
139
|
+
weak: EmployeePasswordsWeak;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export type StealerFamilies = {
|
|
143
|
+
acreed: number;
|
|
144
|
+
atomic: number;
|
|
145
|
+
azorult: number;
|
|
146
|
+
cryptbot: number;
|
|
147
|
+
darkCrystal: number;
|
|
148
|
+
ficker: number;
|
|
149
|
+
genericStealer: number;
|
|
150
|
+
lumma: number;
|
|
151
|
+
mystic: number;
|
|
152
|
+
predator: number;
|
|
153
|
+
raccoon: number;
|
|
154
|
+
redLine: number;
|
|
155
|
+
stealC: number;
|
|
156
|
+
taurus: number;
|
|
157
|
+
unknown: number;
|
|
158
|
+
vidar: number;
|
|
159
|
+
lastCounted: string;
|
|
160
|
+
total: number;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
export type UserPasswordsMedium = {
|
|
164
|
+
perc: number;
|
|
165
|
+
qty: number;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export type UserPasswordsStrong = {
|
|
169
|
+
perc: number;
|
|
170
|
+
qty: number;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export type UserPasswordsTooWeak = {
|
|
174
|
+
perc: number;
|
|
175
|
+
qty: number;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export type UserPasswordsWeak = {
|
|
179
|
+
perc: number;
|
|
180
|
+
qty: number;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
export type UserPasswords = {
|
|
184
|
+
hasStats: boolean;
|
|
185
|
+
medium: UserPasswordsMedium;
|
|
186
|
+
strong: UserPasswordsStrong;
|
|
187
|
+
tooWeak: UserPasswordsTooWeak;
|
|
188
|
+
totalPass: number;
|
|
189
|
+
weak: UserPasswordsWeak;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export type PostV1SearchIntelligenceHudsonrockData1 = {
|
|
193
|
+
applications: Array<Application>;
|
|
194
|
+
data: PostV1SearchIntelligenceHudsonrockDataData;
|
|
195
|
+
employees: number;
|
|
196
|
+
isShopify: boolean;
|
|
197
|
+
lastEmployeeCompromised: string;
|
|
198
|
+
lastUserCompromised: string;
|
|
199
|
+
logo: string;
|
|
200
|
+
stats: PostV1SearchIntelligenceHudsonrockStats;
|
|
201
|
+
thirdPartyDomains: Array<ThirdPartyDomain>;
|
|
202
|
+
thirdParties: number;
|
|
203
|
+
total: number;
|
|
204
|
+
totalStealers: number;
|
|
205
|
+
totalUrls: number;
|
|
206
|
+
type: PostV1SearchIntelligenceHudsonrockDataType1;
|
|
207
|
+
users: number;
|
|
208
|
+
antiviruses?: Antiviruses | undefined;
|
|
209
|
+
employeePasswords?: EmployeePasswords | undefined;
|
|
210
|
+
stealerFamilies?: StealerFamilies | undefined;
|
|
211
|
+
userPasswords?: UserPasswords | undefined;
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
export type PostV1SearchIntelligenceHudsonrockDataUnion =
|
|
215
|
+
| PostV1SearchIntelligenceHudsonrockData1
|
|
216
|
+
| PostV1SearchIntelligenceHudsonrockData2;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Search successful
|
|
220
|
+
*/
|
|
221
|
+
export type PostV1SearchIntelligenceHudsonrockResponse = {
|
|
222
|
+
data:
|
|
223
|
+
| PostV1SearchIntelligenceHudsonrockData1
|
|
224
|
+
| PostV1SearchIntelligenceHudsonrockData2;
|
|
225
|
+
success: boolean;
|
|
226
|
+
error?: string | undefined;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
/** @internal */
|
|
230
|
+
export const PostV1SearchIntelligenceHudsonrockTypeRequest$outboundSchema:
|
|
231
|
+
z.ZodMiniEnum<typeof PostV1SearchIntelligenceHudsonrockTypeRequest> = z.enum(
|
|
232
|
+
PostV1SearchIntelligenceHudsonrockTypeRequest,
|
|
233
|
+
);
|
|
234
|
+
|
|
235
|
+
/** @internal */
|
|
236
|
+
export type PostV1SearchIntelligenceHudsonrockRequest$Outbound = {
|
|
237
|
+
query: string;
|
|
238
|
+
type: string;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
/** @internal */
|
|
242
|
+
export const PostV1SearchIntelligenceHudsonrockRequest$outboundSchema:
|
|
243
|
+
z.ZodMiniType<
|
|
244
|
+
PostV1SearchIntelligenceHudsonrockRequest$Outbound,
|
|
245
|
+
PostV1SearchIntelligenceHudsonrockRequest
|
|
246
|
+
> = z.object({
|
|
247
|
+
query: z.string(),
|
|
248
|
+
type: PostV1SearchIntelligenceHudsonrockTypeRequest$outboundSchema,
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
export function postV1SearchIntelligenceHudsonrockRequestToJSON(
|
|
252
|
+
postV1SearchIntelligenceHudsonrockRequest:
|
|
253
|
+
PostV1SearchIntelligenceHudsonrockRequest,
|
|
254
|
+
): string {
|
|
255
|
+
return JSON.stringify(
|
|
256
|
+
PostV1SearchIntelligenceHudsonrockRequest$outboundSchema.parse(
|
|
257
|
+
postV1SearchIntelligenceHudsonrockRequest,
|
|
258
|
+
),
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/** @internal */
|
|
263
|
+
export const Stealer$inboundSchema: z.ZodMiniType<Stealer, unknown> = z.pipe(
|
|
264
|
+
z.object({
|
|
265
|
+
computer_name: types.string(),
|
|
266
|
+
date_compromised: types.string(),
|
|
267
|
+
ip: types.string(),
|
|
268
|
+
malware_path: types.string(),
|
|
269
|
+
operating_system: types.string(),
|
|
270
|
+
top_logins: z.array(types.string()),
|
|
271
|
+
top_passwords: z.array(types.string()),
|
|
272
|
+
total_corporate_services: types.number(),
|
|
273
|
+
total_user_services: types.number(),
|
|
274
|
+
stealer_family: types.optional(types.string()),
|
|
275
|
+
}),
|
|
276
|
+
z.transform((v) => {
|
|
277
|
+
return remap$(v, {
|
|
278
|
+
"computer_name": "computerName",
|
|
279
|
+
"date_compromised": "dateCompromised",
|
|
280
|
+
"malware_path": "malwarePath",
|
|
281
|
+
"operating_system": "operatingSystem",
|
|
282
|
+
"top_logins": "topLogins",
|
|
283
|
+
"top_passwords": "topPasswords",
|
|
284
|
+
"total_corporate_services": "totalCorporateServices",
|
|
285
|
+
"total_user_services": "totalUserServices",
|
|
286
|
+
"stealer_family": "stealerFamily",
|
|
287
|
+
});
|
|
288
|
+
}),
|
|
289
|
+
);
|
|
290
|
+
|
|
291
|
+
export function stealerFromJSON(
|
|
292
|
+
jsonString: string,
|
|
293
|
+
): SafeParseResult<Stealer, SDKValidationError> {
|
|
294
|
+
return safeParse(
|
|
295
|
+
jsonString,
|
|
296
|
+
(x) => Stealer$inboundSchema.parse(JSON.parse(x)),
|
|
297
|
+
`Failed to parse 'Stealer' from JSON`,
|
|
298
|
+
);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/** @internal */
|
|
302
|
+
export const PostV1SearchIntelligenceHudsonrockDataType2$inboundSchema:
|
|
303
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockDataType2, unknown> =
|
|
304
|
+
openEnums.inboundSchema(PostV1SearchIntelligenceHudsonrockDataType2);
|
|
305
|
+
|
|
306
|
+
/** @internal */
|
|
307
|
+
export const PostV1SearchIntelligenceHudsonrockData2$inboundSchema:
|
|
308
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockData2, unknown> = z.object({
|
|
309
|
+
message: types.string(),
|
|
310
|
+
stealers: z.array(z.lazy(() => Stealer$inboundSchema)),
|
|
311
|
+
type: PostV1SearchIntelligenceHudsonrockDataType2$inboundSchema,
|
|
312
|
+
});
|
|
313
|
+
|
|
314
|
+
export function postV1SearchIntelligenceHudsonrockData2FromJSON(
|
|
315
|
+
jsonString: string,
|
|
316
|
+
): SafeParseResult<
|
|
317
|
+
PostV1SearchIntelligenceHudsonrockData2,
|
|
318
|
+
SDKValidationError
|
|
319
|
+
> {
|
|
320
|
+
return safeParse(
|
|
321
|
+
jsonString,
|
|
322
|
+
(x) =>
|
|
323
|
+
PostV1SearchIntelligenceHudsonrockData2$inboundSchema.parse(
|
|
324
|
+
JSON.parse(x),
|
|
325
|
+
),
|
|
326
|
+
`Failed to parse 'PostV1SearchIntelligenceHudsonrockData2' from JSON`,
|
|
327
|
+
);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/** @internal */
|
|
331
|
+
export const Application$inboundSchema: z.ZodMiniType<Application, unknown> = z
|
|
332
|
+
.object({
|
|
333
|
+
keyword: types.string(),
|
|
334
|
+
});
|
|
335
|
+
|
|
336
|
+
export function applicationFromJSON(
|
|
337
|
+
jsonString: string,
|
|
338
|
+
): SafeParseResult<Application, SDKValidationError> {
|
|
339
|
+
return safeParse(
|
|
340
|
+
jsonString,
|
|
341
|
+
(x) => Application$inboundSchema.parse(JSON.parse(x)),
|
|
342
|
+
`Failed to parse 'Application' from JSON`,
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/** @internal */
|
|
347
|
+
export const EmployeesUrl$inboundSchema: z.ZodMiniType<EmployeesUrl, unknown> =
|
|
348
|
+
z.object({
|
|
349
|
+
occurrence: types.number(),
|
|
350
|
+
type: types.string(),
|
|
351
|
+
url: types.string(),
|
|
352
|
+
});
|
|
353
|
+
|
|
354
|
+
export function employeesUrlFromJSON(
|
|
355
|
+
jsonString: string,
|
|
356
|
+
): SafeParseResult<EmployeesUrl, SDKValidationError> {
|
|
357
|
+
return safeParse(
|
|
358
|
+
jsonString,
|
|
359
|
+
(x) => EmployeesUrl$inboundSchema.parse(JSON.parse(x)),
|
|
360
|
+
`Failed to parse 'EmployeesUrl' from JSON`,
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/** @internal */
|
|
365
|
+
export const PostV1SearchIntelligenceHudsonrockDataData$inboundSchema:
|
|
366
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockDataData, unknown> = z.pipe(
|
|
367
|
+
z.object({
|
|
368
|
+
employees_urls: z.array(z.lazy(() => EmployeesUrl$inboundSchema)),
|
|
369
|
+
}),
|
|
370
|
+
z.transform((v) => {
|
|
371
|
+
return remap$(v, {
|
|
372
|
+
"employees_urls": "employeesUrls",
|
|
373
|
+
});
|
|
374
|
+
}),
|
|
375
|
+
);
|
|
376
|
+
|
|
377
|
+
export function postV1SearchIntelligenceHudsonrockDataDataFromJSON(
|
|
378
|
+
jsonString: string,
|
|
379
|
+
): SafeParseResult<
|
|
380
|
+
PostV1SearchIntelligenceHudsonrockDataData,
|
|
381
|
+
SDKValidationError
|
|
382
|
+
> {
|
|
383
|
+
return safeParse(
|
|
384
|
+
jsonString,
|
|
385
|
+
(x) =>
|
|
386
|
+
PostV1SearchIntelligenceHudsonrockDataData$inboundSchema.parse(
|
|
387
|
+
JSON.parse(x),
|
|
388
|
+
),
|
|
389
|
+
`Failed to parse 'PostV1SearchIntelligenceHudsonrockDataData' from JSON`,
|
|
390
|
+
);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/** @internal */
|
|
394
|
+
export const PostV1SearchIntelligenceHudsonrockStats$inboundSchema:
|
|
395
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockStats, unknown> = z.pipe(
|
|
396
|
+
z.object({
|
|
397
|
+
clients_count: z.array(types.number()),
|
|
398
|
+
clients_urls: z.array(types.string()),
|
|
399
|
+
employees_count: z.array(types.number()),
|
|
400
|
+
employees_urls: z.array(types.string()),
|
|
401
|
+
totalEmployees: types.number(),
|
|
402
|
+
totalUsers: types.number(),
|
|
403
|
+
}),
|
|
404
|
+
z.transform((v) => {
|
|
405
|
+
return remap$(v, {
|
|
406
|
+
"clients_count": "clientsCount",
|
|
407
|
+
"clients_urls": "clientsUrls",
|
|
408
|
+
"employees_count": "employeesCount",
|
|
409
|
+
"employees_urls": "employeesUrls",
|
|
410
|
+
});
|
|
411
|
+
}),
|
|
412
|
+
);
|
|
413
|
+
|
|
414
|
+
export function postV1SearchIntelligenceHudsonrockStatsFromJSON(
|
|
415
|
+
jsonString: string,
|
|
416
|
+
): SafeParseResult<
|
|
417
|
+
PostV1SearchIntelligenceHudsonrockStats,
|
|
418
|
+
SDKValidationError
|
|
419
|
+
> {
|
|
420
|
+
return safeParse(
|
|
421
|
+
jsonString,
|
|
422
|
+
(x) =>
|
|
423
|
+
PostV1SearchIntelligenceHudsonrockStats$inboundSchema.parse(
|
|
424
|
+
JSON.parse(x),
|
|
425
|
+
),
|
|
426
|
+
`Failed to parse 'PostV1SearchIntelligenceHudsonrockStats' from JSON`,
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/** @internal */
|
|
431
|
+
export const ThirdPartyDomain$inboundSchema: z.ZodMiniType<
|
|
432
|
+
ThirdPartyDomain,
|
|
433
|
+
unknown
|
|
434
|
+
> = z.object({
|
|
435
|
+
domain: types.string(),
|
|
436
|
+
occurrence: types.number(),
|
|
437
|
+
});
|
|
438
|
+
|
|
439
|
+
export function thirdPartyDomainFromJSON(
|
|
440
|
+
jsonString: string,
|
|
441
|
+
): SafeParseResult<ThirdPartyDomain, SDKValidationError> {
|
|
442
|
+
return safeParse(
|
|
443
|
+
jsonString,
|
|
444
|
+
(x) => ThirdPartyDomain$inboundSchema.parse(JSON.parse(x)),
|
|
445
|
+
`Failed to parse 'ThirdPartyDomain' from JSON`,
|
|
446
|
+
);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/** @internal */
|
|
450
|
+
export const PostV1SearchIntelligenceHudsonrockDataType1$inboundSchema:
|
|
451
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockDataType1, unknown> =
|
|
452
|
+
openEnums.inboundSchema(PostV1SearchIntelligenceHudsonrockDataType1);
|
|
453
|
+
|
|
454
|
+
/** @internal */
|
|
455
|
+
export const PostV1SearchIntelligenceHudsonrockList$inboundSchema:
|
|
456
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockList, unknown> = z.object({
|
|
457
|
+
count: types.number(),
|
|
458
|
+
name: types.string(),
|
|
459
|
+
});
|
|
460
|
+
|
|
461
|
+
export function postV1SearchIntelligenceHudsonrockListFromJSON(
|
|
462
|
+
jsonString: string,
|
|
463
|
+
): SafeParseResult<PostV1SearchIntelligenceHudsonrockList, SDKValidationError> {
|
|
464
|
+
return safeParse(
|
|
465
|
+
jsonString,
|
|
466
|
+
(x) =>
|
|
467
|
+
PostV1SearchIntelligenceHudsonrockList$inboundSchema.parse(JSON.parse(x)),
|
|
468
|
+
`Failed to parse 'PostV1SearchIntelligenceHudsonrockList' from JSON`,
|
|
469
|
+
);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/** @internal */
|
|
473
|
+
export const Antiviruses$inboundSchema: z.ZodMiniType<Antiviruses, unknown> = z
|
|
474
|
+
.pipe(
|
|
475
|
+
z.object({
|
|
476
|
+
found: types.number(),
|
|
477
|
+
free: types.string(),
|
|
478
|
+
list: z.array(
|
|
479
|
+
z.lazy(() => PostV1SearchIntelligenceHudsonrockList$inboundSchema),
|
|
480
|
+
),
|
|
481
|
+
not_found: types.string(),
|
|
482
|
+
total: types.number(),
|
|
483
|
+
}),
|
|
484
|
+
z.transform((v) => {
|
|
485
|
+
return remap$(v, {
|
|
486
|
+
"not_found": "notFound",
|
|
487
|
+
});
|
|
488
|
+
}),
|
|
489
|
+
);
|
|
490
|
+
|
|
491
|
+
export function antivirusesFromJSON(
|
|
492
|
+
jsonString: string,
|
|
493
|
+
): SafeParseResult<Antiviruses, SDKValidationError> {
|
|
494
|
+
return safeParse(
|
|
495
|
+
jsonString,
|
|
496
|
+
(x) => Antiviruses$inboundSchema.parse(JSON.parse(x)),
|
|
497
|
+
`Failed to parse 'Antiviruses' from JSON`,
|
|
498
|
+
);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/** @internal */
|
|
502
|
+
export const EmployeePasswordsMedium$inboundSchema: z.ZodMiniType<
|
|
503
|
+
EmployeePasswordsMedium,
|
|
504
|
+
unknown
|
|
505
|
+
> = z.object({
|
|
506
|
+
perc: types.number(),
|
|
507
|
+
qty: types.number(),
|
|
508
|
+
});
|
|
509
|
+
|
|
510
|
+
export function employeePasswordsMediumFromJSON(
|
|
511
|
+
jsonString: string,
|
|
512
|
+
): SafeParseResult<EmployeePasswordsMedium, SDKValidationError> {
|
|
513
|
+
return safeParse(
|
|
514
|
+
jsonString,
|
|
515
|
+
(x) => EmployeePasswordsMedium$inboundSchema.parse(JSON.parse(x)),
|
|
516
|
+
`Failed to parse 'EmployeePasswordsMedium' from JSON`,
|
|
517
|
+
);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/** @internal */
|
|
521
|
+
export const EmployeePasswordsStrong$inboundSchema: z.ZodMiniType<
|
|
522
|
+
EmployeePasswordsStrong,
|
|
523
|
+
unknown
|
|
524
|
+
> = z.object({
|
|
525
|
+
perc: types.number(),
|
|
526
|
+
qty: types.number(),
|
|
527
|
+
});
|
|
528
|
+
|
|
529
|
+
export function employeePasswordsStrongFromJSON(
|
|
530
|
+
jsonString: string,
|
|
531
|
+
): SafeParseResult<EmployeePasswordsStrong, SDKValidationError> {
|
|
532
|
+
return safeParse(
|
|
533
|
+
jsonString,
|
|
534
|
+
(x) => EmployeePasswordsStrong$inboundSchema.parse(JSON.parse(x)),
|
|
535
|
+
`Failed to parse 'EmployeePasswordsStrong' from JSON`,
|
|
536
|
+
);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/** @internal */
|
|
540
|
+
export const EmployeePasswordsTooWeak$inboundSchema: z.ZodMiniType<
|
|
541
|
+
EmployeePasswordsTooWeak,
|
|
542
|
+
unknown
|
|
543
|
+
> = z.object({
|
|
544
|
+
perc: types.number(),
|
|
545
|
+
qty: types.number(),
|
|
546
|
+
});
|
|
547
|
+
|
|
548
|
+
export function employeePasswordsTooWeakFromJSON(
|
|
549
|
+
jsonString: string,
|
|
550
|
+
): SafeParseResult<EmployeePasswordsTooWeak, SDKValidationError> {
|
|
551
|
+
return safeParse(
|
|
552
|
+
jsonString,
|
|
553
|
+
(x) => EmployeePasswordsTooWeak$inboundSchema.parse(JSON.parse(x)),
|
|
554
|
+
`Failed to parse 'EmployeePasswordsTooWeak' from JSON`,
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/** @internal */
|
|
559
|
+
export const EmployeePasswordsWeak$inboundSchema: z.ZodMiniType<
|
|
560
|
+
EmployeePasswordsWeak,
|
|
561
|
+
unknown
|
|
562
|
+
> = z.object({
|
|
563
|
+
perc: types.number(),
|
|
564
|
+
qty: types.number(),
|
|
565
|
+
});
|
|
566
|
+
|
|
567
|
+
export function employeePasswordsWeakFromJSON(
|
|
568
|
+
jsonString: string,
|
|
569
|
+
): SafeParseResult<EmployeePasswordsWeak, SDKValidationError> {
|
|
570
|
+
return safeParse(
|
|
571
|
+
jsonString,
|
|
572
|
+
(x) => EmployeePasswordsWeak$inboundSchema.parse(JSON.parse(x)),
|
|
573
|
+
`Failed to parse 'EmployeePasswordsWeak' from JSON`,
|
|
574
|
+
);
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/** @internal */
|
|
578
|
+
export const EmployeePasswords$inboundSchema: z.ZodMiniType<
|
|
579
|
+
EmployeePasswords,
|
|
580
|
+
unknown
|
|
581
|
+
> = z.pipe(
|
|
582
|
+
z.object({
|
|
583
|
+
has_stats: types.boolean(),
|
|
584
|
+
medium: z.lazy(() => EmployeePasswordsMedium$inboundSchema),
|
|
585
|
+
strong: z.lazy(() => EmployeePasswordsStrong$inboundSchema),
|
|
586
|
+
too_weak: z.lazy(() => EmployeePasswordsTooWeak$inboundSchema),
|
|
587
|
+
totalPass: types.number(),
|
|
588
|
+
weak: z.lazy(() => EmployeePasswordsWeak$inboundSchema),
|
|
589
|
+
}),
|
|
590
|
+
z.transform((v) => {
|
|
591
|
+
return remap$(v, {
|
|
592
|
+
"has_stats": "hasStats",
|
|
593
|
+
"too_weak": "tooWeak",
|
|
594
|
+
});
|
|
595
|
+
}),
|
|
596
|
+
);
|
|
597
|
+
|
|
598
|
+
export function employeePasswordsFromJSON(
|
|
599
|
+
jsonString: string,
|
|
600
|
+
): SafeParseResult<EmployeePasswords, SDKValidationError> {
|
|
601
|
+
return safeParse(
|
|
602
|
+
jsonString,
|
|
603
|
+
(x) => EmployeePasswords$inboundSchema.parse(JSON.parse(x)),
|
|
604
|
+
`Failed to parse 'EmployeePasswords' from JSON`,
|
|
605
|
+
);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/** @internal */
|
|
609
|
+
export const StealerFamilies$inboundSchema: z.ZodMiniType<
|
|
610
|
+
StealerFamilies,
|
|
611
|
+
unknown
|
|
612
|
+
> = z.pipe(
|
|
613
|
+
z.object({
|
|
614
|
+
Acreed: types.number(),
|
|
615
|
+
Atomic: types.number(),
|
|
616
|
+
Azorult: types.number(),
|
|
617
|
+
CRYPTBOT: types.number(),
|
|
618
|
+
DarkCrystal: types.number(),
|
|
619
|
+
Ficker: types.number(),
|
|
620
|
+
"Generic Stealer": types.number(),
|
|
621
|
+
Lumma: types.number(),
|
|
622
|
+
Mystic: types.number(),
|
|
623
|
+
Predator: types.number(),
|
|
624
|
+
Raccoon: types.number(),
|
|
625
|
+
RedLine: types.number(),
|
|
626
|
+
StealC: types.number(),
|
|
627
|
+
Taurus: types.number(),
|
|
628
|
+
UNKNOWN: types.number(),
|
|
629
|
+
Vidar: types.number(),
|
|
630
|
+
last_counted: types.string(),
|
|
631
|
+
total: types.number(),
|
|
632
|
+
}),
|
|
633
|
+
z.transform((v) => {
|
|
634
|
+
return remap$(v, {
|
|
635
|
+
"Acreed": "acreed",
|
|
636
|
+
"Atomic": "atomic",
|
|
637
|
+
"Azorult": "azorult",
|
|
638
|
+
"CRYPTBOT": "cryptbot",
|
|
639
|
+
"DarkCrystal": "darkCrystal",
|
|
640
|
+
"Ficker": "ficker",
|
|
641
|
+
"Generic Stealer": "genericStealer",
|
|
642
|
+
"Lumma": "lumma",
|
|
643
|
+
"Mystic": "mystic",
|
|
644
|
+
"Predator": "predator",
|
|
645
|
+
"Raccoon": "raccoon",
|
|
646
|
+
"RedLine": "redLine",
|
|
647
|
+
"StealC": "stealC",
|
|
648
|
+
"Taurus": "taurus",
|
|
649
|
+
"UNKNOWN": "unknown",
|
|
650
|
+
"Vidar": "vidar",
|
|
651
|
+
"last_counted": "lastCounted",
|
|
652
|
+
});
|
|
653
|
+
}),
|
|
654
|
+
);
|
|
655
|
+
|
|
656
|
+
export function stealerFamiliesFromJSON(
|
|
657
|
+
jsonString: string,
|
|
658
|
+
): SafeParseResult<StealerFamilies, SDKValidationError> {
|
|
659
|
+
return safeParse(
|
|
660
|
+
jsonString,
|
|
661
|
+
(x) => StealerFamilies$inboundSchema.parse(JSON.parse(x)),
|
|
662
|
+
`Failed to parse 'StealerFamilies' from JSON`,
|
|
663
|
+
);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/** @internal */
|
|
667
|
+
export const UserPasswordsMedium$inboundSchema: z.ZodMiniType<
|
|
668
|
+
UserPasswordsMedium,
|
|
669
|
+
unknown
|
|
670
|
+
> = z.object({
|
|
671
|
+
perc: types.number(),
|
|
672
|
+
qty: types.number(),
|
|
673
|
+
});
|
|
674
|
+
|
|
675
|
+
export function userPasswordsMediumFromJSON(
|
|
676
|
+
jsonString: string,
|
|
677
|
+
): SafeParseResult<UserPasswordsMedium, SDKValidationError> {
|
|
678
|
+
return safeParse(
|
|
679
|
+
jsonString,
|
|
680
|
+
(x) => UserPasswordsMedium$inboundSchema.parse(JSON.parse(x)),
|
|
681
|
+
`Failed to parse 'UserPasswordsMedium' from JSON`,
|
|
682
|
+
);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/** @internal */
|
|
686
|
+
export const UserPasswordsStrong$inboundSchema: z.ZodMiniType<
|
|
687
|
+
UserPasswordsStrong,
|
|
688
|
+
unknown
|
|
689
|
+
> = z.object({
|
|
690
|
+
perc: types.number(),
|
|
691
|
+
qty: types.number(),
|
|
692
|
+
});
|
|
693
|
+
|
|
694
|
+
export function userPasswordsStrongFromJSON(
|
|
695
|
+
jsonString: string,
|
|
696
|
+
): SafeParseResult<UserPasswordsStrong, SDKValidationError> {
|
|
697
|
+
return safeParse(
|
|
698
|
+
jsonString,
|
|
699
|
+
(x) => UserPasswordsStrong$inboundSchema.parse(JSON.parse(x)),
|
|
700
|
+
`Failed to parse 'UserPasswordsStrong' from JSON`,
|
|
701
|
+
);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/** @internal */
|
|
705
|
+
export const UserPasswordsTooWeak$inboundSchema: z.ZodMiniType<
|
|
706
|
+
UserPasswordsTooWeak,
|
|
707
|
+
unknown
|
|
708
|
+
> = z.object({
|
|
709
|
+
perc: types.number(),
|
|
710
|
+
qty: types.number(),
|
|
711
|
+
});
|
|
712
|
+
|
|
713
|
+
export function userPasswordsTooWeakFromJSON(
|
|
714
|
+
jsonString: string,
|
|
715
|
+
): SafeParseResult<UserPasswordsTooWeak, SDKValidationError> {
|
|
716
|
+
return safeParse(
|
|
717
|
+
jsonString,
|
|
718
|
+
(x) => UserPasswordsTooWeak$inboundSchema.parse(JSON.parse(x)),
|
|
719
|
+
`Failed to parse 'UserPasswordsTooWeak' from JSON`,
|
|
720
|
+
);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/** @internal */
|
|
724
|
+
export const UserPasswordsWeak$inboundSchema: z.ZodMiniType<
|
|
725
|
+
UserPasswordsWeak,
|
|
726
|
+
unknown
|
|
727
|
+
> = z.object({
|
|
728
|
+
perc: types.number(),
|
|
729
|
+
qty: types.number(),
|
|
730
|
+
});
|
|
731
|
+
|
|
732
|
+
export function userPasswordsWeakFromJSON(
|
|
733
|
+
jsonString: string,
|
|
734
|
+
): SafeParseResult<UserPasswordsWeak, SDKValidationError> {
|
|
735
|
+
return safeParse(
|
|
736
|
+
jsonString,
|
|
737
|
+
(x) => UserPasswordsWeak$inboundSchema.parse(JSON.parse(x)),
|
|
738
|
+
`Failed to parse 'UserPasswordsWeak' from JSON`,
|
|
739
|
+
);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/** @internal */
|
|
743
|
+
export const UserPasswords$inboundSchema: z.ZodMiniType<
|
|
744
|
+
UserPasswords,
|
|
745
|
+
unknown
|
|
746
|
+
> = z.pipe(
|
|
747
|
+
z.object({
|
|
748
|
+
has_stats: types.boolean(),
|
|
749
|
+
medium: z.lazy(() => UserPasswordsMedium$inboundSchema),
|
|
750
|
+
strong: z.lazy(() => UserPasswordsStrong$inboundSchema),
|
|
751
|
+
too_weak: z.lazy(() => UserPasswordsTooWeak$inboundSchema),
|
|
752
|
+
totalPass: types.number(),
|
|
753
|
+
weak: z.lazy(() => UserPasswordsWeak$inboundSchema),
|
|
754
|
+
}),
|
|
755
|
+
z.transform((v) => {
|
|
756
|
+
return remap$(v, {
|
|
757
|
+
"has_stats": "hasStats",
|
|
758
|
+
"too_weak": "tooWeak",
|
|
759
|
+
});
|
|
760
|
+
}),
|
|
761
|
+
);
|
|
762
|
+
|
|
763
|
+
export function userPasswordsFromJSON(
|
|
764
|
+
jsonString: string,
|
|
765
|
+
): SafeParseResult<UserPasswords, SDKValidationError> {
|
|
766
|
+
return safeParse(
|
|
767
|
+
jsonString,
|
|
768
|
+
(x) => UserPasswords$inboundSchema.parse(JSON.parse(x)),
|
|
769
|
+
`Failed to parse 'UserPasswords' from JSON`,
|
|
770
|
+
);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
/** @internal */
|
|
774
|
+
export const PostV1SearchIntelligenceHudsonrockData1$inboundSchema:
|
|
775
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockData1, unknown> = z.pipe(
|
|
776
|
+
z.object({
|
|
777
|
+
applications: z.array(z.lazy(() => Application$inboundSchema)),
|
|
778
|
+
data: z.lazy(() =>
|
|
779
|
+
PostV1SearchIntelligenceHudsonrockDataData$inboundSchema
|
|
780
|
+
),
|
|
781
|
+
employees: types.number(),
|
|
782
|
+
is_shopify: types.boolean(),
|
|
783
|
+
last_employee_compromised: types.string(),
|
|
784
|
+
last_user_compromised: types.string(),
|
|
785
|
+
logo: types.string(),
|
|
786
|
+
stats: z.lazy(() =>
|
|
787
|
+
PostV1SearchIntelligenceHudsonrockStats$inboundSchema
|
|
788
|
+
),
|
|
789
|
+
thirdPartyDomains: z.array(z.lazy(() => ThirdPartyDomain$inboundSchema)),
|
|
790
|
+
third_parties: types.number(),
|
|
791
|
+
total: types.number(),
|
|
792
|
+
totalStealers: types.number(),
|
|
793
|
+
totalUrls: types.number(),
|
|
794
|
+
type: PostV1SearchIntelligenceHudsonrockDataType1$inboundSchema,
|
|
795
|
+
users: types.number(),
|
|
796
|
+
antiviruses: types.optional(z.lazy(() => Antiviruses$inboundSchema)),
|
|
797
|
+
employeePasswords: types.optional(
|
|
798
|
+
z.lazy(() => EmployeePasswords$inboundSchema),
|
|
799
|
+
),
|
|
800
|
+
stealerFamilies: types.optional(
|
|
801
|
+
z.lazy(() => StealerFamilies$inboundSchema),
|
|
802
|
+
),
|
|
803
|
+
userPasswords: types.optional(z.lazy(() => UserPasswords$inboundSchema)),
|
|
804
|
+
}),
|
|
805
|
+
z.transform((v) => {
|
|
806
|
+
return remap$(v, {
|
|
807
|
+
"is_shopify": "isShopify",
|
|
808
|
+
"last_employee_compromised": "lastEmployeeCompromised",
|
|
809
|
+
"last_user_compromised": "lastUserCompromised",
|
|
810
|
+
"third_parties": "thirdParties",
|
|
811
|
+
});
|
|
812
|
+
}),
|
|
813
|
+
);
|
|
814
|
+
|
|
815
|
+
export function postV1SearchIntelligenceHudsonrockData1FromJSON(
|
|
816
|
+
jsonString: string,
|
|
817
|
+
): SafeParseResult<
|
|
818
|
+
PostV1SearchIntelligenceHudsonrockData1,
|
|
819
|
+
SDKValidationError
|
|
820
|
+
> {
|
|
821
|
+
return safeParse(
|
|
822
|
+
jsonString,
|
|
823
|
+
(x) =>
|
|
824
|
+
PostV1SearchIntelligenceHudsonrockData1$inboundSchema.parse(
|
|
825
|
+
JSON.parse(x),
|
|
826
|
+
),
|
|
827
|
+
`Failed to parse 'PostV1SearchIntelligenceHudsonrockData1' from JSON`,
|
|
828
|
+
);
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/** @internal */
|
|
832
|
+
export const PostV1SearchIntelligenceHudsonrockDataUnion$inboundSchema:
|
|
833
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockDataUnion, unknown> =
|
|
834
|
+
smartUnion([
|
|
835
|
+
z.lazy(() => PostV1SearchIntelligenceHudsonrockData1$inboundSchema),
|
|
836
|
+
z.lazy(() => PostV1SearchIntelligenceHudsonrockData2$inboundSchema),
|
|
837
|
+
]);
|
|
838
|
+
|
|
839
|
+
export function postV1SearchIntelligenceHudsonrockDataUnionFromJSON(
|
|
840
|
+
jsonString: string,
|
|
841
|
+
): SafeParseResult<
|
|
842
|
+
PostV1SearchIntelligenceHudsonrockDataUnion,
|
|
843
|
+
SDKValidationError
|
|
844
|
+
> {
|
|
845
|
+
return safeParse(
|
|
846
|
+
jsonString,
|
|
847
|
+
(x) =>
|
|
848
|
+
PostV1SearchIntelligenceHudsonrockDataUnion$inboundSchema.parse(
|
|
849
|
+
JSON.parse(x),
|
|
850
|
+
),
|
|
851
|
+
`Failed to parse 'PostV1SearchIntelligenceHudsonrockDataUnion' from JSON`,
|
|
852
|
+
);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/** @internal */
|
|
856
|
+
export const PostV1SearchIntelligenceHudsonrockResponse$inboundSchema:
|
|
857
|
+
z.ZodMiniType<PostV1SearchIntelligenceHudsonrockResponse, unknown> = z.object(
|
|
858
|
+
{
|
|
859
|
+
data: smartUnion([
|
|
860
|
+
z.lazy(() => PostV1SearchIntelligenceHudsonrockData1$inboundSchema),
|
|
861
|
+
z.lazy(() => PostV1SearchIntelligenceHudsonrockData2$inboundSchema),
|
|
862
|
+
]),
|
|
863
|
+
success: types.boolean(),
|
|
864
|
+
error: types.optional(types.string()),
|
|
865
|
+
},
|
|
866
|
+
);
|
|
867
|
+
|
|
868
|
+
export function postV1SearchIntelligenceHudsonrockResponseFromJSON(
|
|
869
|
+
jsonString: string,
|
|
870
|
+
): SafeParseResult<
|
|
871
|
+
PostV1SearchIntelligenceHudsonrockResponse,
|
|
872
|
+
SDKValidationError
|
|
873
|
+
> {
|
|
874
|
+
return safeParse(
|
|
875
|
+
jsonString,
|
|
876
|
+
(x) =>
|
|
877
|
+
PostV1SearchIntelligenceHudsonrockResponse$inboundSchema.parse(
|
|
878
|
+
JSON.parse(x),
|
|
879
|
+
),
|
|
880
|
+
`Failed to parse 'PostV1SearchIntelligenceHudsonrockResponse' from JSON`,
|
|
881
|
+
);
|
|
882
|
+
}
|