@goauthentik/api 2022.4.1-1650207200 → 2022.4.1-1652019098
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 -0
- package/dist/esm/models/BindModeEnum.d.ts +23 -0
- package/dist/esm/models/BindModeEnum.js +30 -0
- package/dist/esm/models/LDAPOutpostConfig.d.ts +7 -0
- package/dist/esm/models/LDAPOutpostConfig.js +3 -0
- package/dist/esm/models/LDAPProvider.d.ts +7 -0
- package/dist/esm/models/LDAPProvider.js +3 -0
- package/dist/esm/models/LDAPProviderRequest.d.ts +7 -0
- package/dist/esm/models/LDAPProviderRequest.js +3 -0
- package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +7 -0
- package/dist/esm/models/PatchedLDAPProviderRequest.js +3 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/BindModeEnum.d.ts +23 -0
- package/dist/models/BindModeEnum.js +36 -0
- package/dist/models/LDAPOutpostConfig.d.ts +7 -0
- package/dist/models/LDAPOutpostConfig.js +3 -0
- package/dist/models/LDAPProvider.d.ts +7 -0
- package/dist/models/LDAPProvider.js +3 -0
- package/dist/models/LDAPProviderRequest.d.ts +7 -0
- package/dist/models/LDAPProviderRequest.js +3 -0
- package/dist/models/PatchedLDAPProviderRequest.d.ts +7 -0
- package/dist/models/PatchedLDAPProviderRequest.js +3 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/BindModeEnum.ts +39 -0
- package/src/models/LDAPOutpostConfig.ts +14 -0
- package/src/models/LDAPProvider.ts +14 -0
- package/src/models/LDAPProviderRequest.ts +14 -0
- package/src/models/PatchedLDAPProviderRequest.ts +14 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -62,6 +62,7 @@ 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
|
|
65
66
|
src/models/BindingTypeEnum.ts
|
|
66
67
|
src/models/Cache.ts
|
|
67
68
|
src/models/CapabilitiesEnum.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 BindModeEnum: {
|
|
17
|
+
readonly Direct: "direct";
|
|
18
|
+
readonly Cached: "cached";
|
|
19
|
+
};
|
|
20
|
+
export declare type BindModeEnum = typeof BindModeEnum[keyof typeof BindModeEnum];
|
|
21
|
+
export declare function BindModeEnumFromJSON(json: any): BindModeEnum;
|
|
22
|
+
export declare function BindModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BindModeEnum;
|
|
23
|
+
export declare function BindModeEnumToJSON(value?: BindModeEnum | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022.4.1
|
|
8
|
+
* Contact: hello@beryju.org
|
|
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 BindModeEnum = {
|
|
19
|
+
Direct: 'direct',
|
|
20
|
+
Cached: 'cached'
|
|
21
|
+
};
|
|
22
|
+
export function BindModeEnumFromJSON(json) {
|
|
23
|
+
return BindModeEnumFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function BindModeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
export function BindModeEnumToJSON(value) {
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BindModeEnum } from './BindModeEnum';
|
|
12
13
|
import { SearchModeEnum } from './SearchModeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* LDAPProvider Serializer
|
|
@@ -82,6 +83,12 @@ export interface LDAPOutpostConfig {
|
|
|
82
83
|
* @memberof LDAPOutpostConfig
|
|
83
84
|
*/
|
|
84
85
|
searchMode?: SearchModeEnum;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {BindModeEnum}
|
|
89
|
+
* @memberof LDAPOutpostConfig
|
|
90
|
+
*/
|
|
91
|
+
bindMode?: BindModeEnum;
|
|
85
92
|
}
|
|
86
93
|
export declare function LDAPOutpostConfigFromJSON(json: any): LDAPOutpostConfig;
|
|
87
94
|
export declare function LDAPOutpostConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPOutpostConfig;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
+
import { BindModeEnumFromJSON, BindModeEnumToJSON, } from './BindModeEnum';
|
|
15
16
|
import { SearchModeEnumFromJSON, SearchModeEnumToJSON, } from './SearchModeEnum';
|
|
16
17
|
export function LDAPOutpostConfigFromJSON(json) {
|
|
17
18
|
return LDAPOutpostConfigFromJSONTyped(json, false);
|
|
@@ -32,6 +33,7 @@ export function LDAPOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
33
34
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
34
35
|
'searchMode': !exists(json, 'search_mode') ? undefined : SearchModeEnumFromJSON(json['search_mode']),
|
|
36
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : BindModeEnumFromJSON(json['bind_mode']),
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
export function LDAPOutpostConfigToJSON(value) {
|
|
@@ -52,5 +54,6 @@ export function LDAPOutpostConfigToJSON(value) {
|
|
|
52
54
|
'uid_start_number': value.uidStartNumber,
|
|
53
55
|
'gid_start_number': value.gidStartNumber,
|
|
54
56
|
'search_mode': SearchModeEnumToJSON(value.searchMode),
|
|
57
|
+
'bind_mode': BindModeEnumToJSON(value.bindMode),
|
|
55
58
|
};
|
|
56
59
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BindModeEnum } from './BindModeEnum';
|
|
12
13
|
import { SearchModeEnum } from './SearchModeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* LDAPProvider Serializer
|
|
@@ -124,6 +125,12 @@ export interface LDAPProvider {
|
|
|
124
125
|
* @memberof LDAPProvider
|
|
125
126
|
*/
|
|
126
127
|
searchMode?: SearchModeEnum;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {BindModeEnum}
|
|
131
|
+
* @memberof LDAPProvider
|
|
132
|
+
*/
|
|
133
|
+
bindMode?: BindModeEnum;
|
|
127
134
|
}
|
|
128
135
|
export declare function LDAPProviderFromJSON(json: any): LDAPProvider;
|
|
129
136
|
export declare function LDAPProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPProvider;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
+
import { BindModeEnumFromJSON, BindModeEnumToJSON, } from './BindModeEnum';
|
|
15
16
|
import { SearchModeEnumFromJSON, SearchModeEnumToJSON, } from './SearchModeEnum';
|
|
16
17
|
export function LDAPProviderFromJSON(json) {
|
|
17
18
|
return LDAPProviderFromJSONTyped(json, false);
|
|
@@ -39,6 +40,7 @@ export function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
40
41
|
'outpostSet': json['outpost_set'],
|
|
41
42
|
'searchMode': !exists(json, 'search_mode') ? undefined : SearchModeEnumFromJSON(json['search_mode']),
|
|
43
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : BindModeEnumFromJSON(json['bind_mode']),
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
export function LDAPProviderToJSON(value) {
|
|
@@ -59,5 +61,6 @@ export function LDAPProviderToJSON(value) {
|
|
|
59
61
|
'uid_start_number': value.uidStartNumber,
|
|
60
62
|
'gid_start_number': value.gidStartNumber,
|
|
61
63
|
'search_mode': SearchModeEnumToJSON(value.searchMode),
|
|
64
|
+
'bind_mode': BindModeEnumToJSON(value.bindMode),
|
|
62
65
|
};
|
|
63
66
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BindModeEnum } from './BindModeEnum';
|
|
12
13
|
import { SearchModeEnum } from './SearchModeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* LDAPProvider Serializer
|
|
@@ -76,6 +77,12 @@ export interface LDAPProviderRequest {
|
|
|
76
77
|
* @memberof LDAPProviderRequest
|
|
77
78
|
*/
|
|
78
79
|
searchMode?: SearchModeEnum;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {BindModeEnum}
|
|
83
|
+
* @memberof LDAPProviderRequest
|
|
84
|
+
*/
|
|
85
|
+
bindMode?: BindModeEnum;
|
|
79
86
|
}
|
|
80
87
|
export declare function LDAPProviderRequestFromJSON(json: any): LDAPProviderRequest;
|
|
81
88
|
export declare function LDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPProviderRequest;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
+
import { BindModeEnumFromJSON, BindModeEnumToJSON, } from './BindModeEnum';
|
|
15
16
|
import { SearchModeEnumFromJSON, SearchModeEnumToJSON, } from './SearchModeEnum';
|
|
16
17
|
export function LDAPProviderRequestFromJSON(json) {
|
|
17
18
|
return LDAPProviderRequestFromJSONTyped(json, false);
|
|
@@ -31,6 +32,7 @@ export function LDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
32
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
32
33
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
33
34
|
'searchMode': !exists(json, 'search_mode') ? undefined : SearchModeEnumFromJSON(json['search_mode']),
|
|
35
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : BindModeEnumFromJSON(json['bind_mode']),
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
export function LDAPProviderRequestToJSON(value) {
|
|
@@ -51,5 +53,6 @@ export function LDAPProviderRequestToJSON(value) {
|
|
|
51
53
|
'uid_start_number': value.uidStartNumber,
|
|
52
54
|
'gid_start_number': value.gidStartNumber,
|
|
53
55
|
'search_mode': SearchModeEnumToJSON(value.searchMode),
|
|
56
|
+
'bind_mode': BindModeEnumToJSON(value.bindMode),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BindModeEnum } from './BindModeEnum';
|
|
12
13
|
import { SearchModeEnum } from './SearchModeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* LDAPProvider Serializer
|
|
@@ -76,6 +77,12 @@ export interface PatchedLDAPProviderRequest {
|
|
|
76
77
|
* @memberof PatchedLDAPProviderRequest
|
|
77
78
|
*/
|
|
78
79
|
searchMode?: SearchModeEnum;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {BindModeEnum}
|
|
83
|
+
* @memberof PatchedLDAPProviderRequest
|
|
84
|
+
*/
|
|
85
|
+
bindMode?: BindModeEnum;
|
|
79
86
|
}
|
|
80
87
|
export declare function PatchedLDAPProviderRequestFromJSON(json: any): PatchedLDAPProviderRequest;
|
|
81
88
|
export declare function PatchedLDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPProviderRequest;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
+
import { BindModeEnumFromJSON, BindModeEnumToJSON, } from './BindModeEnum';
|
|
15
16
|
import { SearchModeEnumFromJSON, SearchModeEnumToJSON, } from './SearchModeEnum';
|
|
16
17
|
export function PatchedLDAPProviderRequestFromJSON(json) {
|
|
17
18
|
return PatchedLDAPProviderRequestFromJSONTyped(json, false);
|
|
@@ -31,6 +32,7 @@ export function PatchedLDAPProviderRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
31
32
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
32
33
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
33
34
|
'searchMode': !exists(json, 'search_mode') ? undefined : SearchModeEnumFromJSON(json['search_mode']),
|
|
35
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : BindModeEnumFromJSON(json['bind_mode']),
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
export function PatchedLDAPProviderRequestToJSON(value) {
|
|
@@ -51,5 +53,6 @@ export function PatchedLDAPProviderRequestToJSON(value) {
|
|
|
51
53
|
'uid_start_number': value.uidStartNumber,
|
|
52
54
|
'gid_start_number': value.gidStartNumber,
|
|
53
55
|
'search_mode': SearchModeEnumToJSON(value.searchMode),
|
|
56
|
+
'bind_mode': BindModeEnumToJSON(value.bindMode),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -40,6 +40,7 @@ export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
|
40
40
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
41
41
|
export * from './AutosubmitChallenge';
|
|
42
42
|
export * from './BackendsEnum';
|
|
43
|
+
export * from './BindModeEnum';
|
|
43
44
|
export * from './BindingTypeEnum';
|
|
44
45
|
export * from './Cache';
|
|
45
46
|
export * from './CapabilitiesEnum';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -42,6 +42,7 @@ export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
|
42
42
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
43
43
|
export * from './AutosubmitChallenge';
|
|
44
44
|
export * from './BackendsEnum';
|
|
45
|
+
export * from './BindModeEnum';
|
|
45
46
|
export * from './BindingTypeEnum';
|
|
46
47
|
export * from './Cache';
|
|
47
48
|
export * from './CapabilitiesEnum';
|
|
@@ -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 BindModeEnum: {
|
|
17
|
+
readonly Direct: "direct";
|
|
18
|
+
readonly Cached: "cached";
|
|
19
|
+
};
|
|
20
|
+
export declare type BindModeEnum = typeof BindModeEnum[keyof typeof BindModeEnum];
|
|
21
|
+
export declare function BindModeEnumFromJSON(json: any): BindModeEnum;
|
|
22
|
+
export declare function BindModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BindModeEnum;
|
|
23
|
+
export declare function BindModeEnumToJSON(value?: BindModeEnum | 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.BindModeEnumToJSON = exports.BindModeEnumFromJSONTyped = exports.BindModeEnumFromJSON = exports.BindModeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.BindModeEnum = {
|
|
22
|
+
Direct: 'direct',
|
|
23
|
+
Cached: 'cached'
|
|
24
|
+
};
|
|
25
|
+
function BindModeEnumFromJSON(json) {
|
|
26
|
+
return BindModeEnumFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.BindModeEnumFromJSON = BindModeEnumFromJSON;
|
|
29
|
+
function BindModeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
exports.BindModeEnumFromJSONTyped = BindModeEnumFromJSONTyped;
|
|
33
|
+
function BindModeEnumToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
exports.BindModeEnumToJSON = BindModeEnumToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BindModeEnum } from './BindModeEnum';
|
|
12
13
|
import { SearchModeEnum } from './SearchModeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* LDAPProvider Serializer
|
|
@@ -82,6 +83,12 @@ export interface LDAPOutpostConfig {
|
|
|
82
83
|
* @memberof LDAPOutpostConfig
|
|
83
84
|
*/
|
|
84
85
|
searchMode?: SearchModeEnum;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {BindModeEnum}
|
|
89
|
+
* @memberof LDAPOutpostConfig
|
|
90
|
+
*/
|
|
91
|
+
bindMode?: BindModeEnum;
|
|
85
92
|
}
|
|
86
93
|
export declare function LDAPOutpostConfigFromJSON(json: any): LDAPOutpostConfig;
|
|
87
94
|
export declare function LDAPOutpostConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPOutpostConfig;
|
|
@@ -15,6 +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 BindModeEnum_1 = require("./BindModeEnum");
|
|
18
19
|
const SearchModeEnum_1 = require("./SearchModeEnum");
|
|
19
20
|
function LDAPOutpostConfigFromJSON(json) {
|
|
20
21
|
return LDAPOutpostConfigFromJSONTyped(json, false);
|
|
@@ -36,6 +37,7 @@ function LDAPOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
'uidStartNumber': !runtime_1.exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
37
38
|
'gidStartNumber': !runtime_1.exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
38
39
|
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined : SearchModeEnum_1.SearchModeEnumFromJSON(json['search_mode']),
|
|
40
|
+
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined : BindModeEnum_1.BindModeEnumFromJSON(json['bind_mode']),
|
|
39
41
|
};
|
|
40
42
|
}
|
|
41
43
|
exports.LDAPOutpostConfigFromJSONTyped = LDAPOutpostConfigFromJSONTyped;
|
|
@@ -57,6 +59,7 @@ function LDAPOutpostConfigToJSON(value) {
|
|
|
57
59
|
'uid_start_number': value.uidStartNumber,
|
|
58
60
|
'gid_start_number': value.gidStartNumber,
|
|
59
61
|
'search_mode': SearchModeEnum_1.SearchModeEnumToJSON(value.searchMode),
|
|
62
|
+
'bind_mode': BindModeEnum_1.BindModeEnumToJSON(value.bindMode),
|
|
60
63
|
};
|
|
61
64
|
}
|
|
62
65
|
exports.LDAPOutpostConfigToJSON = LDAPOutpostConfigToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BindModeEnum } from './BindModeEnum';
|
|
12
13
|
import { SearchModeEnum } from './SearchModeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* LDAPProvider Serializer
|
|
@@ -124,6 +125,12 @@ export interface LDAPProvider {
|
|
|
124
125
|
* @memberof LDAPProvider
|
|
125
126
|
*/
|
|
126
127
|
searchMode?: SearchModeEnum;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {BindModeEnum}
|
|
131
|
+
* @memberof LDAPProvider
|
|
132
|
+
*/
|
|
133
|
+
bindMode?: BindModeEnum;
|
|
127
134
|
}
|
|
128
135
|
export declare function LDAPProviderFromJSON(json: any): LDAPProvider;
|
|
129
136
|
export declare function LDAPProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPProvider;
|
|
@@ -15,6 +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 BindModeEnum_1 = require("./BindModeEnum");
|
|
18
19
|
const SearchModeEnum_1 = require("./SearchModeEnum");
|
|
19
20
|
function LDAPProviderFromJSON(json) {
|
|
20
21
|
return LDAPProviderFromJSONTyped(json, false);
|
|
@@ -43,6 +44,7 @@ function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'gidStartNumber': !runtime_1.exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
44
45
|
'outpostSet': json['outpost_set'],
|
|
45
46
|
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined : SearchModeEnum_1.SearchModeEnumFromJSON(json['search_mode']),
|
|
47
|
+
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined : BindModeEnum_1.BindModeEnumFromJSON(json['bind_mode']),
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
50
|
exports.LDAPProviderFromJSONTyped = LDAPProviderFromJSONTyped;
|
|
@@ -64,6 +66,7 @@ function LDAPProviderToJSON(value) {
|
|
|
64
66
|
'uid_start_number': value.uidStartNumber,
|
|
65
67
|
'gid_start_number': value.gidStartNumber,
|
|
66
68
|
'search_mode': SearchModeEnum_1.SearchModeEnumToJSON(value.searchMode),
|
|
69
|
+
'bind_mode': BindModeEnum_1.BindModeEnumToJSON(value.bindMode),
|
|
67
70
|
};
|
|
68
71
|
}
|
|
69
72
|
exports.LDAPProviderToJSON = LDAPProviderToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BindModeEnum } from './BindModeEnum';
|
|
12
13
|
import { SearchModeEnum } from './SearchModeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* LDAPProvider Serializer
|
|
@@ -76,6 +77,12 @@ export interface LDAPProviderRequest {
|
|
|
76
77
|
* @memberof LDAPProviderRequest
|
|
77
78
|
*/
|
|
78
79
|
searchMode?: SearchModeEnum;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {BindModeEnum}
|
|
83
|
+
* @memberof LDAPProviderRequest
|
|
84
|
+
*/
|
|
85
|
+
bindMode?: BindModeEnum;
|
|
79
86
|
}
|
|
80
87
|
export declare function LDAPProviderRequestFromJSON(json: any): LDAPProviderRequest;
|
|
81
88
|
export declare function LDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPProviderRequest;
|
|
@@ -15,6 +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 BindModeEnum_1 = require("./BindModeEnum");
|
|
18
19
|
const SearchModeEnum_1 = require("./SearchModeEnum");
|
|
19
20
|
function LDAPProviderRequestFromJSON(json) {
|
|
20
21
|
return LDAPProviderRequestFromJSONTyped(json, false);
|
|
@@ -35,6 +36,7 @@ function LDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
'uidStartNumber': !runtime_1.exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
36
37
|
'gidStartNumber': !runtime_1.exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
37
38
|
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined : SearchModeEnum_1.SearchModeEnumFromJSON(json['search_mode']),
|
|
39
|
+
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined : BindModeEnum_1.BindModeEnumFromJSON(json['bind_mode']),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
exports.LDAPProviderRequestFromJSONTyped = LDAPProviderRequestFromJSONTyped;
|
|
@@ -56,6 +58,7 @@ function LDAPProviderRequestToJSON(value) {
|
|
|
56
58
|
'uid_start_number': value.uidStartNumber,
|
|
57
59
|
'gid_start_number': value.gidStartNumber,
|
|
58
60
|
'search_mode': SearchModeEnum_1.SearchModeEnumToJSON(value.searchMode),
|
|
61
|
+
'bind_mode': BindModeEnum_1.BindModeEnumToJSON(value.bindMode),
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
exports.LDAPProviderRequestToJSON = LDAPProviderRequestToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BindModeEnum } from './BindModeEnum';
|
|
12
13
|
import { SearchModeEnum } from './SearchModeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* LDAPProvider Serializer
|
|
@@ -76,6 +77,12 @@ export interface PatchedLDAPProviderRequest {
|
|
|
76
77
|
* @memberof PatchedLDAPProviderRequest
|
|
77
78
|
*/
|
|
78
79
|
searchMode?: SearchModeEnum;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {BindModeEnum}
|
|
83
|
+
* @memberof PatchedLDAPProviderRequest
|
|
84
|
+
*/
|
|
85
|
+
bindMode?: BindModeEnum;
|
|
79
86
|
}
|
|
80
87
|
export declare function PatchedLDAPProviderRequestFromJSON(json: any): PatchedLDAPProviderRequest;
|
|
81
88
|
export declare function PatchedLDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPProviderRequest;
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PatchedLDAPProviderRequestToJSON = exports.PatchedLDAPProviderRequestFromJSONTyped = exports.PatchedLDAPProviderRequestFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const BindModeEnum_1 = require("./BindModeEnum");
|
|
18
19
|
const SearchModeEnum_1 = require("./SearchModeEnum");
|
|
19
20
|
function PatchedLDAPProviderRequestFromJSON(json) {
|
|
20
21
|
return PatchedLDAPProviderRequestFromJSONTyped(json, false);
|
|
@@ -35,6 +36,7 @@ function PatchedLDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
'uidStartNumber': !runtime_1.exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
36
37
|
'gidStartNumber': !runtime_1.exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
37
38
|
'searchMode': !runtime_1.exists(json, 'search_mode') ? undefined : SearchModeEnum_1.SearchModeEnumFromJSON(json['search_mode']),
|
|
39
|
+
'bindMode': !runtime_1.exists(json, 'bind_mode') ? undefined : BindModeEnum_1.BindModeEnumFromJSON(json['bind_mode']),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
exports.PatchedLDAPProviderRequestFromJSONTyped = PatchedLDAPProviderRequestFromJSONTyped;
|
|
@@ -56,6 +58,7 @@ function PatchedLDAPProviderRequestToJSON(value) {
|
|
|
56
58
|
'uid_start_number': value.uidStartNumber,
|
|
57
59
|
'gid_start_number': value.gidStartNumber,
|
|
58
60
|
'search_mode': SearchModeEnum_1.SearchModeEnumToJSON(value.searchMode),
|
|
61
|
+
'bind_mode': BindModeEnum_1.BindModeEnumToJSON(value.bindMode),
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
exports.PatchedLDAPProviderRequestToJSON = PatchedLDAPProviderRequestToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
|
40
40
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
41
41
|
export * from './AutosubmitChallenge';
|
|
42
42
|
export * from './BackendsEnum';
|
|
43
|
+
export * from './BindModeEnum';
|
|
43
44
|
export * from './BindingTypeEnum';
|
|
44
45
|
export * from './Cache';
|
|
45
46
|
export * from './CapabilitiesEnum';
|
package/dist/models/index.js
CHANGED
|
@@ -54,6 +54,7 @@ __exportStar(require("./AuthenticatorWebAuthnChallengeResponseRequest"), exports
|
|
|
54
54
|
__exportStar(require("./AutoSubmitChallengeResponseRequest"), exports);
|
|
55
55
|
__exportStar(require("./AutosubmitChallenge"), exports);
|
|
56
56
|
__exportStar(require("./BackendsEnum"), exports);
|
|
57
|
+
__exportStar(require("./BindModeEnum"), exports);
|
|
57
58
|
__exportStar(require("./BindingTypeEnum"), exports);
|
|
58
59
|
__exportStar(require("./Cache"), exports);
|
|
59
60
|
__exportStar(require("./CapabilitiesEnum"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022.4.1
|
|
8
|
+
* Contact: hello@beryju.org
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const BindModeEnum = {
|
|
21
|
+
Direct: 'direct',
|
|
22
|
+
Cached: 'cached'
|
|
23
|
+
} as const;
|
|
24
|
+
|
|
25
|
+
export type BindModeEnum = typeof BindModeEnum[keyof typeof BindModeEnum];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function BindModeEnumFromJSON(json: any): BindModeEnum {
|
|
29
|
+
return BindModeEnumFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function BindModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BindModeEnum {
|
|
33
|
+
return json as BindModeEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function BindModeEnumToJSON(value?: BindModeEnum | null): any {
|
|
37
|
+
return value as any;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
BindModeEnum,
|
|
18
|
+
BindModeEnumFromJSON,
|
|
19
|
+
BindModeEnumFromJSONTyped,
|
|
20
|
+
BindModeEnumToJSON,
|
|
21
|
+
} from './BindModeEnum';
|
|
16
22
|
import {
|
|
17
23
|
SearchModeEnum,
|
|
18
24
|
SearchModeEnumFromJSON,
|
|
@@ -92,6 +98,12 @@ export interface LDAPOutpostConfig {
|
|
|
92
98
|
* @memberof LDAPOutpostConfig
|
|
93
99
|
*/
|
|
94
100
|
searchMode?: SearchModeEnum;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {BindModeEnum}
|
|
104
|
+
* @memberof LDAPOutpostConfig
|
|
105
|
+
*/
|
|
106
|
+
bindMode?: BindModeEnum;
|
|
95
107
|
}
|
|
96
108
|
|
|
97
109
|
export function LDAPOutpostConfigFromJSON(json: any): LDAPOutpostConfig {
|
|
@@ -115,6 +127,7 @@ export function LDAPOutpostConfigFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
115
127
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
116
128
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
117
129
|
'searchMode': !exists(json, 'search_mode') ? undefined : SearchModeEnumFromJSON(json['search_mode']),
|
|
130
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : BindModeEnumFromJSON(json['bind_mode']),
|
|
118
131
|
};
|
|
119
132
|
}
|
|
120
133
|
|
|
@@ -137,6 +150,7 @@ export function LDAPOutpostConfigToJSON(value?: LDAPOutpostConfig | null): any {
|
|
|
137
150
|
'uid_start_number': value.uidStartNumber,
|
|
138
151
|
'gid_start_number': value.gidStartNumber,
|
|
139
152
|
'search_mode': SearchModeEnumToJSON(value.searchMode),
|
|
153
|
+
'bind_mode': BindModeEnumToJSON(value.bindMode),
|
|
140
154
|
};
|
|
141
155
|
}
|
|
142
156
|
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
BindModeEnum,
|
|
18
|
+
BindModeEnumFromJSON,
|
|
19
|
+
BindModeEnumFromJSONTyped,
|
|
20
|
+
BindModeEnumToJSON,
|
|
21
|
+
} from './BindModeEnum';
|
|
16
22
|
import {
|
|
17
23
|
SearchModeEnum,
|
|
18
24
|
SearchModeEnumFromJSON,
|
|
@@ -134,6 +140,12 @@ export interface LDAPProvider {
|
|
|
134
140
|
* @memberof LDAPProvider
|
|
135
141
|
*/
|
|
136
142
|
searchMode?: SearchModeEnum;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {BindModeEnum}
|
|
146
|
+
* @memberof LDAPProvider
|
|
147
|
+
*/
|
|
148
|
+
bindMode?: BindModeEnum;
|
|
137
149
|
}
|
|
138
150
|
|
|
139
151
|
export function LDAPProviderFromJSON(json: any): LDAPProvider {
|
|
@@ -164,6 +176,7 @@ export function LDAPProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
164
176
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
165
177
|
'outpostSet': json['outpost_set'],
|
|
166
178
|
'searchMode': !exists(json, 'search_mode') ? undefined : SearchModeEnumFromJSON(json['search_mode']),
|
|
179
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : BindModeEnumFromJSON(json['bind_mode']),
|
|
167
180
|
};
|
|
168
181
|
}
|
|
169
182
|
|
|
@@ -186,6 +199,7 @@ export function LDAPProviderToJSON(value?: LDAPProvider | null): any {
|
|
|
186
199
|
'uid_start_number': value.uidStartNumber,
|
|
187
200
|
'gid_start_number': value.gidStartNumber,
|
|
188
201
|
'search_mode': SearchModeEnumToJSON(value.searchMode),
|
|
202
|
+
'bind_mode': BindModeEnumToJSON(value.bindMode),
|
|
189
203
|
};
|
|
190
204
|
}
|
|
191
205
|
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
BindModeEnum,
|
|
18
|
+
BindModeEnumFromJSON,
|
|
19
|
+
BindModeEnumFromJSONTyped,
|
|
20
|
+
BindModeEnumToJSON,
|
|
21
|
+
} from './BindModeEnum';
|
|
16
22
|
import {
|
|
17
23
|
SearchModeEnum,
|
|
18
24
|
SearchModeEnumFromJSON,
|
|
@@ -86,6 +92,12 @@ export interface LDAPProviderRequest {
|
|
|
86
92
|
* @memberof LDAPProviderRequest
|
|
87
93
|
*/
|
|
88
94
|
searchMode?: SearchModeEnum;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {BindModeEnum}
|
|
98
|
+
* @memberof LDAPProviderRequest
|
|
99
|
+
*/
|
|
100
|
+
bindMode?: BindModeEnum;
|
|
89
101
|
}
|
|
90
102
|
|
|
91
103
|
export function LDAPProviderRequestFromJSON(json: any): LDAPProviderRequest {
|
|
@@ -108,6 +120,7 @@ export function LDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
108
120
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
109
121
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
110
122
|
'searchMode': !exists(json, 'search_mode') ? undefined : SearchModeEnumFromJSON(json['search_mode']),
|
|
123
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : BindModeEnumFromJSON(json['bind_mode']),
|
|
111
124
|
};
|
|
112
125
|
}
|
|
113
126
|
|
|
@@ -130,6 +143,7 @@ export function LDAPProviderRequestToJSON(value?: LDAPProviderRequest | null): a
|
|
|
130
143
|
'uid_start_number': value.uidStartNumber,
|
|
131
144
|
'gid_start_number': value.gidStartNumber,
|
|
132
145
|
'search_mode': SearchModeEnumToJSON(value.searchMode),
|
|
146
|
+
'bind_mode': BindModeEnumToJSON(value.bindMode),
|
|
133
147
|
};
|
|
134
148
|
}
|
|
135
149
|
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
BindModeEnum,
|
|
18
|
+
BindModeEnumFromJSON,
|
|
19
|
+
BindModeEnumFromJSONTyped,
|
|
20
|
+
BindModeEnumToJSON,
|
|
21
|
+
} from './BindModeEnum';
|
|
16
22
|
import {
|
|
17
23
|
SearchModeEnum,
|
|
18
24
|
SearchModeEnumFromJSON,
|
|
@@ -86,6 +92,12 @@ export interface PatchedLDAPProviderRequest {
|
|
|
86
92
|
* @memberof PatchedLDAPProviderRequest
|
|
87
93
|
*/
|
|
88
94
|
searchMode?: SearchModeEnum;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {BindModeEnum}
|
|
98
|
+
* @memberof PatchedLDAPProviderRequest
|
|
99
|
+
*/
|
|
100
|
+
bindMode?: BindModeEnum;
|
|
89
101
|
}
|
|
90
102
|
|
|
91
103
|
export function PatchedLDAPProviderRequestFromJSON(json: any): PatchedLDAPProviderRequest {
|
|
@@ -108,6 +120,7 @@ export function PatchedLDAPProviderRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
108
120
|
'uidStartNumber': !exists(json, 'uid_start_number') ? undefined : json['uid_start_number'],
|
|
109
121
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
110
122
|
'searchMode': !exists(json, 'search_mode') ? undefined : SearchModeEnumFromJSON(json['search_mode']),
|
|
123
|
+
'bindMode': !exists(json, 'bind_mode') ? undefined : BindModeEnumFromJSON(json['bind_mode']),
|
|
111
124
|
};
|
|
112
125
|
}
|
|
113
126
|
|
|
@@ -130,6 +143,7 @@ export function PatchedLDAPProviderRequestToJSON(value?: PatchedLDAPProviderRequ
|
|
|
130
143
|
'uid_start_number': value.uidStartNumber,
|
|
131
144
|
'gid_start_number': value.gidStartNumber,
|
|
132
145
|
'search_mode': SearchModeEnumToJSON(value.searchMode),
|
|
146
|
+
'bind_mode': BindModeEnumToJSON(value.bindMode),
|
|
133
147
|
};
|
|
134
148
|
}
|
|
135
149
|
|
package/src/models/index.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
|
42
42
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
43
43
|
export * from './AutosubmitChallenge';
|
|
44
44
|
export * from './BackendsEnum';
|
|
45
|
+
export * from './BindModeEnum';
|
|
45
46
|
export * from './BindingTypeEnum';
|
|
46
47
|
export * from './Cache';
|
|
47
48
|
export * from './CapabilitiesEnum';
|