@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.
Files changed (92) hide show
  1. package/README.md +6 -6
  2. package/esm/funcs/intelligence-geolocate-media.d.ts +1 -1
  3. package/esm/funcs/intelligence-geolocate-media.js +1 -1
  4. package/esm/lib/config.d.ts +2 -2
  5. package/esm/lib/config.js +2 -2
  6. package/esm/models/operations/search-address.d.ts +18 -13
  7. package/esm/models/operations/search-address.d.ts.map +1 -1
  8. package/esm/models/operations/search-address.js +20 -13
  9. package/esm/models/operations/search-address.js.map +1 -1
  10. package/esm/models/operations/search-discord.d.ts +4 -4
  11. package/esm/models/operations/search-discord.d.ts.map +1 -1
  12. package/esm/models/operations/search-discord.js +5 -4
  13. package/esm/models/operations/search-discord.js.map +1 -1
  14. package/esm/models/operations/search-dns.d.ts +52 -20
  15. package/esm/models/operations/search-dns.d.ts.map +1 -1
  16. package/esm/models/operations/search-dns.js +76 -24
  17. package/esm/models/operations/search-dns.js.map +1 -1
  18. package/esm/models/operations/search-email.d.ts +17 -10
  19. package/esm/models/operations/search-email.d.ts.map +1 -1
  20. package/esm/models/operations/search-email.js +18 -10
  21. package/esm/models/operations/search-email.js.map +1 -1
  22. package/esm/models/operations/search-gmail.d.ts +94 -72
  23. package/esm/models/operations/search-gmail.d.ts.map +1 -1
  24. package/esm/models/operations/search-gmail.js +94 -69
  25. package/esm/models/operations/search-gmail.js.map +1 -1
  26. package/esm/models/operations/search-hudson-rock.d.ts +27 -23
  27. package/esm/models/operations/search-hudson-rock.d.ts.map +1 -1
  28. package/esm/models/operations/search-hudson-rock.js +23 -15
  29. package/esm/models/operations/search-hudson-rock.js.map +1 -1
  30. package/esm/models/operations/search-ip-info.d.ts +114 -25
  31. package/esm/models/operations/search-ip-info.d.ts.map +1 -1
  32. package/esm/models/operations/search-ip-info.js +172 -28
  33. package/esm/models/operations/search-ip-info.js.map +1 -1
  34. package/esm/models/operations/search-person.d.ts +18 -13
  35. package/esm/models/operations/search-person.d.ts.map +1 -1
  36. package/esm/models/operations/search-person.js +20 -13
  37. package/esm/models/operations/search-person.js.map +1 -1
  38. package/esm/models/operations/search-phone.d.ts +22 -28
  39. package/esm/models/operations/search-phone.d.ts.map +1 -1
  40. package/esm/models/operations/search-phone.js +25 -39
  41. package/esm/models/operations/search-phone.js.map +1 -1
  42. package/esm/models/operations/search-roblox.d.ts +9 -9
  43. package/esm/models/operations/search-roblox.d.ts.map +1 -1
  44. package/esm/models/operations/search-roblox.js +10 -10
  45. package/esm/models/operations/search-roblox.js.map +1 -1
  46. package/esm/models/operations/search-seon.d.ts +5 -5
  47. package/esm/models/operations/search-seon.d.ts.map +1 -1
  48. package/esm/models/operations/search-seon.js +5 -5
  49. package/esm/models/operations/search-seon.js.map +1 -1
  50. package/esm/models/operations/search-shodan.d.ts +94 -90
  51. package/esm/models/operations/search-shodan.d.ts.map +1 -1
  52. package/esm/models/operations/search-shodan.js +102 -96
  53. package/esm/models/operations/search-shodan.js.map +1 -1
  54. package/esm/models/operations/search-tiktok.d.ts +22 -363
  55. package/esm/models/operations/search-tiktok.d.ts.map +1 -1
  56. package/esm/models/operations/search-tiktok.js +23 -593
  57. package/esm/models/operations/search-tiktok.js.map +1 -1
  58. package/esm/models/operations/search-username.d.ts +9 -9
  59. package/esm/models/operations/search-username.d.ts.map +1 -1
  60. package/esm/models/operations/search-username.js +13 -16
  61. package/esm/models/operations/search-username.js.map +1 -1
  62. package/esm/models/operations/search-web-databases.d.ts +108 -311
  63. package/esm/models/operations/search-web-databases.d.ts.map +1 -1
  64. package/esm/models/operations/search-web-databases.js +115 -432
  65. package/esm/models/operations/search-web-databases.js.map +1 -1
  66. package/esm/models/operations/search-whois.d.ts +24 -59
  67. package/esm/models/operations/search-whois.d.ts.map +1 -1
  68. package/esm/models/operations/search-whois.js +24 -86
  69. package/esm/models/operations/search-whois.js.map +1 -1
  70. package/esm/sdk/intelligence.d.ts +1 -1
  71. package/esm/sdk/intelligence.js +1 -1
  72. package/jsr.json +1 -1
  73. package/package.json +5 -3
  74. package/src/funcs/intelligence-geolocate-media.ts +1 -1
  75. package/src/lib/config.ts +2 -2
  76. package/src/models/operations/search-address.ts +47 -26
  77. package/src/models/operations/search-discord.ts +13 -15
  78. package/src/models/operations/search-dns.ts +213 -36
  79. package/src/models/operations/search-email.ts +44 -20
  80. package/src/models/operations/search-gmail.ts +269 -152
  81. package/src/models/operations/search-hudson-rock.ts +61 -51
  82. package/src/models/operations/search-ip-info.ts +359 -52
  83. package/src/models/operations/search-person.ts +47 -26
  84. package/src/models/operations/search-phone.ts +56 -76
  85. package/src/models/operations/search-roblox.ts +27 -27
  86. package/src/models/operations/search-seon.ts +10 -10
  87. package/src/models/operations/search-shodan.ts +217 -196
  88. package/src/models/operations/search-tiktok.ts +45 -1366
  89. package/src/models/operations/search-username.ts +24 -32
  90. package/src/models/operations/search-web-databases.ts +308 -1000
  91. package/src/models/operations/search-whois.ts +49 -192
  92. package/src/sdk/intelligence.ts +1 -1
@@ -4,65 +4,65 @@ import { SDKValidationError } from "../errors/sdk-validation-error.js";
4
4
  export type SearchShodanRequest = {
5
5
  query: string;
6
6
  };
7
- export type SearchShodanLocation = {
8
- city: string;
9
- countryCode: string;
10
- countryName: string;
11
- dmaCode: number;
12
- latitude: number;
13
- longitude: number;
14
- regionCode: string;
15
- };
16
7
  export type Components = {
17
8
  categories?: Array<string> | undefined;
18
9
  confidence?: number | undefined;
19
10
  versions?: Array<string> | undefined;
20
11
  };
21
12
  export type Favicon = {
22
- data: string;
23
- location: string;
13
+ data?: string | undefined;
14
+ location?: string | undefined;
24
15
  };
25
16
  export type Redirect = {
26
- data: string;
27
- host: string;
28
- location: string;
17
+ data?: string | undefined;
18
+ host?: string | undefined;
19
+ location?: string | undefined;
29
20
  };
30
21
  export type Http = {
31
- components: {
22
+ components?: {
32
23
  [k: string]: Components;
33
- };
34
- favicon: Favicon;
35
- host: string;
36
- html: string;
37
- location: string;
38
- redirects: Array<Redirect>;
39
- robots: string;
40
- server: string;
41
- title: string;
24
+ } | undefined;
25
+ favicon?: Favicon | undefined;
26
+ host?: string | null | undefined;
27
+ html?: string | null | undefined;
28
+ location?: string | undefined;
29
+ redirects?: Array<Redirect> | undefined;
30
+ robots?: string | null | undefined;
31
+ server?: string | null | undefined;
32
+ title?: string | null | undefined;
33
+ };
34
+ export type SearchShodanLocation = {
35
+ city?: string | undefined;
36
+ countryCode?: string | undefined;
37
+ countryName?: string | undefined;
38
+ dmaCode?: number | undefined;
39
+ latitude?: number | undefined;
40
+ longitude?: number | undefined;
41
+ regionCode?: string | undefined;
42
42
  };
43
43
  export type Kex = {
44
- compressionAlgorithms: Array<string>;
45
- encryptionAlgorithms: Array<string>;
46
- kexAlgorithms: Array<string>;
47
- keyFollows: boolean;
48
- languages: Array<string>;
49
- macAlgorithms: Array<string>;
50
- serverHostKeyAlgorithms: Array<string>;
51
- unused: number;
44
+ compressionAlgorithms?: Array<string> | undefined;
45
+ encryptionAlgorithms?: Array<string> | undefined;
46
+ kexAlgorithms?: Array<string> | undefined;
47
+ keyFollows?: boolean | undefined;
48
+ languages?: Array<string> | undefined;
49
+ macAlgorithms?: Array<string> | undefined;
50
+ serverHostKeyAlgorithms?: Array<string> | undefined;
51
+ unused?: number | undefined;
52
52
  };
53
53
  export type Ssh = {
54
- cipher: string;
55
- fingerprint: string;
56
- hassh: string;
57
- kex: Kex;
58
- key: string;
59
- mac: string;
60
- type: string;
54
+ cipher?: string | undefined;
55
+ fingerprint?: string | undefined;
56
+ hassh?: string | undefined;
57
+ kex?: Kex | undefined;
58
+ key?: string | undefined;
59
+ mac?: string | undefined;
60
+ type?: string | undefined;
61
61
  };
62
62
  export type Extension = {
63
- data: string;
64
- name: string;
65
63
  critical?: boolean | undefined;
64
+ data?: string | undefined;
65
+ name?: string | undefined;
66
66
  };
67
67
  export type Issuer = {
68
68
  c?: string | undefined;
@@ -70,71 +70,72 @@ export type Issuer = {
70
70
  o?: string | undefined;
71
71
  };
72
72
  export type Pubkey = {
73
- bits: number;
74
- type: string;
73
+ bits?: number | undefined;
74
+ type?: string | undefined;
75
75
  };
76
76
  export type Subject = {
77
77
  cn?: string | undefined;
78
78
  };
79
79
  export type Cert = {
80
- expired: boolean;
81
- expires: string;
82
- extensions: Array<Extension>;
83
- fingerprint: {
80
+ expired?: boolean | undefined;
81
+ expires?: string | undefined;
82
+ extensions?: Array<Extension> | undefined;
83
+ fingerprint?: {
84
84
  [k: string]: string;
85
- };
86
- issued: string;
87
- issuer: Issuer;
88
- pubkey: Pubkey;
89
- serial: number;
90
- sigAlg: string;
91
- subject: Subject;
92
- version: number;
85
+ } | undefined;
86
+ issued?: string | undefined;
87
+ issuer?: Issuer | undefined;
88
+ pubkey?: Pubkey | undefined;
89
+ serial?: number | undefined;
90
+ sigAlg?: string | undefined;
91
+ subject?: Subject | undefined;
92
+ version?: number | undefined;
93
93
  };
94
94
  export type Cipher = {
95
- bits: number;
96
- name: string;
97
- version: string;
95
+ bits?: number | undefined;
96
+ name?: string | undefined;
97
+ version?: string | undefined;
98
98
  };
99
99
  export type Tlstext = {
100
- id: number;
101
- name: string;
100
+ id?: number | undefined;
101
+ name?: string | undefined;
102
102
  };
103
103
  export type Trust = {
104
- revoked: boolean;
104
+ revoked?: boolean | undefined;
105
105
  };
106
+ export type Versions = string | Array<string>;
106
107
  export type Ssl = {
107
- acceptableCas: Array<string>;
108
- alpn: Array<string>;
109
- cert: Cert;
110
- chain: Array<string>;
111
- chainSha256: Array<string>;
112
- cipher: Cipher;
113
- handshakeStates: Array<string>;
114
- ja3s: string;
115
- jarm: string;
116
- tlstext: Array<Tlstext>;
117
- trust: Trust;
118
- versions: string;
108
+ acceptableCas?: Array<string> | undefined;
109
+ alpn?: Array<string> | undefined;
110
+ cert?: Cert | undefined;
111
+ chain?: Array<string> | undefined;
112
+ chainSha256?: Array<string> | undefined;
113
+ cipher?: Cipher | undefined;
114
+ handshakeStates?: Array<string> | undefined;
115
+ ja3s?: string | undefined;
116
+ jarm?: string | undefined;
117
+ tlstext?: Array<Tlstext> | undefined;
118
+ trust?: Trust | undefined;
119
+ versions?: string | Array<string> | undefined;
119
120
  };
120
121
  export type Match = {
121
- asn: string;
122
- cpe: Array<string>;
123
- data: string;
124
- domains: Array<string>;
125
- hostnames: Array<string>;
126
- ipStr: string;
127
- isp: string;
128
- location: SearchShodanLocation;
129
- org: string;
130
- os: string;
131
- port: number;
132
- product: string;
133
- timestamp: string;
134
- transport: string;
122
+ asn?: string | undefined;
123
+ cpe?: Array<string> | undefined;
124
+ data?: string | undefined;
125
+ domains?: Array<string> | undefined;
126
+ hostnames?: Array<string> | undefined;
135
127
  http?: Http | undefined;
128
+ ipStr?: string | undefined;
129
+ isp?: string | undefined;
130
+ location?: SearchShodanLocation | undefined;
131
+ org?: string | undefined;
132
+ os?: string | null | undefined;
133
+ port?: number | undefined;
134
+ product?: string | undefined;
136
135
  ssh?: Ssh | undefined;
137
136
  ssl?: Ssl | undefined;
137
+ timestamp?: string | undefined;
138
+ transport?: string | undefined;
138
139
  };
139
140
  export type SearchShodanData = {
140
141
  matches: Array<Match>;
@@ -156,9 +157,6 @@ export type SearchShodanRequest$Outbound = {
156
157
  export declare const SearchShodanRequest$outboundSchema: z.ZodMiniType<SearchShodanRequest$Outbound, SearchShodanRequest>;
157
158
  export declare function searchShodanRequestToJSON(searchShodanRequest: SearchShodanRequest): string;
158
159
  /** @internal */
159
- export declare const SearchShodanLocation$inboundSchema: z.ZodMiniType<SearchShodanLocation, unknown>;
160
- export declare function searchShodanLocationFromJSON(jsonString: string): SafeParseResult<SearchShodanLocation, SDKValidationError>;
161
- /** @internal */
162
160
  export declare const Components$inboundSchema: z.ZodMiniType<Components, unknown>;
163
161
  export declare function componentsFromJSON(jsonString: string): SafeParseResult<Components, SDKValidationError>;
164
162
  /** @internal */
@@ -171,6 +169,9 @@ export declare function redirectFromJSON(jsonString: string): SafeParseResult<Re
171
169
  export declare const Http$inboundSchema: z.ZodMiniType<Http, unknown>;
172
170
  export declare function httpFromJSON(jsonString: string): SafeParseResult<Http, SDKValidationError>;
173
171
  /** @internal */
172
+ export declare const SearchShodanLocation$inboundSchema: z.ZodMiniType<SearchShodanLocation, unknown>;
173
+ export declare function searchShodanLocationFromJSON(jsonString: string): SafeParseResult<SearchShodanLocation, SDKValidationError>;
174
+ /** @internal */
174
175
  export declare const Kex$inboundSchema: z.ZodMiniType<Kex, unknown>;
175
176
  export declare function kexFromJSON(jsonString: string): SafeParseResult<Kex, SDKValidationError>;
176
177
  /** @internal */
@@ -201,6 +202,9 @@ export declare function tlstextFromJSON(jsonString: string): SafeParseResult<Tls
201
202
  export declare const Trust$inboundSchema: z.ZodMiniType<Trust, unknown>;
202
203
  export declare function trustFromJSON(jsonString: string): SafeParseResult<Trust, SDKValidationError>;
203
204
  /** @internal */
205
+ export declare const Versions$inboundSchema: z.ZodMiniType<Versions, unknown>;
206
+ export declare function versionsFromJSON(jsonString: string): SafeParseResult<Versions, SDKValidationError>;
207
+ /** @internal */
204
208
  export declare const Ssl$inboundSchema: z.ZodMiniType<Ssl, unknown>;
205
209
  export declare function sslFromJSON(jsonString: string): SafeParseResult<Ssl, SDKValidationError>;
206
210
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"search-shodan.d.ts","sourceRoot":"","sources":["../../../src/models/operations/search-shodan.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,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,GAAG,EAAE,OAAO,CAwBzD,CAAC;AAEF,wBAAgB,WAAW,CACzB,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAM1C;AAED,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,CAyB7D,CAAC;AAEF,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAM5C;AAED,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,gBAAgB,EAChB,OAAO,CAIP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CAKP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -5,6 +5,7 @@ import * as z from "zod/v4-mini";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import * as types from "../../types/primitives.js";
8
+ import { smartUnion } from "../../types/smart-union.js";
8
9
  /** @internal */
9
10
  export const SearchShodanRequest$outboundSchema = z.object({
10
11
  query: z.string(),
@@ -13,26 +14,6 @@ export function searchShodanRequestToJSON(searchShodanRequest) {
13
14
  return JSON.stringify(SearchShodanRequest$outboundSchema.parse(searchShodanRequest));
14
15
  }
15
16
  /** @internal */
16
- export const SearchShodanLocation$inboundSchema = z.pipe(z.object({
17
- city: types.string(),
18
- country_code: types.string(),
19
- country_name: types.string(),
20
- dma_code: types.number(),
21
- latitude: types.number(),
22
- longitude: types.number(),
23
- region_code: types.string(),
24
- }), z.transform((v) => {
25
- return remap$(v, {
26
- "country_code": "countryCode",
27
- "country_name": "countryName",
28
- "dma_code": "dmaCode",
29
- "region_code": "regionCode",
30
- });
31
- }));
32
- export function searchShodanLocationFromJSON(jsonString) {
33
- return safeParse(jsonString, (x) => SearchShodanLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchShodanLocation' from JSON`);
34
- }
35
- /** @internal */
36
17
  export const Components$inboundSchema = z
37
18
  .object({
38
19
  categories: types.optional(z.array(types.string())),
@@ -44,8 +25,8 @@ export function componentsFromJSON(jsonString) {
44
25
  }
45
26
  /** @internal */
46
27
  export const Favicon$inboundSchema = z.object({
47
- data: types.string(),
48
- location: types.string(),
28
+ data: types.optional(types.string()),
29
+ location: types.optional(types.string()),
49
30
  });
50
31
  export function faviconFromJSON(jsonString) {
51
32
  return safeParse(jsonString, (x) => Favicon$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Favicon' from JSON`);
@@ -53,38 +34,58 @@ export function faviconFromJSON(jsonString) {
53
34
  /** @internal */
54
35
  export const Redirect$inboundSchema = z
55
36
  .object({
56
- data: types.string(),
57
- host: types.string(),
58
- location: types.string(),
37
+ data: types.optional(types.string()),
38
+ host: types.optional(types.string()),
39
+ location: types.optional(types.string()),
59
40
  });
60
41
  export function redirectFromJSON(jsonString) {
61
42
  return safeParse(jsonString, (x) => Redirect$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Redirect' from JSON`);
62
43
  }
63
44
  /** @internal */
64
45
  export const Http$inboundSchema = z.object({
65
- components: z.record(z.string(), z.lazy(() => Components$inboundSchema)),
66
- favicon: z.lazy(() => Favicon$inboundSchema),
67
- host: types.string(),
68
- html: types.string(),
69
- location: types.string(),
70
- redirects: z.array(z.lazy(() => Redirect$inboundSchema)),
71
- robots: types.string(),
72
- server: types.string(),
73
- title: types.string(),
46
+ components: types.optional(z.record(z.string(), z.lazy(() => Components$inboundSchema))),
47
+ favicon: types.optional(z.lazy(() => Favicon$inboundSchema)),
48
+ host: z.optional(z.nullable(types.string())),
49
+ html: z.optional(z.nullable(types.string())),
50
+ location: types.optional(types.string()),
51
+ redirects: types.optional(z.array(z.lazy(() => Redirect$inboundSchema))),
52
+ robots: z.optional(z.nullable(types.string())),
53
+ server: z.optional(z.nullable(types.string())),
54
+ title: z.optional(z.nullable(types.string())),
74
55
  });
75
56
  export function httpFromJSON(jsonString) {
76
57
  return safeParse(jsonString, (x) => Http$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Http' from JSON`);
77
58
  }
78
59
  /** @internal */
60
+ export const SearchShodanLocation$inboundSchema = z.pipe(z.object({
61
+ city: types.optional(types.string()),
62
+ country_code: types.optional(types.string()),
63
+ country_name: types.optional(types.string()),
64
+ dma_code: types.optional(types.number()),
65
+ latitude: types.optional(types.number()),
66
+ longitude: types.optional(types.number()),
67
+ region_code: types.optional(types.string()),
68
+ }), z.transform((v) => {
69
+ return remap$(v, {
70
+ "country_code": "countryCode",
71
+ "country_name": "countryName",
72
+ "dma_code": "dmaCode",
73
+ "region_code": "regionCode",
74
+ });
75
+ }));
76
+ export function searchShodanLocationFromJSON(jsonString) {
77
+ return safeParse(jsonString, (x) => SearchShodanLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchShodanLocation' from JSON`);
78
+ }
79
+ /** @internal */
79
80
  export const Kex$inboundSchema = z.pipe(z.object({
80
- compression_algorithms: z.array(types.string()),
81
- encryption_algorithms: z.array(types.string()),
82
- kex_algorithms: z.array(types.string()),
83
- key_follows: types.boolean(),
84
- languages: z.array(types.string()),
85
- mac_algorithms: z.array(types.string()),
86
- server_host_key_algorithms: z.array(types.string()),
87
- unused: types.number(),
81
+ compression_algorithms: types.optional(z.array(types.string())),
82
+ encryption_algorithms: types.optional(z.array(types.string())),
83
+ kex_algorithms: types.optional(z.array(types.string())),
84
+ key_follows: types.optional(types.boolean()),
85
+ languages: types.optional(z.array(types.string())),
86
+ mac_algorithms: types.optional(z.array(types.string())),
87
+ server_host_key_algorithms: types.optional(z.array(types.string())),
88
+ unused: types.optional(types.number()),
88
89
  }), z.transform((v) => {
89
90
  return remap$(v, {
90
91
  "compression_algorithms": "compressionAlgorithms",
@@ -100,13 +101,13 @@ export function kexFromJSON(jsonString) {
100
101
  }
101
102
  /** @internal */
102
103
  export const Ssh$inboundSchema = z.object({
103
- cipher: types.string(),
104
- fingerprint: types.string(),
105
- hassh: types.string(),
106
- kex: z.lazy(() => Kex$inboundSchema),
107
- key: types.string(),
108
- mac: types.string(),
109
- type: types.string(),
104
+ cipher: types.optional(types.string()),
105
+ fingerprint: types.optional(types.string()),
106
+ hassh: types.optional(types.string()),
107
+ kex: types.optional(z.lazy(() => Kex$inboundSchema)),
108
+ key: types.optional(types.string()),
109
+ mac: types.optional(types.string()),
110
+ type: types.optional(types.string()),
110
111
  });
111
112
  export function sshFromJSON(jsonString) {
112
113
  return safeParse(jsonString, (x) => Ssh$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Ssh' from JSON`);
@@ -114,9 +115,9 @@ export function sshFromJSON(jsonString) {
114
115
  /** @internal */
115
116
  export const Extension$inboundSchema = z
116
117
  .object({
117
- data: types.string(),
118
- name: types.string(),
119
118
  critical: types.optional(types.boolean()),
119
+ data: types.optional(types.string()),
120
+ name: types.optional(types.string()),
120
121
  });
121
122
  export function extensionFromJSON(jsonString) {
122
123
  return safeParse(jsonString, (x) => Extension$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Extension' from JSON`);
@@ -138,8 +139,8 @@ export function issuerFromJSON(jsonString) {
138
139
  }
139
140
  /** @internal */
140
141
  export const Pubkey$inboundSchema = z.object({
141
- bits: types.number(),
142
- type: types.string(),
142
+ bits: types.optional(types.number()),
143
+ type: types.optional(types.string()),
143
144
  });
144
145
  export function pubkeyFromJSON(jsonString) {
145
146
  return safeParse(jsonString, (x) => Pubkey$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Pubkey' from JSON`);
@@ -157,17 +158,17 @@ export function subjectFromJSON(jsonString) {
157
158
  }
158
159
  /** @internal */
159
160
  export const Cert$inboundSchema = z.pipe(z.object({
160
- expired: types.boolean(),
161
- expires: types.string(),
162
- extensions: z.array(z.lazy(() => Extension$inboundSchema)),
163
- fingerprint: z.record(z.string(), types.string()),
164
- issued: types.string(),
165
- issuer: z.lazy(() => Issuer$inboundSchema),
166
- pubkey: z.lazy(() => Pubkey$inboundSchema),
167
- serial: types.number(),
168
- sig_alg: types.string(),
169
- subject: z.lazy(() => Subject$inboundSchema),
170
- version: types.number(),
161
+ expired: types.optional(types.boolean()),
162
+ expires: types.optional(types.string()),
163
+ extensions: types.optional(z.array(z.lazy(() => Extension$inboundSchema))),
164
+ fingerprint: types.optional(z.record(z.string(), types.string())),
165
+ issued: types.optional(types.string()),
166
+ issuer: types.optional(z.lazy(() => Issuer$inboundSchema)),
167
+ pubkey: types.optional(z.lazy(() => Pubkey$inboundSchema)),
168
+ serial: types.optional(types.number()),
169
+ sig_alg: types.optional(types.string()),
170
+ subject: types.optional(z.lazy(() => Subject$inboundSchema)),
171
+ version: types.optional(types.number()),
171
172
  }), z.transform((v) => {
172
173
  return remap$(v, {
173
174
  "sig_alg": "sigAlg",
@@ -178,42 +179,47 @@ export function certFromJSON(jsonString) {
178
179
  }
179
180
  /** @internal */
180
181
  export const Cipher$inboundSchema = z.object({
181
- bits: types.number(),
182
- name: types.string(),
183
- version: types.string(),
182
+ bits: types.optional(types.number()),
183
+ name: types.optional(types.string()),
184
+ version: types.optional(types.string()),
184
185
  });
185
186
  export function cipherFromJSON(jsonString) {
186
187
  return safeParse(jsonString, (x) => Cipher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Cipher' from JSON`);
187
188
  }
188
189
  /** @internal */
189
190
  export const Tlstext$inboundSchema = z.object({
190
- id: types.number(),
191
- name: types.string(),
191
+ id: types.optional(types.number()),
192
+ name: types.optional(types.string()),
192
193
  });
193
194
  export function tlstextFromJSON(jsonString) {
194
195
  return safeParse(jsonString, (x) => Tlstext$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Tlstext' from JSON`);
195
196
  }
196
197
  /** @internal */
197
198
  export const Trust$inboundSchema = z.object({
198
- revoked: types.boolean(),
199
+ revoked: types.optional(types.boolean()),
199
200
  });
200
201
  export function trustFromJSON(jsonString) {
201
202
  return safeParse(jsonString, (x) => Trust$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Trust' from JSON`);
202
203
  }
203
204
  /** @internal */
205
+ export const Versions$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
206
+ export function versionsFromJSON(jsonString) {
207
+ return safeParse(jsonString, (x) => Versions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Versions' from JSON`);
208
+ }
209
+ /** @internal */
204
210
  export const Ssl$inboundSchema = z.pipe(z.object({
205
- acceptable_cas: z.array(types.string()),
206
- alpn: z.array(types.string()),
207
- cert: z.lazy(() => Cert$inboundSchema),
208
- chain: z.array(types.string()),
209
- chain_sha256: z.array(types.string()),
210
- cipher: z.lazy(() => Cipher$inboundSchema),
211
- handshake_states: z.array(types.string()),
212
- ja3s: types.string(),
213
- jarm: types.string(),
214
- tlstext: z.array(z.lazy(() => Tlstext$inboundSchema)),
215
- trust: z.lazy(() => Trust$inboundSchema),
216
- versions: types.string(),
211
+ acceptable_cas: types.optional(z.array(types.string())),
212
+ alpn: types.optional(z.array(types.string())),
213
+ cert: types.optional(z.lazy(() => Cert$inboundSchema)),
214
+ chain: types.optional(z.array(types.string())),
215
+ chain_sha256: types.optional(z.array(types.string())),
216
+ cipher: types.optional(z.lazy(() => Cipher$inboundSchema)),
217
+ handshake_states: types.optional(z.array(types.string())),
218
+ ja3s: types.optional(types.string()),
219
+ jarm: types.optional(types.string()),
220
+ tlstext: types.optional(z.array(z.lazy(() => Tlstext$inboundSchema))),
221
+ trust: types.optional(z.lazy(() => Trust$inboundSchema)),
222
+ versions: types.optional(smartUnion([types.string(), z.array(types.string())])),
217
223
  }), z.transform((v) => {
218
224
  return remap$(v, {
219
225
  "acceptable_cas": "acceptableCas",
@@ -226,23 +232,23 @@ export function sslFromJSON(jsonString) {
226
232
  }
227
233
  /** @internal */
228
234
  export const Match$inboundSchema = z.pipe(z.object({
229
- asn: types.string(),
230
- cpe: z.array(types.string()),
231
- data: types.string(),
232
- domains: z.array(types.string()),
233
- hostnames: z.array(types.string()),
234
- ip_str: types.string(),
235
- isp: types.string(),
236
- location: z.lazy(() => SearchShodanLocation$inboundSchema),
237
- org: types.string(),
238
- os: types.string(),
239
- port: types.number(),
240
- product: types.string(),
241
- timestamp: types.string(),
242
- transport: types.string(),
235
+ asn: types.optional(types.string()),
236
+ cpe: types.optional(z.array(types.string())),
237
+ data: types.optional(types.string()),
238
+ domains: types.optional(z.array(types.string())),
239
+ hostnames: types.optional(z.array(types.string())),
243
240
  http: types.optional(z.lazy(() => Http$inboundSchema)),
241
+ ip_str: types.optional(types.string()),
242
+ isp: types.optional(types.string()),
243
+ location: types.optional(z.lazy(() => SearchShodanLocation$inboundSchema)),
244
+ org: types.optional(types.string()),
245
+ os: z.optional(z.nullable(types.string())),
246
+ port: types.optional(types.number()),
247
+ product: types.optional(types.string()),
244
248
  ssh: types.optional(z.lazy(() => Ssh$inboundSchema)),
245
249
  ssl: types.optional(z.lazy(() => Ssl$inboundSchema)),
250
+ timestamp: types.optional(types.string()),
251
+ transport: types.optional(types.string()),
246
252
  }), z.transform((v) => {
247
253
  return remap$(v, {
248
254
  "ip_str": "ipStr",