@indiciaosint/sdk 1.0.1-patch → 1.0.3
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 +6 -6
- package/esm/funcs/intelligence-geolocate-media.d.ts +1 -1
- package/esm/funcs/intelligence-geolocate-media.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/operations/search-address.d.ts +18 -13
- package/esm/models/operations/search-address.d.ts.map +1 -1
- package/esm/models/operations/search-address.js +20 -13
- package/esm/models/operations/search-address.js.map +1 -1
- package/esm/models/operations/search-discord.d.ts +4 -4
- package/esm/models/operations/search-discord.d.ts.map +1 -1
- package/esm/models/operations/search-discord.js +5 -4
- package/esm/models/operations/search-discord.js.map +1 -1
- package/esm/models/operations/search-dns.d.ts +52 -20
- package/esm/models/operations/search-dns.d.ts.map +1 -1
- package/esm/models/operations/search-dns.js +76 -24
- package/esm/models/operations/search-dns.js.map +1 -1
- package/esm/models/operations/search-email.d.ts +17 -10
- package/esm/models/operations/search-email.d.ts.map +1 -1
- package/esm/models/operations/search-email.js +18 -10
- package/esm/models/operations/search-email.js.map +1 -1
- package/esm/models/operations/search-gmail.d.ts +94 -72
- package/esm/models/operations/search-gmail.d.ts.map +1 -1
- package/esm/models/operations/search-gmail.js +94 -69
- package/esm/models/operations/search-gmail.js.map +1 -1
- package/esm/models/operations/search-hudson-rock.d.ts +27 -23
- package/esm/models/operations/search-hudson-rock.d.ts.map +1 -1
- package/esm/models/operations/search-hudson-rock.js +23 -15
- package/esm/models/operations/search-hudson-rock.js.map +1 -1
- package/esm/models/operations/search-ip-info.d.ts +114 -25
- package/esm/models/operations/search-ip-info.d.ts.map +1 -1
- package/esm/models/operations/search-ip-info.js +172 -28
- package/esm/models/operations/search-ip-info.js.map +1 -1
- package/esm/models/operations/search-person.d.ts +18 -13
- package/esm/models/operations/search-person.d.ts.map +1 -1
- package/esm/models/operations/search-person.js +20 -13
- package/esm/models/operations/search-person.js.map +1 -1
- package/esm/models/operations/search-phone.d.ts +22 -28
- package/esm/models/operations/search-phone.d.ts.map +1 -1
- package/esm/models/operations/search-phone.js +25 -39
- package/esm/models/operations/search-phone.js.map +1 -1
- package/esm/models/operations/search-roblox.d.ts +9 -9
- package/esm/models/operations/search-roblox.d.ts.map +1 -1
- package/esm/models/operations/search-roblox.js +10 -10
- package/esm/models/operations/search-roblox.js.map +1 -1
- package/esm/models/operations/search-seon.d.ts +5 -5
- package/esm/models/operations/search-seon.d.ts.map +1 -1
- package/esm/models/operations/search-seon.js +5 -5
- package/esm/models/operations/search-seon.js.map +1 -1
- package/esm/models/operations/search-shodan.d.ts +94 -90
- package/esm/models/operations/search-shodan.d.ts.map +1 -1
- package/esm/models/operations/search-shodan.js +102 -96
- package/esm/models/operations/search-shodan.js.map +1 -1
- package/esm/models/operations/search-tiktok.d.ts +22 -363
- package/esm/models/operations/search-tiktok.d.ts.map +1 -1
- package/esm/models/operations/search-tiktok.js +23 -593
- package/esm/models/operations/search-tiktok.js.map +1 -1
- package/esm/models/operations/search-username.d.ts +9 -9
- package/esm/models/operations/search-username.d.ts.map +1 -1
- package/esm/models/operations/search-username.js +13 -16
- package/esm/models/operations/search-username.js.map +1 -1
- package/esm/models/operations/search-web-databases.d.ts +108 -311
- package/esm/models/operations/search-web-databases.d.ts.map +1 -1
- package/esm/models/operations/search-web-databases.js +115 -432
- package/esm/models/operations/search-web-databases.js.map +1 -1
- package/esm/models/operations/search-whois.d.ts +24 -59
- package/esm/models/operations/search-whois.d.ts.map +1 -1
- package/esm/models/operations/search-whois.js +24 -86
- package/esm/models/operations/search-whois.js.map +1 -1
- package/esm/sdk/intelligence.d.ts +1 -1
- package/esm/sdk/intelligence.js +1 -1
- package/jsr.json +1 -1
- package/package.json +5 -3
- package/src/funcs/intelligence-geolocate-media.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/operations/search-address.ts +47 -26
- package/src/models/operations/search-discord.ts +13 -15
- package/src/models/operations/search-dns.ts +213 -36
- package/src/models/operations/search-email.ts +44 -20
- package/src/models/operations/search-gmail.ts +269 -152
- package/src/models/operations/search-hudson-rock.ts +61 -51
- package/src/models/operations/search-ip-info.ts +359 -52
- package/src/models/operations/search-person.ts +47 -26
- package/src/models/operations/search-phone.ts +56 -76
- package/src/models/operations/search-roblox.ts +27 -27
- package/src/models/operations/search-seon.ts +10 -10
- package/src/models/operations/search-shodan.ts +217 -196
- package/src/models/operations/search-tiktok.ts +45 -1366
- package/src/models/operations/search-username.ts +24 -32
- package/src/models/operations/search-web-databases.ts +308 -1000
- package/src/models/operations/search-whois.ts +49 -192
- package/src/sdk/intelligence.ts +1 -1
|
@@ -22,7 +22,7 @@ export const SearchUsernameType = {
|
|
|
22
22
|
} as const;
|
|
23
23
|
export type SearchUsernameType = OpenEnum<typeof SearchUsernameType>;
|
|
24
24
|
|
|
25
|
-
export type
|
|
25
|
+
export type Id = number | string;
|
|
26
26
|
|
|
27
27
|
export type Account = {
|
|
28
28
|
domain?: string | undefined;
|
|
@@ -66,7 +66,7 @@ export type Socials = {
|
|
|
66
66
|
|
|
67
67
|
export type SocialsUnion = Socials | Array<string>;
|
|
68
68
|
|
|
69
|
-
export type
|
|
69
|
+
export type Status = {
|
|
70
70
|
isCoach?: boolean | undefined;
|
|
71
71
|
isModerator?: boolean | undefined;
|
|
72
72
|
isStaff?: boolean | undefined;
|
|
@@ -74,7 +74,7 @@ export type SearchUsernameStatus = {
|
|
|
74
74
|
isTopBlogger?: boolean | undefined;
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
export type
|
|
77
|
+
export type StatusUnion = string | Status;
|
|
78
78
|
|
|
79
79
|
export type Url = {
|
|
80
80
|
title?: string | undefined;
|
|
@@ -185,7 +185,7 @@ export type Metadata = {
|
|
|
185
185
|
skinUrl?: string | undefined;
|
|
186
186
|
socialLinks?: Array<any> | undefined;
|
|
187
187
|
socials?: Socials | Array<string> | undefined;
|
|
188
|
-
status?: string |
|
|
188
|
+
status?: string | Status | undefined;
|
|
189
189
|
steamId64?: string | undefined;
|
|
190
190
|
streak?: number | undefined;
|
|
191
191
|
subscriberCount?: number | undefined;
|
|
@@ -272,18 +272,18 @@ export const SearchUsernameType$inboundSchema: z.ZodMiniType<
|
|
|
272
272
|
> = openEnums.inboundSchema(SearchUsernameType);
|
|
273
273
|
|
|
274
274
|
/** @internal */
|
|
275
|
-
export const
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
275
|
+
export const Id$inboundSchema: z.ZodMiniType<Id, unknown> = smartUnion([
|
|
276
|
+
types.number(),
|
|
277
|
+
types.string(),
|
|
278
|
+
]);
|
|
279
279
|
|
|
280
|
-
export function
|
|
280
|
+
export function idFromJSON(
|
|
281
281
|
jsonString: string,
|
|
282
|
-
): SafeParseResult<
|
|
282
|
+
): SafeParseResult<Id, SDKValidationError> {
|
|
283
283
|
return safeParse(
|
|
284
284
|
jsonString,
|
|
285
|
-
(x) =>
|
|
286
|
-
`Failed to parse '
|
|
285
|
+
(x) => Id$inboundSchema.parse(JSON.parse(x)),
|
|
286
|
+
`Failed to parse 'Id' from JSON`,
|
|
287
287
|
);
|
|
288
288
|
}
|
|
289
289
|
|
|
@@ -465,10 +465,7 @@ export function socialsUnionFromJSON(
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
/** @internal */
|
|
468
|
-
export const
|
|
469
|
-
SearchUsernameStatus,
|
|
470
|
-
unknown
|
|
471
|
-
> = z.pipe(
|
|
468
|
+
export const Status$inboundSchema: z.ZodMiniType<Status, unknown> = z.pipe(
|
|
472
469
|
z.object({
|
|
473
470
|
is_coach: types.optional(types.boolean()),
|
|
474
471
|
is_moderator: types.optional(types.boolean()),
|
|
@@ -487,29 +484,27 @@ export const SearchUsernameStatus$inboundSchema: z.ZodMiniType<
|
|
|
487
484
|
}),
|
|
488
485
|
);
|
|
489
486
|
|
|
490
|
-
export function
|
|
487
|
+
export function statusFromJSON(
|
|
491
488
|
jsonString: string,
|
|
492
|
-
): SafeParseResult<
|
|
489
|
+
): SafeParseResult<Status, SDKValidationError> {
|
|
493
490
|
return safeParse(
|
|
494
491
|
jsonString,
|
|
495
|
-
(x) =>
|
|
496
|
-
`Failed to parse '
|
|
492
|
+
(x) => Status$inboundSchema.parse(JSON.parse(x)),
|
|
493
|
+
`Failed to parse 'Status' from JSON`,
|
|
497
494
|
);
|
|
498
495
|
}
|
|
499
496
|
|
|
500
497
|
/** @internal */
|
|
501
|
-
export const
|
|
502
|
-
types.string(),
|
|
503
|
-
z.lazy(() => SearchUsernameStatus$inboundSchema),
|
|
504
|
-
]);
|
|
498
|
+
export const StatusUnion$inboundSchema: z.ZodMiniType<StatusUnion, unknown> =
|
|
499
|
+
smartUnion([types.string(), z.lazy(() => Status$inboundSchema)]);
|
|
505
500
|
|
|
506
|
-
export function
|
|
501
|
+
export function statusUnionFromJSON(
|
|
507
502
|
jsonString: string,
|
|
508
|
-
): SafeParseResult<
|
|
503
|
+
): SafeParseResult<StatusUnion, SDKValidationError> {
|
|
509
504
|
return safeParse(
|
|
510
505
|
jsonString,
|
|
511
|
-
(x) =>
|
|
512
|
-
`Failed to parse '
|
|
506
|
+
(x) => StatusUnion$inboundSchema.parse(JSON.parse(x)),
|
|
507
|
+
`Failed to parse 'StatusUnion' from JSON`,
|
|
513
508
|
);
|
|
514
509
|
}
|
|
515
510
|
|
|
@@ -645,10 +640,7 @@ export const Metadata$inboundSchema: z.ZodMiniType<Metadata, unknown> = z.pipe(
|
|
|
645
640
|
]),
|
|
646
641
|
),
|
|
647
642
|
status: types.optional(
|
|
648
|
-
smartUnion([
|
|
649
|
-
types.string(),
|
|
650
|
-
z.lazy(() => SearchUsernameStatus$inboundSchema),
|
|
651
|
-
]),
|
|
643
|
+
smartUnion([types.string(), z.lazy(() => Status$inboundSchema)]),
|
|
652
644
|
),
|
|
653
645
|
steam_id_64: types.optional(types.string()),
|
|
654
646
|
streak: types.optional(types.number()),
|