@indiciaosint/sdk 2.0.17 → 2.0.18
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/dist/BaseClient.js +2 -2
- package/dist/api/resources/intelligence/client/Client.d.ts +1 -1
- package/dist/api/resources/intelligence/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.d.ts +2 -2
- package/dist/api/resources/tools/client/Client.js +2 -2
- package/dist/api/resources/tools/types/DownloadVirusTotalFileResponse.d.ts +6 -2
- package/dist/api/resources/tools/types/DownloadVirusTotalFileResponse.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/BaseClient.js
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@indiciaosint/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "2.0.
|
|
10
|
-
"User-Agent": "@indiciaosint/sdk/2.0.
|
|
9
|
+
"X-Fern-SDK-Version": "2.0.18",
|
|
10
|
+
"User-Agent": "@indiciaosint/sdk/2.0.18",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options?.headers);
|
|
@@ -201,7 +201,7 @@ export declare class IntelligenceClient {
|
|
|
201
201
|
searchHorusStealerPc(request: Indicia.SearchHorusStealerPcRequest, requestOptions?: IntelligenceClient.RequestOptions): core.HttpResponsePromise<Indicia.SearchHorusStealerPcResponse>;
|
|
202
202
|
private __searchHorusStealerPc;
|
|
203
203
|
/**
|
|
204
|
-
* Download a Horus stealer machine archive, or one file from it. Returns
|
|
204
|
+
* Download a Horus stealer machine archive, or one file from it. Returns file metadata and a `downloadUrl` (valid 24 hours).
|
|
205
205
|
*
|
|
206
206
|
* @param {Indicia.DownloadHorusStealerRequest} request
|
|
207
207
|
* @param {IntelligenceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -753,7 +753,7 @@ export class IntelligenceClient {
|
|
|
753
753
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v1/search/intelligence/horus-stealer-pc");
|
|
754
754
|
}
|
|
755
755
|
/**
|
|
756
|
-
* Download a Horus stealer machine archive, or one file from it. Returns
|
|
756
|
+
* Download a Horus stealer machine archive, or one file from it. Returns file metadata and a `downloadUrl` (valid 24 hours).
|
|
757
757
|
*
|
|
758
758
|
* @param {Indicia.DownloadHorusStealerRequest} request
|
|
759
759
|
* @param {IntelligenceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -63,7 +63,7 @@ export declare class ToolsClient {
|
|
|
63
63
|
bypassDoubleCounter(request: Indicia.BypassDoubleCounterRequest, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<Indicia.BypassDoubleCounterResponse>;
|
|
64
64
|
private __bypassDoubleCounter;
|
|
65
65
|
/**
|
|
66
|
-
* Download a file from IntelX storage. Use storageId + bucket for a standalone file (5 credits), or systemId with bucket "leaks.logs" for a stealer log (10 credits). Not all stealerlogs are downloadable; if the systemId is not indexed by IntelX, the request will fail but still charge credits due to IntelX limitations.
|
|
66
|
+
* Download a file from IntelX storage. Use storageId + bucket for a standalone file (5 credits), or systemId with bucket "leaks.logs" for a stealer log (10 credits). Returns a download URL (valid 24 hours) for stealer-log archives, or the inline content for standalone files. Not all stealerlogs are downloadable; if the systemId is not indexed by IntelX, the request will fail but still charge credits due to IntelX limitations.
|
|
67
67
|
*
|
|
68
68
|
* @param {Indicia.DownloadIntelxFileRequest} request
|
|
69
69
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -99,7 +99,7 @@ export declare class ToolsClient {
|
|
|
99
99
|
resolveLink(request: Indicia.ResolveLinkRequest, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<Indicia.ResolveLinkResponse>;
|
|
100
100
|
private __resolveLink;
|
|
101
101
|
/**
|
|
102
|
-
* Download a file from VirusTotal by its id.
|
|
102
|
+
* Download a file from VirusTotal by its id. Files over 1 MB return a presigned `downloadUrl` (the file is stored in R2 and expires after 24 hours); smaller files return inline base64 `content`.
|
|
103
103
|
*
|
|
104
104
|
* @param {Indicia.DownloadVirusTotalFileRequest} request
|
|
105
105
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -190,7 +190,7 @@ export class ToolsClient {
|
|
|
190
190
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v1/tools/doublecounter");
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
* Download a file from IntelX storage. Use storageId + bucket for a standalone file (5 credits), or systemId with bucket "leaks.logs" for a stealer log (10 credits). Not all stealerlogs are downloadable; if the systemId is not indexed by IntelX, the request will fail but still charge credits due to IntelX limitations.
|
|
193
|
+
* Download a file from IntelX storage. Use storageId + bucket for a standalone file (5 credits), or systemId with bucket "leaks.logs" for a stealer log (10 credits). Returns a download URL (valid 24 hours) for stealer-log archives, or the inline content for standalone files. Not all stealerlogs are downloadable; if the systemId is not indexed by IntelX, the request will fail but still charge credits due to IntelX limitations.
|
|
194
194
|
*
|
|
195
195
|
* @param {Indicia.DownloadIntelxFileRequest} request
|
|
196
196
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -310,7 +310,7 @@ export class ToolsClient {
|
|
|
310
310
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v1/tools/link-resolver");
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
|
-
* Download a file from VirusTotal by its id.
|
|
313
|
+
* Download a file from VirusTotal by its id. Files over 1 MB return a presigned `downloadUrl` (the file is stored in R2 and expires after 24 hours); smaller files return inline base64 `content`.
|
|
314
314
|
*
|
|
315
315
|
* @param {Indicia.DownloadVirusTotalFileRequest} request
|
|
316
316
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -5,10 +5,14 @@ export interface DownloadVirusTotalFileResponse {
|
|
|
5
5
|
}
|
|
6
6
|
export declare namespace DownloadVirusTotalFileResponse {
|
|
7
7
|
interface Data {
|
|
8
|
-
content: string;
|
|
9
|
-
encoding: string;
|
|
10
8
|
id: string;
|
|
11
9
|
size: number;
|
|
10
|
+
content?: string | undefined;
|
|
11
|
+
contentType?: string | undefined;
|
|
12
|
+
downloadUrl?: string | undefined;
|
|
13
|
+
encoding?: string | undefined;
|
|
14
|
+
expiresAt?: string | undefined;
|
|
15
|
+
filename?: string | undefined;
|
|
12
16
|
}
|
|
13
17
|
}
|
|
14
18
|
//# sourceMappingURL=DownloadVirusTotalFileResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadVirusTotalFileResponse.d.ts","sourceRoot":"","sources":["../../../../../api/resources/tools/types/DownloadVirusTotalFileResponse.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,8BAA8B;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,8BAA8B,CAAC,IAAI,GAAG,SAAS,CAAC;IACvD,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED,yBAAiB,8BAA8B,CAAC;IAC5C,UAAiB,IAAI;QACjB,OAAO,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"DownloadVirusTotalFileResponse.d.ts","sourceRoot":"","sources":["../../../../../api/resources/tools/types/DownloadVirusTotalFileResponse.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,8BAA8B;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,8BAA8B,CAAC,IAAI,GAAG,SAAS,CAAC;IACvD,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED,yBAAiB,8BAA8B,CAAC;IAC5C,UAAiB,IAAI;QACjB,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACjC;CACJ"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.18";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.0.
|
|
1
|
+
export const SDK_VERSION = "2.0.18";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|