@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,870 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import * as types from "../../types/primitives.js";
|
|
12
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
13
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
14
|
+
|
|
15
|
+
export type PostV2SearchSocialsUsernameRequest = {
|
|
16
|
+
query: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export const PostV2SearchSocialsUsernameType = {
|
|
20
|
+
Email: "email",
|
|
21
|
+
Username: "username",
|
|
22
|
+
} as const;
|
|
23
|
+
export type PostV2SearchSocialsUsernameType = OpenEnum<
|
|
24
|
+
typeof PostV2SearchSocialsUsernameType
|
|
25
|
+
>;
|
|
26
|
+
|
|
27
|
+
export type PostV2SearchSocialsUsernameId = number | string;
|
|
28
|
+
|
|
29
|
+
export type Account = {
|
|
30
|
+
domain?: string | undefined;
|
|
31
|
+
shortname?: string | undefined;
|
|
32
|
+
url?: string | undefined;
|
|
33
|
+
verified?: boolean | undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type Bands = number | string;
|
|
37
|
+
|
|
38
|
+
export type Collections = number | string;
|
|
39
|
+
|
|
40
|
+
export type Connection = {
|
|
41
|
+
name?: string | undefined;
|
|
42
|
+
provider?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export type Course = {
|
|
46
|
+
crowns?: number | undefined;
|
|
47
|
+
title?: string | undefined;
|
|
48
|
+
xp?: number | undefined;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type Followers = number | string;
|
|
52
|
+
|
|
53
|
+
export type Following = number | string;
|
|
54
|
+
|
|
55
|
+
export type PostV2SearchSocialsUsernameOrganization = {
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
url?: string | undefined;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export type Plays = number | string;
|
|
61
|
+
|
|
62
|
+
export type Socials = {
|
|
63
|
+
facebook?: string | undefined;
|
|
64
|
+
instagram?: string | undefined;
|
|
65
|
+
twitter?: string | undefined;
|
|
66
|
+
website?: string | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export type SocialsUnion = Socials | Array<string>;
|
|
70
|
+
|
|
71
|
+
export type PostV2SearchSocialsUsernameStatus = {
|
|
72
|
+
isCoach?: boolean | undefined;
|
|
73
|
+
isModerator?: boolean | undefined;
|
|
74
|
+
isStaff?: boolean | undefined;
|
|
75
|
+
isStreamer?: boolean | undefined;
|
|
76
|
+
isTopBlogger?: boolean | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export type Status = string | PostV2SearchSocialsUsernameStatus;
|
|
80
|
+
|
|
81
|
+
export type Url = {
|
|
82
|
+
title?: string | undefined;
|
|
83
|
+
value?: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export type Metadata = {
|
|
87
|
+
accentColor?: string | undefined;
|
|
88
|
+
accountType?: string | undefined;
|
|
89
|
+
accounts?: Array<Account> | undefined;
|
|
90
|
+
address?: string | undefined;
|
|
91
|
+
awardeeKarma?: number | undefined;
|
|
92
|
+
awarderKarma?: number | undefined;
|
|
93
|
+
awards?: Array<any> | undefined;
|
|
94
|
+
backgroundPicture?: string | undefined;
|
|
95
|
+
badges?: Array<any> | undefined;
|
|
96
|
+
bands?: number | string | undefined;
|
|
97
|
+
bioLinks?: Array<any> | undefined;
|
|
98
|
+
blog?: string | undefined;
|
|
99
|
+
boardCount?: number | undefined;
|
|
100
|
+
broadcasterType?: string | undefined;
|
|
101
|
+
capeUrl?: string | undefined;
|
|
102
|
+
cashtagUrl?: string | undefined;
|
|
103
|
+
channelId?: string | undefined;
|
|
104
|
+
clubs?: Array<any> | undefined;
|
|
105
|
+
collections?: number | string | undefined;
|
|
106
|
+
company?: string | undefined;
|
|
107
|
+
connections?: Array<Connection> | undefined;
|
|
108
|
+
courses?: Array<Course> | undefined;
|
|
109
|
+
coverImage?: string | undefined;
|
|
110
|
+
createdAt?: string | undefined;
|
|
111
|
+
createdDate?: string | undefined;
|
|
112
|
+
createdOn?: string | undefined;
|
|
113
|
+
createdUtc?: number | undefined;
|
|
114
|
+
cryptoAddresses?: Array<any> | undefined;
|
|
115
|
+
currency?: string | undefined;
|
|
116
|
+
currentStreak?: number | undefined;
|
|
117
|
+
devices?: Array<string> | undefined;
|
|
118
|
+
emails?: Array<string> | undefined;
|
|
119
|
+
externalUrl?: string | undefined;
|
|
120
|
+
familyName?: string | undefined;
|
|
121
|
+
followers?: number | string | undefined;
|
|
122
|
+
following?: number | string | undefined;
|
|
123
|
+
friendCount?: number | undefined;
|
|
124
|
+
genres?: Array<string> | undefined;
|
|
125
|
+
givenName?: string | undefined;
|
|
126
|
+
hasPlus?: boolean | undefined;
|
|
127
|
+
hasVerifiedEmail?: boolean | undefined;
|
|
128
|
+
inspiredBy?: Array<string> | undefined;
|
|
129
|
+
isAffiliate?: boolean | undefined;
|
|
130
|
+
isBanned?: boolean | undefined;
|
|
131
|
+
isBusiness?: boolean | undefined;
|
|
132
|
+
isChannel?: boolean | undefined;
|
|
133
|
+
isConfirmed?: boolean | undefined;
|
|
134
|
+
isGold?: boolean | undefined;
|
|
135
|
+
isGroup?: boolean | undefined;
|
|
136
|
+
isHacker?: boolean | undefined;
|
|
137
|
+
isJunior?: boolean | undefined;
|
|
138
|
+
isLegacy?: boolean | undefined;
|
|
139
|
+
isMetaBlocked?: boolean | undefined;
|
|
140
|
+
isMod?: boolean | undefined;
|
|
141
|
+
isPartner?: boolean | undefined;
|
|
142
|
+
isPremium?: boolean | undefined;
|
|
143
|
+
isProfessional?: boolean | undefined;
|
|
144
|
+
isSuspended?: boolean | undefined;
|
|
145
|
+
isVerified?: boolean | null | undefined;
|
|
146
|
+
joinedAt?: string | undefined;
|
|
147
|
+
keywords?: Array<string> | undefined;
|
|
148
|
+
lastModified?: string | undefined;
|
|
149
|
+
lastSeen?: string | undefined;
|
|
150
|
+
latestPastes?: Array<any> | undefined;
|
|
151
|
+
learningLanguage?: string | undefined;
|
|
152
|
+
likes?: number | undefined;
|
|
153
|
+
likesReceived?: number | undefined;
|
|
154
|
+
links?: Array<any> | undefined;
|
|
155
|
+
listedCount?: number | undefined;
|
|
156
|
+
mediaCount?: number | undefined;
|
|
157
|
+
memberType?: string | undefined;
|
|
158
|
+
organizations?: Array<PostV2SearchSocialsUsernameOrganization> | undefined;
|
|
159
|
+
pageViews?: number | undefined;
|
|
160
|
+
pastUsernames?: Array<string> | undefined;
|
|
161
|
+
pasteViews?: number | undefined;
|
|
162
|
+
pins?: number | undefined;
|
|
163
|
+
platformId?: string | undefined;
|
|
164
|
+
platforms?: Array<any> | undefined;
|
|
165
|
+
playlistCount?: number | undefined;
|
|
166
|
+
plays?: number | string | undefined;
|
|
167
|
+
posts?: number | undefined;
|
|
168
|
+
postsCount?: number | undefined;
|
|
169
|
+
primaryTeam?: string | undefined;
|
|
170
|
+
profileViews?: number | undefined;
|
|
171
|
+
proofs?: Array<any> | undefined;
|
|
172
|
+
provider?: string | undefined;
|
|
173
|
+
providerId?: string | undefined;
|
|
174
|
+
publicGists?: number | undefined;
|
|
175
|
+
publicRepos?: number | undefined;
|
|
176
|
+
ratePlan?: string | undefined;
|
|
177
|
+
realName?: string | undefined;
|
|
178
|
+
recentActivity?: any | undefined;
|
|
179
|
+
recoveryEmail?: string | undefined;
|
|
180
|
+
region?: string | undefined;
|
|
181
|
+
registeredSince?: string | undefined;
|
|
182
|
+
reputation?: number | undefined;
|
|
183
|
+
reputationLabel?: string | undefined;
|
|
184
|
+
roles?: Array<any> | undefined;
|
|
185
|
+
scratchTeam?: boolean | undefined;
|
|
186
|
+
skills?: Array<string> | undefined;
|
|
187
|
+
skinUrl?: string | undefined;
|
|
188
|
+
socialLinks?: Array<any> | undefined;
|
|
189
|
+
socials?: Socials | Array<string> | undefined;
|
|
190
|
+
status?: string | PostV2SearchSocialsUsernameStatus | undefined;
|
|
191
|
+
steamId64?: string | undefined;
|
|
192
|
+
streak?: number | undefined;
|
|
193
|
+
subscriberCount?: number | undefined;
|
|
194
|
+
subscribers?: number | undefined;
|
|
195
|
+
themeTitle?: string | undefined;
|
|
196
|
+
thumbnail?: string | undefined;
|
|
197
|
+
title?: string | undefined;
|
|
198
|
+
totalKarma?: number | undefined;
|
|
199
|
+
totalScrobbles?: number | undefined;
|
|
200
|
+
totalXp?: number | undefined;
|
|
201
|
+
trackCount?: number | undefined;
|
|
202
|
+
trnRank?: string | undefined;
|
|
203
|
+
trnRating?: string | undefined;
|
|
204
|
+
trophies?: Array<string> | undefined;
|
|
205
|
+
tweets?: number | undefined;
|
|
206
|
+
twitterUsername?: string | undefined;
|
|
207
|
+
updatedAt?: string | undefined;
|
|
208
|
+
upvotes?: number | undefined;
|
|
209
|
+
urlEntities?: Array<any> | undefined;
|
|
210
|
+
urls?: Array<Url> | undefined;
|
|
211
|
+
uuid?: string | undefined;
|
|
212
|
+
videoCount?: number | undefined;
|
|
213
|
+
visibleCollectionCount?: number | undefined;
|
|
214
|
+
visibleWishlistCount?: number | undefined;
|
|
215
|
+
website?: string | undefined;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
export type PostV2SearchSocialsUsernameDataData = {
|
|
219
|
+
avatar?: string | undefined;
|
|
220
|
+
bio?: string | undefined;
|
|
221
|
+
country?: string | undefined;
|
|
222
|
+
displayName?: string | undefined;
|
|
223
|
+
id?: number | string | undefined;
|
|
224
|
+
isPrivate?: boolean | undefined;
|
|
225
|
+
isVerified?: boolean | undefined;
|
|
226
|
+
metadata?: Metadata | undefined;
|
|
227
|
+
url?: string | undefined;
|
|
228
|
+
username?: string | undefined;
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
export type PostV2SearchSocialsUsernameData = {
|
|
232
|
+
durationMs: number;
|
|
233
|
+
exists: boolean;
|
|
234
|
+
service: string;
|
|
235
|
+
type: PostV2SearchSocialsUsernameType;
|
|
236
|
+
data?: PostV2SearchSocialsUsernameDataData | undefined;
|
|
237
|
+
error?: string | undefined;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Search successful
|
|
242
|
+
*/
|
|
243
|
+
export type PostV2SearchSocialsUsernameResponse = {
|
|
244
|
+
data: Array<PostV2SearchSocialsUsernameData>;
|
|
245
|
+
success: boolean;
|
|
246
|
+
error?: string | undefined;
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
/** @internal */
|
|
250
|
+
export type PostV2SearchSocialsUsernameRequest$Outbound = {
|
|
251
|
+
query: string;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/** @internal */
|
|
255
|
+
export const PostV2SearchSocialsUsernameRequest$outboundSchema: z.ZodMiniType<
|
|
256
|
+
PostV2SearchSocialsUsernameRequest$Outbound,
|
|
257
|
+
PostV2SearchSocialsUsernameRequest
|
|
258
|
+
> = z.object({
|
|
259
|
+
query: z.string(),
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
export function postV2SearchSocialsUsernameRequestToJSON(
|
|
263
|
+
postV2SearchSocialsUsernameRequest: PostV2SearchSocialsUsernameRequest,
|
|
264
|
+
): string {
|
|
265
|
+
return JSON.stringify(
|
|
266
|
+
PostV2SearchSocialsUsernameRequest$outboundSchema.parse(
|
|
267
|
+
postV2SearchSocialsUsernameRequest,
|
|
268
|
+
),
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/** @internal */
|
|
273
|
+
export const PostV2SearchSocialsUsernameType$inboundSchema: z.ZodMiniType<
|
|
274
|
+
PostV2SearchSocialsUsernameType,
|
|
275
|
+
unknown
|
|
276
|
+
> = openEnums.inboundSchema(PostV2SearchSocialsUsernameType);
|
|
277
|
+
|
|
278
|
+
/** @internal */
|
|
279
|
+
export const PostV2SearchSocialsUsernameId$inboundSchema: z.ZodMiniType<
|
|
280
|
+
PostV2SearchSocialsUsernameId,
|
|
281
|
+
unknown
|
|
282
|
+
> = smartUnion([types.number(), types.string()]);
|
|
283
|
+
|
|
284
|
+
export function postV2SearchSocialsUsernameIdFromJSON(
|
|
285
|
+
jsonString: string,
|
|
286
|
+
): SafeParseResult<PostV2SearchSocialsUsernameId, SDKValidationError> {
|
|
287
|
+
return safeParse(
|
|
288
|
+
jsonString,
|
|
289
|
+
(x) => PostV2SearchSocialsUsernameId$inboundSchema.parse(JSON.parse(x)),
|
|
290
|
+
`Failed to parse 'PostV2SearchSocialsUsernameId' from JSON`,
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/** @internal */
|
|
295
|
+
export const Account$inboundSchema: z.ZodMiniType<Account, unknown> = z.object({
|
|
296
|
+
domain: types.optional(types.string()),
|
|
297
|
+
shortname: types.optional(types.string()),
|
|
298
|
+
url: types.optional(types.string()),
|
|
299
|
+
verified: types.optional(types.boolean()),
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
export function accountFromJSON(
|
|
303
|
+
jsonString: string,
|
|
304
|
+
): SafeParseResult<Account, SDKValidationError> {
|
|
305
|
+
return safeParse(
|
|
306
|
+
jsonString,
|
|
307
|
+
(x) => Account$inboundSchema.parse(JSON.parse(x)),
|
|
308
|
+
`Failed to parse 'Account' from JSON`,
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/** @internal */
|
|
313
|
+
export const Bands$inboundSchema: z.ZodMiniType<Bands, unknown> = smartUnion([
|
|
314
|
+
types.number(),
|
|
315
|
+
types.string(),
|
|
316
|
+
]);
|
|
317
|
+
|
|
318
|
+
export function bandsFromJSON(
|
|
319
|
+
jsonString: string,
|
|
320
|
+
): SafeParseResult<Bands, SDKValidationError> {
|
|
321
|
+
return safeParse(
|
|
322
|
+
jsonString,
|
|
323
|
+
(x) => Bands$inboundSchema.parse(JSON.parse(x)),
|
|
324
|
+
`Failed to parse 'Bands' from JSON`,
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/** @internal */
|
|
329
|
+
export const Collections$inboundSchema: z.ZodMiniType<Collections, unknown> =
|
|
330
|
+
smartUnion([types.number(), types.string()]);
|
|
331
|
+
|
|
332
|
+
export function collectionsFromJSON(
|
|
333
|
+
jsonString: string,
|
|
334
|
+
): SafeParseResult<Collections, SDKValidationError> {
|
|
335
|
+
return safeParse(
|
|
336
|
+
jsonString,
|
|
337
|
+
(x) => Collections$inboundSchema.parse(JSON.parse(x)),
|
|
338
|
+
`Failed to parse 'Collections' from JSON`,
|
|
339
|
+
);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** @internal */
|
|
343
|
+
export const Connection$inboundSchema: z.ZodMiniType<Connection, unknown> = z
|
|
344
|
+
.object({
|
|
345
|
+
name: types.optional(types.string()),
|
|
346
|
+
provider: types.optional(types.string()),
|
|
347
|
+
});
|
|
348
|
+
|
|
349
|
+
export function connectionFromJSON(
|
|
350
|
+
jsonString: string,
|
|
351
|
+
): SafeParseResult<Connection, SDKValidationError> {
|
|
352
|
+
return safeParse(
|
|
353
|
+
jsonString,
|
|
354
|
+
(x) => Connection$inboundSchema.parse(JSON.parse(x)),
|
|
355
|
+
`Failed to parse 'Connection' from JSON`,
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/** @internal */
|
|
360
|
+
export const Course$inboundSchema: z.ZodMiniType<Course, unknown> = z.object({
|
|
361
|
+
crowns: types.optional(types.number()),
|
|
362
|
+
title: types.optional(types.string()),
|
|
363
|
+
xp: types.optional(types.number()),
|
|
364
|
+
});
|
|
365
|
+
|
|
366
|
+
export function courseFromJSON(
|
|
367
|
+
jsonString: string,
|
|
368
|
+
): SafeParseResult<Course, SDKValidationError> {
|
|
369
|
+
return safeParse(
|
|
370
|
+
jsonString,
|
|
371
|
+
(x) => Course$inboundSchema.parse(JSON.parse(x)),
|
|
372
|
+
`Failed to parse 'Course' from JSON`,
|
|
373
|
+
);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/** @internal */
|
|
377
|
+
export const Followers$inboundSchema: z.ZodMiniType<Followers, unknown> =
|
|
378
|
+
smartUnion([types.number(), types.string()]);
|
|
379
|
+
|
|
380
|
+
export function followersFromJSON(
|
|
381
|
+
jsonString: string,
|
|
382
|
+
): SafeParseResult<Followers, SDKValidationError> {
|
|
383
|
+
return safeParse(
|
|
384
|
+
jsonString,
|
|
385
|
+
(x) => Followers$inboundSchema.parse(JSON.parse(x)),
|
|
386
|
+
`Failed to parse 'Followers' from JSON`,
|
|
387
|
+
);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/** @internal */
|
|
391
|
+
export const Following$inboundSchema: z.ZodMiniType<Following, unknown> =
|
|
392
|
+
smartUnion([types.number(), types.string()]);
|
|
393
|
+
|
|
394
|
+
export function followingFromJSON(
|
|
395
|
+
jsonString: string,
|
|
396
|
+
): SafeParseResult<Following, SDKValidationError> {
|
|
397
|
+
return safeParse(
|
|
398
|
+
jsonString,
|
|
399
|
+
(x) => Following$inboundSchema.parse(JSON.parse(x)),
|
|
400
|
+
`Failed to parse 'Following' from JSON`,
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/** @internal */
|
|
405
|
+
export const PostV2SearchSocialsUsernameOrganization$inboundSchema:
|
|
406
|
+
z.ZodMiniType<PostV2SearchSocialsUsernameOrganization, unknown> = z.object({
|
|
407
|
+
name: types.optional(types.string()),
|
|
408
|
+
url: types.optional(types.string()),
|
|
409
|
+
});
|
|
410
|
+
|
|
411
|
+
export function postV2SearchSocialsUsernameOrganizationFromJSON(
|
|
412
|
+
jsonString: string,
|
|
413
|
+
): SafeParseResult<
|
|
414
|
+
PostV2SearchSocialsUsernameOrganization,
|
|
415
|
+
SDKValidationError
|
|
416
|
+
> {
|
|
417
|
+
return safeParse(
|
|
418
|
+
jsonString,
|
|
419
|
+
(x) =>
|
|
420
|
+
PostV2SearchSocialsUsernameOrganization$inboundSchema.parse(
|
|
421
|
+
JSON.parse(x),
|
|
422
|
+
),
|
|
423
|
+
`Failed to parse 'PostV2SearchSocialsUsernameOrganization' from JSON`,
|
|
424
|
+
);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/** @internal */
|
|
428
|
+
export const Plays$inboundSchema: z.ZodMiniType<Plays, unknown> = smartUnion([
|
|
429
|
+
types.number(),
|
|
430
|
+
types.string(),
|
|
431
|
+
]);
|
|
432
|
+
|
|
433
|
+
export function playsFromJSON(
|
|
434
|
+
jsonString: string,
|
|
435
|
+
): SafeParseResult<Plays, SDKValidationError> {
|
|
436
|
+
return safeParse(
|
|
437
|
+
jsonString,
|
|
438
|
+
(x) => Plays$inboundSchema.parse(JSON.parse(x)),
|
|
439
|
+
`Failed to parse 'Plays' from JSON`,
|
|
440
|
+
);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/** @internal */
|
|
444
|
+
export const Socials$inboundSchema: z.ZodMiniType<Socials, unknown> = z.object({
|
|
445
|
+
facebook: types.optional(types.string()),
|
|
446
|
+
instagram: types.optional(types.string()),
|
|
447
|
+
twitter: types.optional(types.string()),
|
|
448
|
+
website: types.optional(types.string()),
|
|
449
|
+
});
|
|
450
|
+
|
|
451
|
+
export function socialsFromJSON(
|
|
452
|
+
jsonString: string,
|
|
453
|
+
): SafeParseResult<Socials, SDKValidationError> {
|
|
454
|
+
return safeParse(
|
|
455
|
+
jsonString,
|
|
456
|
+
(x) => Socials$inboundSchema.parse(JSON.parse(x)),
|
|
457
|
+
`Failed to parse 'Socials' from JSON`,
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/** @internal */
|
|
462
|
+
export const SocialsUnion$inboundSchema: z.ZodMiniType<SocialsUnion, unknown> =
|
|
463
|
+
smartUnion([z.lazy(() => Socials$inboundSchema), z.array(types.string())]);
|
|
464
|
+
|
|
465
|
+
export function socialsUnionFromJSON(
|
|
466
|
+
jsonString: string,
|
|
467
|
+
): SafeParseResult<SocialsUnion, SDKValidationError> {
|
|
468
|
+
return safeParse(
|
|
469
|
+
jsonString,
|
|
470
|
+
(x) => SocialsUnion$inboundSchema.parse(JSON.parse(x)),
|
|
471
|
+
`Failed to parse 'SocialsUnion' from JSON`,
|
|
472
|
+
);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/** @internal */
|
|
476
|
+
export const PostV2SearchSocialsUsernameStatus$inboundSchema: z.ZodMiniType<
|
|
477
|
+
PostV2SearchSocialsUsernameStatus,
|
|
478
|
+
unknown
|
|
479
|
+
> = z.pipe(
|
|
480
|
+
z.object({
|
|
481
|
+
is_coach: types.optional(types.boolean()),
|
|
482
|
+
is_moderator: types.optional(types.boolean()),
|
|
483
|
+
is_staff: types.optional(types.boolean()),
|
|
484
|
+
is_streamer: types.optional(types.boolean()),
|
|
485
|
+
is_top_blogger: types.optional(types.boolean()),
|
|
486
|
+
}),
|
|
487
|
+
z.transform((v) => {
|
|
488
|
+
return remap$(v, {
|
|
489
|
+
"is_coach": "isCoach",
|
|
490
|
+
"is_moderator": "isModerator",
|
|
491
|
+
"is_staff": "isStaff",
|
|
492
|
+
"is_streamer": "isStreamer",
|
|
493
|
+
"is_top_blogger": "isTopBlogger",
|
|
494
|
+
});
|
|
495
|
+
}),
|
|
496
|
+
);
|
|
497
|
+
|
|
498
|
+
export function postV2SearchSocialsUsernameStatusFromJSON(
|
|
499
|
+
jsonString: string,
|
|
500
|
+
): SafeParseResult<PostV2SearchSocialsUsernameStatus, SDKValidationError> {
|
|
501
|
+
return safeParse(
|
|
502
|
+
jsonString,
|
|
503
|
+
(x) => PostV2SearchSocialsUsernameStatus$inboundSchema.parse(JSON.parse(x)),
|
|
504
|
+
`Failed to parse 'PostV2SearchSocialsUsernameStatus' from JSON`,
|
|
505
|
+
);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/** @internal */
|
|
509
|
+
export const Status$inboundSchema: z.ZodMiniType<Status, unknown> = smartUnion([
|
|
510
|
+
types.string(),
|
|
511
|
+
z.lazy(() => PostV2SearchSocialsUsernameStatus$inboundSchema),
|
|
512
|
+
]);
|
|
513
|
+
|
|
514
|
+
export function statusFromJSON(
|
|
515
|
+
jsonString: string,
|
|
516
|
+
): SafeParseResult<Status, SDKValidationError> {
|
|
517
|
+
return safeParse(
|
|
518
|
+
jsonString,
|
|
519
|
+
(x) => Status$inboundSchema.parse(JSON.parse(x)),
|
|
520
|
+
`Failed to parse 'Status' from JSON`,
|
|
521
|
+
);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/** @internal */
|
|
525
|
+
export const Url$inboundSchema: z.ZodMiniType<Url, unknown> = z.object({
|
|
526
|
+
title: types.optional(types.string()),
|
|
527
|
+
value: types.optional(types.string()),
|
|
528
|
+
});
|
|
529
|
+
|
|
530
|
+
export function urlFromJSON(
|
|
531
|
+
jsonString: string,
|
|
532
|
+
): SafeParseResult<Url, SDKValidationError> {
|
|
533
|
+
return safeParse(
|
|
534
|
+
jsonString,
|
|
535
|
+
(x) => Url$inboundSchema.parse(JSON.parse(x)),
|
|
536
|
+
`Failed to parse 'Url' from JSON`,
|
|
537
|
+
);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/** @internal */
|
|
541
|
+
export const Metadata$inboundSchema: z.ZodMiniType<Metadata, unknown> = z.pipe(
|
|
542
|
+
z.object({
|
|
543
|
+
accent_color: types.optional(types.string()),
|
|
544
|
+
account_type: types.optional(types.string()),
|
|
545
|
+
accounts: types.optional(z.array(z.lazy(() => Account$inboundSchema))),
|
|
546
|
+
address: types.optional(types.string()),
|
|
547
|
+
awardee_karma: types.optional(types.number()),
|
|
548
|
+
awarder_karma: types.optional(types.number()),
|
|
549
|
+
awards: types.optional(z.array(z.any())),
|
|
550
|
+
background_picture: types.optional(types.string()),
|
|
551
|
+
badges: types.optional(z.array(z.any())),
|
|
552
|
+
bands: types.optional(smartUnion([types.number(), types.string()])),
|
|
553
|
+
bio_links: types.optional(z.array(z.any())),
|
|
554
|
+
blog: types.optional(types.string()),
|
|
555
|
+
board_count: types.optional(types.number()),
|
|
556
|
+
broadcaster_type: types.optional(types.string()),
|
|
557
|
+
cape_url: types.optional(types.string()),
|
|
558
|
+
cashtag_url: types.optional(types.string()),
|
|
559
|
+
channel_id: types.optional(types.string()),
|
|
560
|
+
clubs: types.optional(z.array(z.any())),
|
|
561
|
+
collections: types.optional(smartUnion([types.number(), types.string()])),
|
|
562
|
+
company: types.optional(types.string()),
|
|
563
|
+
connections: types.optional(
|
|
564
|
+
z.array(z.lazy(() => Connection$inboundSchema)),
|
|
565
|
+
),
|
|
566
|
+
courses: types.optional(z.array(z.lazy(() => Course$inboundSchema))),
|
|
567
|
+
cover_image: types.optional(types.string()),
|
|
568
|
+
created_at: types.optional(types.string()),
|
|
569
|
+
created_date: types.optional(types.string()),
|
|
570
|
+
created_on: types.optional(types.string()),
|
|
571
|
+
created_utc: types.optional(types.number()),
|
|
572
|
+
crypto_addresses: types.optional(z.array(z.any())),
|
|
573
|
+
currency: types.optional(types.string()),
|
|
574
|
+
current_streak: types.optional(types.number()),
|
|
575
|
+
devices: types.optional(z.array(types.string())),
|
|
576
|
+
emails: types.optional(z.array(types.string())),
|
|
577
|
+
external_url: types.optional(types.string()),
|
|
578
|
+
family_name: types.optional(types.string()),
|
|
579
|
+
followers: types.optional(smartUnion([types.number(), types.string()])),
|
|
580
|
+
following: types.optional(smartUnion([types.number(), types.string()])),
|
|
581
|
+
friend_count: types.optional(types.number()),
|
|
582
|
+
genres: types.optional(z.array(types.string())),
|
|
583
|
+
given_name: types.optional(types.string()),
|
|
584
|
+
has_plus: types.optional(types.boolean()),
|
|
585
|
+
has_verified_email: types.optional(types.boolean()),
|
|
586
|
+
inspired_by: types.optional(z.array(types.string())),
|
|
587
|
+
is_affiliate: types.optional(types.boolean()),
|
|
588
|
+
is_banned: types.optional(types.boolean()),
|
|
589
|
+
is_business: types.optional(types.boolean()),
|
|
590
|
+
is_channel: types.optional(types.boolean()),
|
|
591
|
+
is_confirmed: types.optional(types.boolean()),
|
|
592
|
+
is_gold: types.optional(types.boolean()),
|
|
593
|
+
is_group: types.optional(types.boolean()),
|
|
594
|
+
is_hacker: types.optional(types.boolean()),
|
|
595
|
+
is_junior: types.optional(types.boolean()),
|
|
596
|
+
is_legacy: types.optional(types.boolean()),
|
|
597
|
+
is_meta_blocked: types.optional(types.boolean()),
|
|
598
|
+
is_mod: types.optional(types.boolean()),
|
|
599
|
+
is_partner: types.optional(types.boolean()),
|
|
600
|
+
is_premium: types.optional(types.boolean()),
|
|
601
|
+
is_professional: types.optional(types.boolean()),
|
|
602
|
+
is_suspended: types.optional(types.boolean()),
|
|
603
|
+
is_verified: z.optional(z.nullable(types.boolean())),
|
|
604
|
+
joined_at: types.optional(types.string()),
|
|
605
|
+
keywords: types.optional(z.array(types.string())),
|
|
606
|
+
last_modified: types.optional(types.string()),
|
|
607
|
+
last_seen: types.optional(types.string()),
|
|
608
|
+
latest_pastes: types.optional(z.array(z.any())),
|
|
609
|
+
learning_language: types.optional(types.string()),
|
|
610
|
+
likes: types.optional(types.number()),
|
|
611
|
+
likes_received: types.optional(types.number()),
|
|
612
|
+
links: types.optional(z.array(z.any())),
|
|
613
|
+
listed_count: types.optional(types.number()),
|
|
614
|
+
media_count: types.optional(types.number()),
|
|
615
|
+
member_type: types.optional(types.string()),
|
|
616
|
+
organizations: types.optional(
|
|
617
|
+
z.array(
|
|
618
|
+
z.lazy(() => PostV2SearchSocialsUsernameOrganization$inboundSchema),
|
|
619
|
+
),
|
|
620
|
+
),
|
|
621
|
+
page_views: types.optional(types.number()),
|
|
622
|
+
past_usernames: types.optional(z.array(types.string())),
|
|
623
|
+
paste_views: types.optional(types.number()),
|
|
624
|
+
pins: types.optional(types.number()),
|
|
625
|
+
platform_id: types.optional(types.string()),
|
|
626
|
+
platforms: types.optional(z.array(z.any())),
|
|
627
|
+
playlist_count: types.optional(types.number()),
|
|
628
|
+
plays: types.optional(smartUnion([types.number(), types.string()])),
|
|
629
|
+
posts: types.optional(types.number()),
|
|
630
|
+
posts_count: types.optional(types.number()),
|
|
631
|
+
primary_team: types.optional(types.string()),
|
|
632
|
+
profile_views: types.optional(types.number()),
|
|
633
|
+
proofs: types.optional(z.array(z.any())),
|
|
634
|
+
provider: types.optional(types.string()),
|
|
635
|
+
provider_id: types.optional(types.string()),
|
|
636
|
+
public_gists: types.optional(types.number()),
|
|
637
|
+
public_repos: types.optional(types.number()),
|
|
638
|
+
rate_plan: types.optional(types.string()),
|
|
639
|
+
real_name: types.optional(types.string()),
|
|
640
|
+
recent_activity: types.optional(z.any()),
|
|
641
|
+
recovery_email: types.optional(types.string()),
|
|
642
|
+
region: types.optional(types.string()),
|
|
643
|
+
registered_since: types.optional(types.string()),
|
|
644
|
+
reputation: types.optional(types.number()),
|
|
645
|
+
reputation_label: types.optional(types.string()),
|
|
646
|
+
roles: types.optional(z.array(z.any())),
|
|
647
|
+
scratch_team: types.optional(types.boolean()),
|
|
648
|
+
skills: types.optional(z.array(types.string())),
|
|
649
|
+
skin_url: types.optional(types.string()),
|
|
650
|
+
social_links: types.optional(z.array(z.any())),
|
|
651
|
+
socials: types.optional(
|
|
652
|
+
smartUnion([
|
|
653
|
+
z.lazy(() => Socials$inboundSchema),
|
|
654
|
+
z.array(types.string()),
|
|
655
|
+
]),
|
|
656
|
+
),
|
|
657
|
+
status: types.optional(
|
|
658
|
+
smartUnion([
|
|
659
|
+
types.string(),
|
|
660
|
+
z.lazy(() => PostV2SearchSocialsUsernameStatus$inboundSchema),
|
|
661
|
+
]),
|
|
662
|
+
),
|
|
663
|
+
steam_id_64: types.optional(types.string()),
|
|
664
|
+
streak: types.optional(types.number()),
|
|
665
|
+
subscriber_count: types.optional(types.number()),
|
|
666
|
+
subscribers: types.optional(types.number()),
|
|
667
|
+
theme_title: types.optional(types.string()),
|
|
668
|
+
thumbnail: types.optional(types.string()),
|
|
669
|
+
title: types.optional(types.string()),
|
|
670
|
+
total_karma: types.optional(types.number()),
|
|
671
|
+
total_scrobbles: types.optional(types.number()),
|
|
672
|
+
total_xp: types.optional(types.number()),
|
|
673
|
+
track_count: types.optional(types.number()),
|
|
674
|
+
trn_rank: types.optional(types.string()),
|
|
675
|
+
trn_rating: types.optional(types.string()),
|
|
676
|
+
trophies: types.optional(z.array(types.string())),
|
|
677
|
+
tweets: types.optional(types.number()),
|
|
678
|
+
twitter_username: types.optional(types.string()),
|
|
679
|
+
updated_at: types.optional(types.string()),
|
|
680
|
+
upvotes: types.optional(types.number()),
|
|
681
|
+
url_entities: types.optional(z.array(z.any())),
|
|
682
|
+
urls: types.optional(z.array(z.lazy(() => Url$inboundSchema))),
|
|
683
|
+
uuid: types.optional(types.string()),
|
|
684
|
+
video_count: types.optional(types.number()),
|
|
685
|
+
visible_collection_count: types.optional(types.number()),
|
|
686
|
+
visible_wishlist_count: types.optional(types.number()),
|
|
687
|
+
website: types.optional(types.string()),
|
|
688
|
+
}),
|
|
689
|
+
z.transform((v) => {
|
|
690
|
+
return remap$(v, {
|
|
691
|
+
"accent_color": "accentColor",
|
|
692
|
+
"account_type": "accountType",
|
|
693
|
+
"awardee_karma": "awardeeKarma",
|
|
694
|
+
"awarder_karma": "awarderKarma",
|
|
695
|
+
"background_picture": "backgroundPicture",
|
|
696
|
+
"bio_links": "bioLinks",
|
|
697
|
+
"board_count": "boardCount",
|
|
698
|
+
"broadcaster_type": "broadcasterType",
|
|
699
|
+
"cape_url": "capeUrl",
|
|
700
|
+
"cashtag_url": "cashtagUrl",
|
|
701
|
+
"channel_id": "channelId",
|
|
702
|
+
"cover_image": "coverImage",
|
|
703
|
+
"created_at": "createdAt",
|
|
704
|
+
"created_date": "createdDate",
|
|
705
|
+
"created_on": "createdOn",
|
|
706
|
+
"created_utc": "createdUtc",
|
|
707
|
+
"crypto_addresses": "cryptoAddresses",
|
|
708
|
+
"current_streak": "currentStreak",
|
|
709
|
+
"external_url": "externalUrl",
|
|
710
|
+
"family_name": "familyName",
|
|
711
|
+
"friend_count": "friendCount",
|
|
712
|
+
"given_name": "givenName",
|
|
713
|
+
"has_plus": "hasPlus",
|
|
714
|
+
"has_verified_email": "hasVerifiedEmail",
|
|
715
|
+
"inspired_by": "inspiredBy",
|
|
716
|
+
"is_affiliate": "isAffiliate",
|
|
717
|
+
"is_banned": "isBanned",
|
|
718
|
+
"is_business": "isBusiness",
|
|
719
|
+
"is_channel": "isChannel",
|
|
720
|
+
"is_confirmed": "isConfirmed",
|
|
721
|
+
"is_gold": "isGold",
|
|
722
|
+
"is_group": "isGroup",
|
|
723
|
+
"is_hacker": "isHacker",
|
|
724
|
+
"is_junior": "isJunior",
|
|
725
|
+
"is_legacy": "isLegacy",
|
|
726
|
+
"is_meta_blocked": "isMetaBlocked",
|
|
727
|
+
"is_mod": "isMod",
|
|
728
|
+
"is_partner": "isPartner",
|
|
729
|
+
"is_premium": "isPremium",
|
|
730
|
+
"is_professional": "isProfessional",
|
|
731
|
+
"is_suspended": "isSuspended",
|
|
732
|
+
"is_verified": "isVerified",
|
|
733
|
+
"joined_at": "joinedAt",
|
|
734
|
+
"last_modified": "lastModified",
|
|
735
|
+
"last_seen": "lastSeen",
|
|
736
|
+
"latest_pastes": "latestPastes",
|
|
737
|
+
"learning_language": "learningLanguage",
|
|
738
|
+
"likes_received": "likesReceived",
|
|
739
|
+
"listed_count": "listedCount",
|
|
740
|
+
"media_count": "mediaCount",
|
|
741
|
+
"member_type": "memberType",
|
|
742
|
+
"page_views": "pageViews",
|
|
743
|
+
"past_usernames": "pastUsernames",
|
|
744
|
+
"paste_views": "pasteViews",
|
|
745
|
+
"platform_id": "platformId",
|
|
746
|
+
"playlist_count": "playlistCount",
|
|
747
|
+
"posts_count": "postsCount",
|
|
748
|
+
"primary_team": "primaryTeam",
|
|
749
|
+
"profile_views": "profileViews",
|
|
750
|
+
"provider_id": "providerId",
|
|
751
|
+
"public_gists": "publicGists",
|
|
752
|
+
"public_repos": "publicRepos",
|
|
753
|
+
"rate_plan": "ratePlan",
|
|
754
|
+
"real_name": "realName",
|
|
755
|
+
"recent_activity": "recentActivity",
|
|
756
|
+
"recovery_email": "recoveryEmail",
|
|
757
|
+
"registered_since": "registeredSince",
|
|
758
|
+
"reputation_label": "reputationLabel",
|
|
759
|
+
"scratch_team": "scratchTeam",
|
|
760
|
+
"skin_url": "skinUrl",
|
|
761
|
+
"social_links": "socialLinks",
|
|
762
|
+
"steam_id_64": "steamId64",
|
|
763
|
+
"subscriber_count": "subscriberCount",
|
|
764
|
+
"theme_title": "themeTitle",
|
|
765
|
+
"total_karma": "totalKarma",
|
|
766
|
+
"total_scrobbles": "totalScrobbles",
|
|
767
|
+
"total_xp": "totalXp",
|
|
768
|
+
"track_count": "trackCount",
|
|
769
|
+
"trn_rank": "trnRank",
|
|
770
|
+
"trn_rating": "trnRating",
|
|
771
|
+
"twitter_username": "twitterUsername",
|
|
772
|
+
"updated_at": "updatedAt",
|
|
773
|
+
"url_entities": "urlEntities",
|
|
774
|
+
"video_count": "videoCount",
|
|
775
|
+
"visible_collection_count": "visibleCollectionCount",
|
|
776
|
+
"visible_wishlist_count": "visibleWishlistCount",
|
|
777
|
+
});
|
|
778
|
+
}),
|
|
779
|
+
);
|
|
780
|
+
|
|
781
|
+
export function metadataFromJSON(
|
|
782
|
+
jsonString: string,
|
|
783
|
+
): SafeParseResult<Metadata, SDKValidationError> {
|
|
784
|
+
return safeParse(
|
|
785
|
+
jsonString,
|
|
786
|
+
(x) => Metadata$inboundSchema.parse(JSON.parse(x)),
|
|
787
|
+
`Failed to parse 'Metadata' from JSON`,
|
|
788
|
+
);
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/** @internal */
|
|
792
|
+
export const PostV2SearchSocialsUsernameDataData$inboundSchema: z.ZodMiniType<
|
|
793
|
+
PostV2SearchSocialsUsernameDataData,
|
|
794
|
+
unknown
|
|
795
|
+
> = z.object({
|
|
796
|
+
avatar: types.optional(types.string()),
|
|
797
|
+
bio: types.optional(types.string()),
|
|
798
|
+
country: types.optional(types.string()),
|
|
799
|
+
displayName: types.optional(types.string()),
|
|
800
|
+
id: types.optional(smartUnion([types.number(), types.string()])),
|
|
801
|
+
isPrivate: types.optional(types.boolean()),
|
|
802
|
+
isVerified: types.optional(types.boolean()),
|
|
803
|
+
metadata: types.optional(z.lazy(() => Metadata$inboundSchema)),
|
|
804
|
+
url: types.optional(types.string()),
|
|
805
|
+
username: types.optional(types.string()),
|
|
806
|
+
});
|
|
807
|
+
|
|
808
|
+
export function postV2SearchSocialsUsernameDataDataFromJSON(
|
|
809
|
+
jsonString: string,
|
|
810
|
+
): SafeParseResult<PostV2SearchSocialsUsernameDataData, SDKValidationError> {
|
|
811
|
+
return safeParse(
|
|
812
|
+
jsonString,
|
|
813
|
+
(x) =>
|
|
814
|
+
PostV2SearchSocialsUsernameDataData$inboundSchema.parse(JSON.parse(x)),
|
|
815
|
+
`Failed to parse 'PostV2SearchSocialsUsernameDataData' from JSON`,
|
|
816
|
+
);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/** @internal */
|
|
820
|
+
export const PostV2SearchSocialsUsernameData$inboundSchema: z.ZodMiniType<
|
|
821
|
+
PostV2SearchSocialsUsernameData,
|
|
822
|
+
unknown
|
|
823
|
+
> = z.pipe(
|
|
824
|
+
z.object({
|
|
825
|
+
duration_ms: types.number(),
|
|
826
|
+
exists: types.boolean(),
|
|
827
|
+
service: types.string(),
|
|
828
|
+
type: PostV2SearchSocialsUsernameType$inboundSchema,
|
|
829
|
+
data: types.optional(
|
|
830
|
+
z.lazy(() => PostV2SearchSocialsUsernameDataData$inboundSchema),
|
|
831
|
+
),
|
|
832
|
+
error: types.optional(types.string()),
|
|
833
|
+
}),
|
|
834
|
+
z.transform((v) => {
|
|
835
|
+
return remap$(v, {
|
|
836
|
+
"duration_ms": "durationMs",
|
|
837
|
+
});
|
|
838
|
+
}),
|
|
839
|
+
);
|
|
840
|
+
|
|
841
|
+
export function postV2SearchSocialsUsernameDataFromJSON(
|
|
842
|
+
jsonString: string,
|
|
843
|
+
): SafeParseResult<PostV2SearchSocialsUsernameData, SDKValidationError> {
|
|
844
|
+
return safeParse(
|
|
845
|
+
jsonString,
|
|
846
|
+
(x) => PostV2SearchSocialsUsernameData$inboundSchema.parse(JSON.parse(x)),
|
|
847
|
+
`Failed to parse 'PostV2SearchSocialsUsernameData' from JSON`,
|
|
848
|
+
);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/** @internal */
|
|
852
|
+
export const PostV2SearchSocialsUsernameResponse$inboundSchema: z.ZodMiniType<
|
|
853
|
+
PostV2SearchSocialsUsernameResponse,
|
|
854
|
+
unknown
|
|
855
|
+
> = z.object({
|
|
856
|
+
data: z.array(z.lazy(() => PostV2SearchSocialsUsernameData$inboundSchema)),
|
|
857
|
+
success: types.boolean(),
|
|
858
|
+
error: types.optional(types.string()),
|
|
859
|
+
});
|
|
860
|
+
|
|
861
|
+
export function postV2SearchSocialsUsernameResponseFromJSON(
|
|
862
|
+
jsonString: string,
|
|
863
|
+
): SafeParseResult<PostV2SearchSocialsUsernameResponse, SDKValidationError> {
|
|
864
|
+
return safeParse(
|
|
865
|
+
jsonString,
|
|
866
|
+
(x) =>
|
|
867
|
+
PostV2SearchSocialsUsernameResponse$inboundSchema.parse(JSON.parse(x)),
|
|
868
|
+
`Failed to parse 'PostV2SearchSocialsUsernameResponse' from JSON`,
|
|
869
|
+
);
|
|
870
|
+
}
|