@harnessio/react-har-service-client 0.95.0 → 0.97.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.
@@ -16,6 +16,7 @@ export interface ListRegistriesV3QueryQueryParams {
16
16
  */
17
17
  deleted?: 'exclude' | 'include' | 'only';
18
18
  signing_key_id?: string;
19
+ is_internal?: boolean;
19
20
  /**
20
21
  * @format int64
21
22
  * @default 0
@@ -20,6 +20,7 @@ export interface ListSigningKeysV3QueryQueryParams {
20
20
  search_term?: string;
21
21
  types?: string[];
22
22
  statuses?: string[];
23
+ scope?: string;
23
24
  }
24
25
  export type ListSigningKeysV3OkResponse = ResponseWithPagination<ListSigningKeysResponseV3Response>;
25
26
  export type ListSigningKeysV3ErrorResponse = ErrorV3;
@@ -748,6 +748,7 @@ export type { SectionType } from './schemas/SectionType';
748
748
  export type { SecurityPolicyFailureDetailConfigV3 } from './schemas/SecurityPolicyFailureDetailConfigV3';
749
749
  export type { SecurityPolicyFailureVulnerabilityV3 } from './schemas/SecurityPolicyFailureVulnerabilityV3';
750
750
  export type { SigningConfig } from './schemas/SigningConfig';
751
+ export type { SigningKeyAlgorithmV3 } from './schemas/SigningKeyAlgorithmV3';
751
752
  export type { SigningKeyStatusV3 } from './schemas/SigningKeyStatusV3';
752
753
  export type { SigningKeySummaryV3 } from './schemas/SigningKeySummaryV3';
753
754
  export type { SigningKeyV3 } from './schemas/SigningKeyV3';
@@ -17,6 +17,10 @@ export interface Registry<T0 extends RegistryConfig = RegistryConfig> {
17
17
  deletedAt?: string;
18
18
  description?: string;
19
19
  identifier: string;
20
+ /**
21
+ * Indicates that the registry is system-managed.
22
+ */
23
+ isInternal?: boolean;
20
24
  isPublic: boolean;
21
25
  labels?: string[];
22
26
  modifiedAt?: string;
@@ -9,6 +9,10 @@ export interface RegistryRequest<T0 extends RegistryConfig = RegistryConfig> {
9
9
  config?: T0;
10
10
  description?: string;
11
11
  identifier: string;
12
+ /**
13
+ * Marks a registry as internal (system-managed).
14
+ */
15
+ isInternal?: boolean;
12
16
  isPublic: boolean;
13
17
  labels?: string[];
14
18
  opaMetadataValidation?: boolean;
@@ -20,6 +20,10 @@ export interface RegistryV3 {
20
20
  * @format uuid
21
21
  */
22
22
  id: string;
23
+ /**
24
+ * Indicates that the registry is internal (system-managed).
25
+ */
26
+ isInternal?: boolean;
23
27
  isPublic: boolean;
24
28
  modifiedAt?: ModifiedAtMsV3;
25
29
  modifiedBy?: UserInfoV3;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.
3
+ *
4
+ * @example "RSA"
5
+ */
6
+ export type SigningKeyAlgorithmV3 = string;
@@ -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,3 +1,4 @@
1
+ import type { SigningKeyAlgorithmV3 } from '../schemas/SigningKeyAlgorithmV3';
1
2
  import type { CreatedAtMsV3 } from '../schemas/CreatedAtMsV3';
2
3
  import type { UserInfoV3 } from '../schemas/UserInfoV3';
3
4
  import type { ModifiedAtMsV3 } from '../schemas/ModifiedAtMsV3';
@@ -6,12 +7,7 @@ import type { SigningKeyStatusV3 } from '../schemas/SigningKeyStatusV3';
6
7
  * A signing key used for repository metadata signing (Debian, Alpine, etc.)
7
8
  */
8
9
  export interface SigningKeyV3 {
9
- /**
10
- * Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.
11
- *
12
- * @example "RSA"
13
- */
14
- algorithm: string;
10
+ algorithm: SigningKeyAlgorithmV3;
15
11
  createdAt: CreatedAtMsV3;
16
12
  createdBy?: UserInfoV3;
17
13
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.95.0",
3
+ "version": "0.97.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",