@indiciaosint/sdk 0.0.1 → 1.0.1-patch
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 +140 -126
- 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 +29 -0
- package/esm/funcs/intelligence-geolocate-media.d.ts.map +1 -0
- package/esm/funcs/intelligence-geolocate-media.js +104 -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 +37 -0
- package/esm/funcs/intelligence-search-face.d.ts.map +1 -0
- package/esm/funcs/intelligence-search-face.js +106 -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 +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/errors/bypass-double-counter.d.ts +26 -0
- package/esm/models/errors/bypass-double-counter.d.ts.map +1 -0
- package/esm/models/errors/bypass-double-counter.js +41 -0
- package/esm/models/errors/bypass-double-counter.js.map +1 -0
- package/esm/models/errors/download-intelx-file.d.ts +49 -0
- package/esm/models/errors/download-intelx-file.d.ts.map +1 -0
- package/esm/models/errors/download-intelx-file.js +75 -0
- package/esm/models/errors/download-intelx-file.js.map +1 -0
- package/esm/models/errors/geolocate-media.d.ts +72 -0
- package/esm/models/errors/geolocate-media.d.ts.map +1 -0
- package/esm/models/errors/geolocate-media.js +109 -0
- package/esm/models/errors/geolocate-media.js.map +1 -0
- package/esm/models/errors/index.d.ts +24 -24
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +24 -24
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/errors/lookup-discord-alt.d.ts +29 -0
- package/esm/models/errors/lookup-discord-alt.d.ts.map +1 -0
- package/esm/models/errors/lookup-discord-alt.js +46 -0
- package/esm/models/errors/lookup-discord-alt.js.map +1 -0
- package/esm/models/errors/scan-ports.d.ts +72 -0
- package/esm/models/errors/scan-ports.d.ts.map +1 -0
- package/esm/models/errors/scan-ports.js +109 -0
- package/esm/models/errors/scan-ports.js.map +1 -0
- package/esm/models/errors/search-address.d.ts +26 -0
- package/esm/models/errors/search-address.d.ts.map +1 -0
- package/esm/models/errors/search-address.js +41 -0
- package/esm/models/errors/search-address.js.map +1 -0
- package/esm/models/errors/search-certificates.d.ts +29 -0
- package/esm/models/errors/search-certificates.d.ts.map +1 -0
- package/esm/models/errors/search-certificates.js +45 -0
- package/esm/models/errors/search-certificates.js.map +1 -0
- package/esm/models/errors/search-discord.d.ts +26 -0
- package/esm/models/errors/search-discord.d.ts.map +1 -0
- package/esm/models/errors/search-discord.js +41 -0
- package/esm/models/errors/search-discord.js.map +1 -0
- package/esm/models/errors/search-dns.d.ts +26 -0
- package/esm/models/errors/search-dns.d.ts.map +1 -0
- package/esm/models/errors/search-dns.js +41 -0
- package/esm/models/errors/search-dns.js.map +1 -0
- package/esm/models/errors/search-email.d.ts +26 -0
- package/esm/models/errors/search-email.d.ts.map +1 -0
- package/esm/models/errors/search-email.js +41 -0
- package/esm/models/errors/search-email.js.map +1 -0
- package/esm/models/errors/search-face.d.ts +72 -0
- package/esm/models/errors/search-face.d.ts.map +1 -0
- package/esm/models/errors/search-face.js +109 -0
- package/esm/models/errors/search-face.js.map +1 -0
- package/esm/models/errors/search-github.d.ts +26 -0
- package/esm/models/errors/search-github.d.ts.map +1 -0
- package/esm/models/errors/search-github.js +41 -0
- package/esm/models/errors/search-github.js.map +1 -0
- package/esm/models/errors/search-gmail.d.ts +26 -0
- package/esm/models/errors/search-gmail.d.ts.map +1 -0
- package/esm/models/errors/search-gmail.js +41 -0
- package/esm/models/errors/search-gmail.js.map +1 -0
- package/esm/models/errors/search-hudson-rock.d.ts +26 -0
- package/esm/models/errors/search-hudson-rock.d.ts.map +1 -0
- package/esm/models/errors/search-hudson-rock.js +41 -0
- package/esm/models/errors/search-hudson-rock.js.map +1 -0
- package/esm/models/errors/search-ip-info.d.ts +26 -0
- package/esm/models/errors/search-ip-info.d.ts.map +1 -0
- package/esm/models/errors/search-ip-info.js +41 -0
- package/esm/models/errors/search-ip-info.js.map +1 -0
- package/esm/models/errors/search-person.d.ts +26 -0
- package/esm/models/errors/search-person.d.ts.map +1 -0
- package/esm/models/errors/search-person.js +41 -0
- package/esm/models/errors/search-person.js.map +1 -0
- package/esm/models/errors/search-phone.d.ts +26 -0
- package/esm/models/errors/search-phone.d.ts.map +1 -0
- package/esm/models/errors/search-phone.js +41 -0
- package/esm/models/errors/search-phone.js.map +1 -0
- package/esm/models/errors/search-roblox.d.ts +26 -0
- package/esm/models/errors/search-roblox.d.ts.map +1 -0
- package/esm/models/errors/search-roblox.js +41 -0
- package/esm/models/errors/search-roblox.js.map +1 -0
- package/esm/models/errors/search-seon.d.ts +26 -0
- package/esm/models/errors/search-seon.d.ts.map +1 -0
- package/esm/models/errors/search-seon.js +41 -0
- package/esm/models/errors/search-seon.js.map +1 -0
- package/esm/models/errors/search-shodan.d.ts +26 -0
- package/esm/models/errors/search-shodan.d.ts.map +1 -0
- package/esm/models/errors/search-shodan.js +41 -0
- package/esm/models/errors/search-shodan.js.map +1 -0
- package/esm/models/errors/search-tiktok.d.ts +26 -0
- package/esm/models/errors/search-tiktok.d.ts.map +1 -0
- package/esm/models/errors/search-tiktok.js +41 -0
- package/esm/models/errors/search-tiktok.js.map +1 -0
- package/esm/models/errors/search-username.d.ts +26 -0
- package/esm/models/errors/search-username.d.ts.map +1 -0
- package/esm/models/errors/search-username.js +41 -0
- package/esm/models/errors/search-username.js.map +1 -0
- package/esm/models/errors/search-web-databases.d.ts +49 -0
- package/esm/models/errors/search-web-databases.d.ts.map +1 -0
- package/esm/models/errors/search-web-databases.js +75 -0
- package/esm/models/errors/search-web-databases.js.map +1 -0
- package/esm/models/errors/search-whois.d.ts +26 -0
- package/esm/models/errors/search-whois.d.ts.map +1 -0
- package/esm/models/errors/search-whois.js +41 -0
- package/esm/models/errors/search-whois.js.map +1 -0
- 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 +24 -0
- package/esm/models/operations/geolocate-media.d.ts.map +1 -0
- package/esm/models/operations/geolocate-media.js +20 -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 +97 -0
- package/esm/models/operations/lookup-discord-alt.d.ts.map +1 -0
- package/esm/models/operations/lookup-discord-alt.js +103 -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 +77 -0
- package/esm/models/operations/search-address.d.ts.map +1 -0
- package/esm/models/operations/search-address.js +82 -0
- package/esm/models/operations/search-address.js.map +1 -0
- package/esm/models/operations/search-certificates.d.ts +53 -0
- package/esm/models/operations/search-certificates.d.ts.map +1 -0
- package/esm/models/operations/search-certificates.js +76 -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 +264 -0
- package/esm/models/operations/search-discord.js.map +1 -0
- package/esm/models/operations/search-dns.d.ts +194 -0
- package/esm/models/operations/search-dns.d.ts.map +1 -0
- package/esm/models/operations/search-dns.js +268 -0
- package/esm/models/operations/search-dns.js.map +1 -0
- package/esm/models/operations/search-email.d.ts +39 -0
- package/esm/models/operations/search-email.d.ts.map +1 -0
- package/esm/models/operations/search-email.js +38 -0
- package/esm/models/operations/search-email.js.map +1 -0
- package/esm/models/operations/search-face.d.ts +12 -0
- package/esm/models/operations/search-face.d.ts.map +1 -0
- package/esm/models/operations/search-face.js +12 -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 +196 -0
- package/esm/models/operations/search-gmail.d.ts.map +1 -0
- package/esm/models/operations/search-gmail.js +214 -0
- package/esm/models/operations/search-gmail.js.map +1 -0
- package/esm/models/operations/search-hudson-rock.d.ts +265 -0
- package/esm/models/operations/search-hudson-rock.d.ts.map +1 -0
- package/esm/models/operations/search-hudson-rock.js +355 -0
- package/esm/models/operations/search-hudson-rock.js.map +1 -0
- package/esm/models/operations/search-ip-info.d.ts +58 -0
- package/esm/models/operations/search-ip-info.d.ts.map +1 -0
- package/esm/models/operations/search-ip-info.js +56 -0
- package/esm/models/operations/search-ip-info.js.map +1 -0
- package/esm/models/operations/search-person.d.ts +74 -0
- package/esm/models/operations/search-person.d.ts.map +1 -0
- package/esm/models/operations/search-person.js +81 -0
- package/esm/models/operations/search-person.js.map +1 -0
- package/esm/models/operations/search-phone.d.ts +111 -0
- package/esm/models/operations/search-phone.d.ts.map +1 -0
- package/esm/models/operations/search-phone.js +154 -0
- package/esm/models/operations/search-phone.js.map +1 -0
- package/esm/models/operations/search-roblox.d.ts +119 -0
- package/esm/models/operations/search-roblox.d.ts.map +1 -0
- package/esm/models/operations/search-roblox.js +118 -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 +215 -0
- package/esm/models/operations/search-shodan.d.ts.map +1 -0
- package/esm/models/operations/search-shodan.js +271 -0
- package/esm/models/operations/search-shodan.js.map +1 -0
- package/esm/models/operations/search-tiktok.d.ts +389 -0
- package/esm/models/operations/search-tiktok.d.ts.map +1 -0
- package/esm/models/operations/search-tiktok.js +617 -0
- package/esm/models/operations/search-tiktok.js.map +1 -0
- package/esm/models/operations/search-username.d.ts +282 -0
- package/esm/models/operations/search-username.d.ts.map +1 -0
- package/esm/models/operations/search-username.js +416 -0
- package/esm/models/operations/search-username.js.map +1 -0
- package/esm/models/operations/search-web-databases.d.ts +581 -0
- package/esm/models/operations/search-web-databases.d.ts.map +1 -0
- package/esm/models/operations/search-web-databases.js +736 -0
- package/esm/models/operations/search-web-databases.js.map +1 -0
- package/esm/models/operations/search-whois.d.ts +97 -0
- package/esm/models/operations/search-whois.d.ts.map +1 -0
- package/esm/models/operations/search-whois.js +123 -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 +102 -0
- package/esm/sdk/intelligence.d.ts.map +1 -0
- package/esm/sdk/intelligence.js +135 -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 +11 -6
- 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 +307 -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 +201 -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 +203 -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 +177 -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 +177 -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 +2 -2
- package/src/models/errors/bypass-double-counter.ts +60 -0
- package/src/models/errors/download-intelx-file.ts +117 -0
- package/src/models/errors/geolocate-media.ts +172 -0
- package/src/models/errors/index.ts +24 -24
- package/src/models/errors/lookup-discord-alt.ts +71 -0
- package/src/models/errors/scan-ports.ts +172 -0
- package/src/models/errors/search-address.ts +62 -0
- package/src/models/errors/search-certificates.ts +71 -0
- package/src/models/errors/search-discord.ts +62 -0
- package/src/models/errors/search-dns.ts +62 -0
- package/src/models/errors/search-email.ts +62 -0
- package/src/models/errors/search-face.ts +172 -0
- package/src/models/errors/search-github.ts +62 -0
- package/src/models/errors/search-gmail.ts +62 -0
- package/src/models/errors/search-hudson-rock.ts +62 -0
- package/src/models/errors/search-ip-info.ts +62 -0
- package/src/models/errors/search-person.ts +62 -0
- package/src/models/errors/search-phone.ts +62 -0
- package/src/models/errors/search-roblox.ts +62 -0
- package/src/models/errors/search-seon.ts +62 -0
- package/src/models/errors/search-shodan.ts +62 -0
- package/src/models/errors/search-tiktok.ts +62 -0
- package/src/models/errors/search-username.ts +62 -0
- package/src/models/errors/search-web-databases.ts +115 -0
- package/src/models/errors/search-whois.ts +62 -0
- 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 +46 -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 +282 -0
- package/src/models/operations/scan-ports.ts +58 -0
- package/src/models/operations/search-address.ts +204 -0
- package/src/models/operations/search-certificates.ts +172 -0
- package/src/models/operations/search-discord.ts +669 -0
- package/src/models/operations/search-dns.ts +606 -0
- package/src/models/operations/search-email.ts +101 -0
- package/src/models/operations/search-face.ts +30 -0
- package/src/models/operations/search-github.ts +125 -0
- package/src/models/operations/search-gmail.ts +558 -0
- package/src/models/operations/search-hudson-rock.ts +845 -0
- package/src/models/operations/search-ip-info.ts +137 -0
- package/src/models/operations/search-person.ts +200 -0
- package/src/models/operations/search-phone.ts +359 -0
- package/src/models/operations/search-roblox.ts +305 -0
- package/src/models/operations/search-seon.ts +1378 -0
- package/src/models/operations/search-shodan.ts +632 -0
- package/src/models/operations/search-tiktok.ts +1440 -0
- package/src/models/operations/search-username.ts +856 -0
- package/src/models/operations/search-web-databases.ts +1640 -0
- package/src/models/operations/search-whois.ts +304 -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 +216 -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/.devcontainer/README.md +0 -30
- package/docs/sdks/indicia/README.md +0 -3053
- 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/README.md +0 -31
- package/examples/getV1Info.example.ts +0 -26
- package/examples/node_modules/@esbuild/darwin-arm64/README.md +0 -3
- package/examples/node_modules/@types/node/LICENSE +0 -21
- package/examples/node_modules/@types/node/README.md +0 -15
- package/examples/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/examples/node_modules/@types/node/assert.d.ts +0 -1062
- package/examples/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +0 -471
- package/examples/node_modules/@types/node/buffer.d.ts +0 -1936
- package/examples/node_modules/@types/node/child_process.d.ts +0 -1475
- package/examples/node_modules/@types/node/cluster.d.ts +0 -577
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/examples/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/examples/node_modules/@types/node/console.d.ts +0 -452
- package/examples/node_modules/@types/node/constants.d.ts +0 -21
- package/examples/node_modules/@types/node/crypto.d.ts +0 -4590
- package/examples/node_modules/@types/node/dgram.d.ts +0 -597
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/examples/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/examples/node_modules/@types/node/dns.d.ts +0 -871
- package/examples/node_modules/@types/node/domain.d.ts +0 -170
- package/examples/node_modules/@types/node/events.d.ts +0 -977
- package/examples/node_modules/@types/node/fs/promises.d.ts +0 -1270
- package/examples/node_modules/@types/node/fs.d.ts +0 -4375
- package/examples/node_modules/@types/node/globals.d.ts +0 -172
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +0 -38
- package/examples/node_modules/@types/node/http.d.ts +0 -2049
- package/examples/node_modules/@types/node/http2.d.ts +0 -2712
- package/examples/node_modules/@types/node/https.d.ts +0 -578
- package/examples/node_modules/@types/node/index.d.ts +0 -93
- package/examples/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/examples/node_modules/@types/node/module.d.ts +0 -539
- package/examples/node_modules/@types/node/net.d.ts +0 -1031
- package/examples/node_modules/@types/node/os.d.ts +0 -506
- package/examples/node_modules/@types/node/path.d.ts +0 -200
- package/examples/node_modules/@types/node/perf_hooks.d.ts +0 -961
- package/examples/node_modules/@types/node/process.d.ts +0 -1961
- package/examples/node_modules/@types/node/punycode.d.ts +0 -117
- package/examples/node_modules/@types/node/querystring.d.ts +0 -152
- package/examples/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/examples/node_modules/@types/node/readline.d.ts +0 -589
- package/examples/node_modules/@types/node/repl.d.ts +0 -430
- package/examples/node_modules/@types/node/sea.d.ts +0 -153
- package/examples/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/examples/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/examples/node_modules/@types/node/stream/web.d.ts +0 -533
- package/examples/node_modules/@types/node/stream.d.ts +0 -1698
- package/examples/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/examples/node_modules/@types/node/test.d.ts +0 -1787
- package/examples/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/examples/node_modules/@types/node/timers.d.ts +0 -286
- package/examples/node_modules/@types/node/tls.d.ts +0 -1259
- package/examples/node_modules/@types/node/trace_events.d.ts +0 -197
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +0 -93
- package/examples/node_modules/@types/node/tty.d.ts +0 -208
- package/examples/node_modules/@types/node/url.d.ts +0 -964
- package/examples/node_modules/@types/node/util.d.ts +0 -2331
- package/examples/node_modules/@types/node/v8.d.ts +0 -809
- package/examples/node_modules/@types/node/vm.d.ts +0 -1001
- package/examples/node_modules/@types/node/wasi.d.ts +0 -181
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/examples/node_modules/@types/node/web-globals/events.d.ts +0 -97
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
- package/examples/node_modules/@types/node/worker_threads.d.ts +0 -715
- package/examples/node_modules/@types/node/zlib.d.ts +0 -598
- package/examples/node_modules/dotenv/LICENSE +0 -23
- package/examples/node_modules/dotenv/README.md +0 -645
- package/examples/node_modules/dotenv/config.d.ts +0 -1
- package/examples/node_modules/dotenv/config.js +0 -9
- package/examples/node_modules/dotenv/lib/cli-options.js +0 -17
- package/examples/node_modules/dotenv/lib/env-options.js +0 -28
- package/examples/node_modules/dotenv/lib/main.d.ts +0 -162
- package/examples/node_modules/dotenv/lib/main.js +0 -386
- package/examples/node_modules/esbuild/LICENSE.md +0 -21
- package/examples/node_modules/esbuild/README.md +0 -3
- package/examples/node_modules/esbuild/install.js +0 -300
- package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
- package/examples/node_modules/esbuild/lib/main.js +0 -2532
- package/examples/node_modules/fsevents/LICENSE +0 -22
- package/examples/node_modules/fsevents/README.md +0 -89
- package/examples/node_modules/fsevents/fsevents.d.ts +0 -46
- package/examples/node_modules/fsevents/fsevents.js +0 -83
- package/examples/node_modules/tsx/LICENSE +0 -21
- package/examples/node_modules/tsx/README.md +0 -32
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/cjs/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/cli.mjs +0 -55
- package/examples/node_modules/tsx/dist/client-D_mPDF5S.mjs +0 -1
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/esm/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +0 -1
- package/examples/node_modules/tsx/dist/index-XurvG3JN.mjs +0 -14
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
- package/examples/node_modules/tsx/dist/loader.mjs +0 -1
- package/examples/node_modules/tsx/dist/node-features-B9BBLzwu.mjs +0 -1
- package/examples/node_modules/tsx/dist/package-Bj47PlGH.mjs +0 -1
- package/examples/node_modules/tsx/dist/patch-repl.mjs +0 -1
- package/examples/node_modules/tsx/dist/preflight.mjs +0 -1
- package/examples/node_modules/tsx/dist/register-BnTWPeIB.mjs +0 -10
- package/examples/node_modules/tsx/dist/register-CqMfTiWi.mjs +0 -2
- package/examples/node_modules/tsx/dist/repl.mjs +0 -3
- package/examples/node_modules/tsx/dist/require-DzmC1hVr.mjs +0 -1
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
- package/examples/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +0 -1
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
- package/examples/node_modules/undici-types/LICENSE +0 -21
- package/examples/node_modules/undici-types/README.md +0 -6
- package/examples/node_modules/undici-types/agent.d.ts +0 -31
- package/examples/node_modules/undici-types/api.d.ts +0 -43
- package/examples/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/examples/node_modules/undici-types/cache.d.ts +0 -36
- package/examples/node_modules/undici-types/client.d.ts +0 -108
- package/examples/node_modules/undici-types/connector.d.ts +0 -34
- package/examples/node_modules/undici-types/content-type.d.ts +0 -21
- package/examples/node_modules/undici-types/cookies.d.ts +0 -28
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/examples/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/examples/node_modules/undici-types/errors.d.ts +0 -149
- package/examples/node_modules/undici-types/eventsource.d.ts +0 -61
- package/examples/node_modules/undici-types/fetch.d.ts +0 -209
- package/examples/node_modules/undici-types/file.d.ts +0 -39
- package/examples/node_modules/undici-types/filereader.d.ts +0 -54
- package/examples/node_modules/undici-types/formdata.d.ts +0 -108
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/examples/node_modules/undici-types/global-origin.d.ts +0 -7
- package/examples/node_modules/undici-types/handlers.d.ts +0 -15
- package/examples/node_modules/undici-types/header.d.ts +0 -4
- package/examples/node_modules/undici-types/index.d.ts +0 -71
- package/examples/node_modules/undici-types/interceptors.d.ts +0 -17
- package/examples/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/examples/node_modules/undici-types/mock-client.d.ts +0 -25
- package/examples/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/examples/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/examples/node_modules/undici-types/patch.d.ts +0 -33
- package/examples/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/examples/node_modules/undici-types/pool.d.ts +0 -39
- package/examples/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/examples/node_modules/undici-types/readable.d.ts +0 -65
- package/examples/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/examples/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/examples/node_modules/undici-types/util.d.ts +0 -18
- package/examples/node_modules/undici-types/webidl.d.ts +0 -228
- package/examples/node_modules/undici-types/websocket.d.ts +0 -150
- 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
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// ../config.js accepts options via environment variables
|
|
2
|
-
const options = {}
|
|
3
|
-
|
|
4
|
-
if (process.env.DOTENV_CONFIG_ENCODING != null) {
|
|
5
|
-
options.encoding = process.env.DOTENV_CONFIG_ENCODING
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
if (process.env.DOTENV_CONFIG_PATH != null) {
|
|
9
|
-
options.path = process.env.DOTENV_CONFIG_PATH
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
if (process.env.DOTENV_CONFIG_QUIET != null) {
|
|
13
|
-
options.quiet = process.env.DOTENV_CONFIG_QUIET
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
if (process.env.DOTENV_CONFIG_DEBUG != null) {
|
|
17
|
-
options.debug = process.env.DOTENV_CONFIG_DEBUG
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
if (process.env.DOTENV_CONFIG_OVERRIDE != null) {
|
|
21
|
-
options.override = process.env.DOTENV_CONFIG_OVERRIDE
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
if (process.env.DOTENV_CONFIG_DOTENV_KEY != null) {
|
|
25
|
-
options.DOTENV_KEY = process.env.DOTENV_CONFIG_DOTENV_KEY
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
module.exports = options
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
// TypeScript Version: 3.0
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import type { URL } from 'url';
|
|
4
|
-
|
|
5
|
-
export interface DotenvParseOutput {
|
|
6
|
-
[name: string]: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Parses a string or buffer in the .env file format into an object.
|
|
11
|
-
*
|
|
12
|
-
* See https://dotenvx.com/docs
|
|
13
|
-
*
|
|
14
|
-
* @param src - contents to be parsed. example: `'DB_HOST=localhost'`
|
|
15
|
-
* @returns an object with keys and values based on `src`. example: `{ DB_HOST : 'localhost' }`
|
|
16
|
-
*/
|
|
17
|
-
export function parse<T extends DotenvParseOutput = DotenvParseOutput>(
|
|
18
|
-
src: string | Buffer
|
|
19
|
-
): T;
|
|
20
|
-
|
|
21
|
-
export interface DotenvConfigOptions {
|
|
22
|
-
/**
|
|
23
|
-
* Default: `path.resolve(process.cwd(), '.env')`
|
|
24
|
-
*
|
|
25
|
-
* Specify a custom path if your file containing environment variables is located elsewhere.
|
|
26
|
-
* Can also be an array of strings, specifying multiple paths.
|
|
27
|
-
*
|
|
28
|
-
* example: `require('dotenv').config({ path: '/custom/path/to/.env' })`
|
|
29
|
-
* example: `require('dotenv').config({ path: ['/path/to/first.env', '/path/to/second.env'] })`
|
|
30
|
-
*/
|
|
31
|
-
path?: string | string[] | URL;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Default: `utf8`
|
|
35
|
-
*
|
|
36
|
-
* Specify the encoding of your file containing environment variables.
|
|
37
|
-
*
|
|
38
|
-
* example: `require('dotenv').config({ encoding: 'latin1' })`
|
|
39
|
-
*/
|
|
40
|
-
encoding?: string;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Default: `false`
|
|
44
|
-
*
|
|
45
|
-
* Suppress all output (except errors).
|
|
46
|
-
*
|
|
47
|
-
* example: `require('dotenv').config({ quiet: true })`
|
|
48
|
-
*/
|
|
49
|
-
quiet?: boolean;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Default: `false`
|
|
53
|
-
*
|
|
54
|
-
* Turn on logging to help debug why certain keys or values are not being set as you expect.
|
|
55
|
-
*
|
|
56
|
-
* example: `require('dotenv').config({ debug: process.env.DEBUG })`
|
|
57
|
-
*/
|
|
58
|
-
debug?: boolean;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Default: `false`
|
|
62
|
-
*
|
|
63
|
-
* Override any environment variables that have already been set on your machine with values from your .env file.
|
|
64
|
-
*
|
|
65
|
-
* example: `require('dotenv').config({ override: true })`
|
|
66
|
-
*/
|
|
67
|
-
override?: boolean;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Default: `process.env`
|
|
71
|
-
*
|
|
72
|
-
* Specify an object to write your secrets to. Defaults to process.env environment variables.
|
|
73
|
-
*
|
|
74
|
-
* example: `const processEnv = {}; require('dotenv').config({ processEnv: processEnv })`
|
|
75
|
-
*/
|
|
76
|
-
processEnv?: DotenvPopulateInput;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Default: `undefined`
|
|
80
|
-
*
|
|
81
|
-
* Pass the DOTENV_KEY directly to config options. Defaults to looking for process.env.DOTENV_KEY environment variable. Note this only applies to decrypting .env.vault files. If passed as null or undefined, or not passed at all, dotenv falls back to its traditional job of parsing a .env file.
|
|
82
|
-
*
|
|
83
|
-
* example: `require('dotenv').config({ DOTENV_KEY: 'dotenv://:key_1234…@dotenvx.com/vault/.env.vault?environment=production' })`
|
|
84
|
-
*/
|
|
85
|
-
DOTENV_KEY?: string;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface DotenvConfigOutput {
|
|
89
|
-
error?: Error;
|
|
90
|
-
parsed?: DotenvParseOutput;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export interface DotenvPopulateOptions {
|
|
94
|
-
/**
|
|
95
|
-
* Default: `false`
|
|
96
|
-
*
|
|
97
|
-
* Turn on logging to help debug why certain keys or values are not being set as you expect.
|
|
98
|
-
*
|
|
99
|
-
* example: `require('dotenv').config({ debug: process.env.DEBUG })`
|
|
100
|
-
*/
|
|
101
|
-
debug?: boolean;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Default: `false`
|
|
105
|
-
*
|
|
106
|
-
* Override any environment variables that have already been set on your machine with values from your .env file.
|
|
107
|
-
*
|
|
108
|
-
* example: `require('dotenv').config({ override: true })`
|
|
109
|
-
*/
|
|
110
|
-
override?: boolean;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export interface DotenvPopulateInput {
|
|
114
|
-
[name: string]: string;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Loads `.env` file contents into process.env by default. If `DOTENV_KEY` is present, it smartly attempts to load encrypted `.env.vault` file contents into process.env.
|
|
119
|
-
*
|
|
120
|
-
* See https://dotenvx.com/docs
|
|
121
|
-
*
|
|
122
|
-
* @param options - additional options. example: `{ path: './custom/path', encoding: 'latin1', quiet: false, debug: true, override: false }`
|
|
123
|
-
* @returns an object with a `parsed` key if successful or `error` key if an error occurred. example: { parsed: { KEY: 'value' } }
|
|
124
|
-
*
|
|
125
|
-
*/
|
|
126
|
-
export function config(options?: DotenvConfigOptions): DotenvConfigOutput;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Loads `.env` file contents into process.env.
|
|
130
|
-
*
|
|
131
|
-
* See https://dotenvx.com/docs
|
|
132
|
-
*
|
|
133
|
-
* @param options - additional options. example: `{ path: './custom/path', encoding: 'latin1', quiet: false, debug: true, override: false }`
|
|
134
|
-
* @returns an object with a `parsed` key if successful or `error` key if an error occurred. example: { parsed: { KEY: 'value' } }
|
|
135
|
-
*
|
|
136
|
-
*/
|
|
137
|
-
export function configDotenv(options?: DotenvConfigOptions): DotenvConfigOutput;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Loads `source` json contents into `target` like process.env.
|
|
141
|
-
*
|
|
142
|
-
* See https://dotenvx.com/docs
|
|
143
|
-
*
|
|
144
|
-
* @param processEnv - the target JSON object. in most cases use process.env but you can also pass your own JSON object
|
|
145
|
-
* @param parsed - the source JSON object
|
|
146
|
-
* @param options - additional options. example: `{ quiet: false, debug: true, override: false }`
|
|
147
|
-
* @returns {void}
|
|
148
|
-
*
|
|
149
|
-
*/
|
|
150
|
-
export function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvConfigOptions): void;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Decrypt ciphertext
|
|
154
|
-
*
|
|
155
|
-
* See https://dotenvx.com/docs
|
|
156
|
-
*
|
|
157
|
-
* @param encrypted - the encrypted ciphertext string
|
|
158
|
-
* @param keyStr - the decryption key string
|
|
159
|
-
* @returns {string}
|
|
160
|
-
*
|
|
161
|
-
*/
|
|
162
|
-
export function decrypt(encrypted: string, keyStr: string): string;
|
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
const fs = require('fs')
|
|
2
|
-
const path = require('path')
|
|
3
|
-
const os = require('os')
|
|
4
|
-
const crypto = require('crypto')
|
|
5
|
-
const packageJson = require('../package.json')
|
|
6
|
-
|
|
7
|
-
const version = packageJson.version
|
|
8
|
-
|
|
9
|
-
const LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg
|
|
10
|
-
|
|
11
|
-
// Parse src into an Object
|
|
12
|
-
function parse (src) {
|
|
13
|
-
const obj = {}
|
|
14
|
-
|
|
15
|
-
// Convert buffer to string
|
|
16
|
-
let lines = src.toString()
|
|
17
|
-
|
|
18
|
-
// Convert line breaks to same format
|
|
19
|
-
lines = lines.replace(/\r\n?/mg, '\n')
|
|
20
|
-
|
|
21
|
-
let match
|
|
22
|
-
while ((match = LINE.exec(lines)) != null) {
|
|
23
|
-
const key = match[1]
|
|
24
|
-
|
|
25
|
-
// Default undefined or null to empty string
|
|
26
|
-
let value = (match[2] || '')
|
|
27
|
-
|
|
28
|
-
// Remove whitespace
|
|
29
|
-
value = value.trim()
|
|
30
|
-
|
|
31
|
-
// Check if double quoted
|
|
32
|
-
const maybeQuote = value[0]
|
|
33
|
-
|
|
34
|
-
// Remove surrounding quotes
|
|
35
|
-
value = value.replace(/^(['"`])([\s\S]*)\1$/mg, '$2')
|
|
36
|
-
|
|
37
|
-
// Expand newlines if double quoted
|
|
38
|
-
if (maybeQuote === '"') {
|
|
39
|
-
value = value.replace(/\\n/g, '\n')
|
|
40
|
-
value = value.replace(/\\r/g, '\r')
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Add to object
|
|
44
|
-
obj[key] = value
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
return obj
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function _parseVault (options) {
|
|
51
|
-
options = options || {}
|
|
52
|
-
|
|
53
|
-
const vaultPath = _vaultPath(options)
|
|
54
|
-
options.path = vaultPath // parse .env.vault
|
|
55
|
-
const result = DotenvModule.configDotenv(options)
|
|
56
|
-
if (!result.parsed) {
|
|
57
|
-
const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`)
|
|
58
|
-
err.code = 'MISSING_DATA'
|
|
59
|
-
throw err
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// handle scenario for comma separated keys - for use with key rotation
|
|
63
|
-
// example: DOTENV_KEY="dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=prod,dotenv://:key_7890@dotenvx.com/vault/.env.vault?environment=prod"
|
|
64
|
-
const keys = _dotenvKey(options).split(',')
|
|
65
|
-
const length = keys.length
|
|
66
|
-
|
|
67
|
-
let decrypted
|
|
68
|
-
for (let i = 0; i < length; i++) {
|
|
69
|
-
try {
|
|
70
|
-
// Get full key
|
|
71
|
-
const key = keys[i].trim()
|
|
72
|
-
|
|
73
|
-
// Get instructions for decrypt
|
|
74
|
-
const attrs = _instructions(result, key)
|
|
75
|
-
|
|
76
|
-
// Decrypt
|
|
77
|
-
decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key)
|
|
78
|
-
|
|
79
|
-
break
|
|
80
|
-
} catch (error) {
|
|
81
|
-
// last key
|
|
82
|
-
if (i + 1 >= length) {
|
|
83
|
-
throw error
|
|
84
|
-
}
|
|
85
|
-
// try next key
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Parse decrypted .env string
|
|
90
|
-
return DotenvModule.parse(decrypted)
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
function _warn (message) {
|
|
94
|
-
console.log(`[dotenv@${version}][WARN] ${message}`)
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
function _debug (message) {
|
|
98
|
-
console.log(`[dotenv@${version}][DEBUG] ${message}`)
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
function _log (message) {
|
|
102
|
-
console.log(`[dotenv@${version}] ${message}`)
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
function _dotenvKey (options) {
|
|
106
|
-
// prioritize developer directly setting options.DOTENV_KEY
|
|
107
|
-
if (options && options.DOTENV_KEY && options.DOTENV_KEY.length > 0) {
|
|
108
|
-
return options.DOTENV_KEY
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// secondary infra already contains a DOTENV_KEY environment variable
|
|
112
|
-
if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) {
|
|
113
|
-
return process.env.DOTENV_KEY
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// fallback to empty string
|
|
117
|
-
return ''
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
function _instructions (result, dotenvKey) {
|
|
121
|
-
// Parse DOTENV_KEY. Format is a URI
|
|
122
|
-
let uri
|
|
123
|
-
try {
|
|
124
|
-
uri = new URL(dotenvKey)
|
|
125
|
-
} catch (error) {
|
|
126
|
-
if (error.code === 'ERR_INVALID_URL') {
|
|
127
|
-
const err = new Error('INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development')
|
|
128
|
-
err.code = 'INVALID_DOTENV_KEY'
|
|
129
|
-
throw err
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
throw error
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Get decrypt key
|
|
136
|
-
const key = uri.password
|
|
137
|
-
if (!key) {
|
|
138
|
-
const err = new Error('INVALID_DOTENV_KEY: Missing key part')
|
|
139
|
-
err.code = 'INVALID_DOTENV_KEY'
|
|
140
|
-
throw err
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Get environment
|
|
144
|
-
const environment = uri.searchParams.get('environment')
|
|
145
|
-
if (!environment) {
|
|
146
|
-
const err = new Error('INVALID_DOTENV_KEY: Missing environment part')
|
|
147
|
-
err.code = 'INVALID_DOTENV_KEY'
|
|
148
|
-
throw err
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
// Get ciphertext payload
|
|
152
|
-
const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`
|
|
153
|
-
const ciphertext = result.parsed[environmentKey] // DOTENV_VAULT_PRODUCTION
|
|
154
|
-
if (!ciphertext) {
|
|
155
|
-
const err = new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`)
|
|
156
|
-
err.code = 'NOT_FOUND_DOTENV_ENVIRONMENT'
|
|
157
|
-
throw err
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
return { ciphertext, key }
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
function _vaultPath (options) {
|
|
164
|
-
let possibleVaultPath = null
|
|
165
|
-
|
|
166
|
-
if (options && options.path && options.path.length > 0) {
|
|
167
|
-
if (Array.isArray(options.path)) {
|
|
168
|
-
for (const filepath of options.path) {
|
|
169
|
-
if (fs.existsSync(filepath)) {
|
|
170
|
-
possibleVaultPath = filepath.endsWith('.vault') ? filepath : `${filepath}.vault`
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
} else {
|
|
174
|
-
possibleVaultPath = options.path.endsWith('.vault') ? options.path : `${options.path}.vault`
|
|
175
|
-
}
|
|
176
|
-
} else {
|
|
177
|
-
possibleVaultPath = path.resolve(process.cwd(), '.env.vault')
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
if (fs.existsSync(possibleVaultPath)) {
|
|
181
|
-
return possibleVaultPath
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
return null
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
function _resolveHome (envPath) {
|
|
188
|
-
return envPath[0] === '~' ? path.join(os.homedir(), envPath.slice(1)) : envPath
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
function _configVault (options) {
|
|
192
|
-
const debug = Boolean(options && options.debug)
|
|
193
|
-
const quiet = options && 'quiet' in options ? options.quiet : true
|
|
194
|
-
|
|
195
|
-
if (debug || !quiet) {
|
|
196
|
-
_log('Loading env from encrypted .env.vault')
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
const parsed = DotenvModule._parseVault(options)
|
|
200
|
-
|
|
201
|
-
let processEnv = process.env
|
|
202
|
-
if (options && options.processEnv != null) {
|
|
203
|
-
processEnv = options.processEnv
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
DotenvModule.populate(processEnv, parsed, options)
|
|
207
|
-
|
|
208
|
-
return { parsed }
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
function configDotenv (options) {
|
|
212
|
-
const dotenvPath = path.resolve(process.cwd(), '.env')
|
|
213
|
-
let encoding = 'utf8'
|
|
214
|
-
const debug = Boolean(options && options.debug)
|
|
215
|
-
const quiet = options && 'quiet' in options ? options.quiet : true
|
|
216
|
-
|
|
217
|
-
if (options && options.encoding) {
|
|
218
|
-
encoding = options.encoding
|
|
219
|
-
} else {
|
|
220
|
-
if (debug) {
|
|
221
|
-
_debug('No encoding is specified. UTF-8 is used by default')
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
let optionPaths = [dotenvPath] // default, look for .env
|
|
226
|
-
if (options && options.path) {
|
|
227
|
-
if (!Array.isArray(options.path)) {
|
|
228
|
-
optionPaths = [_resolveHome(options.path)]
|
|
229
|
-
} else {
|
|
230
|
-
optionPaths = [] // reset default
|
|
231
|
-
for (const filepath of options.path) {
|
|
232
|
-
optionPaths.push(_resolveHome(filepath))
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
// Build the parsed data in a temporary object (because we need to return it). Once we have the final
|
|
238
|
-
// parsed data, we will combine it with process.env (or options.processEnv if provided).
|
|
239
|
-
let lastError
|
|
240
|
-
const parsedAll = {}
|
|
241
|
-
for (const path of optionPaths) {
|
|
242
|
-
try {
|
|
243
|
-
// Specifying an encoding returns a string instead of a buffer
|
|
244
|
-
const parsed = DotenvModule.parse(fs.readFileSync(path, { encoding }))
|
|
245
|
-
|
|
246
|
-
DotenvModule.populate(parsedAll, parsed, options)
|
|
247
|
-
} catch (e) {
|
|
248
|
-
if (debug) {
|
|
249
|
-
_debug(`Failed to load ${path} ${e.message}`)
|
|
250
|
-
}
|
|
251
|
-
lastError = e
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
let processEnv = process.env
|
|
256
|
-
if (options && options.processEnv != null) {
|
|
257
|
-
processEnv = options.processEnv
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
DotenvModule.populate(processEnv, parsedAll, options)
|
|
261
|
-
|
|
262
|
-
if (debug || !quiet) {
|
|
263
|
-
const keysCount = Object.keys(parsedAll).length
|
|
264
|
-
const shortPaths = []
|
|
265
|
-
for (const filePath of optionPaths) {
|
|
266
|
-
try {
|
|
267
|
-
const relative = path.relative(process.cwd(), filePath)
|
|
268
|
-
shortPaths.push(relative)
|
|
269
|
-
} catch (e) {
|
|
270
|
-
if (debug) {
|
|
271
|
-
_debug(`Failed to load ${filePath} ${e.message}`)
|
|
272
|
-
}
|
|
273
|
-
lastError = e
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
_log(`injecting env (${keysCount}) from ${shortPaths.join(',')}`)
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
if (lastError) {
|
|
281
|
-
return { parsed: parsedAll, error: lastError }
|
|
282
|
-
} else {
|
|
283
|
-
return { parsed: parsedAll }
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
// Populates process.env from .env file
|
|
288
|
-
function config (options) {
|
|
289
|
-
// fallback to original dotenv if DOTENV_KEY is not set
|
|
290
|
-
if (_dotenvKey(options).length === 0) {
|
|
291
|
-
return DotenvModule.configDotenv(options)
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
const vaultPath = _vaultPath(options)
|
|
295
|
-
|
|
296
|
-
// dotenvKey exists but .env.vault file does not exist
|
|
297
|
-
if (!vaultPath) {
|
|
298
|
-
_warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`)
|
|
299
|
-
|
|
300
|
-
return DotenvModule.configDotenv(options)
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
return DotenvModule._configVault(options)
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
function decrypt (encrypted, keyStr) {
|
|
307
|
-
const key = Buffer.from(keyStr.slice(-64), 'hex')
|
|
308
|
-
let ciphertext = Buffer.from(encrypted, 'base64')
|
|
309
|
-
|
|
310
|
-
const nonce = ciphertext.subarray(0, 12)
|
|
311
|
-
const authTag = ciphertext.subarray(-16)
|
|
312
|
-
ciphertext = ciphertext.subarray(12, -16)
|
|
313
|
-
|
|
314
|
-
try {
|
|
315
|
-
const aesgcm = crypto.createDecipheriv('aes-256-gcm', key, nonce)
|
|
316
|
-
aesgcm.setAuthTag(authTag)
|
|
317
|
-
return `${aesgcm.update(ciphertext)}${aesgcm.final()}`
|
|
318
|
-
} catch (error) {
|
|
319
|
-
const isRange = error instanceof RangeError
|
|
320
|
-
const invalidKeyLength = error.message === 'Invalid key length'
|
|
321
|
-
const decryptionFailed = error.message === 'Unsupported state or unable to authenticate data'
|
|
322
|
-
|
|
323
|
-
if (isRange || invalidKeyLength) {
|
|
324
|
-
const err = new Error('INVALID_DOTENV_KEY: It must be 64 characters long (or more)')
|
|
325
|
-
err.code = 'INVALID_DOTENV_KEY'
|
|
326
|
-
throw err
|
|
327
|
-
} else if (decryptionFailed) {
|
|
328
|
-
const err = new Error('DECRYPTION_FAILED: Please check your DOTENV_KEY')
|
|
329
|
-
err.code = 'DECRYPTION_FAILED'
|
|
330
|
-
throw err
|
|
331
|
-
} else {
|
|
332
|
-
throw error
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
// Populate process.env with parsed values
|
|
338
|
-
function populate (processEnv, parsed, options = {}) {
|
|
339
|
-
const debug = Boolean(options && options.debug)
|
|
340
|
-
const override = Boolean(options && options.override)
|
|
341
|
-
|
|
342
|
-
if (typeof parsed !== 'object') {
|
|
343
|
-
const err = new Error('OBJECT_REQUIRED: Please check the processEnv argument being passed to populate')
|
|
344
|
-
err.code = 'OBJECT_REQUIRED'
|
|
345
|
-
throw err
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
// Set process.env
|
|
349
|
-
for (const key of Object.keys(parsed)) {
|
|
350
|
-
if (Object.prototype.hasOwnProperty.call(processEnv, key)) {
|
|
351
|
-
if (override === true) {
|
|
352
|
-
processEnv[key] = parsed[key]
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
if (debug) {
|
|
356
|
-
if (override === true) {
|
|
357
|
-
_debug(`"${key}" is already defined and WAS overwritten`)
|
|
358
|
-
} else {
|
|
359
|
-
_debug(`"${key}" is already defined and was NOT overwritten`)
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
} else {
|
|
363
|
-
processEnv[key] = parsed[key]
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
const DotenvModule = {
|
|
369
|
-
configDotenv,
|
|
370
|
-
_configVault,
|
|
371
|
-
_parseVault,
|
|
372
|
-
config,
|
|
373
|
-
decrypt,
|
|
374
|
-
parse,
|
|
375
|
-
populate
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
module.exports.configDotenv = DotenvModule.configDotenv
|
|
379
|
-
module.exports._configVault = DotenvModule._configVault
|
|
380
|
-
module.exports._parseVault = DotenvModule._parseVault
|
|
381
|
-
module.exports.config = DotenvModule.config
|
|
382
|
-
module.exports.decrypt = DotenvModule.decrypt
|
|
383
|
-
module.exports.parse = DotenvModule.parse
|
|
384
|
-
module.exports.populate = DotenvModule.populate
|
|
385
|
-
|
|
386
|
-
module.exports = DotenvModule
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Evan Wallace
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|