@harnessio/react-har-service-client 0.83.0 → 0.85.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.
@@ -490,6 +490,7 @@ export type { CondaArtifactDetailConfig } from './schemas/CondaArtifactDetailCon
490
490
  export type { CopyResourceItemV3 } from './schemas/CopyResourceItemV3';
491
491
  export type { CopySourceRefV3 } from './schemas/CopySourceRefV3';
492
492
  export type { CopyTargetRefV3 } from './schemas/CopyTargetRefV3';
493
+ export type { CranArtifactDetailConfig } from './schemas/CranArtifactDetailConfig';
493
494
  export type { CreateBulkDownloadRequestResponseOutput } from './schemas/CreateBulkDownloadRequestResponseOutput';
494
495
  export type { CreatedAtMsV3 } from './schemas/CreatedAtMsV3';
495
496
  export type { DartArtifactDetailConfig } from './schemas/DartArtifactDetailConfig';
@@ -680,6 +681,7 @@ export type { SwiftArtifactDetailConfig } from './schemas/SwiftArtifactDetailCon
680
681
  export type { SystemInfoV3 } from './schemas/SystemInfoV3';
681
682
  export type { TabSetupStep } from './schemas/TabSetupStep';
682
683
  export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
684
+ export type { TerraformArtifactDetailConfig } from './schemas/TerraformArtifactDetailConfig';
683
685
  export type { Trigger } from './schemas/Trigger';
684
686
  export type { TypesLabel } from './schemas/TypesLabel';
685
687
  export type { TypesLabelValue } from './schemas/TypesLabelValue';
@@ -18,13 +18,15 @@ 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 { CranArtifactDetailConfig } from '../schemas/CranArtifactDetailConfig';
22
+ import type { TerraformArtifactDetailConfig } from '../schemas/TerraformArtifactDetailConfig';
21
23
  import type { ArtifactType } from '../schemas/ArtifactType';
22
24
  import type { UserInfo } from '../schemas/UserInfo';
23
25
  import type { PackageType } from '../schemas/PackageType';
24
26
  /**
25
27
  * Artifact Detail
26
28
  */
27
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig | HelmHttpArtifactDetailConfig | DebianArtifactDetailConfig | ConanArtifactDetailConfig | RubyArtifactDetailConfig) & {
29
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig | HelmHttpArtifactDetailConfig | DebianArtifactDetailConfig | ConanArtifactDetailConfig | RubyArtifactDetailConfig | CranArtifactDetailConfig | TerraformArtifactDetailConfig) & {
28
30
  artifactKey?: {
29
31
  [key: string]: string;
30
32
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config for CRAN artifact details.
3
+ */
4
+ export interface CranArtifactDetailConfig {
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 {};
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * refers to package
3
3
  */
4
- export type PackageType = 'CARGO' | 'COMPOSER' | 'CONAN' | 'CONDA' | 'DART' | 'DEBIAN' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HELM_HTTP' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PUPPET' | 'PYTHON' | 'R' | 'RAW' | 'RPM' | 'RUBY' | 'SWIFT' | 'TERRAFORM';
4
+ export type PackageType = 'CARGO' | 'COMPOSER' | 'CONAN' | 'CONDA' | 'CRAN' | 'DART' | 'DEBIAN' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HELM_HTTP' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PUPPET' | 'PYTHON' | 'RAW' | 'RPM' | 'RUBY' | 'SWIFT' | 'TERRAFORM';
@@ -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.83.0",
3
+ "version": "0.85.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",