@indiciaosint/sdk 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -34
- package/esm/funcs/infrastructure-scan-ports.d.ts +1 -1
- package/esm/funcs/infrastructure-scan-ports.d.ts.map +1 -1
- package/esm/funcs/infrastructure-scan-ports.js +1 -1
- package/esm/funcs/infrastructure-scan-ports.js.map +1 -1
- package/esm/funcs/infrastructure-search-certificates.d.ts +1 -1
- package/esm/funcs/infrastructure-search-certificates.d.ts.map +1 -1
- package/esm/funcs/infrastructure-search-certificates.js +1 -1
- package/esm/funcs/infrastructure-search-certificates.js.map +1 -1
- package/esm/funcs/infrastructure-search-dns.d.ts +1 -1
- package/esm/funcs/infrastructure-search-dns.d.ts.map +1 -1
- package/esm/funcs/infrastructure-search-dns.js +1 -1
- package/esm/funcs/infrastructure-search-dns.js.map +1 -1
- package/esm/funcs/infrastructure-search-ip-info.d.ts +1 -1
- package/esm/funcs/infrastructure-search-ip-info.d.ts.map +1 -1
- package/esm/funcs/infrastructure-search-ip-info.js +1 -1
- package/esm/funcs/infrastructure-search-ip-info.js.map +1 -1
- package/esm/funcs/infrastructure-search-shodan.d.ts +1 -1
- package/esm/funcs/infrastructure-search-shodan.d.ts.map +1 -1
- package/esm/funcs/infrastructure-search-shodan.js +1 -1
- package/esm/funcs/infrastructure-search-shodan.js.map +1 -1
- package/esm/funcs/infrastructure-search-whois.d.ts +1 -1
- package/esm/funcs/infrastructure-search-whois.d.ts.map +1 -1
- package/esm/funcs/infrastructure-search-whois.js +1 -1
- package/esm/funcs/infrastructure-search-whois.js.map +1 -1
- package/esm/funcs/intelligence-geolocate-media.d.ts +2 -1
- package/esm/funcs/intelligence-geolocate-media.d.ts.map +1 -1
- package/esm/funcs/intelligence-geolocate-media.js +23 -5
- package/esm/funcs/intelligence-geolocate-media.js.map +1 -1
- package/esm/funcs/intelligence-search-address.d.ts +1 -1
- package/esm/funcs/intelligence-search-address.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-address.js +1 -1
- package/esm/funcs/intelligence-search-address.js.map +1 -1
- package/esm/funcs/intelligence-search-email.d.ts +1 -1
- package/esm/funcs/intelligence-search-email.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-email.js +1 -1
- package/esm/funcs/intelligence-search-email.js.map +1 -1
- package/esm/funcs/intelligence-search-face.d.ts +1 -20
- package/esm/funcs/intelligence-search-face.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-face.js +21 -23
- package/esm/funcs/intelligence-search-face.js.map +1 -1
- package/esm/funcs/intelligence-search-gmail.d.ts +1 -1
- package/esm/funcs/intelligence-search-gmail.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-gmail.js +1 -1
- package/esm/funcs/intelligence-search-gmail.js.map +1 -1
- package/esm/funcs/intelligence-search-hudson-rock.d.ts +1 -1
- package/esm/funcs/intelligence-search-hudson-rock.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-hudson-rock.js +1 -1
- package/esm/funcs/intelligence-search-hudson-rock.js.map +1 -1
- package/esm/funcs/intelligence-search-person.d.ts +1 -1
- package/esm/funcs/intelligence-search-person.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-person.js +1 -1
- package/esm/funcs/intelligence-search-person.js.map +1 -1
- package/esm/funcs/intelligence-search-phone.d.ts +1 -1
- package/esm/funcs/intelligence-search-phone.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-phone.js +1 -1
- package/esm/funcs/intelligence-search-phone.js.map +1 -1
- package/esm/funcs/intelligence-search-seon.d.ts +1 -1
- package/esm/funcs/intelligence-search-seon.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-seon.js +1 -1
- package/esm/funcs/intelligence-search-seon.js.map +1 -1
- package/esm/funcs/intelligence-search-web-databases.d.ts +1 -1
- package/esm/funcs/intelligence-search-web-databases.d.ts.map +1 -1
- package/esm/funcs/intelligence-search-web-databases.js +1 -1
- package/esm/funcs/intelligence-search-web-databases.js.map +1 -1
- package/esm/funcs/socials-search-discord.d.ts +1 -1
- package/esm/funcs/socials-search-discord.d.ts.map +1 -1
- package/esm/funcs/socials-search-discord.js +1 -1
- package/esm/funcs/socials-search-discord.js.map +1 -1
- package/esm/funcs/socials-search-github.d.ts +1 -1
- package/esm/funcs/socials-search-github.d.ts.map +1 -1
- package/esm/funcs/socials-search-github.js +1 -1
- package/esm/funcs/socials-search-github.js.map +1 -1
- package/esm/funcs/socials-search-roblox.d.ts +1 -1
- package/esm/funcs/socials-search-roblox.d.ts.map +1 -1
- package/esm/funcs/socials-search-roblox.js +1 -1
- package/esm/funcs/socials-search-roblox.js.map +1 -1
- package/esm/funcs/socials-search-tiktok.d.ts +1 -1
- package/esm/funcs/socials-search-tiktok.d.ts.map +1 -1
- package/esm/funcs/socials-search-tiktok.js +1 -1
- package/esm/funcs/socials-search-tiktok.js.map +1 -1
- package/esm/funcs/socials-search-username.d.ts +1 -1
- package/esm/funcs/socials-search-username.d.ts.map +1 -1
- package/esm/funcs/socials-search-username.js +1 -1
- package/esm/funcs/socials-search-username.js.map +1 -1
- package/esm/funcs/tools-bypass-double-counter.d.ts +1 -1
- package/esm/funcs/tools-bypass-double-counter.d.ts.map +1 -1
- package/esm/funcs/tools-bypass-double-counter.js +1 -1
- package/esm/funcs/tools-bypass-double-counter.js.map +1 -1
- package/esm/funcs/tools-download-intelx-file.d.ts +1 -1
- package/esm/funcs/tools-download-intelx-file.d.ts.map +1 -1
- package/esm/funcs/tools-download-intelx-file.js +1 -1
- package/esm/funcs/tools-download-intelx-file.js.map +1 -1
- package/esm/funcs/tools-lookup-discord-alt.d.ts +1 -1
- package/esm/funcs/tools-lookup-discord-alt.d.ts.map +1 -1
- package/esm/funcs/tools-lookup-discord-alt.js +1 -1
- package/esm/funcs/tools-lookup-discord-alt.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/errors/failed-response-error.d.ts +38 -0
- package/esm/models/errors/failed-response-error.d.ts.map +1 -0
- package/esm/models/errors/{search-discord.js → failed-response-error.js} +12 -6
- package/esm/models/errors/failed-response-error.js.map +1 -0
- package/esm/models/errors/index.d.ts +1 -24
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +1 -24
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/operations/geolocate-media.d.ts +29 -2
- package/esm/models/operations/geolocate-media.d.ts.map +1 -1
- package/esm/models/operations/geolocate-media.js +21 -1
- package/esm/models/operations/geolocate-media.js.map +1 -1
- package/esm/models/operations/lookup-discord-alt.d.ts +0 -36
- package/esm/models/operations/lookup-discord-alt.d.ts.map +1 -1
- package/esm/models/operations/lookup-discord-alt.js +0 -40
- package/esm/models/operations/lookup-discord-alt.js.map +1 -1
- package/esm/models/operations/search-certificates.d.ts +0 -14
- package/esm/models/operations/search-certificates.d.ts.map +1 -1
- package/esm/models/operations/search-certificates.js +0 -26
- package/esm/models/operations/search-certificates.js.map +1 -1
- package/esm/models/operations/search-discord.d.ts +8 -8
- package/esm/models/operations/search-discord.d.ts.map +1 -1
- package/esm/models/operations/search-discord.js +8 -8
- package/esm/models/operations/search-discord.js.map +1 -1
- package/esm/models/operations/search-face.d.ts +17 -2
- package/esm/models/operations/search-face.d.ts.map +1 -1
- package/esm/models/operations/search-face.js +18 -1
- package/esm/models/operations/search-face.js.map +1 -1
- package/esm/models/operations/search-hudson-rock.d.ts +4 -4
- package/esm/models/operations/search-hudson-rock.d.ts.map +1 -1
- package/esm/models/operations/search-hudson-rock.js +4 -4
- package/esm/models/operations/search-hudson-rock.js.map +1 -1
- package/esm/models/operations/search-roblox.d.ts +9 -1
- package/esm/models/operations/search-roblox.d.ts.map +1 -1
- package/esm/models/operations/search-roblox.js +22 -1
- package/esm/models/operations/search-roblox.js.map +1 -1
- package/esm/models/operations/search-username.d.ts +108 -12
- package/esm/models/operations/search-username.d.ts.map +1 -1
- package/esm/models/operations/search-username.js +256 -12
- package/esm/models/operations/search-username.js.map +1 -1
- package/esm/sdk/intelligence.d.ts +1 -19
- package/esm/sdk/intelligence.d.ts.map +1 -1
- package/esm/sdk/intelligence.js +1 -19
- package/esm/sdk/intelligence.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/infrastructure-scan-ports.ts +5 -12
- package/src/funcs/infrastructure-search-certificates.ts +4 -4
- package/src/funcs/infrastructure-search-dns.ts +4 -4
- package/src/funcs/infrastructure-search-ip-info.ts +4 -4
- package/src/funcs/infrastructure-search-shodan.ts +4 -4
- package/src/funcs/infrastructure-search-whois.ts +4 -4
- package/src/funcs/intelligence-geolocate-media.ts +39 -16
- package/src/funcs/intelligence-search-address.ts +4 -4
- package/src/funcs/intelligence-search-email.ts +4 -4
- package/src/funcs/intelligence-search-face.ts +37 -34
- package/src/funcs/intelligence-search-gmail.ts +4 -4
- package/src/funcs/intelligence-search-hudson-rock.ts +4 -4
- package/src/funcs/intelligence-search-person.ts +4 -4
- package/src/funcs/intelligence-search-phone.ts +4 -4
- package/src/funcs/intelligence-search-seon.ts +4 -4
- package/src/funcs/intelligence-search-web-databases.ts +5 -8
- package/src/funcs/socials-search-discord.ts +4 -4
- package/src/funcs/socials-search-github.ts +4 -4
- package/src/funcs/socials-search-roblox.ts +4 -4
- package/src/funcs/socials-search-tiktok.ts +4 -4
- package/src/funcs/socials-search-username.ts +4 -4
- package/src/funcs/tools-bypass-double-counter.ts +4 -4
- package/src/funcs/tools-download-intelx-file.ts +5 -8
- package/src/funcs/tools-lookup-discord-alt.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/models/errors/{search-address.ts → failed-response-error.ts} +22 -10
- package/src/models/errors/index.ts +1 -24
- package/src/models/operations/geolocate-media.ts +55 -3
- package/src/models/operations/lookup-discord-alt.ts +0 -116
- package/src/models/operations/search-certificates.ts +0 -56
- package/src/models/operations/search-discord.ts +22 -16
- package/src/models/operations/search-face.ts +41 -3
- package/src/models/operations/search-hudson-rock.ts +13 -8
- package/src/models/operations/search-roblox.ts +51 -2
- package/src/models/operations/search-username.ts +573 -24
- package/src/sdk/intelligence.ts +1 -19
- package/esm/models/errors/bypass-double-counter.d.ts +0 -26
- package/esm/models/errors/bypass-double-counter.d.ts.map +0 -1
- package/esm/models/errors/bypass-double-counter.js +0 -41
- package/esm/models/errors/bypass-double-counter.js.map +0 -1
- package/esm/models/errors/download-intelx-file.d.ts +0 -49
- package/esm/models/errors/download-intelx-file.d.ts.map +0 -1
- package/esm/models/errors/download-intelx-file.js +0 -75
- package/esm/models/errors/download-intelx-file.js.map +0 -1
- package/esm/models/errors/geolocate-media.d.ts +0 -72
- package/esm/models/errors/geolocate-media.d.ts.map +0 -1
- package/esm/models/errors/geolocate-media.js +0 -109
- package/esm/models/errors/geolocate-media.js.map +0 -1
- package/esm/models/errors/lookup-discord-alt.d.ts +0 -29
- package/esm/models/errors/lookup-discord-alt.d.ts.map +0 -1
- package/esm/models/errors/lookup-discord-alt.js +0 -46
- package/esm/models/errors/lookup-discord-alt.js.map +0 -1
- package/esm/models/errors/scan-ports.d.ts +0 -72
- package/esm/models/errors/scan-ports.d.ts.map +0 -1
- package/esm/models/errors/scan-ports.js +0 -109
- package/esm/models/errors/scan-ports.js.map +0 -1
- package/esm/models/errors/search-address.d.ts +0 -26
- package/esm/models/errors/search-address.d.ts.map +0 -1
- package/esm/models/errors/search-address.js +0 -41
- package/esm/models/errors/search-address.js.map +0 -1
- package/esm/models/errors/search-certificates.d.ts +0 -29
- package/esm/models/errors/search-certificates.d.ts.map +0 -1
- package/esm/models/errors/search-certificates.js +0 -45
- package/esm/models/errors/search-certificates.js.map +0 -1
- package/esm/models/errors/search-discord.d.ts +0 -26
- package/esm/models/errors/search-discord.d.ts.map +0 -1
- package/esm/models/errors/search-discord.js.map +0 -1
- package/esm/models/errors/search-dns.d.ts +0 -26
- package/esm/models/errors/search-dns.d.ts.map +0 -1
- package/esm/models/errors/search-dns.js +0 -41
- package/esm/models/errors/search-dns.js.map +0 -1
- package/esm/models/errors/search-email.d.ts +0 -26
- package/esm/models/errors/search-email.d.ts.map +0 -1
- package/esm/models/errors/search-email.js +0 -41
- package/esm/models/errors/search-email.js.map +0 -1
- package/esm/models/errors/search-face.d.ts +0 -72
- package/esm/models/errors/search-face.d.ts.map +0 -1
- package/esm/models/errors/search-face.js +0 -109
- package/esm/models/errors/search-face.js.map +0 -1
- package/esm/models/errors/search-github.d.ts +0 -26
- package/esm/models/errors/search-github.d.ts.map +0 -1
- package/esm/models/errors/search-github.js +0 -41
- package/esm/models/errors/search-github.js.map +0 -1
- package/esm/models/errors/search-gmail.d.ts +0 -26
- package/esm/models/errors/search-gmail.d.ts.map +0 -1
- package/esm/models/errors/search-gmail.js +0 -41
- package/esm/models/errors/search-gmail.js.map +0 -1
- package/esm/models/errors/search-hudson-rock.d.ts +0 -26
- package/esm/models/errors/search-hudson-rock.d.ts.map +0 -1
- package/esm/models/errors/search-hudson-rock.js +0 -41
- package/esm/models/errors/search-hudson-rock.js.map +0 -1
- package/esm/models/errors/search-ip-info.d.ts +0 -26
- package/esm/models/errors/search-ip-info.d.ts.map +0 -1
- package/esm/models/errors/search-ip-info.js +0 -41
- package/esm/models/errors/search-ip-info.js.map +0 -1
- package/esm/models/errors/search-person.d.ts +0 -26
- package/esm/models/errors/search-person.d.ts.map +0 -1
- package/esm/models/errors/search-person.js +0 -41
- package/esm/models/errors/search-person.js.map +0 -1
- package/esm/models/errors/search-phone.d.ts +0 -26
- package/esm/models/errors/search-phone.d.ts.map +0 -1
- package/esm/models/errors/search-phone.js +0 -41
- package/esm/models/errors/search-phone.js.map +0 -1
- package/esm/models/errors/search-roblox.d.ts +0 -26
- package/esm/models/errors/search-roblox.d.ts.map +0 -1
- package/esm/models/errors/search-roblox.js +0 -41
- package/esm/models/errors/search-roblox.js.map +0 -1
- package/esm/models/errors/search-seon.d.ts +0 -26
- package/esm/models/errors/search-seon.d.ts.map +0 -1
- package/esm/models/errors/search-seon.js +0 -41
- package/esm/models/errors/search-seon.js.map +0 -1
- package/esm/models/errors/search-shodan.d.ts +0 -26
- package/esm/models/errors/search-shodan.d.ts.map +0 -1
- package/esm/models/errors/search-shodan.js +0 -41
- package/esm/models/errors/search-shodan.js.map +0 -1
- package/esm/models/errors/search-tiktok.d.ts +0 -26
- package/esm/models/errors/search-tiktok.d.ts.map +0 -1
- package/esm/models/errors/search-tiktok.js +0 -41
- package/esm/models/errors/search-tiktok.js.map +0 -1
- package/esm/models/errors/search-username.d.ts +0 -26
- package/esm/models/errors/search-username.d.ts.map +0 -1
- package/esm/models/errors/search-username.js +0 -41
- package/esm/models/errors/search-username.js.map +0 -1
- package/esm/models/errors/search-web-databases.d.ts +0 -49
- package/esm/models/errors/search-web-databases.d.ts.map +0 -1
- package/esm/models/errors/search-web-databases.js +0 -75
- package/esm/models/errors/search-web-databases.js.map +0 -1
- package/esm/models/errors/search-whois.d.ts +0 -26
- package/esm/models/errors/search-whois.d.ts.map +0 -1
- package/esm/models/errors/search-whois.js +0 -41
- package/esm/models/errors/search-whois.js.map +0 -1
- package/src/models/errors/bypass-double-counter.ts +0 -60
- package/src/models/errors/download-intelx-file.ts +0 -117
- package/src/models/errors/geolocate-media.ts +0 -172
- package/src/models/errors/lookup-discord-alt.ts +0 -71
- package/src/models/errors/scan-ports.ts +0 -172
- package/src/models/errors/search-certificates.ts +0 -71
- package/src/models/errors/search-discord.ts +0 -62
- package/src/models/errors/search-dns.ts +0 -62
- package/src/models/errors/search-email.ts +0 -62
- package/src/models/errors/search-face.ts +0 -172
- package/src/models/errors/search-github.ts +0 -62
- package/src/models/errors/search-gmail.ts +0 -62
- package/src/models/errors/search-hudson-rock.ts +0 -62
- package/src/models/errors/search-ip-info.ts +0 -62
- package/src/models/errors/search-person.ts +0 -62
- package/src/models/errors/search-phone.ts +0 -62
- package/src/models/errors/search-roblox.ts +0 -62
- package/src/models/errors/search-seon.ts +0 -62
- package/src/models/errors/search-shodan.ts +0 -62
- package/src/models/errors/search-tiktok.ts +0 -62
- package/src/models/errors/search-username.ts +0 -62
- package/src/models/errors/search-web-databases.ts +0 -115
- package/src/models/errors/search-whois.ts +0 -62
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import * as types from "../../types/primitives.js";
|
|
7
|
-
import { IndiciaError } from "./indicia-error.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Internal Server Error
|
|
11
|
-
*/
|
|
12
|
-
export type SearchRobloxInternalServerErrorData = {
|
|
13
|
-
success: boolean;
|
|
14
|
-
error?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Internal Server Error
|
|
19
|
-
*/
|
|
20
|
-
export class SearchRobloxInternalServerError extends IndiciaError {
|
|
21
|
-
success: boolean;
|
|
22
|
-
error?: string | undefined;
|
|
23
|
-
|
|
24
|
-
/** The original data that was passed to this error instance. */
|
|
25
|
-
data$: SearchRobloxInternalServerErrorData;
|
|
26
|
-
|
|
27
|
-
constructor(
|
|
28
|
-
err: SearchRobloxInternalServerErrorData,
|
|
29
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
30
|
-
) {
|
|
31
|
-
const message = "message" in err && typeof err.message === "string"
|
|
32
|
-
? err.message
|
|
33
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
34
|
-
super(message, httpMeta);
|
|
35
|
-
this.data$ = err;
|
|
36
|
-
this.success = err.success;
|
|
37
|
-
if (err.error != null) this.error = err.error;
|
|
38
|
-
|
|
39
|
-
this.name = "SearchRobloxInternalServerError";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const SearchRobloxInternalServerError$inboundSchema: z.ZodMiniType<
|
|
45
|
-
SearchRobloxInternalServerError,
|
|
46
|
-
unknown
|
|
47
|
-
> = z.pipe(
|
|
48
|
-
z.object({
|
|
49
|
-
success: types.boolean(),
|
|
50
|
-
error: types.optional(types.string()),
|
|
51
|
-
request$: z.custom<Request>(x => x instanceof Request),
|
|
52
|
-
response$: z.custom<Response>(x => x instanceof Response),
|
|
53
|
-
body$: z.string(),
|
|
54
|
-
}),
|
|
55
|
-
z.transform((v) => {
|
|
56
|
-
return new SearchRobloxInternalServerError(v, {
|
|
57
|
-
request: v.request$,
|
|
58
|
-
response: v.response$,
|
|
59
|
-
body: v.body$,
|
|
60
|
-
});
|
|
61
|
-
}),
|
|
62
|
-
);
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import * as types from "../../types/primitives.js";
|
|
7
|
-
import { IndiciaError } from "./indicia-error.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Internal Server Error
|
|
11
|
-
*/
|
|
12
|
-
export type SearchSeonInternalServerErrorData = {
|
|
13
|
-
success: boolean;
|
|
14
|
-
error?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Internal Server Error
|
|
19
|
-
*/
|
|
20
|
-
export class SearchSeonInternalServerError extends IndiciaError {
|
|
21
|
-
success: boolean;
|
|
22
|
-
error?: string | undefined;
|
|
23
|
-
|
|
24
|
-
/** The original data that was passed to this error instance. */
|
|
25
|
-
data$: SearchSeonInternalServerErrorData;
|
|
26
|
-
|
|
27
|
-
constructor(
|
|
28
|
-
err: SearchSeonInternalServerErrorData,
|
|
29
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
30
|
-
) {
|
|
31
|
-
const message = "message" in err && typeof err.message === "string"
|
|
32
|
-
? err.message
|
|
33
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
34
|
-
super(message, httpMeta);
|
|
35
|
-
this.data$ = err;
|
|
36
|
-
this.success = err.success;
|
|
37
|
-
if (err.error != null) this.error = err.error;
|
|
38
|
-
|
|
39
|
-
this.name = "SearchSeonInternalServerError";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const SearchSeonInternalServerError$inboundSchema: z.ZodMiniType<
|
|
45
|
-
SearchSeonInternalServerError,
|
|
46
|
-
unknown
|
|
47
|
-
> = z.pipe(
|
|
48
|
-
z.object({
|
|
49
|
-
success: types.boolean(),
|
|
50
|
-
error: types.optional(types.string()),
|
|
51
|
-
request$: z.custom<Request>(x => x instanceof Request),
|
|
52
|
-
response$: z.custom<Response>(x => x instanceof Response),
|
|
53
|
-
body$: z.string(),
|
|
54
|
-
}),
|
|
55
|
-
z.transform((v) => {
|
|
56
|
-
return new SearchSeonInternalServerError(v, {
|
|
57
|
-
request: v.request$,
|
|
58
|
-
response: v.response$,
|
|
59
|
-
body: v.body$,
|
|
60
|
-
});
|
|
61
|
-
}),
|
|
62
|
-
);
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import * as types from "../../types/primitives.js";
|
|
7
|
-
import { IndiciaError } from "./indicia-error.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Internal Server Error
|
|
11
|
-
*/
|
|
12
|
-
export type SearchShodanInternalServerErrorData = {
|
|
13
|
-
success: boolean;
|
|
14
|
-
error?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Internal Server Error
|
|
19
|
-
*/
|
|
20
|
-
export class SearchShodanInternalServerError extends IndiciaError {
|
|
21
|
-
success: boolean;
|
|
22
|
-
error?: string | undefined;
|
|
23
|
-
|
|
24
|
-
/** The original data that was passed to this error instance. */
|
|
25
|
-
data$: SearchShodanInternalServerErrorData;
|
|
26
|
-
|
|
27
|
-
constructor(
|
|
28
|
-
err: SearchShodanInternalServerErrorData,
|
|
29
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
30
|
-
) {
|
|
31
|
-
const message = "message" in err && typeof err.message === "string"
|
|
32
|
-
? err.message
|
|
33
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
34
|
-
super(message, httpMeta);
|
|
35
|
-
this.data$ = err;
|
|
36
|
-
this.success = err.success;
|
|
37
|
-
if (err.error != null) this.error = err.error;
|
|
38
|
-
|
|
39
|
-
this.name = "SearchShodanInternalServerError";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const SearchShodanInternalServerError$inboundSchema: z.ZodMiniType<
|
|
45
|
-
SearchShodanInternalServerError,
|
|
46
|
-
unknown
|
|
47
|
-
> = z.pipe(
|
|
48
|
-
z.object({
|
|
49
|
-
success: types.boolean(),
|
|
50
|
-
error: types.optional(types.string()),
|
|
51
|
-
request$: z.custom<Request>(x => x instanceof Request),
|
|
52
|
-
response$: z.custom<Response>(x => x instanceof Response),
|
|
53
|
-
body$: z.string(),
|
|
54
|
-
}),
|
|
55
|
-
z.transform((v) => {
|
|
56
|
-
return new SearchShodanInternalServerError(v, {
|
|
57
|
-
request: v.request$,
|
|
58
|
-
response: v.response$,
|
|
59
|
-
body: v.body$,
|
|
60
|
-
});
|
|
61
|
-
}),
|
|
62
|
-
);
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import * as types from "../../types/primitives.js";
|
|
7
|
-
import { IndiciaError } from "./indicia-error.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Internal Server Error
|
|
11
|
-
*/
|
|
12
|
-
export type SearchTiktokInternalServerErrorData = {
|
|
13
|
-
success: boolean;
|
|
14
|
-
error?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Internal Server Error
|
|
19
|
-
*/
|
|
20
|
-
export class SearchTiktokInternalServerError extends IndiciaError {
|
|
21
|
-
success: boolean;
|
|
22
|
-
error?: string | undefined;
|
|
23
|
-
|
|
24
|
-
/** The original data that was passed to this error instance. */
|
|
25
|
-
data$: SearchTiktokInternalServerErrorData;
|
|
26
|
-
|
|
27
|
-
constructor(
|
|
28
|
-
err: SearchTiktokInternalServerErrorData,
|
|
29
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
30
|
-
) {
|
|
31
|
-
const message = "message" in err && typeof err.message === "string"
|
|
32
|
-
? err.message
|
|
33
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
34
|
-
super(message, httpMeta);
|
|
35
|
-
this.data$ = err;
|
|
36
|
-
this.success = err.success;
|
|
37
|
-
if (err.error != null) this.error = err.error;
|
|
38
|
-
|
|
39
|
-
this.name = "SearchTiktokInternalServerError";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const SearchTiktokInternalServerError$inboundSchema: z.ZodMiniType<
|
|
45
|
-
SearchTiktokInternalServerError,
|
|
46
|
-
unknown
|
|
47
|
-
> = z.pipe(
|
|
48
|
-
z.object({
|
|
49
|
-
success: types.boolean(),
|
|
50
|
-
error: types.optional(types.string()),
|
|
51
|
-
request$: z.custom<Request>(x => x instanceof Request),
|
|
52
|
-
response$: z.custom<Response>(x => x instanceof Response),
|
|
53
|
-
body$: z.string(),
|
|
54
|
-
}),
|
|
55
|
-
z.transform((v) => {
|
|
56
|
-
return new SearchTiktokInternalServerError(v, {
|
|
57
|
-
request: v.request$,
|
|
58
|
-
response: v.response$,
|
|
59
|
-
body: v.body$,
|
|
60
|
-
});
|
|
61
|
-
}),
|
|
62
|
-
);
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import * as types from "../../types/primitives.js";
|
|
7
|
-
import { IndiciaError } from "./indicia-error.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Internal Server Error
|
|
11
|
-
*/
|
|
12
|
-
export type SearchUsernameInternalServerErrorData = {
|
|
13
|
-
success: boolean;
|
|
14
|
-
error?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Internal Server Error
|
|
19
|
-
*/
|
|
20
|
-
export class SearchUsernameInternalServerError extends IndiciaError {
|
|
21
|
-
success: boolean;
|
|
22
|
-
error?: string | undefined;
|
|
23
|
-
|
|
24
|
-
/** The original data that was passed to this error instance. */
|
|
25
|
-
data$: SearchUsernameInternalServerErrorData;
|
|
26
|
-
|
|
27
|
-
constructor(
|
|
28
|
-
err: SearchUsernameInternalServerErrorData,
|
|
29
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
30
|
-
) {
|
|
31
|
-
const message = "message" in err && typeof err.message === "string"
|
|
32
|
-
? err.message
|
|
33
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
34
|
-
super(message, httpMeta);
|
|
35
|
-
this.data$ = err;
|
|
36
|
-
this.success = err.success;
|
|
37
|
-
if (err.error != null) this.error = err.error;
|
|
38
|
-
|
|
39
|
-
this.name = "SearchUsernameInternalServerError";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const SearchUsernameInternalServerError$inboundSchema: z.ZodMiniType<
|
|
45
|
-
SearchUsernameInternalServerError,
|
|
46
|
-
unknown
|
|
47
|
-
> = z.pipe(
|
|
48
|
-
z.object({
|
|
49
|
-
success: types.boolean(),
|
|
50
|
-
error: types.optional(types.string()),
|
|
51
|
-
request$: z.custom<Request>(x => x instanceof Request),
|
|
52
|
-
response$: z.custom<Response>(x => x instanceof Response),
|
|
53
|
-
body$: z.string(),
|
|
54
|
-
}),
|
|
55
|
-
z.transform((v) => {
|
|
56
|
-
return new SearchUsernameInternalServerError(v, {
|
|
57
|
-
request: v.request$,
|
|
58
|
-
response: v.response$,
|
|
59
|
-
body: v.body$,
|
|
60
|
-
});
|
|
61
|
-
}),
|
|
62
|
-
);
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import * as types from "../../types/primitives.js";
|
|
7
|
-
import { IndiciaError } from "./indicia-error.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Internal Server Error
|
|
11
|
-
*/
|
|
12
|
-
export type SearchWebDatabasesInternalServerErrorData = {
|
|
13
|
-
success: boolean;
|
|
14
|
-
error?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Internal Server Error
|
|
19
|
-
*/
|
|
20
|
-
export class SearchWebDatabasesInternalServerError extends IndiciaError {
|
|
21
|
-
success: boolean;
|
|
22
|
-
error?: string | undefined;
|
|
23
|
-
|
|
24
|
-
/** The original data that was passed to this error instance. */
|
|
25
|
-
data$: SearchWebDatabasesInternalServerErrorData;
|
|
26
|
-
|
|
27
|
-
constructor(
|
|
28
|
-
err: SearchWebDatabasesInternalServerErrorData,
|
|
29
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
30
|
-
) {
|
|
31
|
-
const message = "message" in err && typeof err.message === "string"
|
|
32
|
-
? err.message
|
|
33
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
34
|
-
super(message, httpMeta);
|
|
35
|
-
this.data$ = err;
|
|
36
|
-
this.success = err.success;
|
|
37
|
-
if (err.error != null) this.error = err.error;
|
|
38
|
-
|
|
39
|
-
this.name = "SearchWebDatabasesInternalServerError";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Payment Required
|
|
45
|
-
*/
|
|
46
|
-
export type SearchWebDatabasesPaymentRequiredErrorData = {
|
|
47
|
-
success: boolean;
|
|
48
|
-
error?: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Payment Required
|
|
53
|
-
*/
|
|
54
|
-
export class SearchWebDatabasesPaymentRequiredError extends IndiciaError {
|
|
55
|
-
success: boolean;
|
|
56
|
-
error?: string | undefined;
|
|
57
|
-
|
|
58
|
-
/** The original data that was passed to this error instance. */
|
|
59
|
-
data$: SearchWebDatabasesPaymentRequiredErrorData;
|
|
60
|
-
|
|
61
|
-
constructor(
|
|
62
|
-
err: SearchWebDatabasesPaymentRequiredErrorData,
|
|
63
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
64
|
-
) {
|
|
65
|
-
const message = "message" in err && typeof err.message === "string"
|
|
66
|
-
? err.message
|
|
67
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
68
|
-
super(message, httpMeta);
|
|
69
|
-
this.data$ = err;
|
|
70
|
-
this.success = err.success;
|
|
71
|
-
if (err.error != null) this.error = err.error;
|
|
72
|
-
|
|
73
|
-
this.name = "SearchWebDatabasesPaymentRequiredError";
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/** @internal */
|
|
78
|
-
export const SearchWebDatabasesInternalServerError$inboundSchema: z.ZodMiniType<
|
|
79
|
-
SearchWebDatabasesInternalServerError,
|
|
80
|
-
unknown
|
|
81
|
-
> = z.pipe(
|
|
82
|
-
z.object({
|
|
83
|
-
success: types.boolean(),
|
|
84
|
-
error: types.optional(types.string()),
|
|
85
|
-
request$: z.custom<Request>(x => x instanceof Request),
|
|
86
|
-
response$: z.custom<Response>(x => x instanceof Response),
|
|
87
|
-
body$: z.string(),
|
|
88
|
-
}),
|
|
89
|
-
z.transform((v) => {
|
|
90
|
-
return new SearchWebDatabasesInternalServerError(v, {
|
|
91
|
-
request: v.request$,
|
|
92
|
-
response: v.response$,
|
|
93
|
-
body: v.body$,
|
|
94
|
-
});
|
|
95
|
-
}),
|
|
96
|
-
);
|
|
97
|
-
|
|
98
|
-
/** @internal */
|
|
99
|
-
export const SearchWebDatabasesPaymentRequiredError$inboundSchema:
|
|
100
|
-
z.ZodMiniType<SearchWebDatabasesPaymentRequiredError, unknown> = z.pipe(
|
|
101
|
-
z.object({
|
|
102
|
-
success: types.boolean(),
|
|
103
|
-
error: types.optional(types.string()),
|
|
104
|
-
request$: z.custom<Request>(x => x instanceof Request),
|
|
105
|
-
response$: z.custom<Response>(x => x instanceof Response),
|
|
106
|
-
body$: z.string(),
|
|
107
|
-
}),
|
|
108
|
-
z.transform((v) => {
|
|
109
|
-
return new SearchWebDatabasesPaymentRequiredError(v, {
|
|
110
|
-
request: v.request$,
|
|
111
|
-
response: v.response$,
|
|
112
|
-
body: v.body$,
|
|
113
|
-
});
|
|
114
|
-
}),
|
|
115
|
-
);
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import * as types from "../../types/primitives.js";
|
|
7
|
-
import { IndiciaError } from "./indicia-error.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Internal Server Error
|
|
11
|
-
*/
|
|
12
|
-
export type SearchWhoisInternalServerErrorData = {
|
|
13
|
-
success: boolean;
|
|
14
|
-
error?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Internal Server Error
|
|
19
|
-
*/
|
|
20
|
-
export class SearchWhoisInternalServerError extends IndiciaError {
|
|
21
|
-
success: boolean;
|
|
22
|
-
error?: string | undefined;
|
|
23
|
-
|
|
24
|
-
/** The original data that was passed to this error instance. */
|
|
25
|
-
data$: SearchWhoisInternalServerErrorData;
|
|
26
|
-
|
|
27
|
-
constructor(
|
|
28
|
-
err: SearchWhoisInternalServerErrorData,
|
|
29
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
30
|
-
) {
|
|
31
|
-
const message = "message" in err && typeof err.message === "string"
|
|
32
|
-
? err.message
|
|
33
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
34
|
-
super(message, httpMeta);
|
|
35
|
-
this.data$ = err;
|
|
36
|
-
this.success = err.success;
|
|
37
|
-
if (err.error != null) this.error = err.error;
|
|
38
|
-
|
|
39
|
-
this.name = "SearchWhoisInternalServerError";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const SearchWhoisInternalServerError$inboundSchema: z.ZodMiniType<
|
|
45
|
-
SearchWhoisInternalServerError,
|
|
46
|
-
unknown
|
|
47
|
-
> = z.pipe(
|
|
48
|
-
z.object({
|
|
49
|
-
success: types.boolean(),
|
|
50
|
-
error: types.optional(types.string()),
|
|
51
|
-
request$: z.custom<Request>(x => x instanceof Request),
|
|
52
|
-
response$: z.custom<Response>(x => x instanceof Response),
|
|
53
|
-
body$: z.string(),
|
|
54
|
-
}),
|
|
55
|
-
z.transform((v) => {
|
|
56
|
-
return new SearchWhoisInternalServerError(v, {
|
|
57
|
-
request: v.request$,
|
|
58
|
-
response: v.response$,
|
|
59
|
-
body: v.body$,
|
|
60
|
-
});
|
|
61
|
-
}),
|
|
62
|
-
);
|