@goauthentik/api 2025.4.1-1747332783 → 2025.4.1-1747687715
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/.openapi-generator/FILES +7 -0
- package/dist/apis/CoreApi.d.ts +1 -0
- package/dist/apis/CoreApi.js +3 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/StagesApi.d.ts +117 -1
- package/dist/apis/StagesApi.js +306 -1
- package/dist/esm/apis/CoreApi.d.ts +1 -0
- package/dist/esm/apis/CoreApi.js +3 -0
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/StagesApi.d.ts +117 -1
- package/dist/esm/apis/StagesApi.js +306 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/Brand.d.ts +6 -0
- package/dist/esm/models/Brand.js +2 -0
- package/dist/esm/models/BrandRequest.d.ts +6 -0
- package/dist/esm/models/BrandRequest.js +2 -0
- package/dist/esm/models/CertAttributeEnum.d.ts +27 -0
- package/dist/esm/models/CertAttributeEnum.js +45 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/MutualTLSStage.d.ts +96 -0
- package/dist/esm/models/MutualTLSStage.js +78 -0
- package/dist/esm/models/MutualTLSStageModeEnum.d.ts +26 -0
- package/dist/esm/models/MutualTLSStageModeEnum.js +44 -0
- package/dist/esm/models/MutualTLSStageRequest.d.ts +66 -0
- package/dist/esm/models/MutualTLSStageRequest.js +63 -0
- package/dist/esm/models/PaginatedMutualTLSStageList.d.ts +40 -0
- package/dist/esm/models/PaginatedMutualTLSStageList.js +49 -0
- package/dist/esm/models/PatchedBrandRequest.d.ts +6 -0
- package/dist/esm/models/PatchedBrandRequest.js +2 -0
- package/dist/esm/models/PatchedMutualTLSStageRequest.d.ts +66 -0
- package/dist/esm/models/PatchedMutualTLSStageRequest.js +55 -0
- package/dist/esm/models/UserAttributeEnum.d.ts +26 -0
- package/dist/esm/models/UserAttributeEnum.js +44 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/Brand.d.ts +6 -0
- package/dist/models/Brand.js +2 -0
- package/dist/models/BrandRequest.d.ts +6 -0
- package/dist/models/BrandRequest.js +2 -0
- package/dist/models/CertAttributeEnum.d.ts +27 -0
- package/dist/models/CertAttributeEnum.js +53 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/MutualTLSStage.d.ts +96 -0
- package/dist/models/MutualTLSStage.js +85 -0
- package/dist/models/MutualTLSStageModeEnum.d.ts +26 -0
- package/dist/models/MutualTLSStageModeEnum.js +52 -0
- package/dist/models/MutualTLSStageRequest.d.ts +66 -0
- package/dist/models/MutualTLSStageRequest.js +70 -0
- package/dist/models/PaginatedMutualTLSStageList.d.ts +40 -0
- package/dist/models/PaginatedMutualTLSStageList.js +56 -0
- package/dist/models/PatchedBrandRequest.d.ts +6 -0
- package/dist/models/PatchedBrandRequest.js +2 -0
- package/dist/models/PatchedMutualTLSStageRequest.d.ts +66 -0
- package/dist/models/PatchedMutualTLSStageRequest.js +62 -0
- package/dist/models/UserAttributeEnum.d.ts +26 -0
- package/dist/models/UserAttributeEnum.js +52 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +5 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/StagesApi.ts +414 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/Brand.ts +8 -0
- package/src/models/BrandRequest.ts +8 -0
- package/src/models/CertAttributeEnum.ts +55 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/MutualTLSStage.ts +180 -0
- package/src/models/MutualTLSStageModeEnum.ts +54 -0
- package/src/models/MutualTLSStageRequest.ts +140 -0
- package/src/models/PaginatedMutualTLSStageList.ts +90 -0
- package/src/models/PatchedBrandRequest.ts +8 -0
- package/src/models/PatchedMutualTLSStageRequest.ts +136 -0
- package/src/models/UserAttributeEnum.ts +54 -0
- package/src/models/index.ts +7 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfMutualTLSStageRequest = instanceOfMutualTLSStageRequest;
|
|
17
|
+
exports.MutualTLSStageRequestFromJSON = MutualTLSStageRequestFromJSON;
|
|
18
|
+
exports.MutualTLSStageRequestFromJSONTyped = MutualTLSStageRequestFromJSONTyped;
|
|
19
|
+
exports.MutualTLSStageRequestToJSON = MutualTLSStageRequestToJSON;
|
|
20
|
+
exports.MutualTLSStageRequestToJSONTyped = MutualTLSStageRequestToJSONTyped;
|
|
21
|
+
const MutualTLSStageModeEnum_1 = require("./MutualTLSStageModeEnum");
|
|
22
|
+
const CertAttributeEnum_1 = require("./CertAttributeEnum");
|
|
23
|
+
const UserAttributeEnum_1 = require("./UserAttributeEnum");
|
|
24
|
+
const FlowSetRequest_1 = require("./FlowSetRequest");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the MutualTLSStageRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfMutualTLSStageRequest(value) {
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('certAttribute' in value) || value['certAttribute'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('userAttribute' in value) || value['userAttribute'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function MutualTLSStageRequestFromJSON(json) {
|
|
40
|
+
return MutualTLSStageRequestFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function MutualTLSStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
|
|
49
|
+
'mode': (0, MutualTLSStageModeEnum_1.MutualTLSStageModeEnumFromJSON)(json['mode']),
|
|
50
|
+
'certificateAuthorities': json['certificate_authorities'] == null ? undefined : json['certificate_authorities'],
|
|
51
|
+
'certAttribute': (0, CertAttributeEnum_1.CertAttributeEnumFromJSON)(json['cert_attribute']),
|
|
52
|
+
'userAttribute': (0, UserAttributeEnum_1.UserAttributeEnumFromJSON)(json['user_attribute']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function MutualTLSStageRequestToJSON(json) {
|
|
56
|
+
return MutualTLSStageRequestToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function MutualTLSStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSetRequest_1.FlowSetRequestToJSON)),
|
|
65
|
+
'mode': (0, MutualTLSStageModeEnum_1.MutualTLSStageModeEnumToJSON)(value['mode']),
|
|
66
|
+
'certificate_authorities': value['certificateAuthorities'],
|
|
67
|
+
'cert_attribute': (0, CertAttributeEnum_1.CertAttributeEnumToJSON)(value['certAttribute']),
|
|
68
|
+
'user_attribute': (0, UserAttributeEnum_1.UserAttributeEnumToJSON)(value['userAttribute']),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { MutualTLSStage } from './MutualTLSStage';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedMutualTLSStageList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedMutualTLSStageList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedMutualTLSStageList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<MutualTLSStage>}
|
|
29
|
+
* @memberof PaginatedMutualTLSStageList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<MutualTLSStage>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedMutualTLSStageList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedMutualTLSStageList(value: object): value is PaginatedMutualTLSStageList;
|
|
37
|
+
export declare function PaginatedMutualTLSStageListFromJSON(json: any): PaginatedMutualTLSStageList;
|
|
38
|
+
export declare function PaginatedMutualTLSStageListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedMutualTLSStageList;
|
|
39
|
+
export declare function PaginatedMutualTLSStageListToJSON(json: any): PaginatedMutualTLSStageList;
|
|
40
|
+
export declare function PaginatedMutualTLSStageListToJSONTyped(value?: PaginatedMutualTLSStageList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPaginatedMutualTLSStageList = instanceOfPaginatedMutualTLSStageList;
|
|
17
|
+
exports.PaginatedMutualTLSStageListFromJSON = PaginatedMutualTLSStageListFromJSON;
|
|
18
|
+
exports.PaginatedMutualTLSStageListFromJSONTyped = PaginatedMutualTLSStageListFromJSONTyped;
|
|
19
|
+
exports.PaginatedMutualTLSStageListToJSON = PaginatedMutualTLSStageListToJSON;
|
|
20
|
+
exports.PaginatedMutualTLSStageListToJSONTyped = PaginatedMutualTLSStageListToJSONTyped;
|
|
21
|
+
const Pagination_1 = require("./Pagination");
|
|
22
|
+
const MutualTLSStage_1 = require("./MutualTLSStage");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedMutualTLSStageList interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedMutualTLSStageList(value) {
|
|
27
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedMutualTLSStageListFromJSON(json) {
|
|
34
|
+
return PaginatedMutualTLSStageListFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedMutualTLSStageListFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
|
42
|
+
'results': (json['results'].map(MutualTLSStage_1.MutualTLSStageFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedMutualTLSStageListToJSON(json) {
|
|
46
|
+
return PaginatedMutualTLSStageListToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedMutualTLSStageListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value['pagination']),
|
|
54
|
+
'results': (value['results'].map(MutualTLSStage_1.MutualTLSStageToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -105,6 +105,12 @@ export interface PatchedBrandRequest {
|
|
|
105
105
|
* @memberof PatchedBrandRequest
|
|
106
106
|
*/
|
|
107
107
|
webCertificate?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* Certificates used for client authentication.
|
|
110
|
+
* @type {Array<string>}
|
|
111
|
+
* @memberof PatchedBrandRequest
|
|
112
|
+
*/
|
|
113
|
+
clientCertificates?: Array<string>;
|
|
108
114
|
/**
|
|
109
115
|
*
|
|
110
116
|
* @type {any}
|
|
@@ -47,6 +47,7 @@ function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'flowDeviceCode': json['flow_device_code'] == null ? undefined : json['flow_device_code'],
|
|
48
48
|
'defaultApplication': json['default_application'] == null ? undefined : json['default_application'],
|
|
49
49
|
'webCertificate': json['web_certificate'] == null ? undefined : json['web_certificate'],
|
|
50
|
+
'clientCertificates': json['client_certificates'] == null ? undefined : json['client_certificates'],
|
|
50
51
|
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
51
52
|
};
|
|
52
53
|
}
|
|
@@ -73,6 +74,7 @@ function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
73
74
|
'flow_device_code': value['flowDeviceCode'],
|
|
74
75
|
'default_application': value['defaultApplication'],
|
|
75
76
|
'web_certificate': value['webCertificate'],
|
|
77
|
+
'client_certificates': value['clientCertificates'],
|
|
76
78
|
'attributes': value['attributes'],
|
|
77
79
|
};
|
|
78
80
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MutualTLSStageModeEnum } from './MutualTLSStageModeEnum';
|
|
13
|
+
import type { CertAttributeEnum } from './CertAttributeEnum';
|
|
14
|
+
import type { UserAttributeEnum } from './UserAttributeEnum';
|
|
15
|
+
import type { FlowSetRequest } from './FlowSetRequest';
|
|
16
|
+
/**
|
|
17
|
+
* MutualTLSStage Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedMutualTLSStageRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedMutualTLSStageRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedMutualTLSStageRequest
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<FlowSetRequest>}
|
|
31
|
+
* @memberof PatchedMutualTLSStageRequest
|
|
32
|
+
*/
|
|
33
|
+
flowSet?: Array<FlowSetRequest>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {MutualTLSStageModeEnum}
|
|
37
|
+
* @memberof PatchedMutualTLSStageRequest
|
|
38
|
+
*/
|
|
39
|
+
mode?: MutualTLSStageModeEnum;
|
|
40
|
+
/**
|
|
41
|
+
* Configure certificate authorities to validate the certificate against. This option has a higher priority than the `client_certificate` option on `Brand`.
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof PatchedMutualTLSStageRequest
|
|
44
|
+
*/
|
|
45
|
+
certificateAuthorities?: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {CertAttributeEnum}
|
|
49
|
+
* @memberof PatchedMutualTLSStageRequest
|
|
50
|
+
*/
|
|
51
|
+
certAttribute?: CertAttributeEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {UserAttributeEnum}
|
|
55
|
+
* @memberof PatchedMutualTLSStageRequest
|
|
56
|
+
*/
|
|
57
|
+
userAttribute?: UserAttributeEnum;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the PatchedMutualTLSStageRequest interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfPatchedMutualTLSStageRequest(value: object): value is PatchedMutualTLSStageRequest;
|
|
63
|
+
export declare function PatchedMutualTLSStageRequestFromJSON(json: any): PatchedMutualTLSStageRequest;
|
|
64
|
+
export declare function PatchedMutualTLSStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedMutualTLSStageRequest;
|
|
65
|
+
export declare function PatchedMutualTLSStageRequestToJSON(json: any): PatchedMutualTLSStageRequest;
|
|
66
|
+
export declare function PatchedMutualTLSStageRequestToJSONTyped(value?: PatchedMutualTLSStageRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPatchedMutualTLSStageRequest = instanceOfPatchedMutualTLSStageRequest;
|
|
17
|
+
exports.PatchedMutualTLSStageRequestFromJSON = PatchedMutualTLSStageRequestFromJSON;
|
|
18
|
+
exports.PatchedMutualTLSStageRequestFromJSONTyped = PatchedMutualTLSStageRequestFromJSONTyped;
|
|
19
|
+
exports.PatchedMutualTLSStageRequestToJSON = PatchedMutualTLSStageRequestToJSON;
|
|
20
|
+
exports.PatchedMutualTLSStageRequestToJSONTyped = PatchedMutualTLSStageRequestToJSONTyped;
|
|
21
|
+
const MutualTLSStageModeEnum_1 = require("./MutualTLSStageModeEnum");
|
|
22
|
+
const CertAttributeEnum_1 = require("./CertAttributeEnum");
|
|
23
|
+
const UserAttributeEnum_1 = require("./UserAttributeEnum");
|
|
24
|
+
const FlowSetRequest_1 = require("./FlowSetRequest");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PatchedMutualTLSStageRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfPatchedMutualTLSStageRequest(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PatchedMutualTLSStageRequestFromJSON(json) {
|
|
32
|
+
return PatchedMutualTLSStageRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PatchedMutualTLSStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
40
|
+
'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
|
|
41
|
+
'mode': json['mode'] == null ? undefined : (0, MutualTLSStageModeEnum_1.MutualTLSStageModeEnumFromJSON)(json['mode']),
|
|
42
|
+
'certificateAuthorities': json['certificate_authorities'] == null ? undefined : json['certificate_authorities'],
|
|
43
|
+
'certAttribute': json['cert_attribute'] == null ? undefined : (0, CertAttributeEnum_1.CertAttributeEnumFromJSON)(json['cert_attribute']),
|
|
44
|
+
'userAttribute': json['user_attribute'] == null ? undefined : (0, UserAttributeEnum_1.UserAttributeEnumFromJSON)(json['user_attribute']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function PatchedMutualTLSStageRequestToJSON(json) {
|
|
48
|
+
return PatchedMutualTLSStageRequestToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function PatchedMutualTLSStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSetRequest_1.FlowSetRequestToJSON)),
|
|
57
|
+
'mode': (0, MutualTLSStageModeEnum_1.MutualTLSStageModeEnumToJSON)(value['mode']),
|
|
58
|
+
'certificate_authorities': value['certificateAuthorities'],
|
|
59
|
+
'cert_attribute': (0, CertAttributeEnum_1.CertAttributeEnumToJSON)(value['certAttribute']),
|
|
60
|
+
'user_attribute': (0, UserAttributeEnum_1.UserAttributeEnumToJSON)(value['userAttribute']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const UserAttributeEnum: {
|
|
17
|
+
readonly Username: "username";
|
|
18
|
+
readonly Email: "email";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type UserAttributeEnum = typeof UserAttributeEnum[keyof typeof UserAttributeEnum];
|
|
22
|
+
export declare function instanceOfUserAttributeEnum(value: any): boolean;
|
|
23
|
+
export declare function UserAttributeEnumFromJSON(json: any): UserAttributeEnum;
|
|
24
|
+
export declare function UserAttributeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAttributeEnum;
|
|
25
|
+
export declare function UserAttributeEnumToJSON(value?: UserAttributeEnum | null): any;
|
|
26
|
+
export declare function UserAttributeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): UserAttributeEnum;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserAttributeEnum = void 0;
|
|
17
|
+
exports.instanceOfUserAttributeEnum = instanceOfUserAttributeEnum;
|
|
18
|
+
exports.UserAttributeEnumFromJSON = UserAttributeEnumFromJSON;
|
|
19
|
+
exports.UserAttributeEnumFromJSONTyped = UserAttributeEnumFromJSONTyped;
|
|
20
|
+
exports.UserAttributeEnumToJSON = UserAttributeEnumToJSON;
|
|
21
|
+
exports.UserAttributeEnumToJSONTyped = UserAttributeEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UserAttributeEnum = {
|
|
27
|
+
Username: 'username',
|
|
28
|
+
Email: 'email',
|
|
29
|
+
UnknownDefaultOpenApi: '11184809'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfUserAttributeEnum(value) {
|
|
32
|
+
for (const key in exports.UserAttributeEnum) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.UserAttributeEnum, key)) {
|
|
34
|
+
if (exports.UserAttributeEnum[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function UserAttributeEnumFromJSON(json) {
|
|
42
|
+
return UserAttributeEnumFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function UserAttributeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function UserAttributeEnumToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function UserAttributeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ export * from './CaptchaChallenge';
|
|
|
68
68
|
export * from './CaptchaChallengeResponseRequest';
|
|
69
69
|
export * from './CaptchaStage';
|
|
70
70
|
export * from './CaptchaStageRequest';
|
|
71
|
+
export * from './CertAttributeEnum';
|
|
71
72
|
export * from './CertificateData';
|
|
72
73
|
export * from './CertificateGenerationRequest';
|
|
73
74
|
export * from './CertificateKeyPair';
|
|
@@ -247,6 +248,9 @@ export * from './MicrosoftEntraProviderUser';
|
|
|
247
248
|
export * from './MicrosoftEntraProviderUserRequest';
|
|
248
249
|
export * from './ModelEnum';
|
|
249
250
|
export * from './ModelRequest';
|
|
251
|
+
export * from './MutualTLSStage';
|
|
252
|
+
export * from './MutualTLSStageModeEnum';
|
|
253
|
+
export * from './MutualTLSStageRequest';
|
|
250
254
|
export * from './NameIdPolicyEnum';
|
|
251
255
|
export * from './NetworkBindingEnum';
|
|
252
256
|
export * from './NotConfiguredActionEnum';
|
|
@@ -341,6 +345,7 @@ export * from './PaginatedMicrosoftEntraProviderGroupList';
|
|
|
341
345
|
export * from './PaginatedMicrosoftEntraProviderList';
|
|
342
346
|
export * from './PaginatedMicrosoftEntraProviderMappingList';
|
|
343
347
|
export * from './PaginatedMicrosoftEntraProviderUserList';
|
|
348
|
+
export * from './PaginatedMutualTLSStageList';
|
|
344
349
|
export * from './PaginatedNotificationList';
|
|
345
350
|
export * from './PaginatedNotificationRuleList';
|
|
346
351
|
export * from './PaginatedNotificationTransportList';
|
|
@@ -480,6 +485,7 @@ export * from './PatchedLDAPSourceRequest';
|
|
|
480
485
|
export * from './PatchedLicenseRequest';
|
|
481
486
|
export * from './PatchedMicrosoftEntraProviderMappingRequest';
|
|
482
487
|
export * from './PatchedMicrosoftEntraProviderRequest';
|
|
488
|
+
export * from './PatchedMutualTLSStageRequest';
|
|
483
489
|
export * from './PatchedNotificationRequest';
|
|
484
490
|
export * from './PatchedNotificationRuleRequest';
|
|
485
491
|
export * from './PatchedNotificationTransportRequest';
|
|
@@ -690,6 +696,7 @@ export * from './UsedByActionEnum';
|
|
|
690
696
|
export * from './User';
|
|
691
697
|
export * from './UserAccountRequest';
|
|
692
698
|
export * from './UserAssignedObjectPermission';
|
|
699
|
+
export * from './UserAttributeEnum';
|
|
693
700
|
export * from './UserConsent';
|
|
694
701
|
export * from './UserCreationModeEnum';
|
|
695
702
|
export * from './UserDeleteStage';
|
package/dist/models/index.js
CHANGED
|
@@ -86,6 +86,7 @@ __exportStar(require("./CaptchaChallenge"), exports);
|
|
|
86
86
|
__exportStar(require("./CaptchaChallengeResponseRequest"), exports);
|
|
87
87
|
__exportStar(require("./CaptchaStage"), exports);
|
|
88
88
|
__exportStar(require("./CaptchaStageRequest"), exports);
|
|
89
|
+
__exportStar(require("./CertAttributeEnum"), exports);
|
|
89
90
|
__exportStar(require("./CertificateData"), exports);
|
|
90
91
|
__exportStar(require("./CertificateGenerationRequest"), exports);
|
|
91
92
|
__exportStar(require("./CertificateKeyPair"), exports);
|
|
@@ -265,6 +266,9 @@ __exportStar(require("./MicrosoftEntraProviderUser"), exports);
|
|
|
265
266
|
__exportStar(require("./MicrosoftEntraProviderUserRequest"), exports);
|
|
266
267
|
__exportStar(require("./ModelEnum"), exports);
|
|
267
268
|
__exportStar(require("./ModelRequest"), exports);
|
|
269
|
+
__exportStar(require("./MutualTLSStage"), exports);
|
|
270
|
+
__exportStar(require("./MutualTLSStageModeEnum"), exports);
|
|
271
|
+
__exportStar(require("./MutualTLSStageRequest"), exports);
|
|
268
272
|
__exportStar(require("./NameIdPolicyEnum"), exports);
|
|
269
273
|
__exportStar(require("./NetworkBindingEnum"), exports);
|
|
270
274
|
__exportStar(require("./NotConfiguredActionEnum"), exports);
|
|
@@ -359,6 +363,7 @@ __exportStar(require("./PaginatedMicrosoftEntraProviderGroupList"), exports);
|
|
|
359
363
|
__exportStar(require("./PaginatedMicrosoftEntraProviderList"), exports);
|
|
360
364
|
__exportStar(require("./PaginatedMicrosoftEntraProviderMappingList"), exports);
|
|
361
365
|
__exportStar(require("./PaginatedMicrosoftEntraProviderUserList"), exports);
|
|
366
|
+
__exportStar(require("./PaginatedMutualTLSStageList"), exports);
|
|
362
367
|
__exportStar(require("./PaginatedNotificationList"), exports);
|
|
363
368
|
__exportStar(require("./PaginatedNotificationRuleList"), exports);
|
|
364
369
|
__exportStar(require("./PaginatedNotificationTransportList"), exports);
|
|
@@ -498,6 +503,7 @@ __exportStar(require("./PatchedLDAPSourceRequest"), exports);
|
|
|
498
503
|
__exportStar(require("./PatchedLicenseRequest"), exports);
|
|
499
504
|
__exportStar(require("./PatchedMicrosoftEntraProviderMappingRequest"), exports);
|
|
500
505
|
__exportStar(require("./PatchedMicrosoftEntraProviderRequest"), exports);
|
|
506
|
+
__exportStar(require("./PatchedMutualTLSStageRequest"), exports);
|
|
501
507
|
__exportStar(require("./PatchedNotificationRequest"), exports);
|
|
502
508
|
__exportStar(require("./PatchedNotificationRuleRequest"), exports);
|
|
503
509
|
__exportStar(require("./PatchedNotificationTransportRequest"), exports);
|
|
@@ -708,6 +714,7 @@ __exportStar(require("./UsedByActionEnum"), exports);
|
|
|
708
714
|
__exportStar(require("./User"), exports);
|
|
709
715
|
__exportStar(require("./UserAccountRequest"), exports);
|
|
710
716
|
__exportStar(require("./UserAssignedObjectPermission"), exports);
|
|
717
|
+
__exportStar(require("./UserAttributeEnum"), exports);
|
|
711
718
|
__exportStar(require("./UserConsent"), exports);
|
|
712
719
|
__exportStar(require("./UserCreationModeEnum"), exports);
|
|
713
720
|
__exportStar(require("./UserDeleteStage"), exports);
|
package/package.json
CHANGED
package/src/apis/CoreApi.ts
CHANGED
|
@@ -297,6 +297,7 @@ export interface CoreBrandsListRequest {
|
|
|
297
297
|
brandingFavicon?: string;
|
|
298
298
|
brandingLogo?: string;
|
|
299
299
|
brandingTitle?: string;
|
|
300
|
+
clientCertificates?: Array<string>;
|
|
300
301
|
_default?: boolean;
|
|
301
302
|
domain?: string;
|
|
302
303
|
flowAuthentication?: string;
|
|
@@ -1735,6 +1736,10 @@ export class CoreApi extends runtime.BaseAPI {
|
|
|
1735
1736
|
queryParameters['branding_title'] = requestParameters['brandingTitle'];
|
|
1736
1737
|
}
|
|
1737
1738
|
|
|
1739
|
+
if (requestParameters['clientCertificates'] != null) {
|
|
1740
|
+
queryParameters['client_certificates'] = requestParameters['clientCertificates'];
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1738
1743
|
if (requestParameters['_default'] != null) {
|
|
1739
1744
|
queryParameters['default'] = requestParameters['_default'];
|
|
1740
1745
|
}
|
package/src/apis/RbacApi.ts
CHANGED
|
@@ -1894,6 +1894,7 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
|
|
|
1894
1894
|
AuthentikStagesIdentificationIdentificationstage: 'authentik_stages_identification.identificationstage',
|
|
1895
1895
|
AuthentikStagesInvitationInvitation: 'authentik_stages_invitation.invitation',
|
|
1896
1896
|
AuthentikStagesInvitationInvitationstage: 'authentik_stages_invitation.invitationstage',
|
|
1897
|
+
AuthentikStagesMtlsMutualtlsstage: 'authentik_stages_mtls.mutualtlsstage',
|
|
1897
1898
|
AuthentikStagesPasswordPasswordstage: 'authentik_stages_password.passwordstage',
|
|
1898
1899
|
AuthentikStagesPromptPrompt: 'authentik_stages_prompt.prompt',
|
|
1899
1900
|
AuthentikStagesPromptPromptstage: 'authentik_stages_prompt.promptstage',
|
|
@@ -2004,6 +2005,7 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
|
|
|
2004
2005
|
AuthentikStagesIdentificationIdentificationstage: 'authentik_stages_identification.identificationstage',
|
|
2005
2006
|
AuthentikStagesInvitationInvitation: 'authentik_stages_invitation.invitation',
|
|
2006
2007
|
AuthentikStagesInvitationInvitationstage: 'authentik_stages_invitation.invitationstage',
|
|
2008
|
+
AuthentikStagesMtlsMutualtlsstage: 'authentik_stages_mtls.mutualtlsstage',
|
|
2007
2009
|
AuthentikStagesPasswordPasswordstage: 'authentik_stages_password.passwordstage',
|
|
2008
2010
|
AuthentikStagesPromptPrompt: 'authentik_stages_prompt.prompt',
|
|
2009
2011
|
AuthentikStagesPromptPromptstage: 'authentik_stages_prompt.promptstage',
|