@goauthentik/api 2025.12.0-rc1-1761146160 → 2025.12.0-rc1-1762289109

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.
Files changed (40) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/dist/apis/CryptoApi.d.ts +13 -0
  3. package/dist/apis/CryptoApi.d.ts.map +1 -1
  4. package/dist/apis/CryptoApi.js +15 -1
  5. package/dist/apis/CryptoApi.js.map +1 -1
  6. package/dist/esm/apis/CryptoApi.d.ts +13 -0
  7. package/dist/esm/apis/CryptoApi.d.ts.map +1 -1
  8. package/dist/esm/apis/CryptoApi.js +15 -1
  9. package/dist/esm/apis/CryptoApi.js.map +1 -1
  10. package/dist/esm/models/CertificateKeyPair.d.ts +5 -4
  11. package/dist/esm/models/CertificateKeyPair.d.ts.map +1 -1
  12. package/dist/esm/models/CertificateKeyPair.js +3 -2
  13. package/dist/esm/models/CertificateKeyPair.js.map +1 -1
  14. package/dist/esm/models/KeyTypeEnum.d.ts +30 -0
  15. package/dist/esm/models/KeyTypeEnum.d.ts.map +1 -0
  16. package/dist/esm/models/KeyTypeEnum.js +56 -0
  17. package/dist/esm/models/KeyTypeEnum.js.map +1 -0
  18. package/dist/esm/models/index.d.ts +1 -0
  19. package/dist/esm/models/index.d.ts.map +1 -1
  20. package/dist/esm/models/index.js +1 -0
  21. package/dist/esm/models/index.js.map +1 -1
  22. package/dist/models/CertificateKeyPair.d.ts +5 -4
  23. package/dist/models/CertificateKeyPair.d.ts.map +1 -1
  24. package/dist/models/CertificateKeyPair.js +3 -2
  25. package/dist/models/CertificateKeyPair.js.map +1 -1
  26. package/dist/models/KeyTypeEnum.d.ts +30 -0
  27. package/dist/models/KeyTypeEnum.d.ts.map +1 -0
  28. package/dist/models/KeyTypeEnum.js +56 -0
  29. package/dist/models/KeyTypeEnum.js.map +1 -0
  30. package/dist/models/index.d.ts +1 -0
  31. package/dist/models/index.d.ts.map +1 -1
  32. package/dist/models/index.js +1 -0
  33. package/dist/models/index.js.map +1 -1
  34. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  35. package/package.json +1 -1
  36. package/src/apis/CryptoApi.ts +18 -0
  37. package/src/models/CertificateKeyPair.ts +16 -6
  38. package/src/models/KeyTypeEnum.ts +57 -0
  39. package/src/models/index.ts +1 -0
  40. package/tsconfig.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2025.12.0-rc1-1761146160",
3
+ "version": "2025.12.0-rc1-1762289109",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -61,6 +61,7 @@ export interface CryptoCertificatekeypairsGenerateCreateRequest {
61
61
  export interface CryptoCertificatekeypairsListRequest {
62
62
  hasKey?: boolean;
63
63
  includeDetails?: boolean;
64
+ keyType?: Array<CryptoCertificatekeypairsListKeyTypeEnum>;
64
65
  managed?: string;
65
66
  name?: string;
66
67
  ordering?: string;
@@ -254,6 +255,10 @@ export class CryptoApi extends runtime.BaseAPI {
254
255
  queryParameters['include_details'] = requestParameters['includeDetails'];
255
256
  }
256
257
 
258
+ if (requestParameters['keyType'] != null) {
259
+ queryParameters['key_type'] = requestParameters['keyType'];
260
+ }
261
+
257
262
  if (requestParameters['managed'] != null) {
258
263
  queryParameters['managed'] = requestParameters['managed'];
259
264
  }
@@ -601,3 +606,16 @@ export class CryptoApi extends runtime.BaseAPI {
601
606
  }
602
607
 
603
608
  }
609
+
610
+ /**
611
+ * @export
612
+ */
613
+ export const CryptoCertificatekeypairsListKeyTypeEnum = {
614
+ Dsa: 'dsa',
615
+ Ec: 'ec',
616
+ Ed25519: 'ed25519',
617
+ Ed448: 'ed448',
618
+ Rsa: 'rsa',
619
+ UnknownDefaultOpenApi: '11184809'
620
+ } as const;
621
+ export type CryptoCertificatekeypairsListKeyTypeEnum = typeof CryptoCertificatekeypairsListKeyTypeEnum[keyof typeof CryptoCertificatekeypairsListKeyTypeEnum];
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { KeyTypeEnum } from './KeyTypeEnum';
17
+ import {
18
+ KeyTypeEnumFromJSON,
19
+ KeyTypeEnumFromJSONTyped,
20
+ KeyTypeEnumToJSON,
21
+ KeyTypeEnumToJSONTyped,
22
+ } from './KeyTypeEnum';
23
+
16
24
  /**
17
25
  * CertificateKeyPair Serializer
18
26
  * @export
@@ -62,11 +70,11 @@ export interface CertificateKeyPair {
62
70
  */
63
71
  readonly privateKeyAvailable: boolean;
64
72
  /**
65
- * Get the private key's type, if set
66
- * @type {string}
73
+ *
74
+ * @type {KeyTypeEnum}
67
75
  * @memberof CertificateKeyPair
68
76
  */
69
- readonly privateKeyType: string | null;
77
+ readonly keyType: KeyTypeEnum | null;
70
78
  /**
71
79
  * Get URL to download certificate
72
80
  * @type {string}
@@ -87,6 +95,8 @@ export interface CertificateKeyPair {
87
95
  readonly managed: string | null;
88
96
  }
89
97
 
98
+
99
+
90
100
  /**
91
101
  * Check if a given object implements the CertificateKeyPair interface.
92
102
  */
@@ -98,7 +108,7 @@ export function instanceOfCertificateKeyPair(value: object): value is Certificat
98
108
  if (!('certExpiry' in value) || value['certExpiry'] === undefined) return false;
99
109
  if (!('certSubject' in value) || value['certSubject'] === undefined) return false;
100
110
  if (!('privateKeyAvailable' in value) || value['privateKeyAvailable'] === undefined) return false;
101
- if (!('privateKeyType' in value) || value['privateKeyType'] === undefined) return false;
111
+ if (!('keyType' in value) || value['keyType'] === undefined) return false;
102
112
  if (!('certificateDownloadUrl' in value) || value['certificateDownloadUrl'] === undefined) return false;
103
113
  if (!('privateKeyDownloadUrl' in value) || value['privateKeyDownloadUrl'] === undefined) return false;
104
114
  if (!('managed' in value) || value['managed'] === undefined) return false;
@@ -122,7 +132,7 @@ export function CertificateKeyPairFromJSONTyped(json: any, ignoreDiscriminator:
122
132
  'certExpiry': (json['cert_expiry'] == null ? null : new Date(json['cert_expiry'])),
123
133
  'certSubject': json['cert_subject'],
124
134
  'privateKeyAvailable': json['private_key_available'],
125
- 'privateKeyType': json['private_key_type'],
135
+ 'keyType': KeyTypeEnumFromJSON(json['key_type']),
126
136
  'certificateDownloadUrl': json['certificate_download_url'],
127
137
  'privateKeyDownloadUrl': json['private_key_download_url'],
128
138
  'managed': json['managed'],
@@ -133,7 +143,7 @@ export function CertificateKeyPairToJSON(json: any): CertificateKeyPair {
133
143
  return CertificateKeyPairToJSONTyped(json, false);
134
144
  }
135
145
 
136
- export function CertificateKeyPairToJSONTyped(value?: Omit<CertificateKeyPair, 'pk'|'fingerprint_sha256'|'fingerprint_sha1'|'cert_expiry'|'cert_subject'|'private_key_available'|'private_key_type'|'certificate_download_url'|'private_key_download_url'|'managed'> | null, ignoreDiscriminator: boolean = false): any {
146
+ export function CertificateKeyPairToJSONTyped(value?: Omit<CertificateKeyPair, 'pk'|'fingerprint_sha256'|'fingerprint_sha1'|'cert_expiry'|'cert_subject'|'private_key_available'|'key_type'|'certificate_download_url'|'private_key_download_url'|'managed'> | null, ignoreDiscriminator: boolean = false): any {
137
147
  if (value == null) {
138
148
  return value;
139
149
  }
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.12.0-rc1
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const KeyTypeEnum = {
21
+ Rsa: 'rsa',
22
+ Ec: 'ec',
23
+ Dsa: 'dsa',
24
+ Ed25519: 'ed25519',
25
+ Ed448: 'ed448',
26
+ UnknownDefaultOpenApi: '11184809'
27
+ } as const;
28
+ export type KeyTypeEnum = typeof KeyTypeEnum[keyof typeof KeyTypeEnum];
29
+
30
+
31
+ export function instanceOfKeyTypeEnum(value: any): boolean {
32
+ for (const key in KeyTypeEnum) {
33
+ if (Object.prototype.hasOwnProperty.call(KeyTypeEnum, key)) {
34
+ if (KeyTypeEnum[key as keyof typeof KeyTypeEnum] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+
42
+ export function KeyTypeEnumFromJSON(json: any): KeyTypeEnum {
43
+ return KeyTypeEnumFromJSONTyped(json, false);
44
+ }
45
+
46
+ export function KeyTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyTypeEnum {
47
+ return json as KeyTypeEnum;
48
+ }
49
+
50
+ export function KeyTypeEnumToJSON(value?: KeyTypeEnum | null): any {
51
+ return value as any;
52
+ }
53
+
54
+ export function KeyTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): KeyTypeEnum {
55
+ return value as KeyTypeEnum;
56
+ }
57
+
@@ -217,6 +217,7 @@ export * from './KerberosSource';
217
217
  export * from './KerberosSourcePropertyMapping';
218
218
  export * from './KerberosSourcePropertyMappingRequest';
219
219
  export * from './KerberosSourceRequest';
220
+ export * from './KeyTypeEnum';
220
221
  export * from './KubernetesServiceConnection';
221
222
  export * from './KubernetesServiceConnectionRequest';
222
223
  export * from './LDAPAPIAccessMode';