@indiciaosint/sdk 1.2.7 → 1.2.8
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/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/operations/search-discord.d.ts +42 -18
- package/esm/models/operations/search-discord.d.ts.map +1 -1
- package/esm/models/operations/search-discord.js +39 -18
- package/esm/models/operations/search-discord.js.map +1 -1
- package/esm/models/operations/search-roblox.d.ts +23 -0
- package/esm/models/operations/search-roblox.d.ts.map +1 -1
- package/esm/models/operations/search-roblox.js +33 -0
- package/esm/models/operations/search-roblox.js.map +1 -1
- package/esm/models/operations/search-web-databases.d.ts +76 -23
- package/esm/models/operations/search-web-databases.d.ts.map +1 -1
- package/esm/models/operations/search-web-databases.js +94 -28
- package/esm/models/operations/search-web-databases.js.map +1 -1
- package/esm/models/operations/search-whois.d.ts +4 -4
- package/esm/models/operations/search-whois.d.ts.map +1 -1
- package/esm/models/operations/search-whois.js +4 -4
- package/esm/models/operations/search-whois.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/operations/search-discord.ts +73 -40
- package/src/models/operations/search-roblox.ts +75 -0
- package/src/models/operations/search-web-databases.ts +229 -65
- package/src/models/operations/search-whois.ts +11 -8
|
@@ -40,9 +40,6 @@ export type CloudsintType = ClosedEnum<typeof CloudsintType>;
|
|
|
40
40
|
export const IntelxType = {
|
|
41
41
|
Domain: "domain",
|
|
42
42
|
Email: "email",
|
|
43
|
-
Ip: "ip",
|
|
44
|
-
Phone: "phone",
|
|
45
|
-
Url: "url",
|
|
46
43
|
} as const;
|
|
47
44
|
export type IntelxType = ClosedEnum<typeof IntelxType>;
|
|
48
45
|
|
|
@@ -91,15 +88,29 @@ export type Breachvip = {
|
|
|
91
88
|
password?: string | undefined;
|
|
92
89
|
};
|
|
93
90
|
|
|
91
|
+
export type Breach = string | any;
|
|
92
|
+
|
|
94
93
|
export type SearchWebDatabasesBreach = {
|
|
95
94
|
id: string;
|
|
95
|
+
address?: string | undefined;
|
|
96
|
+
city?: string | undefined;
|
|
97
|
+
county?: string | undefined;
|
|
98
|
+
dob?: string | undefined;
|
|
96
99
|
email?: string | undefined;
|
|
100
|
+
firstname?: string | undefined;
|
|
97
101
|
importedAt?: string | undefined;
|
|
102
|
+
lastname?: string | undefined;
|
|
103
|
+
middlename?: string | undefined;
|
|
98
104
|
password?: string | undefined;
|
|
105
|
+
phone?: string | undefined;
|
|
99
106
|
source?: string | undefined;
|
|
100
107
|
sourceDate?: string | undefined;
|
|
101
108
|
sourceName?: string | undefined;
|
|
109
|
+
ssn?: string | undefined;
|
|
110
|
+
state?: string | undefined;
|
|
102
111
|
username?: string | undefined;
|
|
112
|
+
zip?: string | undefined;
|
|
113
|
+
additionalProperties?: { [k: string]: string | any } | undefined;
|
|
103
114
|
};
|
|
104
115
|
|
|
105
116
|
export type CloudsintData = {
|
|
@@ -145,14 +156,14 @@ export type Hackcheck = {
|
|
|
145
156
|
results?: Results | undefined;
|
|
146
157
|
};
|
|
147
158
|
|
|
148
|
-
export type
|
|
159
|
+
export type RawTag = {
|
|
149
160
|
class: number;
|
|
150
161
|
value: string;
|
|
151
162
|
};
|
|
152
163
|
|
|
153
|
-
export type
|
|
164
|
+
export type RawType = number | string;
|
|
154
165
|
|
|
155
|
-
export type
|
|
166
|
+
export type RawItem = {
|
|
156
167
|
accesslevel?: number | undefined;
|
|
157
168
|
added?: string | undefined;
|
|
158
169
|
bucket?: string | undefined;
|
|
@@ -168,38 +179,41 @@ export type Item = {
|
|
|
168
179
|
size?: number | undefined;
|
|
169
180
|
storageid?: string | undefined;
|
|
170
181
|
systemid?: string | undefined;
|
|
171
|
-
tags?: Array<
|
|
182
|
+
tags?: Array<RawTag> | undefined;
|
|
172
183
|
type?: number | string | undefined;
|
|
173
184
|
xscore?: number | undefined;
|
|
174
185
|
};
|
|
175
186
|
|
|
187
|
+
export type SearchWebDatabasesRaw = {
|
|
188
|
+
item?: RawItem | undefined;
|
|
189
|
+
linea?: string | undefined;
|
|
190
|
+
lineraw?: string | undefined;
|
|
191
|
+
linesafterraw?: string | null | undefined;
|
|
192
|
+
linesbeforeraw?: string | null | undefined;
|
|
193
|
+
positionabsolute?: number | undefined;
|
|
194
|
+
positionline?: number | undefined;
|
|
195
|
+
positionsize?: number | undefined;
|
|
196
|
+
[additionalProperties: string]: unknown;
|
|
197
|
+
};
|
|
198
|
+
|
|
176
199
|
export type Tag = {
|
|
177
200
|
class: number;
|
|
178
201
|
value: string;
|
|
179
202
|
};
|
|
180
203
|
|
|
181
|
-
export type
|
|
204
|
+
export type ItemType = number | string;
|
|
182
205
|
|
|
183
|
-
export type
|
|
206
|
+
export type Item = {
|
|
184
207
|
accesslevel?: number | undefined;
|
|
185
208
|
added?: string | undefined;
|
|
186
209
|
bucket?: string | undefined;
|
|
187
210
|
date?: string | undefined;
|
|
188
211
|
description?: string | undefined;
|
|
189
212
|
instore?: boolean | undefined;
|
|
190
|
-
item?: Item | undefined;
|
|
191
213
|
keyvalues?: any | undefined;
|
|
192
|
-
line?: string | undefined;
|
|
193
|
-
linea?: string | undefined;
|
|
194
|
-
lineraw?: string | undefined;
|
|
195
|
-
linesafterraw?: string | null | undefined;
|
|
196
|
-
linesbeforeraw?: string | null | undefined;
|
|
197
214
|
media?: number | undefined;
|
|
198
215
|
name?: string | undefined;
|
|
199
216
|
owner?: string | undefined;
|
|
200
|
-
positionabsolute?: number | undefined;
|
|
201
|
-
positionline?: number | undefined;
|
|
202
|
-
positionsize?: number | undefined;
|
|
203
217
|
relations?: any | undefined;
|
|
204
218
|
simhash?: number | undefined;
|
|
205
219
|
size?: number | undefined;
|
|
@@ -210,6 +224,35 @@ export type Identityportal = {
|
|
|
210
224
|
xscore?: number | undefined;
|
|
211
225
|
};
|
|
212
226
|
|
|
227
|
+
export type SearchWebDatabasesType = number | string;
|
|
228
|
+
|
|
229
|
+
export type Identityportal = {
|
|
230
|
+
raw?: SearchWebDatabasesRaw | undefined;
|
|
231
|
+
bucket?: string | undefined;
|
|
232
|
+
fileDate?: string | undefined;
|
|
233
|
+
fileName?: string | undefined;
|
|
234
|
+
fileSize?: number | undefined;
|
|
235
|
+
instore?: boolean | undefined;
|
|
236
|
+
item?: Item | undefined;
|
|
237
|
+
line?: string | undefined;
|
|
238
|
+
lineRaw?: string | null | undefined;
|
|
239
|
+
linea?: string | undefined;
|
|
240
|
+
lineraw?: string | undefined;
|
|
241
|
+
positionAbsolute?: number | undefined;
|
|
242
|
+
positionLine?: number | undefined;
|
|
243
|
+
query?: string | undefined;
|
|
244
|
+
source?: string | undefined;
|
|
245
|
+
sourceDb?: string | undefined;
|
|
246
|
+
storageid?: string | undefined;
|
|
247
|
+
systemid?: string | undefined;
|
|
248
|
+
tags?: Array<string> | undefined;
|
|
249
|
+
timestamp?: string | undefined;
|
|
250
|
+
totalResults?: number | undefined;
|
|
251
|
+
type?: number | string | undefined;
|
|
252
|
+
xscore?: number | undefined;
|
|
253
|
+
[additionalProperties: string]: unknown;
|
|
254
|
+
};
|
|
255
|
+
|
|
213
256
|
export type Intelligencex = {
|
|
214
257
|
identityportal?: Array<Identityportal> | undefined;
|
|
215
258
|
};
|
|
@@ -398,21 +441,55 @@ export function breachvipFromJSON(
|
|
|
398
441
|
);
|
|
399
442
|
}
|
|
400
443
|
|
|
444
|
+
/** @internal */
|
|
445
|
+
export const Breach$inboundSchema: z.ZodMiniType<Breach, unknown> = smartUnion([
|
|
446
|
+
types.string(),
|
|
447
|
+
z.any(),
|
|
448
|
+
]);
|
|
449
|
+
|
|
450
|
+
export function breachFromJSON(
|
|
451
|
+
jsonString: string,
|
|
452
|
+
): SafeParseResult<Breach, SDKValidationError> {
|
|
453
|
+
return safeParse(
|
|
454
|
+
jsonString,
|
|
455
|
+
(x) => Breach$inboundSchema.parse(JSON.parse(x)),
|
|
456
|
+
`Failed to parse 'Breach' from JSON`,
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
|
|
401
460
|
/** @internal */
|
|
402
461
|
export const SearchWebDatabasesBreach$inboundSchema: z.ZodMiniType<
|
|
403
462
|
SearchWebDatabasesBreach,
|
|
404
463
|
unknown
|
|
405
464
|
> = z.pipe(
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
465
|
+
collectExtraKeys$(
|
|
466
|
+
z.catchall(
|
|
467
|
+
z.object({
|
|
468
|
+
id: types.string(),
|
|
469
|
+
address: types.optional(types.string()),
|
|
470
|
+
city: types.optional(types.string()),
|
|
471
|
+
county: types.optional(types.string()),
|
|
472
|
+
dob: types.optional(types.string()),
|
|
473
|
+
email: types.optional(types.string()),
|
|
474
|
+
firstname: types.optional(types.string()),
|
|
475
|
+
imported_at: types.optional(types.string()),
|
|
476
|
+
lastname: types.optional(types.string()),
|
|
477
|
+
middlename: types.optional(types.string()),
|
|
478
|
+
password: types.optional(types.string()),
|
|
479
|
+
phone: types.optional(types.string()),
|
|
480
|
+
source: types.optional(types.string()),
|
|
481
|
+
source_date: types.optional(types.string()),
|
|
482
|
+
source_name: types.optional(types.string()),
|
|
483
|
+
ssn: types.optional(types.string()),
|
|
484
|
+
state: types.optional(types.string()),
|
|
485
|
+
username: types.optional(types.string()),
|
|
486
|
+
zip: types.optional(types.string()),
|
|
487
|
+
}),
|
|
488
|
+
smartUnion([types.string(), z.any()]),
|
|
489
|
+
),
|
|
490
|
+
"additionalProperties",
|
|
491
|
+
true,
|
|
492
|
+
),
|
|
416
493
|
z.transform((v) => {
|
|
417
494
|
return remap$(v, {
|
|
418
495
|
"imported_at": "importedAt",
|
|
@@ -579,37 +656,37 @@ export function hackcheckFromJSON(
|
|
|
579
656
|
}
|
|
580
657
|
|
|
581
658
|
/** @internal */
|
|
582
|
-
export const
|
|
659
|
+
export const RawTag$inboundSchema: z.ZodMiniType<RawTag, unknown> = z.object({
|
|
583
660
|
class: types.number(),
|
|
584
661
|
value: types.string(),
|
|
585
662
|
});
|
|
586
663
|
|
|
587
|
-
export function
|
|
664
|
+
export function rawTagFromJSON(
|
|
588
665
|
jsonString: string,
|
|
589
|
-
): SafeParseResult<
|
|
666
|
+
): SafeParseResult<RawTag, SDKValidationError> {
|
|
590
667
|
return safeParse(
|
|
591
668
|
jsonString,
|
|
592
|
-
(x) =>
|
|
593
|
-
`Failed to parse '
|
|
669
|
+
(x) => RawTag$inboundSchema.parse(JSON.parse(x)),
|
|
670
|
+
`Failed to parse 'RawTag' from JSON`,
|
|
594
671
|
);
|
|
595
672
|
}
|
|
596
673
|
|
|
597
674
|
/** @internal */
|
|
598
|
-
export const
|
|
675
|
+
export const RawType$inboundSchema: z.ZodMiniType<RawType, unknown> =
|
|
599
676
|
smartUnion([types.number(), types.string()]);
|
|
600
677
|
|
|
601
|
-
export function
|
|
678
|
+
export function rawTypeFromJSON(
|
|
602
679
|
jsonString: string,
|
|
603
|
-
): SafeParseResult<
|
|
680
|
+
): SafeParseResult<RawType, SDKValidationError> {
|
|
604
681
|
return safeParse(
|
|
605
682
|
jsonString,
|
|
606
|
-
(x) =>
|
|
607
|
-
`Failed to parse '
|
|
683
|
+
(x) => RawType$inboundSchema.parse(JSON.parse(x)),
|
|
684
|
+
`Failed to parse 'RawType' from JSON`,
|
|
608
685
|
);
|
|
609
686
|
}
|
|
610
687
|
|
|
611
688
|
/** @internal */
|
|
612
|
-
export const
|
|
689
|
+
export const RawItem$inboundSchema: z.ZodMiniType<RawItem, unknown> = z.object({
|
|
613
690
|
accesslevel: types.optional(types.number()),
|
|
614
691
|
added: types.optional(types.string()),
|
|
615
692
|
bucket: types.optional(types.string()),
|
|
@@ -625,18 +702,46 @@ export const Item$inboundSchema: z.ZodMiniType<Item, unknown> = z.object({
|
|
|
625
702
|
size: types.optional(types.number()),
|
|
626
703
|
storageid: types.optional(types.string()),
|
|
627
704
|
systemid: types.optional(types.string()),
|
|
628
|
-
tags: types.optional(z.array(z.lazy(() =>
|
|
705
|
+
tags: types.optional(z.array(z.lazy(() => RawTag$inboundSchema))),
|
|
629
706
|
type: types.optional(smartUnion([types.number(), types.string()])),
|
|
630
707
|
xscore: types.optional(types.number()),
|
|
631
708
|
});
|
|
632
709
|
|
|
633
|
-
export function
|
|
710
|
+
export function rawItemFromJSON(
|
|
634
711
|
jsonString: string,
|
|
635
|
-
): SafeParseResult<
|
|
712
|
+
): SafeParseResult<RawItem, SDKValidationError> {
|
|
636
713
|
return safeParse(
|
|
637
714
|
jsonString,
|
|
638
|
-
(x) =>
|
|
639
|
-
`Failed to parse '
|
|
715
|
+
(x) => RawItem$inboundSchema.parse(JSON.parse(x)),
|
|
716
|
+
`Failed to parse 'RawItem' from JSON`,
|
|
717
|
+
);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/** @internal */
|
|
721
|
+
export const SearchWebDatabasesRaw$inboundSchema: z.ZodMiniType<
|
|
722
|
+
SearchWebDatabasesRaw,
|
|
723
|
+
unknown
|
|
724
|
+
> = z.catchall(
|
|
725
|
+
z.object({
|
|
726
|
+
item: types.optional(z.lazy(() => RawItem$inboundSchema)),
|
|
727
|
+
linea: types.optional(types.string()),
|
|
728
|
+
lineraw: types.optional(types.string()),
|
|
729
|
+
linesafterraw: z.optional(z.nullable(types.string())),
|
|
730
|
+
linesbeforeraw: z.optional(z.nullable(types.string())),
|
|
731
|
+
positionabsolute: types.optional(types.number()),
|
|
732
|
+
positionline: types.optional(types.number()),
|
|
733
|
+
positionsize: types.optional(types.number()),
|
|
734
|
+
}),
|
|
735
|
+
z.any(),
|
|
736
|
+
);
|
|
737
|
+
|
|
738
|
+
export function searchWebDatabasesRawFromJSON(
|
|
739
|
+
jsonString: string,
|
|
740
|
+
): SafeParseResult<SearchWebDatabasesRaw, SDKValidationError> {
|
|
741
|
+
return safeParse(
|
|
742
|
+
jsonString,
|
|
743
|
+
(x) => SearchWebDatabasesRaw$inboundSchema.parse(JSON.parse(x)),
|
|
744
|
+
`Failed to parse 'SearchWebDatabasesRaw' from JSON`,
|
|
640
745
|
);
|
|
641
746
|
}
|
|
642
747
|
|
|
@@ -657,45 +762,31 @@ export function tagFromJSON(
|
|
|
657
762
|
}
|
|
658
763
|
|
|
659
764
|
/** @internal */
|
|
660
|
-
export const
|
|
661
|
-
|
|
662
|
-
unknown
|
|
663
|
-
> = smartUnion([types.number(), types.string()]);
|
|
765
|
+
export const ItemType$inboundSchema: z.ZodMiniType<ItemType, unknown> =
|
|
766
|
+
smartUnion([types.number(), types.string()]);
|
|
664
767
|
|
|
665
|
-
export function
|
|
768
|
+
export function itemTypeFromJSON(
|
|
666
769
|
jsonString: string,
|
|
667
|
-
): SafeParseResult<
|
|
770
|
+
): SafeParseResult<ItemType, SDKValidationError> {
|
|
668
771
|
return safeParse(
|
|
669
772
|
jsonString,
|
|
670
|
-
(x) =>
|
|
671
|
-
`Failed to parse '
|
|
773
|
+
(x) => ItemType$inboundSchema.parse(JSON.parse(x)),
|
|
774
|
+
`Failed to parse 'ItemType' from JSON`,
|
|
672
775
|
);
|
|
673
776
|
}
|
|
674
777
|
|
|
675
778
|
/** @internal */
|
|
676
|
-
export const
|
|
677
|
-
Identityportal,
|
|
678
|
-
unknown
|
|
679
|
-
> = z.object({
|
|
779
|
+
export const Item$inboundSchema: z.ZodMiniType<Item, unknown> = z.object({
|
|
680
780
|
accesslevel: types.optional(types.number()),
|
|
681
781
|
added: types.optional(types.string()),
|
|
682
782
|
bucket: types.optional(types.string()),
|
|
683
783
|
date: types.optional(types.string()),
|
|
684
784
|
description: types.optional(types.string()),
|
|
685
785
|
instore: types.optional(types.boolean()),
|
|
686
|
-
item: types.optional(z.lazy(() => Item$inboundSchema)),
|
|
687
786
|
keyvalues: types.optional(z.any()),
|
|
688
|
-
line: types.optional(types.string()),
|
|
689
|
-
linea: types.optional(types.string()),
|
|
690
|
-
lineraw: types.optional(types.string()),
|
|
691
|
-
linesafterraw: z.optional(z.nullable(types.string())),
|
|
692
|
-
linesbeforeraw: z.optional(z.nullable(types.string())),
|
|
693
787
|
media: types.optional(types.number()),
|
|
694
788
|
name: types.optional(types.string()),
|
|
695
789
|
owner: types.optional(types.string()),
|
|
696
|
-
positionabsolute: types.optional(types.number()),
|
|
697
|
-
positionline: types.optional(types.number()),
|
|
698
|
-
positionsize: types.optional(types.number()),
|
|
699
790
|
relations: types.optional(z.any()),
|
|
700
791
|
simhash: types.optional(types.number()),
|
|
701
792
|
size: types.optional(types.number()),
|
|
@@ -706,6 +797,79 @@ export const Identityportal$inboundSchema: z.ZodMiniType<
|
|
|
706
797
|
xscore: types.optional(types.number()),
|
|
707
798
|
});
|
|
708
799
|
|
|
800
|
+
export function itemFromJSON(
|
|
801
|
+
jsonString: string,
|
|
802
|
+
): SafeParseResult<Item, SDKValidationError> {
|
|
803
|
+
return safeParse(
|
|
804
|
+
jsonString,
|
|
805
|
+
(x) => Item$inboundSchema.parse(JSON.parse(x)),
|
|
806
|
+
`Failed to parse 'Item' from JSON`,
|
|
807
|
+
);
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/** @internal */
|
|
811
|
+
export const SearchWebDatabasesType$inboundSchema: z.ZodMiniType<
|
|
812
|
+
SearchWebDatabasesType,
|
|
813
|
+
unknown
|
|
814
|
+
> = smartUnion([types.number(), types.string()]);
|
|
815
|
+
|
|
816
|
+
export function searchWebDatabasesTypeFromJSON(
|
|
817
|
+
jsonString: string,
|
|
818
|
+
): SafeParseResult<SearchWebDatabasesType, SDKValidationError> {
|
|
819
|
+
return safeParse(
|
|
820
|
+
jsonString,
|
|
821
|
+
(x) => SearchWebDatabasesType$inboundSchema.parse(JSON.parse(x)),
|
|
822
|
+
`Failed to parse 'SearchWebDatabasesType' from JSON`,
|
|
823
|
+
);
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/** @internal */
|
|
827
|
+
export const Identityportal$inboundSchema: z.ZodMiniType<
|
|
828
|
+
Identityportal,
|
|
829
|
+
unknown
|
|
830
|
+
> = z.pipe(
|
|
831
|
+
z.catchall(
|
|
832
|
+
z.object({
|
|
833
|
+
_raw: types.optional(z.lazy(() => SearchWebDatabasesRaw$inboundSchema)),
|
|
834
|
+
bucket: types.optional(types.string()),
|
|
835
|
+
file_date: types.optional(types.string()),
|
|
836
|
+
file_name: types.optional(types.string()),
|
|
837
|
+
file_size: types.optional(types.number()),
|
|
838
|
+
instore: types.optional(types.boolean()),
|
|
839
|
+
item: types.optional(z.lazy(() => Item$inboundSchema)),
|
|
840
|
+
line: types.optional(types.string()),
|
|
841
|
+
line_raw: z.optional(z.nullable(types.string())),
|
|
842
|
+
linea: types.optional(types.string()),
|
|
843
|
+
lineraw: types.optional(types.string()),
|
|
844
|
+
position_absolute: types.optional(types.number()),
|
|
845
|
+
position_line: types.optional(types.number()),
|
|
846
|
+
query: types.optional(types.string()),
|
|
847
|
+
source: types.optional(types.string()),
|
|
848
|
+
source_db: types.optional(types.string()),
|
|
849
|
+
storageid: types.optional(types.string()),
|
|
850
|
+
systemid: types.optional(types.string()),
|
|
851
|
+
tags: types.optional(z.array(types.string())),
|
|
852
|
+
timestamp: types.optional(types.string()),
|
|
853
|
+
totalResults: types.optional(types.number()),
|
|
854
|
+
type: types.optional(smartUnion([types.number(), types.string()])),
|
|
855
|
+
xscore: types.optional(types.number()),
|
|
856
|
+
}),
|
|
857
|
+
z.any(),
|
|
858
|
+
),
|
|
859
|
+
z.transform((v) => {
|
|
860
|
+
return remap$(v, {
|
|
861
|
+
"_raw": "raw",
|
|
862
|
+
"file_date": "fileDate",
|
|
863
|
+
"file_name": "fileName",
|
|
864
|
+
"file_size": "fileSize",
|
|
865
|
+
"line_raw": "lineRaw",
|
|
866
|
+
"position_absolute": "positionAbsolute",
|
|
867
|
+
"position_line": "positionLine",
|
|
868
|
+
"source_db": "sourceDb",
|
|
869
|
+
});
|
|
870
|
+
}),
|
|
871
|
+
);
|
|
872
|
+
|
|
709
873
|
export function identityportalFromJSON(
|
|
710
874
|
jsonString: string,
|
|
711
875
|
): SafeParseResult<Identityportal, SDKValidationError> {
|
|
@@ -17,7 +17,7 @@ export type Dates = {
|
|
|
17
17
|
expires?: string | undefined;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type SearchWhoisRaw = {};
|
|
21
21
|
|
|
22
22
|
export type Registrar = {
|
|
23
23
|
abuseEmail: string;
|
|
@@ -32,7 +32,7 @@ export type SearchWhoisData = {
|
|
|
32
32
|
dnssec: { [k: string]: any };
|
|
33
33
|
domain: string;
|
|
34
34
|
nameservers: Array<{ [k: string]: any }>;
|
|
35
|
-
raw:
|
|
35
|
+
raw: SearchWhoisRaw;
|
|
36
36
|
registrar: Registrar;
|
|
37
37
|
status: Array<string>;
|
|
38
38
|
};
|
|
@@ -84,15 +84,18 @@ export function datesFromJSON(
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/** @internal */
|
|
87
|
-
export const
|
|
87
|
+
export const SearchWhoisRaw$inboundSchema: z.ZodMiniType<
|
|
88
|
+
SearchWhoisRaw,
|
|
89
|
+
unknown
|
|
90
|
+
> = z.object({});
|
|
88
91
|
|
|
89
|
-
export function
|
|
92
|
+
export function searchWhoisRawFromJSON(
|
|
90
93
|
jsonString: string,
|
|
91
|
-
): SafeParseResult<
|
|
94
|
+
): SafeParseResult<SearchWhoisRaw, SDKValidationError> {
|
|
92
95
|
return safeParse(
|
|
93
96
|
jsonString,
|
|
94
|
-
(x) =>
|
|
95
|
-
`Failed to parse '
|
|
97
|
+
(x) => SearchWhoisRaw$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
+
`Failed to parse 'SearchWhoisRaw' from JSON`,
|
|
96
99
|
);
|
|
97
100
|
}
|
|
98
101
|
|
|
@@ -125,7 +128,7 @@ export const SearchWhoisData$inboundSchema: z.ZodMiniType<
|
|
|
125
128
|
dnssec: z.record(z.string(), z.any()),
|
|
126
129
|
domain: types.string(),
|
|
127
130
|
nameservers: z.array(z.record(z.string(), z.any())),
|
|
128
|
-
raw: z.lazy(() =>
|
|
131
|
+
raw: z.lazy(() => SearchWhoisRaw$inboundSchema),
|
|
129
132
|
registrar: z.lazy(() => Registrar$inboundSchema),
|
|
130
133
|
status: z.array(types.string()),
|
|
131
134
|
});
|