@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,1652 @@
|
|
|
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 {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import * as openEnums from "../../types/enums.js";
|
|
12
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
13
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
14
|
+
import * as types from "../../types/primitives.js";
|
|
15
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
16
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
17
|
+
|
|
18
|
+
export const Service = {
|
|
19
|
+
Cloudsint: "cloudsint",
|
|
20
|
+
IntelligencexIdentityportal: "intelligencex.identityportal",
|
|
21
|
+
Leakcheck: "leakcheck",
|
|
22
|
+
Snusbase: "snusbase",
|
|
23
|
+
} as const;
|
|
24
|
+
export type Service = ClosedEnum<typeof Service>;
|
|
25
|
+
|
|
26
|
+
export const CloudsintTypeRequest = {
|
|
27
|
+
Discordid: "discordid",
|
|
28
|
+
Email: "email",
|
|
29
|
+
Ip: "ip",
|
|
30
|
+
Name: "name",
|
|
31
|
+
Password: "password",
|
|
32
|
+
Phone: "phone",
|
|
33
|
+
Steamid: "steamid",
|
|
34
|
+
Url: "url",
|
|
35
|
+
Username: "username",
|
|
36
|
+
} as const;
|
|
37
|
+
export type CloudsintTypeRequest = ClosedEnum<typeof CloudsintTypeRequest>;
|
|
38
|
+
|
|
39
|
+
export const IntelxType = {
|
|
40
|
+
Domain: "domain",
|
|
41
|
+
Email: "email",
|
|
42
|
+
Ip: "ip",
|
|
43
|
+
Phone: "phone",
|
|
44
|
+
Url: "url",
|
|
45
|
+
} as const;
|
|
46
|
+
export type IntelxType = ClosedEnum<typeof IntelxType>;
|
|
47
|
+
|
|
48
|
+
export const LeakCheckType = {
|
|
49
|
+
Auto: "auto",
|
|
50
|
+
Domain: "domain",
|
|
51
|
+
Email: "email",
|
|
52
|
+
Hash: "hash",
|
|
53
|
+
Keyword: "keyword",
|
|
54
|
+
Origin: "origin",
|
|
55
|
+
Password: "password",
|
|
56
|
+
Phash: "phash",
|
|
57
|
+
Phone: "phone",
|
|
58
|
+
Username: "username",
|
|
59
|
+
} as const;
|
|
60
|
+
export type LeakCheckType = ClosedEnum<typeof LeakCheckType>;
|
|
61
|
+
|
|
62
|
+
export const SnusbaseType = {
|
|
63
|
+
Domain: "_domain",
|
|
64
|
+
Email: "email",
|
|
65
|
+
Hash: "hash",
|
|
66
|
+
Lastip: "lastip",
|
|
67
|
+
Name: "name",
|
|
68
|
+
Password: "password",
|
|
69
|
+
Phone: "phone",
|
|
70
|
+
Username: "username",
|
|
71
|
+
Wildcard: "wildcard",
|
|
72
|
+
} as const;
|
|
73
|
+
export type SnusbaseType = ClosedEnum<typeof SnusbaseType>;
|
|
74
|
+
|
|
75
|
+
export type PostV1SearchIntelligenceWebDbsRequest = {
|
|
76
|
+
query: string;
|
|
77
|
+
services: Array<Service>;
|
|
78
|
+
cloudsintType?: CloudsintTypeRequest | undefined;
|
|
79
|
+
intelxType?: IntelxType | undefined;
|
|
80
|
+
leakCheckType?: LeakCheckType | undefined;
|
|
81
|
+
snusbaseType?: SnusbaseType | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type PostV1SearchIntelligenceWebDbsBreach = {
|
|
85
|
+
email: string;
|
|
86
|
+
id: string;
|
|
87
|
+
importedAt: string;
|
|
88
|
+
password: string;
|
|
89
|
+
source: string;
|
|
90
|
+
sourceDate: string;
|
|
91
|
+
sourceName: string;
|
|
92
|
+
url: string;
|
|
93
|
+
username: string;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export const CloudsintTypeResponse = {
|
|
97
|
+
Discordid: "discordid",
|
|
98
|
+
Email: "email",
|
|
99
|
+
Ip: "ip",
|
|
100
|
+
Name: "name",
|
|
101
|
+
Password: "password",
|
|
102
|
+
Phone: "phone",
|
|
103
|
+
Steamid: "steamid",
|
|
104
|
+
Url: "url",
|
|
105
|
+
Username: "username",
|
|
106
|
+
} as const;
|
|
107
|
+
export type CloudsintTypeResponse = OpenEnum<typeof CloudsintTypeResponse>;
|
|
108
|
+
|
|
109
|
+
export type PostV1SearchIntelligenceWebDbsData = {
|
|
110
|
+
breaches: Array<PostV1SearchIntelligenceWebDbsBreach>;
|
|
111
|
+
query: string;
|
|
112
|
+
totalMatches: number;
|
|
113
|
+
type: CloudsintTypeResponse;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export type Cloudsint = {
|
|
117
|
+
data: PostV1SearchIntelligenceWebDbsData;
|
|
118
|
+
duration: number;
|
|
119
|
+
success: boolean;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export type LogInfo = {
|
|
123
|
+
hwid: string | null;
|
|
124
|
+
name: string | null;
|
|
125
|
+
systemName: string | null;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export type Credential = {
|
|
129
|
+
logInfo: LogInfo;
|
|
130
|
+
date?: string | undefined;
|
|
131
|
+
login?: string | undefined;
|
|
132
|
+
password?: string | undefined;
|
|
133
|
+
url?: string | undefined;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
export type Ghosint = {
|
|
137
|
+
count: number;
|
|
138
|
+
credentials: Array<Credential>;
|
|
139
|
+
resultId: string;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export type ResultsSource = {
|
|
143
|
+
date?: string | undefined;
|
|
144
|
+
name?: string | undefined;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
export type ResultsResults = {
|
|
148
|
+
id: string;
|
|
149
|
+
source: ResultsSource;
|
|
150
|
+
email?: string | undefined;
|
|
151
|
+
fullName?: string | undefined;
|
|
152
|
+
hash?: string | undefined;
|
|
153
|
+
ipAddress?: string | undefined;
|
|
154
|
+
otherFields?: { [k: string]: string } | undefined;
|
|
155
|
+
password?: string | undefined;
|
|
156
|
+
phoneNumber?: string | undefined;
|
|
157
|
+
sensitiveFields?: { [k: string]: string } | undefined;
|
|
158
|
+
username?: string | undefined;
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
export type Results = {
|
|
162
|
+
databases: number;
|
|
163
|
+
firstSeen: string;
|
|
164
|
+
found: number;
|
|
165
|
+
lastSeen: string;
|
|
166
|
+
results: ResultsResults;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export type Hackcheck = {
|
|
170
|
+
results: Results;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export type Tag = {
|
|
174
|
+
class: number;
|
|
175
|
+
value: string;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export type Item = {
|
|
179
|
+
accesslevel?: number | undefined;
|
|
180
|
+
added?: string | undefined;
|
|
181
|
+
bucket?: string | undefined;
|
|
182
|
+
date?: string | undefined;
|
|
183
|
+
description?: string | undefined;
|
|
184
|
+
instore?: boolean | undefined;
|
|
185
|
+
keyvalues?: any | undefined;
|
|
186
|
+
media?: number | undefined;
|
|
187
|
+
name?: string | undefined;
|
|
188
|
+
owner?: string | undefined;
|
|
189
|
+
relations?: any | undefined;
|
|
190
|
+
simhash?: number | undefined;
|
|
191
|
+
size?: number | undefined;
|
|
192
|
+
storageid?: string | undefined;
|
|
193
|
+
systemid?: string | undefined;
|
|
194
|
+
tags?: Array<Tag> | undefined;
|
|
195
|
+
type?: number | undefined;
|
|
196
|
+
xscore?: number | undefined;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export type Identityportal = {
|
|
200
|
+
linea: string;
|
|
201
|
+
item?: Item | undefined;
|
|
202
|
+
lineraw?: string | undefined;
|
|
203
|
+
linesafterraw?: string | null | undefined;
|
|
204
|
+
linesbeforeraw?: string | null | undefined;
|
|
205
|
+
positionabsolute?: number | undefined;
|
|
206
|
+
positionline?: number | undefined;
|
|
207
|
+
positionsize?: number | undefined;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
export type Intelligencex = {
|
|
211
|
+
identityportal?: Array<Identityportal> | undefined;
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
export const Compilation = {
|
|
215
|
+
Zero: "0",
|
|
216
|
+
One: "1",
|
|
217
|
+
} as const;
|
|
218
|
+
export type Compilation = OpenEnum<typeof Compilation>;
|
|
219
|
+
|
|
220
|
+
export const Passwordless = {
|
|
221
|
+
Zero: "0",
|
|
222
|
+
One: "1",
|
|
223
|
+
} as const;
|
|
224
|
+
export type Passwordless = OpenEnum<typeof Passwordless>;
|
|
225
|
+
|
|
226
|
+
export const Unverified = {
|
|
227
|
+
Zero: "0",
|
|
228
|
+
One: "1",
|
|
229
|
+
} as const;
|
|
230
|
+
export type Unverified = OpenEnum<typeof Unverified>;
|
|
231
|
+
|
|
232
|
+
export type ResultSource = {
|
|
233
|
+
breachDate: string;
|
|
234
|
+
compilation: Compilation;
|
|
235
|
+
name: string;
|
|
236
|
+
passwordless: Passwordless;
|
|
237
|
+
unverified: Unverified;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
export type PostV1SearchIntelligenceWebDbsResult = {
|
|
241
|
+
address: string | null;
|
|
242
|
+
country: string | null;
|
|
243
|
+
dob: string | null;
|
|
244
|
+
email: string | null;
|
|
245
|
+
fields: Array<string>;
|
|
246
|
+
firstName: string | null;
|
|
247
|
+
lastName: string | null;
|
|
248
|
+
name: string | null;
|
|
249
|
+
password: string | null;
|
|
250
|
+
phone: string | null;
|
|
251
|
+
source: ResultSource;
|
|
252
|
+
state: string | null;
|
|
253
|
+
zip: string | null;
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
export type Leakcheck = {
|
|
257
|
+
error: string | null;
|
|
258
|
+
found: number;
|
|
259
|
+
quota: number | null;
|
|
260
|
+
result: Array<PostV1SearchIntelligenceWebDbsResult>;
|
|
261
|
+
success: boolean;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
export type Datum = {
|
|
265
|
+
email?: string | undefined;
|
|
266
|
+
nickName?: string | undefined;
|
|
267
|
+
password?: string | undefined;
|
|
268
|
+
url?: string | undefined;
|
|
269
|
+
additionalProperties?: { [k: string]: string | null } | undefined;
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
export type PostV1SearchIntelligenceWebDbsList = {
|
|
273
|
+
data: Array<Datum>;
|
|
274
|
+
infoLeak: string;
|
|
275
|
+
numOfResults: number;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
export type Leakosint = {
|
|
279
|
+
list: { [k: string]: PostV1SearchIntelligenceWebDbsList };
|
|
280
|
+
numOfDatabase: number;
|
|
281
|
+
numOfResults: number;
|
|
282
|
+
price: number;
|
|
283
|
+
searchTime: number;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
export type Body = {
|
|
287
|
+
bio?: string | undefined;
|
|
288
|
+
additionalProperties?: { [k: string]: string | null } | undefined;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
export type PostV1SearchIntelligenceWebDbsTimeline = {
|
|
292
|
+
groupItems: { [k: string]: any };
|
|
293
|
+
groupYears: { [k: string]: any };
|
|
294
|
+
groups: { [k: string]: any };
|
|
295
|
+
lastSeen: boolean;
|
|
296
|
+
lastSeenDate: string | null;
|
|
297
|
+
registered: boolean;
|
|
298
|
+
registeredDate: string | null;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
export type FrontSchema = {
|
|
302
|
+
body: Body;
|
|
303
|
+
image: string;
|
|
304
|
+
module: string;
|
|
305
|
+
tags: Array<string>;
|
|
306
|
+
timeline: PostV1SearchIntelligenceWebDbsTimeline;
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
export type Bio = {
|
|
310
|
+
properKey: string;
|
|
311
|
+
type: "str";
|
|
312
|
+
value: string;
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
export type PostV1SearchIntelligenceWebDbsId = {
|
|
316
|
+
properKey: string;
|
|
317
|
+
type: "str";
|
|
318
|
+
value: string;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export type PostV1SearchIntelligenceWebDbsLocation = {
|
|
322
|
+
properKey: string;
|
|
323
|
+
type: "str";
|
|
324
|
+
value: string;
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
export type Name = {
|
|
328
|
+
properKey: string;
|
|
329
|
+
type: "str";
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export type PictureUrl = {
|
|
334
|
+
properKey: string;
|
|
335
|
+
type: "str";
|
|
336
|
+
value: string;
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
export const PlatformVariableType = {
|
|
340
|
+
Bool: "bool",
|
|
341
|
+
List: "list",
|
|
342
|
+
Number: "number",
|
|
343
|
+
Str: "str",
|
|
344
|
+
} as const;
|
|
345
|
+
export type PlatformVariableType = OpenEnum<typeof PlatformVariableType>;
|
|
346
|
+
|
|
347
|
+
export type Value = {
|
|
348
|
+
url: string;
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
export type ValueUnion = number | string | Array<Value> | boolean;
|
|
352
|
+
|
|
353
|
+
export type PlatformVariable = {
|
|
354
|
+
key: string;
|
|
355
|
+
properKey: string;
|
|
356
|
+
type: PlatformVariableType;
|
|
357
|
+
value: number | string | Array<Value> | boolean;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
export type Private = {
|
|
361
|
+
properKey: string;
|
|
362
|
+
type: "bool";
|
|
363
|
+
value: boolean;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
export type ProfileUrl = {
|
|
367
|
+
properKey: string;
|
|
368
|
+
type: "str";
|
|
369
|
+
value: string;
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
export type Registered = {
|
|
373
|
+
properKey: string;
|
|
374
|
+
type: "bool";
|
|
375
|
+
value: boolean;
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
export type Verified = {
|
|
379
|
+
properKey: string;
|
|
380
|
+
type: "bool";
|
|
381
|
+
value: boolean;
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
export type SpecFormat = {
|
|
385
|
+
bio?: Bio | undefined;
|
|
386
|
+
id?: PostV1SearchIntelligenceWebDbsId | undefined;
|
|
387
|
+
location?: PostV1SearchIntelligenceWebDbsLocation | undefined;
|
|
388
|
+
name?: Name | undefined;
|
|
389
|
+
pictureUrl?: PictureUrl | undefined;
|
|
390
|
+
platformVariables?: Array<PlatformVariable> | undefined;
|
|
391
|
+
private?: Private | undefined;
|
|
392
|
+
profileUrl?: ProfileUrl | undefined;
|
|
393
|
+
registered?: Registered | undefined;
|
|
394
|
+
verified?: Verified | undefined;
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
export const PostV1SearchIntelligenceWebDbsStatus = {
|
|
398
|
+
Found: "found",
|
|
399
|
+
NotFound: "not_found",
|
|
400
|
+
} as const;
|
|
401
|
+
export type PostV1SearchIntelligenceWebDbsStatus = OpenEnum<
|
|
402
|
+
typeof PostV1SearchIntelligenceWebDbsStatus
|
|
403
|
+
>;
|
|
404
|
+
|
|
405
|
+
export type Category = {
|
|
406
|
+
name: string;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
export type Osintindustry = {
|
|
410
|
+
data: { [k: string]: any };
|
|
411
|
+
frontSchemas: Array<FrontSchema>;
|
|
412
|
+
module: string;
|
|
413
|
+
reliableSource: boolean;
|
|
414
|
+
specFormat: Array<SpecFormat>;
|
|
415
|
+
status: PostV1SearchIntelligenceWebDbsStatus;
|
|
416
|
+
category?: Category | undefined;
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
export type Snusbase = {
|
|
420
|
+
address?: string | undefined;
|
|
421
|
+
birthdate?: string | undefined;
|
|
422
|
+
city?: string | undefined;
|
|
423
|
+
company?: string | undefined;
|
|
424
|
+
country?: string | undefined;
|
|
425
|
+
created?: string | undefined;
|
|
426
|
+
date?: string | undefined;
|
|
427
|
+
domain?: string | undefined;
|
|
428
|
+
email?: string | undefined;
|
|
429
|
+
followers?: string | undefined;
|
|
430
|
+
gender?: string | undefined;
|
|
431
|
+
hash?: string | undefined;
|
|
432
|
+
host?: string | undefined;
|
|
433
|
+
id?: string | undefined;
|
|
434
|
+
job?: string | undefined;
|
|
435
|
+
language?: string | undefined;
|
|
436
|
+
lastip?: string | undefined;
|
|
437
|
+
name?: string | undefined;
|
|
438
|
+
other?: string | undefined;
|
|
439
|
+
password?: string | undefined;
|
|
440
|
+
phone?: string | undefined;
|
|
441
|
+
regip?: string | undefined;
|
|
442
|
+
salt?: string | undefined;
|
|
443
|
+
state?: string | undefined;
|
|
444
|
+
uid?: string | undefined;
|
|
445
|
+
unparsed?: string | undefined;
|
|
446
|
+
updated?: string | undefined;
|
|
447
|
+
url?: string | undefined;
|
|
448
|
+
username?: string | undefined;
|
|
449
|
+
zip?: string | undefined;
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
export type ResponseT = {
|
|
453
|
+
cloudsint?: Cloudsint | undefined;
|
|
454
|
+
ghosint?: Ghosint | undefined;
|
|
455
|
+
hackcheck?: Hackcheck | undefined;
|
|
456
|
+
intelligencex?: Intelligencex | undefined;
|
|
457
|
+
leakcheck?: Leakcheck | undefined;
|
|
458
|
+
leakosint?: Leakosint | undefined;
|
|
459
|
+
osintindustries?: Array<Osintindustry> | undefined;
|
|
460
|
+
snusbase?: { [k: string]: Array<Snusbase> } | undefined;
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Search successful
|
|
465
|
+
*/
|
|
466
|
+
export type PostV1SearchIntelligenceWebDbsResponse = {
|
|
467
|
+
response: ResponseT;
|
|
468
|
+
success: boolean;
|
|
469
|
+
error?: string | undefined;
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
/** @internal */
|
|
473
|
+
export const Service$outboundSchema: z.ZodMiniEnum<typeof Service> = z.enum(
|
|
474
|
+
Service,
|
|
475
|
+
);
|
|
476
|
+
|
|
477
|
+
/** @internal */
|
|
478
|
+
export const CloudsintTypeRequest$outboundSchema: z.ZodMiniEnum<
|
|
479
|
+
typeof CloudsintTypeRequest
|
|
480
|
+
> = z.enum(CloudsintTypeRequest);
|
|
481
|
+
|
|
482
|
+
/** @internal */
|
|
483
|
+
export const IntelxType$outboundSchema: z.ZodMiniEnum<typeof IntelxType> = z
|
|
484
|
+
.enum(IntelxType);
|
|
485
|
+
|
|
486
|
+
/** @internal */
|
|
487
|
+
export const LeakCheckType$outboundSchema: z.ZodMiniEnum<typeof LeakCheckType> =
|
|
488
|
+
z.enum(LeakCheckType);
|
|
489
|
+
|
|
490
|
+
/** @internal */
|
|
491
|
+
export const SnusbaseType$outboundSchema: z.ZodMiniEnum<typeof SnusbaseType> = z
|
|
492
|
+
.enum(SnusbaseType);
|
|
493
|
+
|
|
494
|
+
/** @internal */
|
|
495
|
+
export type PostV1SearchIntelligenceWebDbsRequest$Outbound = {
|
|
496
|
+
query: string;
|
|
497
|
+
services: Array<string>;
|
|
498
|
+
cloudsintType?: string | undefined;
|
|
499
|
+
intelxType?: string | undefined;
|
|
500
|
+
leakCheckType?: string | undefined;
|
|
501
|
+
snusbaseType?: string | undefined;
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
/** @internal */
|
|
505
|
+
export const PostV1SearchIntelligenceWebDbsRequest$outboundSchema:
|
|
506
|
+
z.ZodMiniType<
|
|
507
|
+
PostV1SearchIntelligenceWebDbsRequest$Outbound,
|
|
508
|
+
PostV1SearchIntelligenceWebDbsRequest
|
|
509
|
+
> = z.object({
|
|
510
|
+
query: z.string(),
|
|
511
|
+
services: z.array(Service$outboundSchema),
|
|
512
|
+
cloudsintType: z.optional(CloudsintTypeRequest$outboundSchema),
|
|
513
|
+
intelxType: z.optional(IntelxType$outboundSchema),
|
|
514
|
+
leakCheckType: z.optional(LeakCheckType$outboundSchema),
|
|
515
|
+
snusbaseType: z.optional(SnusbaseType$outboundSchema),
|
|
516
|
+
});
|
|
517
|
+
|
|
518
|
+
export function postV1SearchIntelligenceWebDbsRequestToJSON(
|
|
519
|
+
postV1SearchIntelligenceWebDbsRequest: PostV1SearchIntelligenceWebDbsRequest,
|
|
520
|
+
): string {
|
|
521
|
+
return JSON.stringify(
|
|
522
|
+
PostV1SearchIntelligenceWebDbsRequest$outboundSchema.parse(
|
|
523
|
+
postV1SearchIntelligenceWebDbsRequest,
|
|
524
|
+
),
|
|
525
|
+
);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/** @internal */
|
|
529
|
+
export const PostV1SearchIntelligenceWebDbsBreach$inboundSchema: z.ZodMiniType<
|
|
530
|
+
PostV1SearchIntelligenceWebDbsBreach,
|
|
531
|
+
unknown
|
|
532
|
+
> = z.pipe(
|
|
533
|
+
z.object({
|
|
534
|
+
email: types.string(),
|
|
535
|
+
id: types.string(),
|
|
536
|
+
imported_at: types.string(),
|
|
537
|
+
password: types.string(),
|
|
538
|
+
source: types.string(),
|
|
539
|
+
source_date: types.string(),
|
|
540
|
+
source_name: types.string(),
|
|
541
|
+
url: types.string(),
|
|
542
|
+
username: types.string(),
|
|
543
|
+
}),
|
|
544
|
+
z.transform((v) => {
|
|
545
|
+
return remap$(v, {
|
|
546
|
+
"imported_at": "importedAt",
|
|
547
|
+
"source_date": "sourceDate",
|
|
548
|
+
"source_name": "sourceName",
|
|
549
|
+
});
|
|
550
|
+
}),
|
|
551
|
+
);
|
|
552
|
+
|
|
553
|
+
export function postV1SearchIntelligenceWebDbsBreachFromJSON(
|
|
554
|
+
jsonString: string,
|
|
555
|
+
): SafeParseResult<PostV1SearchIntelligenceWebDbsBreach, SDKValidationError> {
|
|
556
|
+
return safeParse(
|
|
557
|
+
jsonString,
|
|
558
|
+
(x) =>
|
|
559
|
+
PostV1SearchIntelligenceWebDbsBreach$inboundSchema.parse(JSON.parse(x)),
|
|
560
|
+
`Failed to parse 'PostV1SearchIntelligenceWebDbsBreach' from JSON`,
|
|
561
|
+
);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/** @internal */
|
|
565
|
+
export const CloudsintTypeResponse$inboundSchema: z.ZodMiniType<
|
|
566
|
+
CloudsintTypeResponse,
|
|
567
|
+
unknown
|
|
568
|
+
> = openEnums.inboundSchema(CloudsintTypeResponse);
|
|
569
|
+
|
|
570
|
+
/** @internal */
|
|
571
|
+
export const PostV1SearchIntelligenceWebDbsData$inboundSchema: z.ZodMiniType<
|
|
572
|
+
PostV1SearchIntelligenceWebDbsData,
|
|
573
|
+
unknown
|
|
574
|
+
> = z.pipe(
|
|
575
|
+
z.object({
|
|
576
|
+
breaches: z.array(
|
|
577
|
+
z.lazy(() => PostV1SearchIntelligenceWebDbsBreach$inboundSchema),
|
|
578
|
+
),
|
|
579
|
+
query: types.string(),
|
|
580
|
+
total_matches: types.number(),
|
|
581
|
+
type: CloudsintTypeResponse$inboundSchema,
|
|
582
|
+
}),
|
|
583
|
+
z.transform((v) => {
|
|
584
|
+
return remap$(v, {
|
|
585
|
+
"total_matches": "totalMatches",
|
|
586
|
+
});
|
|
587
|
+
}),
|
|
588
|
+
);
|
|
589
|
+
|
|
590
|
+
export function postV1SearchIntelligenceWebDbsDataFromJSON(
|
|
591
|
+
jsonString: string,
|
|
592
|
+
): SafeParseResult<PostV1SearchIntelligenceWebDbsData, SDKValidationError> {
|
|
593
|
+
return safeParse(
|
|
594
|
+
jsonString,
|
|
595
|
+
(x) =>
|
|
596
|
+
PostV1SearchIntelligenceWebDbsData$inboundSchema.parse(JSON.parse(x)),
|
|
597
|
+
`Failed to parse 'PostV1SearchIntelligenceWebDbsData' from JSON`,
|
|
598
|
+
);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/** @internal */
|
|
602
|
+
export const Cloudsint$inboundSchema: z.ZodMiniType<Cloudsint, unknown> = z
|
|
603
|
+
.object({
|
|
604
|
+
data: z.lazy(() => PostV1SearchIntelligenceWebDbsData$inboundSchema),
|
|
605
|
+
duration: types.number(),
|
|
606
|
+
success: types.boolean(),
|
|
607
|
+
});
|
|
608
|
+
|
|
609
|
+
export function cloudsintFromJSON(
|
|
610
|
+
jsonString: string,
|
|
611
|
+
): SafeParseResult<Cloudsint, SDKValidationError> {
|
|
612
|
+
return safeParse(
|
|
613
|
+
jsonString,
|
|
614
|
+
(x) => Cloudsint$inboundSchema.parse(JSON.parse(x)),
|
|
615
|
+
`Failed to parse 'Cloudsint' from JSON`,
|
|
616
|
+
);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/** @internal */
|
|
620
|
+
export const LogInfo$inboundSchema: z.ZodMiniType<LogInfo, unknown> = z.pipe(
|
|
621
|
+
z.object({
|
|
622
|
+
hwid: types.nullable(types.string()),
|
|
623
|
+
name: types.nullable(types.string()),
|
|
624
|
+
system_name: types.nullable(types.string()),
|
|
625
|
+
}),
|
|
626
|
+
z.transform((v) => {
|
|
627
|
+
return remap$(v, {
|
|
628
|
+
"system_name": "systemName",
|
|
629
|
+
});
|
|
630
|
+
}),
|
|
631
|
+
);
|
|
632
|
+
|
|
633
|
+
export function logInfoFromJSON(
|
|
634
|
+
jsonString: string,
|
|
635
|
+
): SafeParseResult<LogInfo, SDKValidationError> {
|
|
636
|
+
return safeParse(
|
|
637
|
+
jsonString,
|
|
638
|
+
(x) => LogInfo$inboundSchema.parse(JSON.parse(x)),
|
|
639
|
+
`Failed to parse 'LogInfo' from JSON`,
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/** @internal */
|
|
644
|
+
export const Credential$inboundSchema: z.ZodMiniType<Credential, unknown> = z
|
|
645
|
+
.pipe(
|
|
646
|
+
z.object({
|
|
647
|
+
log_info: z.lazy(() => LogInfo$inboundSchema),
|
|
648
|
+
date: types.optional(types.string()),
|
|
649
|
+
login: types.optional(types.string()),
|
|
650
|
+
password: types.optional(types.string()),
|
|
651
|
+
url: types.optional(types.string()),
|
|
652
|
+
}),
|
|
653
|
+
z.transform((v) => {
|
|
654
|
+
return remap$(v, {
|
|
655
|
+
"log_info": "logInfo",
|
|
656
|
+
});
|
|
657
|
+
}),
|
|
658
|
+
);
|
|
659
|
+
|
|
660
|
+
export function credentialFromJSON(
|
|
661
|
+
jsonString: string,
|
|
662
|
+
): SafeParseResult<Credential, SDKValidationError> {
|
|
663
|
+
return safeParse(
|
|
664
|
+
jsonString,
|
|
665
|
+
(x) => Credential$inboundSchema.parse(JSON.parse(x)),
|
|
666
|
+
`Failed to parse 'Credential' from JSON`,
|
|
667
|
+
);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/** @internal */
|
|
671
|
+
export const Ghosint$inboundSchema: z.ZodMiniType<Ghosint, unknown> = z.pipe(
|
|
672
|
+
z.object({
|
|
673
|
+
count: types.number(),
|
|
674
|
+
credentials: z.array(z.lazy(() => Credential$inboundSchema)),
|
|
675
|
+
result_id: types.string(),
|
|
676
|
+
}),
|
|
677
|
+
z.transform((v) => {
|
|
678
|
+
return remap$(v, {
|
|
679
|
+
"result_id": "resultId",
|
|
680
|
+
});
|
|
681
|
+
}),
|
|
682
|
+
);
|
|
683
|
+
|
|
684
|
+
export function ghosintFromJSON(
|
|
685
|
+
jsonString: string,
|
|
686
|
+
): SafeParseResult<Ghosint, SDKValidationError> {
|
|
687
|
+
return safeParse(
|
|
688
|
+
jsonString,
|
|
689
|
+
(x) => Ghosint$inboundSchema.parse(JSON.parse(x)),
|
|
690
|
+
`Failed to parse 'Ghosint' from JSON`,
|
|
691
|
+
);
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/** @internal */
|
|
695
|
+
export const ResultsSource$inboundSchema: z.ZodMiniType<
|
|
696
|
+
ResultsSource,
|
|
697
|
+
unknown
|
|
698
|
+
> = z.object({
|
|
699
|
+
date: types.optional(types.string()),
|
|
700
|
+
name: types.optional(types.string()),
|
|
701
|
+
});
|
|
702
|
+
|
|
703
|
+
export function resultsSourceFromJSON(
|
|
704
|
+
jsonString: string,
|
|
705
|
+
): SafeParseResult<ResultsSource, SDKValidationError> {
|
|
706
|
+
return safeParse(
|
|
707
|
+
jsonString,
|
|
708
|
+
(x) => ResultsSource$inboundSchema.parse(JSON.parse(x)),
|
|
709
|
+
`Failed to parse 'ResultsSource' from JSON`,
|
|
710
|
+
);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/** @internal */
|
|
714
|
+
export const ResultsResults$inboundSchema: z.ZodMiniType<
|
|
715
|
+
ResultsResults,
|
|
716
|
+
unknown
|
|
717
|
+
> = z.pipe(
|
|
718
|
+
z.object({
|
|
719
|
+
id: types.string(),
|
|
720
|
+
source: z.lazy(() => ResultsSource$inboundSchema),
|
|
721
|
+
email: types.optional(types.string()),
|
|
722
|
+
full_name: types.optional(types.string()),
|
|
723
|
+
hash: types.optional(types.string()),
|
|
724
|
+
ip_address: types.optional(types.string()),
|
|
725
|
+
other_fields: types.optional(z.record(z.string(), types.string())),
|
|
726
|
+
password: types.optional(types.string()),
|
|
727
|
+
phone_number: types.optional(types.string()),
|
|
728
|
+
sensitive_fields: types.optional(z.record(z.string(), types.string())),
|
|
729
|
+
username: types.optional(types.string()),
|
|
730
|
+
}),
|
|
731
|
+
z.transform((v) => {
|
|
732
|
+
return remap$(v, {
|
|
733
|
+
"full_name": "fullName",
|
|
734
|
+
"ip_address": "ipAddress",
|
|
735
|
+
"other_fields": "otherFields",
|
|
736
|
+
"phone_number": "phoneNumber",
|
|
737
|
+
"sensitive_fields": "sensitiveFields",
|
|
738
|
+
});
|
|
739
|
+
}),
|
|
740
|
+
);
|
|
741
|
+
|
|
742
|
+
export function resultsResultsFromJSON(
|
|
743
|
+
jsonString: string,
|
|
744
|
+
): SafeParseResult<ResultsResults, SDKValidationError> {
|
|
745
|
+
return safeParse(
|
|
746
|
+
jsonString,
|
|
747
|
+
(x) => ResultsResults$inboundSchema.parse(JSON.parse(x)),
|
|
748
|
+
`Failed to parse 'ResultsResults' from JSON`,
|
|
749
|
+
);
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/** @internal */
|
|
753
|
+
export const Results$inboundSchema: z.ZodMiniType<Results, unknown> = z.pipe(
|
|
754
|
+
z.object({
|
|
755
|
+
databases: types.number(),
|
|
756
|
+
first_seen: types.string(),
|
|
757
|
+
found: types.number(),
|
|
758
|
+
last_seen: types.string(),
|
|
759
|
+
results: z.lazy(() => ResultsResults$inboundSchema),
|
|
760
|
+
}),
|
|
761
|
+
z.transform((v) => {
|
|
762
|
+
return remap$(v, {
|
|
763
|
+
"first_seen": "firstSeen",
|
|
764
|
+
"last_seen": "lastSeen",
|
|
765
|
+
});
|
|
766
|
+
}),
|
|
767
|
+
);
|
|
768
|
+
|
|
769
|
+
export function resultsFromJSON(
|
|
770
|
+
jsonString: string,
|
|
771
|
+
): SafeParseResult<Results, SDKValidationError> {
|
|
772
|
+
return safeParse(
|
|
773
|
+
jsonString,
|
|
774
|
+
(x) => Results$inboundSchema.parse(JSON.parse(x)),
|
|
775
|
+
`Failed to parse 'Results' from JSON`,
|
|
776
|
+
);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/** @internal */
|
|
780
|
+
export const Hackcheck$inboundSchema: z.ZodMiniType<Hackcheck, unknown> = z
|
|
781
|
+
.object({
|
|
782
|
+
results: z.lazy(() => Results$inboundSchema),
|
|
783
|
+
});
|
|
784
|
+
|
|
785
|
+
export function hackcheckFromJSON(
|
|
786
|
+
jsonString: string,
|
|
787
|
+
): SafeParseResult<Hackcheck, SDKValidationError> {
|
|
788
|
+
return safeParse(
|
|
789
|
+
jsonString,
|
|
790
|
+
(x) => Hackcheck$inboundSchema.parse(JSON.parse(x)),
|
|
791
|
+
`Failed to parse 'Hackcheck' from JSON`,
|
|
792
|
+
);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/** @internal */
|
|
796
|
+
export const Tag$inboundSchema: z.ZodMiniType<Tag, unknown> = z.object({
|
|
797
|
+
class: types.number(),
|
|
798
|
+
value: types.string(),
|
|
799
|
+
});
|
|
800
|
+
|
|
801
|
+
export function tagFromJSON(
|
|
802
|
+
jsonString: string,
|
|
803
|
+
): SafeParseResult<Tag, SDKValidationError> {
|
|
804
|
+
return safeParse(
|
|
805
|
+
jsonString,
|
|
806
|
+
(x) => Tag$inboundSchema.parse(JSON.parse(x)),
|
|
807
|
+
`Failed to parse 'Tag' from JSON`,
|
|
808
|
+
);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/** @internal */
|
|
812
|
+
export const Item$inboundSchema: z.ZodMiniType<Item, unknown> = z.object({
|
|
813
|
+
accesslevel: types.optional(types.number()),
|
|
814
|
+
added: types.optional(types.string()),
|
|
815
|
+
bucket: types.optional(types.string()),
|
|
816
|
+
date: types.optional(types.string()),
|
|
817
|
+
description: types.optional(types.string()),
|
|
818
|
+
instore: types.optional(types.boolean()),
|
|
819
|
+
keyvalues: types.optional(z.any()),
|
|
820
|
+
media: types.optional(types.number()),
|
|
821
|
+
name: types.optional(types.string()),
|
|
822
|
+
owner: types.optional(types.string()),
|
|
823
|
+
relations: types.optional(z.any()),
|
|
824
|
+
simhash: types.optional(types.number()),
|
|
825
|
+
size: types.optional(types.number()),
|
|
826
|
+
storageid: types.optional(types.string()),
|
|
827
|
+
systemid: types.optional(types.string()),
|
|
828
|
+
tags: types.optional(z.array(z.lazy(() => Tag$inboundSchema))),
|
|
829
|
+
type: types.optional(types.number()),
|
|
830
|
+
xscore: types.optional(types.number()),
|
|
831
|
+
});
|
|
832
|
+
|
|
833
|
+
export function itemFromJSON(
|
|
834
|
+
jsonString: string,
|
|
835
|
+
): SafeParseResult<Item, SDKValidationError> {
|
|
836
|
+
return safeParse(
|
|
837
|
+
jsonString,
|
|
838
|
+
(x) => Item$inboundSchema.parse(JSON.parse(x)),
|
|
839
|
+
`Failed to parse 'Item' from JSON`,
|
|
840
|
+
);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/** @internal */
|
|
844
|
+
export const Identityportal$inboundSchema: z.ZodMiniType<
|
|
845
|
+
Identityportal,
|
|
846
|
+
unknown
|
|
847
|
+
> = z.object({
|
|
848
|
+
linea: types.string(),
|
|
849
|
+
item: types.optional(z.lazy(() => Item$inboundSchema)),
|
|
850
|
+
lineraw: types.optional(types.string()),
|
|
851
|
+
linesafterraw: z.optional(z.nullable(types.string())),
|
|
852
|
+
linesbeforeraw: z.optional(z.nullable(types.string())),
|
|
853
|
+
positionabsolute: types.optional(types.number()),
|
|
854
|
+
positionline: types.optional(types.number()),
|
|
855
|
+
positionsize: types.optional(types.number()),
|
|
856
|
+
});
|
|
857
|
+
|
|
858
|
+
export function identityportalFromJSON(
|
|
859
|
+
jsonString: string,
|
|
860
|
+
): SafeParseResult<Identityportal, SDKValidationError> {
|
|
861
|
+
return safeParse(
|
|
862
|
+
jsonString,
|
|
863
|
+
(x) => Identityportal$inboundSchema.parse(JSON.parse(x)),
|
|
864
|
+
`Failed to parse 'Identityportal' from JSON`,
|
|
865
|
+
);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/** @internal */
|
|
869
|
+
export const Intelligencex$inboundSchema: z.ZodMiniType<
|
|
870
|
+
Intelligencex,
|
|
871
|
+
unknown
|
|
872
|
+
> = z.object({
|
|
873
|
+
identityportal: types.optional(
|
|
874
|
+
z.array(z.lazy(() => Identityportal$inboundSchema)),
|
|
875
|
+
),
|
|
876
|
+
});
|
|
877
|
+
|
|
878
|
+
export function intelligencexFromJSON(
|
|
879
|
+
jsonString: string,
|
|
880
|
+
): SafeParseResult<Intelligencex, SDKValidationError> {
|
|
881
|
+
return safeParse(
|
|
882
|
+
jsonString,
|
|
883
|
+
(x) => Intelligencex$inboundSchema.parse(JSON.parse(x)),
|
|
884
|
+
`Failed to parse 'Intelligencex' from JSON`,
|
|
885
|
+
);
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
/** @internal */
|
|
889
|
+
export const Compilation$inboundSchema: z.ZodMiniType<Compilation, unknown> =
|
|
890
|
+
openEnums.inboundSchema(Compilation);
|
|
891
|
+
|
|
892
|
+
/** @internal */
|
|
893
|
+
export const Passwordless$inboundSchema: z.ZodMiniType<Passwordless, unknown> =
|
|
894
|
+
openEnums.inboundSchema(Passwordless);
|
|
895
|
+
|
|
896
|
+
/** @internal */
|
|
897
|
+
export const Unverified$inboundSchema: z.ZodMiniType<Unverified, unknown> =
|
|
898
|
+
openEnums.inboundSchema(Unverified);
|
|
899
|
+
|
|
900
|
+
/** @internal */
|
|
901
|
+
export const ResultSource$inboundSchema: z.ZodMiniType<ResultSource, unknown> =
|
|
902
|
+
z.pipe(
|
|
903
|
+
z.object({
|
|
904
|
+
breach_date: types.string(),
|
|
905
|
+
compilation: Compilation$inboundSchema,
|
|
906
|
+
name: types.string(),
|
|
907
|
+
passwordless: Passwordless$inboundSchema,
|
|
908
|
+
unverified: Unverified$inboundSchema,
|
|
909
|
+
}),
|
|
910
|
+
z.transform((v) => {
|
|
911
|
+
return remap$(v, {
|
|
912
|
+
"breach_date": "breachDate",
|
|
913
|
+
});
|
|
914
|
+
}),
|
|
915
|
+
);
|
|
916
|
+
|
|
917
|
+
export function resultSourceFromJSON(
|
|
918
|
+
jsonString: string,
|
|
919
|
+
): SafeParseResult<ResultSource, SDKValidationError> {
|
|
920
|
+
return safeParse(
|
|
921
|
+
jsonString,
|
|
922
|
+
(x) => ResultSource$inboundSchema.parse(JSON.parse(x)),
|
|
923
|
+
`Failed to parse 'ResultSource' from JSON`,
|
|
924
|
+
);
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/** @internal */
|
|
928
|
+
export const PostV1SearchIntelligenceWebDbsResult$inboundSchema: z.ZodMiniType<
|
|
929
|
+
PostV1SearchIntelligenceWebDbsResult,
|
|
930
|
+
unknown
|
|
931
|
+
> = z.pipe(
|
|
932
|
+
z.object({
|
|
933
|
+
address: types.nullable(types.string()),
|
|
934
|
+
country: types.nullable(types.string()),
|
|
935
|
+
dob: types.nullable(types.string()),
|
|
936
|
+
email: types.nullable(types.string()),
|
|
937
|
+
fields: z.array(types.string()),
|
|
938
|
+
first_name: types.nullable(types.string()),
|
|
939
|
+
last_name: types.nullable(types.string()),
|
|
940
|
+
name: types.nullable(types.string()),
|
|
941
|
+
password: types.nullable(types.string()),
|
|
942
|
+
phone: types.nullable(types.string()),
|
|
943
|
+
source: z.lazy(() => ResultSource$inboundSchema),
|
|
944
|
+
state: types.nullable(types.string()),
|
|
945
|
+
zip: types.nullable(types.string()),
|
|
946
|
+
}),
|
|
947
|
+
z.transform((v) => {
|
|
948
|
+
return remap$(v, {
|
|
949
|
+
"first_name": "firstName",
|
|
950
|
+
"last_name": "lastName",
|
|
951
|
+
});
|
|
952
|
+
}),
|
|
953
|
+
);
|
|
954
|
+
|
|
955
|
+
export function postV1SearchIntelligenceWebDbsResultFromJSON(
|
|
956
|
+
jsonString: string,
|
|
957
|
+
): SafeParseResult<PostV1SearchIntelligenceWebDbsResult, SDKValidationError> {
|
|
958
|
+
return safeParse(
|
|
959
|
+
jsonString,
|
|
960
|
+
(x) =>
|
|
961
|
+
PostV1SearchIntelligenceWebDbsResult$inboundSchema.parse(JSON.parse(x)),
|
|
962
|
+
`Failed to parse 'PostV1SearchIntelligenceWebDbsResult' from JSON`,
|
|
963
|
+
);
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/** @internal */
|
|
967
|
+
export const Leakcheck$inboundSchema: z.ZodMiniType<Leakcheck, unknown> = z
|
|
968
|
+
.object({
|
|
969
|
+
error: types.nullable(types.string()),
|
|
970
|
+
found: types.number(),
|
|
971
|
+
quota: types.nullable(types.number()),
|
|
972
|
+
result: z.array(
|
|
973
|
+
z.lazy(() => PostV1SearchIntelligenceWebDbsResult$inboundSchema),
|
|
974
|
+
),
|
|
975
|
+
success: types.boolean(),
|
|
976
|
+
});
|
|
977
|
+
|
|
978
|
+
export function leakcheckFromJSON(
|
|
979
|
+
jsonString: string,
|
|
980
|
+
): SafeParseResult<Leakcheck, SDKValidationError> {
|
|
981
|
+
return safeParse(
|
|
982
|
+
jsonString,
|
|
983
|
+
(x) => Leakcheck$inboundSchema.parse(JSON.parse(x)),
|
|
984
|
+
`Failed to parse 'Leakcheck' from JSON`,
|
|
985
|
+
);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
/** @internal */
|
|
989
|
+
export const Datum$inboundSchema: z.ZodMiniType<Datum, unknown> = z.pipe(
|
|
990
|
+
collectExtraKeys$(
|
|
991
|
+
z.catchall(
|
|
992
|
+
z.object({
|
|
993
|
+
Email: types.optional(types.string()),
|
|
994
|
+
NickName: types.optional(types.string()),
|
|
995
|
+
Password: types.optional(types.string()),
|
|
996
|
+
Url: types.optional(types.string()),
|
|
997
|
+
}),
|
|
998
|
+
types.string(),
|
|
999
|
+
),
|
|
1000
|
+
"additionalProperties",
|
|
1001
|
+
true,
|
|
1002
|
+
),
|
|
1003
|
+
z.transform((v) => {
|
|
1004
|
+
return remap$(v, {
|
|
1005
|
+
"Email": "email",
|
|
1006
|
+
"NickName": "nickName",
|
|
1007
|
+
"Password": "password",
|
|
1008
|
+
"Url": "url",
|
|
1009
|
+
});
|
|
1010
|
+
}),
|
|
1011
|
+
);
|
|
1012
|
+
|
|
1013
|
+
export function datumFromJSON(
|
|
1014
|
+
jsonString: string,
|
|
1015
|
+
): SafeParseResult<Datum, SDKValidationError> {
|
|
1016
|
+
return safeParse(
|
|
1017
|
+
jsonString,
|
|
1018
|
+
(x) => Datum$inboundSchema.parse(JSON.parse(x)),
|
|
1019
|
+
`Failed to parse 'Datum' from JSON`,
|
|
1020
|
+
);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/** @internal */
|
|
1024
|
+
export const PostV1SearchIntelligenceWebDbsList$inboundSchema: z.ZodMiniType<
|
|
1025
|
+
PostV1SearchIntelligenceWebDbsList,
|
|
1026
|
+
unknown
|
|
1027
|
+
> = z.pipe(
|
|
1028
|
+
z.object({
|
|
1029
|
+
Data: z.array(z.lazy(() => Datum$inboundSchema)),
|
|
1030
|
+
InfoLeak: types.string(),
|
|
1031
|
+
NumOfResults: types.number(),
|
|
1032
|
+
}),
|
|
1033
|
+
z.transform((v) => {
|
|
1034
|
+
return remap$(v, {
|
|
1035
|
+
"Data": "data",
|
|
1036
|
+
"InfoLeak": "infoLeak",
|
|
1037
|
+
"NumOfResults": "numOfResults",
|
|
1038
|
+
});
|
|
1039
|
+
}),
|
|
1040
|
+
);
|
|
1041
|
+
|
|
1042
|
+
export function postV1SearchIntelligenceWebDbsListFromJSON(
|
|
1043
|
+
jsonString: string,
|
|
1044
|
+
): SafeParseResult<PostV1SearchIntelligenceWebDbsList, SDKValidationError> {
|
|
1045
|
+
return safeParse(
|
|
1046
|
+
jsonString,
|
|
1047
|
+
(x) =>
|
|
1048
|
+
PostV1SearchIntelligenceWebDbsList$inboundSchema.parse(JSON.parse(x)),
|
|
1049
|
+
`Failed to parse 'PostV1SearchIntelligenceWebDbsList' from JSON`,
|
|
1050
|
+
);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/** @internal */
|
|
1054
|
+
export const Leakosint$inboundSchema: z.ZodMiniType<Leakosint, unknown> = z
|
|
1055
|
+
.pipe(
|
|
1056
|
+
z.object({
|
|
1057
|
+
List: z.record(
|
|
1058
|
+
z.string(),
|
|
1059
|
+
z.lazy(() => PostV1SearchIntelligenceWebDbsList$inboundSchema),
|
|
1060
|
+
),
|
|
1061
|
+
NumOfDatabase: types.number(),
|
|
1062
|
+
NumOfResults: types.number(),
|
|
1063
|
+
price: types.number(),
|
|
1064
|
+
"search time": types.number(),
|
|
1065
|
+
}),
|
|
1066
|
+
z.transform((v) => {
|
|
1067
|
+
return remap$(v, {
|
|
1068
|
+
"List": "list",
|
|
1069
|
+
"NumOfDatabase": "numOfDatabase",
|
|
1070
|
+
"NumOfResults": "numOfResults",
|
|
1071
|
+
"search time": "searchTime",
|
|
1072
|
+
});
|
|
1073
|
+
}),
|
|
1074
|
+
);
|
|
1075
|
+
|
|
1076
|
+
export function leakosintFromJSON(
|
|
1077
|
+
jsonString: string,
|
|
1078
|
+
): SafeParseResult<Leakosint, SDKValidationError> {
|
|
1079
|
+
return safeParse(
|
|
1080
|
+
jsonString,
|
|
1081
|
+
(x) => Leakosint$inboundSchema.parse(JSON.parse(x)),
|
|
1082
|
+
`Failed to parse 'Leakosint' from JSON`,
|
|
1083
|
+
);
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
/** @internal */
|
|
1087
|
+
export const Body$inboundSchema: z.ZodMiniType<Body, unknown> = z.pipe(
|
|
1088
|
+
collectExtraKeys$(
|
|
1089
|
+
z.catchall(
|
|
1090
|
+
z.object({
|
|
1091
|
+
Bio: types.optional(types.string()),
|
|
1092
|
+
}),
|
|
1093
|
+
types.string(),
|
|
1094
|
+
),
|
|
1095
|
+
"additionalProperties",
|
|
1096
|
+
true,
|
|
1097
|
+
),
|
|
1098
|
+
z.transform((v) => {
|
|
1099
|
+
return remap$(v, {
|
|
1100
|
+
"Bio": "bio",
|
|
1101
|
+
});
|
|
1102
|
+
}),
|
|
1103
|
+
);
|
|
1104
|
+
|
|
1105
|
+
export function bodyFromJSON(
|
|
1106
|
+
jsonString: string,
|
|
1107
|
+
): SafeParseResult<Body, SDKValidationError> {
|
|
1108
|
+
return safeParse(
|
|
1109
|
+
jsonString,
|
|
1110
|
+
(x) => Body$inboundSchema.parse(JSON.parse(x)),
|
|
1111
|
+
`Failed to parse 'Body' from JSON`,
|
|
1112
|
+
);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/** @internal */
|
|
1116
|
+
export const PostV1SearchIntelligenceWebDbsTimeline$inboundSchema:
|
|
1117
|
+
z.ZodMiniType<PostV1SearchIntelligenceWebDbsTimeline, unknown> = z.pipe(
|
|
1118
|
+
z.object({
|
|
1119
|
+
group_items: z.record(z.string(), z.any()),
|
|
1120
|
+
group_years: z.record(z.string(), z.any()),
|
|
1121
|
+
groups: z.record(z.string(), z.any()),
|
|
1122
|
+
last_seen: types.boolean(),
|
|
1123
|
+
last_seen_date: types.nullable(types.string()),
|
|
1124
|
+
registered: types.boolean(),
|
|
1125
|
+
registered_date: types.nullable(types.string()),
|
|
1126
|
+
}),
|
|
1127
|
+
z.transform((v) => {
|
|
1128
|
+
return remap$(v, {
|
|
1129
|
+
"group_items": "groupItems",
|
|
1130
|
+
"group_years": "groupYears",
|
|
1131
|
+
"last_seen": "lastSeen",
|
|
1132
|
+
"last_seen_date": "lastSeenDate",
|
|
1133
|
+
"registered_date": "registeredDate",
|
|
1134
|
+
});
|
|
1135
|
+
}),
|
|
1136
|
+
);
|
|
1137
|
+
|
|
1138
|
+
export function postV1SearchIntelligenceWebDbsTimelineFromJSON(
|
|
1139
|
+
jsonString: string,
|
|
1140
|
+
): SafeParseResult<PostV1SearchIntelligenceWebDbsTimeline, SDKValidationError> {
|
|
1141
|
+
return safeParse(
|
|
1142
|
+
jsonString,
|
|
1143
|
+
(x) =>
|
|
1144
|
+
PostV1SearchIntelligenceWebDbsTimeline$inboundSchema.parse(JSON.parse(x)),
|
|
1145
|
+
`Failed to parse 'PostV1SearchIntelligenceWebDbsTimeline' from JSON`,
|
|
1146
|
+
);
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/** @internal */
|
|
1150
|
+
export const FrontSchema$inboundSchema: z.ZodMiniType<FrontSchema, unknown> = z
|
|
1151
|
+
.object({
|
|
1152
|
+
body: z.lazy(() => Body$inboundSchema),
|
|
1153
|
+
image: types.string(),
|
|
1154
|
+
module: types.string(),
|
|
1155
|
+
tags: z.array(types.string()),
|
|
1156
|
+
timeline: z.lazy(() =>
|
|
1157
|
+
PostV1SearchIntelligenceWebDbsTimeline$inboundSchema
|
|
1158
|
+
),
|
|
1159
|
+
});
|
|
1160
|
+
|
|
1161
|
+
export function frontSchemaFromJSON(
|
|
1162
|
+
jsonString: string,
|
|
1163
|
+
): SafeParseResult<FrontSchema, SDKValidationError> {
|
|
1164
|
+
return safeParse(
|
|
1165
|
+
jsonString,
|
|
1166
|
+
(x) => FrontSchema$inboundSchema.parse(JSON.parse(x)),
|
|
1167
|
+
`Failed to parse 'FrontSchema' from JSON`,
|
|
1168
|
+
);
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/** @internal */
|
|
1172
|
+
export const Bio$inboundSchema: z.ZodMiniType<Bio, unknown> = z.pipe(
|
|
1173
|
+
z.object({
|
|
1174
|
+
proper_key: types.string(),
|
|
1175
|
+
type: types.literal("str"),
|
|
1176
|
+
value: types.string(),
|
|
1177
|
+
}),
|
|
1178
|
+
z.transform((v) => {
|
|
1179
|
+
return remap$(v, {
|
|
1180
|
+
"proper_key": "properKey",
|
|
1181
|
+
});
|
|
1182
|
+
}),
|
|
1183
|
+
);
|
|
1184
|
+
|
|
1185
|
+
export function bioFromJSON(
|
|
1186
|
+
jsonString: string,
|
|
1187
|
+
): SafeParseResult<Bio, SDKValidationError> {
|
|
1188
|
+
return safeParse(
|
|
1189
|
+
jsonString,
|
|
1190
|
+
(x) => Bio$inboundSchema.parse(JSON.parse(x)),
|
|
1191
|
+
`Failed to parse 'Bio' from JSON`,
|
|
1192
|
+
);
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
/** @internal */
|
|
1196
|
+
export const PostV1SearchIntelligenceWebDbsId$inboundSchema: z.ZodMiniType<
|
|
1197
|
+
PostV1SearchIntelligenceWebDbsId,
|
|
1198
|
+
unknown
|
|
1199
|
+
> = z.pipe(
|
|
1200
|
+
z.object({
|
|
1201
|
+
proper_key: types.string(),
|
|
1202
|
+
type: types.literal("str"),
|
|
1203
|
+
value: types.string(),
|
|
1204
|
+
}),
|
|
1205
|
+
z.transform((v) => {
|
|
1206
|
+
return remap$(v, {
|
|
1207
|
+
"proper_key": "properKey",
|
|
1208
|
+
});
|
|
1209
|
+
}),
|
|
1210
|
+
);
|
|
1211
|
+
|
|
1212
|
+
export function postV1SearchIntelligenceWebDbsIdFromJSON(
|
|
1213
|
+
jsonString: string,
|
|
1214
|
+
): SafeParseResult<PostV1SearchIntelligenceWebDbsId, SDKValidationError> {
|
|
1215
|
+
return safeParse(
|
|
1216
|
+
jsonString,
|
|
1217
|
+
(x) => PostV1SearchIntelligenceWebDbsId$inboundSchema.parse(JSON.parse(x)),
|
|
1218
|
+
`Failed to parse 'PostV1SearchIntelligenceWebDbsId' from JSON`,
|
|
1219
|
+
);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
/** @internal */
|
|
1223
|
+
export const PostV1SearchIntelligenceWebDbsLocation$inboundSchema:
|
|
1224
|
+
z.ZodMiniType<PostV1SearchIntelligenceWebDbsLocation, unknown> = z.pipe(
|
|
1225
|
+
z.object({
|
|
1226
|
+
proper_key: types.string(),
|
|
1227
|
+
type: types.literal("str"),
|
|
1228
|
+
value: types.string(),
|
|
1229
|
+
}),
|
|
1230
|
+
z.transform((v) => {
|
|
1231
|
+
return remap$(v, {
|
|
1232
|
+
"proper_key": "properKey",
|
|
1233
|
+
});
|
|
1234
|
+
}),
|
|
1235
|
+
);
|
|
1236
|
+
|
|
1237
|
+
export function postV1SearchIntelligenceWebDbsLocationFromJSON(
|
|
1238
|
+
jsonString: string,
|
|
1239
|
+
): SafeParseResult<PostV1SearchIntelligenceWebDbsLocation, SDKValidationError> {
|
|
1240
|
+
return safeParse(
|
|
1241
|
+
jsonString,
|
|
1242
|
+
(x) =>
|
|
1243
|
+
PostV1SearchIntelligenceWebDbsLocation$inboundSchema.parse(JSON.parse(x)),
|
|
1244
|
+
`Failed to parse 'PostV1SearchIntelligenceWebDbsLocation' from JSON`,
|
|
1245
|
+
);
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/** @internal */
|
|
1249
|
+
export const Name$inboundSchema: z.ZodMiniType<Name, unknown> = z.pipe(
|
|
1250
|
+
z.object({
|
|
1251
|
+
proper_key: types.string(),
|
|
1252
|
+
type: types.literal("str"),
|
|
1253
|
+
value: types.string(),
|
|
1254
|
+
}),
|
|
1255
|
+
z.transform((v) => {
|
|
1256
|
+
return remap$(v, {
|
|
1257
|
+
"proper_key": "properKey",
|
|
1258
|
+
});
|
|
1259
|
+
}),
|
|
1260
|
+
);
|
|
1261
|
+
|
|
1262
|
+
export function nameFromJSON(
|
|
1263
|
+
jsonString: string,
|
|
1264
|
+
): SafeParseResult<Name, SDKValidationError> {
|
|
1265
|
+
return safeParse(
|
|
1266
|
+
jsonString,
|
|
1267
|
+
(x) => Name$inboundSchema.parse(JSON.parse(x)),
|
|
1268
|
+
`Failed to parse 'Name' from JSON`,
|
|
1269
|
+
);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/** @internal */
|
|
1273
|
+
export const PictureUrl$inboundSchema: z.ZodMiniType<PictureUrl, unknown> = z
|
|
1274
|
+
.pipe(
|
|
1275
|
+
z.object({
|
|
1276
|
+
proper_key: types.string(),
|
|
1277
|
+
type: types.literal("str"),
|
|
1278
|
+
value: types.string(),
|
|
1279
|
+
}),
|
|
1280
|
+
z.transform((v) => {
|
|
1281
|
+
return remap$(v, {
|
|
1282
|
+
"proper_key": "properKey",
|
|
1283
|
+
});
|
|
1284
|
+
}),
|
|
1285
|
+
);
|
|
1286
|
+
|
|
1287
|
+
export function pictureUrlFromJSON(
|
|
1288
|
+
jsonString: string,
|
|
1289
|
+
): SafeParseResult<PictureUrl, SDKValidationError> {
|
|
1290
|
+
return safeParse(
|
|
1291
|
+
jsonString,
|
|
1292
|
+
(x) => PictureUrl$inboundSchema.parse(JSON.parse(x)),
|
|
1293
|
+
`Failed to parse 'PictureUrl' from JSON`,
|
|
1294
|
+
);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
/** @internal */
|
|
1298
|
+
export const PlatformVariableType$inboundSchema: z.ZodMiniType<
|
|
1299
|
+
PlatformVariableType,
|
|
1300
|
+
unknown
|
|
1301
|
+
> = openEnums.inboundSchema(PlatformVariableType);
|
|
1302
|
+
|
|
1303
|
+
/** @internal */
|
|
1304
|
+
export const Value$inboundSchema: z.ZodMiniType<Value, unknown> = z.object({
|
|
1305
|
+
url: types.string(),
|
|
1306
|
+
});
|
|
1307
|
+
|
|
1308
|
+
export function valueFromJSON(
|
|
1309
|
+
jsonString: string,
|
|
1310
|
+
): SafeParseResult<Value, SDKValidationError> {
|
|
1311
|
+
return safeParse(
|
|
1312
|
+
jsonString,
|
|
1313
|
+
(x) => Value$inboundSchema.parse(JSON.parse(x)),
|
|
1314
|
+
`Failed to parse 'Value' from JSON`,
|
|
1315
|
+
);
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
/** @internal */
|
|
1319
|
+
export const ValueUnion$inboundSchema: z.ZodMiniType<ValueUnion, unknown> =
|
|
1320
|
+
smartUnion([
|
|
1321
|
+
types.number(),
|
|
1322
|
+
types.string(),
|
|
1323
|
+
z.array(z.lazy(() => Value$inboundSchema)),
|
|
1324
|
+
types.boolean(),
|
|
1325
|
+
]);
|
|
1326
|
+
|
|
1327
|
+
export function valueUnionFromJSON(
|
|
1328
|
+
jsonString: string,
|
|
1329
|
+
): SafeParseResult<ValueUnion, SDKValidationError> {
|
|
1330
|
+
return safeParse(
|
|
1331
|
+
jsonString,
|
|
1332
|
+
(x) => ValueUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1333
|
+
`Failed to parse 'ValueUnion' from JSON`,
|
|
1334
|
+
);
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/** @internal */
|
|
1338
|
+
export const PlatformVariable$inboundSchema: z.ZodMiniType<
|
|
1339
|
+
PlatformVariable,
|
|
1340
|
+
unknown
|
|
1341
|
+
> = z.pipe(
|
|
1342
|
+
z.object({
|
|
1343
|
+
key: types.string(),
|
|
1344
|
+
proper_key: types.string(),
|
|
1345
|
+
type: PlatformVariableType$inboundSchema,
|
|
1346
|
+
value: smartUnion([
|
|
1347
|
+
types.number(),
|
|
1348
|
+
types.string(),
|
|
1349
|
+
z.array(z.lazy(() => Value$inboundSchema)),
|
|
1350
|
+
types.boolean(),
|
|
1351
|
+
]),
|
|
1352
|
+
}),
|
|
1353
|
+
z.transform((v) => {
|
|
1354
|
+
return remap$(v, {
|
|
1355
|
+
"proper_key": "properKey",
|
|
1356
|
+
});
|
|
1357
|
+
}),
|
|
1358
|
+
);
|
|
1359
|
+
|
|
1360
|
+
export function platformVariableFromJSON(
|
|
1361
|
+
jsonString: string,
|
|
1362
|
+
): SafeParseResult<PlatformVariable, SDKValidationError> {
|
|
1363
|
+
return safeParse(
|
|
1364
|
+
jsonString,
|
|
1365
|
+
(x) => PlatformVariable$inboundSchema.parse(JSON.parse(x)),
|
|
1366
|
+
`Failed to parse 'PlatformVariable' from JSON`,
|
|
1367
|
+
);
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/** @internal */
|
|
1371
|
+
export const Private$inboundSchema: z.ZodMiniType<Private, unknown> = z.pipe(
|
|
1372
|
+
z.object({
|
|
1373
|
+
proper_key: types.string(),
|
|
1374
|
+
type: types.literal("bool"),
|
|
1375
|
+
value: types.boolean(),
|
|
1376
|
+
}),
|
|
1377
|
+
z.transform((v) => {
|
|
1378
|
+
return remap$(v, {
|
|
1379
|
+
"proper_key": "properKey",
|
|
1380
|
+
});
|
|
1381
|
+
}),
|
|
1382
|
+
);
|
|
1383
|
+
|
|
1384
|
+
export function privateFromJSON(
|
|
1385
|
+
jsonString: string,
|
|
1386
|
+
): SafeParseResult<Private, SDKValidationError> {
|
|
1387
|
+
return safeParse(
|
|
1388
|
+
jsonString,
|
|
1389
|
+
(x) => Private$inboundSchema.parse(JSON.parse(x)),
|
|
1390
|
+
`Failed to parse 'Private' from JSON`,
|
|
1391
|
+
);
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
/** @internal */
|
|
1395
|
+
export const ProfileUrl$inboundSchema: z.ZodMiniType<ProfileUrl, unknown> = z
|
|
1396
|
+
.pipe(
|
|
1397
|
+
z.object({
|
|
1398
|
+
proper_key: types.string(),
|
|
1399
|
+
type: types.literal("str"),
|
|
1400
|
+
value: types.string(),
|
|
1401
|
+
}),
|
|
1402
|
+
z.transform((v) => {
|
|
1403
|
+
return remap$(v, {
|
|
1404
|
+
"proper_key": "properKey",
|
|
1405
|
+
});
|
|
1406
|
+
}),
|
|
1407
|
+
);
|
|
1408
|
+
|
|
1409
|
+
export function profileUrlFromJSON(
|
|
1410
|
+
jsonString: string,
|
|
1411
|
+
): SafeParseResult<ProfileUrl, SDKValidationError> {
|
|
1412
|
+
return safeParse(
|
|
1413
|
+
jsonString,
|
|
1414
|
+
(x) => ProfileUrl$inboundSchema.parse(JSON.parse(x)),
|
|
1415
|
+
`Failed to parse 'ProfileUrl' from JSON`,
|
|
1416
|
+
);
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
/** @internal */
|
|
1420
|
+
export const Registered$inboundSchema: z.ZodMiniType<Registered, unknown> = z
|
|
1421
|
+
.pipe(
|
|
1422
|
+
z.object({
|
|
1423
|
+
proper_key: types.string(),
|
|
1424
|
+
type: types.literal("bool"),
|
|
1425
|
+
value: types.boolean(),
|
|
1426
|
+
}),
|
|
1427
|
+
z.transform((v) => {
|
|
1428
|
+
return remap$(v, {
|
|
1429
|
+
"proper_key": "properKey",
|
|
1430
|
+
});
|
|
1431
|
+
}),
|
|
1432
|
+
);
|
|
1433
|
+
|
|
1434
|
+
export function registeredFromJSON(
|
|
1435
|
+
jsonString: string,
|
|
1436
|
+
): SafeParseResult<Registered, SDKValidationError> {
|
|
1437
|
+
return safeParse(
|
|
1438
|
+
jsonString,
|
|
1439
|
+
(x) => Registered$inboundSchema.parse(JSON.parse(x)),
|
|
1440
|
+
`Failed to parse 'Registered' from JSON`,
|
|
1441
|
+
);
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
/** @internal */
|
|
1445
|
+
export const Verified$inboundSchema: z.ZodMiniType<Verified, unknown> = z.pipe(
|
|
1446
|
+
z.object({
|
|
1447
|
+
proper_key: types.string(),
|
|
1448
|
+
type: types.literal("bool"),
|
|
1449
|
+
value: types.boolean(),
|
|
1450
|
+
}),
|
|
1451
|
+
z.transform((v) => {
|
|
1452
|
+
return remap$(v, {
|
|
1453
|
+
"proper_key": "properKey",
|
|
1454
|
+
});
|
|
1455
|
+
}),
|
|
1456
|
+
);
|
|
1457
|
+
|
|
1458
|
+
export function verifiedFromJSON(
|
|
1459
|
+
jsonString: string,
|
|
1460
|
+
): SafeParseResult<Verified, SDKValidationError> {
|
|
1461
|
+
return safeParse(
|
|
1462
|
+
jsonString,
|
|
1463
|
+
(x) => Verified$inboundSchema.parse(JSON.parse(x)),
|
|
1464
|
+
`Failed to parse 'Verified' from JSON`,
|
|
1465
|
+
);
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
/** @internal */
|
|
1469
|
+
export const SpecFormat$inboundSchema: z.ZodMiniType<SpecFormat, unknown> = z
|
|
1470
|
+
.pipe(
|
|
1471
|
+
z.object({
|
|
1472
|
+
bio: types.optional(z.lazy(() => Bio$inboundSchema)),
|
|
1473
|
+
id: types.optional(
|
|
1474
|
+
z.lazy(() => PostV1SearchIntelligenceWebDbsId$inboundSchema),
|
|
1475
|
+
),
|
|
1476
|
+
location: types.optional(
|
|
1477
|
+
z.lazy(() => PostV1SearchIntelligenceWebDbsLocation$inboundSchema),
|
|
1478
|
+
),
|
|
1479
|
+
name: types.optional(z.lazy(() => Name$inboundSchema)),
|
|
1480
|
+
picture_url: types.optional(z.lazy(() => PictureUrl$inboundSchema)),
|
|
1481
|
+
platform_variables: types.optional(
|
|
1482
|
+
z.array(z.lazy(() => PlatformVariable$inboundSchema)),
|
|
1483
|
+
),
|
|
1484
|
+
private: types.optional(z.lazy(() => Private$inboundSchema)),
|
|
1485
|
+
profile_url: types.optional(z.lazy(() => ProfileUrl$inboundSchema)),
|
|
1486
|
+
registered: types.optional(z.lazy(() => Registered$inboundSchema)),
|
|
1487
|
+
verified: types.optional(z.lazy(() => Verified$inboundSchema)),
|
|
1488
|
+
}),
|
|
1489
|
+
z.transform((v) => {
|
|
1490
|
+
return remap$(v, {
|
|
1491
|
+
"picture_url": "pictureUrl",
|
|
1492
|
+
"platform_variables": "platformVariables",
|
|
1493
|
+
"profile_url": "profileUrl",
|
|
1494
|
+
});
|
|
1495
|
+
}),
|
|
1496
|
+
);
|
|
1497
|
+
|
|
1498
|
+
export function specFormatFromJSON(
|
|
1499
|
+
jsonString: string,
|
|
1500
|
+
): SafeParseResult<SpecFormat, SDKValidationError> {
|
|
1501
|
+
return safeParse(
|
|
1502
|
+
jsonString,
|
|
1503
|
+
(x) => SpecFormat$inboundSchema.parse(JSON.parse(x)),
|
|
1504
|
+
`Failed to parse 'SpecFormat' from JSON`,
|
|
1505
|
+
);
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
/** @internal */
|
|
1509
|
+
export const PostV1SearchIntelligenceWebDbsStatus$inboundSchema: z.ZodMiniType<
|
|
1510
|
+
PostV1SearchIntelligenceWebDbsStatus,
|
|
1511
|
+
unknown
|
|
1512
|
+
> = openEnums.inboundSchema(PostV1SearchIntelligenceWebDbsStatus);
|
|
1513
|
+
|
|
1514
|
+
/** @internal */
|
|
1515
|
+
export const Category$inboundSchema: z.ZodMiniType<Category, unknown> = z
|
|
1516
|
+
.object({
|
|
1517
|
+
name: types.string(),
|
|
1518
|
+
});
|
|
1519
|
+
|
|
1520
|
+
export function categoryFromJSON(
|
|
1521
|
+
jsonString: string,
|
|
1522
|
+
): SafeParseResult<Category, SDKValidationError> {
|
|
1523
|
+
return safeParse(
|
|
1524
|
+
jsonString,
|
|
1525
|
+
(x) => Category$inboundSchema.parse(JSON.parse(x)),
|
|
1526
|
+
`Failed to parse 'Category' from JSON`,
|
|
1527
|
+
);
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/** @internal */
|
|
1531
|
+
export const Osintindustry$inboundSchema: z.ZodMiniType<
|
|
1532
|
+
Osintindustry,
|
|
1533
|
+
unknown
|
|
1534
|
+
> = z.pipe(
|
|
1535
|
+
z.object({
|
|
1536
|
+
data: z.record(z.string(), z.any()),
|
|
1537
|
+
front_schemas: z.array(z.lazy(() => FrontSchema$inboundSchema)),
|
|
1538
|
+
module: types.string(),
|
|
1539
|
+
reliable_source: types.boolean(),
|
|
1540
|
+
spec_format: z.array(z.lazy(() => SpecFormat$inboundSchema)),
|
|
1541
|
+
status: PostV1SearchIntelligenceWebDbsStatus$inboundSchema,
|
|
1542
|
+
category: types.optional(z.lazy(() => Category$inboundSchema)),
|
|
1543
|
+
}),
|
|
1544
|
+
z.transform((v) => {
|
|
1545
|
+
return remap$(v, {
|
|
1546
|
+
"front_schemas": "frontSchemas",
|
|
1547
|
+
"reliable_source": "reliableSource",
|
|
1548
|
+
"spec_format": "specFormat",
|
|
1549
|
+
});
|
|
1550
|
+
}),
|
|
1551
|
+
);
|
|
1552
|
+
|
|
1553
|
+
export function osintindustryFromJSON(
|
|
1554
|
+
jsonString: string,
|
|
1555
|
+
): SafeParseResult<Osintindustry, SDKValidationError> {
|
|
1556
|
+
return safeParse(
|
|
1557
|
+
jsonString,
|
|
1558
|
+
(x) => Osintindustry$inboundSchema.parse(JSON.parse(x)),
|
|
1559
|
+
`Failed to parse 'Osintindustry' from JSON`,
|
|
1560
|
+
);
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/** @internal */
|
|
1564
|
+
export const Snusbase$inboundSchema: z.ZodMiniType<Snusbase, unknown> = z
|
|
1565
|
+
.object({
|
|
1566
|
+
address: types.optional(types.string()),
|
|
1567
|
+
birthdate: types.optional(types.string()),
|
|
1568
|
+
city: types.optional(types.string()),
|
|
1569
|
+
company: types.optional(types.string()),
|
|
1570
|
+
country: types.optional(types.string()),
|
|
1571
|
+
created: types.optional(types.string()),
|
|
1572
|
+
date: types.optional(types.string()),
|
|
1573
|
+
domain: types.optional(types.string()),
|
|
1574
|
+
email: types.optional(types.string()),
|
|
1575
|
+
followers: types.optional(types.string()),
|
|
1576
|
+
gender: types.optional(types.string()),
|
|
1577
|
+
hash: types.optional(types.string()),
|
|
1578
|
+
host: types.optional(types.string()),
|
|
1579
|
+
id: types.optional(types.string()),
|
|
1580
|
+
job: types.optional(types.string()),
|
|
1581
|
+
language: types.optional(types.string()),
|
|
1582
|
+
lastip: types.optional(types.string()),
|
|
1583
|
+
name: types.optional(types.string()),
|
|
1584
|
+
other: types.optional(types.string()),
|
|
1585
|
+
password: types.optional(types.string()),
|
|
1586
|
+
phone: types.optional(types.string()),
|
|
1587
|
+
regip: types.optional(types.string()),
|
|
1588
|
+
salt: types.optional(types.string()),
|
|
1589
|
+
state: types.optional(types.string()),
|
|
1590
|
+
uid: types.optional(types.string()),
|
|
1591
|
+
unparsed: types.optional(types.string()),
|
|
1592
|
+
updated: types.optional(types.string()),
|
|
1593
|
+
url: types.optional(types.string()),
|
|
1594
|
+
username: types.optional(types.string()),
|
|
1595
|
+
zip: types.optional(types.string()),
|
|
1596
|
+
});
|
|
1597
|
+
|
|
1598
|
+
export function snusbaseFromJSON(
|
|
1599
|
+
jsonString: string,
|
|
1600
|
+
): SafeParseResult<Snusbase, SDKValidationError> {
|
|
1601
|
+
return safeParse(
|
|
1602
|
+
jsonString,
|
|
1603
|
+
(x) => Snusbase$inboundSchema.parse(JSON.parse(x)),
|
|
1604
|
+
`Failed to parse 'Snusbase' from JSON`,
|
|
1605
|
+
);
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
/** @internal */
|
|
1609
|
+
export const ResponseT$inboundSchema: z.ZodMiniType<ResponseT, unknown> = z
|
|
1610
|
+
.object({
|
|
1611
|
+
cloudsint: types.optional(z.lazy(() => Cloudsint$inboundSchema)),
|
|
1612
|
+
ghosint: types.optional(z.lazy(() => Ghosint$inboundSchema)),
|
|
1613
|
+
hackcheck: types.optional(z.lazy(() => Hackcheck$inboundSchema)),
|
|
1614
|
+
intelligencex: types.optional(z.lazy(() => Intelligencex$inboundSchema)),
|
|
1615
|
+
leakcheck: types.optional(z.lazy(() => Leakcheck$inboundSchema)),
|
|
1616
|
+
leakosint: types.optional(z.lazy(() => Leakosint$inboundSchema)),
|
|
1617
|
+
osintindustries: types.optional(
|
|
1618
|
+
z.array(z.lazy(() => Osintindustry$inboundSchema)),
|
|
1619
|
+
),
|
|
1620
|
+
snusbase: types.optional(
|
|
1621
|
+
z.record(z.string(), z.array(z.lazy(() => Snusbase$inboundSchema))),
|
|
1622
|
+
),
|
|
1623
|
+
});
|
|
1624
|
+
|
|
1625
|
+
export function responseFromJSON(
|
|
1626
|
+
jsonString: string,
|
|
1627
|
+
): SafeParseResult<ResponseT, SDKValidationError> {
|
|
1628
|
+
return safeParse(
|
|
1629
|
+
jsonString,
|
|
1630
|
+
(x) => ResponseT$inboundSchema.parse(JSON.parse(x)),
|
|
1631
|
+
`Failed to parse 'ResponseT' from JSON`,
|
|
1632
|
+
);
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
/** @internal */
|
|
1636
|
+
export const PostV1SearchIntelligenceWebDbsResponse$inboundSchema:
|
|
1637
|
+
z.ZodMiniType<PostV1SearchIntelligenceWebDbsResponse, unknown> = z.object({
|
|
1638
|
+
response: z.lazy(() => ResponseT$inboundSchema),
|
|
1639
|
+
success: types.boolean(),
|
|
1640
|
+
error: types.optional(types.string()),
|
|
1641
|
+
});
|
|
1642
|
+
|
|
1643
|
+
export function postV1SearchIntelligenceWebDbsResponseFromJSON(
|
|
1644
|
+
jsonString: string,
|
|
1645
|
+
): SafeParseResult<PostV1SearchIntelligenceWebDbsResponse, SDKValidationError> {
|
|
1646
|
+
return safeParse(
|
|
1647
|
+
jsonString,
|
|
1648
|
+
(x) =>
|
|
1649
|
+
PostV1SearchIntelligenceWebDbsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
1650
|
+
`Failed to parse 'PostV1SearchIntelligenceWebDbsResponse' from JSON`,
|
|
1651
|
+
);
|
|
1652
|
+
}
|