@goauthentik/api 2022.4.1-1652170643 → 2022.4.1-1652171189
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 +1 -2
- package/dist/esm/models/LDAPAPIAccessMode.d.ts +23 -0
- package/dist/esm/models/{BindModeEnum.js → LDAPAPIAccessMode.js} +5 -5
- package/dist/esm/models/LDAPOutpostConfig.d.ts +5 -6
- package/dist/esm/models/LDAPOutpostConfig.js +5 -6
- package/dist/esm/models/LDAPProvider.d.ts +5 -6
- package/dist/esm/models/LDAPProvider.js +5 -6
- package/dist/esm/models/LDAPProviderRequest.d.ts +5 -6
- package/dist/esm/models/LDAPProviderRequest.js +5 -6
- package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +5 -6
- package/dist/esm/models/PatchedLDAPProviderRequest.js +5 -6
- package/dist/esm/models/index.d.ts +1 -2
- package/dist/esm/models/index.js +1 -2
- package/dist/models/LDAPAPIAccessMode.d.ts +23 -0
- package/dist/models/LDAPAPIAccessMode.js +36 -0
- package/dist/models/LDAPOutpostConfig.d.ts +5 -6
- package/dist/models/LDAPOutpostConfig.js +5 -6
- package/dist/models/LDAPProvider.d.ts +5 -6
- package/dist/models/LDAPProvider.js +5 -6
- package/dist/models/LDAPProviderRequest.d.ts +5 -6
- package/dist/models/LDAPProviderRequest.js +5 -6
- package/dist/models/PatchedLDAPProviderRequest.d.ts +5 -6
- package/dist/models/PatchedLDAPProviderRequest.js +5 -6
- package/dist/models/index.d.ts +1 -2
- package/dist/models/index.js +1 -2
- package/package.json +1 -1
- package/src/models/LDAPAPIAccessMode.ts +39 -0
- package/src/models/LDAPOutpostConfig.ts +13 -19
- package/src/models/LDAPProvider.ts +13 -19
- package/src/models/LDAPProviderRequest.ts +13 -19
- package/src/models/PatchedLDAPProviderRequest.ts +13 -19
- package/src/models/index.ts +1 -2
- package/dist/esm/models/BindModeEnum.d.ts +0 -23
- package/dist/esm/models/SearchModeEnum.d.ts +0 -23
- package/dist/esm/models/SearchModeEnum.js +0 -30
- package/dist/models/BindModeEnum.d.ts +0 -23
- package/dist/models/BindModeEnum.js +0 -36
- package/dist/models/SearchModeEnum.d.ts +0 -23
- package/dist/models/SearchModeEnum.js +0 -36
- package/src/models/BindModeEnum.ts +0 -39
- package/src/models/SearchModeEnum.ts +0 -39
package/.openapi-generator/FILES
CHANGED
|
@@ -62,7 +62,6 @@ src/models/AuthenticatorWebAuthnChallengeResponseRequest.ts
|
|
|
62
62
|
src/models/AutoSubmitChallengeResponseRequest.ts
|
|
63
63
|
src/models/AutosubmitChallenge.ts
|
|
64
64
|
src/models/BackendsEnum.ts
|
|
65
|
-
src/models/BindModeEnum.ts
|
|
66
65
|
src/models/BindingTypeEnum.ts
|
|
67
66
|
src/models/Cache.ts
|
|
68
67
|
src/models/CapabilitiesEnum.ts
|
|
@@ -150,6 +149,7 @@ src/models/InvitationStageRequest.ts
|
|
|
150
149
|
src/models/IssuerModeEnum.ts
|
|
151
150
|
src/models/KubernetesServiceConnection.ts
|
|
152
151
|
src/models/KubernetesServiceConnectionRequest.ts
|
|
152
|
+
src/models/LDAPAPIAccessMode.ts
|
|
153
153
|
src/models/LDAPOutpostConfig.ts
|
|
154
154
|
src/models/LDAPPropertyMapping.ts
|
|
155
155
|
src/models/LDAPPropertyMappingRequest.ts
|
|
@@ -382,7 +382,6 @@ src/models/SMSDevice.ts
|
|
|
382
382
|
src/models/SMSDeviceRequest.ts
|
|
383
383
|
src/models/ScopeMapping.ts
|
|
384
384
|
src/models/ScopeMappingRequest.ts
|
|
385
|
-
src/models/SearchModeEnum.ts
|
|
386
385
|
src/models/SelectableStage.ts
|
|
387
386
|
src/models/ServiceConnection.ts
|
|
388
387
|
src/models/ServiceConnectionRequest.ts
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022.4.1
|
|
6
|
+
* Contact: hello@beryju.org
|
|
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 LDAPAPIAccessMode: {
|
|
17
|
+
readonly Direct: "direct";
|
|
18
|
+
readonly Cached: "cached";
|
|
19
|
+
};
|
|
20
|
+
export declare type LDAPAPIAccessMode = typeof LDAPAPIAccessMode[keyof typeof LDAPAPIAccessMode];
|
|
21
|
+
export declare function LDAPAPIAccessModeFromJSON(json: any): LDAPAPIAccessMode;
|
|
22
|
+
export declare function LDAPAPIAccessModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPAPIAccessMode;
|
|
23
|
+
export declare function LDAPAPIAccessModeToJSON(value?: LDAPAPIAccessMode | null): any;
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
18
|
+
export const LDAPAPIAccessMode = {
|
|
19
19
|
Direct: 'direct',
|
|
20
20
|
Cached: 'cached'
|
|
21
21
|
};
|
|
22
|
-
export function
|
|
23
|
-
return
|
|
22
|
+
export function LDAPAPIAccessModeFromJSON(json) {
|
|
23
|
+
return LDAPAPIAccessModeFromJSONTyped(json, false);
|
|
24
24
|
}
|
|
25
|
-
export function
|
|
25
|
+
export function LDAPAPIAccessModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
26
|
return json;
|
|
27
27
|
}
|
|
28
|
-
export function
|
|
28
|
+
export function LDAPAPIAccessModeToJSON(value) {
|
|
29
29
|
return value;
|
|
30
30
|
}
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { SearchModeEnum } from './SearchModeEnum';
|
|
12
|
+
import { LDAPAPIAccessMode } from './LDAPAPIAccessMode';
|
|
14
13
|
/**
|
|
15
14
|
* LDAPProvider Serializer
|
|
16
15
|
* @export
|
|
@@ -79,16 +78,16 @@ export interface LDAPOutpostConfig {
|
|
|
79
78
|
gidStartNumber?: number;
|
|
80
79
|
/**
|
|
81
80
|
*
|
|
82
|
-
* @type {
|
|
81
|
+
* @type {LDAPAPIAccessMode}
|
|
83
82
|
* @memberof LDAPOutpostConfig
|
|
84
83
|
*/
|
|
85
|
-
searchMode?:
|
|
84
|
+
searchMode?: LDAPAPIAccessMode;
|
|
86
85
|
/**
|
|
87
86
|
*
|
|
88
|
-
* @type {
|
|
87
|
+
* @type {LDAPAPIAccessMode}
|
|
89
88
|
* @memberof LDAPOutpostConfig
|
|
90
89
|
*/
|
|
91
|
-
bindMode?:
|
|
90
|
+
bindMode?: LDAPAPIAccessMode;
|
|
92
91
|
}
|
|
93
92
|
export declare function LDAPOutpostConfigFromJSON(json: any): LDAPOutpostConfig;
|
|
94
93
|
export declare function LDAPOutpostConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPOutpostConfig;
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
16
|
-
import { SearchModeEnumFromJSON, SearchModeEnumToJSON, } from './SearchModeEnum';
|
|
15
|
+
import { LDAPAPIAccessModeFromJSON, LDAPAPIAccessModeToJSON, } from './LDAPAPIAccessMode';
|
|
17
16
|
export function LDAPOutpostConfigFromJSON(json) {
|
|
18
17
|
return LDAPOutpostConfigFromJSONTyped(json, false);
|
|
19
18
|
}
|
|
@@ -32,8 +31,8 @@ export function LDAPOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
31
|
'tlsServerName': !exists(json, 'tls_server_name') ? undefined : json['tls_server_name'],
|
|
33
32
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
34
33
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
35
|
-
'searchMode': !exists(json, 'search_mode') ? undefined :
|
|
36
|
-
'bindMode': !exists(json, 'bind_mode') ? undefined :
|
|
34
|
+
'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
35
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
38
|
export function LDAPOutpostConfigToJSON(value) {
|
|
@@ -53,7 +52,7 @@ export function LDAPOutpostConfigToJSON(value) {
|
|
|
53
52
|
'tls_server_name': value.tlsServerName,
|
|
54
53
|
'uid_start_number': value.uidStartNumber,
|
|
55
54
|
'gid_start_number': value.gidStartNumber,
|
|
56
|
-
'search_mode':
|
|
57
|
-
'bind_mode':
|
|
55
|
+
'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
|
|
56
|
+
'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
|
|
58
57
|
};
|
|
59
58
|
}
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { SearchModeEnum } from './SearchModeEnum';
|
|
12
|
+
import { LDAPAPIAccessMode } from './LDAPAPIAccessMode';
|
|
14
13
|
/**
|
|
15
14
|
* LDAPProvider Serializer
|
|
16
15
|
* @export
|
|
@@ -121,16 +120,16 @@ export interface LDAPProvider {
|
|
|
121
120
|
readonly outpostSet: Array<string>;
|
|
122
121
|
/**
|
|
123
122
|
*
|
|
124
|
-
* @type {
|
|
123
|
+
* @type {LDAPAPIAccessMode}
|
|
125
124
|
* @memberof LDAPProvider
|
|
126
125
|
*/
|
|
127
|
-
searchMode?:
|
|
126
|
+
searchMode?: LDAPAPIAccessMode;
|
|
128
127
|
/**
|
|
129
128
|
*
|
|
130
|
-
* @type {
|
|
129
|
+
* @type {LDAPAPIAccessMode}
|
|
131
130
|
* @memberof LDAPProvider
|
|
132
131
|
*/
|
|
133
|
-
bindMode?:
|
|
132
|
+
bindMode?: LDAPAPIAccessMode;
|
|
134
133
|
}
|
|
135
134
|
export declare function LDAPProviderFromJSON(json: any): LDAPProvider;
|
|
136
135
|
export declare function LDAPProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPProvider;
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
16
|
-
import { SearchModeEnumFromJSON, SearchModeEnumToJSON, } from './SearchModeEnum';
|
|
15
|
+
import { LDAPAPIAccessModeFromJSON, LDAPAPIAccessModeToJSON, } from './LDAPAPIAccessMode';
|
|
17
16
|
export function LDAPProviderFromJSON(json) {
|
|
18
17
|
return LDAPProviderFromJSONTyped(json, false);
|
|
19
18
|
}
|
|
@@ -39,8 +38,8 @@ export function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
38
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
40
39
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
41
40
|
'outpostSet': json['outpost_set'],
|
|
42
|
-
'searchMode': !exists(json, 'search_mode') ? undefined :
|
|
43
|
-
'bindMode': !exists(json, 'bind_mode') ? undefined :
|
|
41
|
+
'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
42
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
44
43
|
};
|
|
45
44
|
}
|
|
46
45
|
export function LDAPProviderToJSON(value) {
|
|
@@ -60,7 +59,7 @@ export function LDAPProviderToJSON(value) {
|
|
|
60
59
|
'tls_server_name': value.tlsServerName,
|
|
61
60
|
'uid_start_number': value.uidStartNumber,
|
|
62
61
|
'gid_start_number': value.gidStartNumber,
|
|
63
|
-
'search_mode':
|
|
64
|
-
'bind_mode':
|
|
62
|
+
'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
|
|
63
|
+
'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
|
|
65
64
|
};
|
|
66
65
|
}
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { SearchModeEnum } from './SearchModeEnum';
|
|
12
|
+
import { LDAPAPIAccessMode } from './LDAPAPIAccessMode';
|
|
14
13
|
/**
|
|
15
14
|
* LDAPProvider Serializer
|
|
16
15
|
* @export
|
|
@@ -73,16 +72,16 @@ export interface LDAPProviderRequest {
|
|
|
73
72
|
gidStartNumber?: number;
|
|
74
73
|
/**
|
|
75
74
|
*
|
|
76
|
-
* @type {
|
|
75
|
+
* @type {LDAPAPIAccessMode}
|
|
77
76
|
* @memberof LDAPProviderRequest
|
|
78
77
|
*/
|
|
79
|
-
searchMode?:
|
|
78
|
+
searchMode?: LDAPAPIAccessMode;
|
|
80
79
|
/**
|
|
81
80
|
*
|
|
82
|
-
* @type {
|
|
81
|
+
* @type {LDAPAPIAccessMode}
|
|
83
82
|
* @memberof LDAPProviderRequest
|
|
84
83
|
*/
|
|
85
|
-
bindMode?:
|
|
84
|
+
bindMode?: LDAPAPIAccessMode;
|
|
86
85
|
}
|
|
87
86
|
export declare function LDAPProviderRequestFromJSON(json: any): LDAPProviderRequest;
|
|
88
87
|
export declare function LDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPProviderRequest;
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
16
|
-
import { SearchModeEnumFromJSON, SearchModeEnumToJSON, } from './SearchModeEnum';
|
|
15
|
+
import { LDAPAPIAccessModeFromJSON, LDAPAPIAccessModeToJSON, } from './LDAPAPIAccessMode';
|
|
17
16
|
export function LDAPProviderRequestFromJSON(json) {
|
|
18
17
|
return LDAPProviderRequestFromJSONTyped(json, false);
|
|
19
18
|
}
|
|
@@ -31,8 +30,8 @@ export function LDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
30
|
'tlsServerName': !exists(json, 'tls_server_name') ? undefined : json['tls_server_name'],
|
|
32
31
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
33
32
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
34
|
-
'searchMode': !exists(json, 'search_mode') ? undefined :
|
|
35
|
-
'bindMode': !exists(json, 'bind_mode') ? undefined :
|
|
33
|
+
'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
34
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
export function LDAPProviderRequestToJSON(value) {
|
|
@@ -52,7 +51,7 @@ export function LDAPProviderRequestToJSON(value) {
|
|
|
52
51
|
'tls_server_name': value.tlsServerName,
|
|
53
52
|
'uid_start_number': value.uidStartNumber,
|
|
54
53
|
'gid_start_number': value.gidStartNumber,
|
|
55
|
-
'search_mode':
|
|
56
|
-
'bind_mode':
|
|
54
|
+
'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
|
|
55
|
+
'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
|
|
57
56
|
};
|
|
58
57
|
}
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { SearchModeEnum } from './SearchModeEnum';
|
|
12
|
+
import { LDAPAPIAccessMode } from './LDAPAPIAccessMode';
|
|
14
13
|
/**
|
|
15
14
|
* LDAPProvider Serializer
|
|
16
15
|
* @export
|
|
@@ -73,16 +72,16 @@ export interface PatchedLDAPProviderRequest {
|
|
|
73
72
|
gidStartNumber?: number;
|
|
74
73
|
/**
|
|
75
74
|
*
|
|
76
|
-
* @type {
|
|
75
|
+
* @type {LDAPAPIAccessMode}
|
|
77
76
|
* @memberof PatchedLDAPProviderRequest
|
|
78
77
|
*/
|
|
79
|
-
searchMode?:
|
|
78
|
+
searchMode?: LDAPAPIAccessMode;
|
|
80
79
|
/**
|
|
81
80
|
*
|
|
82
|
-
* @type {
|
|
81
|
+
* @type {LDAPAPIAccessMode}
|
|
83
82
|
* @memberof PatchedLDAPProviderRequest
|
|
84
83
|
*/
|
|
85
|
-
bindMode?:
|
|
84
|
+
bindMode?: LDAPAPIAccessMode;
|
|
86
85
|
}
|
|
87
86
|
export declare function PatchedLDAPProviderRequestFromJSON(json: any): PatchedLDAPProviderRequest;
|
|
88
87
|
export declare function PatchedLDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPProviderRequest;
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
16
|
-
import { SearchModeEnumFromJSON, SearchModeEnumToJSON, } from './SearchModeEnum';
|
|
15
|
+
import { LDAPAPIAccessModeFromJSON, LDAPAPIAccessModeToJSON, } from './LDAPAPIAccessMode';
|
|
17
16
|
export function PatchedLDAPProviderRequestFromJSON(json) {
|
|
18
17
|
return PatchedLDAPProviderRequestFromJSONTyped(json, false);
|
|
19
18
|
}
|
|
@@ -31,8 +30,8 @@ export function PatchedLDAPProviderRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
31
30
|
'tlsServerName': !exists(json, 'tls_server_name') ? undefined : json['tls_server_name'],
|
|
32
31
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
33
32
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
34
|
-
'searchMode': !exists(json, 'search_mode') ? undefined :
|
|
35
|
-
'bindMode': !exists(json, 'bind_mode') ? undefined :
|
|
33
|
+
'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
34
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
export function PatchedLDAPProviderRequestToJSON(value) {
|
|
@@ -52,7 +51,7 @@ export function PatchedLDAPProviderRequestToJSON(value) {
|
|
|
52
51
|
'tls_server_name': value.tlsServerName,
|
|
53
52
|
'uid_start_number': value.uidStartNumber,
|
|
54
53
|
'gid_start_number': value.gidStartNumber,
|
|
55
|
-
'search_mode':
|
|
56
|
-
'bind_mode':
|
|
54
|
+
'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
|
|
55
|
+
'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
|
|
57
56
|
};
|
|
58
57
|
}
|
|
@@ -40,7 +40,6 @@ export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
|
40
40
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
41
41
|
export * from './AutosubmitChallenge';
|
|
42
42
|
export * from './BackendsEnum';
|
|
43
|
-
export * from './BindModeEnum';
|
|
44
43
|
export * from './BindingTypeEnum';
|
|
45
44
|
export * from './Cache';
|
|
46
45
|
export * from './CapabilitiesEnum';
|
|
@@ -128,6 +127,7 @@ export * from './InvitationStageRequest';
|
|
|
128
127
|
export * from './IssuerModeEnum';
|
|
129
128
|
export * from './KubernetesServiceConnection';
|
|
130
129
|
export * from './KubernetesServiceConnectionRequest';
|
|
130
|
+
export * from './LDAPAPIAccessMode';
|
|
131
131
|
export * from './LDAPOutpostConfig';
|
|
132
132
|
export * from './LDAPPropertyMapping';
|
|
133
133
|
export * from './LDAPPropertyMappingRequest';
|
|
@@ -360,7 +360,6 @@ export * from './SMSDevice';
|
|
|
360
360
|
export * from './SMSDeviceRequest';
|
|
361
361
|
export * from './ScopeMapping';
|
|
362
362
|
export * from './ScopeMappingRequest';
|
|
363
|
-
export * from './SearchModeEnum';
|
|
364
363
|
export * from './SelectableStage';
|
|
365
364
|
export * from './ServiceConnection';
|
|
366
365
|
export * from './ServiceConnectionRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -42,7 +42,6 @@ export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
|
42
42
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
43
43
|
export * from './AutosubmitChallenge';
|
|
44
44
|
export * from './BackendsEnum';
|
|
45
|
-
export * from './BindModeEnum';
|
|
46
45
|
export * from './BindingTypeEnum';
|
|
47
46
|
export * from './Cache';
|
|
48
47
|
export * from './CapabilitiesEnum';
|
|
@@ -130,6 +129,7 @@ export * from './InvitationStageRequest';
|
|
|
130
129
|
export * from './IssuerModeEnum';
|
|
131
130
|
export * from './KubernetesServiceConnection';
|
|
132
131
|
export * from './KubernetesServiceConnectionRequest';
|
|
132
|
+
export * from './LDAPAPIAccessMode';
|
|
133
133
|
export * from './LDAPOutpostConfig';
|
|
134
134
|
export * from './LDAPPropertyMapping';
|
|
135
135
|
export * from './LDAPPropertyMappingRequest';
|
|
@@ -362,7 +362,6 @@ export * from './SMSDevice';
|
|
|
362
362
|
export * from './SMSDeviceRequest';
|
|
363
363
|
export * from './ScopeMapping';
|
|
364
364
|
export * from './ScopeMappingRequest';
|
|
365
|
-
export * from './SearchModeEnum';
|
|
366
365
|
export * from './SelectableStage';
|
|
367
366
|
export * from './ServiceConnection';
|
|
368
367
|
export * from './ServiceConnectionRequest';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022.4.1
|
|
6
|
+
* Contact: hello@beryju.org
|
|
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 LDAPAPIAccessMode: {
|
|
17
|
+
readonly Direct: "direct";
|
|
18
|
+
readonly Cached: "cached";
|
|
19
|
+
};
|
|
20
|
+
export declare type LDAPAPIAccessMode = typeof LDAPAPIAccessMode[keyof typeof LDAPAPIAccessMode];
|
|
21
|
+
export declare function LDAPAPIAccessModeFromJSON(json: any): LDAPAPIAccessMode;
|
|
22
|
+
export declare function LDAPAPIAccessModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPAPIAccessMode;
|
|
23
|
+
export declare function LDAPAPIAccessModeToJSON(value?: LDAPAPIAccessMode | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022.4.1
|
|
9
|
+
* Contact: hello@beryju.org
|
|
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.LDAPAPIAccessModeToJSON = exports.LDAPAPIAccessModeFromJSONTyped = exports.LDAPAPIAccessModeFromJSON = exports.LDAPAPIAccessMode = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.LDAPAPIAccessMode = {
|
|
22
|
+
Direct: 'direct',
|
|
23
|
+
Cached: 'cached'
|
|
24
|
+
};
|
|
25
|
+
function LDAPAPIAccessModeFromJSON(json) {
|
|
26
|
+
return LDAPAPIAccessModeFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.LDAPAPIAccessModeFromJSON = LDAPAPIAccessModeFromJSON;
|
|
29
|
+
function LDAPAPIAccessModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
exports.LDAPAPIAccessModeFromJSONTyped = LDAPAPIAccessModeFromJSONTyped;
|
|
33
|
+
function LDAPAPIAccessModeToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
exports.LDAPAPIAccessModeToJSON = LDAPAPIAccessModeToJSON;
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { SearchModeEnum } from './SearchModeEnum';
|
|
12
|
+
import { LDAPAPIAccessMode } from './LDAPAPIAccessMode';
|
|
14
13
|
/**
|
|
15
14
|
* LDAPProvider Serializer
|
|
16
15
|
* @export
|
|
@@ -79,16 +78,16 @@ export interface LDAPOutpostConfig {
|
|
|
79
78
|
gidStartNumber?: number;
|
|
80
79
|
/**
|
|
81
80
|
*
|
|
82
|
-
* @type {
|
|
81
|
+
* @type {LDAPAPIAccessMode}
|
|
83
82
|
* @memberof LDAPOutpostConfig
|
|
84
83
|
*/
|
|
85
|
-
searchMode?:
|
|
84
|
+
searchMode?: LDAPAPIAccessMode;
|
|
86
85
|
/**
|
|
87
86
|
*
|
|
88
|
-
* @type {
|
|
87
|
+
* @type {LDAPAPIAccessMode}
|
|
89
88
|
* @memberof LDAPOutpostConfig
|
|
90
89
|
*/
|
|
91
|
-
bindMode?:
|
|
90
|
+
bindMode?: LDAPAPIAccessMode;
|
|
92
91
|
}
|
|
93
92
|
export declare function LDAPOutpostConfigFromJSON(json: any): LDAPOutpostConfig;
|
|
94
93
|
export declare function LDAPOutpostConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPOutpostConfig;
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.LDAPOutpostConfigToJSON = exports.LDAPOutpostConfigFromJSONTyped = exports.LDAPOutpostConfigFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
19
|
-
const SearchModeEnum_1 = require("./SearchModeEnum");
|
|
18
|
+
const LDAPAPIAccessMode_1 = require("./LDAPAPIAccessMode");
|
|
20
19
|
function LDAPOutpostConfigFromJSON(json) {
|
|
21
20
|
return LDAPOutpostConfigFromJSONTyped(json, false);
|
|
22
21
|
}
|
|
@@ -36,8 +35,8 @@ function LDAPOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
35
|
'tlsServerName': !runtime_1.exists(json, 'tls_server_name') ? undefined : json['tls_server_name'],
|
|
37
36
|
'uidStartNumber': !runtime_1.exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
38
37
|
'gidStartNumber': !runtime_1.exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
39
|
-
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined :
|
|
40
|
-
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined :
|
|
38
|
+
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined : LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
39
|
+
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined : LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
42
|
exports.LDAPOutpostConfigFromJSONTyped = LDAPOutpostConfigFromJSONTyped;
|
|
@@ -58,8 +57,8 @@ function LDAPOutpostConfigToJSON(value) {
|
|
|
58
57
|
'tls_server_name': value.tlsServerName,
|
|
59
58
|
'uid_start_number': value.uidStartNumber,
|
|
60
59
|
'gid_start_number': value.gidStartNumber,
|
|
61
|
-
'search_mode':
|
|
62
|
-
'bind_mode':
|
|
60
|
+
'search_mode': LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON(value.searchMode),
|
|
61
|
+
'bind_mode': LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON(value.bindMode),
|
|
63
62
|
};
|
|
64
63
|
}
|
|
65
64
|
exports.LDAPOutpostConfigToJSON = LDAPOutpostConfigToJSON;
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { SearchModeEnum } from './SearchModeEnum';
|
|
12
|
+
import { LDAPAPIAccessMode } from './LDAPAPIAccessMode';
|
|
14
13
|
/**
|
|
15
14
|
* LDAPProvider Serializer
|
|
16
15
|
* @export
|
|
@@ -121,16 +120,16 @@ export interface LDAPProvider {
|
|
|
121
120
|
readonly outpostSet: Array<string>;
|
|
122
121
|
/**
|
|
123
122
|
*
|
|
124
|
-
* @type {
|
|
123
|
+
* @type {LDAPAPIAccessMode}
|
|
125
124
|
* @memberof LDAPProvider
|
|
126
125
|
*/
|
|
127
|
-
searchMode?:
|
|
126
|
+
searchMode?: LDAPAPIAccessMode;
|
|
128
127
|
/**
|
|
129
128
|
*
|
|
130
|
-
* @type {
|
|
129
|
+
* @type {LDAPAPIAccessMode}
|
|
131
130
|
* @memberof LDAPProvider
|
|
132
131
|
*/
|
|
133
|
-
bindMode?:
|
|
132
|
+
bindMode?: LDAPAPIAccessMode;
|
|
134
133
|
}
|
|
135
134
|
export declare function LDAPProviderFromJSON(json: any): LDAPProvider;
|
|
136
135
|
export declare function LDAPProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPProvider;
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.LDAPProviderToJSON = exports.LDAPProviderFromJSONTyped = exports.LDAPProviderFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
19
|
-
const SearchModeEnum_1 = require("./SearchModeEnum");
|
|
18
|
+
const LDAPAPIAccessMode_1 = require("./LDAPAPIAccessMode");
|
|
20
19
|
function LDAPProviderFromJSON(json) {
|
|
21
20
|
return LDAPProviderFromJSONTyped(json, false);
|
|
22
21
|
}
|
|
@@ -43,8 +42,8 @@ function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
42
|
'uidStartNumber': !runtime_1.exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
44
43
|
'gidStartNumber': !runtime_1.exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
45
44
|
'outpostSet': json['outpost_set'],
|
|
46
|
-
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined :
|
|
47
|
-
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined :
|
|
45
|
+
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined : LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
46
|
+
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined : LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
48
47
|
};
|
|
49
48
|
}
|
|
50
49
|
exports.LDAPProviderFromJSONTyped = LDAPProviderFromJSONTyped;
|
|
@@ -65,8 +64,8 @@ function LDAPProviderToJSON(value) {
|
|
|
65
64
|
'tls_server_name': value.tlsServerName,
|
|
66
65
|
'uid_start_number': value.uidStartNumber,
|
|
67
66
|
'gid_start_number': value.gidStartNumber,
|
|
68
|
-
'search_mode':
|
|
69
|
-
'bind_mode':
|
|
67
|
+
'search_mode': LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON(value.searchMode),
|
|
68
|
+
'bind_mode': LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON(value.bindMode),
|
|
70
69
|
};
|
|
71
70
|
}
|
|
72
71
|
exports.LDAPProviderToJSON = LDAPProviderToJSON;
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { SearchModeEnum } from './SearchModeEnum';
|
|
12
|
+
import { LDAPAPIAccessMode } from './LDAPAPIAccessMode';
|
|
14
13
|
/**
|
|
15
14
|
* LDAPProvider Serializer
|
|
16
15
|
* @export
|
|
@@ -73,16 +72,16 @@ export interface LDAPProviderRequest {
|
|
|
73
72
|
gidStartNumber?: number;
|
|
74
73
|
/**
|
|
75
74
|
*
|
|
76
|
-
* @type {
|
|
75
|
+
* @type {LDAPAPIAccessMode}
|
|
77
76
|
* @memberof LDAPProviderRequest
|
|
78
77
|
*/
|
|
79
|
-
searchMode?:
|
|
78
|
+
searchMode?: LDAPAPIAccessMode;
|
|
80
79
|
/**
|
|
81
80
|
*
|
|
82
|
-
* @type {
|
|
81
|
+
* @type {LDAPAPIAccessMode}
|
|
83
82
|
* @memberof LDAPProviderRequest
|
|
84
83
|
*/
|
|
85
|
-
bindMode?:
|
|
84
|
+
bindMode?: LDAPAPIAccessMode;
|
|
86
85
|
}
|
|
87
86
|
export declare function LDAPProviderRequestFromJSON(json: any): LDAPProviderRequest;
|
|
88
87
|
export declare function LDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPProviderRequest;
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.LDAPProviderRequestToJSON = exports.LDAPProviderRequestFromJSONTyped = exports.LDAPProviderRequestFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
19
|
-
const SearchModeEnum_1 = require("./SearchModeEnum");
|
|
18
|
+
const LDAPAPIAccessMode_1 = require("./LDAPAPIAccessMode");
|
|
20
19
|
function LDAPProviderRequestFromJSON(json) {
|
|
21
20
|
return LDAPProviderRequestFromJSONTyped(json, false);
|
|
22
21
|
}
|
|
@@ -35,8 +34,8 @@ function LDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
34
|
'tlsServerName': !runtime_1.exists(json, 'tls_server_name') ? undefined : json['tls_server_name'],
|
|
36
35
|
'uidStartNumber': !runtime_1.exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
37
36
|
'gidStartNumber': !runtime_1.exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
38
|
-
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined :
|
|
39
|
-
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined :
|
|
37
|
+
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined : LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
38
|
+
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined : LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
40
39
|
};
|
|
41
40
|
}
|
|
42
41
|
exports.LDAPProviderRequestFromJSONTyped = LDAPProviderRequestFromJSONTyped;
|
|
@@ -57,8 +56,8 @@ function LDAPProviderRequestToJSON(value) {
|
|
|
57
56
|
'tls_server_name': value.tlsServerName,
|
|
58
57
|
'uid_start_number': value.uidStartNumber,
|
|
59
58
|
'gid_start_number': value.gidStartNumber,
|
|
60
|
-
'search_mode':
|
|
61
|
-
'bind_mode':
|
|
59
|
+
'search_mode': LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON(value.searchMode),
|
|
60
|
+
'bind_mode': LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON(value.bindMode),
|
|
62
61
|
};
|
|
63
62
|
}
|
|
64
63
|
exports.LDAPProviderRequestToJSON = LDAPProviderRequestToJSON;
|