@harnessio/react-har-service-client 0.65.0 → 0.66.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.
@@ -18,7 +18,7 @@ export interface CopyMutationQueryParams {
18
18
  target_project_identifier?: string;
19
19
  target_registry_identifier: string;
20
20
  artifact_type?: 'dataset' | 'model';
21
- filters?: string;
21
+ filters?: string[];
22
22
  }
23
23
  export type CopyOkResponse = ResponseWithPagination<CopyResponseResponse>;
24
24
  export type CopyErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
@@ -14,10 +14,7 @@ export interface DeleteArtifactVersionMutationPathParams {
14
14
  }
15
15
  export interface DeleteArtifactVersionMutationQueryParams {
16
16
  artifact_type?: 'dataset' | 'model';
17
- /**
18
- * @example "architecture:amd64,distribution:ubuntu"
19
- */
20
- filters?: string;
17
+ filters?: string[];
21
18
  }
22
19
  export type DeleteArtifactVersionOkResponse = ResponseWithPagination<SuccessResponse>;
23
20
  export type DeleteArtifactVersionErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
@@ -14,10 +14,7 @@ export interface DeleteQuarantineFilePathMutationQueryParams {
14
14
  version?: string;
15
15
  file_path?: string;
16
16
  artifact_type?: 'dataset' | 'model';
17
- /**
18
- * @example "architecture:amd64,distribution:ubuntu"
19
- */
20
- filters?: string;
17
+ filters?: string[];
21
18
  }
22
19
  export type DeleteQuarantineFilePathOkResponse = ResponseWithPagination<SuccessResponse>;
23
20
  export type DeleteQuarantineFilePathErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
@@ -15,10 +15,7 @@ export interface GetArtifactDetailsQueryPathParams {
15
15
  export interface GetArtifactDetailsQueryQueryParams {
16
16
  artifact_type?: 'dataset' | 'model';
17
17
  childVersion?: string;
18
- /**
19
- * @example "architecture:amd64,distribution:ubuntu"
20
- */
21
- filters?: string;
18
+ filters?: string[];
22
19
  }
23
20
  export type GetArtifactDetailsOkResponse = ResponseWithPagination<ArtifactDetailResponseResponse>;
24
21
  export type GetArtifactDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
@@ -15,10 +15,7 @@ export interface GetArtifactFileQueryPathParams {
15
15
  }
16
16
  export interface GetArtifactFileQueryQueryParams {
17
17
  artifact_type?: 'dataset' | 'model';
18
- /**
19
- * @example "architecture:amd64,distribution:ubuntu"
20
- */
21
- filters?: string;
18
+ filters?: string[];
22
19
  }
23
20
  export type GetArtifactFileOkResponse = ResponseWithPagination<ArtifactFileResponseResponse>;
24
21
  export type GetArtifactFileErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
@@ -27,10 +27,7 @@ export interface GetArtifactFilesQueryQueryParams {
27
27
  sort_order?: string;
28
28
  sort_field?: string;
29
29
  search_term?: string;
30
- /**
31
- * @example "architecture:amd64,distribution:ubuntu"
32
- */
33
- filters?: string;
30
+ filters?: string[];
34
31
  }
35
32
  export type GetArtifactFilesOkResponse = ResponseWithPagination<FileDetailResponseResponse>;
36
33
  export type GetArtifactFilesErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
@@ -15,10 +15,7 @@ export interface GetArtifactVersionSummaryQueryPathParams {
15
15
  export interface GetArtifactVersionSummaryQueryQueryParams {
16
16
  artifact_type?: 'dataset' | 'model';
17
17
  digest?: string;
18
- /**
19
- * @example "architecture:amd64,distribution:ubuntu"
20
- */
21
- filters?: string;
18
+ filters?: string[];
22
19
  }
23
20
  export type GetArtifactVersionSummaryOkResponse = ResponseWithPagination<ArtifactVersionSummaryResponseResponse>;
24
21
  export type GetArtifactVersionSummaryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
@@ -13,7 +13,7 @@ export interface GetMetadataQueryQueryParams {
13
13
  path?: string;
14
14
  package?: string;
15
15
  version?: string;
16
- filters?: string;
16
+ filters?: string[];
17
17
  }
18
18
  export type GetMetadataOkResponse = ResponseWithPagination<MetadataResponseResponse>;
19
19
  export type GetMetadataErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
@@ -439,6 +439,7 @@ export type { CopyTargetRefV3 } from './schemas/CopyTargetRefV3';
439
439
  export type { CreateBulkDownloadRequestResponseOutput } from './schemas/CreateBulkDownloadRequestResponseOutput';
440
440
  export type { CreatedAtMsV3 } from './schemas/CreatedAtMsV3';
441
441
  export type { DartArtifactDetailConfig } from './schemas/DartArtifactDetailConfig';
442
+ export type { DebianArtifactDetailConfig } from './schemas/DebianArtifactDetailConfig';
442
443
  export type { DeletedAtMsV3 } from './schemas/DeletedAtMsV3';
443
444
  export type { DeploymentDetails } from './schemas/DeploymentDetails';
444
445
  export type { DeploymentMetadata } from './schemas/DeploymentMetadata';
@@ -14,13 +14,14 @@ import type { DartArtifactDetailConfig } from '../schemas/DartArtifactDetailConf
14
14
  import type { ComposerArtifactDetailConfig } from '../schemas/ComposerArtifactDetailConfig';
15
15
  import type { SwiftArtifactDetailConfig } from '../schemas/SwiftArtifactDetailConfig';
16
16
  import type { PuppetArtifactDetailConfig } from '../schemas/PuppetArtifactDetailConfig';
17
+ import type { DebianArtifactDetailConfig } from '../schemas/DebianArtifactDetailConfig';
17
18
  import type { ArtifactType } from '../schemas/ArtifactType';
18
19
  import type { UserInfo } from '../schemas/UserInfo';
19
20
  import type { PackageType } from '../schemas/PackageType';
20
21
  /**
21
22
  * Artifact Detail
22
23
  */
23
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig) & {
24
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig | DebianArtifactDetailConfig) & {
24
25
  artifactKey?: {
25
26
  [key: string]: string;
26
27
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config for debian artifact details
3
+ */
4
+ export interface DebianArtifactDetailConfig {
5
+ metadata?: {
6
+ [key: string]: any;
7
+ };
8
+ }
@@ -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.65.0",
3
+ "version": "0.66.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",