@goauthentik/api 2023.10.5-1703290840 → 2023.10.5-1704381512
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 +15 -0
- package/dist/apis/PropertymappingsApi.d.ts +85 -1
- package/dist/apis/PropertymappingsApi.js +240 -0
- package/dist/apis/ProvidersApi.d.ts +85 -1
- package/dist/apis/ProvidersApi.js +240 -0
- package/dist/apis/RacApi.d.ts +103 -0
- package/dist/apis/RacApi.js +276 -0
- package/dist/apis/RbacApi.d.ts +6 -0
- package/dist/apis/RbacApi.js +6 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +85 -1
- package/dist/esm/apis/PropertymappingsApi.js +241 -1
- package/dist/esm/apis/ProvidersApi.d.ts +85 -1
- package/dist/esm/apis/ProvidersApi.js +241 -1
- package/dist/esm/apis/RacApi.d.ts +103 -0
- package/dist/esm/apis/RacApi.js +272 -0
- package/dist/esm/apis/RbacApi.d.ts +6 -0
- package/dist/esm/apis/RbacApi.js +6 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppEnum.d.ts +2 -0
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/AuthModeEnum.d.ts +25 -0
- package/dist/esm/models/AuthModeEnum.js +32 -0
- package/dist/esm/models/Endpoint.d.ts +89 -0
- package/dist/esm/models/Endpoint.js +69 -0
- package/dist/esm/models/EndpointRequest.d.ts +69 -0
- package/dist/esm/models/EndpointRequest.js +62 -0
- package/dist/esm/models/ModelEnum.d.ts +6 -0
- package/dist/esm/models/ModelEnum.js +6 -0
- package/dist/esm/models/ModelRequest.d.ts +3 -0
- package/dist/esm/models/ModelRequest.js +5 -0
- package/dist/esm/models/OutpostTypeEnum.d.ts +2 -0
- package/dist/esm/models/OutpostTypeEnum.js +2 -0
- package/dist/esm/models/PaginatedEndpointList.d.ts +39 -0
- package/dist/esm/models/PaginatedEndpointList.js +48 -0
- package/dist/esm/models/PaginatedRACPropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedRACPropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedRACProviderList.d.ts +39 -0
- package/dist/esm/models/PaginatedRACProviderList.js +48 -0
- package/dist/esm/models/PatchedEndpointRequest.d.ts +69 -0
- package/dist/esm/models/PatchedEndpointRequest.js +57 -0
- package/dist/esm/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
- package/dist/esm/models/PatchedRACPropertyMappingRequest.js +49 -0
- package/dist/esm/models/PatchedRACProviderRequest.d.ts +61 -0
- package/dist/esm/models/PatchedRACProviderRequest.js +53 -0
- package/dist/esm/models/ProtocolEnum.d.ts +27 -0
- package/dist/esm/models/ProtocolEnum.js +34 -0
- package/dist/esm/models/ProviderModelEnum.d.ts +2 -0
- package/dist/esm/models/ProviderModelEnum.js +2 -0
- package/dist/esm/models/RACPropertyMapping.d.ts +81 -0
- package/dist/esm/models/RACPropertyMapping.js +61 -0
- package/dist/esm/models/RACPropertyMappingRequest.d.ts +51 -0
- package/dist/esm/models/RACPropertyMappingRequest.js +51 -0
- package/dist/esm/models/RACProvider.d.ts +121 -0
- package/dist/esm/models/RACProvider.js +75 -0
- package/dist/esm/models/RACProviderRequest.d.ts +61 -0
- package/dist/esm/models/RACProviderRequest.js +55 -0
- package/dist/esm/models/TypeCreate.d.ts +6 -0
- package/dist/esm/models/TypeCreate.js +3 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/AuthModeEnum.d.ts +25 -0
- package/dist/models/AuthModeEnum.js +38 -0
- package/dist/models/Endpoint.d.ts +89 -0
- package/dist/models/Endpoint.js +76 -0
- package/dist/models/EndpointRequest.d.ts +69 -0
- package/dist/models/EndpointRequest.js +69 -0
- package/dist/models/ModelEnum.d.ts +6 -0
- package/dist/models/ModelEnum.js +6 -0
- package/dist/models/ModelRequest.d.ts +3 -0
- package/dist/models/ModelRequest.js +5 -0
- package/dist/models/OutpostTypeEnum.d.ts +2 -0
- package/dist/models/OutpostTypeEnum.js +2 -0
- package/dist/models/PaginatedEndpointList.d.ts +39 -0
- package/dist/models/PaginatedEndpointList.js +55 -0
- package/dist/models/PaginatedRACPropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedRACPropertyMappingList.js +55 -0
- package/dist/models/PaginatedRACProviderList.d.ts +39 -0
- package/dist/models/PaginatedRACProviderList.js +55 -0
- package/dist/models/PatchedEndpointRequest.d.ts +69 -0
- package/dist/models/PatchedEndpointRequest.js +64 -0
- package/dist/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
- package/dist/models/PatchedRACPropertyMappingRequest.js +56 -0
- package/dist/models/PatchedRACProviderRequest.d.ts +61 -0
- package/dist/models/PatchedRACProviderRequest.js +60 -0
- package/dist/models/ProtocolEnum.d.ts +27 -0
- package/dist/models/ProtocolEnum.js +40 -0
- package/dist/models/ProviderModelEnum.d.ts +2 -0
- package/dist/models/ProviderModelEnum.js +2 -0
- package/dist/models/RACPropertyMapping.d.ts +81 -0
- package/dist/models/RACPropertyMapping.js +68 -0
- package/dist/models/RACPropertyMappingRequest.d.ts +51 -0
- package/dist/models/RACPropertyMappingRequest.js +58 -0
- package/dist/models/RACProvider.d.ts +121 -0
- package/dist/models/RACProvider.js +82 -0
- package/dist/models/RACProviderRequest.d.ts +61 -0
- package/dist/models/RACProviderRequest.js +62 -0
- package/dist/models/TypeCreate.d.ts +6 -0
- package/dist/models/TypeCreate.js +3 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +317 -0
- package/src/apis/ProvidersApi.ts +317 -0
- package/src/apis/RacApi.ts +358 -0
- package/src/apis/RbacApi.ts +6 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppEnum.ts +2 -0
- package/src/models/AuthModeEnum.ts +40 -0
- package/src/models/Endpoint.ts +162 -0
- package/src/models/EndpointRequest.ts +131 -0
- package/src/models/ModelEnum.ts +6 -0
- package/src/models/ModelRequest.ts +12 -1
- package/src/models/OutpostTypeEnum.ts +2 -0
- package/src/models/PaginatedEndpointList.ts +88 -0
- package/src/models/PaginatedRACPropertyMappingList.ts +88 -0
- package/src/models/PaginatedRACProviderList.ts +88 -0
- package/src/models/PatchedEndpointRequest.ts +126 -0
- package/src/models/PatchedRACPropertyMappingRequest.ts +89 -0
- package/src/models/PatchedRACProviderRequest.ts +105 -0
- package/src/models/ProtocolEnum.ts +42 -0
- package/src/models/ProviderModelEnum.ts +2 -0
- package/src/models/RACPropertyMapping.ts +131 -0
- package/src/models/RACPropertyMappingRequest.ts +91 -0
- package/src/models/RACProvider.ts +187 -0
- package/src/models/RACProviderRequest.ts +107 -0
- package/src/models/TypeCreate.ts +8 -0
- package/src/models/index.ts +14 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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 { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RACPropertyMapping interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRACPropertyMapping(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "pk" in value;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
22
|
+
isInstance = isInstance && "component" in value;
|
|
23
|
+
isInstance = isInstance && "verboseName" in value;
|
|
24
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
|
25
|
+
isInstance = isInstance && "metaModelName" in value;
|
|
26
|
+
isInstance = isInstance && "staticSettings" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
export function RACPropertyMappingFromJSON(json) {
|
|
30
|
+
return RACPropertyMappingFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function RACPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'pk': json['pk'],
|
|
38
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'expression': !exists(json, 'expression') ? undefined : json['expression'],
|
|
41
|
+
'component': json['component'],
|
|
42
|
+
'verboseName': json['verbose_name'],
|
|
43
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
44
|
+
'metaModelName': json['meta_model_name'],
|
|
45
|
+
'staticSettings': json['static_settings'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function RACPropertyMappingToJSON(value) {
|
|
49
|
+
if (value === undefined) {
|
|
50
|
+
return undefined;
|
|
51
|
+
}
|
|
52
|
+
if (value === null) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'managed': value.managed,
|
|
57
|
+
'name': value.name,
|
|
58
|
+
'expression': value.expression,
|
|
59
|
+
'static_settings': value.staticSettings,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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
|
+
* RACPropertyMapping Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RACPropertyMappingRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RACPropertyMappingRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This 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.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RACPropertyMappingRequest
|
|
22
|
+
*/
|
|
23
|
+
managed?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RACPropertyMappingRequest
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RACPropertyMappingRequest
|
|
34
|
+
*/
|
|
35
|
+
expression?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {{ [key: string]: any; }}
|
|
39
|
+
* @memberof RACPropertyMappingRequest
|
|
40
|
+
*/
|
|
41
|
+
staticSettings: {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the RACPropertyMappingRequest interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfRACPropertyMappingRequest(value: object): boolean;
|
|
49
|
+
export declare function RACPropertyMappingRequestFromJSON(json: any): RACPropertyMappingRequest;
|
|
50
|
+
export declare function RACPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMappingRequest;
|
|
51
|
+
export declare function RACPropertyMappingRequestToJSON(value?: RACPropertyMappingRequest | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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 { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RACPropertyMappingRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRACPropertyMappingRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "name" in value;
|
|
21
|
+
isInstance = isInstance && "staticSettings" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function RACPropertyMappingRequestFromJSON(json) {
|
|
25
|
+
return RACPropertyMappingRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function RACPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
33
|
+
'name': json['name'],
|
|
34
|
+
'expression': !exists(json, 'expression') ? undefined : json['expression'],
|
|
35
|
+
'staticSettings': json['static_settings'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function RACPropertyMappingRequestToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'managed': value.managed,
|
|
47
|
+
'name': value.name,
|
|
48
|
+
'expression': value.expression,
|
|
49
|
+
'static_settings': value.staticSettings,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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
|
+
* RACProvider Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RACProvider
|
|
16
|
+
*/
|
|
17
|
+
export interface RACProvider {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RACProvider
|
|
22
|
+
*/
|
|
23
|
+
readonly pk: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RACProvider
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Flow used for authentication when the associated application is accessed by an un-authenticated user.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RACProvider
|
|
34
|
+
*/
|
|
35
|
+
authenticationFlow?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Flow used when authorizing this provider.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RACProvider
|
|
40
|
+
*/
|
|
41
|
+
authorizationFlow: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof RACProvider
|
|
46
|
+
*/
|
|
47
|
+
propertyMappings?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Get object component so that we know how to edit the object
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RACProvider
|
|
52
|
+
*/
|
|
53
|
+
readonly component: string;
|
|
54
|
+
/**
|
|
55
|
+
* Internal application name, used in URLs.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RACProvider
|
|
58
|
+
*/
|
|
59
|
+
readonly assignedApplicationSlug: string;
|
|
60
|
+
/**
|
|
61
|
+
* Application's display Name.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RACProvider
|
|
64
|
+
*/
|
|
65
|
+
readonly assignedApplicationName: string;
|
|
66
|
+
/**
|
|
67
|
+
* Internal application name, used in URLs.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof RACProvider
|
|
70
|
+
*/
|
|
71
|
+
readonly assignedBackchannelApplicationSlug: string;
|
|
72
|
+
/**
|
|
73
|
+
* Application's display Name.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof RACProvider
|
|
76
|
+
*/
|
|
77
|
+
readonly assignedBackchannelApplicationName: string;
|
|
78
|
+
/**
|
|
79
|
+
* Return object's verbose_name
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof RACProvider
|
|
82
|
+
*/
|
|
83
|
+
readonly verboseName: string;
|
|
84
|
+
/**
|
|
85
|
+
* Return object's plural verbose_name
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof RACProvider
|
|
88
|
+
*/
|
|
89
|
+
readonly verboseNamePlural: string;
|
|
90
|
+
/**
|
|
91
|
+
* Return internal model name
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof RACProvider
|
|
94
|
+
*/
|
|
95
|
+
readonly metaModelName: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {any}
|
|
99
|
+
* @memberof RACProvider
|
|
100
|
+
*/
|
|
101
|
+
settings?: any | null;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof RACProvider
|
|
106
|
+
*/
|
|
107
|
+
readonly outpostSet: Array<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof RACProvider
|
|
112
|
+
*/
|
|
113
|
+
connectionExpiry?: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the RACProvider interface.
|
|
117
|
+
*/
|
|
118
|
+
export declare function instanceOfRACProvider(value: object): boolean;
|
|
119
|
+
export declare function RACProviderFromJSON(json: any): RACProvider;
|
|
120
|
+
export declare function RACProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProvider;
|
|
121
|
+
export declare function RACProviderToJSON(value?: RACProvider | null): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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 { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RACProvider interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRACProvider(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "pk" in value;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
22
|
+
isInstance = isInstance && "authorizationFlow" in value;
|
|
23
|
+
isInstance = isInstance && "component" in value;
|
|
24
|
+
isInstance = isInstance && "assignedApplicationSlug" in value;
|
|
25
|
+
isInstance = isInstance && "assignedApplicationName" in value;
|
|
26
|
+
isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
|
|
27
|
+
isInstance = isInstance && "assignedBackchannelApplicationName" in value;
|
|
28
|
+
isInstance = isInstance && "verboseName" in value;
|
|
29
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
|
30
|
+
isInstance = isInstance && "metaModelName" in value;
|
|
31
|
+
isInstance = isInstance && "outpostSet" in value;
|
|
32
|
+
return isInstance;
|
|
33
|
+
}
|
|
34
|
+
export function RACProviderFromJSON(json) {
|
|
35
|
+
return RACProviderFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function RACProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'pk': json['pk'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
45
|
+
'authorizationFlow': json['authorization_flow'],
|
|
46
|
+
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
47
|
+
'component': json['component'],
|
|
48
|
+
'assignedApplicationSlug': json['assigned_application_slug'],
|
|
49
|
+
'assignedApplicationName': json['assigned_application_name'],
|
|
50
|
+
'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
|
|
51
|
+
'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
|
|
52
|
+
'verboseName': json['verbose_name'],
|
|
53
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
54
|
+
'metaModelName': json['meta_model_name'],
|
|
55
|
+
'settings': !exists(json, 'settings') ? undefined : json['settings'],
|
|
56
|
+
'outpostSet': json['outpost_set'],
|
|
57
|
+
'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function RACProviderToJSON(value) {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'name': value.name,
|
|
69
|
+
'authentication_flow': value.authenticationFlow,
|
|
70
|
+
'authorization_flow': value.authorizationFlow,
|
|
71
|
+
'property_mappings': value.propertyMappings,
|
|
72
|
+
'settings': value.settings,
|
|
73
|
+
'connection_expiry': value.connectionExpiry,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.5
|
|
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
|
+
* RACProvider Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RACProviderRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RACProviderRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RACProviderRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Flow used for authentication when the associated application is accessed by an un-authenticated user.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RACProviderRequest
|
|
28
|
+
*/
|
|
29
|
+
authenticationFlow?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Flow used when authorizing this provider.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RACProviderRequest
|
|
34
|
+
*/
|
|
35
|
+
authorizationFlow: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof RACProviderRequest
|
|
40
|
+
*/
|
|
41
|
+
propertyMappings?: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {any}
|
|
45
|
+
* @memberof RACProviderRequest
|
|
46
|
+
*/
|
|
47
|
+
settings?: any | null;
|
|
48
|
+
/**
|
|
49
|
+
* Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RACProviderRequest
|
|
52
|
+
*/
|
|
53
|
+
connectionExpiry?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the RACProviderRequest interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfRACProviderRequest(value: object): boolean;
|
|
59
|
+
export declare function RACProviderRequestFromJSON(json: any): RACProviderRequest;
|
|
60
|
+
export declare function RACProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProviderRequest;
|
|
61
|
+
export declare function RACProviderRequestToJSON(value?: RACProviderRequest | null): 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: 2023.10.5
|
|
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 { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RACProviderRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRACProviderRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "name" in value;
|
|
21
|
+
isInstance = isInstance && "authorizationFlow" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function RACProviderRequestFromJSON(json) {
|
|
25
|
+
return RACProviderRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function RACProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'name': json['name'],
|
|
33
|
+
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
34
|
+
'authorizationFlow': json['authorization_flow'],
|
|
35
|
+
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
36
|
+
'settings': !exists(json, 'settings') ? undefined : json['settings'],
|
|
37
|
+
'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function RACProviderRequestToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value.name,
|
|
49
|
+
'authentication_flow': value.authenticationFlow,
|
|
50
|
+
'authorization_flow': value.authorizationFlow,
|
|
51
|
+
'property_mappings': value.propertyMappings,
|
|
52
|
+
'settings': value.settings,
|
|
53
|
+
'connection_expiry': value.connectionExpiry,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -39,6 +39,12 @@ export interface TypeCreate {
|
|
|
39
39
|
* @memberof TypeCreate
|
|
40
40
|
*/
|
|
41
41
|
modelName: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof TypeCreate
|
|
46
|
+
*/
|
|
47
|
+
requiresEnterprise?: boolean;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* Check if a given object implements the TypeCreate interface.
|
|
@@ -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
|
/**
|
|
15
16
|
* Check if a given object implements the TypeCreate interface.
|
|
16
17
|
*/
|
|
@@ -34,6 +35,7 @@ export function TypeCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
'description': json['description'],
|
|
35
36
|
'component': json['component'],
|
|
36
37
|
'modelName': json['model_name'],
|
|
38
|
+
'requiresEnterprise': !exists(json, 'requires_enterprise') ? undefined : json['requires_enterprise'],
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
export function TypeCreateToJSON(value) {
|
|
@@ -48,5 +50,6 @@ export function TypeCreateToJSON(value) {
|
|
|
48
50
|
'description': value.description,
|
|
49
51
|
'component': value.component,
|
|
50
52
|
'model_name': value.modelName,
|
|
53
|
+
'requires_enterprise': value.requiresEnterprise,
|
|
51
54
|
};
|
|
52
55
|
}
|
|
@@ -5,6 +5,7 @@ export * from './AppleChallengeResponseRequest';
|
|
|
5
5
|
export * from './AppleLoginChallenge';
|
|
6
6
|
export * from './Application';
|
|
7
7
|
export * from './ApplicationRequest';
|
|
8
|
+
export * from './AuthModeEnum';
|
|
8
9
|
export * from './AuthTypeEnum';
|
|
9
10
|
export * from './AuthenticateWebAuthnStage';
|
|
10
11
|
export * from './AuthenticateWebAuthnStageRequest';
|
|
@@ -98,6 +99,8 @@ export * from './EmailChallenge';
|
|
|
98
99
|
export * from './EmailChallengeResponseRequest';
|
|
99
100
|
export * from './EmailStage';
|
|
100
101
|
export * from './EmailStageRequest';
|
|
102
|
+
export * from './Endpoint';
|
|
103
|
+
export * from './EndpointRequest';
|
|
101
104
|
export * from './ErrorDetail';
|
|
102
105
|
export * from './ErrorReportingConfig';
|
|
103
106
|
export * from './Event';
|
|
@@ -214,6 +217,7 @@ export * from './PaginatedDummyPolicyList';
|
|
|
214
217
|
export * from './PaginatedDummyStageList';
|
|
215
218
|
export * from './PaginatedDuoDeviceList';
|
|
216
219
|
export * from './PaginatedEmailStageList';
|
|
220
|
+
export * from './PaginatedEndpointList';
|
|
217
221
|
export * from './PaginatedEventList';
|
|
218
222
|
export * from './PaginatedEventMatcherPolicyList';
|
|
219
223
|
export * from './PaginatedExpiringBaseGrantModelList';
|
|
@@ -253,6 +257,8 @@ export * from './PaginatedPropertyMappingList';
|
|
|
253
257
|
export * from './PaginatedProviderList';
|
|
254
258
|
export * from './PaginatedProxyOutpostConfigList';
|
|
255
259
|
export * from './PaginatedProxyProviderList';
|
|
260
|
+
export * from './PaginatedRACPropertyMappingList';
|
|
261
|
+
export * from './PaginatedRACProviderList';
|
|
256
262
|
export * from './PaginatedRadiusOutpostConfigList';
|
|
257
263
|
export * from './PaginatedRadiusProviderList';
|
|
258
264
|
export * from './PaginatedReputationList';
|
|
@@ -311,6 +317,7 @@ export * from './PatchedDummyPolicyRequest';
|
|
|
311
317
|
export * from './PatchedDummyStageRequest';
|
|
312
318
|
export * from './PatchedDuoDeviceRequest';
|
|
313
319
|
export * from './PatchedEmailStageRequest';
|
|
320
|
+
export * from './PatchedEndpointRequest';
|
|
314
321
|
export * from './PatchedEventMatcherPolicyRequest';
|
|
315
322
|
export * from './PatchedEventRequest';
|
|
316
323
|
export * from './PatchedExpressionPolicyRequest';
|
|
@@ -342,6 +349,8 @@ export * from './PatchedPolicyBindingRequest';
|
|
|
342
349
|
export * from './PatchedPromptRequest';
|
|
343
350
|
export * from './PatchedPromptStageRequest';
|
|
344
351
|
export * from './PatchedProxyProviderRequest';
|
|
352
|
+
export * from './PatchedRACPropertyMappingRequest';
|
|
353
|
+
export * from './PatchedRACProviderRequest';
|
|
345
354
|
export * from './PatchedRadiusProviderRequest';
|
|
346
355
|
export * from './PatchedReputationPolicyRequest';
|
|
347
356
|
export * from './PatchedRoleRequest';
|
|
@@ -390,6 +399,7 @@ export * from './PromptTypeEnum';
|
|
|
390
399
|
export * from './PropertyMapping';
|
|
391
400
|
export * from './PropertyMappingPreview';
|
|
392
401
|
export * from './PropertyMappingTestResult';
|
|
402
|
+
export * from './ProtocolEnum';
|
|
393
403
|
export * from './Provider';
|
|
394
404
|
export * from './ProviderEnum';
|
|
395
405
|
export * from './ProviderModelEnum';
|
|
@@ -399,6 +409,10 @@ export * from './ProxyMode';
|
|
|
399
409
|
export * from './ProxyOutpostConfig';
|
|
400
410
|
export * from './ProxyProvider';
|
|
401
411
|
export * from './ProxyProviderRequest';
|
|
412
|
+
export * from './RACPropertyMapping';
|
|
413
|
+
export * from './RACPropertyMappingRequest';
|
|
414
|
+
export * from './RACProvider';
|
|
415
|
+
export * from './RACProviderRequest';
|
|
402
416
|
export * from './RadiusOutpostConfig';
|
|
403
417
|
export * from './RadiusProvider';
|
|
404
418
|
export * from './RadiusProviderRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export * from './AppleChallengeResponseRequest';
|
|
|
7
7
|
export * from './AppleLoginChallenge';
|
|
8
8
|
export * from './Application';
|
|
9
9
|
export * from './ApplicationRequest';
|
|
10
|
+
export * from './AuthModeEnum';
|
|
10
11
|
export * from './AuthTypeEnum';
|
|
11
12
|
export * from './AuthenticateWebAuthnStage';
|
|
12
13
|
export * from './AuthenticateWebAuthnStageRequest';
|
|
@@ -100,6 +101,8 @@ export * from './EmailChallenge';
|
|
|
100
101
|
export * from './EmailChallengeResponseRequest';
|
|
101
102
|
export * from './EmailStage';
|
|
102
103
|
export * from './EmailStageRequest';
|
|
104
|
+
export * from './Endpoint';
|
|
105
|
+
export * from './EndpointRequest';
|
|
103
106
|
export * from './ErrorDetail';
|
|
104
107
|
export * from './ErrorReportingConfig';
|
|
105
108
|
export * from './Event';
|
|
@@ -216,6 +219,7 @@ export * from './PaginatedDummyPolicyList';
|
|
|
216
219
|
export * from './PaginatedDummyStageList';
|
|
217
220
|
export * from './PaginatedDuoDeviceList';
|
|
218
221
|
export * from './PaginatedEmailStageList';
|
|
222
|
+
export * from './PaginatedEndpointList';
|
|
219
223
|
export * from './PaginatedEventList';
|
|
220
224
|
export * from './PaginatedEventMatcherPolicyList';
|
|
221
225
|
export * from './PaginatedExpiringBaseGrantModelList';
|
|
@@ -255,6 +259,8 @@ export * from './PaginatedPropertyMappingList';
|
|
|
255
259
|
export * from './PaginatedProviderList';
|
|
256
260
|
export * from './PaginatedProxyOutpostConfigList';
|
|
257
261
|
export * from './PaginatedProxyProviderList';
|
|
262
|
+
export * from './PaginatedRACPropertyMappingList';
|
|
263
|
+
export * from './PaginatedRACProviderList';
|
|
258
264
|
export * from './PaginatedRadiusOutpostConfigList';
|
|
259
265
|
export * from './PaginatedRadiusProviderList';
|
|
260
266
|
export * from './PaginatedReputationList';
|
|
@@ -313,6 +319,7 @@ export * from './PatchedDummyPolicyRequest';
|
|
|
313
319
|
export * from './PatchedDummyStageRequest';
|
|
314
320
|
export * from './PatchedDuoDeviceRequest';
|
|
315
321
|
export * from './PatchedEmailStageRequest';
|
|
322
|
+
export * from './PatchedEndpointRequest';
|
|
316
323
|
export * from './PatchedEventMatcherPolicyRequest';
|
|
317
324
|
export * from './PatchedEventRequest';
|
|
318
325
|
export * from './PatchedExpressionPolicyRequest';
|
|
@@ -344,6 +351,8 @@ export * from './PatchedPolicyBindingRequest';
|
|
|
344
351
|
export * from './PatchedPromptRequest';
|
|
345
352
|
export * from './PatchedPromptStageRequest';
|
|
346
353
|
export * from './PatchedProxyProviderRequest';
|
|
354
|
+
export * from './PatchedRACPropertyMappingRequest';
|
|
355
|
+
export * from './PatchedRACProviderRequest';
|
|
347
356
|
export * from './PatchedRadiusProviderRequest';
|
|
348
357
|
export * from './PatchedReputationPolicyRequest';
|
|
349
358
|
export * from './PatchedRoleRequest';
|
|
@@ -392,6 +401,7 @@ export * from './PromptTypeEnum';
|
|
|
392
401
|
export * from './PropertyMapping';
|
|
393
402
|
export * from './PropertyMappingPreview';
|
|
394
403
|
export * from './PropertyMappingTestResult';
|
|
404
|
+
export * from './ProtocolEnum';
|
|
395
405
|
export * from './Provider';
|
|
396
406
|
export * from './ProviderEnum';
|
|
397
407
|
export * from './ProviderModelEnum';
|
|
@@ -401,6 +411,10 @@ export * from './ProxyMode';
|
|
|
401
411
|
export * from './ProxyOutpostConfig';
|
|
402
412
|
export * from './ProxyProvider';
|
|
403
413
|
export * from './ProxyProviderRequest';
|
|
414
|
+
export * from './RACPropertyMapping';
|
|
415
|
+
export * from './RACPropertyMappingRequest';
|
|
416
|
+
export * from './RACProvider';
|
|
417
|
+
export * from './RACProviderRequest';
|
|
404
418
|
export * from './RadiusOutpostConfig';
|
|
405
419
|
export * from './RadiusProvider';
|
|
406
420
|
export * from './RadiusProviderRequest';
|
package/dist/models/AppEnum.d.ts
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
* * `authentik.blueprints` - authentik Blueprints
|
|
60
60
|
* * `authentik.core` - authentik Core
|
|
61
61
|
* * `authentik.enterprise` - authentik Enterprise
|
|
62
|
+
* * `authentik.enterprise.providers.rac` - authentik Enterprise.Providers.RAC
|
|
62
63
|
* @export
|
|
63
64
|
*/
|
|
64
65
|
export declare const AppEnum: {
|
|
@@ -111,6 +112,7 @@ export declare const AppEnum: {
|
|
|
111
112
|
readonly Blueprints: "authentik.blueprints";
|
|
112
113
|
readonly Core: "authentik.core";
|
|
113
114
|
readonly Enterprise: "authentik.enterprise";
|
|
115
|
+
readonly EnterpriseProvidersRac: "authentik.enterprise.providers.rac";
|
|
114
116
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
115
117
|
};
|
|
116
118
|
export type AppEnum = typeof AppEnum[keyof typeof AppEnum];
|