@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,577 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Clusters of Node.js processes can be used to run multiple instances of Node.js
|
|
3
|
-
* that can distribute workloads among their application threads. When process isolation
|
|
4
|
-
* is not needed, use the [`worker_threads`](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html)
|
|
5
|
-
* module instead, which allows running multiple application threads within a single Node.js instance.
|
|
6
|
-
*
|
|
7
|
-
* The cluster module allows easy creation of child processes that all share
|
|
8
|
-
* server ports.
|
|
9
|
-
*
|
|
10
|
-
* ```js
|
|
11
|
-
* import cluster from 'node:cluster';
|
|
12
|
-
* import http from 'node:http';
|
|
13
|
-
* import { availableParallelism } from 'node:os';
|
|
14
|
-
* import process from 'node:process';
|
|
15
|
-
*
|
|
16
|
-
* const numCPUs = availableParallelism();
|
|
17
|
-
*
|
|
18
|
-
* if (cluster.isPrimary) {
|
|
19
|
-
* console.log(`Primary ${process.pid} is running`);
|
|
20
|
-
*
|
|
21
|
-
* // Fork workers.
|
|
22
|
-
* for (let i = 0; i < numCPUs; i++) {
|
|
23
|
-
* cluster.fork();
|
|
24
|
-
* }
|
|
25
|
-
*
|
|
26
|
-
* cluster.on('exit', (worker, code, signal) => {
|
|
27
|
-
* console.log(`worker ${worker.process.pid} died`);
|
|
28
|
-
* });
|
|
29
|
-
* } else {
|
|
30
|
-
* // Workers can share any TCP connection
|
|
31
|
-
* // In this case it is an HTTP server
|
|
32
|
-
* http.createServer((req, res) => {
|
|
33
|
-
* res.writeHead(200);
|
|
34
|
-
* res.end('hello world\n');
|
|
35
|
-
* }).listen(8000);
|
|
36
|
-
*
|
|
37
|
-
* console.log(`Worker ${process.pid} started`);
|
|
38
|
-
* }
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* Running Node.js will now share port 8000 between the workers:
|
|
42
|
-
*
|
|
43
|
-
* ```console
|
|
44
|
-
* $ node server.js
|
|
45
|
-
* Primary 3596 is running
|
|
46
|
-
* Worker 4324 started
|
|
47
|
-
* Worker 4520 started
|
|
48
|
-
* Worker 6056 started
|
|
49
|
-
* Worker 5644 started
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* On Windows, it is not yet possible to set up a named pipe server in a worker.
|
|
53
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/cluster.js)
|
|
54
|
-
*/
|
|
55
|
-
declare module "cluster" {
|
|
56
|
-
import * as child from "node:child_process";
|
|
57
|
-
import EventEmitter = require("node:events");
|
|
58
|
-
import * as net from "node:net";
|
|
59
|
-
type SerializationType = "json" | "advanced";
|
|
60
|
-
export interface ClusterSettings {
|
|
61
|
-
/**
|
|
62
|
-
* List of string arguments passed to the Node.js executable.
|
|
63
|
-
* @default process.execArgv
|
|
64
|
-
*/
|
|
65
|
-
execArgv?: string[] | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* File path to worker file.
|
|
68
|
-
* @default process.argv[1]
|
|
69
|
-
*/
|
|
70
|
-
exec?: string | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* String arguments passed to worker.
|
|
73
|
-
* @default process.argv.slice(2)
|
|
74
|
-
*/
|
|
75
|
-
args?: readonly string[] | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* Whether or not to send output to parent's stdio.
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
|
-
silent?: boolean | undefined;
|
|
81
|
-
/**
|
|
82
|
-
* Configures the stdio of forked processes. Because the cluster module relies on IPC to function, this configuration must
|
|
83
|
-
* contain an `'ipc'` entry. When this option is provided, it overrides `silent`. See [`child_prcess.spawn()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processspawncommand-args-options)'s
|
|
84
|
-
* [`stdio`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#optionsstdio).
|
|
85
|
-
*/
|
|
86
|
-
stdio?: any[] | undefined;
|
|
87
|
-
/**
|
|
88
|
-
* Sets the user identity of the process. (See [`setuid(2)`](https://man7.org/linux/man-pages/man2/setuid.2.html).)
|
|
89
|
-
*/
|
|
90
|
-
uid?: number | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* Sets the group identity of the process. (See [`setgid(2)`](https://man7.org/linux/man-pages/man2/setgid.2.html).)
|
|
93
|
-
*/
|
|
94
|
-
gid?: number | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Sets inspector port of worker. This can be a number, or a function that takes no arguments and returns a number.
|
|
97
|
-
* By default each worker gets its own port, incremented from the primary's `process.debugPort`.
|
|
98
|
-
*/
|
|
99
|
-
inspectPort?: number | (() => number) | undefined;
|
|
100
|
-
/**
|
|
101
|
-
* Specify the kind of serialization used for sending messages between processes. Possible values are `'json'` and `'advanced'`.
|
|
102
|
-
* See [Advanced serialization for `child_process`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#advanced-serialization) for more details.
|
|
103
|
-
* @default false
|
|
104
|
-
*/
|
|
105
|
-
serialization?: SerializationType | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* Current working directory of the worker process.
|
|
108
|
-
* @default undefined (inherits from parent process)
|
|
109
|
-
*/
|
|
110
|
-
cwd?: string | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* Hide the forked processes console window that would normally be created on Windows systems.
|
|
113
|
-
* @default false
|
|
114
|
-
*/
|
|
115
|
-
windowsHide?: boolean | undefined;
|
|
116
|
-
}
|
|
117
|
-
export interface Address {
|
|
118
|
-
address: string;
|
|
119
|
-
port: number;
|
|
120
|
-
/**
|
|
121
|
-
* The `addressType` is one of:
|
|
122
|
-
*
|
|
123
|
-
* * `4` (TCPv4)
|
|
124
|
-
* * `6` (TCPv6)
|
|
125
|
-
* * `-1` (Unix domain socket)
|
|
126
|
-
* * `'udp4'` or `'udp6'` (UDPv4 or UDPv6)
|
|
127
|
-
*/
|
|
128
|
-
addressType: 4 | 6 | -1 | "udp4" | "udp6";
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* A `Worker` object contains all public information and method about a worker.
|
|
132
|
-
* In the primary it can be obtained using `cluster.workers`. In a worker
|
|
133
|
-
* it can be obtained using `cluster.worker`.
|
|
134
|
-
* @since v0.7.0
|
|
135
|
-
*/
|
|
136
|
-
export class Worker extends EventEmitter {
|
|
137
|
-
/**
|
|
138
|
-
* Each new worker is given its own unique id, this id is stored in the `id`.
|
|
139
|
-
*
|
|
140
|
-
* While a worker is alive, this is the key that indexes it in `cluster.workers`.
|
|
141
|
-
* @since v0.8.0
|
|
142
|
-
*/
|
|
143
|
-
id: number;
|
|
144
|
-
/**
|
|
145
|
-
* All workers are created using [`child_process.fork()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processforkmodulepath-args-options), the returned object
|
|
146
|
-
* from this function is stored as `.process`. In a worker, the global `process` is stored.
|
|
147
|
-
*
|
|
148
|
-
* See: [Child Process module](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processforkmodulepath-args-options).
|
|
149
|
-
*
|
|
150
|
-
* Workers will call `process.exit(0)` if the `'disconnect'` event occurs
|
|
151
|
-
* on `process` and `.exitedAfterDisconnect` is not `true`. This protects against
|
|
152
|
-
* accidental disconnection.
|
|
153
|
-
* @since v0.7.0
|
|
154
|
-
*/
|
|
155
|
-
process: child.ChildProcess;
|
|
156
|
-
/**
|
|
157
|
-
* Send a message to a worker or primary, optionally with a handle.
|
|
158
|
-
*
|
|
159
|
-
* In the primary, this sends a message to a specific worker. It is identical to [`ChildProcess.send()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#subprocesssendmessage-sendhandle-options-callback).
|
|
160
|
-
*
|
|
161
|
-
* In a worker, this sends a message to the primary. It is identical to `process.send()`.
|
|
162
|
-
*
|
|
163
|
-
* This example will echo back all messages from the primary:
|
|
164
|
-
*
|
|
165
|
-
* ```js
|
|
166
|
-
* if (cluster.isPrimary) {
|
|
167
|
-
* const worker = cluster.fork();
|
|
168
|
-
* worker.send('hi there');
|
|
169
|
-
*
|
|
170
|
-
* } else if (cluster.isWorker) {
|
|
171
|
-
* process.on('message', (msg) => {
|
|
172
|
-
* process.send(msg);
|
|
173
|
-
* });
|
|
174
|
-
* }
|
|
175
|
-
* ```
|
|
176
|
-
* @since v0.7.0
|
|
177
|
-
* @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles.
|
|
178
|
-
*/
|
|
179
|
-
send(message: child.Serializable, callback?: (error: Error | null) => void): boolean;
|
|
180
|
-
send(
|
|
181
|
-
message: child.Serializable,
|
|
182
|
-
sendHandle: child.SendHandle,
|
|
183
|
-
callback?: (error: Error | null) => void,
|
|
184
|
-
): boolean;
|
|
185
|
-
send(
|
|
186
|
-
message: child.Serializable,
|
|
187
|
-
sendHandle: child.SendHandle,
|
|
188
|
-
options?: child.MessageOptions,
|
|
189
|
-
callback?: (error: Error | null) => void,
|
|
190
|
-
): boolean;
|
|
191
|
-
/**
|
|
192
|
-
* This function will kill the worker. In the primary worker, it does this by
|
|
193
|
-
* disconnecting the `worker.process`, and once disconnected, killing with `signal`. In the worker, it does it by killing the process with `signal`.
|
|
194
|
-
*
|
|
195
|
-
* The `kill()` function kills the worker process without waiting for a graceful
|
|
196
|
-
* disconnect, it has the same behavior as `worker.process.kill()`.
|
|
197
|
-
*
|
|
198
|
-
* This method is aliased as `worker.destroy()` for backwards compatibility.
|
|
199
|
-
*
|
|
200
|
-
* In a worker, `process.kill()` exists, but it is not this function;
|
|
201
|
-
* it is [`kill()`](https://nodejs.org/docs/latest-v20.x/api/process.html#processkillpid-signal).
|
|
202
|
-
* @since v0.9.12
|
|
203
|
-
* @param [signal='SIGTERM'] Name of the kill signal to send to the worker process.
|
|
204
|
-
*/
|
|
205
|
-
kill(signal?: string): void;
|
|
206
|
-
destroy(signal?: string): void;
|
|
207
|
-
/**
|
|
208
|
-
* In a worker, this function will close all servers, wait for the `'close'` event
|
|
209
|
-
* on those servers, and then disconnect the IPC channel.
|
|
210
|
-
*
|
|
211
|
-
* In the primary, an internal message is sent to the worker causing it to call `.disconnect()` on itself.
|
|
212
|
-
*
|
|
213
|
-
* Causes `.exitedAfterDisconnect` to be set.
|
|
214
|
-
*
|
|
215
|
-
* After a server is closed, it will no longer accept new connections,
|
|
216
|
-
* but connections may be accepted by any other listening worker. Existing
|
|
217
|
-
* connections will be allowed to close as usual. When no more connections exist,
|
|
218
|
-
* see `server.close()`, the IPC channel to the worker will close allowing it
|
|
219
|
-
* to die gracefully.
|
|
220
|
-
*
|
|
221
|
-
* The above applies _only_ to server connections, client connections are not
|
|
222
|
-
* automatically closed by workers, and disconnect does not wait for them to close
|
|
223
|
-
* before exiting.
|
|
224
|
-
*
|
|
225
|
-
* In a worker, `process.disconnect` exists, but it is not this function;
|
|
226
|
-
* it is `disconnect()`.
|
|
227
|
-
*
|
|
228
|
-
* Because long living server connections may block workers from disconnecting, it
|
|
229
|
-
* may be useful to send a message, so application specific actions may be taken to
|
|
230
|
-
* close them. It also may be useful to implement a timeout, killing a worker if
|
|
231
|
-
* the `'disconnect'` event has not been emitted after some time.
|
|
232
|
-
*
|
|
233
|
-
* ```js
|
|
234
|
-
* import net from 'node:net';
|
|
235
|
-
* if (cluster.isPrimary) {
|
|
236
|
-
* const worker = cluster.fork();
|
|
237
|
-
* let timeout;
|
|
238
|
-
*
|
|
239
|
-
* worker.on('listening', (address) => {
|
|
240
|
-
* worker.send('shutdown');
|
|
241
|
-
* worker.disconnect();
|
|
242
|
-
* timeout = setTimeout(() => {
|
|
243
|
-
* worker.kill();
|
|
244
|
-
* }, 2000);
|
|
245
|
-
* });
|
|
246
|
-
*
|
|
247
|
-
* worker.on('disconnect', () => {
|
|
248
|
-
* clearTimeout(timeout);
|
|
249
|
-
* });
|
|
250
|
-
*
|
|
251
|
-
* } else if (cluster.isWorker) {
|
|
252
|
-
* const server = net.createServer((socket) => {
|
|
253
|
-
* // Connections never end
|
|
254
|
-
* });
|
|
255
|
-
*
|
|
256
|
-
* server.listen(8000);
|
|
257
|
-
*
|
|
258
|
-
* process.on('message', (msg) => {
|
|
259
|
-
* if (msg === 'shutdown') {
|
|
260
|
-
* // Initiate graceful close of any connections to server
|
|
261
|
-
* }
|
|
262
|
-
* });
|
|
263
|
-
* }
|
|
264
|
-
* ```
|
|
265
|
-
* @since v0.7.7
|
|
266
|
-
* @return A reference to `worker`.
|
|
267
|
-
*/
|
|
268
|
-
disconnect(): this;
|
|
269
|
-
/**
|
|
270
|
-
* This function returns `true` if the worker is connected to its primary via its
|
|
271
|
-
* IPC channel, `false` otherwise. A worker is connected to its primary after it
|
|
272
|
-
* has been created. It is disconnected after the `'disconnect'` event is emitted.
|
|
273
|
-
* @since v0.11.14
|
|
274
|
-
*/
|
|
275
|
-
isConnected(): boolean;
|
|
276
|
-
/**
|
|
277
|
-
* This function returns `true` if the worker's process has terminated (either
|
|
278
|
-
* because of exiting or being signaled). Otherwise, it returns `false`.
|
|
279
|
-
*
|
|
280
|
-
* ```js
|
|
281
|
-
* import cluster from 'node:cluster';
|
|
282
|
-
* import http from 'node:http';
|
|
283
|
-
* import { availableParallelism } from 'node:os';
|
|
284
|
-
* import process from 'node:process';
|
|
285
|
-
*
|
|
286
|
-
* const numCPUs = availableParallelism();
|
|
287
|
-
*
|
|
288
|
-
* if (cluster.isPrimary) {
|
|
289
|
-
* console.log(`Primary ${process.pid} is running`);
|
|
290
|
-
*
|
|
291
|
-
* // Fork workers.
|
|
292
|
-
* for (let i = 0; i < numCPUs; i++) {
|
|
293
|
-
* cluster.fork();
|
|
294
|
-
* }
|
|
295
|
-
*
|
|
296
|
-
* cluster.on('fork', (worker) => {
|
|
297
|
-
* console.log('worker is dead:', worker.isDead());
|
|
298
|
-
* });
|
|
299
|
-
*
|
|
300
|
-
* cluster.on('exit', (worker, code, signal) => {
|
|
301
|
-
* console.log('worker is dead:', worker.isDead());
|
|
302
|
-
* });
|
|
303
|
-
* } else {
|
|
304
|
-
* // Workers can share any TCP connection. In this case, it is an HTTP server.
|
|
305
|
-
* http.createServer((req, res) => {
|
|
306
|
-
* res.writeHead(200);
|
|
307
|
-
* res.end(`Current process\n ${process.pid}`);
|
|
308
|
-
* process.kill(process.pid);
|
|
309
|
-
* }).listen(8000);
|
|
310
|
-
* }
|
|
311
|
-
* ```
|
|
312
|
-
* @since v0.11.14
|
|
313
|
-
*/
|
|
314
|
-
isDead(): boolean;
|
|
315
|
-
/**
|
|
316
|
-
* This property is `true` if the worker exited due to `.disconnect()`.
|
|
317
|
-
* If the worker exited any other way, it is `false`. If the
|
|
318
|
-
* worker has not exited, it is `undefined`.
|
|
319
|
-
*
|
|
320
|
-
* The boolean `worker.exitedAfterDisconnect` allows distinguishing between
|
|
321
|
-
* voluntary and accidental exit, the primary may choose not to respawn a worker
|
|
322
|
-
* based on this value.
|
|
323
|
-
*
|
|
324
|
-
* ```js
|
|
325
|
-
* cluster.on('exit', (worker, code, signal) => {
|
|
326
|
-
* if (worker.exitedAfterDisconnect === true) {
|
|
327
|
-
* console.log('Oh, it was just voluntary – no need to worry');
|
|
328
|
-
* }
|
|
329
|
-
* });
|
|
330
|
-
*
|
|
331
|
-
* // kill worker
|
|
332
|
-
* worker.kill();
|
|
333
|
-
* ```
|
|
334
|
-
* @since v6.0.0
|
|
335
|
-
*/
|
|
336
|
-
exitedAfterDisconnect: boolean;
|
|
337
|
-
/**
|
|
338
|
-
* events.EventEmitter
|
|
339
|
-
* 1. disconnect
|
|
340
|
-
* 2. error
|
|
341
|
-
* 3. exit
|
|
342
|
-
* 4. listening
|
|
343
|
-
* 5. message
|
|
344
|
-
* 6. online
|
|
345
|
-
*/
|
|
346
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
347
|
-
addListener(event: "disconnect", listener: () => void): this;
|
|
348
|
-
addListener(event: "error", listener: (error: Error) => void): this;
|
|
349
|
-
addListener(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
350
|
-
addListener(event: "listening", listener: (address: Address) => void): this;
|
|
351
|
-
addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
352
|
-
addListener(event: "online", listener: () => void): this;
|
|
353
|
-
emit(event: string | symbol, ...args: any[]): boolean;
|
|
354
|
-
emit(event: "disconnect"): boolean;
|
|
355
|
-
emit(event: "error", error: Error): boolean;
|
|
356
|
-
emit(event: "exit", code: number, signal: string): boolean;
|
|
357
|
-
emit(event: "listening", address: Address): boolean;
|
|
358
|
-
emit(event: "message", message: any, handle: net.Socket | net.Server): boolean;
|
|
359
|
-
emit(event: "online"): boolean;
|
|
360
|
-
on(event: string, listener: (...args: any[]) => void): this;
|
|
361
|
-
on(event: "disconnect", listener: () => void): this;
|
|
362
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
363
|
-
on(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
364
|
-
on(event: "listening", listener: (address: Address) => void): this;
|
|
365
|
-
on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
366
|
-
on(event: "online", listener: () => void): this;
|
|
367
|
-
once(event: string, listener: (...args: any[]) => void): this;
|
|
368
|
-
once(event: "disconnect", listener: () => void): this;
|
|
369
|
-
once(event: "error", listener: (error: Error) => void): this;
|
|
370
|
-
once(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
371
|
-
once(event: "listening", listener: (address: Address) => void): this;
|
|
372
|
-
once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
373
|
-
once(event: "online", listener: () => void): this;
|
|
374
|
-
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
375
|
-
prependListener(event: "disconnect", listener: () => void): this;
|
|
376
|
-
prependListener(event: "error", listener: (error: Error) => void): this;
|
|
377
|
-
prependListener(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
378
|
-
prependListener(event: "listening", listener: (address: Address) => void): this;
|
|
379
|
-
prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
380
|
-
prependListener(event: "online", listener: () => void): this;
|
|
381
|
-
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
382
|
-
prependOnceListener(event: "disconnect", listener: () => void): this;
|
|
383
|
-
prependOnceListener(event: "error", listener: (error: Error) => void): this;
|
|
384
|
-
prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this;
|
|
385
|
-
prependOnceListener(event: "listening", listener: (address: Address) => void): this;
|
|
386
|
-
prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
387
|
-
prependOnceListener(event: "online", listener: () => void): this;
|
|
388
|
-
}
|
|
389
|
-
export interface Cluster extends EventEmitter {
|
|
390
|
-
disconnect(callback?: () => void): void;
|
|
391
|
-
/**
|
|
392
|
-
* Spawn a new worker process.
|
|
393
|
-
*
|
|
394
|
-
* This can only be called from the primary process.
|
|
395
|
-
* @param env Key/value pairs to add to worker process environment.
|
|
396
|
-
* @since v0.6.0
|
|
397
|
-
*/
|
|
398
|
-
fork(env?: any): Worker;
|
|
399
|
-
/** @deprecated since v16.0.0 - use isPrimary. */
|
|
400
|
-
readonly isMaster: boolean;
|
|
401
|
-
/**
|
|
402
|
-
* True if the process is a primary. This is determined by the `process.env.NODE_UNIQUE_ID`. If `process.env.NODE_UNIQUE_ID`
|
|
403
|
-
* is undefined, then `isPrimary` is `true`.
|
|
404
|
-
* @since v16.0.0
|
|
405
|
-
*/
|
|
406
|
-
readonly isPrimary: boolean;
|
|
407
|
-
/**
|
|
408
|
-
* True if the process is not a primary (it is the negation of `cluster.isPrimary`).
|
|
409
|
-
* @since v0.6.0
|
|
410
|
-
*/
|
|
411
|
-
readonly isWorker: boolean;
|
|
412
|
-
/**
|
|
413
|
-
* The scheduling policy, either `cluster.SCHED_RR` for round-robin or `cluster.SCHED_NONE` to leave it to the operating system. This is a
|
|
414
|
-
* global setting and effectively frozen once either the first worker is spawned, or [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings)
|
|
415
|
-
* is called, whichever comes first.
|
|
416
|
-
*
|
|
417
|
-
* `SCHED_RR` is the default on all operating systems except Windows. Windows will change to `SCHED_RR` once libuv is able to effectively distribute
|
|
418
|
-
* IOCP handles without incurring a large performance hit.
|
|
419
|
-
*
|
|
420
|
-
* `cluster.schedulingPolicy` can also be set through the `NODE_CLUSTER_SCHED_POLICY` environment variable. Valid values are `'rr'` and `'none'`.
|
|
421
|
-
* @since v0.11.2
|
|
422
|
-
*/
|
|
423
|
-
schedulingPolicy: number;
|
|
424
|
-
/**
|
|
425
|
-
* After calling [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings)
|
|
426
|
-
* (or [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv)) this settings object will contain
|
|
427
|
-
* the settings, including the default values.
|
|
428
|
-
*
|
|
429
|
-
* This object is not intended to be changed or set manually.
|
|
430
|
-
* @since v0.7.1
|
|
431
|
-
*/
|
|
432
|
-
readonly settings: ClusterSettings;
|
|
433
|
-
/** @deprecated since v16.0.0 - use [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings) instead. */
|
|
434
|
-
setupMaster(settings?: ClusterSettings): void;
|
|
435
|
-
/**
|
|
436
|
-
* `setupPrimary` is used to change the default 'fork' behavior. Once called, the settings will be present in `cluster.settings`.
|
|
437
|
-
*
|
|
438
|
-
* Any settings changes only affect future calls to [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv)
|
|
439
|
-
* and have no effect on workers that are already running.
|
|
440
|
-
*
|
|
441
|
-
* The only attribute of a worker that cannot be set via `.setupPrimary()` is the `env` passed to
|
|
442
|
-
* [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv).
|
|
443
|
-
*
|
|
444
|
-
* The defaults above apply to the first call only; the defaults for later calls are the current values at the time of
|
|
445
|
-
* `cluster.setupPrimary()` is called.
|
|
446
|
-
*
|
|
447
|
-
* ```js
|
|
448
|
-
* import cluster from 'node:cluster';
|
|
449
|
-
*
|
|
450
|
-
* cluster.setupPrimary({
|
|
451
|
-
* exec: 'worker.js',
|
|
452
|
-
* args: ['--use', 'https'],
|
|
453
|
-
* silent: true,
|
|
454
|
-
* });
|
|
455
|
-
* cluster.fork(); // https worker
|
|
456
|
-
* cluster.setupPrimary({
|
|
457
|
-
* exec: 'worker.js',
|
|
458
|
-
* args: ['--use', 'http'],
|
|
459
|
-
* });
|
|
460
|
-
* cluster.fork(); // http worker
|
|
461
|
-
* ```
|
|
462
|
-
*
|
|
463
|
-
* This can only be called from the primary process.
|
|
464
|
-
* @since v16.0.0
|
|
465
|
-
*/
|
|
466
|
-
setupPrimary(settings?: ClusterSettings): void;
|
|
467
|
-
/**
|
|
468
|
-
* A reference to the current worker object. Not available in the primary process.
|
|
469
|
-
*
|
|
470
|
-
* ```js
|
|
471
|
-
* import cluster from 'node:cluster';
|
|
472
|
-
*
|
|
473
|
-
* if (cluster.isPrimary) {
|
|
474
|
-
* console.log('I am primary');
|
|
475
|
-
* cluster.fork();
|
|
476
|
-
* cluster.fork();
|
|
477
|
-
* } else if (cluster.isWorker) {
|
|
478
|
-
* console.log(`I am worker #${cluster.worker.id}`);
|
|
479
|
-
* }
|
|
480
|
-
* ```
|
|
481
|
-
* @since v0.7.0
|
|
482
|
-
*/
|
|
483
|
-
readonly worker?: Worker;
|
|
484
|
-
/**
|
|
485
|
-
* A hash that stores the active worker objects, keyed by `id` field. This makes it easy to loop through all the workers. It is only available in the primary process.
|
|
486
|
-
*
|
|
487
|
-
* A worker is removed from `cluster.workers` after the worker has disconnected _and_ exited. The order between these two events cannot be determined in advance. However, it
|
|
488
|
-
* is guaranteed that the removal from the `cluster.workers` list happens before the last `'disconnect'` or `'exit'` event is emitted.
|
|
489
|
-
*
|
|
490
|
-
* ```js
|
|
491
|
-
* import cluster from 'node:cluster';
|
|
492
|
-
*
|
|
493
|
-
* for (const worker of Object.values(cluster.workers)) {
|
|
494
|
-
* worker.send('big announcement to all workers');
|
|
495
|
-
* }
|
|
496
|
-
* ```
|
|
497
|
-
* @since v0.7.0
|
|
498
|
-
*/
|
|
499
|
-
readonly workers?: NodeJS.Dict<Worker>;
|
|
500
|
-
readonly SCHED_NONE: number;
|
|
501
|
-
readonly SCHED_RR: number;
|
|
502
|
-
/**
|
|
503
|
-
* events.EventEmitter
|
|
504
|
-
* 1. disconnect
|
|
505
|
-
* 2. exit
|
|
506
|
-
* 3. fork
|
|
507
|
-
* 4. listening
|
|
508
|
-
* 5. message
|
|
509
|
-
* 6. online
|
|
510
|
-
* 7. setup
|
|
511
|
-
*/
|
|
512
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
513
|
-
addListener(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
514
|
-
addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
515
|
-
addListener(event: "fork", listener: (worker: Worker) => void): this;
|
|
516
|
-
addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
517
|
-
addListener(
|
|
518
|
-
event: "message",
|
|
519
|
-
listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void,
|
|
520
|
-
): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
521
|
-
addListener(event: "online", listener: (worker: Worker) => void): this;
|
|
522
|
-
addListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
523
|
-
emit(event: string | symbol, ...args: any[]): boolean;
|
|
524
|
-
emit(event: "disconnect", worker: Worker): boolean;
|
|
525
|
-
emit(event: "exit", worker: Worker, code: number, signal: string): boolean;
|
|
526
|
-
emit(event: "fork", worker: Worker): boolean;
|
|
527
|
-
emit(event: "listening", worker: Worker, address: Address): boolean;
|
|
528
|
-
emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean;
|
|
529
|
-
emit(event: "online", worker: Worker): boolean;
|
|
530
|
-
emit(event: "setup", settings: ClusterSettings): boolean;
|
|
531
|
-
on(event: string, listener: (...args: any[]) => void): this;
|
|
532
|
-
on(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
533
|
-
on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
534
|
-
on(event: "fork", listener: (worker: Worker) => void): this;
|
|
535
|
-
on(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
536
|
-
on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
537
|
-
on(event: "online", listener: (worker: Worker) => void): this;
|
|
538
|
-
on(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
539
|
-
once(event: string, listener: (...args: any[]) => void): this;
|
|
540
|
-
once(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
541
|
-
once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
542
|
-
once(event: "fork", listener: (worker: Worker) => void): this;
|
|
543
|
-
once(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
544
|
-
once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
545
|
-
once(event: "online", listener: (worker: Worker) => void): this;
|
|
546
|
-
once(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
547
|
-
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
548
|
-
prependListener(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
549
|
-
prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
550
|
-
prependListener(event: "fork", listener: (worker: Worker) => void): this;
|
|
551
|
-
prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
552
|
-
prependListener(
|
|
553
|
-
event: "message",
|
|
554
|
-
listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void,
|
|
555
|
-
): this;
|
|
556
|
-
prependListener(event: "online", listener: (worker: Worker) => void): this;
|
|
557
|
-
prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
558
|
-
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
559
|
-
prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this;
|
|
560
|
-
prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
561
|
-
prependOnceListener(event: "fork", listener: (worker: Worker) => void): this;
|
|
562
|
-
prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
|
|
563
|
-
// the handle is a net.Socket or net.Server object, or undefined.
|
|
564
|
-
prependOnceListener(
|
|
565
|
-
event: "message",
|
|
566
|
-
listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void,
|
|
567
|
-
): this;
|
|
568
|
-
prependOnceListener(event: "online", listener: (worker: Worker) => void): this;
|
|
569
|
-
prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
|
|
570
|
-
}
|
|
571
|
-
const cluster: Cluster;
|
|
572
|
-
export default cluster;
|
|
573
|
-
}
|
|
574
|
-
declare module "node:cluster" {
|
|
575
|
-
export * from "cluster";
|
|
576
|
-
export { default as default } from "cluster";
|
|
577
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Polyfills for the explicit resource management types added in TypeScript 5.2.
|
|
2
|
-
// TODO: remove once this package no longer supports TS 5.1, and replace with a
|
|
3
|
-
// <reference> to TypeScript's disposable library in index.d.ts.
|
|
4
|
-
|
|
5
|
-
interface SymbolConstructor {
|
|
6
|
-
readonly dispose: unique symbol;
|
|
7
|
-
readonly asyncDispose: unique symbol;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface Disposable {
|
|
11
|
-
[Symbol.dispose](): void;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface AsyncDisposable {
|
|
15
|
-
[Symbol.asyncDispose](): PromiseLike<void>;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Declaration files in this directory contain types relating to TypeScript library features
|
|
2
|
-
// that are not included in all TypeScript versions supported by DefinitelyTyped, but
|
|
3
|
-
// which can be made backwards-compatible without needing `typesVersions`.
|
|
4
|
-
// If adding declarations to this directory, please specify which versions of TypeScript require them,
|
|
5
|
-
// so that they can be removed when no longer needed.
|
|
6
|
-
|
|
7
|
-
/// <reference path="disposable.d.ts" />
|
|
8
|
-
/// <reference path="indexable.d.ts" />
|
|
9
|
-
/// <reference path="iterators.d.ts" />
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Polyfill for ES2022's .at() method on string/array prototypes, added to TypeScript in 4.6.
|
|
2
|
-
|
|
3
|
-
interface RelativeIndexable<T> {
|
|
4
|
-
at(index: number): T | undefined;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
interface String extends RelativeIndexable<string> {}
|
|
8
|
-
interface Array<T> extends RelativeIndexable<T> {}
|
|
9
|
-
interface ReadonlyArray<T> extends RelativeIndexable<T> {}
|
|
10
|
-
interface Int8Array extends RelativeIndexable<number> {}
|
|
11
|
-
interface Uint8Array extends RelativeIndexable<number> {}
|
|
12
|
-
interface Uint8ClampedArray extends RelativeIndexable<number> {}
|
|
13
|
-
interface Int16Array extends RelativeIndexable<number> {}
|
|
14
|
-
interface Uint16Array extends RelativeIndexable<number> {}
|
|
15
|
-
interface Int32Array extends RelativeIndexable<number> {}
|
|
16
|
-
interface Uint32Array extends RelativeIndexable<number> {}
|
|
17
|
-
interface Float32Array extends RelativeIndexable<number> {}
|
|
18
|
-
interface Float64Array extends RelativeIndexable<number> {}
|
|
19
|
-
interface BigInt64Array extends RelativeIndexable<bigint> {}
|
|
20
|
-
interface BigUint64Array extends RelativeIndexable<bigint> {}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// Backwards-compatible iterator interfaces, augmented with iterator helper methods by lib.esnext.iterator in TypeScript 5.6.
|
|
2
|
-
// The IterableIterator interface does not contain these methods, which creates assignability issues in places where IteratorObjects
|
|
3
|
-
// are expected (eg. DOM-compatible APIs) if lib.esnext.iterator is loaded.
|
|
4
|
-
// Also ensures that iterators returned by the Node API, which inherit from Iterator.prototype, correctly expose the iterator helper methods
|
|
5
|
-
// if lib.esnext.iterator is loaded.
|
|
6
|
-
// TODO: remove once this package no longer supports TS 5.5, and replace NodeJS.BuiltinIteratorReturn with BuiltinIteratorReturn.
|
|
7
|
-
|
|
8
|
-
// Placeholders for TS <5.6
|
|
9
|
-
interface IteratorObject<T, TReturn, TNext> {}
|
|
10
|
-
interface AsyncIteratorObject<T, TReturn, TNext> {}
|
|
11
|
-
|
|
12
|
-
declare namespace NodeJS {
|
|
13
|
-
// Populate iterator methods for TS <5.6
|
|
14
|
-
interface Iterator<T, TReturn, TNext> extends globalThis.Iterator<T, TReturn, TNext> {}
|
|
15
|
-
interface AsyncIterator<T, TReturn, TNext> extends globalThis.AsyncIterator<T, TReturn, TNext> {}
|
|
16
|
-
|
|
17
|
-
// Polyfill for TS 5.6's instrinsic BuiltinIteratorReturn type, required for DOM-compatible iterators
|
|
18
|
-
type BuiltinIteratorReturn = ReturnType<any[][typeof Symbol.iterator]> extends
|
|
19
|
-
globalThis.Iterator<any, infer TReturn> ? TReturn
|
|
20
|
-
: any;
|
|
21
|
-
}
|