@harnessio/react-ssca-manager-client 0.5.0 → 0.7.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.
@@ -22,6 +22,9 @@ export interface GetArtifactDetailComponentViewQueryQueryParams {
22
22
  * @default 0
23
23
  */
24
24
  page?: number;
25
+ /**
26
+ * @default "package_name"
27
+ */
25
28
  sort?: {};
26
29
  }
27
30
  export interface GetArtifactDetailComponentViewQueryHeaderParams {
@@ -22,6 +22,9 @@ export interface GetArtifactDetailDeploymentViewQueryQueryParams {
22
22
  * @default 0
23
23
  */
24
24
  page?: number;
25
+ /**
26
+ * @default "env_name"
27
+ */
25
28
  sort?: {};
26
29
  }
27
30
  export interface GetArtifactDetailDeploymentViewQueryHeaderParams {
@@ -20,6 +20,9 @@ export interface ListArtifactsQueryQueryParams {
20
20
  * @default 0
21
21
  */
22
22
  page?: number;
23
+ /**
24
+ * @default "name"
25
+ */
23
26
  sort?: {};
24
27
  }
25
28
  export interface ListArtifactsQueryHeaderParams {
@@ -19,6 +19,9 @@ export interface ListLatestArtifactsQueryQueryParams {
19
19
  * @default 0
20
20
  */
21
21
  page?: number;
22
+ /**
23
+ * @default "name"
24
+ */
22
25
  sort?: {};
23
26
  }
24
27
  export interface ListLatestArtifactsQueryHeaderParams {
@@ -9,5 +9,5 @@ export interface ArtifactComponentViewRequestBody {
9
9
  value?: string;
10
10
  };
11
11
  package_manager?: string;
12
- supplier?: string;
12
+ package_supplier?: string;
13
13
  }
@@ -1,8 +1,8 @@
1
1
  export interface ArtifactComponentViewResponse {
2
- license?: string;
3
- name?: string;
2
+ package_license?: string;
4
3
  package_manager?: string;
4
+ package_name?: string;
5
+ package_supplier?: string;
6
+ package_version?: string;
5
7
  purl?: string;
6
- supplier?: string;
7
- version?: string;
8
8
  }
@@ -3,12 +3,12 @@ export interface ArtifactDeploymentViewResponse {
3
3
  attested_status?: 'FAIL' | 'PASS';
4
4
  deny_list_policy_violation?: string;
5
5
  enforcement_id?: string;
6
- id?: string;
7
- name?: string;
6
+ env_id?: string;
7
+ env_name?: string;
8
+ env_type?: 'NONPROD' | 'PROD';
8
9
  pipeline_execution_id?: string;
9
10
  pipeline_id?: string;
10
11
  triggered_at?: string;
11
12
  triggered_by?: string;
12
13
  triggered_by_id?: string;
13
- type?: 'NONPROD' | 'PROD';
14
14
  }
@@ -1,10 +1,11 @@
1
1
  export interface ArtifactDetailResponse {
2
- artifact_id: string;
3
- artifact_name: string;
4
2
  build_pipeline_execution_id?: string;
5
3
  build_pipeline_id?: string;
6
4
  components_count?: number;
5
+ id: string;
6
+ name: string;
7
7
  non_prod_env_count?: number;
8
+ orchestration_id?: string;
8
9
  prod_env_count?: number;
9
10
  tag: string;
10
11
  updated?: string;
@@ -1,12 +1,12 @@
1
1
  export interface ArtifactListingRequestBody {
2
- component_filter?: {
2
+ component_filter?: Array<{
3
3
  field_name?: 'ComponentName' | 'ComponentVersion';
4
- operator?: 'EQ';
4
+ operator?: 'Contains' | 'Equals' | 'StartsWith';
5
5
  value?: string;
6
- };
6
+ }>;
7
7
  environment_type?: 'All' | 'NonProd' | 'None' | 'Prod';
8
8
  license_filter?: {
9
- operator?: 'EQ';
9
+ operator?: 'Equals';
10
10
  value?: string;
11
11
  };
12
12
  policy_violation?: 'ALLOW' | 'DENY';
@@ -1,14 +1,16 @@
1
1
  export interface ArtifactListingResponse {
2
2
  activity?: 'DEPLOYED' | 'GENERATED';
3
3
  allow_list_violation_count?: number;
4
- artifact_id: string;
5
- artifact_name: string;
4
+ build_pipeline_execution_id?: string;
5
+ build_pipeline_id?: string;
6
6
  components_count?: number;
7
7
  deny_list_violation_count?: number;
8
8
  enforcement_id?: string;
9
+ id: string;
10
+ name: string;
9
11
  non_prod_env_count?: number;
12
+ orchestration_id?: string;
10
13
  prod_env_count?: number;
11
- sbom_url?: string;
12
14
  tag: string;
13
15
  updated_at?: string;
14
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",