@indiciaosint/sdk 1.0.1 → 1.1.0
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/FUNCTIONS.md +3 -3
- package/README.md +147 -124
- package/esm/funcs/activity-delete-activity.d.ts +14 -0
- package/esm/funcs/activity-delete-activity.d.ts.map +1 -0
- package/esm/funcs/activity-delete-activity.js +82 -0
- package/esm/funcs/activity-delete-activity.js.map +1 -0
- package/esm/funcs/activity-get-activity.d.ts +14 -0
- package/esm/funcs/activity-get-activity.d.ts.map +1 -0
- package/esm/funcs/activity-get-activity.js +82 -0
- package/esm/funcs/activity-get-activity.js.map +1 -0
- package/esm/funcs/activity-list-activities.d.ts +14 -0
- package/esm/funcs/activity-list-activities.d.ts.map +1 -0
- package/esm/funcs/activity-list-activities.js +81 -0
- package/esm/funcs/activity-list-activities.js.map +1 -0
- package/esm/funcs/infrastructure-scan-ports.d.ts +144 -0
- package/esm/funcs/infrastructure-scan-ports.d.ts.map +1 -0
- package/esm/funcs/infrastructure-scan-ports.js +211 -0
- package/esm/funcs/infrastructure-scan-ports.js.map +1 -0
- package/esm/funcs/infrastructure-search-certificates.d.ts +18 -0
- package/esm/funcs/infrastructure-search-certificates.d.ts.map +1 -0
- package/esm/funcs/infrastructure-search-certificates.js +84 -0
- package/esm/funcs/infrastructure-search-certificates.js.map +1 -0
- package/esm/funcs/infrastructure-search-dns.d.ts +18 -0
- package/esm/funcs/infrastructure-search-dns.d.ts.map +1 -0
- package/esm/funcs/infrastructure-search-dns.js +84 -0
- package/esm/funcs/infrastructure-search-dns.js.map +1 -0
- package/esm/funcs/infrastructure-search-ip-info.d.ts +18 -0
- package/esm/funcs/infrastructure-search-ip-info.d.ts.map +1 -0
- package/esm/funcs/infrastructure-search-ip-info.js +84 -0
- package/esm/funcs/infrastructure-search-ip-info.js.map +1 -0
- package/esm/funcs/infrastructure-search-shodan.d.ts +18 -0
- package/esm/funcs/infrastructure-search-shodan.d.ts.map +1 -0
- package/esm/funcs/infrastructure-search-shodan.js +84 -0
- package/esm/funcs/infrastructure-search-shodan.js.map +1 -0
- package/esm/funcs/infrastructure-search-whois.d.ts +18 -0
- package/esm/funcs/infrastructure-search-whois.d.ts.map +1 -0
- package/esm/funcs/infrastructure-search-whois.js +84 -0
- package/esm/funcs/infrastructure-search-whois.js.map +1 -0
- package/esm/funcs/intelligence-geolocate-media.d.ts +30 -0
- package/esm/funcs/intelligence-geolocate-media.d.ts.map +1 -0
- package/esm/funcs/intelligence-geolocate-media.js +122 -0
- package/esm/funcs/intelligence-geolocate-media.js.map +1 -0
- package/esm/funcs/intelligence-search-address.d.ts +15 -0
- package/esm/funcs/intelligence-search-address.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-address.js +81 -0
- package/esm/funcs/intelligence-search-address.js.map +1 -0
- package/esm/funcs/intelligence-search-email.d.ts +18 -0
- package/esm/funcs/intelligence-search-email.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-email.js +84 -0
- package/esm/funcs/intelligence-search-email.js.map +1 -0
- package/esm/funcs/intelligence-search-face.d.ts +18 -0
- package/esm/funcs/intelligence-search-face.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-face.js +104 -0
- package/esm/funcs/intelligence-search-face.js.map +1 -0
- package/esm/funcs/intelligence-search-gmail.d.ts +18 -0
- package/esm/funcs/intelligence-search-gmail.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-gmail.js +84 -0
- package/esm/funcs/intelligence-search-gmail.js.map +1 -0
- package/esm/funcs/intelligence-search-hudson-rock.d.ts +18 -0
- package/esm/funcs/intelligence-search-hudson-rock.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-hudson-rock.js +84 -0
- package/esm/funcs/intelligence-search-hudson-rock.js.map +1 -0
- package/esm/funcs/intelligence-search-person.d.ts +18 -0
- package/esm/funcs/intelligence-search-person.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-person.js +84 -0
- package/esm/funcs/intelligence-search-person.js.map +1 -0
- package/esm/funcs/intelligence-search-phone.d.ts +18 -0
- package/esm/funcs/intelligence-search-phone.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-phone.js +84 -0
- package/esm/funcs/intelligence-search-phone.js.map +1 -0
- package/esm/funcs/intelligence-search-seon.d.ts +18 -0
- package/esm/funcs/intelligence-search-seon.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-seon.js +84 -0
- package/esm/funcs/intelligence-search-seon.js.map +1 -0
- package/esm/funcs/intelligence-search-web-databases.d.ts +18 -0
- package/esm/funcs/intelligence-search-web-databases.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-web-databases.js +84 -0
- package/esm/funcs/intelligence-search-web-databases.js.map +1 -0
- package/esm/funcs/organizations-get-organization-audit-log.d.ts +14 -0
- package/esm/funcs/organizations-get-organization-audit-log.d.ts.map +1 -0
- package/esm/funcs/organizations-get-organization-audit-log.js +87 -0
- package/esm/funcs/organizations-get-organization-audit-log.js.map +1 -0
- package/esm/funcs/organizations-get-organization.d.ts +14 -0
- package/esm/funcs/organizations-get-organization.d.ts.map +1 -0
- package/esm/funcs/organizations-get-organization.js +82 -0
- package/esm/funcs/organizations-get-organization.js.map +1 -0
- package/esm/funcs/organizations-list-organization-cases.d.ts +14 -0
- package/esm/funcs/organizations-list-organization-cases.d.ts.map +1 -0
- package/esm/funcs/organizations-list-organization-cases.js +82 -0
- package/esm/funcs/organizations-list-organization-cases.js.map +1 -0
- package/esm/funcs/organizations-list-organization-members.d.ts +14 -0
- package/esm/funcs/organizations-list-organization-members.d.ts.map +1 -0
- package/esm/funcs/organizations-list-organization-members.js +82 -0
- package/esm/funcs/organizations-list-organization-members.js.map +1 -0
- package/esm/funcs/organizations-list-organizations.d.ts +14 -0
- package/esm/funcs/organizations-list-organizations.d.ts.map +1 -0
- package/esm/funcs/organizations-list-organizations.js +66 -0
- package/esm/funcs/organizations-list-organizations.js.map +1 -0
- package/esm/funcs/organizations-send-organization-credits.d.ts +14 -0
- package/esm/funcs/organizations-send-organization-credits.d.ts.map +1 -0
- package/esm/funcs/organizations-send-organization-credits.js +83 -0
- package/esm/funcs/organizations-send-organization-credits.js.map +1 -0
- package/esm/funcs/pricing-get-pricing.d.ts +14 -0
- package/esm/funcs/pricing-get-pricing.d.ts.map +1 -0
- package/esm/funcs/pricing-get-pricing.js +66 -0
- package/esm/funcs/pricing-get-pricing.js.map +1 -0
- package/esm/funcs/socials-search-discord.d.ts +18 -0
- package/esm/funcs/socials-search-discord.d.ts.map +1 -0
- package/esm/funcs/socials-search-discord.js +84 -0
- package/esm/funcs/socials-search-discord.js.map +1 -0
- package/esm/funcs/socials-search-github.d.ts +18 -0
- package/esm/funcs/socials-search-github.d.ts.map +1 -0
- package/esm/funcs/socials-search-github.js +84 -0
- package/esm/funcs/socials-search-github.js.map +1 -0
- package/esm/funcs/socials-search-roblox.d.ts +18 -0
- package/esm/funcs/socials-search-roblox.d.ts.map +1 -0
- package/esm/funcs/socials-search-roblox.js +84 -0
- package/esm/funcs/socials-search-roblox.js.map +1 -0
- package/esm/funcs/socials-search-tiktok.d.ts +18 -0
- package/esm/funcs/socials-search-tiktok.d.ts.map +1 -0
- package/esm/funcs/socials-search-tiktok.js +84 -0
- package/esm/funcs/socials-search-tiktok.js.map +1 -0
- package/esm/funcs/socials-search-username.d.ts +18 -0
- package/esm/funcs/socials-search-username.d.ts.map +1 -0
- package/esm/funcs/socials-search-username.js +84 -0
- package/esm/funcs/socials-search-username.js.map +1 -0
- package/esm/funcs/tools-bypass-double-counter.d.ts +18 -0
- package/esm/funcs/tools-bypass-double-counter.d.ts.map +1 -0
- package/esm/funcs/tools-bypass-double-counter.js +84 -0
- package/esm/funcs/tools-bypass-double-counter.js.map +1 -0
- package/esm/funcs/tools-download-intelx-file.d.ts +18 -0
- package/esm/funcs/tools-download-intelx-file.d.ts.map +1 -0
- package/esm/funcs/tools-download-intelx-file.js +84 -0
- package/esm/funcs/tools-download-intelx-file.js.map +1 -0
- package/esm/funcs/tools-lookup-discord-alt.d.ts +18 -0
- package/esm/funcs/tools-lookup-discord-alt.d.ts.map +1 -0
- package/esm/funcs/tools-lookup-discord-alt.js +84 -0
- package/esm/funcs/tools-lookup-discord-alt.js.map +1 -0
- package/esm/funcs/users-get-info.d.ts +14 -0
- package/esm/funcs/users-get-info.d.ts.map +1 -0
- package/esm/funcs/users-get-info.js +66 -0
- package/esm/funcs/users-get-info.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/errors/failed-response-error.d.ts +38 -0
- package/esm/models/errors/failed-response-error.d.ts.map +1 -0
- package/esm/models/errors/failed-response-error.js +47 -0
- package/esm/models/errors/failed-response-error.js.map +1 -0
- package/esm/models/errors/index.d.ts +1 -24
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +1 -24
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/operations/bypass-double-counter.d.ts +24 -0
- package/esm/models/operations/bypass-double-counter.d.ts.map +1 -0
- package/esm/models/operations/bypass-double-counter.js +22 -0
- package/esm/models/operations/bypass-double-counter.js.map +1 -0
- package/esm/models/operations/delete-activity.d.ts +15 -0
- package/esm/models/operations/delete-activity.d.ts.map +1 -0
- package/esm/models/operations/delete-activity.js +12 -0
- package/esm/models/operations/delete-activity.js.map +1 -0
- package/esm/models/operations/download-intelx-file.d.ts +88 -0
- package/esm/models/operations/download-intelx-file.d.ts.map +1 -0
- package/esm/models/operations/download-intelx-file.js +82 -0
- package/esm/models/operations/download-intelx-file.js.map +1 -0
- package/esm/models/operations/geolocate-media.d.ts +51 -0
- package/esm/models/operations/geolocate-media.d.ts.map +1 -0
- package/esm/models/operations/geolocate-media.js +40 -0
- package/esm/models/operations/geolocate-media.js.map +1 -0
- package/esm/models/operations/get-activity.d.ts +105 -0
- package/esm/models/operations/get-activity.d.ts.map +1 -0
- package/esm/models/operations/get-activity.js +107 -0
- package/esm/models/operations/get-activity.js.map +1 -0
- package/esm/models/operations/get-info.d.ts +136 -0
- package/esm/models/operations/get-info.d.ts.map +1 -0
- package/esm/models/operations/get-info.js +119 -0
- package/esm/models/operations/get-info.js.map +1 -0
- package/esm/models/operations/get-organization-audit-log.d.ts +43 -0
- package/esm/models/operations/get-organization-audit-log.d.ts.map +1 -0
- package/esm/models/operations/get-organization-audit-log.js +35 -0
- package/esm/models/operations/get-organization-audit-log.js.map +1 -0
- package/esm/models/operations/get-organization.d.ts +41 -0
- package/esm/models/operations/get-organization.d.ts.map +1 -0
- package/esm/models/operations/get-organization.js +37 -0
- package/esm/models/operations/get-organization.js.map +1 -0
- package/esm/models/operations/get-pricing.d.ts +17 -0
- package/esm/models/operations/get-pricing.d.ts.map +1 -0
- package/esm/models/operations/get-pricing.js +16 -0
- package/esm/models/operations/get-pricing.js.map +1 -0
- package/esm/models/operations/index.d.ts +35 -35
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +35 -35
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/list-activities.d.ts +104 -0
- package/esm/models/operations/list-activities.d.ts.map +1 -0
- package/esm/models/operations/list-activities.js +108 -0
- package/esm/models/operations/list-activities.js.map +1 -0
- package/esm/models/operations/list-organization-cases.d.ts +38 -0
- package/esm/models/operations/list-organization-cases.d.ts.map +1 -0
- package/esm/models/operations/list-organization-cases.js +34 -0
- package/esm/models/operations/list-organization-cases.js.map +1 -0
- package/esm/models/operations/list-organization-members.d.ts +39 -0
- package/esm/models/operations/list-organization-members.d.ts.map +1 -0
- package/esm/models/operations/list-organization-members.js +35 -0
- package/esm/models/operations/list-organization-members.js.map +1 -0
- package/esm/models/operations/list-organizations.d.ts +31 -0
- package/esm/models/operations/list-organizations.d.ts.map +1 -0
- package/esm/models/operations/list-organizations.js +30 -0
- package/esm/models/operations/list-organizations.js.map +1 -0
- package/esm/models/operations/lookup-discord-alt.d.ts +61 -0
- package/esm/models/operations/lookup-discord-alt.d.ts.map +1 -0
- package/esm/models/operations/lookup-discord-alt.js +63 -0
- package/esm/models/operations/lookup-discord-alt.js.map +1 -0
- package/esm/models/operations/scan-ports.d.ts +28 -0
- package/esm/models/operations/scan-ports.d.ts.map +1 -0
- package/esm/models/operations/scan-ports.js +22 -0
- package/esm/models/operations/scan-ports.js.map +1 -0
- package/esm/models/operations/search-address.d.ts +82 -0
- package/esm/models/operations/search-address.d.ts.map +1 -0
- package/esm/models/operations/search-address.js +89 -0
- package/esm/models/operations/search-address.js.map +1 -0
- package/esm/models/operations/search-certificates.d.ts +39 -0
- package/esm/models/operations/search-certificates.d.ts.map +1 -0
- package/esm/models/operations/search-certificates.js +50 -0
- package/esm/models/operations/search-certificates.js.map +1 -0
- package/esm/models/operations/search-discord.d.ts +243 -0
- package/esm/models/operations/search-discord.d.ts.map +1 -0
- package/esm/models/operations/search-discord.js +265 -0
- package/esm/models/operations/search-discord.js.map +1 -0
- package/esm/models/operations/search-dns.d.ts +226 -0
- package/esm/models/operations/search-dns.d.ts.map +1 -0
- package/esm/models/operations/search-dns.js +320 -0
- package/esm/models/operations/search-dns.js.map +1 -0
- package/esm/models/operations/search-email.d.ts +46 -0
- package/esm/models/operations/search-email.d.ts.map +1 -0
- package/esm/models/operations/search-email.js +46 -0
- package/esm/models/operations/search-email.js.map +1 -0
- package/esm/models/operations/search-face.d.ts +27 -0
- package/esm/models/operations/search-face.d.ts.map +1 -0
- package/esm/models/operations/search-face.js +29 -0
- package/esm/models/operations/search-face.js.map +1 -0
- package/esm/models/operations/search-github.d.ts +48 -0
- package/esm/models/operations/search-github.d.ts.map +1 -0
- package/esm/models/operations/search-github.js +52 -0
- package/esm/models/operations/search-github.js.map +1 -0
- package/esm/models/operations/search-gmail.d.ts +218 -0
- package/esm/models/operations/search-gmail.d.ts.map +1 -0
- package/esm/models/operations/search-gmail.js +239 -0
- package/esm/models/operations/search-gmail.js.map +1 -0
- package/esm/models/operations/search-hudson-rock.d.ts +269 -0
- package/esm/models/operations/search-hudson-rock.d.ts.map +1 -0
- package/esm/models/operations/search-hudson-rock.js +363 -0
- package/esm/models/operations/search-hudson-rock.js.map +1 -0
- package/esm/models/operations/search-ip-info.d.ts +147 -0
- package/esm/models/operations/search-ip-info.d.ts.map +1 -0
- package/esm/models/operations/search-ip-info.js +200 -0
- package/esm/models/operations/search-ip-info.js.map +1 -0
- package/esm/models/operations/search-person.d.ts +79 -0
- package/esm/models/operations/search-person.d.ts.map +1 -0
- package/esm/models/operations/search-person.js +88 -0
- package/esm/models/operations/search-person.js.map +1 -0
- package/esm/models/operations/search-phone.d.ts +105 -0
- package/esm/models/operations/search-phone.d.ts.map +1 -0
- package/esm/models/operations/search-phone.js +140 -0
- package/esm/models/operations/search-phone.js.map +1 -0
- package/esm/models/operations/search-roblox.d.ts +127 -0
- package/esm/models/operations/search-roblox.d.ts.map +1 -0
- package/esm/models/operations/search-roblox.js +139 -0
- package/esm/models/operations/search-roblox.js.map +1 -0
- package/esm/models/operations/search-seon.d.ts +413 -0
- package/esm/models/operations/search-seon.d.ts.map +1 -0
- package/esm/models/operations/search-seon.js +598 -0
- package/esm/models/operations/search-seon.js.map +1 -0
- package/esm/models/operations/search-shodan.d.ts +219 -0
- package/esm/models/operations/search-shodan.d.ts.map +1 -0
- package/esm/models/operations/search-shodan.js +277 -0
- package/esm/models/operations/search-shodan.js.map +1 -0
- package/esm/models/operations/search-tiktok.d.ts +48 -0
- package/esm/models/operations/search-tiktok.d.ts.map +1 -0
- package/esm/models/operations/search-tiktok.js +47 -0
- package/esm/models/operations/search-tiktok.js.map +1 -0
- package/esm/models/operations/search-username.d.ts +378 -0
- package/esm/models/operations/search-username.d.ts.map +1 -0
- package/esm/models/operations/search-username.js +657 -0
- package/esm/models/operations/search-username.js.map +1 -0
- package/esm/models/operations/search-web-databases.d.ts +378 -0
- package/esm/models/operations/search-web-databases.d.ts.map +1 -0
- package/esm/models/operations/search-web-databases.js +419 -0
- package/esm/models/operations/search-web-databases.js.map +1 -0
- package/esm/models/operations/search-whois.d.ts +62 -0
- package/esm/models/operations/search-whois.d.ts.map +1 -0
- package/esm/models/operations/search-whois.js +61 -0
- package/esm/models/operations/search-whois.js.map +1 -0
- package/esm/models/operations/send-organization-credits.d.ts +39 -0
- package/esm/models/operations/send-organization-credits.d.ts.map +1 -0
- package/esm/models/operations/send-organization-credits.js +32 -0
- package/esm/models/operations/send-organization-credits.js.map +1 -0
- package/esm/sdk/activity.d.ts +17 -0
- package/esm/sdk/activity.d.ts.map +1 -0
- package/esm/sdk/activity.js +29 -0
- package/esm/sdk/activity.js.map +1 -0
- package/esm/sdk/infrastructure.d.ts +173 -0
- package/esm/sdk/infrastructure.d.ts.map +1 -0
- package/esm/sdk/infrastructure.js +194 -0
- package/esm/sdk/infrastructure.js.map +1 -0
- package/esm/sdk/intelligence.d.ts +84 -0
- package/esm/sdk/intelligence.d.ts.map +1 -0
- package/esm/sdk/intelligence.js +117 -0
- package/esm/sdk/intelligence.js.map +1 -0
- package/esm/sdk/organizations.d.ts +29 -0
- package/esm/sdk/organizations.d.ts.map +1 -0
- package/esm/sdk/organizations.js +50 -0
- package/esm/sdk/organizations.js.map +1 -0
- package/esm/sdk/pricing.d.ts +9 -0
- package/esm/sdk/pricing.d.ts.map +1 -0
- package/esm/sdk/pricing.js +15 -0
- package/esm/sdk/pricing.js.map +1 -0
- package/esm/sdk/sdk.d.ts +25 -367
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +32 -463
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/socials.d.ts +40 -0
- package/esm/sdk/socials.d.ts.map +1 -0
- package/esm/sdk/socials.js +58 -0
- package/esm/sdk/socials.js.map +1 -0
- package/esm/sdk/tools.d.ts +26 -0
- package/esm/sdk/tools.d.ts.map +1 -0
- package/esm/sdk/tools.js +38 -0
- package/esm/sdk/tools.js.map +1 -0
- package/esm/sdk/users.d.ts +9 -0
- package/esm/sdk/users.d.ts.map +1 -0
- package/esm/sdk/users.js +15 -0
- package/esm/sdk/users.js.map +1 -0
- package/examples/usersGetInfo.example.ts +26 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/activity-delete-activity.ts +165 -0
- package/src/funcs/activity-get-activity.ts +165 -0
- package/src/funcs/activity-list-activities.ts +169 -0
- package/src/funcs/infrastructure-scan-ports.ts +300 -0
- package/src/funcs/infrastructure-search-certificates.ts +173 -0
- package/src/funcs/infrastructure-search-dns.ts +172 -0
- package/src/funcs/infrastructure-search-ip-info.ts +172 -0
- package/src/funcs/infrastructure-search-shodan.ts +172 -0
- package/src/funcs/infrastructure-search-whois.ts +172 -0
- package/src/funcs/intelligence-geolocate-media.ts +224 -0
- package/src/funcs/intelligence-search-address.ts +169 -0
- package/src/funcs/intelligence-search-email.ts +172 -0
- package/src/funcs/intelligence-search-face.ts +206 -0
- package/src/funcs/intelligence-search-gmail.ts +172 -0
- package/src/funcs/intelligence-search-hudson-rock.ts +173 -0
- package/src/funcs/intelligence-search-person.ts +172 -0
- package/src/funcs/intelligence-search-phone.ts +172 -0
- package/src/funcs/intelligence-search-seon.ts +172 -0
- package/src/funcs/intelligence-search-web-databases.ts +174 -0
- package/src/funcs/organizations-get-organization-audit-log.ts +172 -0
- package/src/funcs/organizations-get-organization.ts +165 -0
- package/src/funcs/organizations-list-organization-cases.ts +166 -0
- package/src/funcs/organizations-list-organization-members.ts +166 -0
- package/src/funcs/organizations-list-organizations.ts +141 -0
- package/src/funcs/organizations-send-organization-credits.ts +167 -0
- package/src/funcs/pricing-get-pricing.ts +141 -0
- package/src/funcs/socials-search-discord.ts +172 -0
- package/src/funcs/socials-search-github.ts +172 -0
- package/src/funcs/socials-search-roblox.ts +172 -0
- package/src/funcs/socials-search-tiktok.ts +172 -0
- package/src/funcs/socials-search-username.ts +172 -0
- package/src/funcs/tools-bypass-double-counter.ts +173 -0
- package/src/funcs/tools-download-intelx-file.ts +174 -0
- package/src/funcs/tools-lookup-discord-alt.ts +173 -0
- package/src/funcs/users-get-info.ts +141 -0
- package/src/lib/config.ts +3 -3
- package/src/models/errors/failed-response-error.ts +74 -0
- package/src/models/errors/index.ts +1 -24
- package/src/models/operations/bypass-double-counter.ts +61 -0
- package/src/models/operations/delete-activity.ts +33 -0
- package/src/models/operations/download-intelx-file.ts +157 -0
- package/src/models/operations/geolocate-media.ts +98 -0
- package/src/models/operations/get-activity.ts +218 -0
- package/src/models/operations/get-info.ts +230 -0
- package/src/models/operations/get-organization-audit-log.ts +99 -0
- package/src/models/operations/get-organization.ts +102 -0
- package/src/models/operations/get-pricing.ts +38 -0
- package/src/models/operations/index.ts +35 -35
- package/src/models/operations/list-activities.ts +218 -0
- package/src/models/operations/list-organization-cases.ts +95 -0
- package/src/models/operations/list-organization-members.ts +97 -0
- package/src/models/operations/list-organizations.ts +79 -0
- package/src/models/operations/lookup-discord-alt.ts +166 -0
- package/src/models/operations/scan-ports.ts +58 -0
- package/src/models/operations/search-address.ts +225 -0
- package/src/models/operations/search-certificates.ts +116 -0
- package/src/models/operations/search-discord.ts +673 -0
- package/src/models/operations/search-dns.ts +783 -0
- package/src/models/operations/search-email.ts +125 -0
- package/src/models/operations/search-face.ts +68 -0
- package/src/models/operations/search-github.ts +125 -0
- package/src/models/operations/search-gmail.ts +675 -0
- package/src/models/operations/search-hudson-rock.ts +860 -0
- package/src/models/operations/search-ip-info.ts +444 -0
- package/src/models/operations/search-person.ts +221 -0
- package/src/models/operations/search-phone.ts +339 -0
- package/src/models/operations/search-roblox.ts +354 -0
- package/src/models/operations/search-seon.ts +1378 -0
- package/src/models/operations/search-shodan.ts +653 -0
- package/src/models/operations/search-tiktok.ts +119 -0
- package/src/models/operations/search-username.ts +1397 -0
- package/src/models/operations/search-web-databases.ts +948 -0
- package/src/models/operations/search-whois.ts +161 -0
- package/src/models/operations/send-organization-credits.ts +98 -0
- package/src/sdk/activity.ts +54 -0
- package/src/sdk/infrastructure.ts +243 -0
- package/src/sdk/intelligence.ts +198 -0
- package/src/sdk/organizations.ts +97 -0
- package/src/sdk/pricing.ts +22 -0
- package/src/sdk/sdk.ts +33 -731
- package/src/sdk/socials.ts +99 -0
- package/src/sdk/tools.ts +63 -0
- package/src/sdk/users.ts +22 -0
- package/esm/funcs/delete-v1-activity-by-id.d.ts +0 -14
- package/esm/funcs/delete-v1-activity-by-id.d.ts.map +0 -1
- package/esm/funcs/delete-v1-activity-by-id.js +0 -82
- package/esm/funcs/delete-v1-activity-by-id.js.map +0 -1
- package/esm/funcs/get-v1-activity-by-id.d.ts +0 -14
- package/esm/funcs/get-v1-activity-by-id.d.ts.map +0 -1
- package/esm/funcs/get-v1-activity-by-id.js +0 -82
- package/esm/funcs/get-v1-activity-by-id.js.map +0 -1
- package/esm/funcs/get-v1-activity.d.ts +0 -14
- package/esm/funcs/get-v1-activity.d.ts.map +0 -1
- package/esm/funcs/get-v1-activity.js +0 -81
- package/esm/funcs/get-v1-activity.js.map +0 -1
- package/esm/funcs/get-v1-info.d.ts +0 -14
- package/esm/funcs/get-v1-info.d.ts.map +0 -1
- package/esm/funcs/get-v1-info.js +0 -66
- package/esm/funcs/get-v1-info.js.map +0 -1
- package/esm/funcs/get-v1-organizations-by-id-audit-log.d.ts +0 -14
- package/esm/funcs/get-v1-organizations-by-id-audit-log.d.ts.map +0 -1
- package/esm/funcs/get-v1-organizations-by-id-audit-log.js +0 -87
- package/esm/funcs/get-v1-organizations-by-id-audit-log.js.map +0 -1
- package/esm/funcs/get-v1-organizations-by-id-cases.d.ts +0 -14
- package/esm/funcs/get-v1-organizations-by-id-cases.d.ts.map +0 -1
- package/esm/funcs/get-v1-organizations-by-id-cases.js +0 -82
- package/esm/funcs/get-v1-organizations-by-id-cases.js.map +0 -1
- package/esm/funcs/get-v1-organizations-by-id-members.d.ts +0 -14
- package/esm/funcs/get-v1-organizations-by-id-members.d.ts.map +0 -1
- package/esm/funcs/get-v1-organizations-by-id-members.js +0 -82
- package/esm/funcs/get-v1-organizations-by-id-members.js.map +0 -1
- package/esm/funcs/get-v1-organizations-by-id.d.ts +0 -14
- package/esm/funcs/get-v1-organizations-by-id.d.ts.map +0 -1
- package/esm/funcs/get-v1-organizations-by-id.js +0 -82
- package/esm/funcs/get-v1-organizations-by-id.js.map +0 -1
- package/esm/funcs/get-v1-organizations.d.ts +0 -14
- package/esm/funcs/get-v1-organizations.d.ts.map +0 -1
- package/esm/funcs/get-v1-organizations.js +0 -66
- package/esm/funcs/get-v1-organizations.js.map +0 -1
- package/esm/funcs/get-v1-pricing.d.ts +0 -14
- package/esm/funcs/get-v1-pricing.d.ts.map +0 -1
- package/esm/funcs/get-v1-pricing.js +0 -66
- package/esm/funcs/get-v1-pricing.js.map +0 -1
- package/esm/funcs/post-v1-organizations-by-id-credits.d.ts +0 -14
- package/esm/funcs/post-v1-organizations-by-id-credits.d.ts.map +0 -1
- package/esm/funcs/post-v1-organizations-by-id-credits.js +0 -83
- package/esm/funcs/post-v1-organizations-by-id-credits.js.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-certificates.d.ts +0 -18
- package/esm/funcs/post-v1-search-infrastructure-certificates.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-certificates.js +0 -85
- package/esm/funcs/post-v1-search-infrastructure-certificates.js.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-dns.d.ts +0 -18
- package/esm/funcs/post-v1-search-infrastructure-dns.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-dns.js +0 -84
- package/esm/funcs/post-v1-search-infrastructure-dns.js.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-ipinfo.d.ts +0 -18
- package/esm/funcs/post-v1-search-infrastructure-ipinfo.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-ipinfo.js +0 -84
- package/esm/funcs/post-v1-search-infrastructure-ipinfo.js.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-portscan.d.ts +0 -144
- package/esm/funcs/post-v1-search-infrastructure-portscan.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-portscan.js +0 -213
- package/esm/funcs/post-v1-search-infrastructure-portscan.js.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-shodan.d.ts +0 -18
- package/esm/funcs/post-v1-search-infrastructure-shodan.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-shodan.js +0 -84
- package/esm/funcs/post-v1-search-infrastructure-shodan.js.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-whois.d.ts +0 -18
- package/esm/funcs/post-v1-search-infrastructure-whois.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-infrastructure-whois.js +0 -84
- package/esm/funcs/post-v1-search-infrastructure-whois.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-address.d.ts +0 -15
- package/esm/funcs/post-v1-search-intelligence-address.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-address.js +0 -81
- package/esm/funcs/post-v1-search-intelligence-address.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-email.d.ts +0 -18
- package/esm/funcs/post-v1-search-intelligence-email.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-email.js +0 -84
- package/esm/funcs/post-v1-search-intelligence-email.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-facial.d.ts +0 -37
- package/esm/funcs/post-v1-search-intelligence-facial.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-facial.js +0 -106
- package/esm/funcs/post-v1-search-intelligence-facial.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-geolocation.d.ts +0 -29
- package/esm/funcs/post-v1-search-intelligence-geolocation.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-geolocation.js +0 -106
- package/esm/funcs/post-v1-search-intelligence-geolocation.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-gmail.d.ts +0 -18
- package/esm/funcs/post-v1-search-intelligence-gmail.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-gmail.js +0 -84
- package/esm/funcs/post-v1-search-intelligence-gmail.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-hudsonrock.d.ts +0 -18
- package/esm/funcs/post-v1-search-intelligence-hudsonrock.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-hudsonrock.js +0 -85
- package/esm/funcs/post-v1-search-intelligence-hudsonrock.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-person.d.ts +0 -18
- package/esm/funcs/post-v1-search-intelligence-person.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-person.js +0 -84
- package/esm/funcs/post-v1-search-intelligence-person.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-phone.d.ts +0 -18
- package/esm/funcs/post-v1-search-intelligence-phone.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-phone.js +0 -84
- package/esm/funcs/post-v1-search-intelligence-phone.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-seon.d.ts +0 -18
- package/esm/funcs/post-v1-search-intelligence-seon.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-seon.js +0 -84
- package/esm/funcs/post-v1-search-intelligence-seon.js.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-web-dbs.d.ts +0 -18
- package/esm/funcs/post-v1-search-intelligence-web-dbs.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-intelligence-web-dbs.js +0 -84
- package/esm/funcs/post-v1-search-intelligence-web-dbs.js.map +0 -1
- package/esm/funcs/post-v1-search-socials-discord.d.ts +0 -18
- package/esm/funcs/post-v1-search-socials-discord.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-socials-discord.js +0 -84
- package/esm/funcs/post-v1-search-socials-discord.js.map +0 -1
- package/esm/funcs/post-v1-search-socials-github.d.ts +0 -18
- package/esm/funcs/post-v1-search-socials-github.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-socials-github.js +0 -84
- package/esm/funcs/post-v1-search-socials-github.js.map +0 -1
- package/esm/funcs/post-v1-search-socials-roblox.d.ts +0 -18
- package/esm/funcs/post-v1-search-socials-roblox.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-socials-roblox.js +0 -84
- package/esm/funcs/post-v1-search-socials-roblox.js.map +0 -1
- package/esm/funcs/post-v1-search-socials-tiktok.d.ts +0 -18
- package/esm/funcs/post-v1-search-socials-tiktok.d.ts.map +0 -1
- package/esm/funcs/post-v1-search-socials-tiktok.js +0 -84
- package/esm/funcs/post-v1-search-socials-tiktok.js.map +0 -1
- package/esm/funcs/post-v1-tools-doogle.d.ts +0 -18
- package/esm/funcs/post-v1-tools-doogle.d.ts.map +0 -1
- package/esm/funcs/post-v1-tools-doogle.js +0 -84
- package/esm/funcs/post-v1-tools-doogle.js.map +0 -1
- package/esm/funcs/post-v1-tools-doublecounter.d.ts +0 -18
- package/esm/funcs/post-v1-tools-doublecounter.d.ts.map +0 -1
- package/esm/funcs/post-v1-tools-doublecounter.js +0 -84
- package/esm/funcs/post-v1-tools-doublecounter.js.map +0 -1
- package/esm/funcs/post-v1-tools-intelx.d.ts +0 -18
- package/esm/funcs/post-v1-tools-intelx.d.ts.map +0 -1
- package/esm/funcs/post-v1-tools-intelx.js +0 -84
- package/esm/funcs/post-v1-tools-intelx.js.map +0 -1
- package/esm/funcs/post-v2-search-socials-username.d.ts +0 -18
- package/esm/funcs/post-v2-search-socials-username.d.ts.map +0 -1
- package/esm/funcs/post-v2-search-socials-username.js +0 -84
- package/esm/funcs/post-v2-search-socials-username.js.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-certificates.d.ts +0 -29
- package/esm/models/errors/post-v1-search-infrastructure-certificates.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-certificates.js +0 -46
- package/esm/models/errors/post-v1-search-infrastructure-certificates.js.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-dns.d.ts +0 -26
- package/esm/models/errors/post-v1-search-infrastructure-dns.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-dns.js +0 -42
- package/esm/models/errors/post-v1-search-infrastructure-dns.js.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-ipinfo.d.ts +0 -26
- package/esm/models/errors/post-v1-search-infrastructure-ipinfo.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-ipinfo.js +0 -41
- package/esm/models/errors/post-v1-search-infrastructure-ipinfo.js.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-portscan.d.ts +0 -72
- package/esm/models/errors/post-v1-search-infrastructure-portscan.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-portscan.js +0 -110
- package/esm/models/errors/post-v1-search-infrastructure-portscan.js.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-shodan.d.ts +0 -26
- package/esm/models/errors/post-v1-search-infrastructure-shodan.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-shodan.js +0 -41
- package/esm/models/errors/post-v1-search-infrastructure-shodan.js.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-whois.d.ts +0 -26
- package/esm/models/errors/post-v1-search-infrastructure-whois.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-infrastructure-whois.js +0 -42
- package/esm/models/errors/post-v1-search-infrastructure-whois.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-address.d.ts +0 -26
- package/esm/models/errors/post-v1-search-intelligence-address.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-address.js +0 -42
- package/esm/models/errors/post-v1-search-intelligence-address.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-email.d.ts +0 -26
- package/esm/models/errors/post-v1-search-intelligence-email.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-email.js +0 -42
- package/esm/models/errors/post-v1-search-intelligence-email.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-facial.d.ts +0 -72
- package/esm/models/errors/post-v1-search-intelligence-facial.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-facial.js +0 -112
- package/esm/models/errors/post-v1-search-intelligence-facial.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-geolocation.d.ts +0 -72
- package/esm/models/errors/post-v1-search-intelligence-geolocation.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-geolocation.js +0 -110
- package/esm/models/errors/post-v1-search-intelligence-geolocation.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-gmail.d.ts +0 -26
- package/esm/models/errors/post-v1-search-intelligence-gmail.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-gmail.js +0 -42
- package/esm/models/errors/post-v1-search-intelligence-gmail.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-hudsonrock.d.ts +0 -26
- package/esm/models/errors/post-v1-search-intelligence-hudsonrock.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-hudsonrock.js +0 -41
- package/esm/models/errors/post-v1-search-intelligence-hudsonrock.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-person.d.ts +0 -26
- package/esm/models/errors/post-v1-search-intelligence-person.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-person.js +0 -42
- package/esm/models/errors/post-v1-search-intelligence-person.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-phone.d.ts +0 -26
- package/esm/models/errors/post-v1-search-intelligence-phone.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-phone.js +0 -42
- package/esm/models/errors/post-v1-search-intelligence-phone.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-seon.d.ts +0 -26
- package/esm/models/errors/post-v1-search-intelligence-seon.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-seon.js +0 -42
- package/esm/models/errors/post-v1-search-intelligence-seon.js.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-web-dbs.d.ts +0 -49
- package/esm/models/errors/post-v1-search-intelligence-web-dbs.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-intelligence-web-dbs.js +0 -77
- package/esm/models/errors/post-v1-search-intelligence-web-dbs.js.map +0 -1
- package/esm/models/errors/post-v1-search-socials-discord.d.ts +0 -26
- package/esm/models/errors/post-v1-search-socials-discord.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-socials-discord.js +0 -42
- package/esm/models/errors/post-v1-search-socials-discord.js.map +0 -1
- package/esm/models/errors/post-v1-search-socials-github.d.ts +0 -26
- package/esm/models/errors/post-v1-search-socials-github.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-socials-github.js +0 -41
- package/esm/models/errors/post-v1-search-socials-github.js.map +0 -1
- package/esm/models/errors/post-v1-search-socials-roblox.d.ts +0 -26
- package/esm/models/errors/post-v1-search-socials-roblox.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-socials-roblox.js +0 -41
- package/esm/models/errors/post-v1-search-socials-roblox.js.map +0 -1
- package/esm/models/errors/post-v1-search-socials-tiktok.d.ts +0 -26
- package/esm/models/errors/post-v1-search-socials-tiktok.d.ts.map +0 -1
- package/esm/models/errors/post-v1-search-socials-tiktok.js +0 -41
- package/esm/models/errors/post-v1-search-socials-tiktok.js.map +0 -1
- package/esm/models/errors/post-v1-tools-doogle.d.ts +0 -29
- package/esm/models/errors/post-v1-tools-doogle.d.ts.map +0 -1
- package/esm/models/errors/post-v1-tools-doogle.js +0 -46
- package/esm/models/errors/post-v1-tools-doogle.js.map +0 -1
- package/esm/models/errors/post-v1-tools-doublecounter.d.ts +0 -26
- package/esm/models/errors/post-v1-tools-doublecounter.d.ts.map +0 -1
- package/esm/models/errors/post-v1-tools-doublecounter.js +0 -41
- package/esm/models/errors/post-v1-tools-doublecounter.js.map +0 -1
- package/esm/models/errors/post-v1-tools-intelx.d.ts +0 -49
- package/esm/models/errors/post-v1-tools-intelx.d.ts.map +0 -1
- package/esm/models/errors/post-v1-tools-intelx.js +0 -75
- package/esm/models/errors/post-v1-tools-intelx.js.map +0 -1
- package/esm/models/errors/post-v2-search-socials-username.d.ts +0 -26
- package/esm/models/errors/post-v2-search-socials-username.d.ts.map +0 -1
- package/esm/models/errors/post-v2-search-socials-username.js +0 -42
- package/esm/models/errors/post-v2-search-socials-username.js.map +0 -1
- package/esm/models/operations/delete-v1-activity-by-id.d.ts +0 -15
- package/esm/models/operations/delete-v1-activity-by-id.d.ts.map +0 -1
- package/esm/models/operations/delete-v1-activity-by-id.js +0 -12
- package/esm/models/operations/delete-v1-activity-by-id.js.map +0 -1
- package/esm/models/operations/get-v1-activity-by-id.d.ts +0 -105
- package/esm/models/operations/get-v1-activity-by-id.d.ts.map +0 -1
- package/esm/models/operations/get-v1-activity-by-id.js +0 -107
- package/esm/models/operations/get-v1-activity-by-id.js.map +0 -1
- package/esm/models/operations/get-v1-activity.d.ts +0 -104
- package/esm/models/operations/get-v1-activity.d.ts.map +0 -1
- package/esm/models/operations/get-v1-activity.js +0 -108
- package/esm/models/operations/get-v1-activity.js.map +0 -1
- package/esm/models/operations/get-v1-info.d.ts +0 -136
- package/esm/models/operations/get-v1-info.d.ts.map +0 -1
- package/esm/models/operations/get-v1-info.js +0 -119
- package/esm/models/operations/get-v1-info.js.map +0 -1
- package/esm/models/operations/get-v1-organizations-by-id-audit-log.d.ts +0 -43
- package/esm/models/operations/get-v1-organizations-by-id-audit-log.d.ts.map +0 -1
- package/esm/models/operations/get-v1-organizations-by-id-audit-log.js +0 -35
- package/esm/models/operations/get-v1-organizations-by-id-audit-log.js.map +0 -1
- package/esm/models/operations/get-v1-organizations-by-id-cases.d.ts +0 -38
- package/esm/models/operations/get-v1-organizations-by-id-cases.d.ts.map +0 -1
- package/esm/models/operations/get-v1-organizations-by-id-cases.js +0 -34
- package/esm/models/operations/get-v1-organizations-by-id-cases.js.map +0 -1
- package/esm/models/operations/get-v1-organizations-by-id-members.d.ts +0 -39
- package/esm/models/operations/get-v1-organizations-by-id-members.d.ts.map +0 -1
- package/esm/models/operations/get-v1-organizations-by-id-members.js +0 -35
- package/esm/models/operations/get-v1-organizations-by-id-members.js.map +0 -1
- package/esm/models/operations/get-v1-organizations-by-id.d.ts +0 -41
- package/esm/models/operations/get-v1-organizations-by-id.d.ts.map +0 -1
- package/esm/models/operations/get-v1-organizations-by-id.js +0 -37
- package/esm/models/operations/get-v1-organizations-by-id.js.map +0 -1
- package/esm/models/operations/get-v1-organizations.d.ts +0 -31
- package/esm/models/operations/get-v1-organizations.d.ts.map +0 -1
- package/esm/models/operations/get-v1-organizations.js +0 -30
- package/esm/models/operations/get-v1-organizations.js.map +0 -1
- package/esm/models/operations/get-v1-pricing.d.ts +0 -17
- package/esm/models/operations/get-v1-pricing.d.ts.map +0 -1
- package/esm/models/operations/get-v1-pricing.js +0 -16
- package/esm/models/operations/get-v1-pricing.js.map +0 -1
- package/esm/models/operations/post-v1-organizations-by-id-credits.d.ts +0 -39
- package/esm/models/operations/post-v1-organizations-by-id-credits.d.ts.map +0 -1
- package/esm/models/operations/post-v1-organizations-by-id-credits.js +0 -32
- package/esm/models/operations/post-v1-organizations-by-id-credits.js.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-certificates.d.ts +0 -53
- package/esm/models/operations/post-v1-search-infrastructure-certificates.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-certificates.js +0 -78
- package/esm/models/operations/post-v1-search-infrastructure-certificates.js.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-dns.d.ts +0 -194
- package/esm/models/operations/post-v1-search-infrastructure-dns.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-dns.js +0 -268
- package/esm/models/operations/post-v1-search-infrastructure-dns.js.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-ipinfo.d.ts +0 -58
- package/esm/models/operations/post-v1-search-infrastructure-ipinfo.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-ipinfo.js +0 -57
- package/esm/models/operations/post-v1-search-infrastructure-ipinfo.js.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-portscan.d.ts +0 -28
- package/esm/models/operations/post-v1-search-infrastructure-portscan.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-portscan.js +0 -22
- package/esm/models/operations/post-v1-search-infrastructure-portscan.js.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-shodan.d.ts +0 -215
- package/esm/models/operations/post-v1-search-infrastructure-shodan.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-shodan.js +0 -271
- package/esm/models/operations/post-v1-search-infrastructure-shodan.js.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-whois.d.ts +0 -97
- package/esm/models/operations/post-v1-search-infrastructure-whois.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-infrastructure-whois.js +0 -123
- package/esm/models/operations/post-v1-search-infrastructure-whois.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-address.d.ts +0 -77
- package/esm/models/operations/post-v1-search-intelligence-address.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-address.js +0 -82
- package/esm/models/operations/post-v1-search-intelligence-address.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-email.d.ts +0 -39
- package/esm/models/operations/post-v1-search-intelligence-email.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-email.js +0 -38
- package/esm/models/operations/post-v1-search-intelligence-email.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-facial.d.ts +0 -12
- package/esm/models/operations/post-v1-search-intelligence-facial.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-facial.js +0 -12
- package/esm/models/operations/post-v1-search-intelligence-facial.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-geolocation.d.ts +0 -24
- package/esm/models/operations/post-v1-search-intelligence-geolocation.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-geolocation.js +0 -20
- package/esm/models/operations/post-v1-search-intelligence-geolocation.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-gmail.d.ts +0 -196
- package/esm/models/operations/post-v1-search-intelligence-gmail.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-gmail.js +0 -214
- package/esm/models/operations/post-v1-search-intelligence-gmail.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-hudsonrock.d.ts +0 -265
- package/esm/models/operations/post-v1-search-intelligence-hudsonrock.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-hudsonrock.js +0 -355
- package/esm/models/operations/post-v1-search-intelligence-hudsonrock.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-person.d.ts +0 -74
- package/esm/models/operations/post-v1-search-intelligence-person.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-person.js +0 -81
- package/esm/models/operations/post-v1-search-intelligence-person.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-phone.d.ts +0 -111
- package/esm/models/operations/post-v1-search-intelligence-phone.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-phone.js +0 -154
- package/esm/models/operations/post-v1-search-intelligence-phone.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-seon.d.ts +0 -413
- package/esm/models/operations/post-v1-search-intelligence-seon.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-seon.js +0 -598
- package/esm/models/operations/post-v1-search-intelligence-seon.js.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-web-dbs.d.ts +0 -581
- package/esm/models/operations/post-v1-search-intelligence-web-dbs.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-intelligence-web-dbs.js +0 -736
- package/esm/models/operations/post-v1-search-intelligence-web-dbs.js.map +0 -1
- package/esm/models/operations/post-v1-search-socials-discord.d.ts +0 -243
- package/esm/models/operations/post-v1-search-socials-discord.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-socials-discord.js +0 -264
- package/esm/models/operations/post-v1-search-socials-discord.js.map +0 -1
- package/esm/models/operations/post-v1-search-socials-github.d.ts +0 -48
- package/esm/models/operations/post-v1-search-socials-github.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-socials-github.js +0 -52
- package/esm/models/operations/post-v1-search-socials-github.js.map +0 -1
- package/esm/models/operations/post-v1-search-socials-roblox.d.ts +0 -119
- package/esm/models/operations/post-v1-search-socials-roblox.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-socials-roblox.js +0 -118
- package/esm/models/operations/post-v1-search-socials-roblox.js.map +0 -1
- package/esm/models/operations/post-v1-search-socials-tiktok.d.ts +0 -389
- package/esm/models/operations/post-v1-search-socials-tiktok.d.ts.map +0 -1
- package/esm/models/operations/post-v1-search-socials-tiktok.js +0 -617
- package/esm/models/operations/post-v1-search-socials-tiktok.js.map +0 -1
- package/esm/models/operations/post-v1-tools-doogle.d.ts +0 -97
- package/esm/models/operations/post-v1-tools-doogle.d.ts.map +0 -1
- package/esm/models/operations/post-v1-tools-doogle.js +0 -103
- package/esm/models/operations/post-v1-tools-doogle.js.map +0 -1
- package/esm/models/operations/post-v1-tools-doublecounter.d.ts +0 -24
- package/esm/models/operations/post-v1-tools-doublecounter.d.ts.map +0 -1
- package/esm/models/operations/post-v1-tools-doublecounter.js +0 -22
- package/esm/models/operations/post-v1-tools-doublecounter.js.map +0 -1
- package/esm/models/operations/post-v1-tools-intelx.d.ts +0 -88
- package/esm/models/operations/post-v1-tools-intelx.d.ts.map +0 -1
- package/esm/models/operations/post-v1-tools-intelx.js +0 -82
- package/esm/models/operations/post-v1-tools-intelx.js.map +0 -1
- package/esm/models/operations/post-v2-search-socials-username.d.ts +0 -282
- package/esm/models/operations/post-v2-search-socials-username.d.ts.map +0 -1
- package/esm/models/operations/post-v2-search-socials-username.js +0 -416
- package/esm/models/operations/post-v2-search-socials-username.js.map +0 -1
- package/examples/getV1Info.example.ts +0 -26
- package/src/funcs/delete-v1-activity-by-id.ts +0 -166
- package/src/funcs/get-v1-activity-by-id.ts +0 -166
- package/src/funcs/get-v1-activity.ts +0 -169
- package/src/funcs/get-v1-info.ts +0 -141
- package/src/funcs/get-v1-organizations-by-id-audit-log.ts +0 -178
- package/src/funcs/get-v1-organizations-by-id-cases.ts +0 -169
- package/src/funcs/get-v1-organizations-by-id-members.ts +0 -169
- package/src/funcs/get-v1-organizations-by-id.ts +0 -166
- package/src/funcs/get-v1-organizations.ts +0 -141
- package/src/funcs/get-v1-pricing.ts +0 -141
- package/src/funcs/post-v1-organizations-by-id-credits.ts +0 -173
- package/src/funcs/post-v1-search-infrastructure-certificates.ts +0 -183
- package/src/funcs/post-v1-search-infrastructure-dns.ts +0 -179
- package/src/funcs/post-v1-search-infrastructure-ipinfo.ts +0 -182
- package/src/funcs/post-v1-search-infrastructure-portscan.ts +0 -322
- package/src/funcs/post-v1-search-infrastructure-shodan.ts +0 -182
- package/src/funcs/post-v1-search-infrastructure-whois.ts +0 -182
- package/src/funcs/post-v1-search-intelligence-address.ts +0 -179
- package/src/funcs/post-v1-search-intelligence-email.ts +0 -179
- package/src/funcs/post-v1-search-intelligence-facial.ts +0 -216
- package/src/funcs/post-v1-search-intelligence-geolocation.ts +0 -216
- package/src/funcs/post-v1-search-intelligence-gmail.ts +0 -179
- package/src/funcs/post-v1-search-intelligence-hudsonrock.ts +0 -183
- package/src/funcs/post-v1-search-intelligence-person.ts +0 -182
- package/src/funcs/post-v1-search-intelligence-phone.ts +0 -179
- package/src/funcs/post-v1-search-intelligence-seon.ts +0 -179
- package/src/funcs/post-v1-search-intelligence-web-dbs.ts +0 -189
- package/src/funcs/post-v1-search-socials-discord.ts +0 -179
- package/src/funcs/post-v1-search-socials-github.ts +0 -179
- package/src/funcs/post-v1-search-socials-roblox.ts +0 -179
- package/src/funcs/post-v1-search-socials-tiktok.ts +0 -179
- package/src/funcs/post-v1-tools-doogle.ts +0 -173
- package/src/funcs/post-v1-tools-doublecounter.ts +0 -176
- package/src/funcs/post-v1-tools-intelx.ts +0 -177
- package/src/funcs/post-v2-search-socials-username.ts +0 -179
- package/src/models/errors/post-v1-search-infrastructure-certificates.ts +0 -79
- package/src/models/errors/post-v1-search-infrastructure-dns.ts +0 -63
- package/src/models/errors/post-v1-search-infrastructure-ipinfo.ts +0 -63
- package/src/models/errors/post-v1-search-infrastructure-portscan.ts +0 -179
- package/src/models/errors/post-v1-search-infrastructure-shodan.ts +0 -63
- package/src/models/errors/post-v1-search-infrastructure-whois.ts +0 -63
- package/src/models/errors/post-v1-search-intelligence-address.ts +0 -63
- package/src/models/errors/post-v1-search-intelligence-email.ts +0 -63
- package/src/models/errors/post-v1-search-intelligence-facial.ts +0 -175
- package/src/models/errors/post-v1-search-intelligence-geolocation.ts +0 -179
- package/src/models/errors/post-v1-search-intelligence-gmail.ts +0 -63
- package/src/models/errors/post-v1-search-intelligence-hudsonrock.ts +0 -65
- package/src/models/errors/post-v1-search-intelligence-person.ts +0 -63
- package/src/models/errors/post-v1-search-intelligence-phone.ts +0 -63
- package/src/models/errors/post-v1-search-intelligence-seon.ts +0 -63
- package/src/models/errors/post-v1-search-intelligence-web-dbs.ts +0 -119
- package/src/models/errors/post-v1-search-socials-discord.ts +0 -63
- package/src/models/errors/post-v1-search-socials-github.ts +0 -60
- package/src/models/errors/post-v1-search-socials-roblox.ts +0 -60
- package/src/models/errors/post-v1-search-socials-tiktok.ts +0 -60
- package/src/models/errors/post-v1-tools-doogle.ts +0 -71
- package/src/models/errors/post-v1-tools-doublecounter.ts +0 -60
- package/src/models/errors/post-v1-tools-intelx.ts +0 -117
- package/src/models/errors/post-v2-search-socials-username.ts +0 -63
- package/src/models/operations/delete-v1-activity-by-id.ts +0 -35
- package/src/models/operations/get-v1-activity-by-id.ts +0 -218
- package/src/models/operations/get-v1-activity.ts +0 -218
- package/src/models/operations/get-v1-info.ts +0 -230
- package/src/models/operations/get-v1-organizations-by-id-audit-log.ts +0 -99
- package/src/models/operations/get-v1-organizations-by-id-cases.ts +0 -96
- package/src/models/operations/get-v1-organizations-by-id-members.ts +0 -98
- package/src/models/operations/get-v1-organizations-by-id.ts +0 -105
- package/src/models/operations/get-v1-organizations.ts +0 -79
- package/src/models/operations/get-v1-pricing.ts +0 -38
- package/src/models/operations/post-v1-organizations-by-id-credits.ts +0 -102
- package/src/models/operations/post-v1-search-infrastructure-certificates.ts +0 -189
- package/src/models/operations/post-v1-search-infrastructure-dns.ts +0 -609
- package/src/models/operations/post-v1-search-infrastructure-ipinfo.ts +0 -147
- package/src/models/operations/post-v1-search-infrastructure-portscan.ts +0 -62
- package/src/models/operations/post-v1-search-infrastructure-shodan.ts +0 -647
- package/src/models/operations/post-v1-search-infrastructure-whois.ts +0 -313
- package/src/models/operations/post-v1-search-intelligence-address.ts +0 -217
- package/src/models/operations/post-v1-search-intelligence-email.ts +0 -104
- package/src/models/operations/post-v1-search-intelligence-facial.ts +0 -33
- package/src/models/operations/post-v1-search-intelligence-geolocation.ts +0 -50
- package/src/models/operations/post-v1-search-intelligence-gmail.ts +0 -565
- package/src/models/operations/post-v1-search-intelligence-hudsonrock.ts +0 -882
- package/src/models/operations/post-v1-search-intelligence-person.ts +0 -206
- package/src/models/operations/post-v1-search-intelligence-phone.ts +0 -366
- package/src/models/operations/post-v1-search-intelligence-seon.ts +0 -1384
- package/src/models/operations/post-v1-search-intelligence-web-dbs.ts +0 -1652
- package/src/models/operations/post-v1-search-socials-discord.ts +0 -678
- package/src/models/operations/post-v1-search-socials-github.ts +0 -127
- package/src/models/operations/post-v1-search-socials-roblox.ts +0 -312
- package/src/models/operations/post-v1-search-socials-tiktok.ts +0 -1449
- package/src/models/operations/post-v1-tools-doogle.ts +0 -282
- package/src/models/operations/post-v1-tools-doublecounter.ts +0 -63
- package/src/models/operations/post-v1-tools-intelx.ts +0 -157
- package/src/models/operations/post-v2-search-socials-username.ts +0 -870
|
@@ -0,0 +1,948 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
collectExtraKeys as collectExtraKeys$,
|
|
9
|
+
safeParse,
|
|
10
|
+
} from "../../lib/schemas.js";
|
|
11
|
+
import * as openEnums from "../../types/enums.js";
|
|
12
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
13
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
14
|
+
import * as types from "../../types/primitives.js";
|
|
15
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
16
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
17
|
+
|
|
18
|
+
export const Service = {
|
|
19
|
+
Cloudsint: "cloudsint",
|
|
20
|
+
IntelligencexIdentityportal: "intelligencex.identityportal",
|
|
21
|
+
Leakcheck: "leakcheck",
|
|
22
|
+
Snusbase: "snusbase",
|
|
23
|
+
} as const;
|
|
24
|
+
export type Service = ClosedEnum<typeof Service>;
|
|
25
|
+
|
|
26
|
+
export const CloudsintType = {
|
|
27
|
+
Discordid: "discordid",
|
|
28
|
+
Email: "email",
|
|
29
|
+
Ip: "ip",
|
|
30
|
+
Name: "name",
|
|
31
|
+
Password: "password",
|
|
32
|
+
Phone: "phone",
|
|
33
|
+
Steamid: "steamid",
|
|
34
|
+
Url: "url",
|
|
35
|
+
Username: "username",
|
|
36
|
+
} as const;
|
|
37
|
+
export type CloudsintType = ClosedEnum<typeof CloudsintType>;
|
|
38
|
+
|
|
39
|
+
export const IntelxType = {
|
|
40
|
+
Domain: "domain",
|
|
41
|
+
Email: "email",
|
|
42
|
+
Ip: "ip",
|
|
43
|
+
Phone: "phone",
|
|
44
|
+
Url: "url",
|
|
45
|
+
} as const;
|
|
46
|
+
export type IntelxType = ClosedEnum<typeof IntelxType>;
|
|
47
|
+
|
|
48
|
+
export const LeakCheckType = {
|
|
49
|
+
Auto: "auto",
|
|
50
|
+
Domain: "domain",
|
|
51
|
+
Email: "email",
|
|
52
|
+
Hash: "hash",
|
|
53
|
+
Keyword: "keyword",
|
|
54
|
+
Origin: "origin",
|
|
55
|
+
Password: "password",
|
|
56
|
+
Phash: "phash",
|
|
57
|
+
Phone: "phone",
|
|
58
|
+
Username: "username",
|
|
59
|
+
} as const;
|
|
60
|
+
export type LeakCheckType = ClosedEnum<typeof LeakCheckType>;
|
|
61
|
+
|
|
62
|
+
export const SnusbaseType = {
|
|
63
|
+
Domain: "_domain",
|
|
64
|
+
Email: "email",
|
|
65
|
+
Hash: "hash",
|
|
66
|
+
Lastip: "lastip",
|
|
67
|
+
Name: "name",
|
|
68
|
+
Password: "password",
|
|
69
|
+
Phone: "phone",
|
|
70
|
+
Username: "username",
|
|
71
|
+
Wildcard: "wildcard",
|
|
72
|
+
} as const;
|
|
73
|
+
export type SnusbaseType = ClosedEnum<typeof SnusbaseType>;
|
|
74
|
+
|
|
75
|
+
export type SearchWebDatabasesRequest = {
|
|
76
|
+
query: string;
|
|
77
|
+
services: Array<Service>;
|
|
78
|
+
cloudsintType?: CloudsintType | undefined;
|
|
79
|
+
intelxType?: IntelxType | undefined;
|
|
80
|
+
leakCheckType?: LeakCheckType | undefined;
|
|
81
|
+
snusbaseType?: SnusbaseType | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type Breachvip = {
|
|
85
|
+
source: string;
|
|
86
|
+
breachDate?: string | undefined;
|
|
87
|
+
categories?: Array<string> | undefined;
|
|
88
|
+
domain?: string | undefined;
|
|
89
|
+
email?: string | undefined;
|
|
90
|
+
password?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
export type SearchWebDatabasesBreach = {
|
|
94
|
+
id: string;
|
|
95
|
+
email?: string | undefined;
|
|
96
|
+
importedAt?: string | undefined;
|
|
97
|
+
password?: string | undefined;
|
|
98
|
+
source?: string | undefined;
|
|
99
|
+
sourceDate?: string | undefined;
|
|
100
|
+
sourceName?: string | undefined;
|
|
101
|
+
username?: string | undefined;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export type CloudsintData = {
|
|
105
|
+
breaches: Array<SearchWebDatabasesBreach>;
|
|
106
|
+
query: string;
|
|
107
|
+
totalMatches: number;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export type Cloudsint = {
|
|
111
|
+
data: CloudsintData;
|
|
112
|
+
duration: number;
|
|
113
|
+
success: boolean;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export type ResultsSource = {
|
|
117
|
+
date?: string | undefined;
|
|
118
|
+
name?: string | undefined;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export type ResultsResult = {
|
|
122
|
+
id: string;
|
|
123
|
+
source: ResultsSource;
|
|
124
|
+
email?: string | undefined;
|
|
125
|
+
fullName?: string | undefined;
|
|
126
|
+
hash?: string | undefined;
|
|
127
|
+
ipAddress?: string | undefined;
|
|
128
|
+
otherFields?: { [k: string]: string } | undefined;
|
|
129
|
+
password?: string | undefined;
|
|
130
|
+
phoneNumber?: string | undefined;
|
|
131
|
+
sensitiveFields?: { [k: string]: string } | undefined;
|
|
132
|
+
username?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
export type Results = {
|
|
136
|
+
databases: number;
|
|
137
|
+
firstSeen: string;
|
|
138
|
+
found: number;
|
|
139
|
+
lastSeen: string;
|
|
140
|
+
results?: Array<ResultsResult> | undefined;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
export type Hackcheck = {
|
|
144
|
+
results?: Results | undefined;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
export type ItemTag = {
|
|
148
|
+
class: number;
|
|
149
|
+
value: string;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export type ItemType = number | string;
|
|
153
|
+
|
|
154
|
+
export type Item = {
|
|
155
|
+
accesslevel?: number | undefined;
|
|
156
|
+
added?: string | undefined;
|
|
157
|
+
bucket?: string | undefined;
|
|
158
|
+
date?: string | undefined;
|
|
159
|
+
description?: string | undefined;
|
|
160
|
+
instore?: boolean | undefined;
|
|
161
|
+
keyvalues?: any | undefined;
|
|
162
|
+
media?: number | undefined;
|
|
163
|
+
name?: string | undefined;
|
|
164
|
+
owner?: string | undefined;
|
|
165
|
+
relations?: any | undefined;
|
|
166
|
+
simhash?: number | undefined;
|
|
167
|
+
size?: number | undefined;
|
|
168
|
+
storageid?: string | undefined;
|
|
169
|
+
systemid?: string | undefined;
|
|
170
|
+
tags?: Array<ItemTag> | undefined;
|
|
171
|
+
type?: number | string | undefined;
|
|
172
|
+
xscore?: number | undefined;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
export type Tag = {
|
|
176
|
+
class: number;
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
export type SearchWebDatabasesType = number | string;
|
|
181
|
+
|
|
182
|
+
export type Identityportal = {
|
|
183
|
+
accesslevel?: number | undefined;
|
|
184
|
+
added?: string | undefined;
|
|
185
|
+
bucket?: string | undefined;
|
|
186
|
+
date?: string | undefined;
|
|
187
|
+
description?: string | undefined;
|
|
188
|
+
instore?: boolean | undefined;
|
|
189
|
+
item?: Item | undefined;
|
|
190
|
+
keyvalues?: any | undefined;
|
|
191
|
+
line?: string | undefined;
|
|
192
|
+
linea?: string | undefined;
|
|
193
|
+
lineraw?: string | undefined;
|
|
194
|
+
linesafterraw?: string | null | undefined;
|
|
195
|
+
linesbeforeraw?: string | null | undefined;
|
|
196
|
+
media?: number | undefined;
|
|
197
|
+
name?: string | undefined;
|
|
198
|
+
owner?: string | undefined;
|
|
199
|
+
positionabsolute?: number | undefined;
|
|
200
|
+
positionline?: number | undefined;
|
|
201
|
+
positionsize?: number | undefined;
|
|
202
|
+
relations?: any | undefined;
|
|
203
|
+
simhash?: number | undefined;
|
|
204
|
+
size?: number | undefined;
|
|
205
|
+
storageid?: string | undefined;
|
|
206
|
+
systemid?: string | undefined;
|
|
207
|
+
tags?: Array<Tag> | undefined;
|
|
208
|
+
type?: number | string | undefined;
|
|
209
|
+
xscore?: number | undefined;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
export type Intelligencex = {
|
|
213
|
+
identityportal?: Array<Identityportal> | undefined;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
export const Compilation = {
|
|
217
|
+
Zero: "0",
|
|
218
|
+
One: "1",
|
|
219
|
+
} as const;
|
|
220
|
+
export type Compilation = OpenEnum<typeof Compilation>;
|
|
221
|
+
|
|
222
|
+
export const Passwordless = {
|
|
223
|
+
Zero: "0",
|
|
224
|
+
One: "1",
|
|
225
|
+
} as const;
|
|
226
|
+
export type Passwordless = OpenEnum<typeof Passwordless>;
|
|
227
|
+
|
|
228
|
+
export const Unverified = {
|
|
229
|
+
Zero: "0",
|
|
230
|
+
One: "1",
|
|
231
|
+
} as const;
|
|
232
|
+
export type Unverified = OpenEnum<typeof Unverified>;
|
|
233
|
+
|
|
234
|
+
export type LeakcheckSource = {
|
|
235
|
+
breachDate?: string | null | undefined;
|
|
236
|
+
compilation?: Compilation | undefined;
|
|
237
|
+
name?: string | undefined;
|
|
238
|
+
passwordless?: Passwordless | undefined;
|
|
239
|
+
unverified?: Unverified | undefined;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
export type LeakcheckResult = {
|
|
243
|
+
fields: Array<string>;
|
|
244
|
+
address?: string | undefined;
|
|
245
|
+
country?: string | undefined;
|
|
246
|
+
dob?: string | undefined;
|
|
247
|
+
email?: string | undefined;
|
|
248
|
+
firstName?: string | undefined;
|
|
249
|
+
lastName?: string | undefined;
|
|
250
|
+
name?: string | undefined;
|
|
251
|
+
password?: string | undefined;
|
|
252
|
+
phone?: string | undefined;
|
|
253
|
+
source?: LeakcheckSource | undefined;
|
|
254
|
+
state?: string | undefined;
|
|
255
|
+
zip?: string | undefined;
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
export type Leakcheck = {
|
|
259
|
+
found: number;
|
|
260
|
+
result: Array<LeakcheckResult>;
|
|
261
|
+
success: boolean;
|
|
262
|
+
error?: string | undefined;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
export type SnusbaseUnion = string | any;
|
|
266
|
+
|
|
267
|
+
export type Snusbase = {
|
|
268
|
+
address?: string | undefined;
|
|
269
|
+
birthdate?: string | undefined;
|
|
270
|
+
city?: string | undefined;
|
|
271
|
+
company?: string | undefined;
|
|
272
|
+
country?: string | undefined;
|
|
273
|
+
created?: string | undefined;
|
|
274
|
+
date?: string | undefined;
|
|
275
|
+
domain?: string | undefined;
|
|
276
|
+
email?: string | undefined;
|
|
277
|
+
followers?: string | undefined;
|
|
278
|
+
gender?: string | undefined;
|
|
279
|
+
hash?: string | undefined;
|
|
280
|
+
host?: string | undefined;
|
|
281
|
+
id?: string | undefined;
|
|
282
|
+
job?: string | undefined;
|
|
283
|
+
language?: string | undefined;
|
|
284
|
+
lastip?: string | undefined;
|
|
285
|
+
name?: string | undefined;
|
|
286
|
+
other?: string | undefined;
|
|
287
|
+
password?: string | undefined;
|
|
288
|
+
phone?: string | undefined;
|
|
289
|
+
regip?: string | undefined;
|
|
290
|
+
salt?: string | undefined;
|
|
291
|
+
state?: string | undefined;
|
|
292
|
+
uid?: string | undefined;
|
|
293
|
+
unparsed?: string | undefined;
|
|
294
|
+
updated?: string | undefined;
|
|
295
|
+
url?: string | undefined;
|
|
296
|
+
username?: string | undefined;
|
|
297
|
+
zip?: string | undefined;
|
|
298
|
+
additionalProperties?: { [k: string]: string | any } | undefined;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
export type SearchWebDatabasesData = {
|
|
302
|
+
breachvip?: Array<Breachvip> | undefined;
|
|
303
|
+
cloudsint?: Cloudsint | undefined;
|
|
304
|
+
hackcheck?: Hackcheck | undefined;
|
|
305
|
+
intelligencex?: Intelligencex | undefined;
|
|
306
|
+
leakcheck?: Leakcheck | undefined;
|
|
307
|
+
snusbase?: { [k: string]: Array<Snusbase> } | undefined;
|
|
308
|
+
snusbaseRateLimited?: boolean | undefined;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Search successful
|
|
313
|
+
*/
|
|
314
|
+
export type SearchWebDatabasesResponse = {
|
|
315
|
+
data: SearchWebDatabasesData;
|
|
316
|
+
success: boolean;
|
|
317
|
+
error?: string | undefined;
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
/** @internal */
|
|
321
|
+
export const Service$outboundSchema: z.ZodMiniEnum<typeof Service> = z.enum(
|
|
322
|
+
Service,
|
|
323
|
+
);
|
|
324
|
+
|
|
325
|
+
/** @internal */
|
|
326
|
+
export const CloudsintType$outboundSchema: z.ZodMiniEnum<typeof CloudsintType> =
|
|
327
|
+
z.enum(CloudsintType);
|
|
328
|
+
|
|
329
|
+
/** @internal */
|
|
330
|
+
export const IntelxType$outboundSchema: z.ZodMiniEnum<typeof IntelxType> = z
|
|
331
|
+
.enum(IntelxType);
|
|
332
|
+
|
|
333
|
+
/** @internal */
|
|
334
|
+
export const LeakCheckType$outboundSchema: z.ZodMiniEnum<typeof LeakCheckType> =
|
|
335
|
+
z.enum(LeakCheckType);
|
|
336
|
+
|
|
337
|
+
/** @internal */
|
|
338
|
+
export const SnusbaseType$outboundSchema: z.ZodMiniEnum<typeof SnusbaseType> = z
|
|
339
|
+
.enum(SnusbaseType);
|
|
340
|
+
|
|
341
|
+
/** @internal */
|
|
342
|
+
export type SearchWebDatabasesRequest$Outbound = {
|
|
343
|
+
query: string;
|
|
344
|
+
services: Array<string>;
|
|
345
|
+
cloudsintType?: string | undefined;
|
|
346
|
+
intelxType?: string | undefined;
|
|
347
|
+
leakCheckType?: string | undefined;
|
|
348
|
+
snusbaseType?: string | undefined;
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
/** @internal */
|
|
352
|
+
export const SearchWebDatabasesRequest$outboundSchema: z.ZodMiniType<
|
|
353
|
+
SearchWebDatabasesRequest$Outbound,
|
|
354
|
+
SearchWebDatabasesRequest
|
|
355
|
+
> = z.object({
|
|
356
|
+
query: z.string(),
|
|
357
|
+
services: z.array(Service$outboundSchema),
|
|
358
|
+
cloudsintType: z.optional(CloudsintType$outboundSchema),
|
|
359
|
+
intelxType: z.optional(IntelxType$outboundSchema),
|
|
360
|
+
leakCheckType: z.optional(LeakCheckType$outboundSchema),
|
|
361
|
+
snusbaseType: z.optional(SnusbaseType$outboundSchema),
|
|
362
|
+
});
|
|
363
|
+
|
|
364
|
+
export function searchWebDatabasesRequestToJSON(
|
|
365
|
+
searchWebDatabasesRequest: SearchWebDatabasesRequest,
|
|
366
|
+
): string {
|
|
367
|
+
return JSON.stringify(
|
|
368
|
+
SearchWebDatabasesRequest$outboundSchema.parse(searchWebDatabasesRequest),
|
|
369
|
+
);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/** @internal */
|
|
373
|
+
export const Breachvip$inboundSchema: z.ZodMiniType<Breachvip, unknown> = z
|
|
374
|
+
.pipe(
|
|
375
|
+
z.object({
|
|
376
|
+
source: types.string(),
|
|
377
|
+
_breach_date: types.optional(types.string()),
|
|
378
|
+
categories: types.optional(z.array(types.string())),
|
|
379
|
+
domain: types.optional(types.string()),
|
|
380
|
+
email: types.optional(types.string()),
|
|
381
|
+
password: types.optional(types.string()),
|
|
382
|
+
}),
|
|
383
|
+
z.transform((v) => {
|
|
384
|
+
return remap$(v, {
|
|
385
|
+
"_breach_date": "breachDate",
|
|
386
|
+
});
|
|
387
|
+
}),
|
|
388
|
+
);
|
|
389
|
+
|
|
390
|
+
export function breachvipFromJSON(
|
|
391
|
+
jsonString: string,
|
|
392
|
+
): SafeParseResult<Breachvip, SDKValidationError> {
|
|
393
|
+
return safeParse(
|
|
394
|
+
jsonString,
|
|
395
|
+
(x) => Breachvip$inboundSchema.parse(JSON.parse(x)),
|
|
396
|
+
`Failed to parse 'Breachvip' from JSON`,
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/** @internal */
|
|
401
|
+
export const SearchWebDatabasesBreach$inboundSchema: z.ZodMiniType<
|
|
402
|
+
SearchWebDatabasesBreach,
|
|
403
|
+
unknown
|
|
404
|
+
> = z.pipe(
|
|
405
|
+
z.object({
|
|
406
|
+
id: types.string(),
|
|
407
|
+
email: types.optional(types.string()),
|
|
408
|
+
imported_at: types.optional(types.string()),
|
|
409
|
+
password: types.optional(types.string()),
|
|
410
|
+
source: types.optional(types.string()),
|
|
411
|
+
source_date: types.optional(types.string()),
|
|
412
|
+
source_name: types.optional(types.string()),
|
|
413
|
+
username: types.optional(types.string()),
|
|
414
|
+
}),
|
|
415
|
+
z.transform((v) => {
|
|
416
|
+
return remap$(v, {
|
|
417
|
+
"imported_at": "importedAt",
|
|
418
|
+
"source_date": "sourceDate",
|
|
419
|
+
"source_name": "sourceName",
|
|
420
|
+
});
|
|
421
|
+
}),
|
|
422
|
+
);
|
|
423
|
+
|
|
424
|
+
export function searchWebDatabasesBreachFromJSON(
|
|
425
|
+
jsonString: string,
|
|
426
|
+
): SafeParseResult<SearchWebDatabasesBreach, SDKValidationError> {
|
|
427
|
+
return safeParse(
|
|
428
|
+
jsonString,
|
|
429
|
+
(x) => SearchWebDatabasesBreach$inboundSchema.parse(JSON.parse(x)),
|
|
430
|
+
`Failed to parse 'SearchWebDatabasesBreach' from JSON`,
|
|
431
|
+
);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/** @internal */
|
|
435
|
+
export const CloudsintData$inboundSchema: z.ZodMiniType<
|
|
436
|
+
CloudsintData,
|
|
437
|
+
unknown
|
|
438
|
+
> = z.pipe(
|
|
439
|
+
z.object({
|
|
440
|
+
breaches: z.array(z.lazy(() => SearchWebDatabasesBreach$inboundSchema)),
|
|
441
|
+
query: types.string(),
|
|
442
|
+
total_matches: types.number(),
|
|
443
|
+
}),
|
|
444
|
+
z.transform((v) => {
|
|
445
|
+
return remap$(v, {
|
|
446
|
+
"total_matches": "totalMatches",
|
|
447
|
+
});
|
|
448
|
+
}),
|
|
449
|
+
);
|
|
450
|
+
|
|
451
|
+
export function cloudsintDataFromJSON(
|
|
452
|
+
jsonString: string,
|
|
453
|
+
): SafeParseResult<CloudsintData, SDKValidationError> {
|
|
454
|
+
return safeParse(
|
|
455
|
+
jsonString,
|
|
456
|
+
(x) => CloudsintData$inboundSchema.parse(JSON.parse(x)),
|
|
457
|
+
`Failed to parse 'CloudsintData' from JSON`,
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/** @internal */
|
|
462
|
+
export const Cloudsint$inboundSchema: z.ZodMiniType<Cloudsint, unknown> = z
|
|
463
|
+
.object({
|
|
464
|
+
data: z.lazy(() => CloudsintData$inboundSchema),
|
|
465
|
+
duration: types.number(),
|
|
466
|
+
success: types.boolean(),
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
export function cloudsintFromJSON(
|
|
470
|
+
jsonString: string,
|
|
471
|
+
): SafeParseResult<Cloudsint, SDKValidationError> {
|
|
472
|
+
return safeParse(
|
|
473
|
+
jsonString,
|
|
474
|
+
(x) => Cloudsint$inboundSchema.parse(JSON.parse(x)),
|
|
475
|
+
`Failed to parse 'Cloudsint' from JSON`,
|
|
476
|
+
);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/** @internal */
|
|
480
|
+
export const ResultsSource$inboundSchema: z.ZodMiniType<
|
|
481
|
+
ResultsSource,
|
|
482
|
+
unknown
|
|
483
|
+
> = z.object({
|
|
484
|
+
date: types.optional(types.string()),
|
|
485
|
+
name: types.optional(types.string()),
|
|
486
|
+
});
|
|
487
|
+
|
|
488
|
+
export function resultsSourceFromJSON(
|
|
489
|
+
jsonString: string,
|
|
490
|
+
): SafeParseResult<ResultsSource, SDKValidationError> {
|
|
491
|
+
return safeParse(
|
|
492
|
+
jsonString,
|
|
493
|
+
(x) => ResultsSource$inboundSchema.parse(JSON.parse(x)),
|
|
494
|
+
`Failed to parse 'ResultsSource' from JSON`,
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/** @internal */
|
|
499
|
+
export const ResultsResult$inboundSchema: z.ZodMiniType<
|
|
500
|
+
ResultsResult,
|
|
501
|
+
unknown
|
|
502
|
+
> = z.pipe(
|
|
503
|
+
z.object({
|
|
504
|
+
id: types.string(),
|
|
505
|
+
source: z.lazy(() => ResultsSource$inboundSchema),
|
|
506
|
+
email: types.optional(types.string()),
|
|
507
|
+
full_name: types.optional(types.string()),
|
|
508
|
+
hash: types.optional(types.string()),
|
|
509
|
+
ip_address: types.optional(types.string()),
|
|
510
|
+
other_fields: types.optional(z.record(z.string(), types.string())),
|
|
511
|
+
password: types.optional(types.string()),
|
|
512
|
+
phone_number: types.optional(types.string()),
|
|
513
|
+
sensitive_fields: types.optional(z.record(z.string(), types.string())),
|
|
514
|
+
username: types.optional(types.string()),
|
|
515
|
+
}),
|
|
516
|
+
z.transform((v) => {
|
|
517
|
+
return remap$(v, {
|
|
518
|
+
"full_name": "fullName",
|
|
519
|
+
"ip_address": "ipAddress",
|
|
520
|
+
"other_fields": "otherFields",
|
|
521
|
+
"phone_number": "phoneNumber",
|
|
522
|
+
"sensitive_fields": "sensitiveFields",
|
|
523
|
+
});
|
|
524
|
+
}),
|
|
525
|
+
);
|
|
526
|
+
|
|
527
|
+
export function resultsResultFromJSON(
|
|
528
|
+
jsonString: string,
|
|
529
|
+
): SafeParseResult<ResultsResult, SDKValidationError> {
|
|
530
|
+
return safeParse(
|
|
531
|
+
jsonString,
|
|
532
|
+
(x) => ResultsResult$inboundSchema.parse(JSON.parse(x)),
|
|
533
|
+
`Failed to parse 'ResultsResult' from JSON`,
|
|
534
|
+
);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/** @internal */
|
|
538
|
+
export const Results$inboundSchema: z.ZodMiniType<Results, unknown> = z.pipe(
|
|
539
|
+
z.object({
|
|
540
|
+
databases: types.number(),
|
|
541
|
+
first_seen: types.string(),
|
|
542
|
+
found: types.number(),
|
|
543
|
+
last_seen: types.string(),
|
|
544
|
+
results: types.optional(z.array(z.lazy(() => ResultsResult$inboundSchema))),
|
|
545
|
+
}),
|
|
546
|
+
z.transform((v) => {
|
|
547
|
+
return remap$(v, {
|
|
548
|
+
"first_seen": "firstSeen",
|
|
549
|
+
"last_seen": "lastSeen",
|
|
550
|
+
});
|
|
551
|
+
}),
|
|
552
|
+
);
|
|
553
|
+
|
|
554
|
+
export function resultsFromJSON(
|
|
555
|
+
jsonString: string,
|
|
556
|
+
): SafeParseResult<Results, SDKValidationError> {
|
|
557
|
+
return safeParse(
|
|
558
|
+
jsonString,
|
|
559
|
+
(x) => Results$inboundSchema.parse(JSON.parse(x)),
|
|
560
|
+
`Failed to parse 'Results' from JSON`,
|
|
561
|
+
);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/** @internal */
|
|
565
|
+
export const Hackcheck$inboundSchema: z.ZodMiniType<Hackcheck, unknown> = z
|
|
566
|
+
.object({
|
|
567
|
+
results: types.optional(z.lazy(() => Results$inboundSchema)),
|
|
568
|
+
});
|
|
569
|
+
|
|
570
|
+
export function hackcheckFromJSON(
|
|
571
|
+
jsonString: string,
|
|
572
|
+
): SafeParseResult<Hackcheck, SDKValidationError> {
|
|
573
|
+
return safeParse(
|
|
574
|
+
jsonString,
|
|
575
|
+
(x) => Hackcheck$inboundSchema.parse(JSON.parse(x)),
|
|
576
|
+
`Failed to parse 'Hackcheck' from JSON`,
|
|
577
|
+
);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/** @internal */
|
|
581
|
+
export const ItemTag$inboundSchema: z.ZodMiniType<ItemTag, unknown> = z.object({
|
|
582
|
+
class: types.number(),
|
|
583
|
+
value: types.string(),
|
|
584
|
+
});
|
|
585
|
+
|
|
586
|
+
export function itemTagFromJSON(
|
|
587
|
+
jsonString: string,
|
|
588
|
+
): SafeParseResult<ItemTag, SDKValidationError> {
|
|
589
|
+
return safeParse(
|
|
590
|
+
jsonString,
|
|
591
|
+
(x) => ItemTag$inboundSchema.parse(JSON.parse(x)),
|
|
592
|
+
`Failed to parse 'ItemTag' from JSON`,
|
|
593
|
+
);
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/** @internal */
|
|
597
|
+
export const ItemType$inboundSchema: z.ZodMiniType<ItemType, unknown> =
|
|
598
|
+
smartUnion([types.number(), types.string()]);
|
|
599
|
+
|
|
600
|
+
export function itemTypeFromJSON(
|
|
601
|
+
jsonString: string,
|
|
602
|
+
): SafeParseResult<ItemType, SDKValidationError> {
|
|
603
|
+
return safeParse(
|
|
604
|
+
jsonString,
|
|
605
|
+
(x) => ItemType$inboundSchema.parse(JSON.parse(x)),
|
|
606
|
+
`Failed to parse 'ItemType' from JSON`,
|
|
607
|
+
);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/** @internal */
|
|
611
|
+
export const Item$inboundSchema: z.ZodMiniType<Item, unknown> = z.object({
|
|
612
|
+
accesslevel: types.optional(types.number()),
|
|
613
|
+
added: types.optional(types.string()),
|
|
614
|
+
bucket: types.optional(types.string()),
|
|
615
|
+
date: types.optional(types.string()),
|
|
616
|
+
description: types.optional(types.string()),
|
|
617
|
+
instore: types.optional(types.boolean()),
|
|
618
|
+
keyvalues: types.optional(z.any()),
|
|
619
|
+
media: types.optional(types.number()),
|
|
620
|
+
name: types.optional(types.string()),
|
|
621
|
+
owner: types.optional(types.string()),
|
|
622
|
+
relations: types.optional(z.any()),
|
|
623
|
+
simhash: types.optional(types.number()),
|
|
624
|
+
size: types.optional(types.number()),
|
|
625
|
+
storageid: types.optional(types.string()),
|
|
626
|
+
systemid: types.optional(types.string()),
|
|
627
|
+
tags: types.optional(z.array(z.lazy(() => ItemTag$inboundSchema))),
|
|
628
|
+
type: types.optional(smartUnion([types.number(), types.string()])),
|
|
629
|
+
xscore: types.optional(types.number()),
|
|
630
|
+
});
|
|
631
|
+
|
|
632
|
+
export function itemFromJSON(
|
|
633
|
+
jsonString: string,
|
|
634
|
+
): SafeParseResult<Item, SDKValidationError> {
|
|
635
|
+
return safeParse(
|
|
636
|
+
jsonString,
|
|
637
|
+
(x) => Item$inboundSchema.parse(JSON.parse(x)),
|
|
638
|
+
`Failed to parse 'Item' from JSON`,
|
|
639
|
+
);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/** @internal */
|
|
643
|
+
export const Tag$inboundSchema: z.ZodMiniType<Tag, unknown> = z.object({
|
|
644
|
+
class: types.number(),
|
|
645
|
+
value: types.string(),
|
|
646
|
+
});
|
|
647
|
+
|
|
648
|
+
export function tagFromJSON(
|
|
649
|
+
jsonString: string,
|
|
650
|
+
): SafeParseResult<Tag, SDKValidationError> {
|
|
651
|
+
return safeParse(
|
|
652
|
+
jsonString,
|
|
653
|
+
(x) => Tag$inboundSchema.parse(JSON.parse(x)),
|
|
654
|
+
`Failed to parse 'Tag' from JSON`,
|
|
655
|
+
);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/** @internal */
|
|
659
|
+
export const SearchWebDatabasesType$inboundSchema: z.ZodMiniType<
|
|
660
|
+
SearchWebDatabasesType,
|
|
661
|
+
unknown
|
|
662
|
+
> = smartUnion([types.number(), types.string()]);
|
|
663
|
+
|
|
664
|
+
export function searchWebDatabasesTypeFromJSON(
|
|
665
|
+
jsonString: string,
|
|
666
|
+
): SafeParseResult<SearchWebDatabasesType, SDKValidationError> {
|
|
667
|
+
return safeParse(
|
|
668
|
+
jsonString,
|
|
669
|
+
(x) => SearchWebDatabasesType$inboundSchema.parse(JSON.parse(x)),
|
|
670
|
+
`Failed to parse 'SearchWebDatabasesType' from JSON`,
|
|
671
|
+
);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/** @internal */
|
|
675
|
+
export const Identityportal$inboundSchema: z.ZodMiniType<
|
|
676
|
+
Identityportal,
|
|
677
|
+
unknown
|
|
678
|
+
> = z.object({
|
|
679
|
+
accesslevel: types.optional(types.number()),
|
|
680
|
+
added: types.optional(types.string()),
|
|
681
|
+
bucket: types.optional(types.string()),
|
|
682
|
+
date: types.optional(types.string()),
|
|
683
|
+
description: types.optional(types.string()),
|
|
684
|
+
instore: types.optional(types.boolean()),
|
|
685
|
+
item: types.optional(z.lazy(() => Item$inboundSchema)),
|
|
686
|
+
keyvalues: types.optional(z.any()),
|
|
687
|
+
line: types.optional(types.string()),
|
|
688
|
+
linea: types.optional(types.string()),
|
|
689
|
+
lineraw: types.optional(types.string()),
|
|
690
|
+
linesafterraw: z.optional(z.nullable(types.string())),
|
|
691
|
+
linesbeforeraw: z.optional(z.nullable(types.string())),
|
|
692
|
+
media: types.optional(types.number()),
|
|
693
|
+
name: types.optional(types.string()),
|
|
694
|
+
owner: types.optional(types.string()),
|
|
695
|
+
positionabsolute: types.optional(types.number()),
|
|
696
|
+
positionline: types.optional(types.number()),
|
|
697
|
+
positionsize: types.optional(types.number()),
|
|
698
|
+
relations: types.optional(z.any()),
|
|
699
|
+
simhash: types.optional(types.number()),
|
|
700
|
+
size: types.optional(types.number()),
|
|
701
|
+
storageid: types.optional(types.string()),
|
|
702
|
+
systemid: types.optional(types.string()),
|
|
703
|
+
tags: types.optional(z.array(z.lazy(() => Tag$inboundSchema))),
|
|
704
|
+
type: types.optional(smartUnion([types.number(), types.string()])),
|
|
705
|
+
xscore: types.optional(types.number()),
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
export function identityportalFromJSON(
|
|
709
|
+
jsonString: string,
|
|
710
|
+
): SafeParseResult<Identityportal, SDKValidationError> {
|
|
711
|
+
return safeParse(
|
|
712
|
+
jsonString,
|
|
713
|
+
(x) => Identityportal$inboundSchema.parse(JSON.parse(x)),
|
|
714
|
+
`Failed to parse 'Identityportal' from JSON`,
|
|
715
|
+
);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/** @internal */
|
|
719
|
+
export const Intelligencex$inboundSchema: z.ZodMiniType<
|
|
720
|
+
Intelligencex,
|
|
721
|
+
unknown
|
|
722
|
+
> = z.object({
|
|
723
|
+
identityportal: types.optional(
|
|
724
|
+
z.array(z.lazy(() => Identityportal$inboundSchema)),
|
|
725
|
+
),
|
|
726
|
+
});
|
|
727
|
+
|
|
728
|
+
export function intelligencexFromJSON(
|
|
729
|
+
jsonString: string,
|
|
730
|
+
): SafeParseResult<Intelligencex, SDKValidationError> {
|
|
731
|
+
return safeParse(
|
|
732
|
+
jsonString,
|
|
733
|
+
(x) => Intelligencex$inboundSchema.parse(JSON.parse(x)),
|
|
734
|
+
`Failed to parse 'Intelligencex' from JSON`,
|
|
735
|
+
);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/** @internal */
|
|
739
|
+
export const Compilation$inboundSchema: z.ZodMiniType<Compilation, unknown> =
|
|
740
|
+
openEnums.inboundSchema(Compilation);
|
|
741
|
+
|
|
742
|
+
/** @internal */
|
|
743
|
+
export const Passwordless$inboundSchema: z.ZodMiniType<Passwordless, unknown> =
|
|
744
|
+
openEnums.inboundSchema(Passwordless);
|
|
745
|
+
|
|
746
|
+
/** @internal */
|
|
747
|
+
export const Unverified$inboundSchema: z.ZodMiniType<Unverified, unknown> =
|
|
748
|
+
openEnums.inboundSchema(Unverified);
|
|
749
|
+
|
|
750
|
+
/** @internal */
|
|
751
|
+
export const LeakcheckSource$inboundSchema: z.ZodMiniType<
|
|
752
|
+
LeakcheckSource,
|
|
753
|
+
unknown
|
|
754
|
+
> = z.pipe(
|
|
755
|
+
z.object({
|
|
756
|
+
breach_date: z.optional(z.nullable(types.string())),
|
|
757
|
+
compilation: types.optional(Compilation$inboundSchema),
|
|
758
|
+
name: types.optional(types.string()),
|
|
759
|
+
passwordless: types.optional(Passwordless$inboundSchema),
|
|
760
|
+
unverified: types.optional(Unverified$inboundSchema),
|
|
761
|
+
}),
|
|
762
|
+
z.transform((v) => {
|
|
763
|
+
return remap$(v, {
|
|
764
|
+
"breach_date": "breachDate",
|
|
765
|
+
});
|
|
766
|
+
}),
|
|
767
|
+
);
|
|
768
|
+
|
|
769
|
+
export function leakcheckSourceFromJSON(
|
|
770
|
+
jsonString: string,
|
|
771
|
+
): SafeParseResult<LeakcheckSource, SDKValidationError> {
|
|
772
|
+
return safeParse(
|
|
773
|
+
jsonString,
|
|
774
|
+
(x) => LeakcheckSource$inboundSchema.parse(JSON.parse(x)),
|
|
775
|
+
`Failed to parse 'LeakcheckSource' from JSON`,
|
|
776
|
+
);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/** @internal */
|
|
780
|
+
export const LeakcheckResult$inboundSchema: z.ZodMiniType<
|
|
781
|
+
LeakcheckResult,
|
|
782
|
+
unknown
|
|
783
|
+
> = z.pipe(
|
|
784
|
+
z.object({
|
|
785
|
+
fields: z.array(types.string()),
|
|
786
|
+
address: types.optional(types.string()),
|
|
787
|
+
country: types.optional(types.string()),
|
|
788
|
+
dob: types.optional(types.string()),
|
|
789
|
+
email: types.optional(types.string()),
|
|
790
|
+
first_name: types.optional(types.string()),
|
|
791
|
+
last_name: types.optional(types.string()),
|
|
792
|
+
name: types.optional(types.string()),
|
|
793
|
+
password: types.optional(types.string()),
|
|
794
|
+
phone: types.optional(types.string()),
|
|
795
|
+
source: types.optional(z.lazy(() => LeakcheckSource$inboundSchema)),
|
|
796
|
+
state: types.optional(types.string()),
|
|
797
|
+
zip: types.optional(types.string()),
|
|
798
|
+
}),
|
|
799
|
+
z.transform((v) => {
|
|
800
|
+
return remap$(v, {
|
|
801
|
+
"first_name": "firstName",
|
|
802
|
+
"last_name": "lastName",
|
|
803
|
+
});
|
|
804
|
+
}),
|
|
805
|
+
);
|
|
806
|
+
|
|
807
|
+
export function leakcheckResultFromJSON(
|
|
808
|
+
jsonString: string,
|
|
809
|
+
): SafeParseResult<LeakcheckResult, SDKValidationError> {
|
|
810
|
+
return safeParse(
|
|
811
|
+
jsonString,
|
|
812
|
+
(x) => LeakcheckResult$inboundSchema.parse(JSON.parse(x)),
|
|
813
|
+
`Failed to parse 'LeakcheckResult' from JSON`,
|
|
814
|
+
);
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
/** @internal */
|
|
818
|
+
export const Leakcheck$inboundSchema: z.ZodMiniType<Leakcheck, unknown> = z
|
|
819
|
+
.object({
|
|
820
|
+
found: types.number(),
|
|
821
|
+
result: z.array(z.lazy(() => LeakcheckResult$inboundSchema)),
|
|
822
|
+
success: types.boolean(),
|
|
823
|
+
error: types.optional(types.string()),
|
|
824
|
+
});
|
|
825
|
+
|
|
826
|
+
export function leakcheckFromJSON(
|
|
827
|
+
jsonString: string,
|
|
828
|
+
): SafeParseResult<Leakcheck, SDKValidationError> {
|
|
829
|
+
return safeParse(
|
|
830
|
+
jsonString,
|
|
831
|
+
(x) => Leakcheck$inboundSchema.parse(JSON.parse(x)),
|
|
832
|
+
`Failed to parse 'Leakcheck' from JSON`,
|
|
833
|
+
);
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
/** @internal */
|
|
837
|
+
export const SnusbaseUnion$inboundSchema: z.ZodMiniType<
|
|
838
|
+
SnusbaseUnion,
|
|
839
|
+
unknown
|
|
840
|
+
> = smartUnion([types.string(), z.any()]);
|
|
841
|
+
|
|
842
|
+
export function snusbaseUnionFromJSON(
|
|
843
|
+
jsonString: string,
|
|
844
|
+
): SafeParseResult<SnusbaseUnion, SDKValidationError> {
|
|
845
|
+
return safeParse(
|
|
846
|
+
jsonString,
|
|
847
|
+
(x) => SnusbaseUnion$inboundSchema.parse(JSON.parse(x)),
|
|
848
|
+
`Failed to parse 'SnusbaseUnion' from JSON`,
|
|
849
|
+
);
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/** @internal */
|
|
853
|
+
export const Snusbase$inboundSchema: z.ZodMiniType<Snusbase, unknown> =
|
|
854
|
+
collectExtraKeys$(
|
|
855
|
+
z.catchall(
|
|
856
|
+
z.object({
|
|
857
|
+
address: types.optional(types.string()),
|
|
858
|
+
birthdate: types.optional(types.string()),
|
|
859
|
+
city: types.optional(types.string()),
|
|
860
|
+
company: types.optional(types.string()),
|
|
861
|
+
country: types.optional(types.string()),
|
|
862
|
+
created: types.optional(types.string()),
|
|
863
|
+
date: types.optional(types.string()),
|
|
864
|
+
domain: types.optional(types.string()),
|
|
865
|
+
email: types.optional(types.string()),
|
|
866
|
+
followers: types.optional(types.string()),
|
|
867
|
+
gender: types.optional(types.string()),
|
|
868
|
+
hash: types.optional(types.string()),
|
|
869
|
+
host: types.optional(types.string()),
|
|
870
|
+
id: types.optional(types.string()),
|
|
871
|
+
job: types.optional(types.string()),
|
|
872
|
+
language: types.optional(types.string()),
|
|
873
|
+
lastip: types.optional(types.string()),
|
|
874
|
+
name: types.optional(types.string()),
|
|
875
|
+
other: types.optional(types.string()),
|
|
876
|
+
password: types.optional(types.string()),
|
|
877
|
+
phone: types.optional(types.string()),
|
|
878
|
+
regip: types.optional(types.string()),
|
|
879
|
+
salt: types.optional(types.string()),
|
|
880
|
+
state: types.optional(types.string()),
|
|
881
|
+
uid: types.optional(types.string()),
|
|
882
|
+
unparsed: types.optional(types.string()),
|
|
883
|
+
updated: types.optional(types.string()),
|
|
884
|
+
url: types.optional(types.string()),
|
|
885
|
+
username: types.optional(types.string()),
|
|
886
|
+
zip: types.optional(types.string()),
|
|
887
|
+
}),
|
|
888
|
+
smartUnion([types.string(), z.any()]),
|
|
889
|
+
),
|
|
890
|
+
"additionalProperties",
|
|
891
|
+
true,
|
|
892
|
+
);
|
|
893
|
+
|
|
894
|
+
export function snusbaseFromJSON(
|
|
895
|
+
jsonString: string,
|
|
896
|
+
): SafeParseResult<Snusbase, SDKValidationError> {
|
|
897
|
+
return safeParse(
|
|
898
|
+
jsonString,
|
|
899
|
+
(x) => Snusbase$inboundSchema.parse(JSON.parse(x)),
|
|
900
|
+
`Failed to parse 'Snusbase' from JSON`,
|
|
901
|
+
);
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/** @internal */
|
|
905
|
+
export const SearchWebDatabasesData$inboundSchema: z.ZodMiniType<
|
|
906
|
+
SearchWebDatabasesData,
|
|
907
|
+
unknown
|
|
908
|
+
> = z.object({
|
|
909
|
+
breachvip: types.optional(z.array(z.lazy(() => Breachvip$inboundSchema))),
|
|
910
|
+
cloudsint: types.optional(z.lazy(() => Cloudsint$inboundSchema)),
|
|
911
|
+
hackcheck: types.optional(z.lazy(() => Hackcheck$inboundSchema)),
|
|
912
|
+
intelligencex: types.optional(z.lazy(() => Intelligencex$inboundSchema)),
|
|
913
|
+
leakcheck: types.optional(z.lazy(() => Leakcheck$inboundSchema)),
|
|
914
|
+
snusbase: types.optional(
|
|
915
|
+
z.record(z.string(), z.array(z.lazy(() => Snusbase$inboundSchema))),
|
|
916
|
+
),
|
|
917
|
+
snusbaseRateLimited: types.optional(types.boolean()),
|
|
918
|
+
});
|
|
919
|
+
|
|
920
|
+
export function searchWebDatabasesDataFromJSON(
|
|
921
|
+
jsonString: string,
|
|
922
|
+
): SafeParseResult<SearchWebDatabasesData, SDKValidationError> {
|
|
923
|
+
return safeParse(
|
|
924
|
+
jsonString,
|
|
925
|
+
(x) => SearchWebDatabasesData$inboundSchema.parse(JSON.parse(x)),
|
|
926
|
+
`Failed to parse 'SearchWebDatabasesData' from JSON`,
|
|
927
|
+
);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/** @internal */
|
|
931
|
+
export const SearchWebDatabasesResponse$inboundSchema: z.ZodMiniType<
|
|
932
|
+
SearchWebDatabasesResponse,
|
|
933
|
+
unknown
|
|
934
|
+
> = z.object({
|
|
935
|
+
data: z.lazy(() => SearchWebDatabasesData$inboundSchema),
|
|
936
|
+
success: types.boolean(),
|
|
937
|
+
error: types.optional(types.string()),
|
|
938
|
+
});
|
|
939
|
+
|
|
940
|
+
export function searchWebDatabasesResponseFromJSON(
|
|
941
|
+
jsonString: string,
|
|
942
|
+
): SafeParseResult<SearchWebDatabasesResponse, SDKValidationError> {
|
|
943
|
+
return safeParse(
|
|
944
|
+
jsonString,
|
|
945
|
+
(x) => SearchWebDatabasesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
946
|
+
`Failed to parse 'SearchWebDatabasesResponse' from JSON`,
|
|
947
|
+
);
|
|
948
|
+
}
|