@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
|
@@ -13,7 +13,7 @@ export const Service = {
|
|
|
13
13
|
Leakcheck: "leakcheck",
|
|
14
14
|
Snusbase: "snusbase",
|
|
15
15
|
};
|
|
16
|
-
export const
|
|
16
|
+
export const CloudsintType = {
|
|
17
17
|
Discordid: "discordid",
|
|
18
18
|
Email: "email",
|
|
19
19
|
Ip: "ip",
|
|
@@ -54,17 +54,6 @@ export const SnusbaseType = {
|
|
|
54
54
|
Username: "username",
|
|
55
55
|
Wildcard: "wildcard",
|
|
56
56
|
};
|
|
57
|
-
export const CloudsintTypeResponse = {
|
|
58
|
-
Discordid: "discordid",
|
|
59
|
-
Email: "email",
|
|
60
|
-
Ip: "ip",
|
|
61
|
-
Name: "name",
|
|
62
|
-
Password: "password",
|
|
63
|
-
Phone: "phone",
|
|
64
|
-
Steamid: "steamid",
|
|
65
|
-
Url: "url",
|
|
66
|
-
Username: "username",
|
|
67
|
-
};
|
|
68
57
|
export const Compilation = {
|
|
69
58
|
Zero: "0",
|
|
70
59
|
One: "1",
|
|
@@ -77,20 +66,10 @@ export const Unverified = {
|
|
|
77
66
|
Zero: "0",
|
|
78
67
|
One: "1",
|
|
79
68
|
};
|
|
80
|
-
export const PlatformVariableType = {
|
|
81
|
-
Bool: "bool",
|
|
82
|
-
List: "list",
|
|
83
|
-
Number: "number",
|
|
84
|
-
Str: "str",
|
|
85
|
-
};
|
|
86
|
-
export const SearchWebDatabasesStatus = {
|
|
87
|
-
Found: "found",
|
|
88
|
-
NotFound: "not_found",
|
|
89
|
-
};
|
|
90
69
|
/** @internal */
|
|
91
70
|
export const Service$outboundSchema = z.enum(Service);
|
|
92
71
|
/** @internal */
|
|
93
|
-
export const
|
|
72
|
+
export const CloudsintType$outboundSchema = z.enum(CloudsintType);
|
|
94
73
|
/** @internal */
|
|
95
74
|
export const IntelxType$outboundSchema = z
|
|
96
75
|
.enum(IntelxType);
|
|
@@ -103,7 +82,7 @@ export const SnusbaseType$outboundSchema = z
|
|
|
103
82
|
export const SearchWebDatabasesRequest$outboundSchema = z.object({
|
|
104
83
|
query: z.string(),
|
|
105
84
|
services: z.array(Service$outboundSchema),
|
|
106
|
-
cloudsintType: z.optional(
|
|
85
|
+
cloudsintType: z.optional(CloudsintType$outboundSchema),
|
|
107
86
|
intelxType: z.optional(IntelxType$outboundSchema),
|
|
108
87
|
leakCheckType: z.optional(LeakCheckType$outboundSchema),
|
|
109
88
|
snusbaseType: z.optional(SnusbaseType$outboundSchema),
|
|
@@ -112,16 +91,32 @@ export function searchWebDatabasesRequestToJSON(searchWebDatabasesRequest) {
|
|
|
112
91
|
return JSON.stringify(SearchWebDatabasesRequest$outboundSchema.parse(searchWebDatabasesRequest));
|
|
113
92
|
}
|
|
114
93
|
/** @internal */
|
|
94
|
+
export const Breachvip$inboundSchema = z
|
|
95
|
+
.pipe(z.object({
|
|
96
|
+
source: types.string(),
|
|
97
|
+
_breach_date: types.optional(types.string()),
|
|
98
|
+
categories: types.optional(z.array(types.string())),
|
|
99
|
+
domain: types.optional(types.string()),
|
|
100
|
+
email: types.optional(types.string()),
|
|
101
|
+
password: types.optional(types.string()),
|
|
102
|
+
}), z.transform((v) => {
|
|
103
|
+
return remap$(v, {
|
|
104
|
+
"_breach_date": "breachDate",
|
|
105
|
+
});
|
|
106
|
+
}));
|
|
107
|
+
export function breachvipFromJSON(jsonString) {
|
|
108
|
+
return safeParse(jsonString, (x) => Breachvip$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Breachvip' from JSON`);
|
|
109
|
+
}
|
|
110
|
+
/** @internal */
|
|
115
111
|
export const SearchWebDatabasesBreach$inboundSchema = z.pipe(z.object({
|
|
116
|
-
email: types.string(),
|
|
117
112
|
id: types.string(),
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
username: types.string(),
|
|
113
|
+
email: types.optional(types.string()),
|
|
114
|
+
imported_at: types.optional(types.string()),
|
|
115
|
+
password: types.optional(types.string()),
|
|
116
|
+
source: types.optional(types.string()),
|
|
117
|
+
source_date: types.optional(types.string()),
|
|
118
|
+
source_name: types.optional(types.string()),
|
|
119
|
+
username: types.optional(types.string()),
|
|
125
120
|
}), z.transform((v) => {
|
|
126
121
|
return remap$(v, {
|
|
127
122
|
"imported_at": "importedAt",
|
|
@@ -133,25 +128,22 @@ export function searchWebDatabasesBreachFromJSON(jsonString) {
|
|
|
133
128
|
return safeParse(jsonString, (x) => SearchWebDatabasesBreach$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchWebDatabasesBreach' from JSON`);
|
|
134
129
|
}
|
|
135
130
|
/** @internal */
|
|
136
|
-
export const
|
|
137
|
-
/** @internal */
|
|
138
|
-
export const SearchWebDatabasesData$inboundSchema = z.pipe(z.object({
|
|
131
|
+
export const CloudsintData$inboundSchema = z.pipe(z.object({
|
|
139
132
|
breaches: z.array(z.lazy(() => SearchWebDatabasesBreach$inboundSchema)),
|
|
140
133
|
query: types.string(),
|
|
141
134
|
total_matches: types.number(),
|
|
142
|
-
type: CloudsintTypeResponse$inboundSchema,
|
|
143
135
|
}), z.transform((v) => {
|
|
144
136
|
return remap$(v, {
|
|
145
137
|
"total_matches": "totalMatches",
|
|
146
138
|
});
|
|
147
139
|
}));
|
|
148
|
-
export function
|
|
149
|
-
return safeParse(jsonString, (x) =>
|
|
140
|
+
export function cloudsintDataFromJSON(jsonString) {
|
|
141
|
+
return safeParse(jsonString, (x) => CloudsintData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CloudsintData' from JSON`);
|
|
150
142
|
}
|
|
151
143
|
/** @internal */
|
|
152
144
|
export const Cloudsint$inboundSchema = z
|
|
153
145
|
.object({
|
|
154
|
-
data: z.lazy(() =>
|
|
146
|
+
data: z.lazy(() => CloudsintData$inboundSchema),
|
|
155
147
|
duration: types.number(),
|
|
156
148
|
success: types.boolean(),
|
|
157
149
|
});
|
|
@@ -159,48 +151,6 @@ export function cloudsintFromJSON(jsonString) {
|
|
|
159
151
|
return safeParse(jsonString, (x) => Cloudsint$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Cloudsint' from JSON`);
|
|
160
152
|
}
|
|
161
153
|
/** @internal */
|
|
162
|
-
export const LogInfo$inboundSchema = z.pipe(z.object({
|
|
163
|
-
hwid: types.nullable(types.string()),
|
|
164
|
-
name: types.nullable(types.string()),
|
|
165
|
-
system_name: types.nullable(types.string()),
|
|
166
|
-
}), z.transform((v) => {
|
|
167
|
-
return remap$(v, {
|
|
168
|
-
"system_name": "systemName",
|
|
169
|
-
});
|
|
170
|
-
}));
|
|
171
|
-
export function logInfoFromJSON(jsonString) {
|
|
172
|
-
return safeParse(jsonString, (x) => LogInfo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LogInfo' from JSON`);
|
|
173
|
-
}
|
|
174
|
-
/** @internal */
|
|
175
|
-
export const Credential$inboundSchema = z
|
|
176
|
-
.pipe(z.object({
|
|
177
|
-
log_info: z.lazy(() => LogInfo$inboundSchema),
|
|
178
|
-
date: types.optional(types.string()),
|
|
179
|
-
login: types.optional(types.string()),
|
|
180
|
-
password: types.optional(types.string()),
|
|
181
|
-
url: types.optional(types.string()),
|
|
182
|
-
}), z.transform((v) => {
|
|
183
|
-
return remap$(v, {
|
|
184
|
-
"log_info": "logInfo",
|
|
185
|
-
});
|
|
186
|
-
}));
|
|
187
|
-
export function credentialFromJSON(jsonString) {
|
|
188
|
-
return safeParse(jsonString, (x) => Credential$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Credential' from JSON`);
|
|
189
|
-
}
|
|
190
|
-
/** @internal */
|
|
191
|
-
export const Ghosint$inboundSchema = z.pipe(z.object({
|
|
192
|
-
count: types.number(),
|
|
193
|
-
credentials: z.array(z.lazy(() => Credential$inboundSchema)),
|
|
194
|
-
result_id: types.string(),
|
|
195
|
-
}), z.transform((v) => {
|
|
196
|
-
return remap$(v, {
|
|
197
|
-
"result_id": "resultId",
|
|
198
|
-
});
|
|
199
|
-
}));
|
|
200
|
-
export function ghosintFromJSON(jsonString) {
|
|
201
|
-
return safeParse(jsonString, (x) => Ghosint$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Ghosint' from JSON`);
|
|
202
|
-
}
|
|
203
|
-
/** @internal */
|
|
204
154
|
export const ResultsSource$inboundSchema = z.object({
|
|
205
155
|
date: types.optional(types.string()),
|
|
206
156
|
name: types.optional(types.string()),
|
|
@@ -209,7 +159,7 @@ export function resultsSourceFromJSON(jsonString) {
|
|
|
209
159
|
return safeParse(jsonString, (x) => ResultsSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResultsSource' from JSON`);
|
|
210
160
|
}
|
|
211
161
|
/** @internal */
|
|
212
|
-
export const
|
|
162
|
+
export const ResultsResult$inboundSchema = z.pipe(z.object({
|
|
213
163
|
id: types.string(),
|
|
214
164
|
source: z.lazy(() => ResultsSource$inboundSchema),
|
|
215
165
|
email: types.optional(types.string()),
|
|
@@ -230,8 +180,8 @@ export const ResultsResults$inboundSchema = z.pipe(z.object({
|
|
|
230
180
|
"sensitive_fields": "sensitiveFields",
|
|
231
181
|
});
|
|
232
182
|
}));
|
|
233
|
-
export function
|
|
234
|
-
return safeParse(jsonString, (x) =>
|
|
183
|
+
export function resultsResultFromJSON(jsonString) {
|
|
184
|
+
return safeParse(jsonString, (x) => ResultsResult$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResultsResult' from JSON`);
|
|
235
185
|
}
|
|
236
186
|
/** @internal */
|
|
237
187
|
export const Results$inboundSchema = z.pipe(z.object({
|
|
@@ -239,7 +189,7 @@ export const Results$inboundSchema = z.pipe(z.object({
|
|
|
239
189
|
first_seen: types.string(),
|
|
240
190
|
found: types.number(),
|
|
241
191
|
last_seen: types.string(),
|
|
242
|
-
results: z.lazy(() =>
|
|
192
|
+
results: types.optional(z.array(z.lazy(() => ResultsResult$inboundSchema))),
|
|
243
193
|
}), z.transform((v) => {
|
|
244
194
|
return remap$(v, {
|
|
245
195
|
"first_seen": "firstSeen",
|
|
@@ -252,18 +202,23 @@ export function resultsFromJSON(jsonString) {
|
|
|
252
202
|
/** @internal */
|
|
253
203
|
export const Hackcheck$inboundSchema = z
|
|
254
204
|
.object({
|
|
255
|
-
results: z.lazy(() => Results$inboundSchema),
|
|
205
|
+
results: types.optional(z.lazy(() => Results$inboundSchema)),
|
|
256
206
|
});
|
|
257
207
|
export function hackcheckFromJSON(jsonString) {
|
|
258
208
|
return safeParse(jsonString, (x) => Hackcheck$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Hackcheck' from JSON`);
|
|
259
209
|
}
|
|
260
210
|
/** @internal */
|
|
261
|
-
export const
|
|
211
|
+
export const ItemTag$inboundSchema = z.object({
|
|
262
212
|
class: types.number(),
|
|
263
213
|
value: types.string(),
|
|
264
214
|
});
|
|
265
|
-
export function
|
|
266
|
-
return safeParse(jsonString, (x) =>
|
|
215
|
+
export function itemTagFromJSON(jsonString) {
|
|
216
|
+
return safeParse(jsonString, (x) => ItemTag$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemTag' from JSON`);
|
|
217
|
+
}
|
|
218
|
+
/** @internal */
|
|
219
|
+
export const ItemType$inboundSchema = smartUnion([types.number(), types.string()]);
|
|
220
|
+
export function itemTypeFromJSON(jsonString) {
|
|
221
|
+
return safeParse(jsonString, (x) => ItemType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemType' from JSON`);
|
|
267
222
|
}
|
|
268
223
|
/** @internal */
|
|
269
224
|
export const Item$inboundSchema = z.object({
|
|
@@ -282,23 +237,55 @@ export const Item$inboundSchema = z.object({
|
|
|
282
237
|
size: types.optional(types.number()),
|
|
283
238
|
storageid: types.optional(types.string()),
|
|
284
239
|
systemid: types.optional(types.string()),
|
|
285
|
-
tags: types.optional(z.array(z.lazy(() =>
|
|
286
|
-
type: types.optional(types.number()),
|
|
240
|
+
tags: types.optional(z.array(z.lazy(() => ItemTag$inboundSchema))),
|
|
241
|
+
type: types.optional(smartUnion([types.number(), types.string()])),
|
|
287
242
|
xscore: types.optional(types.number()),
|
|
288
243
|
});
|
|
289
244
|
export function itemFromJSON(jsonString) {
|
|
290
245
|
return safeParse(jsonString, (x) => Item$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Item' from JSON`);
|
|
291
246
|
}
|
|
292
247
|
/** @internal */
|
|
248
|
+
export const Tag$inboundSchema = z.object({
|
|
249
|
+
class: types.number(),
|
|
250
|
+
value: types.string(),
|
|
251
|
+
});
|
|
252
|
+
export function tagFromJSON(jsonString) {
|
|
253
|
+
return safeParse(jsonString, (x) => Tag$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Tag' from JSON`);
|
|
254
|
+
}
|
|
255
|
+
/** @internal */
|
|
256
|
+
export const SearchWebDatabasesType$inboundSchema = smartUnion([types.number(), types.string()]);
|
|
257
|
+
export function searchWebDatabasesTypeFromJSON(jsonString) {
|
|
258
|
+
return safeParse(jsonString, (x) => SearchWebDatabasesType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchWebDatabasesType' from JSON`);
|
|
259
|
+
}
|
|
260
|
+
/** @internal */
|
|
293
261
|
export const Identityportal$inboundSchema = z.object({
|
|
294
|
-
|
|
262
|
+
accesslevel: types.optional(types.number()),
|
|
263
|
+
added: types.optional(types.string()),
|
|
264
|
+
bucket: types.optional(types.string()),
|
|
265
|
+
date: types.optional(types.string()),
|
|
266
|
+
description: types.optional(types.string()),
|
|
267
|
+
instore: types.optional(types.boolean()),
|
|
295
268
|
item: types.optional(z.lazy(() => Item$inboundSchema)),
|
|
269
|
+
keyvalues: types.optional(z.any()),
|
|
270
|
+
line: types.optional(types.string()),
|
|
271
|
+
linea: types.optional(types.string()),
|
|
296
272
|
lineraw: types.optional(types.string()),
|
|
297
273
|
linesafterraw: z.optional(z.nullable(types.string())),
|
|
298
274
|
linesbeforeraw: z.optional(z.nullable(types.string())),
|
|
275
|
+
media: types.optional(types.number()),
|
|
276
|
+
name: types.optional(types.string()),
|
|
277
|
+
owner: types.optional(types.string()),
|
|
299
278
|
positionabsolute: types.optional(types.number()),
|
|
300
279
|
positionline: types.optional(types.number()),
|
|
301
280
|
positionsize: types.optional(types.number()),
|
|
281
|
+
relations: types.optional(z.any()),
|
|
282
|
+
simhash: types.optional(types.number()),
|
|
283
|
+
size: types.optional(types.number()),
|
|
284
|
+
storageid: types.optional(types.string()),
|
|
285
|
+
systemid: types.optional(types.string()),
|
|
286
|
+
tags: types.optional(z.array(z.lazy(() => Tag$inboundSchema))),
|
|
287
|
+
type: types.optional(smartUnion([types.number(), types.string()])),
|
|
288
|
+
xscore: types.optional(types.number()),
|
|
302
289
|
});
|
|
303
290
|
export function identityportalFromJSON(jsonString) {
|
|
304
291
|
return safeParse(jsonString, (x) => Identityportal$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Identityportal' from JSON`);
|
|
@@ -317,364 +304,62 @@ export const Passwordless$inboundSchema = openEnums.inboundSchema(Passwordless);
|
|
|
317
304
|
/** @internal */
|
|
318
305
|
export const Unverified$inboundSchema = openEnums.inboundSchema(Unverified);
|
|
319
306
|
/** @internal */
|
|
320
|
-
export const
|
|
321
|
-
breach_date: types.string(),
|
|
322
|
-
compilation: Compilation$inboundSchema,
|
|
323
|
-
name: types.string(),
|
|
324
|
-
passwordless: Passwordless$inboundSchema,
|
|
325
|
-
unverified: Unverified$inboundSchema,
|
|
307
|
+
export const LeakcheckSource$inboundSchema = z.pipe(z.object({
|
|
308
|
+
breach_date: z.optional(z.nullable(types.string())),
|
|
309
|
+
compilation: types.optional(Compilation$inboundSchema),
|
|
310
|
+
name: types.optional(types.string()),
|
|
311
|
+
passwordless: types.optional(Passwordless$inboundSchema),
|
|
312
|
+
unverified: types.optional(Unverified$inboundSchema),
|
|
326
313
|
}), z.transform((v) => {
|
|
327
314
|
return remap$(v, {
|
|
328
315
|
"breach_date": "breachDate",
|
|
329
316
|
});
|
|
330
317
|
}));
|
|
331
|
-
export function
|
|
332
|
-
return safeParse(jsonString, (x) =>
|
|
318
|
+
export function leakcheckSourceFromJSON(jsonString) {
|
|
319
|
+
return safeParse(jsonString, (x) => LeakcheckSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LeakcheckSource' from JSON`);
|
|
333
320
|
}
|
|
334
321
|
/** @internal */
|
|
335
|
-
export const
|
|
336
|
-
address: types.nullable(types.string()),
|
|
337
|
-
country: types.nullable(types.string()),
|
|
338
|
-
dob: types.nullable(types.string()),
|
|
339
|
-
email: types.nullable(types.string()),
|
|
322
|
+
export const LeakcheckResult$inboundSchema = z.pipe(z.object({
|
|
340
323
|
fields: z.array(types.string()),
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
324
|
+
address: types.optional(types.string()),
|
|
325
|
+
country: types.optional(types.string()),
|
|
326
|
+
dob: types.optional(types.string()),
|
|
327
|
+
email: types.optional(types.string()),
|
|
328
|
+
first_name: types.optional(types.string()),
|
|
329
|
+
last_name: types.optional(types.string()),
|
|
330
|
+
name: types.optional(types.string()),
|
|
331
|
+
password: types.optional(types.string()),
|
|
332
|
+
phone: types.optional(types.string()),
|
|
333
|
+
source: types.optional(z.lazy(() => LeakcheckSource$inboundSchema)),
|
|
334
|
+
state: types.optional(types.string()),
|
|
335
|
+
zip: types.optional(types.string()),
|
|
349
336
|
}), z.transform((v) => {
|
|
350
337
|
return remap$(v, {
|
|
351
338
|
"first_name": "firstName",
|
|
352
339
|
"last_name": "lastName",
|
|
353
340
|
});
|
|
354
341
|
}));
|
|
355
|
-
export function
|
|
356
|
-
return safeParse(jsonString, (x) =>
|
|
342
|
+
export function leakcheckResultFromJSON(jsonString) {
|
|
343
|
+
return safeParse(jsonString, (x) => LeakcheckResult$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LeakcheckResult' from JSON`);
|
|
357
344
|
}
|
|
358
345
|
/** @internal */
|
|
359
346
|
export const Leakcheck$inboundSchema = z
|
|
360
347
|
.object({
|
|
361
|
-
error: types.nullable(types.string()),
|
|
362
348
|
found: types.number(),
|
|
363
|
-
|
|
364
|
-
result: z.array(z.lazy(() => SearchWebDatabasesResult$inboundSchema)),
|
|
349
|
+
result: z.array(z.lazy(() => LeakcheckResult$inboundSchema)),
|
|
365
350
|
success: types.boolean(),
|
|
351
|
+
error: types.optional(types.string()),
|
|
366
352
|
});
|
|
367
353
|
export function leakcheckFromJSON(jsonString) {
|
|
368
354
|
return safeParse(jsonString, (x) => Leakcheck$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Leakcheck' from JSON`);
|
|
369
355
|
}
|
|
370
356
|
/** @internal */
|
|
371
|
-
export const
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
Password: types.optional(types.string()),
|
|
375
|
-
Url: types.optional(types.string()),
|
|
376
|
-
}), types.string()), "additionalProperties", true), z.transform((v) => {
|
|
377
|
-
return remap$(v, {
|
|
378
|
-
"Email": "email",
|
|
379
|
-
"NickName": "nickName",
|
|
380
|
-
"Password": "password",
|
|
381
|
-
"Url": "url",
|
|
382
|
-
});
|
|
383
|
-
}));
|
|
384
|
-
export function datumFromJSON(jsonString) {
|
|
385
|
-
return safeParse(jsonString, (x) => Datum$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Datum' from JSON`);
|
|
386
|
-
}
|
|
387
|
-
/** @internal */
|
|
388
|
-
export const SearchWebDatabasesList$inboundSchema = z.pipe(z.object({
|
|
389
|
-
Data: z.array(z.lazy(() => Datum$inboundSchema)),
|
|
390
|
-
InfoLeak: types.string(),
|
|
391
|
-
NumOfResults: types.number(),
|
|
392
|
-
}), z.transform((v) => {
|
|
393
|
-
return remap$(v, {
|
|
394
|
-
"Data": "data",
|
|
395
|
-
"InfoLeak": "infoLeak",
|
|
396
|
-
"NumOfResults": "numOfResults",
|
|
397
|
-
});
|
|
398
|
-
}));
|
|
399
|
-
export function searchWebDatabasesListFromJSON(jsonString) {
|
|
400
|
-
return safeParse(jsonString, (x) => SearchWebDatabasesList$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchWebDatabasesList' from JSON`);
|
|
401
|
-
}
|
|
402
|
-
/** @internal */
|
|
403
|
-
export const Leakosint$inboundSchema = z
|
|
404
|
-
.pipe(z.object({
|
|
405
|
-
List: z.record(z.string(), z.lazy(() => SearchWebDatabasesList$inboundSchema)),
|
|
406
|
-
NumOfDatabase: types.number(),
|
|
407
|
-
NumOfResults: types.number(),
|
|
408
|
-
price: types.number(),
|
|
409
|
-
"search time": types.number(),
|
|
410
|
-
}), z.transform((v) => {
|
|
411
|
-
return remap$(v, {
|
|
412
|
-
"List": "list",
|
|
413
|
-
"NumOfDatabase": "numOfDatabase",
|
|
414
|
-
"NumOfResults": "numOfResults",
|
|
415
|
-
"search time": "searchTime",
|
|
416
|
-
});
|
|
417
|
-
}));
|
|
418
|
-
export function leakosintFromJSON(jsonString) {
|
|
419
|
-
return safeParse(jsonString, (x) => Leakosint$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Leakosint' from JSON`);
|
|
357
|
+
export const SnusbaseUnion$inboundSchema = smartUnion([types.string(), z.any()]);
|
|
358
|
+
export function snusbaseUnionFromJSON(jsonString) {
|
|
359
|
+
return safeParse(jsonString, (x) => SnusbaseUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SnusbaseUnion' from JSON`);
|
|
420
360
|
}
|
|
421
361
|
/** @internal */
|
|
422
|
-
export const
|
|
423
|
-
Bio: types.optional(types.string()),
|
|
424
|
-
}), types.string()), "additionalProperties", true), z.transform((v) => {
|
|
425
|
-
return remap$(v, {
|
|
426
|
-
"Bio": "bio",
|
|
427
|
-
});
|
|
428
|
-
}));
|
|
429
|
-
export function bodyFromJSON(jsonString) {
|
|
430
|
-
return safeParse(jsonString, (x) => Body$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Body' from JSON`);
|
|
431
|
-
}
|
|
432
|
-
/** @internal */
|
|
433
|
-
export const SearchWebDatabasesTimeline$inboundSchema = z.pipe(z.object({
|
|
434
|
-
group_items: z.record(z.string(), z.any()),
|
|
435
|
-
group_years: z.record(z.string(), z.any()),
|
|
436
|
-
groups: z.record(z.string(), z.any()),
|
|
437
|
-
last_seen: types.boolean(),
|
|
438
|
-
last_seen_date: types.nullable(types.string()),
|
|
439
|
-
registered: types.boolean(),
|
|
440
|
-
registered_date: types.nullable(types.string()),
|
|
441
|
-
}), z.transform((v) => {
|
|
442
|
-
return remap$(v, {
|
|
443
|
-
"group_items": "groupItems",
|
|
444
|
-
"group_years": "groupYears",
|
|
445
|
-
"last_seen": "lastSeen",
|
|
446
|
-
"last_seen_date": "lastSeenDate",
|
|
447
|
-
"registered_date": "registeredDate",
|
|
448
|
-
});
|
|
449
|
-
}));
|
|
450
|
-
export function searchWebDatabasesTimelineFromJSON(jsonString) {
|
|
451
|
-
return safeParse(jsonString, (x) => SearchWebDatabasesTimeline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchWebDatabasesTimeline' from JSON`);
|
|
452
|
-
}
|
|
453
|
-
/** @internal */
|
|
454
|
-
export const FrontSchema$inboundSchema = z
|
|
455
|
-
.object({
|
|
456
|
-
body: z.lazy(() => Body$inboundSchema),
|
|
457
|
-
image: types.string(),
|
|
458
|
-
module: types.string(),
|
|
459
|
-
tags: z.array(types.string()),
|
|
460
|
-
timeline: z.lazy(() => SearchWebDatabasesTimeline$inboundSchema),
|
|
461
|
-
});
|
|
462
|
-
export function frontSchemaFromJSON(jsonString) {
|
|
463
|
-
return safeParse(jsonString, (x) => FrontSchema$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FrontSchema' from JSON`);
|
|
464
|
-
}
|
|
465
|
-
/** @internal */
|
|
466
|
-
export const Bio$inboundSchema = z.pipe(z.object({
|
|
467
|
-
proper_key: types.string(),
|
|
468
|
-
type: types.literal("str"),
|
|
469
|
-
value: types.string(),
|
|
470
|
-
}), z.transform((v) => {
|
|
471
|
-
return remap$(v, {
|
|
472
|
-
"proper_key": "properKey",
|
|
473
|
-
});
|
|
474
|
-
}));
|
|
475
|
-
export function bioFromJSON(jsonString) {
|
|
476
|
-
return safeParse(jsonString, (x) => Bio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Bio' from JSON`);
|
|
477
|
-
}
|
|
478
|
-
/** @internal */
|
|
479
|
-
export const SearchWebDatabasesId$inboundSchema = z.pipe(z.object({
|
|
480
|
-
proper_key: types.string(),
|
|
481
|
-
type: types.literal("str"),
|
|
482
|
-
value: types.string(),
|
|
483
|
-
}), z.transform((v) => {
|
|
484
|
-
return remap$(v, {
|
|
485
|
-
"proper_key": "properKey",
|
|
486
|
-
});
|
|
487
|
-
}));
|
|
488
|
-
export function searchWebDatabasesIdFromJSON(jsonString) {
|
|
489
|
-
return safeParse(jsonString, (x) => SearchWebDatabasesId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchWebDatabasesId' from JSON`);
|
|
490
|
-
}
|
|
491
|
-
/** @internal */
|
|
492
|
-
export const SearchWebDatabasesLocation$inboundSchema = z.pipe(z.object({
|
|
493
|
-
proper_key: types.string(),
|
|
494
|
-
type: types.literal("str"),
|
|
495
|
-
value: types.string(),
|
|
496
|
-
}), z.transform((v) => {
|
|
497
|
-
return remap$(v, {
|
|
498
|
-
"proper_key": "properKey",
|
|
499
|
-
});
|
|
500
|
-
}));
|
|
501
|
-
export function searchWebDatabasesLocationFromJSON(jsonString) {
|
|
502
|
-
return safeParse(jsonString, (x) => SearchWebDatabasesLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchWebDatabasesLocation' from JSON`);
|
|
503
|
-
}
|
|
504
|
-
/** @internal */
|
|
505
|
-
export const Name$inboundSchema = z.pipe(z.object({
|
|
506
|
-
proper_key: types.string(),
|
|
507
|
-
type: types.literal("str"),
|
|
508
|
-
value: types.string(),
|
|
509
|
-
}), z.transform((v) => {
|
|
510
|
-
return remap$(v, {
|
|
511
|
-
"proper_key": "properKey",
|
|
512
|
-
});
|
|
513
|
-
}));
|
|
514
|
-
export function nameFromJSON(jsonString) {
|
|
515
|
-
return safeParse(jsonString, (x) => Name$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Name' from JSON`);
|
|
516
|
-
}
|
|
517
|
-
/** @internal */
|
|
518
|
-
export const PictureUrl$inboundSchema = z
|
|
519
|
-
.pipe(z.object({
|
|
520
|
-
proper_key: types.string(),
|
|
521
|
-
type: types.literal("str"),
|
|
522
|
-
value: types.string(),
|
|
523
|
-
}), z.transform((v) => {
|
|
524
|
-
return remap$(v, {
|
|
525
|
-
"proper_key": "properKey",
|
|
526
|
-
});
|
|
527
|
-
}));
|
|
528
|
-
export function pictureUrlFromJSON(jsonString) {
|
|
529
|
-
return safeParse(jsonString, (x) => PictureUrl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PictureUrl' from JSON`);
|
|
530
|
-
}
|
|
531
|
-
/** @internal */
|
|
532
|
-
export const PlatformVariableType$inboundSchema = openEnums.inboundSchema(PlatformVariableType);
|
|
533
|
-
/** @internal */
|
|
534
|
-
export const Value$inboundSchema = z.object({
|
|
535
|
-
url: types.string(),
|
|
536
|
-
});
|
|
537
|
-
export function valueFromJSON(jsonString) {
|
|
538
|
-
return safeParse(jsonString, (x) => Value$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Value' from JSON`);
|
|
539
|
-
}
|
|
540
|
-
/** @internal */
|
|
541
|
-
export const ValueUnion$inboundSchema = smartUnion([
|
|
542
|
-
types.number(),
|
|
543
|
-
types.string(),
|
|
544
|
-
z.array(z.lazy(() => Value$inboundSchema)),
|
|
545
|
-
types.boolean(),
|
|
546
|
-
]);
|
|
547
|
-
export function valueUnionFromJSON(jsonString) {
|
|
548
|
-
return safeParse(jsonString, (x) => ValueUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ValueUnion' from JSON`);
|
|
549
|
-
}
|
|
550
|
-
/** @internal */
|
|
551
|
-
export const PlatformVariable$inboundSchema = z.pipe(z.object({
|
|
552
|
-
key: types.string(),
|
|
553
|
-
proper_key: types.string(),
|
|
554
|
-
type: PlatformVariableType$inboundSchema,
|
|
555
|
-
value: smartUnion([
|
|
556
|
-
types.number(),
|
|
557
|
-
types.string(),
|
|
558
|
-
z.array(z.lazy(() => Value$inboundSchema)),
|
|
559
|
-
types.boolean(),
|
|
560
|
-
]),
|
|
561
|
-
}), z.transform((v) => {
|
|
562
|
-
return remap$(v, {
|
|
563
|
-
"proper_key": "properKey",
|
|
564
|
-
});
|
|
565
|
-
}));
|
|
566
|
-
export function platformVariableFromJSON(jsonString) {
|
|
567
|
-
return safeParse(jsonString, (x) => PlatformVariable$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformVariable' from JSON`);
|
|
568
|
-
}
|
|
569
|
-
/** @internal */
|
|
570
|
-
export const Private$inboundSchema = z.pipe(z.object({
|
|
571
|
-
proper_key: types.string(),
|
|
572
|
-
type: types.literal("bool"),
|
|
573
|
-
value: types.boolean(),
|
|
574
|
-
}), z.transform((v) => {
|
|
575
|
-
return remap$(v, {
|
|
576
|
-
"proper_key": "properKey",
|
|
577
|
-
});
|
|
578
|
-
}));
|
|
579
|
-
export function privateFromJSON(jsonString) {
|
|
580
|
-
return safeParse(jsonString, (x) => Private$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Private' from JSON`);
|
|
581
|
-
}
|
|
582
|
-
/** @internal */
|
|
583
|
-
export const ProfileUrl$inboundSchema = z
|
|
584
|
-
.pipe(z.object({
|
|
585
|
-
proper_key: types.string(),
|
|
586
|
-
type: types.literal("str"),
|
|
587
|
-
value: types.string(),
|
|
588
|
-
}), z.transform((v) => {
|
|
589
|
-
return remap$(v, {
|
|
590
|
-
"proper_key": "properKey",
|
|
591
|
-
});
|
|
592
|
-
}));
|
|
593
|
-
export function profileUrlFromJSON(jsonString) {
|
|
594
|
-
return safeParse(jsonString, (x) => ProfileUrl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfileUrl' from JSON`);
|
|
595
|
-
}
|
|
596
|
-
/** @internal */
|
|
597
|
-
export const Registered$inboundSchema = z
|
|
598
|
-
.pipe(z.object({
|
|
599
|
-
proper_key: types.string(),
|
|
600
|
-
type: types.literal("bool"),
|
|
601
|
-
value: types.boolean(),
|
|
602
|
-
}), z.transform((v) => {
|
|
603
|
-
return remap$(v, {
|
|
604
|
-
"proper_key": "properKey",
|
|
605
|
-
});
|
|
606
|
-
}));
|
|
607
|
-
export function registeredFromJSON(jsonString) {
|
|
608
|
-
return safeParse(jsonString, (x) => Registered$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Registered' from JSON`);
|
|
609
|
-
}
|
|
610
|
-
/** @internal */
|
|
611
|
-
export const Verified$inboundSchema = z.pipe(z.object({
|
|
612
|
-
proper_key: types.string(),
|
|
613
|
-
type: types.literal("bool"),
|
|
614
|
-
value: types.boolean(),
|
|
615
|
-
}), z.transform((v) => {
|
|
616
|
-
return remap$(v, {
|
|
617
|
-
"proper_key": "properKey",
|
|
618
|
-
});
|
|
619
|
-
}));
|
|
620
|
-
export function verifiedFromJSON(jsonString) {
|
|
621
|
-
return safeParse(jsonString, (x) => Verified$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Verified' from JSON`);
|
|
622
|
-
}
|
|
623
|
-
/** @internal */
|
|
624
|
-
export const SpecFormat$inboundSchema = z
|
|
625
|
-
.pipe(z.object({
|
|
626
|
-
bio: types.optional(z.lazy(() => Bio$inboundSchema)),
|
|
627
|
-
id: types.optional(z.lazy(() => SearchWebDatabasesId$inboundSchema)),
|
|
628
|
-
location: types.optional(z.lazy(() => SearchWebDatabasesLocation$inboundSchema)),
|
|
629
|
-
name: types.optional(z.lazy(() => Name$inboundSchema)),
|
|
630
|
-
picture_url: types.optional(z.lazy(() => PictureUrl$inboundSchema)),
|
|
631
|
-
platform_variables: types.optional(z.array(z.lazy(() => PlatformVariable$inboundSchema))),
|
|
632
|
-
private: types.optional(z.lazy(() => Private$inboundSchema)),
|
|
633
|
-
profile_url: types.optional(z.lazy(() => ProfileUrl$inboundSchema)),
|
|
634
|
-
registered: types.optional(z.lazy(() => Registered$inboundSchema)),
|
|
635
|
-
verified: types.optional(z.lazy(() => Verified$inboundSchema)),
|
|
636
|
-
}), z.transform((v) => {
|
|
637
|
-
return remap$(v, {
|
|
638
|
-
"picture_url": "pictureUrl",
|
|
639
|
-
"platform_variables": "platformVariables",
|
|
640
|
-
"profile_url": "profileUrl",
|
|
641
|
-
});
|
|
642
|
-
}));
|
|
643
|
-
export function specFormatFromJSON(jsonString) {
|
|
644
|
-
return safeParse(jsonString, (x) => SpecFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SpecFormat' from JSON`);
|
|
645
|
-
}
|
|
646
|
-
/** @internal */
|
|
647
|
-
export const SearchWebDatabasesStatus$inboundSchema = openEnums.inboundSchema(SearchWebDatabasesStatus);
|
|
648
|
-
/** @internal */
|
|
649
|
-
export const Category$inboundSchema = z
|
|
650
|
-
.object({
|
|
651
|
-
name: types.string(),
|
|
652
|
-
});
|
|
653
|
-
export function categoryFromJSON(jsonString) {
|
|
654
|
-
return safeParse(jsonString, (x) => Category$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Category' from JSON`);
|
|
655
|
-
}
|
|
656
|
-
/** @internal */
|
|
657
|
-
export const Osintindustry$inboundSchema = z.pipe(z.object({
|
|
658
|
-
data: z.record(z.string(), z.any()),
|
|
659
|
-
front_schemas: z.array(z.lazy(() => FrontSchema$inboundSchema)),
|
|
660
|
-
module: types.string(),
|
|
661
|
-
reliable_source: types.boolean(),
|
|
662
|
-
spec_format: z.array(z.lazy(() => SpecFormat$inboundSchema)),
|
|
663
|
-
status: SearchWebDatabasesStatus$inboundSchema,
|
|
664
|
-
category: types.optional(z.lazy(() => Category$inboundSchema)),
|
|
665
|
-
}), z.transform((v) => {
|
|
666
|
-
return remap$(v, {
|
|
667
|
-
"front_schemas": "frontSchemas",
|
|
668
|
-
"reliable_source": "reliableSource",
|
|
669
|
-
"spec_format": "specFormat",
|
|
670
|
-
});
|
|
671
|
-
}));
|
|
672
|
-
export function osintindustryFromJSON(jsonString) {
|
|
673
|
-
return safeParse(jsonString, (x) => Osintindustry$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Osintindustry' from JSON`);
|
|
674
|
-
}
|
|
675
|
-
/** @internal */
|
|
676
|
-
export const Snusbase$inboundSchema = z
|
|
677
|
-
.object({
|
|
362
|
+
export const Snusbase$inboundSchema = collectExtraKeys$(z.catchall(z.object({
|
|
678
363
|
address: types.optional(types.string()),
|
|
679
364
|
birthdate: types.optional(types.string()),
|
|
680
365
|
city: types.optional(types.string()),
|
|
@@ -705,28 +390,26 @@ export const Snusbase$inboundSchema = z
|
|
|
705
390
|
url: types.optional(types.string()),
|
|
706
391
|
username: types.optional(types.string()),
|
|
707
392
|
zip: types.optional(types.string()),
|
|
708
|
-
});
|
|
393
|
+
}), smartUnion([types.string(), z.any()])), "additionalProperties", true);
|
|
709
394
|
export function snusbaseFromJSON(jsonString) {
|
|
710
395
|
return safeParse(jsonString, (x) => Snusbase$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Snusbase' from JSON`);
|
|
711
396
|
}
|
|
712
397
|
/** @internal */
|
|
713
|
-
export const
|
|
714
|
-
.
|
|
398
|
+
export const SearchWebDatabasesData$inboundSchema = z.object({
|
|
399
|
+
breachvip: types.optional(z.array(z.lazy(() => Breachvip$inboundSchema))),
|
|
715
400
|
cloudsint: types.optional(z.lazy(() => Cloudsint$inboundSchema)),
|
|
716
|
-
ghosint: types.optional(z.lazy(() => Ghosint$inboundSchema)),
|
|
717
401
|
hackcheck: types.optional(z.lazy(() => Hackcheck$inboundSchema)),
|
|
718
402
|
intelligencex: types.optional(z.lazy(() => Intelligencex$inboundSchema)),
|
|
719
403
|
leakcheck: types.optional(z.lazy(() => Leakcheck$inboundSchema)),
|
|
720
|
-
leakosint: types.optional(z.lazy(() => Leakosint$inboundSchema)),
|
|
721
|
-
osintindustries: types.optional(z.array(z.lazy(() => Osintindustry$inboundSchema))),
|
|
722
404
|
snusbase: types.optional(z.record(z.string(), z.array(z.lazy(() => Snusbase$inboundSchema)))),
|
|
405
|
+
snusbaseRateLimited: types.optional(types.boolean()),
|
|
723
406
|
});
|
|
724
|
-
export function
|
|
725
|
-
return safeParse(jsonString, (x) =>
|
|
407
|
+
export function searchWebDatabasesDataFromJSON(jsonString) {
|
|
408
|
+
return safeParse(jsonString, (x) => SearchWebDatabasesData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchWebDatabasesData' from JSON`);
|
|
726
409
|
}
|
|
727
410
|
/** @internal */
|
|
728
411
|
export const SearchWebDatabasesResponse$inboundSchema = z.object({
|
|
729
|
-
|
|
412
|
+
data: z.lazy(() => SearchWebDatabasesData$inboundSchema),
|
|
730
413
|
success: types.boolean(),
|
|
731
414
|
error: types.optional(types.string()),
|
|
732
415
|
});
|