@detectant-api/sdk 0.0.3 → 0.0.5

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 (50) hide show
  1. package/README.md +4 -3
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/index.d.ts +1 -0
  4. package/dist/cjs/api/resources/index.js +1 -0
  5. package/dist/cjs/api/resources/scans/client/Client.js +5 -1
  6. package/dist/cjs/api/resources/scans/client/requests/ListScansRequest.d.ts +9 -0
  7. package/dist/cjs/api/resources/scans/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/scans/index.js +1 -0
  9. package/dist/cjs/api/resources/scans/types/ListScansRequestFailure.d.ts +7 -0
  10. package/dist/cjs/api/resources/scans/types/ListScansRequestFailure.js +10 -0
  11. package/dist/cjs/api/resources/scans/types/ListScansRequestSourceType.d.ts +5 -0
  12. package/dist/cjs/api/resources/scans/types/ListScansRequestSourceType.js +8 -0
  13. package/dist/cjs/api/resources/scans/types/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/scans/types/index.js +18 -0
  15. package/dist/cjs/api/types/Scan.d.ts +2 -0
  16. package/dist/cjs/api/types/ScanSource.d.ts +14 -0
  17. package/dist/cjs/api/types/ScanSource.js +11 -0
  18. package/dist/cjs/api/types/ScanTimings.d.ts +4 -0
  19. package/dist/cjs/api/types/ScanTimings.js +3 -0
  20. package/dist/cjs/api/types/TypeAnalysisReason.d.ts +2 -0
  21. package/dist/cjs/api/types/TypeAnalysisReason.js +2 -0
  22. package/dist/cjs/api/types/index.d.ts +2 -0
  23. package/dist/cjs/api/types/index.js +2 -0
  24. package/dist/cjs/version.d.ts +1 -1
  25. package/dist/cjs/version.js +1 -1
  26. package/dist/esm/BaseClient.mjs +2 -2
  27. package/dist/esm/api/resources/index.d.mts +1 -0
  28. package/dist/esm/api/resources/index.mjs +1 -0
  29. package/dist/esm/api/resources/scans/client/Client.mjs +5 -1
  30. package/dist/esm/api/resources/scans/client/requests/ListScansRequest.d.mts +9 -0
  31. package/dist/esm/api/resources/scans/index.d.mts +1 -0
  32. package/dist/esm/api/resources/scans/index.mjs +1 -0
  33. package/dist/esm/api/resources/scans/types/ListScansRequestFailure.d.mts +7 -0
  34. package/dist/esm/api/resources/scans/types/ListScansRequestFailure.mjs +7 -0
  35. package/dist/esm/api/resources/scans/types/ListScansRequestSourceType.d.mts +5 -0
  36. package/dist/esm/api/resources/scans/types/ListScansRequestSourceType.mjs +5 -0
  37. package/dist/esm/api/resources/scans/types/index.d.mts +2 -0
  38. package/dist/esm/api/resources/scans/types/index.mjs +2 -0
  39. package/dist/esm/api/types/Scan.d.mts +2 -0
  40. package/dist/esm/api/types/ScanSource.d.mts +14 -0
  41. package/dist/esm/api/types/ScanSource.mjs +8 -0
  42. package/dist/esm/api/types/ScanTimings.d.mts +4 -0
  43. package/dist/esm/api/types/ScanTimings.mjs +2 -0
  44. package/dist/esm/api/types/TypeAnalysisReason.d.mts +2 -0
  45. package/dist/esm/api/types/TypeAnalysisReason.mjs +2 -0
  46. package/dist/esm/api/types/index.d.mts +2 -0
  47. package/dist/esm/api/types/index.mjs +2 -0
  48. package/dist/esm/version.d.mts +1 -1
  49. package/dist/esm/version.mjs +1 -1
  50. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
+ # [Detectant - Malware Scanning API for TypeScript](https://www.detectant.com)
2
+
1
3
  <p align="center">
2
- <img src="../../app/dashboard/public/images/detectant-github-banner.png" alt="Detectant" width="100%">
4
+ <img src="https://www.detectant.com/images/detectant-github-banner.png" alt="Detectant" width="100%">
3
5
  </p>
4
6
 
5
7
  # Detectant TypeScript SDK
@@ -100,12 +102,11 @@ One file can fail without preventing the other files in the batch from being sca
100
102
 
101
103
  ## Configuration
102
104
 
103
- Use `baseUrl` for a self-hosted or local API, and increase the timeout for large files when needed:
105
+ Increase the timeout for large files when needed:
104
106
 
105
107
  ```ts
106
108
  const detectant = new Detectant({
107
109
  apiKey: process.env.DETECTANT_API_KEY,
108
- baseUrl: "https://api.example.com",
109
110
  timeoutInSeconds: 120,
110
111
  });
111
112
  ```
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@detectant-api/sdk",
46
- "X-Fern-SDK-Version": "0.0.3",
47
- "User-Agent": "@detectant-api/sdk/0.0.3",
46
+ "X-Fern-SDK-Version": "0.0.5",
47
+ "User-Agent": "@detectant-api/sdk/0.0.5",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,3 +1,4 @@
1
1
  export * as health from "./health/index.js";
2
2
  export * from "./scans/client/requests/index.js";
3
3
  export * as scans from "./scans/index.js";
4
+ export * from "./scans/types/index.js";
@@ -40,3 +40,4 @@ exports.scans = exports.health = void 0;
40
40
  exports.health = __importStar(require("./health/index.js"));
41
41
  __exportStar(require("./scans/client/requests/index.js"), exports);
42
42
  exports.scans = __importStar(require("./scans/index.js"));
43
+ __exportStar(require("./scans/types/index.js"), exports);
@@ -80,11 +80,15 @@ class ScansClient {
80
80
  __listScans() {
81
81
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
82
82
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
83
- const { limit, cursor, verdict, filename, engine_signature: engineSignature, detection_rule: detectionRule, } = request;
83
+ const { limit, cursor, verdict, scan_id: scanId, source_type: sourceType, storage_integration_id: storageIntegrationId, failure, filename, engine_signature: engineSignature, detection_rule: detectionRule, } = request;
84
84
  const _queryParams = {
85
85
  limit,
86
86
  cursor,
87
87
  verdict,
88
+ scan_id: scanId,
89
+ source_type: sourceType != null ? sourceType : undefined,
90
+ storage_integration_id: storageIntegrationId,
91
+ failure: failure != null ? failure : undefined,
88
92
  filename,
89
93
  engine_signature: engineSignature,
90
94
  detection_rule: detectionRule,
@@ -1,3 +1,4 @@
1
+ import type * as DetectantApi from "../../../../index.js";
1
2
  /**
2
3
  * @example
3
4
  * {}
@@ -9,6 +10,14 @@ export interface ListScansRequest {
9
10
  cursor?: string;
10
11
  /** Case-sensitive PostgreSQL `LIKE` fragment matched against the stored verdict; `%` and `_` act as wildcards. */
11
12
  verdict?: string;
13
+ /** Case-insensitive fragment matched against the scan identifier. */
14
+ scan_id?: string;
15
+ /** Return direct API scans or scans submitted by an S3 integration. */
16
+ source_type?: DetectantApi.ListScansRequestSourceType;
17
+ /** Return scans submitted by this S3 integration. */
18
+ storage_integration_id?: string;
19
+ /** Return scans by failure presence or customer-facing failure code. */
20
+ failure?: DetectantApi.ListScansRequestFailure;
12
21
  /** Case-sensitive PostgreSQL `LIKE` fragment matched against the stored filename; `%` and `_` act as wildcards. */
13
22
  filename?: string;
14
23
  /** Case-sensitive PostgreSQL `LIKE` fragment matched against the stored engine signature; `%` and `_` act as wildcards. */
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,7 @@
1
+ export declare const ListScansRequestFailure: {
2
+ readonly Any: "any";
3
+ readonly None: "none";
4
+ readonly ScannerUnavailable: "SCANNER_UNAVAILABLE";
5
+ readonly ContentExpansionLimitExceeded: "CONTENT_EXPANSION_LIMIT_EXCEEDED";
6
+ };
7
+ export type ListScansRequestFailure = (typeof ListScansRequestFailure)[keyof typeof ListScansRequestFailure];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListScansRequestFailure = void 0;
5
+ exports.ListScansRequestFailure = {
6
+ Any: "any",
7
+ None: "none",
8
+ ScannerUnavailable: "SCANNER_UNAVAILABLE",
9
+ ContentExpansionLimitExceeded: "CONTENT_EXPANSION_LIMIT_EXCEEDED",
10
+ };
@@ -0,0 +1,5 @@
1
+ export declare const ListScansRequestSourceType: {
2
+ readonly Api: "api";
3
+ readonly S3: "s3";
4
+ };
5
+ export type ListScansRequestSourceType = (typeof ListScansRequestSourceType)[keyof typeof ListScansRequestSourceType];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListScansRequestSourceType = void 0;
5
+ exports.ListScansRequestSourceType = {
6
+ Api: "api",
7
+ S3: "s3",
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./ListScansRequestFailure.js";
2
+ export * from "./ListScansRequestSourceType.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ListScansRequestFailure.js"), exports);
18
+ __exportStar(require("./ListScansRequestSourceType.js"), exports);
@@ -10,11 +10,13 @@ export interface Scan {
10
10
  sha256: string;
11
11
  size_bytes: number;
12
12
  duration_ms: number;
13
+ timings: DetectantApi.ScanTimings;
13
14
  /** Failure information, or `null` when the scan completed. */
14
15
  failure: DetectantApi.ScanFailure | null;
15
16
  /** Detection names reported for the file. Empty when no threats were detected. */
16
17
  detections: string[];
17
18
  type_analysis: DetectantApi.TypeAnalysis;
19
+ source: DetectantApi.ScanSource;
18
20
  }
19
21
  export declare namespace Scan {
20
22
  const Status: {
@@ -0,0 +1,14 @@
1
+ export interface ScanSource {
2
+ type: ScanSource.Type;
3
+ /** S3 integration identifier, or `null` for direct API scans. */
4
+ integration_id: string | null;
5
+ /** S3 integration name, or `null` for direct API scans. */
6
+ integration_name: string | null;
7
+ }
8
+ export declare namespace ScanSource {
9
+ const Type: {
10
+ readonly Api: "api";
11
+ readonly S3: "s3";
12
+ };
13
+ type Type = (typeof Type)[keyof typeof Type];
14
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ScanSource = void 0;
5
+ var ScanSource;
6
+ (function (ScanSource) {
7
+ ScanSource.Type = {
8
+ Api: "api",
9
+ S3: "s3",
10
+ };
11
+ })(ScanSource || (exports.ScanSource = ScanSource = {}));
@@ -0,0 +1,4 @@
1
+ export interface ScanTimings {
2
+ file_type_ms: number;
3
+ malware_scan_ms: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,6 +7,8 @@ export declare namespace TypeAnalysisReason {
7
7
  const Code: {
8
8
  readonly MalformedFile: "malformed_file";
9
9
  readonly EncryptedArchive: "encrypted_archive";
10
+ readonly UnsupportedArchive: "unsupported_archive";
11
+ readonly ContentExpansionLimitExceeded: "content_expansion_limit_exceeded";
10
12
  readonly FileTypeMismatch: "file_type_mismatch";
11
13
  };
12
14
  type Code = (typeof Code)[keyof typeof Code];
@@ -7,6 +7,8 @@ var TypeAnalysisReason;
7
7
  TypeAnalysisReason.Code = {
8
8
  MalformedFile: "malformed_file",
9
9
  EncryptedArchive: "encrypted_archive",
10
+ UnsupportedArchive: "unsupported_archive",
11
+ ContentExpansionLimitExceeded: "content_expansion_limit_exceeded",
10
12
  FileTypeMismatch: "file_type_mismatch",
11
13
  };
12
14
  })(TypeAnalysisReason || (exports.TypeAnalysisReason = TypeAnalysisReason = {}));
@@ -6,6 +6,8 @@ export * from "./ScanBatchResponse.js";
6
6
  export * from "./ScanBatchResult.js";
7
7
  export * from "./ScanFailure.js";
8
8
  export * from "./ScanList.js";
9
+ export * from "./ScanSource.js";
10
+ export * from "./ScanTimings.js";
9
11
  export * from "./TypeAnalysis.js";
10
12
  export * from "./TypeAnalysisReason.js";
11
13
  export * from "./TypeDeclaration.js";
@@ -22,6 +22,8 @@ __exportStar(require("./ScanBatchResponse.js"), exports);
22
22
  __exportStar(require("./ScanBatchResult.js"), exports);
23
23
  __exportStar(require("./ScanFailure.js"), exports);
24
24
  __exportStar(require("./ScanList.js"), exports);
25
+ __exportStar(require("./ScanSource.js"), exports);
26
+ __exportStar(require("./ScanTimings.js"), exports);
25
27
  __exportStar(require("./TypeAnalysis.js"), exports);
26
28
  __exportStar(require("./TypeAnalysisReason.js"), exports);
27
29
  __exportStar(require("./TypeDeclaration.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.3";
1
+ export declare const SDK_VERSION = "0.0.5";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.3";
4
+ exports.SDK_VERSION = "0.0.5";
@@ -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": "@detectant-api/sdk",
9
- "X-Fern-SDK-Version": "0.0.3",
10
- "User-Agent": "@detectant-api/sdk/0.0.3",
9
+ "X-Fern-SDK-Version": "0.0.5",
10
+ "User-Agent": "@detectant-api/sdk/0.0.5",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,3 +1,4 @@
1
1
  export * as health from "./health/index.mjs";
2
2
  export * from "./scans/client/requests/index.mjs";
3
3
  export * as scans from "./scans/index.mjs";
4
+ export * from "./scans/types/index.mjs";
@@ -1,3 +1,4 @@
1
1
  export * as health from "./health/index.mjs";
2
2
  export * from "./scans/client/requests/index.mjs";
3
3
  export * as scans from "./scans/index.mjs";
4
+ export * from "./scans/types/index.mjs";
@@ -44,11 +44,15 @@ export class ScansClient {
44
44
  __listScans() {
45
45
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
46
46
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
47
- const { limit, cursor, verdict, filename, engine_signature: engineSignature, detection_rule: detectionRule, } = request;
47
+ const { limit, cursor, verdict, scan_id: scanId, source_type: sourceType, storage_integration_id: storageIntegrationId, failure, filename, engine_signature: engineSignature, detection_rule: detectionRule, } = request;
48
48
  const _queryParams = {
49
49
  limit,
50
50
  cursor,
51
51
  verdict,
52
+ scan_id: scanId,
53
+ source_type: sourceType != null ? sourceType : undefined,
54
+ storage_integration_id: storageIntegrationId,
55
+ failure: failure != null ? failure : undefined,
52
56
  filename,
53
57
  engine_signature: engineSignature,
54
58
  detection_rule: detectionRule,
@@ -1,3 +1,4 @@
1
+ import type * as DetectantApi from "../../../../index.mjs";
1
2
  /**
2
3
  * @example
3
4
  * {}
@@ -9,6 +10,14 @@ export interface ListScansRequest {
9
10
  cursor?: string;
10
11
  /** Case-sensitive PostgreSQL `LIKE` fragment matched against the stored verdict; `%` and `_` act as wildcards. */
11
12
  verdict?: string;
13
+ /** Case-insensitive fragment matched against the scan identifier. */
14
+ scan_id?: string;
15
+ /** Return direct API scans or scans submitted by an S3 integration. */
16
+ source_type?: DetectantApi.ListScansRequestSourceType;
17
+ /** Return scans submitted by this S3 integration. */
18
+ storage_integration_id?: string;
19
+ /** Return scans by failure presence or customer-facing failure code. */
20
+ failure?: DetectantApi.ListScansRequestFailure;
12
21
  /** Case-sensitive PostgreSQL `LIKE` fragment matched against the stored filename; `%` and `_` act as wildcards. */
13
22
  filename?: string;
14
23
  /** Case-sensitive PostgreSQL `LIKE` fragment matched against the stored engine signature; `%` and `_` act as wildcards. */
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,7 @@
1
+ export declare const ListScansRequestFailure: {
2
+ readonly Any: "any";
3
+ readonly None: "none";
4
+ readonly ScannerUnavailable: "SCANNER_UNAVAILABLE";
5
+ readonly ContentExpansionLimitExceeded: "CONTENT_EXPANSION_LIMIT_EXCEEDED";
6
+ };
7
+ export type ListScansRequestFailure = (typeof ListScansRequestFailure)[keyof typeof ListScansRequestFailure];
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const ListScansRequestFailure = {
3
+ Any: "any",
4
+ None: "none",
5
+ ScannerUnavailable: "SCANNER_UNAVAILABLE",
6
+ ContentExpansionLimitExceeded: "CONTENT_EXPANSION_LIMIT_EXCEEDED",
7
+ };
@@ -0,0 +1,5 @@
1
+ export declare const ListScansRequestSourceType: {
2
+ readonly Api: "api";
3
+ readonly S3: "s3";
4
+ };
5
+ export type ListScansRequestSourceType = (typeof ListScansRequestSourceType)[keyof typeof ListScansRequestSourceType];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const ListScansRequestSourceType = {
3
+ Api: "api",
4
+ S3: "s3",
5
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./ListScansRequestFailure.mjs";
2
+ export * from "./ListScansRequestSourceType.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./ListScansRequestFailure.mjs";
2
+ export * from "./ListScansRequestSourceType.mjs";
@@ -10,11 +10,13 @@ export interface Scan {
10
10
  sha256: string;
11
11
  size_bytes: number;
12
12
  duration_ms: number;
13
+ timings: DetectantApi.ScanTimings;
13
14
  /** Failure information, or `null` when the scan completed. */
14
15
  failure: DetectantApi.ScanFailure | null;
15
16
  /** Detection names reported for the file. Empty when no threats were detected. */
16
17
  detections: string[];
17
18
  type_analysis: DetectantApi.TypeAnalysis;
19
+ source: DetectantApi.ScanSource;
18
20
  }
19
21
  export declare namespace Scan {
20
22
  const Status: {
@@ -0,0 +1,14 @@
1
+ export interface ScanSource {
2
+ type: ScanSource.Type;
3
+ /** S3 integration identifier, or `null` for direct API scans. */
4
+ integration_id: string | null;
5
+ /** S3 integration name, or `null` for direct API scans. */
6
+ integration_name: string | null;
7
+ }
8
+ export declare namespace ScanSource {
9
+ const Type: {
10
+ readonly Api: "api";
11
+ readonly S3: "s3";
12
+ };
13
+ type Type = (typeof Type)[keyof typeof Type];
14
+ }
@@ -0,0 +1,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var ScanSource;
3
+ (function (ScanSource) {
4
+ ScanSource.Type = {
5
+ Api: "api",
6
+ S3: "s3",
7
+ };
8
+ })(ScanSource || (ScanSource = {}));
@@ -0,0 +1,4 @@
1
+ export interface ScanTimings {
2
+ file_type_ms: number;
3
+ malware_scan_ms: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -7,6 +7,8 @@ export declare namespace TypeAnalysisReason {
7
7
  const Code: {
8
8
  readonly MalformedFile: "malformed_file";
9
9
  readonly EncryptedArchive: "encrypted_archive";
10
+ readonly UnsupportedArchive: "unsupported_archive";
11
+ readonly ContentExpansionLimitExceeded: "content_expansion_limit_exceeded";
10
12
  readonly FileTypeMismatch: "file_type_mismatch";
11
13
  };
12
14
  type Code = (typeof Code)[keyof typeof Code];
@@ -4,6 +4,8 @@ export var TypeAnalysisReason;
4
4
  TypeAnalysisReason.Code = {
5
5
  MalformedFile: "malformed_file",
6
6
  EncryptedArchive: "encrypted_archive",
7
+ UnsupportedArchive: "unsupported_archive",
8
+ ContentExpansionLimitExceeded: "content_expansion_limit_exceeded",
7
9
  FileTypeMismatch: "file_type_mismatch",
8
10
  };
9
11
  })(TypeAnalysisReason || (TypeAnalysisReason = {}));
@@ -6,6 +6,8 @@ export * from "./ScanBatchResponse.mjs";
6
6
  export * from "./ScanBatchResult.mjs";
7
7
  export * from "./ScanFailure.mjs";
8
8
  export * from "./ScanList.mjs";
9
+ export * from "./ScanSource.mjs";
10
+ export * from "./ScanTimings.mjs";
9
11
  export * from "./TypeAnalysis.mjs";
10
12
  export * from "./TypeAnalysisReason.mjs";
11
13
  export * from "./TypeDeclaration.mjs";
@@ -6,6 +6,8 @@ export * from "./ScanBatchResponse.mjs";
6
6
  export * from "./ScanBatchResult.mjs";
7
7
  export * from "./ScanFailure.mjs";
8
8
  export * from "./ScanList.mjs";
9
+ export * from "./ScanSource.mjs";
10
+ export * from "./ScanTimings.mjs";
9
11
  export * from "./TypeAnalysis.mjs";
10
12
  export * from "./TypeAnalysisReason.mjs";
11
13
  export * from "./TypeDeclaration.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.3";
1
+ export declare const SDK_VERSION = "0.0.5";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.3";
1
+ export const SDK_VERSION = "0.0.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@detectant-api/sdk",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",