@goauthentik/api 2023.5.3-1687355411 → 2023.5.3-1687462221
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 +0 -1
- package/dist/apis/AdminApi.d.ts +0 -8
- package/dist/apis/AdminApi.js +0 -28
- package/dist/apis/CoreApi.d.ts +19 -0
- package/dist/apis/CoreApi.js +57 -0
- package/dist/apis/PoliciesApi.d.ts +0 -1
- package/dist/apis/PoliciesApi.js +0 -3
- package/dist/apis/SourcesApi.d.ts +0 -3
- package/dist/apis/SourcesApi.js +0 -9
- package/dist/esm/apis/AdminApi.d.ts +0 -8
- package/dist/esm/apis/AdminApi.js +0 -28
- package/dist/esm/apis/CoreApi.d.ts +19 -0
- package/dist/esm/apis/CoreApi.js +57 -0
- package/dist/esm/apis/PoliciesApi.d.ts +0 -1
- package/dist/esm/apis/PoliciesApi.js +0 -3
- package/dist/esm/apis/SourcesApi.d.ts +0 -3
- package/dist/esm/apis/SourcesApi.js +0 -9
- package/dist/esm/models/EventMatcherPolicy.d.ts +3 -10
- package/dist/esm/models/EventMatcherPolicy.js +0 -3
- package/dist/esm/models/EventMatcherPolicyRequest.d.ts +3 -10
- package/dist/esm/models/EventMatcherPolicyRequest.js +0 -3
- package/dist/esm/models/LDAPOutpostConfig.d.ts +2 -8
- package/dist/esm/models/LDAPOutpostConfig.js +0 -2
- package/dist/esm/models/LDAPProvider.d.ts +2 -8
- package/dist/esm/models/LDAPProvider.js +0 -2
- package/dist/esm/models/LDAPProviderRequest.d.ts +2 -8
- package/dist/esm/models/LDAPProviderRequest.js +0 -2
- package/dist/esm/models/LDAPSource.d.ts +0 -12
- package/dist/esm/models/LDAPSource.js +0 -4
- package/dist/esm/models/LDAPSourceRequest.d.ts +0 -12
- package/dist/esm/models/LDAPSourceRequest.js +0 -4
- package/dist/esm/models/PatchedEventMatcherPolicyRequest.d.ts +3 -10
- package/dist/esm/models/PatchedEventMatcherPolicyRequest.js +0 -3
- package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +2 -8
- package/dist/esm/models/PatchedLDAPProviderRequest.js +0 -2
- package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +0 -12
- package/dist/esm/models/PatchedLDAPSourceRequest.js +0 -4
- package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +1 -7
- package/dist/esm/models/PatchedSAMLSourceRequest.js +0 -2
- package/dist/esm/models/SAMLSource.d.ts +1 -7
- package/dist/esm/models/SAMLSource.js +0 -2
- package/dist/esm/models/SAMLSourceRequest.d.ts +1 -7
- package/dist/esm/models/SAMLSourceRequest.js +0 -2
- package/dist/esm/models/System.d.ts +0 -8
- package/dist/esm/models/System.js +0 -2
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/models/EventMatcherPolicy.d.ts +3 -10
- package/dist/models/EventMatcherPolicy.js +0 -3
- package/dist/models/EventMatcherPolicyRequest.d.ts +3 -10
- package/dist/models/EventMatcherPolicyRequest.js +0 -3
- package/dist/models/LDAPOutpostConfig.d.ts +2 -8
- package/dist/models/LDAPOutpostConfig.js +0 -2
- package/dist/models/LDAPProvider.d.ts +2 -8
- package/dist/models/LDAPProvider.js +0 -2
- package/dist/models/LDAPProviderRequest.d.ts +2 -8
- package/dist/models/LDAPProviderRequest.js +0 -2
- package/dist/models/LDAPSource.d.ts +0 -12
- package/dist/models/LDAPSource.js +0 -4
- package/dist/models/LDAPSourceRequest.d.ts +0 -12
- package/dist/models/LDAPSourceRequest.js +0 -4
- package/dist/models/PatchedEventMatcherPolicyRequest.d.ts +3 -10
- package/dist/models/PatchedEventMatcherPolicyRequest.js +0 -3
- package/dist/models/PatchedLDAPProviderRequest.d.ts +2 -8
- package/dist/models/PatchedLDAPProviderRequest.js +0 -2
- package/dist/models/PatchedLDAPSourceRequest.d.ts +0 -12
- package/dist/models/PatchedLDAPSourceRequest.js +0 -4
- package/dist/models/PatchedSAMLSourceRequest.d.ts +1 -7
- package/dist/models/PatchedSAMLSourceRequest.js +0 -2
- package/dist/models/SAMLSource.d.ts +1 -7
- package/dist/models/SAMLSource.js +0 -2
- package/dist/models/SAMLSourceRequest.d.ts +1 -7
- package/dist/models/SAMLSourceRequest.js +0 -2
- package/dist/models/System.d.ts +0 -8
- package/dist/models/System.js +0 -2
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +0 -30
- package/src/apis/CoreApi.ts +66 -0
- package/src/apis/PoliciesApi.ts +0 -5
- package/src/apis/SourcesApi.ts +0 -15
- package/src/models/EventMatcherPolicy.ts +3 -17
- package/src/models/EventMatcherPolicyRequest.ts +3 -17
- package/src/models/LDAPOutpostConfig.ts +2 -10
- package/src/models/LDAPProvider.ts +2 -10
- package/src/models/LDAPProviderRequest.ts +2 -10
- package/src/models/LDAPSource.ts +0 -16
- package/src/models/LDAPSourceRequest.ts +0 -16
- package/src/models/PatchedEventMatcherPolicyRequest.ts +3 -17
- package/src/models/PatchedLDAPProviderRequest.ts +2 -10
- package/src/models/PatchedLDAPSourceRequest.ts +0 -16
- package/src/models/PatchedSAMLSourceRequest.ts +1 -9
- package/src/models/SAMLSource.ts +1 -9
- package/src/models/SAMLSourceRequest.ts +1 -9
- package/src/models/System.ts +0 -8
- package/src/models/index.ts +0 -1
- package/dist/esm/models/ModelEnum.d.ts +0 -161
- package/dist/esm/models/ModelEnum.js +0 -168
- package/dist/models/ModelEnum.d.ts +0 -161
- package/dist/models/ModelEnum.js +0 -174
- package/src/models/ModelEnum.ts +0 -176
|
@@ -62,7 +62,6 @@ export function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
62
|
'outpostSet': json['outpost_set'],
|
|
63
63
|
'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
64
64
|
'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
65
|
-
'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
|
|
66
65
|
};
|
|
67
66
|
}
|
|
68
67
|
export function LDAPProviderToJSON(value) {
|
|
@@ -85,6 +84,5 @@ export function LDAPProviderToJSON(value) {
|
|
|
85
84
|
'gid_start_number': value.gidStartNumber,
|
|
86
85
|
'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
|
|
87
86
|
'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
|
|
88
|
-
'mfa_support': value.mfaSupport,
|
|
89
87
|
};
|
|
90
88
|
}
|
|
@@ -65,13 +65,13 @@ export interface LDAPProviderRequest {
|
|
|
65
65
|
*/
|
|
66
66
|
tlsServerName?: string;
|
|
67
67
|
/**
|
|
68
|
-
* The start for uidNumbers, this number is added to the user.
|
|
68
|
+
* The start for uidNumbers, this number is added to the user.Pk to make sure that the numbers aren't too low for POSIX users. Default is 2000 to ensure that we don't collide with local users uidNumber
|
|
69
69
|
* @type {number}
|
|
70
70
|
* @memberof LDAPProviderRequest
|
|
71
71
|
*/
|
|
72
72
|
uidStartNumber?: number;
|
|
73
73
|
/**
|
|
74
|
-
* The start for gidNumbers, this number is added to a number generated from the group.
|
|
74
|
+
* The start for gidNumbers, this number is added to a number generated from the group.Pk to make sure that the numbers aren't too low for POSIX groups. Default is 4000 to ensure that we don't collide with local groups or users primary groups gidNumber
|
|
75
75
|
* @type {number}
|
|
76
76
|
* @memberof LDAPProviderRequest
|
|
77
77
|
*/
|
|
@@ -88,12 +88,6 @@ export interface LDAPProviderRequest {
|
|
|
88
88
|
* @memberof LDAPProviderRequest
|
|
89
89
|
*/
|
|
90
90
|
bindMode?: LDAPAPIAccessMode;
|
|
91
|
-
/**
|
|
92
|
-
* When enabled, code-based multi-factor authentication can be used by appending a semicolon and the TOTP code to the password. This should only be enabled if all users that will bind to this provider have a TOTP device configured, as otherwise a password may incorrectly be rejected if it contains a semicolon.
|
|
93
|
-
* @type {boolean}
|
|
94
|
-
* @memberof LDAPProviderRequest
|
|
95
|
-
*/
|
|
96
|
-
mfaSupport?: boolean;
|
|
97
91
|
}
|
|
98
92
|
/**
|
|
99
93
|
* Check if a given object implements the LDAPProviderRequest interface.
|
|
@@ -42,7 +42,6 @@ export function LDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
43
43
|
'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
44
44
|
'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
45
|
-
'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
|
|
46
45
|
};
|
|
47
46
|
}
|
|
48
47
|
export function LDAPProviderRequestToJSON(value) {
|
|
@@ -65,6 +64,5 @@ export function LDAPProviderRequestToJSON(value) {
|
|
|
65
64
|
'gid_start_number': value.gidStartNumber,
|
|
66
65
|
'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
|
|
67
66
|
'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
|
|
68
|
-
'mfa_support': value.mfaSupport,
|
|
69
67
|
};
|
|
70
68
|
}
|
|
@@ -120,12 +120,6 @@ export interface LDAPSource {
|
|
|
120
120
|
* @memberof LDAPSource
|
|
121
121
|
*/
|
|
122
122
|
peerCertificate?: string | null;
|
|
123
|
-
/**
|
|
124
|
-
* Client certificate to authenticate against the LDAP Server's Certificate.
|
|
125
|
-
* @type {string}
|
|
126
|
-
* @memberof LDAPSource
|
|
127
|
-
*/
|
|
128
|
-
clientCertificate?: string | null;
|
|
129
123
|
/**
|
|
130
124
|
*
|
|
131
125
|
* @type {string}
|
|
@@ -138,12 +132,6 @@ export interface LDAPSource {
|
|
|
138
132
|
* @memberof LDAPSource
|
|
139
133
|
*/
|
|
140
134
|
startTls?: boolean;
|
|
141
|
-
/**
|
|
142
|
-
*
|
|
143
|
-
* @type {boolean}
|
|
144
|
-
* @memberof LDAPSource
|
|
145
|
-
*/
|
|
146
|
-
sni?: boolean;
|
|
147
135
|
/**
|
|
148
136
|
*
|
|
149
137
|
* @type {string}
|
|
@@ -57,10 +57,8 @@ export function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'icon': json['icon'],
|
|
58
58
|
'serverUri': json['server_uri'],
|
|
59
59
|
'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
|
|
60
|
-
'clientCertificate': !exists(json, 'client_certificate') ? undefined : json['client_certificate'],
|
|
61
60
|
'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
|
|
62
61
|
'startTls': !exists(json, 'start_tls') ? undefined : json['start_tls'],
|
|
63
|
-
'sni': !exists(json, 'sni') ? undefined : json['sni'],
|
|
64
62
|
'baseDn': json['base_dn'],
|
|
65
63
|
'additionalUserDn': !exists(json, 'additional_user_dn') ? undefined : json['additional_user_dn'],
|
|
66
64
|
'additionalGroupDn': !exists(json, 'additional_group_dn') ? undefined : json['additional_group_dn'],
|
|
@@ -94,10 +92,8 @@ export function LDAPSourceToJSON(value) {
|
|
|
94
92
|
'user_path_template': value.userPathTemplate,
|
|
95
93
|
'server_uri': value.serverUri,
|
|
96
94
|
'peer_certificate': value.peerCertificate,
|
|
97
|
-
'client_certificate': value.clientCertificate,
|
|
98
95
|
'bind_cn': value.bindCn,
|
|
99
96
|
'start_tls': value.startTls,
|
|
100
|
-
'sni': value.sni,
|
|
101
97
|
'base_dn': value.baseDn,
|
|
102
98
|
'additional_user_dn': value.additionalUserDn,
|
|
103
99
|
'additional_group_dn': value.additionalGroupDn,
|
|
@@ -77,12 +77,6 @@ export interface LDAPSourceRequest {
|
|
|
77
77
|
* @memberof LDAPSourceRequest
|
|
78
78
|
*/
|
|
79
79
|
peerCertificate?: string | null;
|
|
80
|
-
/**
|
|
81
|
-
* Client certificate to authenticate against the LDAP Server's Certificate.
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof LDAPSourceRequest
|
|
84
|
-
*/
|
|
85
|
-
clientCertificate?: string | null;
|
|
86
80
|
/**
|
|
87
81
|
*
|
|
88
82
|
* @type {string}
|
|
@@ -101,12 +95,6 @@ export interface LDAPSourceRequest {
|
|
|
101
95
|
* @memberof LDAPSourceRequest
|
|
102
96
|
*/
|
|
103
97
|
startTls?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {boolean}
|
|
107
|
-
* @memberof LDAPSourceRequest
|
|
108
|
-
*/
|
|
109
|
-
sni?: boolean;
|
|
110
98
|
/**
|
|
111
99
|
*
|
|
112
100
|
* @type {string}
|
|
@@ -43,11 +43,9 @@ export function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
44
44
|
'serverUri': json['server_uri'],
|
|
45
45
|
'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
|
|
46
|
-
'clientCertificate': !exists(json, 'client_certificate') ? undefined : json['client_certificate'],
|
|
47
46
|
'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
|
|
48
47
|
'bindPassword': !exists(json, 'bind_password') ? undefined : json['bind_password'],
|
|
49
48
|
'startTls': !exists(json, 'start_tls') ? undefined : json['start_tls'],
|
|
50
|
-
'sni': !exists(json, 'sni') ? undefined : json['sni'],
|
|
51
49
|
'baseDn': json['base_dn'],
|
|
52
50
|
'additionalUserDn': !exists(json, 'additional_user_dn') ? undefined : json['additional_user_dn'],
|
|
53
51
|
'additionalGroupDn': !exists(json, 'additional_group_dn') ? undefined : json['additional_group_dn'],
|
|
@@ -81,11 +79,9 @@ export function LDAPSourceRequestToJSON(value) {
|
|
|
81
79
|
'user_path_template': value.userPathTemplate,
|
|
82
80
|
'server_uri': value.serverUri,
|
|
83
81
|
'peer_certificate': value.peerCertificate,
|
|
84
|
-
'client_certificate': value.clientCertificate,
|
|
85
82
|
'bind_cn': value.bindCn,
|
|
86
83
|
'bind_password': value.bindPassword,
|
|
87
84
|
'start_tls': value.startTls,
|
|
88
|
-
'sni': value.sni,
|
|
89
85
|
'base_dn': value.baseDn,
|
|
90
86
|
'additional_user_dn': value.additionalUserDn,
|
|
91
87
|
'additional_group_dn': value.additionalGroupDn,
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AppEnum } from './AppEnum';
|
|
13
13
|
import type { EventActions } from './EventActions';
|
|
14
|
-
import type { ModelEnum } from './ModelEnum';
|
|
15
14
|
/**
|
|
16
15
|
* Event Matcher Policy Serializer
|
|
17
16
|
* @export
|
|
@@ -35,25 +34,19 @@ export interface PatchedEventMatcherPolicyRequest {
|
|
|
35
34
|
* @type {EventActions}
|
|
36
35
|
* @memberof PatchedEventMatcherPolicyRequest
|
|
37
36
|
*/
|
|
38
|
-
action?: EventActions
|
|
37
|
+
action?: EventActions;
|
|
39
38
|
/**
|
|
40
39
|
* Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
|
|
41
40
|
* @type {string}
|
|
42
41
|
* @memberof PatchedEventMatcherPolicyRequest
|
|
43
42
|
*/
|
|
44
|
-
clientIp?: string
|
|
43
|
+
clientIp?: string;
|
|
45
44
|
/**
|
|
46
45
|
*
|
|
47
46
|
* @type {AppEnum}
|
|
48
47
|
* @memberof PatchedEventMatcherPolicyRequest
|
|
49
48
|
*/
|
|
50
|
-
app?: AppEnum
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {ModelEnum}
|
|
54
|
-
* @memberof PatchedEventMatcherPolicyRequest
|
|
55
|
-
*/
|
|
56
|
-
model?: ModelEnum | null;
|
|
49
|
+
app?: AppEnum;
|
|
57
50
|
}
|
|
58
51
|
/**
|
|
59
52
|
* Check if a given object implements the PatchedEventMatcherPolicyRequest interface.
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { AppEnumFromJSON, AppEnumToJSON, } from './AppEnum';
|
|
16
16
|
import { EventActionsFromJSON, EventActionsToJSON, } from './EventActions';
|
|
17
|
-
import { ModelEnumFromJSON, ModelEnumToJSON, } from './ModelEnum';
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the PatchedEventMatcherPolicyRequest interface.
|
|
20
19
|
*/
|
|
@@ -35,7 +34,6 @@ export function PatchedEventMatcherPolicyRequestFromJSONTyped(json, ignoreDiscri
|
|
|
35
34
|
'action': !exists(json, 'action') ? undefined : EventActionsFromJSON(json['action']),
|
|
36
35
|
'clientIp': !exists(json, 'client_ip') ? undefined : json['client_ip'],
|
|
37
36
|
'app': !exists(json, 'app') ? undefined : AppEnumFromJSON(json['app']),
|
|
38
|
-
'model': !exists(json, 'model') ? undefined : ModelEnumFromJSON(json['model']),
|
|
39
37
|
};
|
|
40
38
|
}
|
|
41
39
|
export function PatchedEventMatcherPolicyRequestToJSON(value) {
|
|
@@ -51,6 +49,5 @@ export function PatchedEventMatcherPolicyRequestToJSON(value) {
|
|
|
51
49
|
'action': EventActionsToJSON(value.action),
|
|
52
50
|
'client_ip': value.clientIp,
|
|
53
51
|
'app': AppEnumToJSON(value.app),
|
|
54
|
-
'model': ModelEnumToJSON(value.model),
|
|
55
52
|
};
|
|
56
53
|
}
|
|
@@ -65,13 +65,13 @@ export interface PatchedLDAPProviderRequest {
|
|
|
65
65
|
*/
|
|
66
66
|
tlsServerName?: string;
|
|
67
67
|
/**
|
|
68
|
-
* The start for uidNumbers, this number is added to the user.
|
|
68
|
+
* The start for uidNumbers, this number is added to the user.Pk to make sure that the numbers aren't too low for POSIX users. Default is 2000 to ensure that we don't collide with local users uidNumber
|
|
69
69
|
* @type {number}
|
|
70
70
|
* @memberof PatchedLDAPProviderRequest
|
|
71
71
|
*/
|
|
72
72
|
uidStartNumber?: number;
|
|
73
73
|
/**
|
|
74
|
-
* The start for gidNumbers, this number is added to a number generated from the group.
|
|
74
|
+
* The start for gidNumbers, this number is added to a number generated from the group.Pk to make sure that the numbers aren't too low for POSIX groups. Default is 4000 to ensure that we don't collide with local groups or users primary groups gidNumber
|
|
75
75
|
* @type {number}
|
|
76
76
|
* @memberof PatchedLDAPProviderRequest
|
|
77
77
|
*/
|
|
@@ -88,12 +88,6 @@ export interface PatchedLDAPProviderRequest {
|
|
|
88
88
|
* @memberof PatchedLDAPProviderRequest
|
|
89
89
|
*/
|
|
90
90
|
bindMode?: LDAPAPIAccessMode;
|
|
91
|
-
/**
|
|
92
|
-
* When enabled, code-based multi-factor authentication can be used by appending a semicolon and the TOTP code to the password. This should only be enabled if all users that will bind to this provider have a TOTP device configured, as otherwise a password may incorrectly be rejected if it contains a semicolon.
|
|
93
|
-
* @type {boolean}
|
|
94
|
-
* @memberof PatchedLDAPProviderRequest
|
|
95
|
-
*/
|
|
96
|
-
mfaSupport?: boolean;
|
|
97
91
|
}
|
|
98
92
|
/**
|
|
99
93
|
* Check if a given object implements the PatchedLDAPProviderRequest interface.
|
|
@@ -40,7 +40,6 @@ export function PatchedLDAPProviderRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
40
40
|
'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
41
41
|
'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
|
|
42
42
|
'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
|
|
43
|
-
'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
|
|
44
43
|
};
|
|
45
44
|
}
|
|
46
45
|
export function PatchedLDAPProviderRequestToJSON(value) {
|
|
@@ -63,6 +62,5 @@ export function PatchedLDAPProviderRequestToJSON(value) {
|
|
|
63
62
|
'gid_start_number': value.gidStartNumber,
|
|
64
63
|
'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
|
|
65
64
|
'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
|
|
66
|
-
'mfa_support': value.mfaSupport,
|
|
67
65
|
};
|
|
68
66
|
}
|
|
@@ -77,12 +77,6 @@ export interface PatchedLDAPSourceRequest {
|
|
|
77
77
|
* @memberof PatchedLDAPSourceRequest
|
|
78
78
|
*/
|
|
79
79
|
peerCertificate?: string | null;
|
|
80
|
-
/**
|
|
81
|
-
* Client certificate to authenticate against the LDAP Server's Certificate.
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof PatchedLDAPSourceRequest
|
|
84
|
-
*/
|
|
85
|
-
clientCertificate?: string | null;
|
|
86
80
|
/**
|
|
87
81
|
*
|
|
88
82
|
* @type {string}
|
|
@@ -101,12 +95,6 @@ export interface PatchedLDAPSourceRequest {
|
|
|
101
95
|
* @memberof PatchedLDAPSourceRequest
|
|
102
96
|
*/
|
|
103
97
|
startTls?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {boolean}
|
|
107
|
-
* @memberof PatchedLDAPSourceRequest
|
|
108
|
-
*/
|
|
109
|
-
sni?: boolean;
|
|
110
98
|
/**
|
|
111
99
|
*
|
|
112
100
|
* @type {string}
|
|
@@ -39,11 +39,9 @@ export function PatchedLDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
39
39
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
40
40
|
'serverUri': !exists(json, 'server_uri') ? undefined : json['server_uri'],
|
|
41
41
|
'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
|
|
42
|
-
'clientCertificate': !exists(json, 'client_certificate') ? undefined : json['client_certificate'],
|
|
43
42
|
'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
|
|
44
43
|
'bindPassword': !exists(json, 'bind_password') ? undefined : json['bind_password'],
|
|
45
44
|
'startTls': !exists(json, 'start_tls') ? undefined : json['start_tls'],
|
|
46
|
-
'sni': !exists(json, 'sni') ? undefined : json['sni'],
|
|
47
45
|
'baseDn': !exists(json, 'base_dn') ? undefined : json['base_dn'],
|
|
48
46
|
'additionalUserDn': !exists(json, 'additional_user_dn') ? undefined : json['additional_user_dn'],
|
|
49
47
|
'additionalGroupDn': !exists(json, 'additional_group_dn') ? undefined : json['additional_group_dn'],
|
|
@@ -77,11 +75,9 @@ export function PatchedLDAPSourceRequestToJSON(value) {
|
|
|
77
75
|
'user_path_template': value.userPathTemplate,
|
|
78
76
|
'server_uri': value.serverUri,
|
|
79
77
|
'peer_certificate': value.peerCertificate,
|
|
80
|
-
'client_certificate': value.clientCertificate,
|
|
81
78
|
'bind_cn': value.bindCn,
|
|
82
79
|
'bind_password': value.bindPassword,
|
|
83
80
|
'start_tls': value.startTls,
|
|
84
|
-
'sni': value.sni,
|
|
85
81
|
'base_dn': value.baseDn,
|
|
86
82
|
'additional_user_dn': value.additionalUserDn,
|
|
87
83
|
'additional_group_dn': value.additionalGroupDn,
|
|
@@ -112,13 +112,7 @@ export interface PatchedSAMLSourceRequest {
|
|
|
112
112
|
*/
|
|
113
113
|
bindingType?: BindingTypeEnum;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof PatchedSAMLSourceRequest
|
|
118
|
-
*/
|
|
119
|
-
verificationKp?: string | null;
|
|
120
|
-
/**
|
|
121
|
-
* Keypair used to sign outgoing Responses going to the Identity Provider.
|
|
115
|
+
* Keypair which is used to sign outgoing requests. Leave empty to disable signing.
|
|
122
116
|
* @type {string}
|
|
123
117
|
* @memberof PatchedSAMLSourceRequest
|
|
124
118
|
*/
|
|
@@ -48,7 +48,6 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
48
48
|
'allowIdpInitiated': !exists(json, 'allow_idp_initiated') ? undefined : json['allow_idp_initiated'],
|
|
49
49
|
'nameIdPolicy': !exists(json, 'name_id_policy') ? undefined : NameIdPolicyEnumFromJSON(json['name_id_policy']),
|
|
50
50
|
'bindingType': !exists(json, 'binding_type') ? undefined : BindingTypeEnumFromJSON(json['binding_type']),
|
|
51
|
-
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
52
51
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
53
52
|
'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
|
|
54
53
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
|
@@ -78,7 +77,6 @@ export function PatchedSAMLSourceRequestToJSON(value) {
|
|
|
78
77
|
'allow_idp_initiated': value.allowIdpInitiated,
|
|
79
78
|
'name_id_policy': NameIdPolicyEnumToJSON(value.nameIdPolicy),
|
|
80
79
|
'binding_type': BindingTypeEnumToJSON(value.bindingType),
|
|
81
|
-
'verification_kp': value.verificationKp,
|
|
82
80
|
'signing_kp': value.signingKp,
|
|
83
81
|
'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
|
|
84
82
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
|
@@ -155,13 +155,7 @@ export interface SAMLSource {
|
|
|
155
155
|
*/
|
|
156
156
|
bindingType?: BindingTypeEnum;
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
159
|
-
* @type {string}
|
|
160
|
-
* @memberof SAMLSource
|
|
161
|
-
*/
|
|
162
|
-
verificationKp?: string | null;
|
|
163
|
-
/**
|
|
164
|
-
* Keypair used to sign outgoing Responses going to the Identity Provider.
|
|
158
|
+
* Keypair which is used to sign outgoing requests. Leave empty to disable signing.
|
|
165
159
|
* @type {string}
|
|
166
160
|
* @memberof SAMLSource
|
|
167
161
|
*/
|
|
@@ -66,7 +66,6 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
66
|
'allowIdpInitiated': !exists(json, 'allow_idp_initiated') ? undefined : json['allow_idp_initiated'],
|
|
67
67
|
'nameIdPolicy': !exists(json, 'name_id_policy') ? undefined : NameIdPolicyEnumFromJSON(json['name_id_policy']),
|
|
68
68
|
'bindingType': !exists(json, 'binding_type') ? undefined : BindingTypeEnumFromJSON(json['binding_type']),
|
|
69
|
-
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
70
69
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
71
70
|
'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
|
|
72
71
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
|
@@ -96,7 +95,6 @@ export function SAMLSourceToJSON(value) {
|
|
|
96
95
|
'allow_idp_initiated': value.allowIdpInitiated,
|
|
97
96
|
'name_id_policy': NameIdPolicyEnumToJSON(value.nameIdPolicy),
|
|
98
97
|
'binding_type': BindingTypeEnumToJSON(value.bindingType),
|
|
99
|
-
'verification_kp': value.verificationKp,
|
|
100
98
|
'signing_kp': value.signingKp,
|
|
101
99
|
'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
|
|
102
100
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
|
@@ -112,13 +112,7 @@ export interface SAMLSourceRequest {
|
|
|
112
112
|
*/
|
|
113
113
|
bindingType?: BindingTypeEnum;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof SAMLSourceRequest
|
|
118
|
-
*/
|
|
119
|
-
verificationKp?: string | null;
|
|
120
|
-
/**
|
|
121
|
-
* Keypair used to sign outgoing Responses going to the Identity Provider.
|
|
115
|
+
* Keypair which is used to sign outgoing requests. Leave empty to disable signing.
|
|
122
116
|
* @type {string}
|
|
123
117
|
* @memberof SAMLSourceRequest
|
|
124
118
|
*/
|
|
@@ -52,7 +52,6 @@ export function SAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'allowIdpInitiated': !exists(json, 'allow_idp_initiated') ? undefined : json['allow_idp_initiated'],
|
|
53
53
|
'nameIdPolicy': !exists(json, 'name_id_policy') ? undefined : NameIdPolicyEnumFromJSON(json['name_id_policy']),
|
|
54
54
|
'bindingType': !exists(json, 'binding_type') ? undefined : BindingTypeEnumFromJSON(json['binding_type']),
|
|
55
|
-
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
56
55
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
57
56
|
'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
|
|
58
57
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
|
@@ -82,7 +81,6 @@ export function SAMLSourceRequestToJSON(value) {
|
|
|
82
81
|
'allow_idp_initiated': value.allowIdpInitiated,
|
|
83
82
|
'name_id_policy': NameIdPolicyEnumToJSON(value.nameIdPolicy),
|
|
84
83
|
'binding_type': BindingTypeEnumToJSON(value.bindingType),
|
|
85
|
-
'verification_kp': value.verificationKp,
|
|
86
84
|
'signing_kp': value.signingKp,
|
|
87
85
|
'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
|
|
88
86
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
|
@@ -16,14 +16,6 @@ import type { SystemRuntime } from './SystemRuntime';
|
|
|
16
16
|
* @interface System
|
|
17
17
|
*/
|
|
18
18
|
export interface System {
|
|
19
|
-
/**
|
|
20
|
-
* Get Environment
|
|
21
|
-
* @type {{ [key: string]: string; }}
|
|
22
|
-
* @memberof System
|
|
23
|
-
*/
|
|
24
|
-
readonly env: {
|
|
25
|
-
[key: string]: string;
|
|
26
|
-
};
|
|
27
19
|
/**
|
|
28
20
|
* Get HTTP Request headers
|
|
29
21
|
* @type {{ [key: string]: string; }}
|
|
@@ -17,7 +17,6 @@ import { SystemRuntimeFromJSON, SystemRuntimeToJSON, } from './SystemRuntime';
|
|
|
17
17
|
*/
|
|
18
18
|
export function instanceOfSystem(value) {
|
|
19
19
|
let isInstance = true;
|
|
20
|
-
isInstance = isInstance && "env" in value;
|
|
21
20
|
isInstance = isInstance && "httpHeaders" in value;
|
|
22
21
|
isInstance = isInstance && "httpHost" in value;
|
|
23
22
|
isInstance = isInstance && "httpIsSecure" in value;
|
|
@@ -35,7 +34,6 @@ export function SystemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
34
|
return json;
|
|
36
35
|
}
|
|
37
36
|
return {
|
|
38
|
-
'env': json['env'],
|
|
39
37
|
'httpHeaders': json['http_headers'],
|
|
40
38
|
'httpHost': json['http_host'],
|
|
41
39
|
'httpIsSecure': json['http_is_secure'],
|
|
@@ -154,7 +154,6 @@ export * from './LoginChallengeTypes';
|
|
|
154
154
|
export * from './LoginMetrics';
|
|
155
155
|
export * from './LoginSource';
|
|
156
156
|
export * from './Metadata';
|
|
157
|
-
export * from './ModelEnum';
|
|
158
157
|
export * from './NameIdPolicyEnum';
|
|
159
158
|
export * from './NotConfiguredActionEnum';
|
|
160
159
|
export * from './Notification';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -156,7 +156,6 @@ export * from './LoginChallengeTypes';
|
|
|
156
156
|
export * from './LoginMetrics';
|
|
157
157
|
export * from './LoginSource';
|
|
158
158
|
export * from './Metadata';
|
|
159
|
-
export * from './ModelEnum';
|
|
160
159
|
export * from './NameIdPolicyEnum';
|
|
161
160
|
export * from './NotConfiguredActionEnum';
|
|
162
161
|
export * from './Notification';
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AppEnum } from './AppEnum';
|
|
13
13
|
import type { EventActions } from './EventActions';
|
|
14
|
-
import type { ModelEnum } from './ModelEnum';
|
|
15
14
|
/**
|
|
16
15
|
* Event Matcher Policy Serializer
|
|
17
16
|
* @export
|
|
@@ -71,25 +70,19 @@ export interface EventMatcherPolicy {
|
|
|
71
70
|
* @type {EventActions}
|
|
72
71
|
* @memberof EventMatcherPolicy
|
|
73
72
|
*/
|
|
74
|
-
action?: EventActions
|
|
73
|
+
action?: EventActions;
|
|
75
74
|
/**
|
|
76
75
|
* Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
|
|
77
76
|
* @type {string}
|
|
78
77
|
* @memberof EventMatcherPolicy
|
|
79
78
|
*/
|
|
80
|
-
clientIp?: string
|
|
79
|
+
clientIp?: string;
|
|
81
80
|
/**
|
|
82
81
|
*
|
|
83
82
|
* @type {AppEnum}
|
|
84
83
|
* @memberof EventMatcherPolicy
|
|
85
84
|
*/
|
|
86
|
-
app?: AppEnum
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {ModelEnum}
|
|
90
|
-
* @memberof EventMatcherPolicy
|
|
91
|
-
*/
|
|
92
|
-
model?: ModelEnum | null;
|
|
85
|
+
app?: AppEnum;
|
|
93
86
|
}
|
|
94
87
|
/**
|
|
95
88
|
* Check if a given object implements the EventMatcherPolicy interface.
|
|
@@ -17,7 +17,6 @@ exports.EventMatcherPolicyToJSON = exports.EventMatcherPolicyFromJSONTyped = exp
|
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const AppEnum_1 = require("./AppEnum");
|
|
19
19
|
const EventActions_1 = require("./EventActions");
|
|
20
|
-
const ModelEnum_1 = require("./ModelEnum");
|
|
21
20
|
/**
|
|
22
21
|
* Check if a given object implements the EventMatcherPolicy interface.
|
|
23
22
|
*/
|
|
@@ -53,7 +52,6 @@ function EventMatcherPolicyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
52
|
'action': !(0, runtime_1.exists)(json, 'action') ? undefined : (0, EventActions_1.EventActionsFromJSON)(json['action']),
|
|
54
53
|
'clientIp': !(0, runtime_1.exists)(json, 'client_ip') ? undefined : json['client_ip'],
|
|
55
54
|
'app': !(0, runtime_1.exists)(json, 'app') ? undefined : (0, AppEnum_1.AppEnumFromJSON)(json['app']),
|
|
56
|
-
'model': !(0, runtime_1.exists)(json, 'model') ? undefined : (0, ModelEnum_1.ModelEnumFromJSON)(json['model']),
|
|
57
55
|
};
|
|
58
56
|
}
|
|
59
57
|
exports.EventMatcherPolicyFromJSONTyped = EventMatcherPolicyFromJSONTyped;
|
|
@@ -70,7 +68,6 @@ function EventMatcherPolicyToJSON(value) {
|
|
|
70
68
|
'action': (0, EventActions_1.EventActionsToJSON)(value.action),
|
|
71
69
|
'client_ip': value.clientIp,
|
|
72
70
|
'app': (0, AppEnum_1.AppEnumToJSON)(value.app),
|
|
73
|
-
'model': (0, ModelEnum_1.ModelEnumToJSON)(value.model),
|
|
74
71
|
};
|
|
75
72
|
}
|
|
76
73
|
exports.EventMatcherPolicyToJSON = EventMatcherPolicyToJSON;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AppEnum } from './AppEnum';
|
|
13
13
|
import type { EventActions } from './EventActions';
|
|
14
|
-
import type { ModelEnum } from './ModelEnum';
|
|
15
14
|
/**
|
|
16
15
|
* Event Matcher Policy Serializer
|
|
17
16
|
* @export
|
|
@@ -35,25 +34,19 @@ export interface EventMatcherPolicyRequest {
|
|
|
35
34
|
* @type {EventActions}
|
|
36
35
|
* @memberof EventMatcherPolicyRequest
|
|
37
36
|
*/
|
|
38
|
-
action?: EventActions
|
|
37
|
+
action?: EventActions;
|
|
39
38
|
/**
|
|
40
39
|
* Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
|
|
41
40
|
* @type {string}
|
|
42
41
|
* @memberof EventMatcherPolicyRequest
|
|
43
42
|
*/
|
|
44
|
-
clientIp?: string
|
|
43
|
+
clientIp?: string;
|
|
45
44
|
/**
|
|
46
45
|
*
|
|
47
46
|
* @type {AppEnum}
|
|
48
47
|
* @memberof EventMatcherPolicyRequest
|
|
49
48
|
*/
|
|
50
|
-
app?: AppEnum
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {ModelEnum}
|
|
54
|
-
* @memberof EventMatcherPolicyRequest
|
|
55
|
-
*/
|
|
56
|
-
model?: ModelEnum | null;
|
|
49
|
+
app?: AppEnum;
|
|
57
50
|
}
|
|
58
51
|
/**
|
|
59
52
|
* Check if a given object implements the EventMatcherPolicyRequest interface.
|
|
@@ -17,7 +17,6 @@ exports.EventMatcherPolicyRequestToJSON = exports.EventMatcherPolicyRequestFromJ
|
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const AppEnum_1 = require("./AppEnum");
|
|
19
19
|
const EventActions_1 = require("./EventActions");
|
|
20
|
-
const ModelEnum_1 = require("./ModelEnum");
|
|
21
20
|
/**
|
|
22
21
|
* Check if a given object implements the EventMatcherPolicyRequest interface.
|
|
23
22
|
*/
|
|
@@ -41,7 +40,6 @@ function EventMatcherPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
40
|
'action': !(0, runtime_1.exists)(json, 'action') ? undefined : (0, EventActions_1.EventActionsFromJSON)(json['action']),
|
|
42
41
|
'clientIp': !(0, runtime_1.exists)(json, 'client_ip') ? undefined : json['client_ip'],
|
|
43
42
|
'app': !(0, runtime_1.exists)(json, 'app') ? undefined : (0, AppEnum_1.AppEnumFromJSON)(json['app']),
|
|
44
|
-
'model': !(0, runtime_1.exists)(json, 'model') ? undefined : (0, ModelEnum_1.ModelEnumFromJSON)(json['model']),
|
|
45
43
|
};
|
|
46
44
|
}
|
|
47
45
|
exports.EventMatcherPolicyRequestFromJSONTyped = EventMatcherPolicyRequestFromJSONTyped;
|
|
@@ -58,7 +56,6 @@ function EventMatcherPolicyRequestToJSON(value) {
|
|
|
58
56
|
'action': (0, EventActions_1.EventActionsToJSON)(value.action),
|
|
59
57
|
'client_ip': value.clientIp,
|
|
60
58
|
'app': (0, AppEnum_1.AppEnumToJSON)(value.app),
|
|
61
|
-
'model': (0, ModelEnum_1.ModelEnumToJSON)(value.model),
|
|
62
59
|
};
|
|
63
60
|
}
|
|
64
61
|
exports.EventMatcherPolicyRequestToJSON = EventMatcherPolicyRequestToJSON;
|
|
@@ -65,13 +65,13 @@ export interface LDAPOutpostConfig {
|
|
|
65
65
|
*/
|
|
66
66
|
tlsServerName?: string;
|
|
67
67
|
/**
|
|
68
|
-
* The start for uidNumbers, this number is added to the user.
|
|
68
|
+
* The start for uidNumbers, this number is added to the user.Pk to make sure that the numbers aren't too low for POSIX users. Default is 2000 to ensure that we don't collide with local users uidNumber
|
|
69
69
|
* @type {number}
|
|
70
70
|
* @memberof LDAPOutpostConfig
|
|
71
71
|
*/
|
|
72
72
|
uidStartNumber?: number;
|
|
73
73
|
/**
|
|
74
|
-
* The start for gidNumbers, this number is added to a number generated from the group.
|
|
74
|
+
* The start for gidNumbers, this number is added to a number generated from the group.Pk to make sure that the numbers aren't too low for POSIX groups. Default is 4000 to ensure that we don't collide with local groups or users primary groups gidNumber
|
|
75
75
|
* @type {number}
|
|
76
76
|
* @memberof LDAPOutpostConfig
|
|
77
77
|
*/
|
|
@@ -88,12 +88,6 @@ export interface LDAPOutpostConfig {
|
|
|
88
88
|
* @memberof LDAPOutpostConfig
|
|
89
89
|
*/
|
|
90
90
|
bindMode?: LDAPAPIAccessMode;
|
|
91
|
-
/**
|
|
92
|
-
* When enabled, code-based multi-factor authentication can be used by appending a semicolon and the TOTP code to the password. This should only be enabled if all users that will bind to this provider have a TOTP device configured, as otherwise a password may incorrectly be rejected if it contains a semicolon.
|
|
93
|
-
* @type {boolean}
|
|
94
|
-
* @memberof LDAPOutpostConfig
|
|
95
|
-
*/
|
|
96
|
-
mfaSupport?: boolean;
|
|
97
91
|
}
|
|
98
92
|
/**
|
|
99
93
|
* Check if a given object implements the LDAPOutpostConfig interface.
|
|
@@ -49,7 +49,6 @@ function LDAPOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'gidStartNumber': !(0, runtime_1.exists)(json, 'gid_start_number') ? undefined : json['gid_start_number'],
|
|
50
50
|
'searchMode': !(0, runtime_1.exists)(json, 'search_mode') ? undefined : (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON)(json['search_mode']),
|
|
51
51
|
'bindMode': !(0, runtime_1.exists)(json, 'bind_mode') ? undefined : (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON)(json['bind_mode']),
|
|
52
|
-
'mfaSupport': !(0, runtime_1.exists)(json, 'mfa_support') ? undefined : json['mfa_support'],
|
|
53
52
|
};
|
|
54
53
|
}
|
|
55
54
|
exports.LDAPOutpostConfigFromJSONTyped = LDAPOutpostConfigFromJSONTyped;
|
|
@@ -71,7 +70,6 @@ function LDAPOutpostConfigToJSON(value) {
|
|
|
71
70
|
'gid_start_number': value.gidStartNumber,
|
|
72
71
|
'search_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.searchMode),
|
|
73
72
|
'bind_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.bindMode),
|
|
74
|
-
'mfa_support': value.mfaSupport,
|
|
75
73
|
};
|
|
76
74
|
}
|
|
77
75
|
exports.LDAPOutpostConfigToJSON = LDAPOutpostConfigToJSON;
|