@harnessio/react-har-service-client 0.37.0 → 0.38.0

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.
@@ -245,6 +245,7 @@ export type { ArtifactEntityMetadata } from './schemas/ArtifactEntityMetadata';
245
245
  export type { ArtifactLabelRequest } from './schemas/ArtifactLabelRequest';
246
246
  export type { ArtifactMetadata } from './schemas/ArtifactMetadata';
247
247
  export type { ArtifactScan } from './schemas/ArtifactScan';
248
+ export type { ArtifactScanDetails } from './schemas/ArtifactScanDetails';
248
249
  export type { ArtifactScanEvaluateRequestStatus } from './schemas/ArtifactScanEvaluateRequestStatus';
249
250
  export type { ArtifactStats } from './schemas/ArtifactStats';
250
251
  export type { ArtifactSummary } from './schemas/ArtifactSummary';
@@ -286,6 +287,7 @@ export type { Error } from './schemas/Error';
286
287
  export type { ExtraHeader } from './schemas/ExtraHeader';
287
288
  export type { FileDetail } from './schemas/FileDetail';
288
289
  export type { FileMetadata } from './schemas/FileMetadata';
290
+ export type { FixVersionDetails } from './schemas/FixVersionDetails';
289
291
  export type { GenericArtifactDetailConfig } from './schemas/GenericArtifactDetailConfig';
290
292
  export type { GoArtifactDetailConfig } from './schemas/GoArtifactDetailConfig';
291
293
  export type { HelmArtifactDetail } from './schemas/HelmArtifactDetail';
@@ -1,8 +1,4 @@
1
+ import type { ArtifactScanDetails } from '../schemas/ArtifactScanDetails';
1
2
  export interface ArtifactScanDetailsResponseResponse {
2
- /**
3
- * Details of artifact scan
4
- */
5
- data: {
6
- [key: string]: any;
7
- };
3
+ data: ArtifactScanDetails;
8
4
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,45 @@
1
+ import type { FixVersionDetails } from '../schemas/FixVersionDetails';
2
+ import type { PackageType } from '../schemas/PackageType';
3
+ /**
4
+ * Artifact scans details
5
+ */
6
+ export interface ArtifactScanDetails {
7
+ fixVersionDetails?: FixVersionDetails;
8
+ /**
9
+ * Unique identifier for this artifact scan details
10
+ * @format uuid
11
+ */
12
+ id: string;
13
+ lastEvaluatedAt?: string;
14
+ lastEvaluatedBy?: string;
15
+ /**
16
+ * Package name
17
+ */
18
+ packageName: string;
19
+ packageType: PackageType;
20
+ policyFailureDetails: {
21
+ [key: string]: any;
22
+ };
23
+ /**
24
+ * Registry name
25
+ */
26
+ registryName: string;
27
+ /**
28
+ * Registry ID
29
+ * @format uuid
30
+ */
31
+ registry_id: string;
32
+ /**
33
+ * Scan status
34
+ */
35
+ scanStatus: 'BLOCKED' | 'WARN';
36
+ /**
37
+ * Version
38
+ */
39
+ version: string;
40
+ /**
41
+ * Version
42
+ * @format uuid
43
+ */
44
+ version_id?: string;
45
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Fix version Details
3
+ */
4
+ export interface FixVersionDetails {
5
+ /**
6
+ * The current version
7
+ * @example "1.2.0"
8
+ */
9
+ currentVersion: string;
10
+ /**
11
+ * The fix version
12
+ * @example "1.2.2"
13
+ */
14
+ fixVersion?: string;
15
+ /**
16
+ * Fix version available or not
17
+ */
18
+ fixVersionAvailable: boolean;
19
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",