@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
|
@@ -7,6 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import * as types from "../../types/primitives.js";
|
|
10
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
12
|
|
|
12
13
|
export type SearchPersonRequest = {
|
|
@@ -15,6 +16,8 @@ export type SearchPersonRequest = {
|
|
|
15
16
|
state?: string | undefined;
|
|
16
17
|
};
|
|
17
18
|
|
|
19
|
+
export type SearchPersonDob = number | string;
|
|
20
|
+
|
|
18
21
|
export type SearchPersonLocal = {
|
|
19
22
|
id: number;
|
|
20
23
|
startDat: number | null;
|
|
@@ -22,12 +25,12 @@ export type SearchPersonLocal = {
|
|
|
22
25
|
aka1fullname: string | null;
|
|
23
26
|
aka2fullname: string | null;
|
|
24
27
|
aka3fullname: string | null;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
alt1DOB: number | null;
|
|
29
|
+
alt2DOB: number | null;
|
|
30
|
+
alt3DOB: number | null;
|
|
28
31
|
city: string | null;
|
|
29
32
|
countyName: string | null;
|
|
30
|
-
dob: string | null;
|
|
33
|
+
dob: number | string | null;
|
|
31
34
|
firstname: string;
|
|
32
35
|
lastname: string;
|
|
33
36
|
middlename: string | null;
|
|
@@ -38,15 +41,16 @@ export type SearchPersonLocal = {
|
|
|
38
41
|
};
|
|
39
42
|
|
|
40
43
|
export type SearchPersonWeb = {
|
|
41
|
-
aka
|
|
42
|
-
associates
|
|
43
|
-
children
|
|
44
|
-
currentAddress
|
|
45
|
-
emails
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
aka?: Array<string> | undefined;
|
|
45
|
+
associates?: Array<string> | undefined;
|
|
46
|
+
children?: number | undefined;
|
|
47
|
+
currentAddress?: string | undefined;
|
|
48
|
+
emails?: Array<string> | undefined;
|
|
49
|
+
error?: string | undefined;
|
|
50
|
+
maritalStatus?: string | undefined;
|
|
51
|
+
name?: string | null | undefined;
|
|
52
|
+
pastAddresses?: Array<string> | undefined;
|
|
53
|
+
phones?: Array<string> | undefined;
|
|
50
54
|
};
|
|
51
55
|
|
|
52
56
|
export type SearchPersonData = {
|
|
@@ -88,6 +92,22 @@ export function searchPersonRequestToJSON(
|
|
|
88
92
|
);
|
|
89
93
|
}
|
|
90
94
|
|
|
95
|
+
/** @internal */
|
|
96
|
+
export const SearchPersonDob$inboundSchema: z.ZodMiniType<
|
|
97
|
+
SearchPersonDob,
|
|
98
|
+
unknown
|
|
99
|
+
> = smartUnion([types.number(), types.string()]);
|
|
100
|
+
|
|
101
|
+
export function searchPersonDobFromJSON(
|
|
102
|
+
jsonString: string,
|
|
103
|
+
): SafeParseResult<SearchPersonDob, SDKValidationError> {
|
|
104
|
+
return safeParse(
|
|
105
|
+
jsonString,
|
|
106
|
+
(x) => SearchPersonDob$inboundSchema.parse(JSON.parse(x)),
|
|
107
|
+
`Failed to parse 'SearchPersonDob' from JSON`,
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
|
|
91
111
|
/** @internal */
|
|
92
112
|
export const SearchPersonLocal$inboundSchema: z.ZodMiniType<
|
|
93
113
|
SearchPersonLocal,
|
|
@@ -100,12 +120,12 @@ export const SearchPersonLocal$inboundSchema: z.ZodMiniType<
|
|
|
100
120
|
aka1fullname: types.nullable(types.string()),
|
|
101
121
|
aka2fullname: types.nullable(types.string()),
|
|
102
122
|
aka3fullname: types.nullable(types.string()),
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
123
|
+
alt1DOB: types.nullable(types.number()),
|
|
124
|
+
alt2DOB: types.nullable(types.number()),
|
|
125
|
+
alt3DOB: types.nullable(types.number()),
|
|
106
126
|
city: types.nullable(types.string()),
|
|
107
127
|
county_name: types.nullable(types.string()),
|
|
108
|
-
dob: types.nullable(types.string()),
|
|
128
|
+
dob: types.nullable(smartUnion([types.number(), types.string()])),
|
|
109
129
|
firstname: types.string(),
|
|
110
130
|
lastname: types.string(),
|
|
111
131
|
middlename: types.nullable(types.string()),
|
|
@@ -139,15 +159,16 @@ export const SearchPersonWeb$inboundSchema: z.ZodMiniType<
|
|
|
139
159
|
SearchPersonWeb,
|
|
140
160
|
unknown
|
|
141
161
|
> = z.object({
|
|
142
|
-
aka: z.array(types.string()),
|
|
143
|
-
associates: z.array(types.string()),
|
|
144
|
-
children: types.number(),
|
|
145
|
-
currentAddress: types.string(),
|
|
146
|
-
emails: z.array(types.string()),
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
162
|
+
aka: types.optional(z.array(types.string())),
|
|
163
|
+
associates: types.optional(z.array(types.string())),
|
|
164
|
+
children: types.optional(types.number()),
|
|
165
|
+
currentAddress: types.optional(types.string()),
|
|
166
|
+
emails: types.optional(z.array(types.string())),
|
|
167
|
+
error: types.optional(types.string()),
|
|
168
|
+
maritalStatus: types.optional(types.string()),
|
|
169
|
+
name: z.optional(z.nullable(types.string())),
|
|
170
|
+
pastAddresses: types.optional(z.array(types.string())),
|
|
171
|
+
phones: types.optional(z.array(types.string())),
|
|
151
172
|
});
|
|
152
173
|
|
|
153
174
|
export function searchPersonWebFromJSON(
|
|
@@ -7,12 +7,15 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import * as types from "../../types/primitives.js";
|
|
10
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
12
|
|
|
12
13
|
export type SearchPhoneRequest = {
|
|
13
14
|
query: string;
|
|
14
15
|
};
|
|
15
16
|
|
|
17
|
+
export type SearchPhoneDob = number | string;
|
|
18
|
+
|
|
16
19
|
export type SearchPhoneLocal = {
|
|
17
20
|
id: number;
|
|
18
21
|
startDat: number | null;
|
|
@@ -20,12 +23,12 @@ export type SearchPhoneLocal = {
|
|
|
20
23
|
aka1fullname: string | null;
|
|
21
24
|
aka2fullname: string | null;
|
|
22
25
|
aka3fullname: string | null;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
alt1DOB: number | null;
|
|
27
|
+
alt2DOB: number | null;
|
|
28
|
+
alt3DOB: number | null;
|
|
26
29
|
city: string | null;
|
|
27
30
|
countyName: string | null;
|
|
28
|
-
dob: string | null;
|
|
31
|
+
dob: number | string | null;
|
|
29
32
|
firstname: string;
|
|
30
33
|
lastname: string;
|
|
31
34
|
middlename: string | null;
|
|
@@ -42,19 +45,11 @@ export type LineTypeIntelligence = {
|
|
|
42
45
|
type: string;
|
|
43
46
|
};
|
|
44
47
|
|
|
45
|
-
export type SimSwap = {
|
|
46
|
-
carrierName: string | null;
|
|
47
|
-
errorCode: number;
|
|
48
|
-
lastSimSwap: number | null;
|
|
49
|
-
mobileCountryCode: string | null;
|
|
50
|
-
mobileNetworkCode: string | null;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
48
|
export type SmsPumpingRisk = {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
numberBlocked: boolean | null;
|
|
50
|
+
numberBlockedDate: string | null;
|
|
51
|
+
numberBlockedLast3Months: boolean | null;
|
|
52
|
+
carrierRiskCategories?: string | null | undefined;
|
|
58
53
|
};
|
|
59
54
|
|
|
60
55
|
export type SearchPhonePhone = {
|
|
@@ -63,20 +58,20 @@ export type SearchPhonePhone = {
|
|
|
63
58
|
phoneNumber: string;
|
|
64
59
|
valid: boolean;
|
|
65
60
|
lineTypeIntelligence?: LineTypeIntelligence | undefined;
|
|
66
|
-
simSwap?: SimSwap | undefined;
|
|
67
61
|
smsPumpingRisk?: SmsPumpingRisk | undefined;
|
|
68
62
|
};
|
|
69
63
|
|
|
70
64
|
export type SearchPhoneWeb = {
|
|
71
|
-
aka
|
|
72
|
-
associates
|
|
73
|
-
children
|
|
74
|
-
currentAddress
|
|
75
|
-
emails
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
65
|
+
aka?: Array<string> | undefined;
|
|
66
|
+
associates?: Array<string> | undefined;
|
|
67
|
+
children?: number | undefined;
|
|
68
|
+
currentAddress?: string | undefined;
|
|
69
|
+
emails?: Array<string> | undefined;
|
|
70
|
+
error?: string | undefined;
|
|
71
|
+
maritalStatus?: string | undefined;
|
|
72
|
+
name?: string | null | undefined;
|
|
73
|
+
pastAddresses?: Array<string> | undefined;
|
|
74
|
+
phones?: Array<string> | undefined;
|
|
80
75
|
};
|
|
81
76
|
|
|
82
77
|
export type SearchPhoneData = {
|
|
@@ -115,6 +110,22 @@ export function searchPhoneRequestToJSON(
|
|
|
115
110
|
);
|
|
116
111
|
}
|
|
117
112
|
|
|
113
|
+
/** @internal */
|
|
114
|
+
export const SearchPhoneDob$inboundSchema: z.ZodMiniType<
|
|
115
|
+
SearchPhoneDob,
|
|
116
|
+
unknown
|
|
117
|
+
> = smartUnion([types.number(), types.string()]);
|
|
118
|
+
|
|
119
|
+
export function searchPhoneDobFromJSON(
|
|
120
|
+
jsonString: string,
|
|
121
|
+
): SafeParseResult<SearchPhoneDob, SDKValidationError> {
|
|
122
|
+
return safeParse(
|
|
123
|
+
jsonString,
|
|
124
|
+
(x) => SearchPhoneDob$inboundSchema.parse(JSON.parse(x)),
|
|
125
|
+
`Failed to parse 'SearchPhoneDob' from JSON`,
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
|
|
118
129
|
/** @internal */
|
|
119
130
|
export const SearchPhoneLocal$inboundSchema: z.ZodMiniType<
|
|
120
131
|
SearchPhoneLocal,
|
|
@@ -127,12 +138,12 @@ export const SearchPhoneLocal$inboundSchema: z.ZodMiniType<
|
|
|
127
138
|
aka1fullname: types.nullable(types.string()),
|
|
128
139
|
aka2fullname: types.nullable(types.string()),
|
|
129
140
|
aka3fullname: types.nullable(types.string()),
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
141
|
+
alt1DOB: types.nullable(types.number()),
|
|
142
|
+
alt2DOB: types.nullable(types.number()),
|
|
143
|
+
alt3DOB: types.nullable(types.number()),
|
|
133
144
|
city: types.nullable(types.string()),
|
|
134
145
|
county_name: types.nullable(types.string()),
|
|
135
|
-
dob: types.nullable(types.string()),
|
|
146
|
+
dob: types.nullable(smartUnion([types.number(), types.string()])),
|
|
136
147
|
firstname: types.string(),
|
|
137
148
|
lastname: types.string(),
|
|
138
149
|
middlename: types.nullable(types.string()),
|
|
@@ -191,53 +202,23 @@ export function lineTypeIntelligenceFromJSON(
|
|
|
191
202
|
);
|
|
192
203
|
}
|
|
193
204
|
|
|
194
|
-
/** @internal */
|
|
195
|
-
export const SimSwap$inboundSchema: z.ZodMiniType<SimSwap, unknown> = z.pipe(
|
|
196
|
-
z.object({
|
|
197
|
-
carrier_name: types.nullable(types.string()),
|
|
198
|
-
error_code: types.number(),
|
|
199
|
-
last_sim_swap: types.nullable(types.number()),
|
|
200
|
-
mobile_country_code: types.nullable(types.string()),
|
|
201
|
-
mobile_network_code: types.nullable(types.string()),
|
|
202
|
-
}),
|
|
203
|
-
z.transform((v) => {
|
|
204
|
-
return remap$(v, {
|
|
205
|
-
"carrier_name": "carrierName",
|
|
206
|
-
"error_code": "errorCode",
|
|
207
|
-
"last_sim_swap": "lastSimSwap",
|
|
208
|
-
"mobile_country_code": "mobileCountryCode",
|
|
209
|
-
"mobile_network_code": "mobileNetworkCode",
|
|
210
|
-
});
|
|
211
|
-
}),
|
|
212
|
-
);
|
|
213
|
-
|
|
214
|
-
export function simSwapFromJSON(
|
|
215
|
-
jsonString: string,
|
|
216
|
-
): SafeParseResult<SimSwap, SDKValidationError> {
|
|
217
|
-
return safeParse(
|
|
218
|
-
jsonString,
|
|
219
|
-
(x) => SimSwap$inboundSchema.parse(JSON.parse(x)),
|
|
220
|
-
`Failed to parse 'SimSwap' from JSON`,
|
|
221
|
-
);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
205
|
/** @internal */
|
|
225
206
|
export const SmsPumpingRisk$inboundSchema: z.ZodMiniType<
|
|
226
207
|
SmsPumpingRisk,
|
|
227
208
|
unknown
|
|
228
209
|
> = z.pipe(
|
|
229
210
|
z.object({
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
211
|
+
number_blocked: types.nullable(types.boolean()),
|
|
212
|
+
number_blocked_date: types.nullable(types.string()),
|
|
213
|
+
number_blocked_last_3_months: types.nullable(types.boolean()),
|
|
214
|
+
carrier_risk_categories: z.optional(z.nullable(types.string())),
|
|
234
215
|
}),
|
|
235
216
|
z.transform((v) => {
|
|
236
217
|
return remap$(v, {
|
|
237
|
-
"carrier_risk_categories": "carrierRiskCategories",
|
|
238
218
|
"number_blocked": "numberBlocked",
|
|
239
219
|
"number_blocked_date": "numberBlockedDate",
|
|
240
220
|
"number_blocked_last_3_months": "numberBlockedLast3Months",
|
|
221
|
+
"carrier_risk_categories": "carrierRiskCategories",
|
|
241
222
|
});
|
|
242
223
|
}),
|
|
243
224
|
);
|
|
@@ -265,7 +246,6 @@ export const SearchPhonePhone$inboundSchema: z.ZodMiniType<
|
|
|
265
246
|
line_type_intelligence: types.optional(
|
|
266
247
|
z.lazy(() => LineTypeIntelligence$inboundSchema),
|
|
267
248
|
),
|
|
268
|
-
sim_swap: types.optional(z.lazy(() => SimSwap$inboundSchema)),
|
|
269
249
|
sms_pumping_risk: types.optional(
|
|
270
250
|
z.lazy(() => SmsPumpingRisk$inboundSchema),
|
|
271
251
|
),
|
|
@@ -276,7 +256,6 @@ export const SearchPhonePhone$inboundSchema: z.ZodMiniType<
|
|
|
276
256
|
"national_format": "nationalFormat",
|
|
277
257
|
"phone_number": "phoneNumber",
|
|
278
258
|
"line_type_intelligence": "lineTypeIntelligence",
|
|
279
|
-
"sim_swap": "simSwap",
|
|
280
259
|
"sms_pumping_risk": "smsPumpingRisk",
|
|
281
260
|
});
|
|
282
261
|
}),
|
|
@@ -297,15 +276,16 @@ export const SearchPhoneWeb$inboundSchema: z.ZodMiniType<
|
|
|
297
276
|
SearchPhoneWeb,
|
|
298
277
|
unknown
|
|
299
278
|
> = z.object({
|
|
300
|
-
aka: z.array(types.string()),
|
|
301
|
-
associates: z.array(types.string()),
|
|
302
|
-
children: types.number(),
|
|
303
|
-
currentAddress: types.string(),
|
|
304
|
-
emails: z.array(types.string()),
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
279
|
+
aka: types.optional(z.array(types.string())),
|
|
280
|
+
associates: types.optional(z.array(types.string())),
|
|
281
|
+
children: types.optional(types.number()),
|
|
282
|
+
currentAddress: types.optional(types.string()),
|
|
283
|
+
emails: types.optional(z.array(types.string())),
|
|
284
|
+
error: types.optional(types.string()),
|
|
285
|
+
maritalStatus: types.optional(types.string()),
|
|
286
|
+
name: z.optional(z.nullable(types.string())),
|
|
287
|
+
pastAddresses: types.optional(z.array(types.string())),
|
|
288
|
+
phones: types.optional(z.array(types.string())),
|
|
309
289
|
});
|
|
310
290
|
|
|
311
291
|
export function searchPhoneWebFromJSON(
|
|
@@ -41,12 +41,6 @@ export type SearchRobloxPresence = {
|
|
|
41
41
|
type: number;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
export type SearchRobloxRolimons = {
|
|
45
|
-
rap: number;
|
|
46
|
-
value: number;
|
|
47
|
-
rank?: number | undefined;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
44
|
export type SearchRobloxStats = {
|
|
51
45
|
followers: number;
|
|
52
46
|
following: number;
|
|
@@ -54,6 +48,12 @@ export type SearchRobloxStats = {
|
|
|
54
48
|
placeVisits: number;
|
|
55
49
|
};
|
|
56
50
|
|
|
51
|
+
export type SearchRobloxRolimons = {
|
|
52
|
+
rap: number;
|
|
53
|
+
value: number;
|
|
54
|
+
rank?: number | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
57
|
export type SearchRobloxProfile = {
|
|
58
58
|
avatarUrl: string | null;
|
|
59
59
|
badges: Array<string>;
|
|
@@ -69,11 +69,11 @@ export type SearchRobloxProfile = {
|
|
|
69
69
|
pastUsernames: Array<string>;
|
|
70
70
|
platforms: SearchRobloxPlatforms;
|
|
71
71
|
presence: SearchRobloxPresence;
|
|
72
|
-
rolimons: SearchRobloxRolimons;
|
|
73
72
|
socials: { [k: string]: string };
|
|
74
73
|
stats: SearchRobloxStats;
|
|
75
74
|
username: string;
|
|
76
75
|
error?: string | undefined;
|
|
76
|
+
rolimons?: SearchRobloxRolimons | undefined;
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
export type SearchRobloxData = {
|
|
@@ -184,43 +184,43 @@ export function searchRobloxPresenceFromJSON(
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
/** @internal */
|
|
187
|
-
export const
|
|
188
|
-
|
|
187
|
+
export const SearchRobloxStats$inboundSchema: z.ZodMiniType<
|
|
188
|
+
SearchRobloxStats,
|
|
189
189
|
unknown
|
|
190
190
|
> = z.object({
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
followers: types.number(),
|
|
192
|
+
following: types.number(),
|
|
193
|
+
friends: types.number(),
|
|
194
|
+
placeVisits: types.number(),
|
|
194
195
|
});
|
|
195
196
|
|
|
196
|
-
export function
|
|
197
|
+
export function searchRobloxStatsFromJSON(
|
|
197
198
|
jsonString: string,
|
|
198
|
-
): SafeParseResult<
|
|
199
|
+
): SafeParseResult<SearchRobloxStats, SDKValidationError> {
|
|
199
200
|
return safeParse(
|
|
200
201
|
jsonString,
|
|
201
|
-
(x) =>
|
|
202
|
-
`Failed to parse '
|
|
202
|
+
(x) => SearchRobloxStats$inboundSchema.parse(JSON.parse(x)),
|
|
203
|
+
`Failed to parse 'SearchRobloxStats' from JSON`,
|
|
203
204
|
);
|
|
204
205
|
}
|
|
205
206
|
|
|
206
207
|
/** @internal */
|
|
207
|
-
export const
|
|
208
|
-
|
|
208
|
+
export const SearchRobloxRolimons$inboundSchema: z.ZodMiniType<
|
|
209
|
+
SearchRobloxRolimons,
|
|
209
210
|
unknown
|
|
210
211
|
> = z.object({
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
placeVisits: types.number(),
|
|
212
|
+
rap: types.number(),
|
|
213
|
+
value: types.number(),
|
|
214
|
+
rank: types.optional(types.number()),
|
|
215
215
|
});
|
|
216
216
|
|
|
217
|
-
export function
|
|
217
|
+
export function searchRobloxRolimonsFromJSON(
|
|
218
218
|
jsonString: string,
|
|
219
|
-
): SafeParseResult<
|
|
219
|
+
): SafeParseResult<SearchRobloxRolimons, SDKValidationError> {
|
|
220
220
|
return safeParse(
|
|
221
221
|
jsonString,
|
|
222
|
-
(x) =>
|
|
223
|
-
`Failed to parse '
|
|
222
|
+
(x) => SearchRobloxRolimons$inboundSchema.parse(JSON.parse(x)),
|
|
223
|
+
`Failed to parse 'SearchRobloxRolimons' from JSON`,
|
|
224
224
|
);
|
|
225
225
|
}
|
|
226
226
|
|
|
@@ -243,11 +243,11 @@ export const SearchRobloxProfile$inboundSchema: z.ZodMiniType<
|
|
|
243
243
|
pastUsernames: z.array(types.string()),
|
|
244
244
|
platforms: z.lazy(() => SearchRobloxPlatforms$inboundSchema),
|
|
245
245
|
presence: z.lazy(() => SearchRobloxPresence$inboundSchema),
|
|
246
|
-
rolimons: z.lazy(() => SearchRobloxRolimons$inboundSchema),
|
|
247
246
|
socials: z.record(z.string(), types.string()),
|
|
248
247
|
stats: z.lazy(() => SearchRobloxStats$inboundSchema),
|
|
249
248
|
username: types.string(),
|
|
250
249
|
error: types.optional(types.string()),
|
|
250
|
+
rolimons: types.optional(z.lazy(() => SearchRobloxRolimons$inboundSchema)),
|
|
251
251
|
});
|
|
252
252
|
|
|
253
253
|
export function searchRobloxProfileFromJSON(
|
|
@@ -166,7 +166,7 @@ export type Domain = {
|
|
|
166
166
|
export type AssociatedDomainRegistrations = {
|
|
167
167
|
domains?: Array<Domain> | undefined;
|
|
168
168
|
exists?: boolean | undefined;
|
|
169
|
-
firstRegistrationDate?: string | undefined;
|
|
169
|
+
firstRegistrationDate?: string | null | undefined;
|
|
170
170
|
numberOfDomains?: number | undefined;
|
|
171
171
|
};
|
|
172
172
|
|
|
@@ -258,14 +258,14 @@ export type RiskScores = {
|
|
|
258
258
|
|
|
259
259
|
export type SeonFraudHistory = {
|
|
260
260
|
customerHits?: number | undefined;
|
|
261
|
-
firstSeen?: number | undefined;
|
|
261
|
+
firstSeen?: number | null | undefined;
|
|
262
262
|
flags?: Array<string> | undefined;
|
|
263
263
|
fraudulentDeclineCustomerHits?: number | undefined;
|
|
264
|
-
fraudulentDeclineFirstSeen?: number | undefined;
|
|
264
|
+
fraudulentDeclineFirstSeen?: number | null | undefined;
|
|
265
265
|
fraudulentDeclineHits?: number | undefined;
|
|
266
|
-
fraudulentDeclineLastSeen?: number | undefined;
|
|
266
|
+
fraudulentDeclineLastSeen?: number | null | undefined;
|
|
267
267
|
hits?: number | undefined;
|
|
268
|
-
lastSeen?: number | undefined;
|
|
268
|
+
lastSeen?: number | null | undefined;
|
|
269
269
|
};
|
|
270
270
|
|
|
271
271
|
export type SearchSeonData = {
|
|
@@ -842,7 +842,7 @@ export const AssociatedDomainRegistrations$inboundSchema: z.ZodMiniType<
|
|
|
842
842
|
z.object({
|
|
843
843
|
domains: types.optional(z.array(z.lazy(() => Domain$inboundSchema))),
|
|
844
844
|
exists: types.optional(types.boolean()),
|
|
845
|
-
first_registration_date:
|
|
845
|
+
first_registration_date: z.optional(z.nullable(types.string())),
|
|
846
846
|
number_of_domains: types.optional(types.number()),
|
|
847
847
|
}),
|
|
848
848
|
z.transform((v) => {
|
|
@@ -1203,14 +1203,14 @@ export const SeonFraudHistory$inboundSchema: z.ZodMiniType<
|
|
|
1203
1203
|
> = z.pipe(
|
|
1204
1204
|
z.object({
|
|
1205
1205
|
customer_hits: types.optional(types.number()),
|
|
1206
|
-
first_seen:
|
|
1206
|
+
first_seen: z.optional(z.nullable(types.number())),
|
|
1207
1207
|
flags: types.optional(z.array(types.string())),
|
|
1208
1208
|
fraudulent_decline_customer_hits: types.optional(types.number()),
|
|
1209
|
-
fraudulent_decline_first_seen:
|
|
1209
|
+
fraudulent_decline_first_seen: z.optional(z.nullable(types.number())),
|
|
1210
1210
|
fraudulent_decline_hits: types.optional(types.number()),
|
|
1211
|
-
fraudulent_decline_last_seen:
|
|
1211
|
+
fraudulent_decline_last_seen: z.optional(z.nullable(types.number())),
|
|
1212
1212
|
hits: types.optional(types.number()),
|
|
1213
|
-
last_seen:
|
|
1213
|
+
last_seen: z.optional(z.nullable(types.number())),
|
|
1214
1214
|
}),
|
|
1215
1215
|
z.transform((v) => {
|
|
1216
1216
|
return remap$(v, {
|