@goauthentik/api 2021.9.7-1633788214 → 2021.9.7-1633802899
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 +6 -0
- package/dist/esm/models/CertificateKeyPair.js +3 -0
- package/dist/esm/models/CertificateKeyPairRequest.d.ts +6 -0
- package/dist/esm/models/CertificateKeyPairRequest.js +2 -0
- package/dist/esm/models/PatchedCertificateKeyPairRequest.d.ts +6 -0
- package/dist/esm/models/PatchedCertificateKeyPairRequest.js +2 -0
- package/dist/models/CertificateKeyPair.d.ts +6 -0
- package/dist/models/CertificateKeyPair.js +3 -0
- package/dist/models/CertificateKeyPairRequest.d.ts +6 -0
- package/dist/models/CertificateKeyPairRequest.js +2 -0
- package/dist/models/PatchedCertificateKeyPairRequest.d.ts +6 -0
- package/dist/models/PatchedCertificateKeyPairRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/CryptoApi.ts +5 -0
- package/src/models/CertificateKeyPair.ts +8 -0
- package/src/models/CertificateKeyPairRequest.ts +8 -0
- package/src/models/PatchedCertificateKeyPairRequest.ts +8 -0
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.managed !== undefined) {
|
|
138
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
139
|
+
}
|
|
137
140
|
if (requestParameters.name !== undefined) {
|
|
138
141
|
queryParameters['name'] = requestParameters.name;
|
|
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.managed !== undefined) {
|
|
135
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
136
|
+
}
|
|
134
137
|
if (requestParameters.name !== undefined) {
|
|
135
138
|
queryParameters['name'] = requestParameters.name;
|
|
136
139
|
}
|
|
@@ -69,6 +69,12 @@ export interface CertificateKeyPair {
|
|
|
69
69
|
* @memberof CertificateKeyPair
|
|
70
70
|
*/
|
|
71
71
|
readonly privateKeyDownloadUrl: string;
|
|
72
|
+
/**
|
|
73
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CertificateKeyPair
|
|
76
|
+
*/
|
|
77
|
+
managed?: string | null;
|
|
72
78
|
}
|
|
73
79
|
export declare function CertificateKeyPairFromJSON(json: any): CertificateKeyPair;
|
|
74
80
|
export declare function CertificateKeyPairFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateKeyPair;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
export function CertificateKeyPairFromJSON(json) {
|
|
15
16
|
return CertificateKeyPairFromJSONTyped(json, false);
|
|
16
17
|
}
|
|
@@ -28,6 +29,7 @@ export function CertificateKeyPairFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
29
|
'privateKeyAvailable': json['private_key_available'],
|
|
29
30
|
'certificateDownloadUrl': json['certificate_download_url'],
|
|
30
31
|
'privateKeyDownloadUrl': json['private_key_download_url'],
|
|
32
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
export function CertificateKeyPairToJSON(value) {
|
|
@@ -39,5 +41,6 @@ export function CertificateKeyPairToJSON(value) {
|
|
|
39
41
|
}
|
|
40
42
|
return {
|
|
41
43
|
'name': value.name,
|
|
44
|
+
'managed': value.managed,
|
|
42
45
|
};
|
|
43
46
|
}
|
|
@@ -33,6 +33,12 @@ export interface CertificateKeyPairRequest {
|
|
|
33
33
|
* @memberof CertificateKeyPairRequest
|
|
34
34
|
*/
|
|
35
35
|
keyData?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CertificateKeyPairRequest
|
|
40
|
+
*/
|
|
41
|
+
managed?: string | null;
|
|
36
42
|
}
|
|
37
43
|
export declare function CertificateKeyPairRequestFromJSON(json: any): CertificateKeyPairRequest;
|
|
38
44
|
export declare function CertificateKeyPairRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateKeyPairRequest;
|
|
@@ -23,6 +23,7 @@ export function CertificateKeyPairRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
23
23
|
'name': json['name'],
|
|
24
24
|
'certificateData': json['certificate_data'],
|
|
25
25
|
'keyData': !exists(json, 'key_data') ? undefined : json['key_data'],
|
|
26
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
export function CertificateKeyPairRequestToJSON(value) {
|
|
@@ -36,5 +37,6 @@ export function CertificateKeyPairRequestToJSON(value) {
|
|
|
36
37
|
'name': value.name,
|
|
37
38
|
'certificate_data': value.certificateData,
|
|
38
39
|
'key_data': value.keyData,
|
|
40
|
+
'managed': value.managed,
|
|
39
41
|
};
|
|
40
42
|
}
|
|
@@ -33,6 +33,12 @@ export interface PatchedCertificateKeyPairRequest {
|
|
|
33
33
|
* @memberof PatchedCertificateKeyPairRequest
|
|
34
34
|
*/
|
|
35
35
|
keyData?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchedCertificateKeyPairRequest
|
|
40
|
+
*/
|
|
41
|
+
managed?: string | null;
|
|
36
42
|
}
|
|
37
43
|
export declare function PatchedCertificateKeyPairRequestFromJSON(json: any): PatchedCertificateKeyPairRequest;
|
|
38
44
|
export declare function PatchedCertificateKeyPairRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedCertificateKeyPairRequest;
|
|
@@ -23,6 +23,7 @@ export function PatchedCertificateKeyPairRequestFromJSONTyped(json, ignoreDiscri
|
|
|
23
23
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
24
24
|
'certificateData': !exists(json, 'certificate_data') ? undefined : json['certificate_data'],
|
|
25
25
|
'keyData': !exists(json, 'key_data') ? undefined : json['key_data'],
|
|
26
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
export function PatchedCertificateKeyPairRequestToJSON(value) {
|
|
@@ -36,5 +37,6 @@ export function PatchedCertificateKeyPairRequestToJSON(value) {
|
|
|
36
37
|
'name': value.name,
|
|
37
38
|
'certificate_data': value.certificateData,
|
|
38
39
|
'key_data': value.keyData,
|
|
40
|
+
'managed': value.managed,
|
|
39
41
|
};
|
|
40
42
|
}
|
|
@@ -69,6 +69,12 @@ export interface CertificateKeyPair {
|
|
|
69
69
|
* @memberof CertificateKeyPair
|
|
70
70
|
*/
|
|
71
71
|
readonly privateKeyDownloadUrl: string;
|
|
72
|
+
/**
|
|
73
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CertificateKeyPair
|
|
76
|
+
*/
|
|
77
|
+
managed?: string | null;
|
|
72
78
|
}
|
|
73
79
|
export declare function CertificateKeyPairFromJSON(json: any): CertificateKeyPair;
|
|
74
80
|
export declare function CertificateKeyPairFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateKeyPair;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CertificateKeyPairToJSON = exports.CertificateKeyPairFromJSONTyped = exports.CertificateKeyPairFromJSON = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
function CertificateKeyPairFromJSON(json) {
|
|
18
19
|
return CertificateKeyPairFromJSONTyped(json, false);
|
|
19
20
|
}
|
|
@@ -32,6 +33,7 @@ function CertificateKeyPairFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
'privateKeyAvailable': json['private_key_available'],
|
|
33
34
|
'certificateDownloadUrl': json['certificate_download_url'],
|
|
34
35
|
'privateKeyDownloadUrl': json['private_key_download_url'],
|
|
36
|
+
'managed': !runtime_1.exists(json, 'managed') ? undefined : json['managed'],
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
exports.CertificateKeyPairFromJSONTyped = CertificateKeyPairFromJSONTyped;
|
|
@@ -44,6 +46,7 @@ function CertificateKeyPairToJSON(value) {
|
|
|
44
46
|
}
|
|
45
47
|
return {
|
|
46
48
|
'name': value.name,
|
|
49
|
+
'managed': value.managed,
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
exports.CertificateKeyPairToJSON = CertificateKeyPairToJSON;
|
|
@@ -33,6 +33,12 @@ export interface CertificateKeyPairRequest {
|
|
|
33
33
|
* @memberof CertificateKeyPairRequest
|
|
34
34
|
*/
|
|
35
35
|
keyData?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CertificateKeyPairRequest
|
|
40
|
+
*/
|
|
41
|
+
managed?: string | null;
|
|
36
42
|
}
|
|
37
43
|
export declare function CertificateKeyPairRequestFromJSON(json: any): CertificateKeyPairRequest;
|
|
38
44
|
export declare function CertificateKeyPairRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateKeyPairRequest;
|
|
@@ -27,6 +27,7 @@ function CertificateKeyPairRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'name': json['name'],
|
|
28
28
|
'certificateData': json['certificate_data'],
|
|
29
29
|
'keyData': !runtime_1.exists(json, 'key_data') ? undefined : json['key_data'],
|
|
30
|
+
'managed': !runtime_1.exists(json, 'managed') ? undefined : json['managed'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
exports.CertificateKeyPairRequestFromJSONTyped = CertificateKeyPairRequestFromJSONTyped;
|
|
@@ -41,6 +42,7 @@ function CertificateKeyPairRequestToJSON(value) {
|
|
|
41
42
|
'name': value.name,
|
|
42
43
|
'certificate_data': value.certificateData,
|
|
43
44
|
'key_data': value.keyData,
|
|
45
|
+
'managed': value.managed,
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
exports.CertificateKeyPairRequestToJSON = CertificateKeyPairRequestToJSON;
|
|
@@ -33,6 +33,12 @@ export interface PatchedCertificateKeyPairRequest {
|
|
|
33
33
|
* @memberof PatchedCertificateKeyPairRequest
|
|
34
34
|
*/
|
|
35
35
|
keyData?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchedCertificateKeyPairRequest
|
|
40
|
+
*/
|
|
41
|
+
managed?: string | null;
|
|
36
42
|
}
|
|
37
43
|
export declare function PatchedCertificateKeyPairRequestFromJSON(json: any): PatchedCertificateKeyPairRequest;
|
|
38
44
|
export declare function PatchedCertificateKeyPairRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedCertificateKeyPairRequest;
|
|
@@ -27,6 +27,7 @@ function PatchedCertificateKeyPairRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
27
27
|
'name': !runtime_1.exists(json, 'name') ? undefined : json['name'],
|
|
28
28
|
'certificateData': !runtime_1.exists(json, 'certificate_data') ? undefined : json['certificate_data'],
|
|
29
29
|
'keyData': !runtime_1.exists(json, 'key_data') ? undefined : json['key_data'],
|
|
30
|
+
'managed': !runtime_1.exists(json, 'managed') ? undefined : json['managed'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
exports.PatchedCertificateKeyPairRequestFromJSONTyped = PatchedCertificateKeyPairRequestFromJSONTyped;
|
|
@@ -41,6 +42,7 @@ function PatchedCertificateKeyPairRequestToJSON(value) {
|
|
|
41
42
|
'name': value.name,
|
|
42
43
|
'certificate_data': value.certificateData,
|
|
43
44
|
'key_data': value.keyData,
|
|
45
|
+
'managed': value.managed,
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
exports.PatchedCertificateKeyPairRequestToJSON = PatchedCertificateKeyPairRequestToJSON;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@goauthentik/api", "version": "2021.9.7-
|
|
1
|
+
{"name": "@goauthentik/api", "version": "2021.9.7-1633802899", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only", "module": "./dist/esm/index.js", "sideEffects": false}
|
package/src/apis/CryptoApi.ts
CHANGED
|
@@ -52,6 +52,7 @@ export interface CryptoCertificatekeypairsGenerateCreateRequest {
|
|
|
52
52
|
|
|
53
53
|
export interface CryptoCertificatekeypairsListRequest {
|
|
54
54
|
hasKey?: boolean;
|
|
55
|
+
managed?: string;
|
|
55
56
|
name?: string;
|
|
56
57
|
ordering?: string;
|
|
57
58
|
page?: number;
|
|
@@ -209,6 +210,10 @@ export class CryptoApi extends runtime.BaseAPI {
|
|
|
209
210
|
queryParameters['has_key'] = requestParameters.hasKey;
|
|
210
211
|
}
|
|
211
212
|
|
|
213
|
+
if (requestParameters.managed !== undefined) {
|
|
214
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
215
|
+
}
|
|
216
|
+
|
|
212
217
|
if (requestParameters.name !== undefined) {
|
|
213
218
|
queryParameters['name'] = requestParameters.name;
|
|
214
219
|
}
|
|
@@ -73,6 +73,12 @@ export interface CertificateKeyPair {
|
|
|
73
73
|
* @memberof CertificateKeyPair
|
|
74
74
|
*/
|
|
75
75
|
readonly privateKeyDownloadUrl: string;
|
|
76
|
+
/**
|
|
77
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof CertificateKeyPair
|
|
80
|
+
*/
|
|
81
|
+
managed?: string | null;
|
|
76
82
|
}
|
|
77
83
|
|
|
78
84
|
export function CertificateKeyPairFromJSON(json: any): CertificateKeyPair {
|
|
@@ -94,6 +100,7 @@ export function CertificateKeyPairFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
94
100
|
'privateKeyAvailable': json['private_key_available'],
|
|
95
101
|
'certificateDownloadUrl': json['certificate_download_url'],
|
|
96
102
|
'privateKeyDownloadUrl': json['private_key_download_url'],
|
|
103
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
97
104
|
};
|
|
98
105
|
}
|
|
99
106
|
|
|
@@ -107,6 +114,7 @@ export function CertificateKeyPairToJSON(value?: CertificateKeyPair | null): any
|
|
|
107
114
|
return {
|
|
108
115
|
|
|
109
116
|
'name': value.name,
|
|
117
|
+
'managed': value.managed,
|
|
110
118
|
};
|
|
111
119
|
}
|
|
112
120
|
|
|
@@ -37,6 +37,12 @@ export interface CertificateKeyPairRequest {
|
|
|
37
37
|
* @memberof CertificateKeyPairRequest
|
|
38
38
|
*/
|
|
39
39
|
keyData?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CertificateKeyPairRequest
|
|
44
|
+
*/
|
|
45
|
+
managed?: string | null;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
export function CertificateKeyPairRequestFromJSON(json: any): CertificateKeyPairRequest {
|
|
@@ -52,6 +58,7 @@ export function CertificateKeyPairRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
52
58
|
'name': json['name'],
|
|
53
59
|
'certificateData': json['certificate_data'],
|
|
54
60
|
'keyData': !exists(json, 'key_data') ? undefined : json['key_data'],
|
|
61
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
55
62
|
};
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -67,6 +74,7 @@ export function CertificateKeyPairRequestToJSON(value?: CertificateKeyPairReques
|
|
|
67
74
|
'name': value.name,
|
|
68
75
|
'certificate_data': value.certificateData,
|
|
69
76
|
'key_data': value.keyData,
|
|
77
|
+
'managed': value.managed,
|
|
70
78
|
};
|
|
71
79
|
}
|
|
72
80
|
|
|
@@ -37,6 +37,12 @@ export interface PatchedCertificateKeyPairRequest {
|
|
|
37
37
|
* @memberof PatchedCertificateKeyPairRequest
|
|
38
38
|
*/
|
|
39
39
|
keyData?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PatchedCertificateKeyPairRequest
|
|
44
|
+
*/
|
|
45
|
+
managed?: string | null;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
export function PatchedCertificateKeyPairRequestFromJSON(json: any): PatchedCertificateKeyPairRequest {
|
|
@@ -52,6 +58,7 @@ export function PatchedCertificateKeyPairRequestFromJSONTyped(json: any, ignoreD
|
|
|
52
58
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
53
59
|
'certificateData': !exists(json, 'certificate_data') ? undefined : json['certificate_data'],
|
|
54
60
|
'keyData': !exists(json, 'key_data') ? undefined : json['key_data'],
|
|
61
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
55
62
|
};
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -67,6 +74,7 @@ export function PatchedCertificateKeyPairRequestToJSON(value?: PatchedCertificat
|
|
|
67
74
|
'name': value.name,
|
|
68
75
|
'certificate_data': value.certificateData,
|
|
69
76
|
'key_data': value.keyData,
|
|
77
|
+
'managed': value.managed,
|
|
70
78
|
};
|
|
71
79
|
}
|
|
72
80
|
|