@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,1384 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as types from "../../types/primitives.js";
|
|
11
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
12
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
13
|
+
|
|
14
|
+
export const PostV1SearchIntelligenceSeonType = {
|
|
15
|
+
Bin: "bin",
|
|
16
|
+
Email: "email",
|
|
17
|
+
Ip: "ip",
|
|
18
|
+
Phone: "phone",
|
|
19
|
+
} as const;
|
|
20
|
+
export type PostV1SearchIntelligenceSeonType = ClosedEnum<
|
|
21
|
+
typeof PostV1SearchIntelligenceSeonType
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
export type PostV1SearchIntelligenceSeonRequest = {
|
|
25
|
+
query: string;
|
|
26
|
+
type: PostV1SearchIntelligenceSeonType;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type JobsAndEmployment = {
|
|
30
|
+
checked?: number | undefined;
|
|
31
|
+
registered?: number | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type MoneyTransferRemittance = {
|
|
35
|
+
checked?: number | undefined;
|
|
36
|
+
registered?: number | undefined;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type ScienceAndEducation = {
|
|
40
|
+
checked?: number | undefined;
|
|
41
|
+
registered?: number | undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export type BusinessTechnology = {
|
|
45
|
+
checked?: number | undefined;
|
|
46
|
+
registered?: number | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export type Business = {
|
|
50
|
+
jobsAndEmployment?: JobsAndEmployment | undefined;
|
|
51
|
+
moneyTransferRemittance?: MoneyTransferRemittance | undefined;
|
|
52
|
+
scienceAndEducation?: ScienceAndEducation | undefined;
|
|
53
|
+
technology?: BusinessTechnology | undefined;
|
|
54
|
+
totalRegistration?: number | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export type AdultSites = {
|
|
58
|
+
checked?: number | undefined;
|
|
59
|
+
registered?: number | undefined;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export type BettingAndGaming = {
|
|
63
|
+
checked?: number | undefined;
|
|
64
|
+
registered?: number | undefined;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export type Dating = {
|
|
68
|
+
checked?: number | undefined;
|
|
69
|
+
registered?: number | undefined;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export type Delivery = {
|
|
73
|
+
checked?: number | undefined;
|
|
74
|
+
registered?: number | undefined;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export type Ecommerce = {
|
|
78
|
+
checked?: number | undefined;
|
|
79
|
+
registered?: number | undefined;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export type EmailService = {
|
|
83
|
+
checked?: number | undefined;
|
|
84
|
+
registered?: number | undefined;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export type Entertainment = {
|
|
88
|
+
checked?: number | undefined;
|
|
89
|
+
registered?: number | undefined;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export type HealthAndFitness = {
|
|
93
|
+
checked?: number | undefined;
|
|
94
|
+
registered?: number | undefined;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export type Messenger = {
|
|
98
|
+
checked?: number | undefined;
|
|
99
|
+
registered?: number | undefined;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export type RealEstate = {
|
|
103
|
+
checked?: number | undefined;
|
|
104
|
+
registered?: number | undefined;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export type SocialMedia = {
|
|
108
|
+
checked?: number | undefined;
|
|
109
|
+
registered?: number | undefined;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
export type PersonalTechnology = {
|
|
113
|
+
checked?: number | undefined;
|
|
114
|
+
registered?: number | undefined;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
export type Travel = {
|
|
118
|
+
checked?: number | undefined;
|
|
119
|
+
registered?: number | undefined;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export type Personal = {
|
|
123
|
+
adultSites?: AdultSites | undefined;
|
|
124
|
+
bettingAndGaming?: BettingAndGaming | undefined;
|
|
125
|
+
dating?: Dating | undefined;
|
|
126
|
+
delivery?: Delivery | undefined;
|
|
127
|
+
ecommerce?: Ecommerce | undefined;
|
|
128
|
+
emailService?: EmailService | undefined;
|
|
129
|
+
entertainment?: Entertainment | undefined;
|
|
130
|
+
healthAndFitness?: HealthAndFitness | undefined;
|
|
131
|
+
messenger?: Messenger | undefined;
|
|
132
|
+
realEstate?: RealEstate | undefined;
|
|
133
|
+
socialMedia?: SocialMedia | undefined;
|
|
134
|
+
technology?: PersonalTechnology | undefined;
|
|
135
|
+
totalRegistration?: number | undefined;
|
|
136
|
+
travel?: Travel | undefined;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export type AccountAggregates = {
|
|
140
|
+
business?: Business | undefined;
|
|
141
|
+
personal?: Personal | undefined;
|
|
142
|
+
totalRegistration?: number | undefined;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
export type AppliedRule = {
|
|
146
|
+
id?: string | undefined;
|
|
147
|
+
name?: string | undefined;
|
|
148
|
+
operation?: string | undefined;
|
|
149
|
+
score?: number | undefined;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export type Domain = {
|
|
153
|
+
cityName?: string | undefined;
|
|
154
|
+
companyName?: string | undefined;
|
|
155
|
+
countryCode?: string | undefined;
|
|
156
|
+
createDate?: string | undefined;
|
|
157
|
+
domainName?: string | undefined;
|
|
158
|
+
expiryDate?: string | undefined;
|
|
159
|
+
fullName?: string | undefined;
|
|
160
|
+
mailingAddress?: string | undefined;
|
|
161
|
+
phoneNumber?: string | undefined;
|
|
162
|
+
registrarName?: string | undefined;
|
|
163
|
+
stateName?: string | undefined;
|
|
164
|
+
updateDate?: string | undefined;
|
|
165
|
+
zipCode?: string | undefined;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export type AssociatedDomainRegistrations = {
|
|
169
|
+
domains?: Array<Domain> | undefined;
|
|
170
|
+
exists?: boolean | undefined;
|
|
171
|
+
firstRegistrationDate?: string | undefined;
|
|
172
|
+
numberOfDomains?: number | undefined;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
export type PostV1SearchIntelligenceSeonBreach = {
|
|
176
|
+
date?: string | undefined;
|
|
177
|
+
domain?: string | undefined;
|
|
178
|
+
name?: string | undefined;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
export type BreachDetails = {
|
|
182
|
+
breaches?: Array<PostV1SearchIntelligenceSeonBreach> | undefined;
|
|
183
|
+
firstBreach?: string | undefined;
|
|
184
|
+
haveibeenpwnedListed?: boolean | undefined;
|
|
185
|
+
lastBreach?: string | undefined;
|
|
186
|
+
numberOfBreaches?: number | undefined;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
export type CnamDetails = {
|
|
190
|
+
name?: string | undefined;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export type EmailDetails = {
|
|
194
|
+
deliverable?: boolean | undefined;
|
|
195
|
+
earliestProfileDate?: string | undefined;
|
|
196
|
+
emailRandomnessScore?: number | undefined;
|
|
197
|
+
fullInbox?: boolean | undefined;
|
|
198
|
+
minimumAgeMonths?: number | undefined;
|
|
199
|
+
validFormat?: boolean | undefined;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
export type EmailDomainDetails = {
|
|
203
|
+
acceptAll?: boolean | undefined;
|
|
204
|
+
created?: string | undefined;
|
|
205
|
+
custom?: boolean | undefined;
|
|
206
|
+
disposable?: boolean | undefined;
|
|
207
|
+
dmarcEnforced?: boolean | undefined;
|
|
208
|
+
domain?: string | undefined;
|
|
209
|
+
expires?: string | undefined;
|
|
210
|
+
free?: boolean | undefined;
|
|
211
|
+
registered?: boolean | undefined;
|
|
212
|
+
registeredTo?: string | undefined;
|
|
213
|
+
registrarName?: string | undefined;
|
|
214
|
+
spfStrict?: boolean | undefined;
|
|
215
|
+
suspiciousTld?: boolean | undefined;
|
|
216
|
+
tld?: string | undefined;
|
|
217
|
+
updated?: string | undefined;
|
|
218
|
+
validMx?: boolean | undefined;
|
|
219
|
+
websiteExists?: boolean | undefined;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
export type OriginalCarrier = {
|
|
223
|
+
carrier?: string | undefined;
|
|
224
|
+
carrierPrefix?: string | undefined;
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
export type PortedCarrier = {
|
|
228
|
+
carrier?: string | undefined;
|
|
229
|
+
carrierPrefix?: string | undefined;
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
export type RoamingCarrier = {
|
|
233
|
+
carrier?: string | null | undefined;
|
|
234
|
+
carrierCountry?: string | null | undefined;
|
|
235
|
+
carrierPrefix?: string | null | undefined;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
export type HlrDetails = {
|
|
239
|
+
imsi?: string | undefined;
|
|
240
|
+
originalCarrier?: OriginalCarrier | undefined;
|
|
241
|
+
portedCarrier?: PortedCarrier | undefined;
|
|
242
|
+
roamingCarrier?: RoamingCarrier | undefined;
|
|
243
|
+
servingMsc?: string | null | undefined;
|
|
244
|
+
status?: string | undefined;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
export type PostV1SearchIntelligenceSeonPhone = number | string;
|
|
248
|
+
|
|
249
|
+
export type ProviderCarrierDetails = {
|
|
250
|
+
carrier?: string | undefined;
|
|
251
|
+
country?: string | undefined;
|
|
252
|
+
disposable?: boolean | undefined;
|
|
253
|
+
phoneIsValid?: boolean | undefined;
|
|
254
|
+
type?: string | undefined;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
export type RiskScores = {
|
|
258
|
+
globalNetworkScore?: number | undefined;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
export type SeonFraudHistory = {
|
|
262
|
+
customerHits?: number | undefined;
|
|
263
|
+
firstSeen?: number | undefined;
|
|
264
|
+
flags?: Array<string> | undefined;
|
|
265
|
+
fraudulentDeclineCustomerHits?: number | undefined;
|
|
266
|
+
fraudulentDeclineFirstSeen?: number | undefined;
|
|
267
|
+
fraudulentDeclineHits?: number | undefined;
|
|
268
|
+
fraudulentDeclineLastSeen?: number | undefined;
|
|
269
|
+
hits?: number | undefined;
|
|
270
|
+
lastSeen?: number | undefined;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export type PostV1SearchIntelligenceSeonData = {
|
|
274
|
+
accountAggregates?: AccountAggregates | undefined;
|
|
275
|
+
appliedRules?: Array<AppliedRule> | undefined;
|
|
276
|
+
associatedDomainRegistrations?: AssociatedDomainRegistrations | undefined;
|
|
277
|
+
binBank?: string | undefined;
|
|
278
|
+
binCard?: string | undefined;
|
|
279
|
+
binCountry?: string | undefined;
|
|
280
|
+
binCountryCode?: string | undefined;
|
|
281
|
+
binLevel?: string | undefined;
|
|
282
|
+
binPhone?: string | undefined;
|
|
283
|
+
binType?: string | undefined;
|
|
284
|
+
binValid?: boolean | undefined;
|
|
285
|
+
binWebsite?: string | undefined;
|
|
286
|
+
breachDetails?: BreachDetails | undefined;
|
|
287
|
+
cardBin?: string | undefined;
|
|
288
|
+
cardIssuer?: string | undefined;
|
|
289
|
+
city?: string | undefined;
|
|
290
|
+
cnamDetails?: CnamDetails | undefined;
|
|
291
|
+
consumerPrivacyNetwork?: boolean | undefined;
|
|
292
|
+
country?: string | undefined;
|
|
293
|
+
dataCenterProxy?: boolean | undefined;
|
|
294
|
+
email?: string | undefined;
|
|
295
|
+
emailDetails?: EmailDetails | undefined;
|
|
296
|
+
emailDomainDetails?: EmailDomainDetails | undefined;
|
|
297
|
+
enterprisePrivateNetwork?: boolean | undefined;
|
|
298
|
+
flags?: Array<{ [k: string]: any }> | undefined;
|
|
299
|
+
harmful?: boolean | undefined;
|
|
300
|
+
history?: { [k: string]: any } | undefined;
|
|
301
|
+
hlrDetails?: HlrDetails | undefined;
|
|
302
|
+
id?: string | undefined;
|
|
303
|
+
ip?: string | undefined;
|
|
304
|
+
ispName?: string | undefined;
|
|
305
|
+
latitude?: number | undefined;
|
|
306
|
+
longitude?: number | undefined;
|
|
307
|
+
openPorts?: Array<number> | undefined;
|
|
308
|
+
phone?: number | string | undefined;
|
|
309
|
+
providerCarrierDetails?: ProviderCarrierDetails | undefined;
|
|
310
|
+
providerName?: string | null | undefined;
|
|
311
|
+
publicProxy?: boolean | undefined;
|
|
312
|
+
residentialProxy?: boolean | undefined;
|
|
313
|
+
riskScores?: RiskScores | undefined;
|
|
314
|
+
score?: number | undefined;
|
|
315
|
+
searchEngineSpider?: boolean | undefined;
|
|
316
|
+
seonFraudHistory?: SeonFraudHistory | undefined;
|
|
317
|
+
spamNumber?: number | undefined;
|
|
318
|
+
spamUrls?: Array<string> | undefined;
|
|
319
|
+
stateProv?: string | undefined;
|
|
320
|
+
timezoneOffset?: string | undefined;
|
|
321
|
+
tor?: boolean | undefined;
|
|
322
|
+
type?: string | undefined;
|
|
323
|
+
vpn?: boolean | undefined;
|
|
324
|
+
webProxy?: boolean | undefined;
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Search successful
|
|
329
|
+
*/
|
|
330
|
+
export type PostV1SearchIntelligenceSeonResponse = {
|
|
331
|
+
data: PostV1SearchIntelligenceSeonData;
|
|
332
|
+
success: boolean;
|
|
333
|
+
error?: string | undefined;
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
/** @internal */
|
|
337
|
+
export const PostV1SearchIntelligenceSeonType$outboundSchema: z.ZodMiniEnum<
|
|
338
|
+
typeof PostV1SearchIntelligenceSeonType
|
|
339
|
+
> = z.enum(PostV1SearchIntelligenceSeonType);
|
|
340
|
+
|
|
341
|
+
/** @internal */
|
|
342
|
+
export type PostV1SearchIntelligenceSeonRequest$Outbound = {
|
|
343
|
+
query: string;
|
|
344
|
+
type: string;
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
/** @internal */
|
|
348
|
+
export const PostV1SearchIntelligenceSeonRequest$outboundSchema: z.ZodMiniType<
|
|
349
|
+
PostV1SearchIntelligenceSeonRequest$Outbound,
|
|
350
|
+
PostV1SearchIntelligenceSeonRequest
|
|
351
|
+
> = z.object({
|
|
352
|
+
query: z.string(),
|
|
353
|
+
type: PostV1SearchIntelligenceSeonType$outboundSchema,
|
|
354
|
+
});
|
|
355
|
+
|
|
356
|
+
export function postV1SearchIntelligenceSeonRequestToJSON(
|
|
357
|
+
postV1SearchIntelligenceSeonRequest: PostV1SearchIntelligenceSeonRequest,
|
|
358
|
+
): string {
|
|
359
|
+
return JSON.stringify(
|
|
360
|
+
PostV1SearchIntelligenceSeonRequest$outboundSchema.parse(
|
|
361
|
+
postV1SearchIntelligenceSeonRequest,
|
|
362
|
+
),
|
|
363
|
+
);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/** @internal */
|
|
367
|
+
export const JobsAndEmployment$inboundSchema: z.ZodMiniType<
|
|
368
|
+
JobsAndEmployment,
|
|
369
|
+
unknown
|
|
370
|
+
> = z.object({
|
|
371
|
+
checked: types.optional(types.number()),
|
|
372
|
+
registered: types.optional(types.number()),
|
|
373
|
+
});
|
|
374
|
+
|
|
375
|
+
export function jobsAndEmploymentFromJSON(
|
|
376
|
+
jsonString: string,
|
|
377
|
+
): SafeParseResult<JobsAndEmployment, SDKValidationError> {
|
|
378
|
+
return safeParse(
|
|
379
|
+
jsonString,
|
|
380
|
+
(x) => JobsAndEmployment$inboundSchema.parse(JSON.parse(x)),
|
|
381
|
+
`Failed to parse 'JobsAndEmployment' from JSON`,
|
|
382
|
+
);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/** @internal */
|
|
386
|
+
export const MoneyTransferRemittance$inboundSchema: z.ZodMiniType<
|
|
387
|
+
MoneyTransferRemittance,
|
|
388
|
+
unknown
|
|
389
|
+
> = z.object({
|
|
390
|
+
checked: types.optional(types.number()),
|
|
391
|
+
registered: types.optional(types.number()),
|
|
392
|
+
});
|
|
393
|
+
|
|
394
|
+
export function moneyTransferRemittanceFromJSON(
|
|
395
|
+
jsonString: string,
|
|
396
|
+
): SafeParseResult<MoneyTransferRemittance, SDKValidationError> {
|
|
397
|
+
return safeParse(
|
|
398
|
+
jsonString,
|
|
399
|
+
(x) => MoneyTransferRemittance$inboundSchema.parse(JSON.parse(x)),
|
|
400
|
+
`Failed to parse 'MoneyTransferRemittance' from JSON`,
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/** @internal */
|
|
405
|
+
export const ScienceAndEducation$inboundSchema: z.ZodMiniType<
|
|
406
|
+
ScienceAndEducation,
|
|
407
|
+
unknown
|
|
408
|
+
> = z.object({
|
|
409
|
+
checked: types.optional(types.number()),
|
|
410
|
+
registered: types.optional(types.number()),
|
|
411
|
+
});
|
|
412
|
+
|
|
413
|
+
export function scienceAndEducationFromJSON(
|
|
414
|
+
jsonString: string,
|
|
415
|
+
): SafeParseResult<ScienceAndEducation, SDKValidationError> {
|
|
416
|
+
return safeParse(
|
|
417
|
+
jsonString,
|
|
418
|
+
(x) => ScienceAndEducation$inboundSchema.parse(JSON.parse(x)),
|
|
419
|
+
`Failed to parse 'ScienceAndEducation' from JSON`,
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/** @internal */
|
|
424
|
+
export const BusinessTechnology$inboundSchema: z.ZodMiniType<
|
|
425
|
+
BusinessTechnology,
|
|
426
|
+
unknown
|
|
427
|
+
> = z.object({
|
|
428
|
+
checked: types.optional(types.number()),
|
|
429
|
+
registered: types.optional(types.number()),
|
|
430
|
+
});
|
|
431
|
+
|
|
432
|
+
export function businessTechnologyFromJSON(
|
|
433
|
+
jsonString: string,
|
|
434
|
+
): SafeParseResult<BusinessTechnology, SDKValidationError> {
|
|
435
|
+
return safeParse(
|
|
436
|
+
jsonString,
|
|
437
|
+
(x) => BusinessTechnology$inboundSchema.parse(JSON.parse(x)),
|
|
438
|
+
`Failed to parse 'BusinessTechnology' from JSON`,
|
|
439
|
+
);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/** @internal */
|
|
443
|
+
export const Business$inboundSchema: z.ZodMiniType<Business, unknown> = z.pipe(
|
|
444
|
+
z.object({
|
|
445
|
+
jobs_and_employment: types.optional(z.lazy(() =>
|
|
446
|
+
JobsAndEmployment$inboundSchema
|
|
447
|
+
)),
|
|
448
|
+
money_transfer_remittance: types.optional(z.lazy(() =>
|
|
449
|
+
MoneyTransferRemittance$inboundSchema
|
|
450
|
+
)),
|
|
451
|
+
science_and_education: types.optional(z.lazy(() =>
|
|
452
|
+
ScienceAndEducation$inboundSchema
|
|
453
|
+
)),
|
|
454
|
+
technology: types.optional(z.lazy(() => BusinessTechnology$inboundSchema)),
|
|
455
|
+
total_registration: types.optional(types.number()),
|
|
456
|
+
}),
|
|
457
|
+
z.transform((v) => {
|
|
458
|
+
return remap$(v, {
|
|
459
|
+
"jobs_and_employment": "jobsAndEmployment",
|
|
460
|
+
"money_transfer_remittance": "moneyTransferRemittance",
|
|
461
|
+
"science_and_education": "scienceAndEducation",
|
|
462
|
+
"total_registration": "totalRegistration",
|
|
463
|
+
});
|
|
464
|
+
}),
|
|
465
|
+
);
|
|
466
|
+
|
|
467
|
+
export function businessFromJSON(
|
|
468
|
+
jsonString: string,
|
|
469
|
+
): SafeParseResult<Business, SDKValidationError> {
|
|
470
|
+
return safeParse(
|
|
471
|
+
jsonString,
|
|
472
|
+
(x) => Business$inboundSchema.parse(JSON.parse(x)),
|
|
473
|
+
`Failed to parse 'Business' from JSON`,
|
|
474
|
+
);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/** @internal */
|
|
478
|
+
export const AdultSites$inboundSchema: z.ZodMiniType<AdultSites, unknown> = z
|
|
479
|
+
.object({
|
|
480
|
+
checked: types.optional(types.number()),
|
|
481
|
+
registered: types.optional(types.number()),
|
|
482
|
+
});
|
|
483
|
+
|
|
484
|
+
export function adultSitesFromJSON(
|
|
485
|
+
jsonString: string,
|
|
486
|
+
): SafeParseResult<AdultSites, SDKValidationError> {
|
|
487
|
+
return safeParse(
|
|
488
|
+
jsonString,
|
|
489
|
+
(x) => AdultSites$inboundSchema.parse(JSON.parse(x)),
|
|
490
|
+
`Failed to parse 'AdultSites' from JSON`,
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/** @internal */
|
|
495
|
+
export const BettingAndGaming$inboundSchema: z.ZodMiniType<
|
|
496
|
+
BettingAndGaming,
|
|
497
|
+
unknown
|
|
498
|
+
> = z.object({
|
|
499
|
+
checked: types.optional(types.number()),
|
|
500
|
+
registered: types.optional(types.number()),
|
|
501
|
+
});
|
|
502
|
+
|
|
503
|
+
export function bettingAndGamingFromJSON(
|
|
504
|
+
jsonString: string,
|
|
505
|
+
): SafeParseResult<BettingAndGaming, SDKValidationError> {
|
|
506
|
+
return safeParse(
|
|
507
|
+
jsonString,
|
|
508
|
+
(x) => BettingAndGaming$inboundSchema.parse(JSON.parse(x)),
|
|
509
|
+
`Failed to parse 'BettingAndGaming' from JSON`,
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/** @internal */
|
|
514
|
+
export const Dating$inboundSchema: z.ZodMiniType<Dating, unknown> = z.object({
|
|
515
|
+
checked: types.optional(types.number()),
|
|
516
|
+
registered: types.optional(types.number()),
|
|
517
|
+
});
|
|
518
|
+
|
|
519
|
+
export function datingFromJSON(
|
|
520
|
+
jsonString: string,
|
|
521
|
+
): SafeParseResult<Dating, SDKValidationError> {
|
|
522
|
+
return safeParse(
|
|
523
|
+
jsonString,
|
|
524
|
+
(x) => Dating$inboundSchema.parse(JSON.parse(x)),
|
|
525
|
+
`Failed to parse 'Dating' from JSON`,
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/** @internal */
|
|
530
|
+
export const Delivery$inboundSchema: z.ZodMiniType<Delivery, unknown> = z
|
|
531
|
+
.object({
|
|
532
|
+
checked: types.optional(types.number()),
|
|
533
|
+
registered: types.optional(types.number()),
|
|
534
|
+
});
|
|
535
|
+
|
|
536
|
+
export function deliveryFromJSON(
|
|
537
|
+
jsonString: string,
|
|
538
|
+
): SafeParseResult<Delivery, SDKValidationError> {
|
|
539
|
+
return safeParse(
|
|
540
|
+
jsonString,
|
|
541
|
+
(x) => Delivery$inboundSchema.parse(JSON.parse(x)),
|
|
542
|
+
`Failed to parse 'Delivery' from JSON`,
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/** @internal */
|
|
547
|
+
export const Ecommerce$inboundSchema: z.ZodMiniType<Ecommerce, unknown> = z
|
|
548
|
+
.object({
|
|
549
|
+
checked: types.optional(types.number()),
|
|
550
|
+
registered: types.optional(types.number()),
|
|
551
|
+
});
|
|
552
|
+
|
|
553
|
+
export function ecommerceFromJSON(
|
|
554
|
+
jsonString: string,
|
|
555
|
+
): SafeParseResult<Ecommerce, SDKValidationError> {
|
|
556
|
+
return safeParse(
|
|
557
|
+
jsonString,
|
|
558
|
+
(x) => Ecommerce$inboundSchema.parse(JSON.parse(x)),
|
|
559
|
+
`Failed to parse 'Ecommerce' from JSON`,
|
|
560
|
+
);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/** @internal */
|
|
564
|
+
export const EmailService$inboundSchema: z.ZodMiniType<EmailService, unknown> =
|
|
565
|
+
z.object({
|
|
566
|
+
checked: types.optional(types.number()),
|
|
567
|
+
registered: types.optional(types.number()),
|
|
568
|
+
});
|
|
569
|
+
|
|
570
|
+
export function emailServiceFromJSON(
|
|
571
|
+
jsonString: string,
|
|
572
|
+
): SafeParseResult<EmailService, SDKValidationError> {
|
|
573
|
+
return safeParse(
|
|
574
|
+
jsonString,
|
|
575
|
+
(x) => EmailService$inboundSchema.parse(JSON.parse(x)),
|
|
576
|
+
`Failed to parse 'EmailService' from JSON`,
|
|
577
|
+
);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/** @internal */
|
|
581
|
+
export const Entertainment$inboundSchema: z.ZodMiniType<
|
|
582
|
+
Entertainment,
|
|
583
|
+
unknown
|
|
584
|
+
> = z.object({
|
|
585
|
+
checked: types.optional(types.number()),
|
|
586
|
+
registered: types.optional(types.number()),
|
|
587
|
+
});
|
|
588
|
+
|
|
589
|
+
export function entertainmentFromJSON(
|
|
590
|
+
jsonString: string,
|
|
591
|
+
): SafeParseResult<Entertainment, SDKValidationError> {
|
|
592
|
+
return safeParse(
|
|
593
|
+
jsonString,
|
|
594
|
+
(x) => Entertainment$inboundSchema.parse(JSON.parse(x)),
|
|
595
|
+
`Failed to parse 'Entertainment' from JSON`,
|
|
596
|
+
);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/** @internal */
|
|
600
|
+
export const HealthAndFitness$inboundSchema: z.ZodMiniType<
|
|
601
|
+
HealthAndFitness,
|
|
602
|
+
unknown
|
|
603
|
+
> = z.object({
|
|
604
|
+
checked: types.optional(types.number()),
|
|
605
|
+
registered: types.optional(types.number()),
|
|
606
|
+
});
|
|
607
|
+
|
|
608
|
+
export function healthAndFitnessFromJSON(
|
|
609
|
+
jsonString: string,
|
|
610
|
+
): SafeParseResult<HealthAndFitness, SDKValidationError> {
|
|
611
|
+
return safeParse(
|
|
612
|
+
jsonString,
|
|
613
|
+
(x) => HealthAndFitness$inboundSchema.parse(JSON.parse(x)),
|
|
614
|
+
`Failed to parse 'HealthAndFitness' from JSON`,
|
|
615
|
+
);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/** @internal */
|
|
619
|
+
export const Messenger$inboundSchema: z.ZodMiniType<Messenger, unknown> = z
|
|
620
|
+
.object({
|
|
621
|
+
checked: types.optional(types.number()),
|
|
622
|
+
registered: types.optional(types.number()),
|
|
623
|
+
});
|
|
624
|
+
|
|
625
|
+
export function messengerFromJSON(
|
|
626
|
+
jsonString: string,
|
|
627
|
+
): SafeParseResult<Messenger, SDKValidationError> {
|
|
628
|
+
return safeParse(
|
|
629
|
+
jsonString,
|
|
630
|
+
(x) => Messenger$inboundSchema.parse(JSON.parse(x)),
|
|
631
|
+
`Failed to parse 'Messenger' from JSON`,
|
|
632
|
+
);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/** @internal */
|
|
636
|
+
export const RealEstate$inboundSchema: z.ZodMiniType<RealEstate, unknown> = z
|
|
637
|
+
.object({
|
|
638
|
+
checked: types.optional(types.number()),
|
|
639
|
+
registered: types.optional(types.number()),
|
|
640
|
+
});
|
|
641
|
+
|
|
642
|
+
export function realEstateFromJSON(
|
|
643
|
+
jsonString: string,
|
|
644
|
+
): SafeParseResult<RealEstate, SDKValidationError> {
|
|
645
|
+
return safeParse(
|
|
646
|
+
jsonString,
|
|
647
|
+
(x) => RealEstate$inboundSchema.parse(JSON.parse(x)),
|
|
648
|
+
`Failed to parse 'RealEstate' from JSON`,
|
|
649
|
+
);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/** @internal */
|
|
653
|
+
export const SocialMedia$inboundSchema: z.ZodMiniType<SocialMedia, unknown> = z
|
|
654
|
+
.object({
|
|
655
|
+
checked: types.optional(types.number()),
|
|
656
|
+
registered: types.optional(types.number()),
|
|
657
|
+
});
|
|
658
|
+
|
|
659
|
+
export function socialMediaFromJSON(
|
|
660
|
+
jsonString: string,
|
|
661
|
+
): SafeParseResult<SocialMedia, SDKValidationError> {
|
|
662
|
+
return safeParse(
|
|
663
|
+
jsonString,
|
|
664
|
+
(x) => SocialMedia$inboundSchema.parse(JSON.parse(x)),
|
|
665
|
+
`Failed to parse 'SocialMedia' from JSON`,
|
|
666
|
+
);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/** @internal */
|
|
670
|
+
export const PersonalTechnology$inboundSchema: z.ZodMiniType<
|
|
671
|
+
PersonalTechnology,
|
|
672
|
+
unknown
|
|
673
|
+
> = z.object({
|
|
674
|
+
checked: types.optional(types.number()),
|
|
675
|
+
registered: types.optional(types.number()),
|
|
676
|
+
});
|
|
677
|
+
|
|
678
|
+
export function personalTechnologyFromJSON(
|
|
679
|
+
jsonString: string,
|
|
680
|
+
): SafeParseResult<PersonalTechnology, SDKValidationError> {
|
|
681
|
+
return safeParse(
|
|
682
|
+
jsonString,
|
|
683
|
+
(x) => PersonalTechnology$inboundSchema.parse(JSON.parse(x)),
|
|
684
|
+
`Failed to parse 'PersonalTechnology' from JSON`,
|
|
685
|
+
);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/** @internal */
|
|
689
|
+
export const Travel$inboundSchema: z.ZodMiniType<Travel, unknown> = z.object({
|
|
690
|
+
checked: types.optional(types.number()),
|
|
691
|
+
registered: types.optional(types.number()),
|
|
692
|
+
});
|
|
693
|
+
|
|
694
|
+
export function travelFromJSON(
|
|
695
|
+
jsonString: string,
|
|
696
|
+
): SafeParseResult<Travel, SDKValidationError> {
|
|
697
|
+
return safeParse(
|
|
698
|
+
jsonString,
|
|
699
|
+
(x) => Travel$inboundSchema.parse(JSON.parse(x)),
|
|
700
|
+
`Failed to parse 'Travel' from JSON`,
|
|
701
|
+
);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/** @internal */
|
|
705
|
+
export const Personal$inboundSchema: z.ZodMiniType<Personal, unknown> = z.pipe(
|
|
706
|
+
z.object({
|
|
707
|
+
adult_sites: types.optional(z.lazy(() => AdultSites$inboundSchema)),
|
|
708
|
+
betting_and_gaming: types.optional(z.lazy(() =>
|
|
709
|
+
BettingAndGaming$inboundSchema
|
|
710
|
+
)),
|
|
711
|
+
dating: types.optional(z.lazy(() => Dating$inboundSchema)),
|
|
712
|
+
delivery: types.optional(z.lazy(() => Delivery$inboundSchema)),
|
|
713
|
+
ecommerce: types.optional(z.lazy(() => Ecommerce$inboundSchema)),
|
|
714
|
+
email_service: types.optional(z.lazy(() => EmailService$inboundSchema)),
|
|
715
|
+
entertainment: types.optional(z.lazy(() => Entertainment$inboundSchema)),
|
|
716
|
+
health_and_fitness: types.optional(z.lazy(() =>
|
|
717
|
+
HealthAndFitness$inboundSchema
|
|
718
|
+
)),
|
|
719
|
+
messenger: types.optional(z.lazy(() => Messenger$inboundSchema)),
|
|
720
|
+
real_estate: types.optional(z.lazy(() => RealEstate$inboundSchema)),
|
|
721
|
+
social_media: types.optional(z.lazy(() => SocialMedia$inboundSchema)),
|
|
722
|
+
technology: types.optional(z.lazy(() => PersonalTechnology$inboundSchema)),
|
|
723
|
+
total_registration: types.optional(types.number()),
|
|
724
|
+
travel: types.optional(z.lazy(() => Travel$inboundSchema)),
|
|
725
|
+
}),
|
|
726
|
+
z.transform((v) => {
|
|
727
|
+
return remap$(v, {
|
|
728
|
+
"adult_sites": "adultSites",
|
|
729
|
+
"betting_and_gaming": "bettingAndGaming",
|
|
730
|
+
"email_service": "emailService",
|
|
731
|
+
"health_and_fitness": "healthAndFitness",
|
|
732
|
+
"real_estate": "realEstate",
|
|
733
|
+
"social_media": "socialMedia",
|
|
734
|
+
"total_registration": "totalRegistration",
|
|
735
|
+
});
|
|
736
|
+
}),
|
|
737
|
+
);
|
|
738
|
+
|
|
739
|
+
export function personalFromJSON(
|
|
740
|
+
jsonString: string,
|
|
741
|
+
): SafeParseResult<Personal, SDKValidationError> {
|
|
742
|
+
return safeParse(
|
|
743
|
+
jsonString,
|
|
744
|
+
(x) => Personal$inboundSchema.parse(JSON.parse(x)),
|
|
745
|
+
`Failed to parse 'Personal' from JSON`,
|
|
746
|
+
);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/** @internal */
|
|
750
|
+
export const AccountAggregates$inboundSchema: z.ZodMiniType<
|
|
751
|
+
AccountAggregates,
|
|
752
|
+
unknown
|
|
753
|
+
> = z.pipe(
|
|
754
|
+
z.object({
|
|
755
|
+
business: types.optional(z.lazy(() => Business$inboundSchema)),
|
|
756
|
+
personal: types.optional(z.lazy(() => Personal$inboundSchema)),
|
|
757
|
+
total_registration: types.optional(types.number()),
|
|
758
|
+
}),
|
|
759
|
+
z.transform((v) => {
|
|
760
|
+
return remap$(v, {
|
|
761
|
+
"total_registration": "totalRegistration",
|
|
762
|
+
});
|
|
763
|
+
}),
|
|
764
|
+
);
|
|
765
|
+
|
|
766
|
+
export function accountAggregatesFromJSON(
|
|
767
|
+
jsonString: string,
|
|
768
|
+
): SafeParseResult<AccountAggregates, SDKValidationError> {
|
|
769
|
+
return safeParse(
|
|
770
|
+
jsonString,
|
|
771
|
+
(x) => AccountAggregates$inboundSchema.parse(JSON.parse(x)),
|
|
772
|
+
`Failed to parse 'AccountAggregates' from JSON`,
|
|
773
|
+
);
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/** @internal */
|
|
777
|
+
export const AppliedRule$inboundSchema: z.ZodMiniType<AppliedRule, unknown> = z
|
|
778
|
+
.object({
|
|
779
|
+
id: types.optional(types.string()),
|
|
780
|
+
name: types.optional(types.string()),
|
|
781
|
+
operation: types.optional(types.string()),
|
|
782
|
+
score: types.optional(types.number()),
|
|
783
|
+
});
|
|
784
|
+
|
|
785
|
+
export function appliedRuleFromJSON(
|
|
786
|
+
jsonString: string,
|
|
787
|
+
): SafeParseResult<AppliedRule, SDKValidationError> {
|
|
788
|
+
return safeParse(
|
|
789
|
+
jsonString,
|
|
790
|
+
(x) => AppliedRule$inboundSchema.parse(JSON.parse(x)),
|
|
791
|
+
`Failed to parse 'AppliedRule' from JSON`,
|
|
792
|
+
);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/** @internal */
|
|
796
|
+
export const Domain$inboundSchema: z.ZodMiniType<Domain, unknown> = z.pipe(
|
|
797
|
+
z.object({
|
|
798
|
+
city_name: types.optional(types.string()),
|
|
799
|
+
company_name: types.optional(types.string()),
|
|
800
|
+
country_code: types.optional(types.string()),
|
|
801
|
+
create_date: types.optional(types.string()),
|
|
802
|
+
domain_name: types.optional(types.string()),
|
|
803
|
+
expiry_date: types.optional(types.string()),
|
|
804
|
+
full_name: types.optional(types.string()),
|
|
805
|
+
mailing_address: types.optional(types.string()),
|
|
806
|
+
phone_number: types.optional(types.string()),
|
|
807
|
+
registrar_name: types.optional(types.string()),
|
|
808
|
+
state_name: types.optional(types.string()),
|
|
809
|
+
update_date: types.optional(types.string()),
|
|
810
|
+
zip_code: types.optional(types.string()),
|
|
811
|
+
}),
|
|
812
|
+
z.transform((v) => {
|
|
813
|
+
return remap$(v, {
|
|
814
|
+
"city_name": "cityName",
|
|
815
|
+
"company_name": "companyName",
|
|
816
|
+
"country_code": "countryCode",
|
|
817
|
+
"create_date": "createDate",
|
|
818
|
+
"domain_name": "domainName",
|
|
819
|
+
"expiry_date": "expiryDate",
|
|
820
|
+
"full_name": "fullName",
|
|
821
|
+
"mailing_address": "mailingAddress",
|
|
822
|
+
"phone_number": "phoneNumber",
|
|
823
|
+
"registrar_name": "registrarName",
|
|
824
|
+
"state_name": "stateName",
|
|
825
|
+
"update_date": "updateDate",
|
|
826
|
+
"zip_code": "zipCode",
|
|
827
|
+
});
|
|
828
|
+
}),
|
|
829
|
+
);
|
|
830
|
+
|
|
831
|
+
export function domainFromJSON(
|
|
832
|
+
jsonString: string,
|
|
833
|
+
): SafeParseResult<Domain, SDKValidationError> {
|
|
834
|
+
return safeParse(
|
|
835
|
+
jsonString,
|
|
836
|
+
(x) => Domain$inboundSchema.parse(JSON.parse(x)),
|
|
837
|
+
`Failed to parse 'Domain' from JSON`,
|
|
838
|
+
);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/** @internal */
|
|
842
|
+
export const AssociatedDomainRegistrations$inboundSchema: z.ZodMiniType<
|
|
843
|
+
AssociatedDomainRegistrations,
|
|
844
|
+
unknown
|
|
845
|
+
> = z.pipe(
|
|
846
|
+
z.object({
|
|
847
|
+
domains: types.optional(z.array(z.lazy(() => Domain$inboundSchema))),
|
|
848
|
+
exists: types.optional(types.boolean()),
|
|
849
|
+
first_registration_date: types.optional(types.string()),
|
|
850
|
+
number_of_domains: types.optional(types.number()),
|
|
851
|
+
}),
|
|
852
|
+
z.transform((v) => {
|
|
853
|
+
return remap$(v, {
|
|
854
|
+
"first_registration_date": "firstRegistrationDate",
|
|
855
|
+
"number_of_domains": "numberOfDomains",
|
|
856
|
+
});
|
|
857
|
+
}),
|
|
858
|
+
);
|
|
859
|
+
|
|
860
|
+
export function associatedDomainRegistrationsFromJSON(
|
|
861
|
+
jsonString: string,
|
|
862
|
+
): SafeParseResult<AssociatedDomainRegistrations, SDKValidationError> {
|
|
863
|
+
return safeParse(
|
|
864
|
+
jsonString,
|
|
865
|
+
(x) => AssociatedDomainRegistrations$inboundSchema.parse(JSON.parse(x)),
|
|
866
|
+
`Failed to parse 'AssociatedDomainRegistrations' from JSON`,
|
|
867
|
+
);
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
/** @internal */
|
|
871
|
+
export const PostV1SearchIntelligenceSeonBreach$inboundSchema: z.ZodMiniType<
|
|
872
|
+
PostV1SearchIntelligenceSeonBreach,
|
|
873
|
+
unknown
|
|
874
|
+
> = z.object({
|
|
875
|
+
date: types.optional(types.string()),
|
|
876
|
+
domain: types.optional(types.string()),
|
|
877
|
+
name: types.optional(types.string()),
|
|
878
|
+
});
|
|
879
|
+
|
|
880
|
+
export function postV1SearchIntelligenceSeonBreachFromJSON(
|
|
881
|
+
jsonString: string,
|
|
882
|
+
): SafeParseResult<PostV1SearchIntelligenceSeonBreach, SDKValidationError> {
|
|
883
|
+
return safeParse(
|
|
884
|
+
jsonString,
|
|
885
|
+
(x) =>
|
|
886
|
+
PostV1SearchIntelligenceSeonBreach$inboundSchema.parse(JSON.parse(x)),
|
|
887
|
+
`Failed to parse 'PostV1SearchIntelligenceSeonBreach' from JSON`,
|
|
888
|
+
);
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
/** @internal */
|
|
892
|
+
export const BreachDetails$inboundSchema: z.ZodMiniType<
|
|
893
|
+
BreachDetails,
|
|
894
|
+
unknown
|
|
895
|
+
> = z.pipe(
|
|
896
|
+
z.object({
|
|
897
|
+
breaches: types.optional(
|
|
898
|
+
z.array(z.lazy(() => PostV1SearchIntelligenceSeonBreach$inboundSchema)),
|
|
899
|
+
),
|
|
900
|
+
first_breach: types.optional(types.string()),
|
|
901
|
+
haveibeenpwned_listed: types.optional(types.boolean()),
|
|
902
|
+
last_breach: types.optional(types.string()),
|
|
903
|
+
number_of_breaches: types.optional(types.number()),
|
|
904
|
+
}),
|
|
905
|
+
z.transform((v) => {
|
|
906
|
+
return remap$(v, {
|
|
907
|
+
"first_breach": "firstBreach",
|
|
908
|
+
"haveibeenpwned_listed": "haveibeenpwnedListed",
|
|
909
|
+
"last_breach": "lastBreach",
|
|
910
|
+
"number_of_breaches": "numberOfBreaches",
|
|
911
|
+
});
|
|
912
|
+
}),
|
|
913
|
+
);
|
|
914
|
+
|
|
915
|
+
export function breachDetailsFromJSON(
|
|
916
|
+
jsonString: string,
|
|
917
|
+
): SafeParseResult<BreachDetails, SDKValidationError> {
|
|
918
|
+
return safeParse(
|
|
919
|
+
jsonString,
|
|
920
|
+
(x) => BreachDetails$inboundSchema.parse(JSON.parse(x)),
|
|
921
|
+
`Failed to parse 'BreachDetails' from JSON`,
|
|
922
|
+
);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/** @internal */
|
|
926
|
+
export const CnamDetails$inboundSchema: z.ZodMiniType<CnamDetails, unknown> = z
|
|
927
|
+
.object({
|
|
928
|
+
name: types.optional(types.string()),
|
|
929
|
+
});
|
|
930
|
+
|
|
931
|
+
export function cnamDetailsFromJSON(
|
|
932
|
+
jsonString: string,
|
|
933
|
+
): SafeParseResult<CnamDetails, SDKValidationError> {
|
|
934
|
+
return safeParse(
|
|
935
|
+
jsonString,
|
|
936
|
+
(x) => CnamDetails$inboundSchema.parse(JSON.parse(x)),
|
|
937
|
+
`Failed to parse 'CnamDetails' from JSON`,
|
|
938
|
+
);
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/** @internal */
|
|
942
|
+
export const EmailDetails$inboundSchema: z.ZodMiniType<EmailDetails, unknown> =
|
|
943
|
+
z.pipe(
|
|
944
|
+
z.object({
|
|
945
|
+
deliverable: types.optional(types.boolean()),
|
|
946
|
+
earliest_profile_date: types.optional(types.string()),
|
|
947
|
+
email_randomness_score: types.optional(types.number()),
|
|
948
|
+
full_inbox: types.optional(types.boolean()),
|
|
949
|
+
minimum_age_months: types.optional(types.number()),
|
|
950
|
+
valid_format: types.optional(types.boolean()),
|
|
951
|
+
}),
|
|
952
|
+
z.transform((v) => {
|
|
953
|
+
return remap$(v, {
|
|
954
|
+
"earliest_profile_date": "earliestProfileDate",
|
|
955
|
+
"email_randomness_score": "emailRandomnessScore",
|
|
956
|
+
"full_inbox": "fullInbox",
|
|
957
|
+
"minimum_age_months": "minimumAgeMonths",
|
|
958
|
+
"valid_format": "validFormat",
|
|
959
|
+
});
|
|
960
|
+
}),
|
|
961
|
+
);
|
|
962
|
+
|
|
963
|
+
export function emailDetailsFromJSON(
|
|
964
|
+
jsonString: string,
|
|
965
|
+
): SafeParseResult<EmailDetails, SDKValidationError> {
|
|
966
|
+
return safeParse(
|
|
967
|
+
jsonString,
|
|
968
|
+
(x) => EmailDetails$inboundSchema.parse(JSON.parse(x)),
|
|
969
|
+
`Failed to parse 'EmailDetails' from JSON`,
|
|
970
|
+
);
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
/** @internal */
|
|
974
|
+
export const EmailDomainDetails$inboundSchema: z.ZodMiniType<
|
|
975
|
+
EmailDomainDetails,
|
|
976
|
+
unknown
|
|
977
|
+
> = z.pipe(
|
|
978
|
+
z.object({
|
|
979
|
+
accept_all: types.optional(types.boolean()),
|
|
980
|
+
created: types.optional(types.string()),
|
|
981
|
+
custom: types.optional(types.boolean()),
|
|
982
|
+
disposable: types.optional(types.boolean()),
|
|
983
|
+
dmarc_enforced: types.optional(types.boolean()),
|
|
984
|
+
domain: types.optional(types.string()),
|
|
985
|
+
expires: types.optional(types.string()),
|
|
986
|
+
free: types.optional(types.boolean()),
|
|
987
|
+
registered: types.optional(types.boolean()),
|
|
988
|
+
registered_to: types.optional(types.string()),
|
|
989
|
+
registrar_name: types.optional(types.string()),
|
|
990
|
+
spf_strict: types.optional(types.boolean()),
|
|
991
|
+
suspicious_tld: types.optional(types.boolean()),
|
|
992
|
+
tld: types.optional(types.string()),
|
|
993
|
+
updated: types.optional(types.string()),
|
|
994
|
+
valid_mx: types.optional(types.boolean()),
|
|
995
|
+
website_exists: types.optional(types.boolean()),
|
|
996
|
+
}),
|
|
997
|
+
z.transform((v) => {
|
|
998
|
+
return remap$(v, {
|
|
999
|
+
"accept_all": "acceptAll",
|
|
1000
|
+
"dmarc_enforced": "dmarcEnforced",
|
|
1001
|
+
"registered_to": "registeredTo",
|
|
1002
|
+
"registrar_name": "registrarName",
|
|
1003
|
+
"spf_strict": "spfStrict",
|
|
1004
|
+
"suspicious_tld": "suspiciousTld",
|
|
1005
|
+
"valid_mx": "validMx",
|
|
1006
|
+
"website_exists": "websiteExists",
|
|
1007
|
+
});
|
|
1008
|
+
}),
|
|
1009
|
+
);
|
|
1010
|
+
|
|
1011
|
+
export function emailDomainDetailsFromJSON(
|
|
1012
|
+
jsonString: string,
|
|
1013
|
+
): SafeParseResult<EmailDomainDetails, SDKValidationError> {
|
|
1014
|
+
return safeParse(
|
|
1015
|
+
jsonString,
|
|
1016
|
+
(x) => EmailDomainDetails$inboundSchema.parse(JSON.parse(x)),
|
|
1017
|
+
`Failed to parse 'EmailDomainDetails' from JSON`,
|
|
1018
|
+
);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/** @internal */
|
|
1022
|
+
export const OriginalCarrier$inboundSchema: z.ZodMiniType<
|
|
1023
|
+
OriginalCarrier,
|
|
1024
|
+
unknown
|
|
1025
|
+
> = z.pipe(
|
|
1026
|
+
z.object({
|
|
1027
|
+
carrier: types.optional(types.string()),
|
|
1028
|
+
carrier_prefix: types.optional(types.string()),
|
|
1029
|
+
}),
|
|
1030
|
+
z.transform((v) => {
|
|
1031
|
+
return remap$(v, {
|
|
1032
|
+
"carrier_prefix": "carrierPrefix",
|
|
1033
|
+
});
|
|
1034
|
+
}),
|
|
1035
|
+
);
|
|
1036
|
+
|
|
1037
|
+
export function originalCarrierFromJSON(
|
|
1038
|
+
jsonString: string,
|
|
1039
|
+
): SafeParseResult<OriginalCarrier, SDKValidationError> {
|
|
1040
|
+
return safeParse(
|
|
1041
|
+
jsonString,
|
|
1042
|
+
(x) => OriginalCarrier$inboundSchema.parse(JSON.parse(x)),
|
|
1043
|
+
`Failed to parse 'OriginalCarrier' from JSON`,
|
|
1044
|
+
);
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/** @internal */
|
|
1048
|
+
export const PortedCarrier$inboundSchema: z.ZodMiniType<
|
|
1049
|
+
PortedCarrier,
|
|
1050
|
+
unknown
|
|
1051
|
+
> = z.pipe(
|
|
1052
|
+
z.object({
|
|
1053
|
+
carrier: types.optional(types.string()),
|
|
1054
|
+
carrier_prefix: types.optional(types.string()),
|
|
1055
|
+
}),
|
|
1056
|
+
z.transform((v) => {
|
|
1057
|
+
return remap$(v, {
|
|
1058
|
+
"carrier_prefix": "carrierPrefix",
|
|
1059
|
+
});
|
|
1060
|
+
}),
|
|
1061
|
+
);
|
|
1062
|
+
|
|
1063
|
+
export function portedCarrierFromJSON(
|
|
1064
|
+
jsonString: string,
|
|
1065
|
+
): SafeParseResult<PortedCarrier, SDKValidationError> {
|
|
1066
|
+
return safeParse(
|
|
1067
|
+
jsonString,
|
|
1068
|
+
(x) => PortedCarrier$inboundSchema.parse(JSON.parse(x)),
|
|
1069
|
+
`Failed to parse 'PortedCarrier' from JSON`,
|
|
1070
|
+
);
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/** @internal */
|
|
1074
|
+
export const RoamingCarrier$inboundSchema: z.ZodMiniType<
|
|
1075
|
+
RoamingCarrier,
|
|
1076
|
+
unknown
|
|
1077
|
+
> = z.pipe(
|
|
1078
|
+
z.object({
|
|
1079
|
+
carrier: z.optional(z.nullable(types.string())),
|
|
1080
|
+
carrier_country: z.optional(z.nullable(types.string())),
|
|
1081
|
+
carrier_prefix: z.optional(z.nullable(types.string())),
|
|
1082
|
+
}),
|
|
1083
|
+
z.transform((v) => {
|
|
1084
|
+
return remap$(v, {
|
|
1085
|
+
"carrier_country": "carrierCountry",
|
|
1086
|
+
"carrier_prefix": "carrierPrefix",
|
|
1087
|
+
});
|
|
1088
|
+
}),
|
|
1089
|
+
);
|
|
1090
|
+
|
|
1091
|
+
export function roamingCarrierFromJSON(
|
|
1092
|
+
jsonString: string,
|
|
1093
|
+
): SafeParseResult<RoamingCarrier, SDKValidationError> {
|
|
1094
|
+
return safeParse(
|
|
1095
|
+
jsonString,
|
|
1096
|
+
(x) => RoamingCarrier$inboundSchema.parse(JSON.parse(x)),
|
|
1097
|
+
`Failed to parse 'RoamingCarrier' from JSON`,
|
|
1098
|
+
);
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
/** @internal */
|
|
1102
|
+
export const HlrDetails$inboundSchema: z.ZodMiniType<HlrDetails, unknown> = z
|
|
1103
|
+
.pipe(
|
|
1104
|
+
z.object({
|
|
1105
|
+
imsi: types.optional(types.string()),
|
|
1106
|
+
original_carrier: types.optional(
|
|
1107
|
+
z.lazy(() => OriginalCarrier$inboundSchema),
|
|
1108
|
+
),
|
|
1109
|
+
ported_carrier: types.optional(z.lazy(() => PortedCarrier$inboundSchema)),
|
|
1110
|
+
roaming_carrier: types.optional(
|
|
1111
|
+
z.lazy(() => RoamingCarrier$inboundSchema),
|
|
1112
|
+
),
|
|
1113
|
+
serving_msc: z.optional(z.nullable(types.string())),
|
|
1114
|
+
status: types.optional(types.string()),
|
|
1115
|
+
}),
|
|
1116
|
+
z.transform((v) => {
|
|
1117
|
+
return remap$(v, {
|
|
1118
|
+
"original_carrier": "originalCarrier",
|
|
1119
|
+
"ported_carrier": "portedCarrier",
|
|
1120
|
+
"roaming_carrier": "roamingCarrier",
|
|
1121
|
+
"serving_msc": "servingMsc",
|
|
1122
|
+
});
|
|
1123
|
+
}),
|
|
1124
|
+
);
|
|
1125
|
+
|
|
1126
|
+
export function hlrDetailsFromJSON(
|
|
1127
|
+
jsonString: string,
|
|
1128
|
+
): SafeParseResult<HlrDetails, SDKValidationError> {
|
|
1129
|
+
return safeParse(
|
|
1130
|
+
jsonString,
|
|
1131
|
+
(x) => HlrDetails$inboundSchema.parse(JSON.parse(x)),
|
|
1132
|
+
`Failed to parse 'HlrDetails' from JSON`,
|
|
1133
|
+
);
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/** @internal */
|
|
1137
|
+
export const PostV1SearchIntelligenceSeonPhone$inboundSchema: z.ZodMiniType<
|
|
1138
|
+
PostV1SearchIntelligenceSeonPhone,
|
|
1139
|
+
unknown
|
|
1140
|
+
> = smartUnion([types.number(), types.string()]);
|
|
1141
|
+
|
|
1142
|
+
export function postV1SearchIntelligenceSeonPhoneFromJSON(
|
|
1143
|
+
jsonString: string,
|
|
1144
|
+
): SafeParseResult<PostV1SearchIntelligenceSeonPhone, SDKValidationError> {
|
|
1145
|
+
return safeParse(
|
|
1146
|
+
jsonString,
|
|
1147
|
+
(x) => PostV1SearchIntelligenceSeonPhone$inboundSchema.parse(JSON.parse(x)),
|
|
1148
|
+
`Failed to parse 'PostV1SearchIntelligenceSeonPhone' from JSON`,
|
|
1149
|
+
);
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
/** @internal */
|
|
1153
|
+
export const ProviderCarrierDetails$inboundSchema: z.ZodMiniType<
|
|
1154
|
+
ProviderCarrierDetails,
|
|
1155
|
+
unknown
|
|
1156
|
+
> = z.pipe(
|
|
1157
|
+
z.object({
|
|
1158
|
+
carrier: types.optional(types.string()),
|
|
1159
|
+
country: types.optional(types.string()),
|
|
1160
|
+
disposable: types.optional(types.boolean()),
|
|
1161
|
+
phone_is_valid: types.optional(types.boolean()),
|
|
1162
|
+
type: types.optional(types.string()),
|
|
1163
|
+
}),
|
|
1164
|
+
z.transform((v) => {
|
|
1165
|
+
return remap$(v, {
|
|
1166
|
+
"phone_is_valid": "phoneIsValid",
|
|
1167
|
+
});
|
|
1168
|
+
}),
|
|
1169
|
+
);
|
|
1170
|
+
|
|
1171
|
+
export function providerCarrierDetailsFromJSON(
|
|
1172
|
+
jsonString: string,
|
|
1173
|
+
): SafeParseResult<ProviderCarrierDetails, SDKValidationError> {
|
|
1174
|
+
return safeParse(
|
|
1175
|
+
jsonString,
|
|
1176
|
+
(x) => ProviderCarrierDetails$inboundSchema.parse(JSON.parse(x)),
|
|
1177
|
+
`Failed to parse 'ProviderCarrierDetails' from JSON`,
|
|
1178
|
+
);
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/** @internal */
|
|
1182
|
+
export const RiskScores$inboundSchema: z.ZodMiniType<RiskScores, unknown> = z
|
|
1183
|
+
.pipe(
|
|
1184
|
+
z.object({
|
|
1185
|
+
global_network_score: types.optional(types.number()),
|
|
1186
|
+
}),
|
|
1187
|
+
z.transform((v) => {
|
|
1188
|
+
return remap$(v, {
|
|
1189
|
+
"global_network_score": "globalNetworkScore",
|
|
1190
|
+
});
|
|
1191
|
+
}),
|
|
1192
|
+
);
|
|
1193
|
+
|
|
1194
|
+
export function riskScoresFromJSON(
|
|
1195
|
+
jsonString: string,
|
|
1196
|
+
): SafeParseResult<RiskScores, SDKValidationError> {
|
|
1197
|
+
return safeParse(
|
|
1198
|
+
jsonString,
|
|
1199
|
+
(x) => RiskScores$inboundSchema.parse(JSON.parse(x)),
|
|
1200
|
+
`Failed to parse 'RiskScores' from JSON`,
|
|
1201
|
+
);
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
/** @internal */
|
|
1205
|
+
export const SeonFraudHistory$inboundSchema: z.ZodMiniType<
|
|
1206
|
+
SeonFraudHistory,
|
|
1207
|
+
unknown
|
|
1208
|
+
> = z.pipe(
|
|
1209
|
+
z.object({
|
|
1210
|
+
customer_hits: types.optional(types.number()),
|
|
1211
|
+
first_seen: types.optional(types.number()),
|
|
1212
|
+
flags: types.optional(z.array(types.string())),
|
|
1213
|
+
fraudulent_decline_customer_hits: types.optional(types.number()),
|
|
1214
|
+
fraudulent_decline_first_seen: types.optional(types.number()),
|
|
1215
|
+
fraudulent_decline_hits: types.optional(types.number()),
|
|
1216
|
+
fraudulent_decline_last_seen: types.optional(types.number()),
|
|
1217
|
+
hits: types.optional(types.number()),
|
|
1218
|
+
last_seen: types.optional(types.number()),
|
|
1219
|
+
}),
|
|
1220
|
+
z.transform((v) => {
|
|
1221
|
+
return remap$(v, {
|
|
1222
|
+
"customer_hits": "customerHits",
|
|
1223
|
+
"first_seen": "firstSeen",
|
|
1224
|
+
"fraudulent_decline_customer_hits": "fraudulentDeclineCustomerHits",
|
|
1225
|
+
"fraudulent_decline_first_seen": "fraudulentDeclineFirstSeen",
|
|
1226
|
+
"fraudulent_decline_hits": "fraudulentDeclineHits",
|
|
1227
|
+
"fraudulent_decline_last_seen": "fraudulentDeclineLastSeen",
|
|
1228
|
+
"last_seen": "lastSeen",
|
|
1229
|
+
});
|
|
1230
|
+
}),
|
|
1231
|
+
);
|
|
1232
|
+
|
|
1233
|
+
export function seonFraudHistoryFromJSON(
|
|
1234
|
+
jsonString: string,
|
|
1235
|
+
): SafeParseResult<SeonFraudHistory, SDKValidationError> {
|
|
1236
|
+
return safeParse(
|
|
1237
|
+
jsonString,
|
|
1238
|
+
(x) => SeonFraudHistory$inboundSchema.parse(JSON.parse(x)),
|
|
1239
|
+
`Failed to parse 'SeonFraudHistory' from JSON`,
|
|
1240
|
+
);
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/** @internal */
|
|
1244
|
+
export const PostV1SearchIntelligenceSeonData$inboundSchema: z.ZodMiniType<
|
|
1245
|
+
PostV1SearchIntelligenceSeonData,
|
|
1246
|
+
unknown
|
|
1247
|
+
> = z.pipe(
|
|
1248
|
+
z.object({
|
|
1249
|
+
account_aggregates: types.optional(
|
|
1250
|
+
z.lazy(() => AccountAggregates$inboundSchema),
|
|
1251
|
+
),
|
|
1252
|
+
applied_rules: types.optional(
|
|
1253
|
+
z.array(z.lazy(() => AppliedRule$inboundSchema)),
|
|
1254
|
+
),
|
|
1255
|
+
associated_domain_registrations: types.optional(
|
|
1256
|
+
z.lazy(() => AssociatedDomainRegistrations$inboundSchema),
|
|
1257
|
+
),
|
|
1258
|
+
bin_bank: types.optional(types.string()),
|
|
1259
|
+
bin_card: types.optional(types.string()),
|
|
1260
|
+
bin_country: types.optional(types.string()),
|
|
1261
|
+
bin_country_code: types.optional(types.string()),
|
|
1262
|
+
bin_level: types.optional(types.string()),
|
|
1263
|
+
bin_phone: types.optional(types.string()),
|
|
1264
|
+
bin_type: types.optional(types.string()),
|
|
1265
|
+
bin_valid: types.optional(types.boolean()),
|
|
1266
|
+
bin_website: types.optional(types.string()),
|
|
1267
|
+
breach_details: types.optional(z.lazy(() => BreachDetails$inboundSchema)),
|
|
1268
|
+
card_bin: types.optional(types.string()),
|
|
1269
|
+
card_issuer: types.optional(types.string()),
|
|
1270
|
+
city: types.optional(types.string()),
|
|
1271
|
+
cnam_details: types.optional(z.lazy(() => CnamDetails$inboundSchema)),
|
|
1272
|
+
consumer_privacy_network: types.optional(types.boolean()),
|
|
1273
|
+
country: types.optional(types.string()),
|
|
1274
|
+
data_center_proxy: types.optional(types.boolean()),
|
|
1275
|
+
email: types.optional(types.string()),
|
|
1276
|
+
email_details: types.optional(z.lazy(() => EmailDetails$inboundSchema)),
|
|
1277
|
+
email_domain_details: types.optional(
|
|
1278
|
+
z.lazy(() => EmailDomainDetails$inboundSchema),
|
|
1279
|
+
),
|
|
1280
|
+
enterprise_private_network: types.optional(types.boolean()),
|
|
1281
|
+
flags: types.optional(z.array(z.record(z.string(), z.any()))),
|
|
1282
|
+
harmful: types.optional(types.boolean()),
|
|
1283
|
+
history: types.optional(z.record(z.string(), z.any())),
|
|
1284
|
+
hlr_details: types.optional(z.lazy(() => HlrDetails$inboundSchema)),
|
|
1285
|
+
id: types.optional(types.string()),
|
|
1286
|
+
ip: types.optional(types.string()),
|
|
1287
|
+
isp_name: types.optional(types.string()),
|
|
1288
|
+
latitude: types.optional(types.number()),
|
|
1289
|
+
longitude: types.optional(types.number()),
|
|
1290
|
+
open_ports: types.optional(z.array(types.number())),
|
|
1291
|
+
phone: types.optional(smartUnion([types.number(), types.string()])),
|
|
1292
|
+
provider_carrier_details: types.optional(
|
|
1293
|
+
z.lazy(() => ProviderCarrierDetails$inboundSchema),
|
|
1294
|
+
),
|
|
1295
|
+
provider_name: z.optional(z.nullable(types.string())),
|
|
1296
|
+
public_proxy: types.optional(types.boolean()),
|
|
1297
|
+
residential_proxy: types.optional(types.boolean()),
|
|
1298
|
+
risk_scores: types.optional(z.lazy(() => RiskScores$inboundSchema)),
|
|
1299
|
+
score: types.optional(types.number()),
|
|
1300
|
+
search_engine_spider: types.optional(types.boolean()),
|
|
1301
|
+
seon_fraud_history: types.optional(
|
|
1302
|
+
z.lazy(() => SeonFraudHistory$inboundSchema),
|
|
1303
|
+
),
|
|
1304
|
+
spam_number: types.optional(types.number()),
|
|
1305
|
+
spam_urls: types.optional(z.array(types.string())),
|
|
1306
|
+
state_prov: types.optional(types.string()),
|
|
1307
|
+
timezone_offset: types.optional(types.string()),
|
|
1308
|
+
tor: types.optional(types.boolean()),
|
|
1309
|
+
type: types.optional(types.string()),
|
|
1310
|
+
vpn: types.optional(types.boolean()),
|
|
1311
|
+
web_proxy: types.optional(types.boolean()),
|
|
1312
|
+
}),
|
|
1313
|
+
z.transform((v) => {
|
|
1314
|
+
return remap$(v, {
|
|
1315
|
+
"account_aggregates": "accountAggregates",
|
|
1316
|
+
"applied_rules": "appliedRules",
|
|
1317
|
+
"associated_domain_registrations": "associatedDomainRegistrations",
|
|
1318
|
+
"bin_bank": "binBank",
|
|
1319
|
+
"bin_card": "binCard",
|
|
1320
|
+
"bin_country": "binCountry",
|
|
1321
|
+
"bin_country_code": "binCountryCode",
|
|
1322
|
+
"bin_level": "binLevel",
|
|
1323
|
+
"bin_phone": "binPhone",
|
|
1324
|
+
"bin_type": "binType",
|
|
1325
|
+
"bin_valid": "binValid",
|
|
1326
|
+
"bin_website": "binWebsite",
|
|
1327
|
+
"breach_details": "breachDetails",
|
|
1328
|
+
"card_bin": "cardBin",
|
|
1329
|
+
"card_issuer": "cardIssuer",
|
|
1330
|
+
"cnam_details": "cnamDetails",
|
|
1331
|
+
"consumer_privacy_network": "consumerPrivacyNetwork",
|
|
1332
|
+
"data_center_proxy": "dataCenterProxy",
|
|
1333
|
+
"email_details": "emailDetails",
|
|
1334
|
+
"email_domain_details": "emailDomainDetails",
|
|
1335
|
+
"enterprise_private_network": "enterprisePrivateNetwork",
|
|
1336
|
+
"hlr_details": "hlrDetails",
|
|
1337
|
+
"isp_name": "ispName",
|
|
1338
|
+
"open_ports": "openPorts",
|
|
1339
|
+
"provider_carrier_details": "providerCarrierDetails",
|
|
1340
|
+
"provider_name": "providerName",
|
|
1341
|
+
"public_proxy": "publicProxy",
|
|
1342
|
+
"residential_proxy": "residentialProxy",
|
|
1343
|
+
"risk_scores": "riskScores",
|
|
1344
|
+
"search_engine_spider": "searchEngineSpider",
|
|
1345
|
+
"seon_fraud_history": "seonFraudHistory",
|
|
1346
|
+
"spam_number": "spamNumber",
|
|
1347
|
+
"spam_urls": "spamUrls",
|
|
1348
|
+
"state_prov": "stateProv",
|
|
1349
|
+
"timezone_offset": "timezoneOffset",
|
|
1350
|
+
"web_proxy": "webProxy",
|
|
1351
|
+
});
|
|
1352
|
+
}),
|
|
1353
|
+
);
|
|
1354
|
+
|
|
1355
|
+
export function postV1SearchIntelligenceSeonDataFromJSON(
|
|
1356
|
+
jsonString: string,
|
|
1357
|
+
): SafeParseResult<PostV1SearchIntelligenceSeonData, SDKValidationError> {
|
|
1358
|
+
return safeParse(
|
|
1359
|
+
jsonString,
|
|
1360
|
+
(x) => PostV1SearchIntelligenceSeonData$inboundSchema.parse(JSON.parse(x)),
|
|
1361
|
+
`Failed to parse 'PostV1SearchIntelligenceSeonData' from JSON`,
|
|
1362
|
+
);
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/** @internal */
|
|
1366
|
+
export const PostV1SearchIntelligenceSeonResponse$inboundSchema: z.ZodMiniType<
|
|
1367
|
+
PostV1SearchIntelligenceSeonResponse,
|
|
1368
|
+
unknown
|
|
1369
|
+
> = z.object({
|
|
1370
|
+
data: z.lazy(() => PostV1SearchIntelligenceSeonData$inboundSchema),
|
|
1371
|
+
success: types.boolean(),
|
|
1372
|
+
error: types.optional(types.string()),
|
|
1373
|
+
});
|
|
1374
|
+
|
|
1375
|
+
export function postV1SearchIntelligenceSeonResponseFromJSON(
|
|
1376
|
+
jsonString: string,
|
|
1377
|
+
): SafeParseResult<PostV1SearchIntelligenceSeonResponse, SDKValidationError> {
|
|
1378
|
+
return safeParse(
|
|
1379
|
+
jsonString,
|
|
1380
|
+
(x) =>
|
|
1381
|
+
PostV1SearchIntelligenceSeonResponse$inboundSchema.parse(JSON.parse(x)),
|
|
1382
|
+
`Failed to parse 'PostV1SearchIntelligenceSeonResponse' from JSON`,
|
|
1383
|
+
);
|
|
1384
|
+
}
|