@harnessio/react-har-service-client 0.82.0 → 0.84.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.
@@ -13,6 +13,7 @@ export interface GetClientSetupDetailsQueryPathParams {
13
13
  export interface GetClientSetupDetailsQueryQueryParams {
14
14
  artifact?: string;
15
15
  version?: string;
16
+ artifact_type?: 'dataset' | 'model' | 'module' | 'provider';
16
17
  }
17
18
  export type GetClientSetupDetailsOkResponse = ResponseWithPagination<ClientSetupDetailsResponseResponse>;
18
19
  export type GetClientSetupDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
@@ -680,6 +680,7 @@ export type { SwiftArtifactDetailConfig } from './schemas/SwiftArtifactDetailCon
680
680
  export type { SystemInfoV3 } from './schemas/SystemInfoV3';
681
681
  export type { TabSetupStep } from './schemas/TabSetupStep';
682
682
  export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
683
+ export type { TerraformArtifactDetailConfig } from './schemas/TerraformArtifactDetailConfig';
683
684
  export type { Trigger } from './schemas/Trigger';
684
685
  export type { TypesLabel } from './schemas/TypesLabel';
685
686
  export type { TypesLabelValue } from './schemas/TypesLabelValue';
@@ -18,13 +18,14 @@ import type { HelmHttpArtifactDetailConfig } from '../schemas/HelmHttpArtifactDe
18
18
  import type { DebianArtifactDetailConfig } from '../schemas/DebianArtifactDetailConfig';
19
19
  import type { ConanArtifactDetailConfig } from '../schemas/ConanArtifactDetailConfig';
20
20
  import type { RubyArtifactDetailConfig } from '../schemas/RubyArtifactDetailConfig';
21
+ import type { TerraformArtifactDetailConfig } from '../schemas/TerraformArtifactDetailConfig';
21
22
  import type { ArtifactType } from '../schemas/ArtifactType';
22
23
  import type { UserInfo } from '../schemas/UserInfo';
23
24
  import type { PackageType } from '../schemas/PackageType';
24
25
  /**
25
26
  * Artifact Detail
26
27
  */
27
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig | HelmHttpArtifactDetailConfig | DebianArtifactDetailConfig | ConanArtifactDetailConfig | RubyArtifactDetailConfig) & {
28
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig | HelmHttpArtifactDetailConfig | DebianArtifactDetailConfig | ConanArtifactDetailConfig | RubyArtifactDetailConfig | TerraformArtifactDetailConfig) & {
28
29
  artifactKey?: {
29
30
  [key: string]: string;
30
31
  };
@@ -1,8 +1,10 @@
1
1
  import type { DeletedAtMsV3 } from '../schemas/DeletedAtMsV3';
2
2
  import type { UserInfoV3 } from '../schemas/UserInfoV3';
3
3
  import type { ModifiedAtMsV3 } from '../schemas/ModifiedAtMsV3';
4
+ import type { OrgIdentifier } from '../schemas/OrgIdentifier';
4
5
  import type { PackageKindV3 } from '../schemas/PackageKindV3';
5
6
  import type { PackageTypeV3 } from '../schemas/PackageTypeV3';
7
+ import type { ProjectIdentifier } from '../schemas/ProjectIdentifier';
6
8
  /**
7
9
  * Package Metadata
8
10
  */
@@ -26,8 +28,10 @@ export interface PackageV3 {
26
28
  modifiedAt?: ModifiedAtMsV3;
27
29
  modifiedBy?: UserInfoV3;
28
30
  name: string;
31
+ orgIdentifier?: OrgIdentifier;
29
32
  packageKind?: PackageKindV3;
30
33
  packageType: PackageTypeV3;
34
+ projectIdentifier?: ProjectIdentifier;
31
35
  quarantineReason?: string;
32
36
  /**
33
37
  * @format uuid
@@ -1,7 +1,9 @@
1
1
  import type { DeletedAtMsV3 } from '../schemas/DeletedAtMsV3';
2
2
  import type { UserInfoV3 } from '../schemas/UserInfoV3';
3
3
  import type { ModifiedAtMsV3 } from '../schemas/ModifiedAtMsV3';
4
+ import type { OrgIdentifier } from '../schemas/OrgIdentifier';
4
5
  import type { PackageTypeV3 } from '../schemas/PackageTypeV3';
6
+ import type { ProjectIdentifier } from '../schemas/ProjectIdentifier';
5
7
  import type { RegistryTypeV3 } from '../schemas/RegistryTypeV3';
6
8
  /**
7
9
  * Registry Metadata
@@ -26,12 +28,14 @@ export interface RegistryV3 {
26
28
  modifiedAt?: ModifiedAtMsV3;
27
29
  modifiedBy?: UserInfoV3;
28
30
  name: string;
31
+ orgIdentifier?: OrgIdentifier;
29
32
  /**
30
33
  * @format int64
31
34
  */
32
35
  packageCount?: number;
33
36
  packageType: PackageTypeV3;
34
37
  path?: string;
38
+ projectIdentifier?: ProjectIdentifier;
35
39
  size?: string;
36
40
  type: RegistryTypeV3;
37
41
  url: string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config for Terraform artifact details
3
+ */
4
+ export interface TerraformArtifactDetailConfig {
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 {};
@@ -23,11 +23,6 @@ export interface UpstreamConfig {
23
23
  *
24
24
  */
25
25
  remoteUrlSuffix?: string;
26
- /**
27
- * Secondary upstream URL. For Terraform registries, the primary URL is used for modules and the secondary URL for providers.
28
- *
29
- */
30
- secondaryUrl?: string;
31
26
  source?: 'Anaconda' | 'AwsEcr' | 'CRAN' | 'ConanCenter' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | 'HelmChartRepo' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'Packagist' | 'Pubdev' | 'PuppetForge' | 'PyPi' | 'RubyGems' | 'TerraformRegistry';
32
27
  url?: string;
33
28
  }
@@ -4,8 +4,10 @@ import type { DeletedAtMsV3 } from '../schemas/DeletedAtMsV3';
4
4
  import type { DeploymentMetadataV3 } from '../schemas/DeploymentMetadataV3';
5
5
  import type { FirewallModeV3 } from '../schemas/FirewallModeV3';
6
6
  import type { ResourceMetadataV3 } from '../schemas/ResourceMetadataV3';
7
+ import type { OrgIdentifier } from '../schemas/OrgIdentifier';
7
8
  import type { PackageKindV3 } from '../schemas/PackageKindV3';
8
9
  import type { PackageTypeV3 } from '../schemas/PackageTypeV3';
10
+ import type { ProjectIdentifier } from '../schemas/ProjectIdentifier';
9
11
  import type { RegistryTypeV3 } from '../schemas/RegistryTypeV3';
10
12
  import type { ScanStatusV3 } from '../schemas/ScanStatusV3';
11
13
  /**
@@ -37,6 +39,7 @@ export interface VersionV3 {
37
39
  modifiedAt?: ModifiedAtMsV3;
38
40
  modifiedBy?: UserInfoV3;
39
41
  name: string;
42
+ orgIdentifier?: OrgIdentifier;
40
43
  /**
41
44
  * @format uuid
42
45
  */
@@ -44,6 +47,7 @@ export interface VersionV3 {
44
47
  packageKind?: PackageKindV3;
45
48
  packageName: string;
46
49
  packageType: PackageTypeV3;
50
+ projectIdentifier?: ProjectIdentifier;
47
51
  pullCommand?: string;
48
52
  pushedBy?: UserInfoV3;
49
53
  quarantineReason?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.82.0",
3
+ "version": "0.84.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",