@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,30 @@
|
|
|
1
|
+
|
|
2
|
+
> **Remember to shutdown a GitHub Codespace when it is not in use!**
|
|
3
|
+
|
|
4
|
+
# Dev Containers Quick Start
|
|
5
|
+
|
|
6
|
+
The default location for usage snippets is the `samples` directory.
|
|
7
|
+
|
|
8
|
+
## Running a Usage Sample
|
|
9
|
+
|
|
10
|
+
A sample usage example has been provided in a `root.ts` file. As you work with the SDK, it's expected that you will modify these samples to fit your needs. To execute this particular snippet, use the command below.
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
ts-node root.ts
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Generating Additional Usage Samples
|
|
17
|
+
|
|
18
|
+
The speakeasy CLI allows you to generate more usage snippets. Here's how:
|
|
19
|
+
|
|
20
|
+
- To generate a sample for a specific operation by providing an operation ID, use:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
speakeasy generate usage -s .speakeasy/out.openapi.yaml -l typescript -i {INPUT_OPERATION_ID} -o ./samples
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
- To generate samples for an entire namespace (like a tag or group name), use:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
speakeasy generate usage -s .speakeasy/out.openapi.yaml -l typescript -n {INPUT_TAG_NAME} -o ./samples
|
|
30
|
+
```
|
package/FUNCTIONS.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Standalone Functions
|
|
2
|
+
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> This section is useful if you are using a bundler and targeting browsers and
|
|
5
|
+
> runtimes where the size of an application affects performance and load times.
|
|
6
|
+
|
|
7
|
+
Every method in this SDK is also available as a standalone function. This
|
|
8
|
+
alternative API is suitable when targeting the browser or serverless runtimes
|
|
9
|
+
and using a bundler to build your application since all unused functionality
|
|
10
|
+
will be tree-shaken away. This includes code for unused methods, Zod schemas,
|
|
11
|
+
encoding helpers and response handlers. The result is dramatically smaller
|
|
12
|
+
impact on the application's final bundle size which grows very slowly as you use
|
|
13
|
+
more and more functionality from this SDK.
|
|
14
|
+
|
|
15
|
+
Calling methods through the main SDK class remains a valid and generally more
|
|
16
|
+
more ergonomic option. Standalone functions represent an optimisation for a
|
|
17
|
+
specific category of applications.
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { IndiciaCore } from "@indiciaosint/sdk/core.js";
|
|
23
|
+
import { getV1Info } from "@indiciaosint/sdk/funcs/get-v1-info.js";
|
|
24
|
+
|
|
25
|
+
// Use `IndiciaCore` for best tree-shaking performance.
|
|
26
|
+
// You can create one instance of it to use across an application.
|
|
27
|
+
const indicia = new IndiciaCore({
|
|
28
|
+
apiKeyAuth: process.env["INDICIA_API_KEY_AUTH"] ?? "",
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
async function run() {
|
|
32
|
+
const res = await getV1Info(indicia);
|
|
33
|
+
if (res.ok) {
|
|
34
|
+
const { value: result } = res;
|
|
35
|
+
console.log(result);
|
|
36
|
+
} else {
|
|
37
|
+
console.log("getV1Info failed:", res.error);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
run();
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Result types
|
|
45
|
+
|
|
46
|
+
Standalone functions differ from SDK methods in that they return a
|
|
47
|
+
`Result<Value, Error>` type to capture _known errors_ and document them using
|
|
48
|
+
the type system. By avoiding throwing errors, application code maintains clear
|
|
49
|
+
control flow and error-handling become part of the regular flow of application
|
|
50
|
+
code.
|
|
51
|
+
|
|
52
|
+
> We use the term "known errors" because standalone functions, and JavaScript
|
|
53
|
+
> code in general, can still throw unexpected errors such as `TypeError`s,
|
|
54
|
+
> `RangeError`s and `DOMException`s. Exhaustively catching all errors may be
|
|
55
|
+
> something this SDK addresses in the future. Nevertheless, there is still a lot
|
|
56
|
+
> of benefit from capturing most errors and turning them into values.
|
|
57
|
+
|
|
58
|
+
The second reason for this style of programming is because these functions will
|
|
59
|
+
typically be used in front-end applications where exception throwing is
|
|
60
|
+
sometimes discouraged or considered unidiomatic. React and similar ecosystems
|
|
61
|
+
and libraries tend to promote this style of programming so that components
|
|
62
|
+
render useful content under all states (loading, success, error and so on).
|
|
63
|
+
|
|
64
|
+
The general pattern when calling standalone functions looks like this:
|
|
65
|
+
|
|
66
|
+
```typescript
|
|
67
|
+
import { Core } from "<sdk-package-name>";
|
|
68
|
+
import { fetchSomething } from "<sdk-package-name>/funcs/fetchSomething.js";
|
|
69
|
+
|
|
70
|
+
const client = new Core();
|
|
71
|
+
|
|
72
|
+
async function run() {
|
|
73
|
+
const result = await fetchSomething(client, { id: "123" });
|
|
74
|
+
if (!result.ok) {
|
|
75
|
+
// You can throw the error or handle it. It's your choice now.
|
|
76
|
+
throw result.error;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
console.log(result.value);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
run();
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Notably, `result.error` above will have an explicit type compared to a try-catch
|
|
86
|
+
variation where the error in the catch block can only be of type `unknown` (or
|
|
87
|
+
`any` depending on your TypeScript settings).
|
package/README.md
ADDED
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
# @indiciaosint/sdk
|
|
2
|
+
|
|
3
|
+
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@indiciaosint/sdk* API.
|
|
4
|
+
|
|
5
|
+
[](https://www.speakeasy.com/?utm_source=@indiciaosint/sdk&utm_campaign=typescript)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
<br /><br />
|
|
10
|
+
> [!IMPORTANT]
|
|
11
|
+
> This SDK is not yet ready for production use. To complete setup please follow the steps outlined in your [workspace](https://app.speakeasy.com/org/indicia/indicia). Delete this section before > publishing to a package manager.
|
|
12
|
+
|
|
13
|
+
<!-- Start Summary [summary] -->
|
|
14
|
+
## Summary
|
|
15
|
+
|
|
16
|
+
Indicia API: Development documentation
|
|
17
|
+
<!-- End Summary [summary] -->
|
|
18
|
+
|
|
19
|
+
<!-- Start Table of Contents [toc] -->
|
|
20
|
+
## Table of Contents
|
|
21
|
+
<!-- $toc-max-depth=2 -->
|
|
22
|
+
* [@indiciaosint/sdk](#indiciaosintsdk)
|
|
23
|
+
* [SDK Installation](#sdk-installation)
|
|
24
|
+
* [Requirements](#requirements)
|
|
25
|
+
* [SDK Example Usage](#sdk-example-usage)
|
|
26
|
+
* [Authentication](#authentication)
|
|
27
|
+
* [Available Resources and Operations](#available-resources-and-operations)
|
|
28
|
+
* [Standalone functions](#standalone-functions)
|
|
29
|
+
* [Retries](#retries)
|
|
30
|
+
* [Error Handling](#error-handling)
|
|
31
|
+
* [Server Selection](#server-selection)
|
|
32
|
+
* [Custom HTTP Client](#custom-http-client)
|
|
33
|
+
* [Debugging](#debugging)
|
|
34
|
+
* [Development](#development)
|
|
35
|
+
* [Maturity](#maturity)
|
|
36
|
+
* [Contributions](#contributions)
|
|
37
|
+
|
|
38
|
+
<!-- End Table of Contents [toc] -->
|
|
39
|
+
|
|
40
|
+
<!-- Start SDK Installation [installation] -->
|
|
41
|
+
## SDK Installation
|
|
42
|
+
|
|
43
|
+
> [!TIP]
|
|
44
|
+
> To finish publishing your SDK to npm and others you must [run your first generation action](https://www.speakeasy.com/docs/github-setup#step-by-step-guide).
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.
|
|
48
|
+
|
|
49
|
+
### NPM
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
npm add <UNSET>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### PNPM
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
pnpm add <UNSET>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Bun
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
bun add <UNSET>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Yarn
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
yarn add <UNSET>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
> [!NOTE]
|
|
74
|
+
> This package is published as an ES Module (ESM) only. For applications using
|
|
75
|
+
> CommonJS, use `await import()` to import and use this package.
|
|
76
|
+
<!-- End SDK Installation [installation] -->
|
|
77
|
+
|
|
78
|
+
<!-- Start Requirements [requirements] -->
|
|
79
|
+
## Requirements
|
|
80
|
+
|
|
81
|
+
For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
|
|
82
|
+
<!-- End Requirements [requirements] -->
|
|
83
|
+
|
|
84
|
+
<!-- Start SDK Example Usage [usage] -->
|
|
85
|
+
## SDK Example Usage
|
|
86
|
+
|
|
87
|
+
### Example
|
|
88
|
+
|
|
89
|
+
```typescript
|
|
90
|
+
import { Indicia } from "@indiciaosint/sdk";
|
|
91
|
+
|
|
92
|
+
const indicia = new Indicia({
|
|
93
|
+
apiKeyAuth: process.env["INDICIA_API_KEY_AUTH"] ?? "",
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
async function run() {
|
|
97
|
+
const result = await indicia.getV1Info();
|
|
98
|
+
|
|
99
|
+
console.log(result);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
run();
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
<!-- End SDK Example Usage [usage] -->
|
|
106
|
+
|
|
107
|
+
<!-- Start Authentication [security] -->
|
|
108
|
+
## Authentication
|
|
109
|
+
|
|
110
|
+
### Per-Client Security Schemes
|
|
111
|
+
|
|
112
|
+
This SDK supports the following security scheme globally:
|
|
113
|
+
|
|
114
|
+
| Name | Type | Scheme | Environment Variable |
|
|
115
|
+
| ------------ | ------ | ------- | ---------------------- |
|
|
116
|
+
| `apiKeyAuth` | apiKey | API key | `INDICIA_API_KEY_AUTH` |
|
|
117
|
+
|
|
118
|
+
To authenticate with the API the `apiKeyAuth` parameter must be set when initializing the SDK client instance. For example:
|
|
119
|
+
```typescript
|
|
120
|
+
import { Indicia } from "@indiciaosint/sdk";
|
|
121
|
+
|
|
122
|
+
const indicia = new Indicia({
|
|
123
|
+
apiKeyAuth: process.env["INDICIA_API_KEY_AUTH"] ?? "",
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
async function run() {
|
|
127
|
+
const result = await indicia.getV1Info();
|
|
128
|
+
|
|
129
|
+
console.log(result);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
run();
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
<!-- End Authentication [security] -->
|
|
136
|
+
|
|
137
|
+
<!-- Start Available Resources and Operations [operations] -->
|
|
138
|
+
## Available Resources and Operations
|
|
139
|
+
|
|
140
|
+
<details open>
|
|
141
|
+
<summary>Available methods</summary>
|
|
142
|
+
|
|
143
|
+
### [Indicia SDK](docs/sdks/indicia/README.md)
|
|
144
|
+
|
|
145
|
+
* [getV1Info](docs/sdks/indicia/README.md#getv1info) - Get information about the user, also healthcheck endpoint.
|
|
146
|
+
* [getV1Pricing](docs/sdks/indicia/README.md#getv1pricing) - Gives credit pricing for all Indicia services
|
|
147
|
+
* [getV1Activity](docs/sdks/indicia/README.md#getv1activity) - Get a list of recent activities.
|
|
148
|
+
* [getV1ActivityById](docs/sdks/indicia/README.md#getv1activitybyid) - Get a specific activity by its ID.
|
|
149
|
+
* [deleteV1ActivityById](docs/sdks/indicia/README.md#deletev1activitybyid) - Delete a specific activity by its ID.
|
|
150
|
+
* [postV1SearchIntelligenceAddress](docs/sdks/indicia/README.md#postv1searchintelligenceaddress) - Address Search (US Only)
|
|
151
|
+
* [postV1SearchIntelligenceEmail](docs/sdks/indicia/README.md#postv1searchintelligenceemail) - Email Search (US Only)
|
|
152
|
+
* [postV1SearchIntelligenceGeolocation](docs/sdks/indicia/README.md#postv1searchintelligencegeolocation) - Geolocate Media
|
|
153
|
+
* [postV1SearchIntelligenceGmail](docs/sdks/indicia/README.md#postv1searchintelligencegmail) - Gmail Search
|
|
154
|
+
* [postV1SearchIntelligencePerson](docs/sdks/indicia/README.md#postv1searchintelligenceperson) - Person Search (US Only)
|
|
155
|
+
* [postV1SearchIntelligencePhone](docs/sdks/indicia/README.md#postv1searchintelligencephone) - Phone Search (Individual data US only)
|
|
156
|
+
* [postV1SearchIntelligenceSeon](docs/sdks/indicia/README.md#postv1searchintelligenceseon) - SEON Lookup
|
|
157
|
+
* [postV1SearchIntelligenceWebDbs](docs/sdks/indicia/README.md#postv1searchintelligencewebdbs) - Web Databases
|
|
158
|
+
* [postV1SearchIntelligenceFacial](docs/sdks/indicia/README.md#postv1searchintelligencefacial) - Reverse Face Search
|
|
159
|
+
* [postV1SearchIntelligenceHudsonrock](docs/sdks/indicia/README.md#postv1searchintelligencehudsonrock) - Hudson Rock Search
|
|
160
|
+
* [postV1SearchSocialsDiscord](docs/sdks/indicia/README.md#postv1searchsocialsdiscord) - Discord Search
|
|
161
|
+
* [postV1SearchSocialsGithub](docs/sdks/indicia/README.md#postv1searchsocialsgithub) - GitHub Search
|
|
162
|
+
* [postV1SearchSocialsRoblox](docs/sdks/indicia/README.md#postv1searchsocialsroblox) - Roblox Search
|
|
163
|
+
* [postV1SearchSocialsTiktok](docs/sdks/indicia/README.md#postv1searchsocialstiktok) - TikTok Search
|
|
164
|
+
* [postV1SearchInfrastructureIpinfo](docs/sdks/indicia/README.md#postv1searchinfrastructureipinfo) - IP Info
|
|
165
|
+
* [postV1SearchInfrastructureDns](docs/sdks/indicia/README.md#postv1searchinfrastructuredns) - DNS Reconnaissance
|
|
166
|
+
* [postV1SearchInfrastructureShodan](docs/sdks/indicia/README.md#postv1searchinfrastructureshodan) - Shodan Search
|
|
167
|
+
* [postV1SearchInfrastructureWhois](docs/sdks/indicia/README.md#postv1searchinfrastructurewhois) - Whois
|
|
168
|
+
* [postV1SearchInfrastructurePortscan](docs/sdks/indicia/README.md#postv1searchinfrastructureportscan) - Port Scan
|
|
169
|
+
* [postV1SearchInfrastructureCertificates](docs/sdks/indicia/README.md#postv1searchinfrastructurecertificates) - Certificate Lookup
|
|
170
|
+
* [postV1ToolsDoogle](docs/sdks/indicia/README.md#postv1toolsdoogle) - Discord Alt Lookup
|
|
171
|
+
* [postV1ToolsDoublecounter](docs/sdks/indicia/README.md#postv1toolsdoublecounter) - Bypass Double Counter URL
|
|
172
|
+
* [postV1ToolsIntelx](docs/sdks/indicia/README.md#postv1toolsintelx) - Download IntelX file
|
|
173
|
+
* [getV1Organizations](docs/sdks/indicia/README.md#getv1organizations) - List organizations the authenticated user belongs to.
|
|
174
|
+
* [getV1OrganizationsById](docs/sdks/indicia/README.md#getv1organizationsbyid) - Get details for a specific organization you are a member of.
|
|
175
|
+
* [getV1OrganizationsByIdMembers](docs/sdks/indicia/README.md#getv1organizationsbyidmembers) - List members of an organization you belong to.
|
|
176
|
+
* [getV1OrganizationsByIdAuditLog](docs/sdks/indicia/README.md#getv1organizationsbyidauditlog) - Get the audit log for an organization. Requires owner or admin role.
|
|
177
|
+
* [getV1OrganizationsByIdCases](docs/sdks/indicia/README.md#getv1organizationsbyidcases) - List cases shared with an organization (filtered by your visibility settings).
|
|
178
|
+
* [postV1OrganizationsByIdCredits](docs/sdks/indicia/README.md#postv1organizationsbyidcredits) - Send credits from your balance to one or more organization members. Requires owner or admin role.
|
|
179
|
+
* [postV2SearchSocialsUsername](docs/sdks/indicia/README.md#postv2searchsocialsusername) - Username Search V2
|
|
180
|
+
|
|
181
|
+
</details>
|
|
182
|
+
<!-- End Available Resources and Operations [operations] -->
|
|
183
|
+
|
|
184
|
+
<!-- Start Standalone functions [standalone-funcs] -->
|
|
185
|
+
## Standalone functions
|
|
186
|
+
|
|
187
|
+
All the methods listed above are available as standalone functions. These
|
|
188
|
+
functions are ideal for use in applications running in the browser, serverless
|
|
189
|
+
runtimes or other environments where application bundle size is a primary
|
|
190
|
+
concern. When using a bundler to build your application, all unused
|
|
191
|
+
functionality will be either excluded from the final bundle or tree-shaken away.
|
|
192
|
+
|
|
193
|
+
To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
194
|
+
|
|
195
|
+
<details>
|
|
196
|
+
|
|
197
|
+
<summary>Available standalone functions</summary>
|
|
198
|
+
|
|
199
|
+
- [`deleteV1ActivityById`](docs/sdks/indicia/README.md#deletev1activitybyid) - Delete a specific activity by its ID.
|
|
200
|
+
- [`getV1Activity`](docs/sdks/indicia/README.md#getv1activity) - Get a list of recent activities.
|
|
201
|
+
- [`getV1ActivityById`](docs/sdks/indicia/README.md#getv1activitybyid) - Get a specific activity by its ID.
|
|
202
|
+
- [`getV1Info`](docs/sdks/indicia/README.md#getv1info) - Get information about the user, also healthcheck endpoint.
|
|
203
|
+
- [`getV1Organizations`](docs/sdks/indicia/README.md#getv1organizations) - List organizations the authenticated user belongs to.
|
|
204
|
+
- [`getV1OrganizationsById`](docs/sdks/indicia/README.md#getv1organizationsbyid) - Get details for a specific organization you are a member of.
|
|
205
|
+
- [`getV1OrganizationsByIdAuditLog`](docs/sdks/indicia/README.md#getv1organizationsbyidauditlog) - Get the audit log for an organization. Requires owner or admin role.
|
|
206
|
+
- [`getV1OrganizationsByIdCases`](docs/sdks/indicia/README.md#getv1organizationsbyidcases) - List cases shared with an organization (filtered by your visibility settings).
|
|
207
|
+
- [`getV1OrganizationsByIdMembers`](docs/sdks/indicia/README.md#getv1organizationsbyidmembers) - List members of an organization you belong to.
|
|
208
|
+
- [`getV1Pricing`](docs/sdks/indicia/README.md#getv1pricing) - Gives credit pricing for all Indicia services
|
|
209
|
+
- [`postV1OrganizationsByIdCredits`](docs/sdks/indicia/README.md#postv1organizationsbyidcredits) - Send credits from your balance to one or more organization members. Requires owner or admin role.
|
|
210
|
+
- [`postV1SearchInfrastructureCertificates`](docs/sdks/indicia/README.md#postv1searchinfrastructurecertificates) - Certificate Lookup
|
|
211
|
+
- [`postV1SearchInfrastructureDns`](docs/sdks/indicia/README.md#postv1searchinfrastructuredns) - DNS Reconnaissance
|
|
212
|
+
- [`postV1SearchInfrastructureIpinfo`](docs/sdks/indicia/README.md#postv1searchinfrastructureipinfo) - IP Info
|
|
213
|
+
- [`postV1SearchInfrastructurePortscan`](docs/sdks/indicia/README.md#postv1searchinfrastructureportscan) - Port Scan
|
|
214
|
+
- [`postV1SearchInfrastructureShodan`](docs/sdks/indicia/README.md#postv1searchinfrastructureshodan) - Shodan Search
|
|
215
|
+
- [`postV1SearchInfrastructureWhois`](docs/sdks/indicia/README.md#postv1searchinfrastructurewhois) - Whois
|
|
216
|
+
- [`postV1SearchIntelligenceAddress`](docs/sdks/indicia/README.md#postv1searchintelligenceaddress) - Address Search (US Only)
|
|
217
|
+
- [`postV1SearchIntelligenceEmail`](docs/sdks/indicia/README.md#postv1searchintelligenceemail) - Email Search (US Only)
|
|
218
|
+
- [`postV1SearchIntelligenceFacial`](docs/sdks/indicia/README.md#postv1searchintelligencefacial) - Reverse Face Search
|
|
219
|
+
- [`postV1SearchIntelligenceGeolocation`](docs/sdks/indicia/README.md#postv1searchintelligencegeolocation) - Geolocate Media
|
|
220
|
+
- [`postV1SearchIntelligenceGmail`](docs/sdks/indicia/README.md#postv1searchintelligencegmail) - Gmail Search
|
|
221
|
+
- [`postV1SearchIntelligenceHudsonrock`](docs/sdks/indicia/README.md#postv1searchintelligencehudsonrock) - Hudson Rock Search
|
|
222
|
+
- [`postV1SearchIntelligencePerson`](docs/sdks/indicia/README.md#postv1searchintelligenceperson) - Person Search (US Only)
|
|
223
|
+
- [`postV1SearchIntelligencePhone`](docs/sdks/indicia/README.md#postv1searchintelligencephone) - Phone Search (Individual data US only)
|
|
224
|
+
- [`postV1SearchIntelligenceSeon`](docs/sdks/indicia/README.md#postv1searchintelligenceseon) - SEON Lookup
|
|
225
|
+
- [`postV1SearchIntelligenceWebDbs`](docs/sdks/indicia/README.md#postv1searchintelligencewebdbs) - Web Databases
|
|
226
|
+
- [`postV1SearchSocialsDiscord`](docs/sdks/indicia/README.md#postv1searchsocialsdiscord) - Discord Search
|
|
227
|
+
- [`postV1SearchSocialsGithub`](docs/sdks/indicia/README.md#postv1searchsocialsgithub) - GitHub Search
|
|
228
|
+
- [`postV1SearchSocialsRoblox`](docs/sdks/indicia/README.md#postv1searchsocialsroblox) - Roblox Search
|
|
229
|
+
- [`postV1SearchSocialsTiktok`](docs/sdks/indicia/README.md#postv1searchsocialstiktok) - TikTok Search
|
|
230
|
+
- [`postV1ToolsDoogle`](docs/sdks/indicia/README.md#postv1toolsdoogle) - Discord Alt Lookup
|
|
231
|
+
- [`postV1ToolsDoublecounter`](docs/sdks/indicia/README.md#postv1toolsdoublecounter) - Bypass Double Counter URL
|
|
232
|
+
- [`postV1ToolsIntelx`](docs/sdks/indicia/README.md#postv1toolsintelx) - Download IntelX file
|
|
233
|
+
- [`postV2SearchSocialsUsername`](docs/sdks/indicia/README.md#postv2searchsocialsusername) - Username Search V2
|
|
234
|
+
|
|
235
|
+
</details>
|
|
236
|
+
<!-- End Standalone functions [standalone-funcs] -->
|
|
237
|
+
|
|
238
|
+
<!-- Start Retries [retries] -->
|
|
239
|
+
## Retries
|
|
240
|
+
|
|
241
|
+
Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
|
|
242
|
+
|
|
243
|
+
To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
|
|
244
|
+
```typescript
|
|
245
|
+
import { Indicia } from "@indiciaosint/sdk";
|
|
246
|
+
|
|
247
|
+
const indicia = new Indicia({
|
|
248
|
+
apiKeyAuth: process.env["INDICIA_API_KEY_AUTH"] ?? "",
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
async function run() {
|
|
252
|
+
const result = await indicia.getV1Info({
|
|
253
|
+
retries: {
|
|
254
|
+
strategy: "backoff",
|
|
255
|
+
backoff: {
|
|
256
|
+
initialInterval: 1,
|
|
257
|
+
maxInterval: 50,
|
|
258
|
+
exponent: 1.1,
|
|
259
|
+
maxElapsedTime: 100,
|
|
260
|
+
},
|
|
261
|
+
retryConnectionErrors: false,
|
|
262
|
+
},
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
console.log(result);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
run();
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:
|
|
273
|
+
```typescript
|
|
274
|
+
import { Indicia } from "@indiciaosint/sdk";
|
|
275
|
+
|
|
276
|
+
const indicia = new Indicia({
|
|
277
|
+
retryConfig: {
|
|
278
|
+
strategy: "backoff",
|
|
279
|
+
backoff: {
|
|
280
|
+
initialInterval: 1,
|
|
281
|
+
maxInterval: 50,
|
|
282
|
+
exponent: 1.1,
|
|
283
|
+
maxElapsedTime: 100,
|
|
284
|
+
},
|
|
285
|
+
retryConnectionErrors: false,
|
|
286
|
+
},
|
|
287
|
+
apiKeyAuth: process.env["INDICIA_API_KEY_AUTH"] ?? "",
|
|
288
|
+
});
|
|
289
|
+
|
|
290
|
+
async function run() {
|
|
291
|
+
const result = await indicia.getV1Info();
|
|
292
|
+
|
|
293
|
+
console.log(result);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
run();
|
|
297
|
+
|
|
298
|
+
```
|
|
299
|
+
<!-- End Retries [retries] -->
|
|
300
|
+
|
|
301
|
+
<!-- Start Error Handling [errors] -->
|
|
302
|
+
## Error Handling
|
|
303
|
+
|
|
304
|
+
[`IndiciaError`](./src/models/errors/indicia-error.ts) is the base class for all HTTP error responses. It has the following properties:
|
|
305
|
+
|
|
306
|
+
| Property | Type | Description |
|
|
307
|
+
| ------------------- | ---------- | --------------------------------------------------------------------------------------- |
|
|
308
|
+
| `error.message` | `string` | Error message |
|
|
309
|
+
| `error.statusCode` | `number` | HTTP response status code eg `404` |
|
|
310
|
+
| `error.headers` | `Headers` | HTTP response headers |
|
|
311
|
+
| `error.body` | `string` | HTTP body. Can be empty string if no body is returned. |
|
|
312
|
+
| `error.rawResponse` | `Response` | Raw HTTP response |
|
|
313
|
+
| `error.data$` | | Optional. Some errors may contain structured data. [See Error Classes](#error-classes). |
|
|
314
|
+
|
|
315
|
+
### Example
|
|
316
|
+
```typescript
|
|
317
|
+
import { Indicia } from "@indiciaosint/sdk";
|
|
318
|
+
import * as errors from "@indiciaosint/sdk/models/errors";
|
|
319
|
+
|
|
320
|
+
const indicia = new Indicia({
|
|
321
|
+
apiKeyAuth: process.env["INDICIA_API_KEY_AUTH"] ?? "",
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
async function run() {
|
|
325
|
+
try {
|
|
326
|
+
const result = await indicia.postV1SearchIntelligenceAddress({
|
|
327
|
+
address1: "<value>",
|
|
328
|
+
city: "El Monte",
|
|
329
|
+
state: "New York",
|
|
330
|
+
zip: "85601",
|
|
331
|
+
});
|
|
332
|
+
|
|
333
|
+
console.log(result);
|
|
334
|
+
} catch (error) {
|
|
335
|
+
// The base class for HTTP error responses
|
|
336
|
+
if (error instanceof errors.IndiciaError) {
|
|
337
|
+
console.log(error.message);
|
|
338
|
+
console.log(error.statusCode);
|
|
339
|
+
console.log(error.body);
|
|
340
|
+
console.log(error.headers);
|
|
341
|
+
|
|
342
|
+
// Depending on the method different errors may be thrown
|
|
343
|
+
if (
|
|
344
|
+
error
|
|
345
|
+
instanceof errors.PostV1SearchIntelligenceAddressInternalServerError
|
|
346
|
+
) {
|
|
347
|
+
console.log(error.data$.success); // boolean
|
|
348
|
+
console.log(error.data$.error); // string
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
run();
|
|
355
|
+
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
### Error Classes
|
|
359
|
+
**Primary error:**
|
|
360
|
+
* [`IndiciaError`](./src/models/errors/indicia-error.ts): The base class for HTTP error responses.
|
|
361
|
+
|
|
362
|
+
<details><summary>Less common errors (38)</summary>
|
|
363
|
+
|
|
364
|
+
<br />
|
|
365
|
+
|
|
366
|
+
**Network errors:**
|
|
367
|
+
* [`ConnectionError`](./src/models/errors/http-client-errors.ts): HTTP client was unable to make a request to a server.
|
|
368
|
+
* [`RequestTimeoutError`](./src/models/errors/http-client-errors.ts): HTTP request timed out due to an AbortSignal signal.
|
|
369
|
+
* [`RequestAbortedError`](./src/models/errors/http-client-errors.ts): HTTP request was aborted by the client.
|
|
370
|
+
* [`InvalidRequestError`](./src/models/errors/http-client-errors.ts): Any input used to create a request is invalid.
|
|
371
|
+
* [`UnexpectedClientError`](./src/models/errors/http-client-errors.ts): Unrecognised or unexpected error.
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
**Inherit from [`IndiciaError`](./src/models/errors/indicia-error.ts)**:
|
|
375
|
+
* [`PostV1SearchIntelligenceGeolocationBadRequestError`](./src/models/errors/post-v1-search-intelligence-geolocation-bad-request-error.ts): Bad Request. Status code `400`. Applicable to 1 of 35 methods.*
|
|
376
|
+
* [`PostV1SearchIntelligenceFacialBadRequestError`](./src/models/errors/post-v1-search-intelligence-facial-bad-request-error.ts): Bad Request. Status code `400`. Applicable to 1 of 35 methods.*
|
|
377
|
+
* [`PostV1SearchInfrastructurePortscanBadRequestError`](./src/models/errors/post-v1-search-infrastructure-portscan-bad-request-error.ts): Bad Request. Status code `400`. Applicable to 1 of 35 methods.*
|
|
378
|
+
* [`PostV1ToolsIntelxBadRequestError`](./src/models/errors/post-v1-tools-intelx-bad-request-error.ts): Bad Request. Status code `400`. Applicable to 1 of 35 methods.*
|
|
379
|
+
* [`PostV1SearchIntelligenceGeolocationPaymentRequiredError`](./src/models/errors/post-v1-search-intelligence-geolocation-payment-required-error.ts): Payment Required - Insufficient Credits. Status code `402`. Applicable to 1 of 35 methods.*
|
|
380
|
+
* [`PostV1SearchIntelligenceWebDbsPaymentRequiredError`](./src/models/errors/post-v1-search-intelligence-web-dbs-payment-required-error.ts): Payment Required. Status code `402`. Applicable to 1 of 35 methods.*
|
|
381
|
+
* [`PostV1SearchIntelligenceFacialPaymentRequiredError`](./src/models/errors/post-v1-search-intelligence-facial-payment-required-error.ts): Payment Required - Insufficient Credits. Status code `402`. Applicable to 1 of 35 methods.*
|
|
382
|
+
* [`PostV1SearchInfrastructurePortscanPaymentRequiredError`](./src/models/errors/post-v1-search-infrastructure-portscan-payment-required-error.ts): Payment Required - Insufficient Credits. Status code `402`. Applicable to 1 of 35 methods.*
|
|
383
|
+
* [`PostV1SearchIntelligenceAddressInternalServerError`](./src/models/errors/post-v1-search-intelligence-address-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
384
|
+
* [`PostV1SearchIntelligenceEmailInternalServerError`](./src/models/errors/post-v1-search-intelligence-email-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
385
|
+
* [`PostV1SearchIntelligenceGeolocationInternalServerError`](./src/models/errors/post-v1-search-intelligence-geolocation-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
386
|
+
* [`PostV1SearchIntelligenceGmailInternalServerError`](./src/models/errors/post-v1-search-intelligence-gmail-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
387
|
+
* [`PostV1SearchIntelligencePersonInternalServerError`](./src/models/errors/post-v1-search-intelligence-person-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
388
|
+
* [`PostV1SearchIntelligencePhoneInternalServerError`](./src/models/errors/post-v1-search-intelligence-phone-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
389
|
+
* [`PostV1SearchIntelligenceSeonInternalServerError`](./src/models/errors/post-v1-search-intelligence-seon-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
390
|
+
* [`PostV1SearchIntelligenceWebDbsInternalServerError`](./src/models/errors/post-v1-search-intelligence-web-dbs-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
391
|
+
* [`PostV1SearchIntelligenceFacialInternalServerError`](./src/models/errors/post-v1-search-intelligence-facial-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
392
|
+
* [`PostV1SearchIntelligenceHudsonrockInternalServerError`](./src/models/errors/post-v1-search-intelligence-hudsonrock-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
393
|
+
* [`PostV1SearchSocialsDiscordInternalServerError`](./src/models/errors/post-v1-search-socials-discord-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
394
|
+
* [`PostV1SearchSocialsGithubInternalServerError`](./src/models/errors/post-v1-search-socials-github-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
395
|
+
* [`PostV1SearchSocialsRobloxInternalServerError`](./src/models/errors/post-v1-search-socials-roblox-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
396
|
+
* [`PostV1SearchSocialsTiktokInternalServerError`](./src/models/errors/post-v1-search-socials-tiktok-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
397
|
+
* [`PostV1SearchInfrastructureIpinfoInternalServerError`](./src/models/errors/post-v1-search-infrastructure-ipinfo-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
398
|
+
* [`PostV1SearchInfrastructureDnsInternalServerError`](./src/models/errors/post-v1-search-infrastructure-dns-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
399
|
+
* [`PostV1SearchInfrastructureShodanInternalServerError`](./src/models/errors/post-v1-search-infrastructure-shodan-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
400
|
+
* [`PostV1SearchInfrastructureWhoisInternalServerError`](./src/models/errors/post-v1-search-infrastructure-whois-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
401
|
+
* [`PostV1SearchInfrastructurePortscanInternalServerError`](./src/models/errors/post-v1-search-infrastructure-portscan-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
402
|
+
* [`PostV1SearchInfrastructureCertificatesInternalServerError`](./src/models/errors/post-v1-search-infrastructure-certificates-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
403
|
+
* [`PostV1ToolsDoogleInternalServerError`](./src/models/errors/post-v1-tools-doogle-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
404
|
+
* [`PostV1ToolsDoublecounterInternalServerError`](./src/models/errors/post-v1-tools-doublecounter-internal-server-error.ts): Bypass failed. Status code `500`. Applicable to 1 of 35 methods.*
|
|
405
|
+
* [`PostV1ToolsIntelxInternalServerError`](./src/models/errors/post-v1-tools-intelx-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
406
|
+
* [`PostV2SearchSocialsUsernameInternalServerError`](./src/models/errors/post-v2-search-socials-username-internal-server-error.ts): Internal Server Error. Status code `500`. Applicable to 1 of 35 methods.*
|
|
407
|
+
* [`ResponseValidationError`](./src/models/errors/response-validation-error.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
|
|
408
|
+
|
|
409
|
+
</details>
|
|
410
|
+
|
|
411
|
+
\* Check [the method documentation](#available-resources-and-operations) to see if the error is applicable.
|
|
412
|
+
<!-- End Error Handling [errors] -->
|
|
413
|
+
|
|
414
|
+
<!-- Start Server Selection [server] -->
|
|
415
|
+
## Server Selection
|
|
416
|
+
|
|
417
|
+
### Override Server URL Per-Client
|
|
418
|
+
|
|
419
|
+
The default server can be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:
|
|
420
|
+
```typescript
|
|
421
|
+
import { Indicia } from "@indiciaosint/sdk";
|
|
422
|
+
|
|
423
|
+
const indicia = new Indicia({
|
|
424
|
+
serverURL: "https://api.indicia.app",
|
|
425
|
+
apiKeyAuth: process.env["INDICIA_API_KEY_AUTH"] ?? "",
|
|
426
|
+
});
|
|
427
|
+
|
|
428
|
+
async function run() {
|
|
429
|
+
const result = await indicia.getV1Info();
|
|
430
|
+
|
|
431
|
+
console.log(result);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
run();
|
|
435
|
+
|
|
436
|
+
```
|
|
437
|
+
<!-- End Server Selection [server] -->
|
|
438
|
+
|
|
439
|
+
<!-- Start Custom HTTP Client [http-client] -->
|
|
440
|
+
## Custom HTTP Client
|
|
441
|
+
|
|
442
|
+
The TypeScript SDK makes API calls using an `HTTPClient` that wraps the native
|
|
443
|
+
[Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). This
|
|
444
|
+
client is a thin wrapper around `fetch` and provides the ability to attach hooks
|
|
445
|
+
around the request lifecycle that can be used to modify the request or handle
|
|
446
|
+
errors and response.
|
|
447
|
+
|
|
448
|
+
The `HTTPClient` constructor takes an optional `fetcher` argument that can be
|
|
449
|
+
used to integrate a third-party HTTP client or when writing tests to mock out
|
|
450
|
+
the HTTP client and feed in fixtures.
|
|
451
|
+
|
|
452
|
+
The following example shows how to:
|
|
453
|
+
- route requests through a proxy server using [undici](https://www.npmjs.com/package/undici)'s ProxyAgent
|
|
454
|
+
- use the `"beforeRequest"` hook to add a custom header and a timeout to requests
|
|
455
|
+
- use the `"requestError"` hook to log errors
|
|
456
|
+
|
|
457
|
+
```typescript
|
|
458
|
+
import { Indicia } from "@indiciaosint/sdk";
|
|
459
|
+
import { ProxyAgent } from "undici";
|
|
460
|
+
import { HTTPClient } from "@indiciaosint/sdk/lib/http";
|
|
461
|
+
|
|
462
|
+
const dispatcher = new ProxyAgent("http://proxy.example.com:8080");
|
|
463
|
+
|
|
464
|
+
const httpClient = new HTTPClient({
|
|
465
|
+
// 'fetcher' takes a function that has the same signature as native 'fetch'.
|
|
466
|
+
fetcher: (input, init) =>
|
|
467
|
+
// 'dispatcher' is specific to undici and not part of the standard Fetch API.
|
|
468
|
+
fetch(input, { ...init, dispatcher } as RequestInit),
|
|
469
|
+
});
|
|
470
|
+
|
|
471
|
+
httpClient.addHook("beforeRequest", (request) => {
|
|
472
|
+
const nextRequest = new Request(request, {
|
|
473
|
+
signal: request.signal || AbortSignal.timeout(5000)
|
|
474
|
+
});
|
|
475
|
+
|
|
476
|
+
nextRequest.headers.set("x-custom-header", "custom value");
|
|
477
|
+
|
|
478
|
+
return nextRequest;
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
httpClient.addHook("requestError", (error, request) => {
|
|
482
|
+
console.group("Request Error");
|
|
483
|
+
console.log("Reason:", `${error}`);
|
|
484
|
+
console.log("Endpoint:", `${request.method} ${request.url}`);
|
|
485
|
+
console.groupEnd();
|
|
486
|
+
});
|
|
487
|
+
|
|
488
|
+
const sdk = new Indicia({ httpClient: httpClient });
|
|
489
|
+
```
|
|
490
|
+
<!-- End Custom HTTP Client [http-client] -->
|
|
491
|
+
|
|
492
|
+
<!-- Start Debugging [debug] -->
|
|
493
|
+
## Debugging
|
|
494
|
+
|
|
495
|
+
You can setup your SDK to emit debug logs for SDK requests and responses.
|
|
496
|
+
|
|
497
|
+
You can pass a logger that matches `console`'s interface as an SDK option.
|
|
498
|
+
|
|
499
|
+
> [!WARNING]
|
|
500
|
+
> Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
|
|
501
|
+
|
|
502
|
+
```typescript
|
|
503
|
+
import { Indicia } from "@indiciaosint/sdk";
|
|
504
|
+
|
|
505
|
+
const sdk = new Indicia({ debugLogger: console });
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
You can also enable a default debug logger by setting an environment variable `INDICIA_DEBUG` to true.
|
|
509
|
+
<!-- End Debugging [debug] -->
|
|
510
|
+
|
|
511
|
+
<!-- Placeholder for Future Speakeasy SDK Sections -->
|
|
512
|
+
|
|
513
|
+
# Development
|
|
514
|
+
|
|
515
|
+
## Maturity
|
|
516
|
+
|
|
517
|
+
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
|
|
518
|
+
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
|
|
519
|
+
looking for the latest version.
|
|
520
|
+
|
|
521
|
+
## Contributions
|
|
522
|
+
|
|
523
|
+
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
|
|
524
|
+
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
|
|
525
|
+
|
|
526
|
+
### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=@indiciaosint/sdk&utm_campaign=typescript)
|