@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
|
@@ -113,6 +113,7 @@ export const ModelEnum = {
|
|
|
113
113
|
AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: 'authentik_providers_microsoft_entra.microsoftentraprovidermapping',
|
|
114
114
|
AuthentikProvidersSsfSsfprovider: 'authentik_providers_ssf.ssfprovider',
|
|
115
115
|
AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
|
|
116
|
+
AuthentikStagesMtlsMutualtlsstage: 'authentik_stages_mtls.mutualtlsstage',
|
|
116
117
|
AuthentikStagesSourceSourcestage: 'authentik_stages_source.sourcestage',
|
|
117
118
|
AuthentikEventsEvent: 'authentik_events.event',
|
|
118
119
|
AuthentikEventsNotificationtransport: 'authentik_events.notificationtransport',
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { FlowSet } from './FlowSet';
|
|
15
|
+
import type { UserAttributeEnum } from './UserAttributeEnum';
|
|
16
|
+
/**
|
|
17
|
+
* MutualTLSStage Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MutualTLSStage
|
|
20
|
+
*/
|
|
21
|
+
export interface MutualTLSStage {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MutualTLSStage
|
|
26
|
+
*/
|
|
27
|
+
readonly pk: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof MutualTLSStage
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Get object type so that we know how to edit the object
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof MutualTLSStage
|
|
38
|
+
*/
|
|
39
|
+
readonly component: string;
|
|
40
|
+
/**
|
|
41
|
+
* Return object's verbose_name
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof MutualTLSStage
|
|
44
|
+
*/
|
|
45
|
+
readonly verboseName: string;
|
|
46
|
+
/**
|
|
47
|
+
* Return object's plural verbose_name
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof MutualTLSStage
|
|
50
|
+
*/
|
|
51
|
+
readonly verboseNamePlural: string;
|
|
52
|
+
/**
|
|
53
|
+
* Return internal model name
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof MutualTLSStage
|
|
56
|
+
*/
|
|
57
|
+
readonly metaModelName: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<FlowSet>}
|
|
61
|
+
* @memberof MutualTLSStage
|
|
62
|
+
*/
|
|
63
|
+
flowSet?: Array<FlowSet>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {MutualTLSStageModeEnum}
|
|
67
|
+
* @memberof MutualTLSStage
|
|
68
|
+
*/
|
|
69
|
+
mode: MutualTLSStageModeEnum;
|
|
70
|
+
/**
|
|
71
|
+
* Configure certificate authorities to validate the certificate against. This option has a higher priority than the `client_certificate` option on `Brand`.
|
|
72
|
+
* @type {Array<string>}
|
|
73
|
+
* @memberof MutualTLSStage
|
|
74
|
+
*/
|
|
75
|
+
certificateAuthorities?: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {CertAttributeEnum}
|
|
79
|
+
* @memberof MutualTLSStage
|
|
80
|
+
*/
|
|
81
|
+
certAttribute: CertAttributeEnum;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {UserAttributeEnum}
|
|
85
|
+
* @memberof MutualTLSStage
|
|
86
|
+
*/
|
|
87
|
+
userAttribute: UserAttributeEnum;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the MutualTLSStage interface.
|
|
91
|
+
*/
|
|
92
|
+
export declare function instanceOfMutualTLSStage(value: object): value is MutualTLSStage;
|
|
93
|
+
export declare function MutualTLSStageFromJSON(json: any): MutualTLSStage;
|
|
94
|
+
export declare function MutualTLSStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): MutualTLSStage;
|
|
95
|
+
export declare function MutualTLSStageToJSON(json: any): MutualTLSStage;
|
|
96
|
+
export declare function MutualTLSStageToJSONTyped(value?: Omit<MutualTLSStage, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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
|
+
import { MutualTLSStageModeEnumFromJSON, MutualTLSStageModeEnumToJSON, } from './MutualTLSStageModeEnum';
|
|
15
|
+
import { CertAttributeEnumFromJSON, CertAttributeEnumToJSON, } from './CertAttributeEnum';
|
|
16
|
+
import { FlowSetFromJSON, FlowSetToJSON, } from './FlowSet';
|
|
17
|
+
import { UserAttributeEnumFromJSON, UserAttributeEnumToJSON, } from './UserAttributeEnum';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the MutualTLSStage interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfMutualTLSStage(value) {
|
|
22
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('component' in value) || value['component'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('verboseName' in value) || value['verboseName'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('metaModelName' in value) || value['metaModelName'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('certAttribute' in value) || value['certAttribute'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('userAttribute' in value) || value['userAttribute'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
export function MutualTLSStageFromJSON(json) {
|
|
43
|
+
return MutualTLSStageFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function MutualTLSStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'pk': json['pk'],
|
|
51
|
+
'name': json['name'],
|
|
52
|
+
'component': json['component'],
|
|
53
|
+
'verboseName': json['verbose_name'],
|
|
54
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
55
|
+
'metaModelName': json['meta_model_name'],
|
|
56
|
+
'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSetFromJSON)),
|
|
57
|
+
'mode': MutualTLSStageModeEnumFromJSON(json['mode']),
|
|
58
|
+
'certificateAuthorities': json['certificate_authorities'] == null ? undefined : json['certificate_authorities'],
|
|
59
|
+
'certAttribute': CertAttributeEnumFromJSON(json['cert_attribute']),
|
|
60
|
+
'userAttribute': UserAttributeEnumFromJSON(json['user_attribute']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function MutualTLSStageToJSON(json) {
|
|
64
|
+
return MutualTLSStageToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function MutualTLSStageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSetToJSON)),
|
|
73
|
+
'mode': MutualTLSStageModeEnumToJSON(value['mode']),
|
|
74
|
+
'certificate_authorities': value['certificateAuthorities'],
|
|
75
|
+
'cert_attribute': CertAttributeEnumToJSON(value['certAttribute']),
|
|
76
|
+
'user_attribute': UserAttributeEnumToJSON(value['userAttribute']),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -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 MutualTLSStageModeEnum: {
|
|
17
|
+
readonly Optional: "optional";
|
|
18
|
+
readonly Required: "required";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type MutualTLSStageModeEnum = typeof MutualTLSStageModeEnum[keyof typeof MutualTLSStageModeEnum];
|
|
22
|
+
export declare function instanceOfMutualTLSStageModeEnum(value: any): boolean;
|
|
23
|
+
export declare function MutualTLSStageModeEnumFromJSON(json: any): MutualTLSStageModeEnum;
|
|
24
|
+
export declare function MutualTLSStageModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): MutualTLSStageModeEnum;
|
|
25
|
+
export declare function MutualTLSStageModeEnumToJSON(value?: MutualTLSStageModeEnum | null): any;
|
|
26
|
+
export declare function MutualTLSStageModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): MutualTLSStageModeEnum;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const MutualTLSStageModeEnum = {
|
|
19
|
+
Optional: 'optional',
|
|
20
|
+
Required: 'required',
|
|
21
|
+
UnknownDefaultOpenApi: '11184809'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfMutualTLSStageModeEnum(value) {
|
|
24
|
+
for (const key in MutualTLSStageModeEnum) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(MutualTLSStageModeEnum, key)) {
|
|
26
|
+
if (MutualTLSStageModeEnum[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function MutualTLSStageModeEnumFromJSON(json) {
|
|
34
|
+
return MutualTLSStageModeEnumFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function MutualTLSStageModeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function MutualTLSStageModeEnumToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function MutualTLSStageModeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -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 MutualTLSStageRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface MutualTLSStageRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MutualTLSStageRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<FlowSetRequest>}
|
|
31
|
+
* @memberof MutualTLSStageRequest
|
|
32
|
+
*/
|
|
33
|
+
flowSet?: Array<FlowSetRequest>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {MutualTLSStageModeEnum}
|
|
37
|
+
* @memberof MutualTLSStageRequest
|
|
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 MutualTLSStageRequest
|
|
44
|
+
*/
|
|
45
|
+
certificateAuthorities?: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {CertAttributeEnum}
|
|
49
|
+
* @memberof MutualTLSStageRequest
|
|
50
|
+
*/
|
|
51
|
+
certAttribute: CertAttributeEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {UserAttributeEnum}
|
|
55
|
+
* @memberof MutualTLSStageRequest
|
|
56
|
+
*/
|
|
57
|
+
userAttribute: UserAttributeEnum;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the MutualTLSStageRequest interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfMutualTLSStageRequest(value: object): value is MutualTLSStageRequest;
|
|
63
|
+
export declare function MutualTLSStageRequestFromJSON(json: any): MutualTLSStageRequest;
|
|
64
|
+
export declare function MutualTLSStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MutualTLSStageRequest;
|
|
65
|
+
export declare function MutualTLSStageRequestToJSON(json: any): MutualTLSStageRequest;
|
|
66
|
+
export declare function MutualTLSStageRequestToJSONTyped(value?: MutualTLSStageRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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
|
+
import { MutualTLSStageModeEnumFromJSON, MutualTLSStageModeEnumToJSON, } from './MutualTLSStageModeEnum';
|
|
15
|
+
import { CertAttributeEnumFromJSON, CertAttributeEnumToJSON, } from './CertAttributeEnum';
|
|
16
|
+
import { UserAttributeEnumFromJSON, UserAttributeEnumToJSON, } from './UserAttributeEnum';
|
|
17
|
+
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the MutualTLSStageRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfMutualTLSStageRequest(value) {
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('certAttribute' in value) || value['certAttribute'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('userAttribute' in value) || value['userAttribute'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function MutualTLSStageRequestFromJSON(json) {
|
|
33
|
+
return MutualTLSStageRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function MutualTLSStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
|
|
42
|
+
'mode': MutualTLSStageModeEnumFromJSON(json['mode']),
|
|
43
|
+
'certificateAuthorities': json['certificate_authorities'] == null ? undefined : json['certificate_authorities'],
|
|
44
|
+
'certAttribute': CertAttributeEnumFromJSON(json['cert_attribute']),
|
|
45
|
+
'userAttribute': UserAttributeEnumFromJSON(json['user_attribute']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function MutualTLSStageRequestToJSON(json) {
|
|
49
|
+
return MutualTLSStageRequestToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function MutualTLSStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSetRequestToJSON)),
|
|
58
|
+
'mode': MutualTLSStageModeEnumToJSON(value['mode']),
|
|
59
|
+
'certificate_authorities': value['certificateAuthorities'],
|
|
60
|
+
'cert_attribute': CertAttributeEnumToJSON(value['certAttribute']),
|
|
61
|
+
'user_attribute': UserAttributeEnumToJSON(value['userAttribute']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
15
|
+
import { MutualTLSStageFromJSON, MutualTLSStageToJSON, } from './MutualTLSStage';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedMutualTLSStageList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedMutualTLSStageList(value) {
|
|
20
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PaginatedMutualTLSStageListFromJSON(json) {
|
|
27
|
+
return PaginatedMutualTLSStageListFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PaginatedMutualTLSStageListFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
35
|
+
'results': (json['results'].map(MutualTLSStageFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PaginatedMutualTLSStageListToJSON(json) {
|
|
39
|
+
return PaginatedMutualTLSStageListToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PaginatedMutualTLSStageListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'pagination': PaginationToJSON(value['pagination']),
|
|
47
|
+
'results': (value['results'].map(MutualTLSStageToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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}
|
|
@@ -40,6 +40,7 @@ export function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'flowDeviceCode': json['flow_device_code'] == null ? undefined : json['flow_device_code'],
|
|
41
41
|
'defaultApplication': json['default_application'] == null ? undefined : json['default_application'],
|
|
42
42
|
'webCertificate': json['web_certificate'] == null ? undefined : json['web_certificate'],
|
|
43
|
+
'clientCertificates': json['client_certificates'] == null ? undefined : json['client_certificates'],
|
|
43
44
|
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
@@ -66,6 +67,7 @@ export function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
66
67
|
'flow_device_code': value['flowDeviceCode'],
|
|
67
68
|
'default_application': value['defaultApplication'],
|
|
68
69
|
'web_certificate': value['webCertificate'],
|
|
70
|
+
'client_certificates': value['clientCertificates'],
|
|
69
71
|
'attributes': value['attributes'],
|
|
70
72
|
};
|
|
71
73
|
}
|
|
@@ -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,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.4.1
|
|
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
|
+
import { MutualTLSStageModeEnumFromJSON, MutualTLSStageModeEnumToJSON, } from './MutualTLSStageModeEnum';
|
|
15
|
+
import { CertAttributeEnumFromJSON, CertAttributeEnumToJSON, } from './CertAttributeEnum';
|
|
16
|
+
import { UserAttributeEnumFromJSON, UserAttributeEnumToJSON, } from './UserAttributeEnum';
|
|
17
|
+
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PatchedMutualTLSStageRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfPatchedMutualTLSStageRequest(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PatchedMutualTLSStageRequestFromJSON(json) {
|
|
25
|
+
return PatchedMutualTLSStageRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PatchedMutualTLSStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
33
|
+
'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
|
|
34
|
+
'mode': json['mode'] == null ? undefined : MutualTLSStageModeEnumFromJSON(json['mode']),
|
|
35
|
+
'certificateAuthorities': json['certificate_authorities'] == null ? undefined : json['certificate_authorities'],
|
|
36
|
+
'certAttribute': json['cert_attribute'] == null ? undefined : CertAttributeEnumFromJSON(json['cert_attribute']),
|
|
37
|
+
'userAttribute': json['user_attribute'] == null ? undefined : UserAttributeEnumFromJSON(json['user_attribute']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function PatchedMutualTLSStageRequestToJSON(json) {
|
|
41
|
+
return PatchedMutualTLSStageRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function PatchedMutualTLSStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSetRequestToJSON)),
|
|
50
|
+
'mode': MutualTLSStageModeEnumToJSON(value['mode']),
|
|
51
|
+
'certificate_authorities': value['certificateAuthorities'],
|
|
52
|
+
'cert_attribute': CertAttributeEnumToJSON(value['certAttribute']),
|
|
53
|
+
'user_attribute': UserAttributeEnumToJSON(value['userAttribute']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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;
|