@harnessio/react-har-service-client 0.94.0 → 0.96.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.
- package/dist/har-service/src/services/hooks/useListSigningKeysV3Query.d.ts +1 -0
- package/dist/har-service/src/services/index.d.ts +0 -1
- package/dist/har-service/src/services/schemas/GenerateKeyRequestV3.d.ts +7 -17
- package/dist/har-service/src/services/schemas/ImportKeyRequestV3.d.ts +6 -2
- package/dist/har-service/src/services/schemas/ImportKeyRequestV3.js +3 -0
- package/dist/har-service/src/services/schemas/SigningKeyV3.d.ts +6 -2
- package/dist/har-service/src/services/schemas/UpdateKeyRequestV3.d.ts +1 -1
- package/package.json +1 -1
- package/dist/har-service/src/services/schemas/SigningKeyTypeV3.d.ts +0 -6
- package/dist/har-service/src/services/schemas/SigningKeyTypeV3.js +0 -4
|
@@ -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;
|
|
@@ -751,7 +751,6 @@ export type { SigningConfig } from './schemas/SigningConfig';
|
|
|
751
751
|
export type { SigningKeyAlgorithmV3 } from './schemas/SigningKeyAlgorithmV3';
|
|
752
752
|
export type { SigningKeyStatusV3 } from './schemas/SigningKeyStatusV3';
|
|
753
753
|
export type { SigningKeySummaryV3 } from './schemas/SigningKeySummaryV3';
|
|
754
|
-
export type { SigningKeyTypeV3 } from './schemas/SigningKeyTypeV3';
|
|
755
754
|
export type { SigningKeyV3 } from './schemas/SigningKeyV3';
|
|
756
755
|
export type { SlsaDetails } from './schemas/SlsaDetails';
|
|
757
756
|
export type { StartedAtMsV3 } from './schemas/StartedAtMsV3';
|
|
@@ -23,34 +23,24 @@
|
|
|
23
23
|
*/
|
|
24
24
|
export interface GenerateKeyRequestV3 {
|
|
25
25
|
/**
|
|
26
|
-
* Underlying cryptographic algorithm:
|
|
27
|
-
* - RSA: 2048/3072/4096-bit RSA (compatible with all package types)
|
|
28
|
-
* - Ed25519: Modern elliptic curve algorithm (GPG only, fixed size)
|
|
26
|
+
* 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.
|
|
29
27
|
*
|
|
28
|
+
* @example "RSA"
|
|
30
29
|
*/
|
|
31
|
-
algorithm:
|
|
30
|
+
algorithm: string;
|
|
32
31
|
/**
|
|
33
32
|
* Optional expiration timestamp in Unix milliseconds
|
|
34
33
|
* @format int64
|
|
35
34
|
*/
|
|
36
|
-
|
|
35
|
+
expirationAt?: number | null;
|
|
37
36
|
/**
|
|
38
37
|
* Human-readable name for the key
|
|
39
38
|
*/
|
|
40
39
|
name: string;
|
|
41
40
|
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
orgIdentifier?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Project identifier (optional, for project-level keys)
|
|
47
|
-
*/
|
|
48
|
-
projectIdentifier?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
* Type of key to generate:
|
|
51
|
-
* - GPG: OpenPGP key for package signing (Debian, RPM, Alpine)
|
|
52
|
-
* - RSA: Raw RSA key for direct signing operations
|
|
41
|
+
* Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.
|
|
53
42
|
*
|
|
43
|
+
* @example "GPG"
|
|
54
44
|
*/
|
|
55
|
-
type:
|
|
45
|
+
type: string;
|
|
56
46
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { SigningKeyTypeV3 } from '../schemas/SigningKeyTypeV3';
|
|
2
1
|
/**
|
|
3
2
|
* Request to import an existing signing key from secret manager. `type` is the cryptographic system of the key being imported.
|
|
4
3
|
*
|
|
@@ -41,5 +40,10 @@ export interface ImportKeyRequestV3 {
|
|
|
41
40
|
* Space path for the private key secret (e.g., "accountId/orgId/projectId")
|
|
42
41
|
*/
|
|
43
42
|
privateKeySecretSpacePath: string;
|
|
44
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.
|
|
45
|
+
*
|
|
46
|
+
* @example "GPG"
|
|
47
|
+
*/
|
|
48
|
+
type: string;
|
|
45
49
|
}
|
|
@@ -3,7 +3,6 @@ import type { CreatedAtMsV3 } from '../schemas/CreatedAtMsV3';
|
|
|
3
3
|
import type { UserInfoV3 } from '../schemas/UserInfoV3';
|
|
4
4
|
import type { ModifiedAtMsV3 } from '../schemas/ModifiedAtMsV3';
|
|
5
5
|
import type { SigningKeyStatusV3 } from '../schemas/SigningKeyStatusV3';
|
|
6
|
-
import type { SigningKeyTypeV3 } from '../schemas/SigningKeyTypeV3';
|
|
7
6
|
/**
|
|
8
7
|
* A signing key used for repository metadata signing (Debian, Alpine, etc.)
|
|
9
8
|
*/
|
|
@@ -48,6 +47,11 @@ export interface SigningKeyV3 {
|
|
|
48
47
|
*/
|
|
49
48
|
source: 'GENERATED' | 'IMPORTED';
|
|
50
49
|
status: SigningKeyStatusV3;
|
|
51
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.
|
|
52
|
+
*
|
|
53
|
+
* @example "GPG"
|
|
54
|
+
*/
|
|
55
|
+
type: string;
|
|
52
56
|
updatedBy?: UserInfoV3;
|
|
53
57
|
}
|
|
@@ -6,5 +6,5 @@ export interface UpdateKeyRequestV3 {
|
|
|
6
6
|
* New status for the key (cannot transition from REVOKED or DELETED). Intentionally a closed subset of `SigningKeyStatusV3` rather than an extensible enum: DELETED is reachable only via `DELETE /signing-keys/{id}`, which emits a distinct audit event.
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
|
-
status: 'ACTIVE' | 'INACTIVE' | 'REVOKED'
|
|
9
|
+
status: 'ACTIVE' | 'INACTIVE' | 'REVOKED';
|
|
10
10
|
}
|
package/package.json
CHANGED