@goauthentik/api 2023.5.3-1686600706 → 2023.5.3-1687355411

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.
Files changed (30) hide show
  1. package/dist/esm/models/EventMatcherPolicy.d.ts +4 -4
  2. package/dist/esm/models/EventMatcherPolicyRequest.d.ts +4 -4
  3. package/dist/esm/models/LDAPOutpostConfig.d.ts +8 -2
  4. package/dist/esm/models/LDAPOutpostConfig.js +2 -0
  5. package/dist/esm/models/LDAPProvider.d.ts +8 -2
  6. package/dist/esm/models/LDAPProvider.js +2 -0
  7. package/dist/esm/models/LDAPProviderRequest.d.ts +8 -2
  8. package/dist/esm/models/LDAPProviderRequest.js +2 -0
  9. package/dist/esm/models/PatchedEventMatcherPolicyRequest.d.ts +4 -4
  10. package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +8 -2
  11. package/dist/esm/models/PatchedLDAPProviderRequest.js +2 -0
  12. package/dist/models/EventMatcherPolicy.d.ts +4 -4
  13. package/dist/models/EventMatcherPolicyRequest.d.ts +4 -4
  14. package/dist/models/LDAPOutpostConfig.d.ts +8 -2
  15. package/dist/models/LDAPOutpostConfig.js +2 -0
  16. package/dist/models/LDAPProvider.d.ts +8 -2
  17. package/dist/models/LDAPProvider.js +2 -0
  18. package/dist/models/LDAPProviderRequest.d.ts +8 -2
  19. package/dist/models/LDAPProviderRequest.js +2 -0
  20. package/dist/models/PatchedEventMatcherPolicyRequest.d.ts +4 -4
  21. package/dist/models/PatchedLDAPProviderRequest.d.ts +8 -2
  22. package/dist/models/PatchedLDAPProviderRequest.js +2 -0
  23. package/package.json +1 -1
  24. package/src/models/EventMatcherPolicy.ts +4 -4
  25. package/src/models/EventMatcherPolicyRequest.ts +4 -4
  26. package/src/models/LDAPOutpostConfig.ts +10 -2
  27. package/src/models/LDAPProvider.ts +10 -2
  28. package/src/models/LDAPProviderRequest.ts +10 -2
  29. package/src/models/PatchedEventMatcherPolicyRequest.ts +4 -4
  30. package/src/models/PatchedLDAPProviderRequest.ts +10 -2
@@ -71,25 +71,25 @@ export interface EventMatcherPolicy {
71
71
  * @type {EventActions}
72
72
  * @memberof EventMatcherPolicy
73
73
  */
74
- action?: EventActions;
74
+ action?: EventActions | null;
75
75
  /**
76
76
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
77
77
  * @type {string}
78
78
  * @memberof EventMatcherPolicy
79
79
  */
80
- clientIp?: string;
80
+ clientIp?: string | null;
81
81
  /**
82
82
  *
83
83
  * @type {AppEnum}
84
84
  * @memberof EventMatcherPolicy
85
85
  */
86
- app?: AppEnum;
86
+ app?: AppEnum | null;
87
87
  /**
88
88
  *
89
89
  * @type {ModelEnum}
90
90
  * @memberof EventMatcherPolicy
91
91
  */
92
- model?: ModelEnum;
92
+ model?: ModelEnum | null;
93
93
  }
94
94
  /**
95
95
  * Check if a given object implements the EventMatcherPolicy interface.
@@ -35,25 +35,25 @@ export interface EventMatcherPolicyRequest {
35
35
  * @type {EventActions}
36
36
  * @memberof EventMatcherPolicyRequest
37
37
  */
38
- action?: EventActions;
38
+ action?: EventActions | null;
39
39
  /**
40
40
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
41
41
  * @type {string}
42
42
  * @memberof EventMatcherPolicyRequest
43
43
  */
44
- clientIp?: string;
44
+ clientIp?: string | null;
45
45
  /**
46
46
  *
47
47
  * @type {AppEnum}
48
48
  * @memberof EventMatcherPolicyRequest
49
49
  */
50
- app?: AppEnum;
50
+ app?: AppEnum | null;
51
51
  /**
52
52
  *
53
53
  * @type {ModelEnum}
54
54
  * @memberof EventMatcherPolicyRequest
55
55
  */
56
- model?: ModelEnum;
56
+ model?: ModelEnum | null;
57
57
  }
58
58
  /**
59
59
  * Check if a given object implements the EventMatcherPolicyRequest interface.
@@ -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.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
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.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
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,6 +88,12 @@ 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;
91
97
  }
92
98
  /**
93
99
  * Check if a given object implements the LDAPOutpostConfig interface.
@@ -44,6 +44,7 @@ export function LDAPOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
45
45
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
46
46
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
47
+ 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
47
48
  };
48
49
  }
49
50
  export function LDAPOutpostConfigToJSON(value) {
@@ -64,5 +65,6 @@ export function LDAPOutpostConfigToJSON(value) {
64
65
  'gid_start_number': value.gidStartNumber,
65
66
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
66
67
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
68
+ 'mfa_support': value.mfaSupport,
67
69
  };
68
70
  }
@@ -119,13 +119,13 @@ export interface LDAPProvider {
119
119
  */
120
120
  tlsServerName?: string;
121
121
  /**
122
- * 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
122
+ * 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
123
123
  * @type {number}
124
124
  * @memberof LDAPProvider
125
125
  */
126
126
  uidStartNumber?: number;
127
127
  /**
128
- * 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
128
+ * 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
129
129
  * @type {number}
130
130
  * @memberof LDAPProvider
131
131
  */
@@ -148,6 +148,12 @@ export interface LDAPProvider {
148
148
  * @memberof LDAPProvider
149
149
  */
150
150
  bindMode?: LDAPAPIAccessMode;
151
+ /**
152
+ * 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.
153
+ * @type {boolean}
154
+ * @memberof LDAPProvider
155
+ */
156
+ mfaSupport?: boolean;
151
157
  }
152
158
  /**
153
159
  * Check if a given object implements the LDAPProvider interface.
@@ -62,6 +62,7 @@ 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'],
65
66
  };
66
67
  }
67
68
  export function LDAPProviderToJSON(value) {
@@ -84,5 +85,6 @@ export function LDAPProviderToJSON(value) {
84
85
  'gid_start_number': value.gidStartNumber,
85
86
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
86
87
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
88
+ 'mfa_support': value.mfaSupport,
87
89
  };
88
90
  }
@@ -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.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
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.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
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,6 +88,12 @@ 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;
91
97
  }
92
98
  /**
93
99
  * Check if a given object implements the LDAPProviderRequest interface.
@@ -42,6 +42,7 @@ 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'],
45
46
  };
46
47
  }
47
48
  export function LDAPProviderRequestToJSON(value) {
@@ -64,5 +65,6 @@ export function LDAPProviderRequestToJSON(value) {
64
65
  'gid_start_number': value.gidStartNumber,
65
66
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
66
67
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
68
+ 'mfa_support': value.mfaSupport,
67
69
  };
68
70
  }
@@ -35,25 +35,25 @@ export interface PatchedEventMatcherPolicyRequest {
35
35
  * @type {EventActions}
36
36
  * @memberof PatchedEventMatcherPolicyRequest
37
37
  */
38
- action?: EventActions;
38
+ action?: EventActions | null;
39
39
  /**
40
40
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
41
41
  * @type {string}
42
42
  * @memberof PatchedEventMatcherPolicyRequest
43
43
  */
44
- clientIp?: string;
44
+ clientIp?: string | null;
45
45
  /**
46
46
  *
47
47
  * @type {AppEnum}
48
48
  * @memberof PatchedEventMatcherPolicyRequest
49
49
  */
50
- app?: AppEnum;
50
+ app?: AppEnum | null;
51
51
  /**
52
52
  *
53
53
  * @type {ModelEnum}
54
54
  * @memberof PatchedEventMatcherPolicyRequest
55
55
  */
56
- model?: ModelEnum;
56
+ model?: ModelEnum | null;
57
57
  }
58
58
  /**
59
59
  * Check if a given object implements the PatchedEventMatcherPolicyRequest interface.
@@ -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.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
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.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
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,6 +88,12 @@ 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;
91
97
  }
92
98
  /**
93
99
  * Check if a given object implements the PatchedLDAPProviderRequest interface.
@@ -40,6 +40,7 @@ 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'],
43
44
  };
44
45
  }
45
46
  export function PatchedLDAPProviderRequestToJSON(value) {
@@ -62,5 +63,6 @@ export function PatchedLDAPProviderRequestToJSON(value) {
62
63
  'gid_start_number': value.gidStartNumber,
63
64
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
64
65
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
66
+ 'mfa_support': value.mfaSupport,
65
67
  };
66
68
  }
@@ -71,25 +71,25 @@ export interface EventMatcherPolicy {
71
71
  * @type {EventActions}
72
72
  * @memberof EventMatcherPolicy
73
73
  */
74
- action?: EventActions;
74
+ action?: EventActions | null;
75
75
  /**
76
76
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
77
77
  * @type {string}
78
78
  * @memberof EventMatcherPolicy
79
79
  */
80
- clientIp?: string;
80
+ clientIp?: string | null;
81
81
  /**
82
82
  *
83
83
  * @type {AppEnum}
84
84
  * @memberof EventMatcherPolicy
85
85
  */
86
- app?: AppEnum;
86
+ app?: AppEnum | null;
87
87
  /**
88
88
  *
89
89
  * @type {ModelEnum}
90
90
  * @memberof EventMatcherPolicy
91
91
  */
92
- model?: ModelEnum;
92
+ model?: ModelEnum | null;
93
93
  }
94
94
  /**
95
95
  * Check if a given object implements the EventMatcherPolicy interface.
@@ -35,25 +35,25 @@ export interface EventMatcherPolicyRequest {
35
35
  * @type {EventActions}
36
36
  * @memberof EventMatcherPolicyRequest
37
37
  */
38
- action?: EventActions;
38
+ action?: EventActions | null;
39
39
  /**
40
40
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
41
41
  * @type {string}
42
42
  * @memberof EventMatcherPolicyRequest
43
43
  */
44
- clientIp?: string;
44
+ clientIp?: string | null;
45
45
  /**
46
46
  *
47
47
  * @type {AppEnum}
48
48
  * @memberof EventMatcherPolicyRequest
49
49
  */
50
- app?: AppEnum;
50
+ app?: AppEnum | null;
51
51
  /**
52
52
  *
53
53
  * @type {ModelEnum}
54
54
  * @memberof EventMatcherPolicyRequest
55
55
  */
56
- model?: ModelEnum;
56
+ model?: ModelEnum | null;
57
57
  }
58
58
  /**
59
59
  * Check if a given object implements the EventMatcherPolicyRequest interface.
@@ -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.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
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.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
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,6 +88,12 @@ 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;
91
97
  }
92
98
  /**
93
99
  * Check if a given object implements the LDAPOutpostConfig interface.
@@ -49,6 +49,7 @@ 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'],
52
53
  };
53
54
  }
54
55
  exports.LDAPOutpostConfigFromJSONTyped = LDAPOutpostConfigFromJSONTyped;
@@ -70,6 +71,7 @@ function LDAPOutpostConfigToJSON(value) {
70
71
  'gid_start_number': value.gidStartNumber,
71
72
  'search_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.searchMode),
72
73
  'bind_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.bindMode),
74
+ 'mfa_support': value.mfaSupport,
73
75
  };
74
76
  }
75
77
  exports.LDAPOutpostConfigToJSON = LDAPOutpostConfigToJSON;
@@ -119,13 +119,13 @@ export interface LDAPProvider {
119
119
  */
120
120
  tlsServerName?: string;
121
121
  /**
122
- * 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
122
+ * 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
123
123
  * @type {number}
124
124
  * @memberof LDAPProvider
125
125
  */
126
126
  uidStartNumber?: number;
127
127
  /**
128
- * 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
128
+ * 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
129
129
  * @type {number}
130
130
  * @memberof LDAPProvider
131
131
  */
@@ -148,6 +148,12 @@ export interface LDAPProvider {
148
148
  * @memberof LDAPProvider
149
149
  */
150
150
  bindMode?: LDAPAPIAccessMode;
151
+ /**
152
+ * 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.
153
+ * @type {boolean}
154
+ * @memberof LDAPProvider
155
+ */
156
+ mfaSupport?: boolean;
151
157
  }
152
158
  /**
153
159
  * Check if a given object implements the LDAPProvider interface.
@@ -67,6 +67,7 @@ function LDAPProviderFromJSONTyped(json, ignoreDiscriminator) {
67
67
  'outpostSet': json['outpost_set'],
68
68
  'searchMode': !(0, runtime_1.exists)(json, 'search_mode') ? undefined : (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON)(json['search_mode']),
69
69
  'bindMode': !(0, runtime_1.exists)(json, 'bind_mode') ? undefined : (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON)(json['bind_mode']),
70
+ 'mfaSupport': !(0, runtime_1.exists)(json, 'mfa_support') ? undefined : json['mfa_support'],
70
71
  };
71
72
  }
72
73
  exports.LDAPProviderFromJSONTyped = LDAPProviderFromJSONTyped;
@@ -90,6 +91,7 @@ function LDAPProviderToJSON(value) {
90
91
  'gid_start_number': value.gidStartNumber,
91
92
  'search_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.searchMode),
92
93
  'bind_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.bindMode),
94
+ 'mfa_support': value.mfaSupport,
93
95
  };
94
96
  }
95
97
  exports.LDAPProviderToJSON = LDAPProviderToJSON;
@@ -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.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
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.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
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,6 +88,12 @@ 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;
91
97
  }
92
98
  /**
93
99
  * Check if a given object implements the LDAPProviderRequest interface.
@@ -47,6 +47,7 @@ function LDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
47
47
  'gidStartNumber': !(0, runtime_1.exists)(json, 'gid_start_number') ? undefined : json['gid_start_number'],
48
48
  'searchMode': !(0, runtime_1.exists)(json, 'search_mode') ? undefined : (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON)(json['search_mode']),
49
49
  'bindMode': !(0, runtime_1.exists)(json, 'bind_mode') ? undefined : (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON)(json['bind_mode']),
50
+ 'mfaSupport': !(0, runtime_1.exists)(json, 'mfa_support') ? undefined : json['mfa_support'],
50
51
  };
51
52
  }
52
53
  exports.LDAPProviderRequestFromJSONTyped = LDAPProviderRequestFromJSONTyped;
@@ -70,6 +71,7 @@ function LDAPProviderRequestToJSON(value) {
70
71
  'gid_start_number': value.gidStartNumber,
71
72
  'search_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.searchMode),
72
73
  'bind_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.bindMode),
74
+ 'mfa_support': value.mfaSupport,
73
75
  };
74
76
  }
75
77
  exports.LDAPProviderRequestToJSON = LDAPProviderRequestToJSON;
@@ -35,25 +35,25 @@ export interface PatchedEventMatcherPolicyRequest {
35
35
  * @type {EventActions}
36
36
  * @memberof PatchedEventMatcherPolicyRequest
37
37
  */
38
- action?: EventActions;
38
+ action?: EventActions | null;
39
39
  /**
40
40
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
41
41
  * @type {string}
42
42
  * @memberof PatchedEventMatcherPolicyRequest
43
43
  */
44
- clientIp?: string;
44
+ clientIp?: string | null;
45
45
  /**
46
46
  *
47
47
  * @type {AppEnum}
48
48
  * @memberof PatchedEventMatcherPolicyRequest
49
49
  */
50
- app?: AppEnum;
50
+ app?: AppEnum | null;
51
51
  /**
52
52
  *
53
53
  * @type {ModelEnum}
54
54
  * @memberof PatchedEventMatcherPolicyRequest
55
55
  */
56
- model?: ModelEnum;
56
+ model?: ModelEnum | null;
57
57
  }
58
58
  /**
59
59
  * Check if a given object implements the PatchedEventMatcherPolicyRequest interface.
@@ -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.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
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.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
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,6 +88,12 @@ 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;
91
97
  }
92
98
  /**
93
99
  * Check if a given object implements the PatchedLDAPProviderRequest interface.
@@ -45,6 +45,7 @@ function PatchedLDAPProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'gidStartNumber': !(0, runtime_1.exists)(json, 'gid_start_number') ? undefined : json['gid_start_number'],
46
46
  'searchMode': !(0, runtime_1.exists)(json, 'search_mode') ? undefined : (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON)(json['search_mode']),
47
47
  'bindMode': !(0, runtime_1.exists)(json, 'bind_mode') ? undefined : (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeFromJSON)(json['bind_mode']),
48
+ 'mfaSupport': !(0, runtime_1.exists)(json, 'mfa_support') ? undefined : json['mfa_support'],
48
49
  };
49
50
  }
50
51
  exports.PatchedLDAPProviderRequestFromJSONTyped = PatchedLDAPProviderRequestFromJSONTyped;
@@ -68,6 +69,7 @@ function PatchedLDAPProviderRequestToJSON(value) {
68
69
  'gid_start_number': value.gidStartNumber,
69
70
  'search_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.searchMode),
70
71
  'bind_mode': (0, LDAPAPIAccessMode_1.LDAPAPIAccessModeToJSON)(value.bindMode),
72
+ 'mfa_support': value.mfaSupport,
71
73
  };
72
74
  }
73
75
  exports.PatchedLDAPProviderRequestToJSON = PatchedLDAPProviderRequestToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.5.3-1686600706",
3
+ "version": "2023.5.3-1687355411",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -91,25 +91,25 @@ export interface EventMatcherPolicy {
91
91
  * @type {EventActions}
92
92
  * @memberof EventMatcherPolicy
93
93
  */
94
- action?: EventActions;
94
+ action?: EventActions | null;
95
95
  /**
96
96
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
97
97
  * @type {string}
98
98
  * @memberof EventMatcherPolicy
99
99
  */
100
- clientIp?: string;
100
+ clientIp?: string | null;
101
101
  /**
102
102
  *
103
103
  * @type {AppEnum}
104
104
  * @memberof EventMatcherPolicy
105
105
  */
106
- app?: AppEnum;
106
+ app?: AppEnum | null;
107
107
  /**
108
108
  *
109
109
  * @type {ModelEnum}
110
110
  * @memberof EventMatcherPolicy
111
111
  */
112
- model?: ModelEnum;
112
+ model?: ModelEnum | null;
113
113
  }
114
114
 
115
115
  /**
@@ -55,25 +55,25 @@ export interface EventMatcherPolicyRequest {
55
55
  * @type {EventActions}
56
56
  * @memberof EventMatcherPolicyRequest
57
57
  */
58
- action?: EventActions;
58
+ action?: EventActions | null;
59
59
  /**
60
60
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
61
61
  * @type {string}
62
62
  * @memberof EventMatcherPolicyRequest
63
63
  */
64
- clientIp?: string;
64
+ clientIp?: string | null;
65
65
  /**
66
66
  *
67
67
  * @type {AppEnum}
68
68
  * @memberof EventMatcherPolicyRequest
69
69
  */
70
- app?: AppEnum;
70
+ app?: AppEnum | null;
71
71
  /**
72
72
  *
73
73
  * @type {ModelEnum}
74
74
  * @memberof EventMatcherPolicyRequest
75
75
  */
76
- model?: ModelEnum;
76
+ model?: ModelEnum | null;
77
77
  }
78
78
 
79
79
  /**
@@ -75,13 +75,13 @@ export interface LDAPOutpostConfig {
75
75
  */
76
76
  tlsServerName?: string;
77
77
  /**
78
- * 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
78
+ * 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
79
79
  * @type {number}
80
80
  * @memberof LDAPOutpostConfig
81
81
  */
82
82
  uidStartNumber?: number;
83
83
  /**
84
- * 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
84
+ * 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
85
85
  * @type {number}
86
86
  * @memberof LDAPOutpostConfig
87
87
  */
@@ -98,6 +98,12 @@ export interface LDAPOutpostConfig {
98
98
  * @memberof LDAPOutpostConfig
99
99
  */
100
100
  bindMode?: LDAPAPIAccessMode;
101
+ /**
102
+ * 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.
103
+ * @type {boolean}
104
+ * @memberof LDAPOutpostConfig
105
+ */
106
+ mfaSupport?: boolean;
101
107
  }
102
108
 
103
109
  /**
@@ -135,6 +141,7 @@ export function LDAPOutpostConfigFromJSONTyped(json: any, ignoreDiscriminator: b
135
141
  'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
136
142
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
137
143
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
144
+ 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
138
145
  };
139
146
  }
140
147
 
@@ -157,6 +164,7 @@ export function LDAPOutpostConfigToJSON(value?: LDAPOutpostConfig | null): any {
157
164
  'gid_start_number': value.gidStartNumber,
158
165
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
159
166
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
167
+ 'mfa_support': value.mfaSupport,
160
168
  };
161
169
  }
162
170
 
@@ -129,13 +129,13 @@ export interface LDAPProvider {
129
129
  */
130
130
  tlsServerName?: string;
131
131
  /**
132
- * 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
132
+ * 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
133
133
  * @type {number}
134
134
  * @memberof LDAPProvider
135
135
  */
136
136
  uidStartNumber?: number;
137
137
  /**
138
- * 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
138
+ * 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
139
139
  * @type {number}
140
140
  * @memberof LDAPProvider
141
141
  */
@@ -158,6 +158,12 @@ export interface LDAPProvider {
158
158
  * @memberof LDAPProvider
159
159
  */
160
160
  bindMode?: LDAPAPIAccessMode;
161
+ /**
162
+ * 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.
163
+ * @type {boolean}
164
+ * @memberof LDAPProvider
165
+ */
166
+ mfaSupport?: boolean;
161
167
  }
162
168
 
163
169
  /**
@@ -213,6 +219,7 @@ export function LDAPProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
213
219
  'outpostSet': json['outpost_set'],
214
220
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
215
221
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
222
+ 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
216
223
  };
217
224
  }
218
225
 
@@ -237,6 +244,7 @@ export function LDAPProviderToJSON(value?: LDAPProvider | null): any {
237
244
  'gid_start_number': value.gidStartNumber,
238
245
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
239
246
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
247
+ 'mfa_support': value.mfaSupport,
240
248
  };
241
249
  }
242
250
 
@@ -75,13 +75,13 @@ export interface LDAPProviderRequest {
75
75
  */
76
76
  tlsServerName?: string;
77
77
  /**
78
- * 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
78
+ * 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
79
79
  * @type {number}
80
80
  * @memberof LDAPProviderRequest
81
81
  */
82
82
  uidStartNumber?: number;
83
83
  /**
84
- * 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
84
+ * 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
85
85
  * @type {number}
86
86
  * @memberof LDAPProviderRequest
87
87
  */
@@ -98,6 +98,12 @@ export interface LDAPProviderRequest {
98
98
  * @memberof LDAPProviderRequest
99
99
  */
100
100
  bindMode?: LDAPAPIAccessMode;
101
+ /**
102
+ * 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.
103
+ * @type {boolean}
104
+ * @memberof LDAPProviderRequest
105
+ */
106
+ mfaSupport?: boolean;
101
107
  }
102
108
 
103
109
  /**
@@ -133,6 +139,7 @@ export function LDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
133
139
  'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
134
140
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
135
141
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
142
+ 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
136
143
  };
137
144
  }
138
145
 
@@ -157,6 +164,7 @@ export function LDAPProviderRequestToJSON(value?: LDAPProviderRequest | null): a
157
164
  'gid_start_number': value.gidStartNumber,
158
165
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
159
166
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
167
+ 'mfa_support': value.mfaSupport,
160
168
  };
161
169
  }
162
170
 
@@ -55,25 +55,25 @@ export interface PatchedEventMatcherPolicyRequest {
55
55
  * @type {EventActions}
56
56
  * @memberof PatchedEventMatcherPolicyRequest
57
57
  */
58
- action?: EventActions;
58
+ action?: EventActions | null;
59
59
  /**
60
60
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
61
61
  * @type {string}
62
62
  * @memberof PatchedEventMatcherPolicyRequest
63
63
  */
64
- clientIp?: string;
64
+ clientIp?: string | null;
65
65
  /**
66
66
  *
67
67
  * @type {AppEnum}
68
68
  * @memberof PatchedEventMatcherPolicyRequest
69
69
  */
70
- app?: AppEnum;
70
+ app?: AppEnum | null;
71
71
  /**
72
72
  *
73
73
  * @type {ModelEnum}
74
74
  * @memberof PatchedEventMatcherPolicyRequest
75
75
  */
76
- model?: ModelEnum;
76
+ model?: ModelEnum | null;
77
77
  }
78
78
 
79
79
  /**
@@ -75,13 +75,13 @@ export interface PatchedLDAPProviderRequest {
75
75
  */
76
76
  tlsServerName?: string;
77
77
  /**
78
- * 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
78
+ * 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
79
79
  * @type {number}
80
80
  * @memberof PatchedLDAPProviderRequest
81
81
  */
82
82
  uidStartNumber?: number;
83
83
  /**
84
- * 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
84
+ * 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
85
85
  * @type {number}
86
86
  * @memberof PatchedLDAPProviderRequest
87
87
  */
@@ -98,6 +98,12 @@ export interface PatchedLDAPProviderRequest {
98
98
  * @memberof PatchedLDAPProviderRequest
99
99
  */
100
100
  bindMode?: LDAPAPIAccessMode;
101
+ /**
102
+ * 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.
103
+ * @type {boolean}
104
+ * @memberof PatchedLDAPProviderRequest
105
+ */
106
+ mfaSupport?: boolean;
101
107
  }
102
108
 
103
109
  /**
@@ -131,6 +137,7 @@ export function PatchedLDAPProviderRequestFromJSONTyped(json: any, ignoreDiscrim
131
137
  'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
132
138
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
133
139
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
140
+ 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
134
141
  };
135
142
  }
136
143
 
@@ -155,6 +162,7 @@ export function PatchedLDAPProviderRequestToJSON(value?: PatchedLDAPProviderRequ
155
162
  'gid_start_number': value.gidStartNumber,
156
163
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
157
164
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
165
+ 'mfa_support': value.mfaSupport,
158
166
  };
159
167
  }
160
168