@goauthentik/api 2022.9.0-1663948730 → 2022.9.0-1665393071
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/apis/CryptoApi.d.ts +1 -0
- package/dist/apis/CryptoApi.js +3 -0
- package/dist/esm/apis/CryptoApi.d.ts +1 -0
- package/dist/esm/apis/CryptoApi.js +3 -0
- package/dist/esm/models/CertificateKeyPair.d.ts +4 -4
- package/dist/esm/models/CertificateKeyPair.js +1 -1
- package/dist/esm/models/ProviderTypeEnum.d.ts +1 -0
- package/dist/esm/models/ProviderTypeEnum.js +2 -1
- package/dist/models/CertificateKeyPair.d.ts +4 -4
- package/dist/models/CertificateKeyPair.js +1 -1
- package/dist/models/ProviderTypeEnum.d.ts +1 -0
- package/dist/models/ProviderTypeEnum.js +2 -1
- package/package.json +1 -1
- package/src/apis/CryptoApi.ts +5 -0
- package/src/models/CertificateKeyPair.ts +5 -5
- package/src/models/ProviderTypeEnum.ts +2 -1
package/dist/apis/CryptoApi.d.ts
CHANGED
package/dist/apis/CryptoApi.js
CHANGED
|
@@ -134,6 +134,9 @@ class CryptoApi extends runtime.BaseAPI {
|
|
|
134
134
|
if (requestParameters.hasKey !== undefined) {
|
|
135
135
|
queryParameters['has_key'] = requestParameters.hasKey;
|
|
136
136
|
}
|
|
137
|
+
if (requestParameters.includeDetails !== undefined) {
|
|
138
|
+
queryParameters['include_details'] = requestParameters.includeDetails;
|
|
139
|
+
}
|
|
137
140
|
if (requestParameters.managed !== undefined) {
|
|
138
141
|
queryParameters['managed'] = requestParameters.managed;
|
|
139
142
|
}
|
|
@@ -131,6 +131,9 @@ export class CryptoApi extends runtime.BaseAPI {
|
|
|
131
131
|
if (requestParameters.hasKey !== undefined) {
|
|
132
132
|
queryParameters['has_key'] = requestParameters.hasKey;
|
|
133
133
|
}
|
|
134
|
+
if (requestParameters.includeDetails !== undefined) {
|
|
135
|
+
queryParameters['include_details'] = requestParameters.includeDetails;
|
|
136
|
+
}
|
|
134
137
|
if (requestParameters.managed !== undefined) {
|
|
135
138
|
queryParameters['managed'] = requestParameters.managed;
|
|
136
139
|
}
|
|
@@ -32,25 +32,25 @@ export interface CertificateKeyPair {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CertificateKeyPair
|
|
34
34
|
*/
|
|
35
|
-
readonly fingerprintSha256: string;
|
|
35
|
+
readonly fingerprintSha256: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CertificateKeyPair
|
|
40
40
|
*/
|
|
41
|
-
readonly fingerprintSha1: string;
|
|
41
|
+
readonly fingerprintSha1: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {Date}
|
|
45
45
|
* @memberof CertificateKeyPair
|
|
46
46
|
*/
|
|
47
|
-
readonly certExpiry: Date;
|
|
47
|
+
readonly certExpiry: Date | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CertificateKeyPair
|
|
52
52
|
*/
|
|
53
|
-
readonly certSubject: string;
|
|
53
|
+
readonly certSubject: string | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {boolean}
|
|
@@ -24,7 +24,7 @@ export function CertificateKeyPairFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'name': json['name'],
|
|
25
25
|
'fingerprintSha256': json['fingerprint_sha256'],
|
|
26
26
|
'fingerprintSha1': json['fingerprint_sha1'],
|
|
27
|
-
'certExpiry': (new Date(json['cert_expiry'])),
|
|
27
|
+
'certExpiry': (json['cert_expiry'] === null ? null : new Date(json['cert_expiry'])),
|
|
28
28
|
'certSubject': json['cert_subject'],
|
|
29
29
|
'privateKeyAvailable': json['private_key_available'],
|
|
30
30
|
'privateKeyType': json['private_key_type'],
|
|
@@ -25,6 +25,7 @@ export declare const ProviderTypeEnum: {
|
|
|
25
25
|
readonly Reddit: "reddit";
|
|
26
26
|
readonly Twitter: "twitter";
|
|
27
27
|
readonly Mailcow: "mailcow";
|
|
28
|
+
readonly Twitch: "twitch";
|
|
28
29
|
};
|
|
29
30
|
export declare type ProviderTypeEnum = typeof ProviderTypeEnum[keyof typeof ProviderTypeEnum];
|
|
30
31
|
export declare function ProviderTypeEnumFromJSON(json: any): ProviderTypeEnum;
|
|
@@ -26,7 +26,8 @@ export const ProviderTypeEnum = {
|
|
|
26
26
|
Okta: 'okta',
|
|
27
27
|
Reddit: 'reddit',
|
|
28
28
|
Twitter: 'twitter',
|
|
29
|
-
Mailcow: 'mailcow'
|
|
29
|
+
Mailcow: 'mailcow',
|
|
30
|
+
Twitch: 'twitch'
|
|
30
31
|
};
|
|
31
32
|
export function ProviderTypeEnumFromJSON(json) {
|
|
32
33
|
return ProviderTypeEnumFromJSONTyped(json, false);
|
|
@@ -32,25 +32,25 @@ export interface CertificateKeyPair {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CertificateKeyPair
|
|
34
34
|
*/
|
|
35
|
-
readonly fingerprintSha256: string;
|
|
35
|
+
readonly fingerprintSha256: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CertificateKeyPair
|
|
40
40
|
*/
|
|
41
|
-
readonly fingerprintSha1: string;
|
|
41
|
+
readonly fingerprintSha1: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {Date}
|
|
45
45
|
* @memberof CertificateKeyPair
|
|
46
46
|
*/
|
|
47
|
-
readonly certExpiry: Date;
|
|
47
|
+
readonly certExpiry: Date | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CertificateKeyPair
|
|
52
52
|
*/
|
|
53
|
-
readonly certSubject: string;
|
|
53
|
+
readonly certSubject: string | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {boolean}
|
|
@@ -28,7 +28,7 @@ function CertificateKeyPairFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'name': json['name'],
|
|
29
29
|
'fingerprintSha256': json['fingerprint_sha256'],
|
|
30
30
|
'fingerprintSha1': json['fingerprint_sha1'],
|
|
31
|
-
'certExpiry': (new Date(json['cert_expiry'])),
|
|
31
|
+
'certExpiry': (json['cert_expiry'] === null ? null : new Date(json['cert_expiry'])),
|
|
32
32
|
'certSubject': json['cert_subject'],
|
|
33
33
|
'privateKeyAvailable': json['private_key_available'],
|
|
34
34
|
'privateKeyType': json['private_key_type'],
|
|
@@ -25,6 +25,7 @@ export declare const ProviderTypeEnum: {
|
|
|
25
25
|
readonly Reddit: "reddit";
|
|
26
26
|
readonly Twitter: "twitter";
|
|
27
27
|
readonly Mailcow: "mailcow";
|
|
28
|
+
readonly Twitch: "twitch";
|
|
28
29
|
};
|
|
29
30
|
export declare type ProviderTypeEnum = typeof ProviderTypeEnum[keyof typeof ProviderTypeEnum];
|
|
30
31
|
export declare function ProviderTypeEnumFromJSON(json: any): ProviderTypeEnum;
|
|
@@ -29,7 +29,8 @@ exports.ProviderTypeEnum = {
|
|
|
29
29
|
Okta: 'okta',
|
|
30
30
|
Reddit: 'reddit',
|
|
31
31
|
Twitter: 'twitter',
|
|
32
|
-
Mailcow: 'mailcow'
|
|
32
|
+
Mailcow: 'mailcow',
|
|
33
|
+
Twitch: 'twitch'
|
|
33
34
|
};
|
|
34
35
|
function ProviderTypeEnumFromJSON(json) {
|
|
35
36
|
return ProviderTypeEnumFromJSONTyped(json, false);
|
package/package.json
CHANGED
package/src/apis/CryptoApi.ts
CHANGED
|
@@ -58,6 +58,7 @@ export interface CryptoCertificatekeypairsGenerateCreateRequest {
|
|
|
58
58
|
|
|
59
59
|
export interface CryptoCertificatekeypairsListRequest {
|
|
60
60
|
hasKey?: boolean;
|
|
61
|
+
includeDetails?: boolean;
|
|
61
62
|
managed?: string;
|
|
62
63
|
name?: string;
|
|
63
64
|
ordering?: string;
|
|
@@ -216,6 +217,10 @@ export class CryptoApi extends runtime.BaseAPI {
|
|
|
216
217
|
queryParameters['has_key'] = requestParameters.hasKey;
|
|
217
218
|
}
|
|
218
219
|
|
|
220
|
+
if (requestParameters.includeDetails !== undefined) {
|
|
221
|
+
queryParameters['include_details'] = requestParameters.includeDetails;
|
|
222
|
+
}
|
|
223
|
+
|
|
219
224
|
if (requestParameters.managed !== undefined) {
|
|
220
225
|
queryParameters['managed'] = requestParameters.managed;
|
|
221
226
|
}
|
|
@@ -36,25 +36,25 @@ export interface CertificateKeyPair {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof CertificateKeyPair
|
|
38
38
|
*/
|
|
39
|
-
readonly fingerprintSha256: string;
|
|
39
|
+
readonly fingerprintSha256: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof CertificateKeyPair
|
|
44
44
|
*/
|
|
45
|
-
readonly fingerprintSha1: string;
|
|
45
|
+
readonly fingerprintSha1: string | null;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {Date}
|
|
49
49
|
* @memberof CertificateKeyPair
|
|
50
50
|
*/
|
|
51
|
-
readonly certExpiry: Date;
|
|
51
|
+
readonly certExpiry: Date | null;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof CertificateKeyPair
|
|
56
56
|
*/
|
|
57
|
-
readonly certSubject: string;
|
|
57
|
+
readonly certSubject: string | null;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {boolean}
|
|
@@ -101,7 +101,7 @@ export function CertificateKeyPairFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
101
101
|
'name': json['name'],
|
|
102
102
|
'fingerprintSha256': json['fingerprint_sha256'],
|
|
103
103
|
'fingerprintSha1': json['fingerprint_sha1'],
|
|
104
|
-
'certExpiry': (new Date(json['cert_expiry'])),
|
|
104
|
+
'certExpiry': (json['cert_expiry'] === null ? null : new Date(json['cert_expiry'])),
|
|
105
105
|
'certSubject': json['cert_subject'],
|
|
106
106
|
'privateKeyAvailable': json['private_key_available'],
|
|
107
107
|
'privateKeyType': json['private_key_type'],
|
|
@@ -28,7 +28,8 @@ export const ProviderTypeEnum = {
|
|
|
28
28
|
Okta: 'okta',
|
|
29
29
|
Reddit: 'reddit',
|
|
30
30
|
Twitter: 'twitter',
|
|
31
|
-
Mailcow: 'mailcow'
|
|
31
|
+
Mailcow: 'mailcow',
|
|
32
|
+
Twitch: 'twitch'
|
|
32
33
|
} as const;
|
|
33
34
|
export type ProviderTypeEnum = typeof ProviderTypeEnum[keyof typeof ProviderTypeEnum];
|
|
34
35
|
|