@indiciaosint/sdk 1.2.0 → 1.2.2

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 (105) hide show
  1. package/README.md +7 -1
  2. package/esm/funcs/infrastructure-virus-total-content.d.ts +18 -0
  3. package/esm/funcs/infrastructure-virus-total-content.d.ts.map +1 -0
  4. package/esm/funcs/infrastructure-virus-total-content.js +84 -0
  5. package/esm/funcs/infrastructure-virus-total-content.js.map +1 -0
  6. package/esm/funcs/intelligence-virus-total-intelligence.d.ts +18 -0
  7. package/esm/funcs/intelligence-virus-total-intelligence.d.ts.map +1 -0
  8. package/esm/funcs/intelligence-virus-total-intelligence.js +84 -0
  9. package/esm/funcs/intelligence-virus-total-intelligence.js.map +1 -0
  10. package/esm/funcs/socials-search-github.d.ts +3 -2
  11. package/esm/funcs/socials-search-github.d.ts.map +1 -1
  12. package/esm/funcs/socials-search-github.js +11 -3
  13. package/esm/funcs/socials-search-github.js.map +1 -1
  14. package/esm/funcs/socials-search-username.d.ts +3 -2
  15. package/esm/funcs/socials-search-username.d.ts.map +1 -1
  16. package/esm/funcs/socials-search-username.js +11 -3
  17. package/esm/funcs/socials-search-username.js.map +1 -1
  18. package/esm/funcs/tools-download-virus-total-file.d.ts +18 -0
  19. package/esm/funcs/tools-download-virus-total-file.d.ts.map +1 -0
  20. package/esm/funcs/tools-download-virus-total-file.js +84 -0
  21. package/esm/funcs/tools-download-virus-total-file.js.map +1 -0
  22. package/esm/lib/config.d.ts +2 -2
  23. package/esm/lib/config.js +2 -2
  24. package/esm/models/operations/download-virus-total-file.d.ts +34 -0
  25. package/esm/models/operations/download-virus-total-file.d.ts.map +1 -0
  26. package/esm/models/operations/download-virus-total-file.js +33 -0
  27. package/esm/models/operations/download-virus-total-file.js.map +1 -0
  28. package/esm/models/operations/get-activity.d.ts +3 -0
  29. package/esm/models/operations/get-activity.d.ts.map +1 -1
  30. package/esm/models/operations/get-activity.js +3 -0
  31. package/esm/models/operations/get-activity.js.map +1 -1
  32. package/esm/models/operations/get-info.d.ts +3 -0
  33. package/esm/models/operations/get-info.d.ts.map +1 -1
  34. package/esm/models/operations/get-info.js +3 -0
  35. package/esm/models/operations/get-info.js.map +1 -1
  36. package/esm/models/operations/index.d.ts +3 -0
  37. package/esm/models/operations/index.d.ts.map +1 -1
  38. package/esm/models/operations/index.js +3 -0
  39. package/esm/models/operations/index.js.map +1 -1
  40. package/esm/models/operations/list-activities.d.ts +3 -0
  41. package/esm/models/operations/list-activities.d.ts.map +1 -1
  42. package/esm/models/operations/list-activities.js +3 -0
  43. package/esm/models/operations/list-activities.js.map +1 -1
  44. package/esm/models/operations/search-face.d.ts +4 -4
  45. package/esm/models/operations/search-face.d.ts.map +1 -1
  46. package/esm/models/operations/search-face.js +4 -5
  47. package/esm/models/operations/search-face.js.map +1 -1
  48. package/esm/models/operations/search-github.d.ts +69 -7
  49. package/esm/models/operations/search-github.d.ts.map +1 -1
  50. package/esm/models/operations/search-github.js +83 -9
  51. package/esm/models/operations/search-github.js.map +1 -1
  52. package/esm/models/operations/search-username.d.ts +429 -13
  53. package/esm/models/operations/search-username.d.ts.map +1 -1
  54. package/esm/models/operations/search-username.js +725 -13
  55. package/esm/models/operations/search-username.js.map +1 -1
  56. package/esm/models/operations/search-web-databases.d.ts +2 -2
  57. package/esm/models/operations/search-web-databases.js +2 -2
  58. package/esm/models/operations/search-web-databases.js.map +1 -1
  59. package/esm/models/operations/virus-total-content.d.ts +62 -0
  60. package/esm/models/operations/virus-total-content.d.ts.map +1 -0
  61. package/esm/models/operations/virus-total-content.js +89 -0
  62. package/esm/models/operations/virus-total-content.js.map +1 -0
  63. package/esm/models/operations/virus-total-intelligence.d.ts +75 -0
  64. package/esm/models/operations/virus-total-intelligence.d.ts.map +1 -0
  65. package/esm/models/operations/virus-total-intelligence.js +92 -0
  66. package/esm/models/operations/virus-total-intelligence.js.map +1 -0
  67. package/esm/sdk/infrastructure.d.ts +7 -0
  68. package/esm/sdk/infrastructure.d.ts.map +1 -1
  69. package/esm/sdk/infrastructure.js +10 -0
  70. package/esm/sdk/infrastructure.js.map +1 -1
  71. package/esm/sdk/intelligence.d.ts +7 -0
  72. package/esm/sdk/intelligence.d.ts.map +1 -1
  73. package/esm/sdk/intelligence.js +10 -0
  74. package/esm/sdk/intelligence.js.map +1 -1
  75. package/esm/sdk/socials.d.ts +5 -4
  76. package/esm/sdk/socials.d.ts.map +1 -1
  77. package/esm/sdk/socials.js +2 -2
  78. package/esm/sdk/socials.js.map +1 -1
  79. package/esm/sdk/tools.d.ts +7 -0
  80. package/esm/sdk/tools.d.ts.map +1 -1
  81. package/esm/sdk/tools.js +10 -0
  82. package/esm/sdk/tools.js.map +1 -1
  83. package/jsr.json +1 -1
  84. package/package.json +1 -1
  85. package/src/funcs/infrastructure-virus-total-content.ts +174 -0
  86. package/src/funcs/intelligence-virus-total-intelligence.ts +174 -0
  87. package/src/funcs/socials-search-github.ts +21 -6
  88. package/src/funcs/socials-search-username.ts +23 -6
  89. package/src/funcs/tools-download-virus-total-file.ts +174 -0
  90. package/src/lib/config.ts +2 -2
  91. package/src/models/operations/download-virus-total-file.ts +93 -0
  92. package/src/models/operations/get-activity.ts +3 -0
  93. package/src/models/operations/get-info.ts +3 -0
  94. package/src/models/operations/index.ts +3 -0
  95. package/src/models/operations/list-activities.ts +3 -0
  96. package/src/models/operations/search-face.ts +15 -13
  97. package/src/models/operations/search-github.ts +225 -41
  98. package/src/models/operations/search-username.ts +1667 -77
  99. package/src/models/operations/search-web-databases.ts +2 -2
  100. package/src/models/operations/virus-total-content.ts +190 -0
  101. package/src/models/operations/virus-total-intelligence.ts +210 -0
  102. package/src/sdk/infrastructure.ts +18 -0
  103. package/src/sdk/intelligence.ts +18 -0
  104. package/src/sdk/socials.ts +5 -4
  105. package/src/sdk/tools.ts +18 -0
@@ -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 SearchGithubRequest$outboundSchema = z.object({
10
11
  query: z.string(),
@@ -13,7 +14,38 @@ export function searchGithubRequestToJSON(searchGithubRequest) {
13
14
  return JSON.stringify(SearchGithubRequest$outboundSchema.parse(searchGithubRequest));
14
15
  }
15
16
  /** @internal */
16
- export const SearchGithubData$inboundSchema = z.pipe(z.object({
17
+ export const SearchGithubData$inboundSchema = z.object({
18
+ status: types.literal("error"),
19
+ success: types.literal(false),
20
+ error: types.string(),
21
+ });
22
+ export function searchGithubDataFromJSON(jsonString) {
23
+ return safeParse(jsonString, (x) => SearchGithubData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchGithubData' from JSON`);
24
+ }
25
+ /** @internal */
26
+ export const SearchGithubErrorEvent$inboundSchema = z.object({
27
+ data: z.pipe(z.pipe(z.unknown(), z.transform((v, ctx) => {
28
+ if (typeof v !== "string")
29
+ return v;
30
+ try {
31
+ return JSON.parse(v);
32
+ }
33
+ catch (err) {
34
+ ctx.issues.push({
35
+ input: v,
36
+ code: "custom",
37
+ message: `malformed json: ${err}`,
38
+ });
39
+ return z.NEVER;
40
+ }
41
+ })), z.lazy(() => SearchGithubData$inboundSchema)),
42
+ });
43
+ export function searchGithubErrorEventFromJSON(jsonString) {
44
+ return safeParse(jsonString, (x) => SearchGithubErrorEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchGithubErrorEvent' from JSON`);
45
+ }
46
+ /** @internal */
47
+ export const GithubInfo$inboundSchema = z
48
+ .pipe(z.object({
17
49
  avatar_url: types.nullable(types.string()),
18
50
  bio: types.nullable(types.string()),
19
51
  commitEmails: z.record(z.string(), z.array(types.string())),
@@ -30,6 +62,7 @@ export const SearchGithubData$inboundSchema = z.pipe(z.object({
30
62
  public_gists: types.number(),
31
63
  public_repos: types.number(),
32
64
  username: types.string(),
65
+ activityId: z.optional(z.nullable(types.string())),
33
66
  }), z.transform((v) => {
34
67
  return remap$(v, {
35
68
  "avatar_url": "avatarUrl",
@@ -37,16 +70,57 @@ export const SearchGithubData$inboundSchema = z.pipe(z.object({
37
70
  "public_repos": "publicRepos",
38
71
  });
39
72
  }));
40
- export function searchGithubDataFromJSON(jsonString) {
41
- return safeParse(jsonString, (x) => SearchGithubData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchGithubData' from JSON`);
73
+ export function githubInfoFromJSON(jsonString) {
74
+ return safeParse(jsonString, (x) => GithubInfo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GithubInfo' from JSON`);
42
75
  }
43
76
  /** @internal */
44
- export const SearchGithubResponse$inboundSchema = z.object({
45
- data: z.lazy(() => SearchGithubData$inboundSchema),
46
- success: types.boolean(),
47
- error: types.optional(types.string()),
77
+ export const ResultEvent$inboundSchema = z
78
+ .object({
79
+ data: z.pipe(z.pipe(z.unknown(), z.transform((v, ctx) => {
80
+ if (typeof v !== "string")
81
+ return v;
82
+ try {
83
+ return JSON.parse(v);
84
+ }
85
+ catch (err) {
86
+ ctx.issues.push({
87
+ input: v,
88
+ code: "custom",
89
+ message: `malformed json: ${err}`,
90
+ });
91
+ return z.NEVER;
92
+ }
93
+ })), z.lazy(() => GithubInfo$inboundSchema)),
94
+ event: types.literal("result"),
48
95
  });
49
- export function searchGithubResponseFromJSON(jsonString) {
50
- return safeParse(jsonString, (x) => SearchGithubResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchGithubResponse' from JSON`);
96
+ export function resultEventFromJSON(jsonString) {
97
+ return safeParse(jsonString, (x) => ResultEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResultEvent' from JSON`);
98
+ }
99
+ /** @internal */
100
+ export const HeartbeatEvent$inboundSchema = z.object({
101
+ data: types.string(),
102
+ event: types.literal("heartbeat"),
103
+ });
104
+ export function heartbeatEventFromJSON(jsonString) {
105
+ return safeParse(jsonString, (x) => HeartbeatEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HeartbeatEvent' from JSON`);
106
+ }
107
+ /** @internal */
108
+ export const StatusEvent$inboundSchema = z
109
+ .object({
110
+ data: types.string(),
111
+ event: types.literal("status"),
112
+ });
113
+ export function statusEventFromJSON(jsonString) {
114
+ return safeParse(jsonString, (x) => StatusEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StatusEvent' from JSON`);
115
+ }
116
+ /** @internal */
117
+ export const GithubSearchEvent$inboundSchema = smartUnion([
118
+ z.lazy(() => StatusEvent$inboundSchema),
119
+ z.lazy(() => HeartbeatEvent$inboundSchema),
120
+ z.lazy(() => ResultEvent$inboundSchema),
121
+ z.lazy(() => SearchGithubErrorEvent$inboundSchema),
122
+ ]);
123
+ export function githubSearchEventFromJSON(jsonString) {
124
+ return safeParse(jsonString, (x) => GithubSearchEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GithubSearchEvent' from JSON`);
51
125
  }
52
126
  //# sourceMappingURL=search-github.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-github.js","sourceRoot":"","sources":["../../../src/models/operations/search-github.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAwCnD,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,mBAAwC,EAChC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,kCAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AAAA,CACH;AAED,gBAAgB;A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AC7B,cAAc,EAAE,aAAa;KAC9B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,wBAAwB,CACtC,UAAkB,EACqC;IACvD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8BAA8B,CAAC;IAClD,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE;IACxB,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACtC,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EACyC;IAC3D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"search-github.js","sourceRoot":"","sources":["../../../src/models/operations/search-github.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAgGxD,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE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,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAGxC,UAAU,CAAC;IACb,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC;IACvC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;IAC1C,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC;IACvC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,UAAkB,EACsC;IACxD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+BAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AAAA,CACH"}
@@ -5,6 +5,270 @@ import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
5
  export type SearchUsernameRequest = {
6
6
  query: string;
7
7
  };
8
+ export type SearchUsernameDataError = {
9
+ status: "error";
10
+ success: false;
11
+ /**
12
+ * Human-readable error message.
13
+ */
14
+ error: string;
15
+ };
16
+ /**
17
+ * A data-only event indicating the search failed.
18
+ */
19
+ export type SearchUsernameErrorEvent = {
20
+ data: SearchUsernameDataError;
21
+ };
22
+ export declare const ResultType: {
23
+ readonly Email: "email";
24
+ readonly Username: "username";
25
+ };
26
+ export type ResultType = OpenEnum<typeof ResultType>;
27
+ export type ResultId = number | string;
28
+ export type ResultAccount = {
29
+ domain?: string | undefined;
30
+ shortname?: string | undefined;
31
+ url?: string | undefined;
32
+ verified?: boolean | undefined;
33
+ };
34
+ export type AwardResult = {};
35
+ export type ResultAwardUnion = number | AwardResult | string | boolean;
36
+ export type BadgeResult = {};
37
+ export type ResultBadgeUnion = number | BadgeResult | string | boolean;
38
+ export type ResultBands = number | string;
39
+ export type BioLinkResult = {};
40
+ export type ResultBioLinkUnion = number | BioLinkResult | string | boolean;
41
+ export type ClubResult = {};
42
+ export type ResultClubUnion = number | ClubResult | string | boolean;
43
+ export type ResultCollections = number | string;
44
+ export type ResultConnection = {
45
+ name?: string | undefined;
46
+ provider?: string | undefined;
47
+ };
48
+ export type ResultCourse = {
49
+ crowns?: number | undefined;
50
+ title?: string | undefined;
51
+ xp?: number | undefined;
52
+ };
53
+ export type CryptoAddressResult = {};
54
+ export type ResultCryptoAddressUnion = number | CryptoAddressResult | string | boolean;
55
+ export type ResultFollowers = number | string;
56
+ export type ResultFollowing = number | string;
57
+ export type LatestPasteResult = {};
58
+ export type ResultLatestPasteUnion = number | LatestPasteResult | string | boolean;
59
+ export type LinkResult = {};
60
+ export type ResultLinkUnion = number | LinkResult | string | boolean;
61
+ export type ResultOrganization = {
62
+ name?: string | undefined;
63
+ url?: string | undefined;
64
+ };
65
+ export type PlatformResult = {};
66
+ export type ResultPlatformUnion = number | PlatformResult | string | boolean;
67
+ export type ResultPlays = number | string;
68
+ export type ProofResult = {};
69
+ export type ResultProofUnion = number | ProofResult | string | boolean;
70
+ export type RoleResult = {};
71
+ export type ResultRoleUnion = number | RoleResult | string | boolean;
72
+ export type SocialLinkResult = {};
73
+ export type ResultSocialLinkUnion = number | SocialLinkResult | string | boolean;
74
+ export type SocialsResult = {
75
+ facebook?: string | undefined;
76
+ instagram?: string | undefined;
77
+ twitter?: string | undefined;
78
+ website?: string | undefined;
79
+ };
80
+ export type ResultSocialsUnion = SocialsResult | Array<string>;
81
+ export type StatusResult = {
82
+ isCoach?: boolean | undefined;
83
+ isModerator?: boolean | undefined;
84
+ isStaff?: boolean | undefined;
85
+ isStreamer?: boolean | undefined;
86
+ isTopBlogger?: boolean | undefined;
87
+ };
88
+ export type ResultStatusUnion = string | StatusResult;
89
+ export type UrlEntityResult = {};
90
+ export type ResultUrlEntityUnion = number | UrlEntityResult | string | boolean;
91
+ export type ResultUrl = {
92
+ title?: string | undefined;
93
+ value?: string | undefined;
94
+ };
95
+ export type ResultMetadata = {
96
+ accentColor?: string | undefined;
97
+ accountType?: string | undefined;
98
+ accounts?: Array<ResultAccount> | undefined;
99
+ address?: string | undefined;
100
+ awardeeKarma?: number | undefined;
101
+ awarderKarma?: number | undefined;
102
+ awards?: Array<number | AwardResult | string | boolean | null> | undefined;
103
+ backgroundPicture?: string | undefined;
104
+ badges?: Array<number | BadgeResult | string | boolean | null> | undefined;
105
+ bands?: number | string | undefined;
106
+ bioLinks?: Array<number | BioLinkResult | string | boolean | null> | undefined;
107
+ blog?: string | undefined;
108
+ boardCount?: number | undefined;
109
+ broadcasterType?: string | undefined;
110
+ capeUrl?: string | undefined;
111
+ cashtagUrl?: string | undefined;
112
+ channelId?: string | undefined;
113
+ clubs?: Array<number | ClubResult | string | boolean | null> | undefined;
114
+ collections?: number | string | undefined;
115
+ company?: string | undefined;
116
+ connections?: Array<ResultConnection> | undefined;
117
+ courses?: Array<ResultCourse> | undefined;
118
+ coverImage?: string | undefined;
119
+ createdAt?: string | undefined;
120
+ createdDate?: string | undefined;
121
+ createdOn?: string | undefined;
122
+ createdUtc?: number | undefined;
123
+ cryptoAddresses?: Array<number | CryptoAddressResult | string | boolean | null> | undefined;
124
+ currency?: string | undefined;
125
+ currentStreak?: number | undefined;
126
+ devices?: Array<string> | undefined;
127
+ emails?: Array<string> | undefined;
128
+ externalUrl?: string | undefined;
129
+ familyName?: string | undefined;
130
+ followers?: number | string | undefined;
131
+ following?: number | string | undefined;
132
+ friendCount?: number | undefined;
133
+ genres?: Array<string> | undefined;
134
+ givenName?: string | undefined;
135
+ hasPlus?: boolean | undefined;
136
+ hasVerifiedEmail?: boolean | undefined;
137
+ inspiredBy?: Array<string> | undefined;
138
+ isAffiliate?: boolean | undefined;
139
+ isBanned?: boolean | undefined;
140
+ isBusiness?: boolean | undefined;
141
+ isChannel?: boolean | undefined;
142
+ isConfirmed?: boolean | undefined;
143
+ isGold?: boolean | undefined;
144
+ isGroup?: boolean | undefined;
145
+ isHacker?: boolean | undefined;
146
+ isJunior?: boolean | undefined;
147
+ isLegacy?: boolean | undefined;
148
+ isMetaBlocked?: boolean | undefined;
149
+ isMod?: boolean | undefined;
150
+ isPartner?: boolean | undefined;
151
+ isPremium?: boolean | undefined;
152
+ isProfessional?: boolean | undefined;
153
+ isSuspended?: boolean | undefined;
154
+ isVerified?: boolean | null | undefined;
155
+ joinedAt?: string | undefined;
156
+ keywords?: Array<string> | undefined;
157
+ lastModified?: string | undefined;
158
+ lastSeen?: string | undefined;
159
+ latestPastes?: Array<number | LatestPasteResult | string | boolean | null> | undefined;
160
+ learningLanguage?: string | undefined;
161
+ likes?: number | undefined;
162
+ likesReceived?: number | undefined;
163
+ links?: Array<number | LinkResult | string | boolean | null> | undefined;
164
+ listedCount?: number | undefined;
165
+ mediaCount?: number | undefined;
166
+ memberType?: string | undefined;
167
+ organizations?: Array<ResultOrganization> | undefined;
168
+ pageViews?: number | undefined;
169
+ pastUsernames?: Array<string> | undefined;
170
+ pasteViews?: number | undefined;
171
+ pins?: number | undefined;
172
+ platformId?: string | undefined;
173
+ platforms?: Array<number | PlatformResult | string | boolean | null> | undefined;
174
+ playlistCount?: number | undefined;
175
+ plays?: number | string | undefined;
176
+ posts?: number | undefined;
177
+ postsCount?: number | undefined;
178
+ primaryTeam?: string | undefined;
179
+ profileViews?: number | undefined;
180
+ proofs?: Array<number | ProofResult | string | boolean | null> | undefined;
181
+ provider?: string | undefined;
182
+ providerId?: string | undefined;
183
+ publicGists?: number | undefined;
184
+ publicRepos?: number | undefined;
185
+ ratePlan?: string | undefined;
186
+ realName?: string | undefined;
187
+ recentActivity?: any | undefined;
188
+ recoveryEmail?: string | undefined;
189
+ region?: string | undefined;
190
+ registeredSince?: string | undefined;
191
+ reputation?: number | undefined;
192
+ reputationLabel?: string | undefined;
193
+ roles?: Array<number | RoleResult | string | boolean | null> | undefined;
194
+ scratchTeam?: boolean | undefined;
195
+ skills?: Array<string> | undefined;
196
+ skinUrl?: string | undefined;
197
+ socialLinks?: Array<number | SocialLinkResult | string | boolean | null> | undefined;
198
+ socials?: SocialsResult | Array<string> | undefined;
199
+ status?: string | StatusResult | undefined;
200
+ steamId64?: string | undefined;
201
+ streak?: number | undefined;
202
+ subscriberCount?: number | undefined;
203
+ subscribers?: number | undefined;
204
+ themeTitle?: string | undefined;
205
+ thumbnail?: string | undefined;
206
+ title?: string | undefined;
207
+ totalKarma?: number | undefined;
208
+ totalScrobbles?: number | undefined;
209
+ totalXp?: number | undefined;
210
+ trackCount?: number | undefined;
211
+ trnRank?: string | undefined;
212
+ trnRating?: string | undefined;
213
+ trophies?: Array<string> | undefined;
214
+ tweets?: number | undefined;
215
+ twitterUsername?: string | undefined;
216
+ updatedAt?: string | undefined;
217
+ upvotes?: number | undefined;
218
+ urlEntities?: Array<number | UrlEntityResult | string | boolean | null> | undefined;
219
+ urls?: Array<ResultUrl> | undefined;
220
+ uuid?: string | undefined;
221
+ videoCount?: number | undefined;
222
+ visibleCollectionCount?: number | undefined;
223
+ visibleWishlistCount?: number | undefined;
224
+ website?: string | undefined;
225
+ };
226
+ export type ResultData = {
227
+ avatar?: string | undefined;
228
+ bio?: string | undefined;
229
+ country?: string | undefined;
230
+ displayName?: string | undefined;
231
+ id?: number | string | undefined;
232
+ isPrivate?: boolean | undefined;
233
+ isVerified?: boolean | undefined;
234
+ metadata?: ResultMetadata | undefined;
235
+ url?: string | undefined;
236
+ username?: string | undefined;
237
+ };
238
+ /**
239
+ * A single service's username lookup result.
240
+ */
241
+ export type ResultOsintResult = {
242
+ durationMs: number;
243
+ exists: boolean;
244
+ service: string;
245
+ type: ResultType;
246
+ data?: ResultData | undefined;
247
+ error?: string | undefined;
248
+ };
249
+ /**
250
+ * The complete result set, emitted once every service has run.
251
+ */
252
+ export type UsernameSearchComplete = {
253
+ /**
254
+ * All OSINT results collected across every checked service.
255
+ */
256
+ results: Array<ResultOsintResult>;
257
+ /**
258
+ * Activity log id for this search, or null.
259
+ */
260
+ activityId?: string | null | undefined;
261
+ };
262
+ /**
263
+ * Terminal `all` event with the complete result set.
264
+ */
265
+ export type AllEvent = {
266
+ /**
267
+ * The complete result set, emitted once every service has run.
268
+ */
269
+ data: UsernameSearchComplete;
270
+ event: "all";
271
+ };
8
272
  export declare const SearchUsernameType: {
9
273
  readonly Email: "email";
10
274
  readonly Username: "username";
@@ -209,7 +473,7 @@ export type Metadata = {
209
473
  visibleWishlistCount?: number | undefined;
210
474
  website?: string | undefined;
211
475
  };
212
- export type SearchUsernameDataData = {
476
+ export type SearchUsernameData = {
213
477
  avatar?: string | undefined;
214
478
  bio?: string | undefined;
215
479
  country?: string | undefined;
@@ -221,22 +485,31 @@ export type SearchUsernameDataData = {
221
485
  url?: string | undefined;
222
486
  username?: string | undefined;
223
487
  };
224
- export type SearchUsernameData = {
488
+ /**
489
+ * A single service's username lookup result.
490
+ */
491
+ export type OsintResult = {
225
492
  durationMs: number;
226
493
  exists: boolean;
227
494
  service: string;
228
495
  type: SearchUsernameType;
229
- data?: SearchUsernameDataData | undefined;
496
+ data?: SearchUsernameData | undefined;
230
497
  error?: string | undefined;
231
498
  };
232
499
  /**
233
- * Search successful
500
+ * Emitted as the `individual` event for each service checked.
234
501
  */
235
- export type SearchUsernameResponse = {
236
- data: Array<SearchUsernameData>;
237
- success: boolean;
238
- error?: string | undefined;
502
+ export type IndividualEvent = {
503
+ /**
504
+ * A single service's username lookup result.
505
+ */
506
+ data: OsintResult;
507
+ event: "individual";
239
508
  };
509
+ /**
510
+ * A Server-Sent Event. The `event:` field names the type ("individual" or "all"); errors are delivered as a data-only event.
511
+ */
512
+ export type UsernameSearchEvent = IndividualEvent | AllEvent | SearchUsernameErrorEvent;
240
513
  /** @internal */
241
514
  export type SearchUsernameRequest$Outbound = {
242
515
  query: string;
@@ -245,6 +518,146 @@ export type SearchUsernameRequest$Outbound = {
245
518
  export declare const SearchUsernameRequest$outboundSchema: z.ZodMiniType<SearchUsernameRequest$Outbound, SearchUsernameRequest>;
246
519
  export declare function searchUsernameRequestToJSON(searchUsernameRequest: SearchUsernameRequest): string;
247
520
  /** @internal */
521
+ export declare const SearchUsernameDataError$inboundSchema: z.ZodMiniType<SearchUsernameDataError, unknown>;
522
+ export declare function searchUsernameDataErrorFromJSON(jsonString: string): SafeParseResult<SearchUsernameDataError, SDKValidationError>;
523
+ /** @internal */
524
+ export declare const SearchUsernameErrorEvent$inboundSchema: z.ZodMiniType<SearchUsernameErrorEvent, unknown>;
525
+ export declare function searchUsernameErrorEventFromJSON(jsonString: string): SafeParseResult<SearchUsernameErrorEvent, SDKValidationError>;
526
+ /** @internal */
527
+ export declare const ResultType$inboundSchema: z.ZodMiniType<ResultType, unknown>;
528
+ /** @internal */
529
+ export declare const ResultId$inboundSchema: z.ZodMiniType<ResultId, unknown>;
530
+ export declare function resultIdFromJSON(jsonString: string): SafeParseResult<ResultId, SDKValidationError>;
531
+ /** @internal */
532
+ export declare const ResultAccount$inboundSchema: z.ZodMiniType<ResultAccount, unknown>;
533
+ export declare function resultAccountFromJSON(jsonString: string): SafeParseResult<ResultAccount, SDKValidationError>;
534
+ /** @internal */
535
+ export declare const AwardResult$inboundSchema: z.ZodMiniType<AwardResult, unknown>;
536
+ export declare function awardResultFromJSON(jsonString: string): SafeParseResult<AwardResult, SDKValidationError>;
537
+ /** @internal */
538
+ export declare const ResultAwardUnion$inboundSchema: z.ZodMiniType<ResultAwardUnion, unknown>;
539
+ export declare function resultAwardUnionFromJSON(jsonString: string): SafeParseResult<ResultAwardUnion, SDKValidationError>;
540
+ /** @internal */
541
+ export declare const BadgeResult$inboundSchema: z.ZodMiniType<BadgeResult, unknown>;
542
+ export declare function badgeResultFromJSON(jsonString: string): SafeParseResult<BadgeResult, SDKValidationError>;
543
+ /** @internal */
544
+ export declare const ResultBadgeUnion$inboundSchema: z.ZodMiniType<ResultBadgeUnion, unknown>;
545
+ export declare function resultBadgeUnionFromJSON(jsonString: string): SafeParseResult<ResultBadgeUnion, SDKValidationError>;
546
+ /** @internal */
547
+ export declare const ResultBands$inboundSchema: z.ZodMiniType<ResultBands, unknown>;
548
+ export declare function resultBandsFromJSON(jsonString: string): SafeParseResult<ResultBands, SDKValidationError>;
549
+ /** @internal */
550
+ export declare const BioLinkResult$inboundSchema: z.ZodMiniType<BioLinkResult, unknown>;
551
+ export declare function bioLinkResultFromJSON(jsonString: string): SafeParseResult<BioLinkResult, SDKValidationError>;
552
+ /** @internal */
553
+ export declare const ResultBioLinkUnion$inboundSchema: z.ZodMiniType<ResultBioLinkUnion, unknown>;
554
+ export declare function resultBioLinkUnionFromJSON(jsonString: string): SafeParseResult<ResultBioLinkUnion, SDKValidationError>;
555
+ /** @internal */
556
+ export declare const ClubResult$inboundSchema: z.ZodMiniType<ClubResult, unknown>;
557
+ export declare function clubResultFromJSON(jsonString: string): SafeParseResult<ClubResult, SDKValidationError>;
558
+ /** @internal */
559
+ export declare const ResultClubUnion$inboundSchema: z.ZodMiniType<ResultClubUnion, unknown>;
560
+ export declare function resultClubUnionFromJSON(jsonString: string): SafeParseResult<ResultClubUnion, SDKValidationError>;
561
+ /** @internal */
562
+ export declare const ResultCollections$inboundSchema: z.ZodMiniType<ResultCollections, unknown>;
563
+ export declare function resultCollectionsFromJSON(jsonString: string): SafeParseResult<ResultCollections, SDKValidationError>;
564
+ /** @internal */
565
+ export declare const ResultConnection$inboundSchema: z.ZodMiniType<ResultConnection, unknown>;
566
+ export declare function resultConnectionFromJSON(jsonString: string): SafeParseResult<ResultConnection, SDKValidationError>;
567
+ /** @internal */
568
+ export declare const ResultCourse$inboundSchema: z.ZodMiniType<ResultCourse, unknown>;
569
+ export declare function resultCourseFromJSON(jsonString: string): SafeParseResult<ResultCourse, SDKValidationError>;
570
+ /** @internal */
571
+ export declare const CryptoAddressResult$inboundSchema: z.ZodMiniType<CryptoAddressResult, unknown>;
572
+ export declare function cryptoAddressResultFromJSON(jsonString: string): SafeParseResult<CryptoAddressResult, SDKValidationError>;
573
+ /** @internal */
574
+ export declare const ResultCryptoAddressUnion$inboundSchema: z.ZodMiniType<ResultCryptoAddressUnion, unknown>;
575
+ export declare function resultCryptoAddressUnionFromJSON(jsonString: string): SafeParseResult<ResultCryptoAddressUnion, SDKValidationError>;
576
+ /** @internal */
577
+ export declare const ResultFollowers$inboundSchema: z.ZodMiniType<ResultFollowers, unknown>;
578
+ export declare function resultFollowersFromJSON(jsonString: string): SafeParseResult<ResultFollowers, SDKValidationError>;
579
+ /** @internal */
580
+ export declare const ResultFollowing$inboundSchema: z.ZodMiniType<ResultFollowing, unknown>;
581
+ export declare function resultFollowingFromJSON(jsonString: string): SafeParseResult<ResultFollowing, SDKValidationError>;
582
+ /** @internal */
583
+ export declare const LatestPasteResult$inboundSchema: z.ZodMiniType<LatestPasteResult, unknown>;
584
+ export declare function latestPasteResultFromJSON(jsonString: string): SafeParseResult<LatestPasteResult, SDKValidationError>;
585
+ /** @internal */
586
+ export declare const ResultLatestPasteUnion$inboundSchema: z.ZodMiniType<ResultLatestPasteUnion, unknown>;
587
+ export declare function resultLatestPasteUnionFromJSON(jsonString: string): SafeParseResult<ResultLatestPasteUnion, SDKValidationError>;
588
+ /** @internal */
589
+ export declare const LinkResult$inboundSchema: z.ZodMiniType<LinkResult, unknown>;
590
+ export declare function linkResultFromJSON(jsonString: string): SafeParseResult<LinkResult, SDKValidationError>;
591
+ /** @internal */
592
+ export declare const ResultLinkUnion$inboundSchema: z.ZodMiniType<ResultLinkUnion, unknown>;
593
+ export declare function resultLinkUnionFromJSON(jsonString: string): SafeParseResult<ResultLinkUnion, SDKValidationError>;
594
+ /** @internal */
595
+ export declare const ResultOrganization$inboundSchema: z.ZodMiniType<ResultOrganization, unknown>;
596
+ export declare function resultOrganizationFromJSON(jsonString: string): SafeParseResult<ResultOrganization, SDKValidationError>;
597
+ /** @internal */
598
+ export declare const PlatformResult$inboundSchema: z.ZodMiniType<PlatformResult, unknown>;
599
+ export declare function platformResultFromJSON(jsonString: string): SafeParseResult<PlatformResult, SDKValidationError>;
600
+ /** @internal */
601
+ export declare const ResultPlatformUnion$inboundSchema: z.ZodMiniType<ResultPlatformUnion, unknown>;
602
+ export declare function resultPlatformUnionFromJSON(jsonString: string): SafeParseResult<ResultPlatformUnion, SDKValidationError>;
603
+ /** @internal */
604
+ export declare const ResultPlays$inboundSchema: z.ZodMiniType<ResultPlays, unknown>;
605
+ export declare function resultPlaysFromJSON(jsonString: string): SafeParseResult<ResultPlays, SDKValidationError>;
606
+ /** @internal */
607
+ export declare const ProofResult$inboundSchema: z.ZodMiniType<ProofResult, unknown>;
608
+ export declare function proofResultFromJSON(jsonString: string): SafeParseResult<ProofResult, SDKValidationError>;
609
+ /** @internal */
610
+ export declare const ResultProofUnion$inboundSchema: z.ZodMiniType<ResultProofUnion, unknown>;
611
+ export declare function resultProofUnionFromJSON(jsonString: string): SafeParseResult<ResultProofUnion, SDKValidationError>;
612
+ /** @internal */
613
+ export declare const RoleResult$inboundSchema: z.ZodMiniType<RoleResult, unknown>;
614
+ export declare function roleResultFromJSON(jsonString: string): SafeParseResult<RoleResult, SDKValidationError>;
615
+ /** @internal */
616
+ export declare const ResultRoleUnion$inboundSchema: z.ZodMiniType<ResultRoleUnion, unknown>;
617
+ export declare function resultRoleUnionFromJSON(jsonString: string): SafeParseResult<ResultRoleUnion, SDKValidationError>;
618
+ /** @internal */
619
+ export declare const SocialLinkResult$inboundSchema: z.ZodMiniType<SocialLinkResult, unknown>;
620
+ export declare function socialLinkResultFromJSON(jsonString: string): SafeParseResult<SocialLinkResult, SDKValidationError>;
621
+ /** @internal */
622
+ export declare const ResultSocialLinkUnion$inboundSchema: z.ZodMiniType<ResultSocialLinkUnion, unknown>;
623
+ export declare function resultSocialLinkUnionFromJSON(jsonString: string): SafeParseResult<ResultSocialLinkUnion, SDKValidationError>;
624
+ /** @internal */
625
+ export declare const SocialsResult$inboundSchema: z.ZodMiniType<SocialsResult, unknown>;
626
+ export declare function socialsResultFromJSON(jsonString: string): SafeParseResult<SocialsResult, SDKValidationError>;
627
+ /** @internal */
628
+ export declare const ResultSocialsUnion$inboundSchema: z.ZodMiniType<ResultSocialsUnion, unknown>;
629
+ export declare function resultSocialsUnionFromJSON(jsonString: string): SafeParseResult<ResultSocialsUnion, SDKValidationError>;
630
+ /** @internal */
631
+ export declare const StatusResult$inboundSchema: z.ZodMiniType<StatusResult, unknown>;
632
+ export declare function statusResultFromJSON(jsonString: string): SafeParseResult<StatusResult, SDKValidationError>;
633
+ /** @internal */
634
+ export declare const ResultStatusUnion$inboundSchema: z.ZodMiniType<ResultStatusUnion, unknown>;
635
+ export declare function resultStatusUnionFromJSON(jsonString: string): SafeParseResult<ResultStatusUnion, SDKValidationError>;
636
+ /** @internal */
637
+ export declare const UrlEntityResult$inboundSchema: z.ZodMiniType<UrlEntityResult, unknown>;
638
+ export declare function urlEntityResultFromJSON(jsonString: string): SafeParseResult<UrlEntityResult, SDKValidationError>;
639
+ /** @internal */
640
+ export declare const ResultUrlEntityUnion$inboundSchema: z.ZodMiniType<ResultUrlEntityUnion, unknown>;
641
+ export declare function resultUrlEntityUnionFromJSON(jsonString: string): SafeParseResult<ResultUrlEntityUnion, SDKValidationError>;
642
+ /** @internal */
643
+ export declare const ResultUrl$inboundSchema: z.ZodMiniType<ResultUrl, unknown>;
644
+ export declare function resultUrlFromJSON(jsonString: string): SafeParseResult<ResultUrl, SDKValidationError>;
645
+ /** @internal */
646
+ export declare const ResultMetadata$inboundSchema: z.ZodMiniType<ResultMetadata, unknown>;
647
+ export declare function resultMetadataFromJSON(jsonString: string): SafeParseResult<ResultMetadata, SDKValidationError>;
648
+ /** @internal */
649
+ export declare const ResultData$inboundSchema: z.ZodMiniType<ResultData, unknown>;
650
+ export declare function resultDataFromJSON(jsonString: string): SafeParseResult<ResultData, SDKValidationError>;
651
+ /** @internal */
652
+ export declare const ResultOsintResult$inboundSchema: z.ZodMiniType<ResultOsintResult, unknown>;
653
+ export declare function resultOsintResultFromJSON(jsonString: string): SafeParseResult<ResultOsintResult, SDKValidationError>;
654
+ /** @internal */
655
+ export declare const UsernameSearchComplete$inboundSchema: z.ZodMiniType<UsernameSearchComplete, unknown>;
656
+ export declare function usernameSearchCompleteFromJSON(jsonString: string): SafeParseResult<UsernameSearchComplete, SDKValidationError>;
657
+ /** @internal */
658
+ export declare const AllEvent$inboundSchema: z.ZodMiniType<AllEvent, unknown>;
659
+ export declare function allEventFromJSON(jsonString: string): SafeParseResult<AllEvent, SDKValidationError>;
660
+ /** @internal */
248
661
  export declare const SearchUsernameType$inboundSchema: z.ZodMiniType<SearchUsernameType, unknown>;
249
662
  /** @internal */
250
663
  export declare const Id$inboundSchema: z.ZodMiniType<Id, unknown>;
@@ -367,12 +780,15 @@ export declare function urlFromJSON(jsonString: string): SafeParseResult<Url, SD
367
780
  export declare const Metadata$inboundSchema: z.ZodMiniType<Metadata, unknown>;
368
781
  export declare function metadataFromJSON(jsonString: string): SafeParseResult<Metadata, SDKValidationError>;
369
782
  /** @internal */
370
- export declare const SearchUsernameDataData$inboundSchema: z.ZodMiniType<SearchUsernameDataData, unknown>;
371
- export declare function searchUsernameDataDataFromJSON(jsonString: string): SafeParseResult<SearchUsernameDataData, SDKValidationError>;
372
- /** @internal */
373
783
  export declare const SearchUsernameData$inboundSchema: z.ZodMiniType<SearchUsernameData, unknown>;
374
784
  export declare function searchUsernameDataFromJSON(jsonString: string): SafeParseResult<SearchUsernameData, SDKValidationError>;
375
785
  /** @internal */
376
- export declare const SearchUsernameResponse$inboundSchema: z.ZodMiniType<SearchUsernameResponse, unknown>;
377
- export declare function searchUsernameResponseFromJSON(jsonString: string): SafeParseResult<SearchUsernameResponse, SDKValidationError>;
786
+ export declare const OsintResult$inboundSchema: z.ZodMiniType<OsintResult, unknown>;
787
+ export declare function osintResultFromJSON(jsonString: string): SafeParseResult<OsintResult, SDKValidationError>;
788
+ /** @internal */
789
+ export declare const IndividualEvent$inboundSchema: z.ZodMiniType<IndividualEvent, unknown>;
790
+ export declare function individualEventFromJSON(jsonString: string): SafeParseResult<IndividualEvent, SDKValidationError>;
791
+ /** @internal */
792
+ export declare const UsernameSearchEvent$inboundSchema: z.ZodMiniType<UsernameSearchEvent, unknown>;
793
+ export declare function usernameSearchEventFromJSON(jsonString: string): SafeParseResult<UsernameSearchEvent, SDKValidationError>;
378
794
  //# sourceMappingURL=search-username.d.ts.map