@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.
Files changed (102) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/dist/apis/AdminApi.d.ts +0 -8
  3. package/dist/apis/AdminApi.js +0 -28
  4. package/dist/apis/CoreApi.d.ts +19 -0
  5. package/dist/apis/CoreApi.js +57 -0
  6. package/dist/apis/PoliciesApi.d.ts +0 -1
  7. package/dist/apis/PoliciesApi.js +0 -3
  8. package/dist/apis/SourcesApi.d.ts +0 -3
  9. package/dist/apis/SourcesApi.js +0 -9
  10. package/dist/esm/apis/AdminApi.d.ts +0 -8
  11. package/dist/esm/apis/AdminApi.js +0 -28
  12. package/dist/esm/apis/CoreApi.d.ts +19 -0
  13. package/dist/esm/apis/CoreApi.js +57 -0
  14. package/dist/esm/apis/PoliciesApi.d.ts +0 -1
  15. package/dist/esm/apis/PoliciesApi.js +0 -3
  16. package/dist/esm/apis/SourcesApi.d.ts +0 -3
  17. package/dist/esm/apis/SourcesApi.js +0 -9
  18. package/dist/esm/models/EventMatcherPolicy.d.ts +3 -10
  19. package/dist/esm/models/EventMatcherPolicy.js +0 -3
  20. package/dist/esm/models/EventMatcherPolicyRequest.d.ts +3 -10
  21. package/dist/esm/models/EventMatcherPolicyRequest.js +0 -3
  22. package/dist/esm/models/LDAPOutpostConfig.d.ts +2 -8
  23. package/dist/esm/models/LDAPOutpostConfig.js +0 -2
  24. package/dist/esm/models/LDAPProvider.d.ts +2 -8
  25. package/dist/esm/models/LDAPProvider.js +0 -2
  26. package/dist/esm/models/LDAPProviderRequest.d.ts +2 -8
  27. package/dist/esm/models/LDAPProviderRequest.js +0 -2
  28. package/dist/esm/models/LDAPSource.d.ts +0 -12
  29. package/dist/esm/models/LDAPSource.js +0 -4
  30. package/dist/esm/models/LDAPSourceRequest.d.ts +0 -12
  31. package/dist/esm/models/LDAPSourceRequest.js +0 -4
  32. package/dist/esm/models/PatchedEventMatcherPolicyRequest.d.ts +3 -10
  33. package/dist/esm/models/PatchedEventMatcherPolicyRequest.js +0 -3
  34. package/dist/esm/models/PatchedLDAPProviderRequest.d.ts +2 -8
  35. package/dist/esm/models/PatchedLDAPProviderRequest.js +0 -2
  36. package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +0 -12
  37. package/dist/esm/models/PatchedLDAPSourceRequest.js +0 -4
  38. package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +1 -7
  39. package/dist/esm/models/PatchedSAMLSourceRequest.js +0 -2
  40. package/dist/esm/models/SAMLSource.d.ts +1 -7
  41. package/dist/esm/models/SAMLSource.js +0 -2
  42. package/dist/esm/models/SAMLSourceRequest.d.ts +1 -7
  43. package/dist/esm/models/SAMLSourceRequest.js +0 -2
  44. package/dist/esm/models/System.d.ts +0 -8
  45. package/dist/esm/models/System.js +0 -2
  46. package/dist/esm/models/index.d.ts +0 -1
  47. package/dist/esm/models/index.js +0 -1
  48. package/dist/models/EventMatcherPolicy.d.ts +3 -10
  49. package/dist/models/EventMatcherPolicy.js +0 -3
  50. package/dist/models/EventMatcherPolicyRequest.d.ts +3 -10
  51. package/dist/models/EventMatcherPolicyRequest.js +0 -3
  52. package/dist/models/LDAPOutpostConfig.d.ts +2 -8
  53. package/dist/models/LDAPOutpostConfig.js +0 -2
  54. package/dist/models/LDAPProvider.d.ts +2 -8
  55. package/dist/models/LDAPProvider.js +0 -2
  56. package/dist/models/LDAPProviderRequest.d.ts +2 -8
  57. package/dist/models/LDAPProviderRequest.js +0 -2
  58. package/dist/models/LDAPSource.d.ts +0 -12
  59. package/dist/models/LDAPSource.js +0 -4
  60. package/dist/models/LDAPSourceRequest.d.ts +0 -12
  61. package/dist/models/LDAPSourceRequest.js +0 -4
  62. package/dist/models/PatchedEventMatcherPolicyRequest.d.ts +3 -10
  63. package/dist/models/PatchedEventMatcherPolicyRequest.js +0 -3
  64. package/dist/models/PatchedLDAPProviderRequest.d.ts +2 -8
  65. package/dist/models/PatchedLDAPProviderRequest.js +0 -2
  66. package/dist/models/PatchedLDAPSourceRequest.d.ts +0 -12
  67. package/dist/models/PatchedLDAPSourceRequest.js +0 -4
  68. package/dist/models/PatchedSAMLSourceRequest.d.ts +1 -7
  69. package/dist/models/PatchedSAMLSourceRequest.js +0 -2
  70. package/dist/models/SAMLSource.d.ts +1 -7
  71. package/dist/models/SAMLSource.js +0 -2
  72. package/dist/models/SAMLSourceRequest.d.ts +1 -7
  73. package/dist/models/SAMLSourceRequest.js +0 -2
  74. package/dist/models/System.d.ts +0 -8
  75. package/dist/models/System.js +0 -2
  76. package/dist/models/index.d.ts +0 -1
  77. package/dist/models/index.js +0 -1
  78. package/package.json +1 -1
  79. package/src/apis/AdminApi.ts +0 -30
  80. package/src/apis/CoreApi.ts +66 -0
  81. package/src/apis/PoliciesApi.ts +0 -5
  82. package/src/apis/SourcesApi.ts +0 -15
  83. package/src/models/EventMatcherPolicy.ts +3 -17
  84. package/src/models/EventMatcherPolicyRequest.ts +3 -17
  85. package/src/models/LDAPOutpostConfig.ts +2 -10
  86. package/src/models/LDAPProvider.ts +2 -10
  87. package/src/models/LDAPProviderRequest.ts +2 -10
  88. package/src/models/LDAPSource.ts +0 -16
  89. package/src/models/LDAPSourceRequest.ts +0 -16
  90. package/src/models/PatchedEventMatcherPolicyRequest.ts +3 -17
  91. package/src/models/PatchedLDAPProviderRequest.ts +2 -10
  92. package/src/models/PatchedLDAPSourceRequest.ts +0 -16
  93. package/src/models/PatchedSAMLSourceRequest.ts +1 -9
  94. package/src/models/SAMLSource.ts +1 -9
  95. package/src/models/SAMLSourceRequest.ts +1 -9
  96. package/src/models/System.ts +0 -8
  97. package/src/models/index.ts +0 -1
  98. package/dist/esm/models/ModelEnum.d.ts +0 -161
  99. package/dist/esm/models/ModelEnum.js +0 -168
  100. package/dist/models/ModelEnum.d.ts +0 -161
  101. package/dist/models/ModelEnum.js +0 -174
  102. package/src/models/ModelEnum.ts +0 -176
@@ -258,7 +258,6 @@ export interface PoliciesEventMatcherListRequest {
258
258
  created?: Date;
259
259
  executionLogging?: boolean;
260
260
  lastUpdated?: Date;
261
- model?: string;
262
261
  name?: string;
263
262
  ordering?: string;
264
263
  page?: number;
@@ -1452,10 +1451,6 @@ export class PoliciesApi extends runtime.BaseAPI {
1452
1451
  queryParameters['last_updated'] = (requestParameters.lastUpdated as any).toISOString();
1453
1452
  }
1454
1453
 
1455
- if (requestParameters.model !== undefined) {
1456
- queryParameters['model'] = requestParameters.model;
1457
- }
1458
-
1459
1454
  if (requestParameters.name !== undefined) {
1460
1455
  queryParameters['name'] = requestParameters.name;
1461
1456
  }
@@ -201,7 +201,6 @@ export interface SourcesLdapListRequest {
201
201
  additionalUserDn?: string;
202
202
  baseDn?: string;
203
203
  bindCn?: string;
204
- clientCertificate?: string;
205
204
  enabled?: boolean;
206
205
  groupMembershipField?: string;
207
206
  groupObjectFilter?: string;
@@ -216,7 +215,6 @@ export interface SourcesLdapListRequest {
216
215
  search?: string;
217
216
  serverUri?: string;
218
217
  slug?: string;
219
- sni?: boolean;
220
218
  startTls?: boolean;
221
219
  syncGroups?: boolean;
222
220
  syncParentGroup?: string;
@@ -383,7 +381,6 @@ export interface SourcesSamlListRequest {
383
381
  ssoUrl?: string;
384
382
  temporaryUserDeleteAfter?: string;
385
383
  userMatchingMode?: SourcesSamlListUserMatchingModeEnum;
386
- verificationKp?: string;
387
384
  }
388
385
 
389
386
  export interface SourcesSamlMetadataRetrieveRequest {
@@ -986,10 +983,6 @@ export class SourcesApi extends runtime.BaseAPI {
986
983
  queryParameters['bind_cn'] = requestParameters.bindCn;
987
984
  }
988
985
 
989
- if (requestParameters.clientCertificate !== undefined) {
990
- queryParameters['client_certificate'] = requestParameters.clientCertificate;
991
- }
992
-
993
986
  if (requestParameters.enabled !== undefined) {
994
987
  queryParameters['enabled'] = requestParameters.enabled;
995
988
  }
@@ -1046,10 +1039,6 @@ export class SourcesApi extends runtime.BaseAPI {
1046
1039
  queryParameters['slug'] = requestParameters.slug;
1047
1040
  }
1048
1041
 
1049
- if (requestParameters.sni !== undefined) {
1050
- queryParameters['sni'] = requestParameters.sni;
1051
- }
1052
-
1053
1042
  if (requestParameters.startTls !== undefined) {
1054
1043
  queryParameters['start_tls'] = requestParameters.startTls;
1055
1044
  }
@@ -2181,10 +2170,6 @@ export class SourcesApi extends runtime.BaseAPI {
2181
2170
  queryParameters['user_matching_mode'] = requestParameters.userMatchingMode;
2182
2171
  }
2183
2172
 
2184
- if (requestParameters.verificationKp !== undefined) {
2185
- queryParameters['verification_kp'] = requestParameters.verificationKp;
2186
- }
2187
-
2188
2173
  const headerParameters: runtime.HTTPHeaders = {};
2189
2174
 
2190
2175
  if (this.configuration && this.configuration.apiKey) {
@@ -25,12 +25,6 @@ import {
25
25
  EventActionsFromJSONTyped,
26
26
  EventActionsToJSON,
27
27
  } from './EventActions';
28
- import type { ModelEnum } from './ModelEnum';
29
- import {
30
- ModelEnumFromJSON,
31
- ModelEnumFromJSONTyped,
32
- ModelEnumToJSON,
33
- } from './ModelEnum';
34
28
 
35
29
  /**
36
30
  * Event Matcher Policy Serializer
@@ -91,25 +85,19 @@ export interface EventMatcherPolicy {
91
85
  * @type {EventActions}
92
86
  * @memberof EventMatcherPolicy
93
87
  */
94
- action?: EventActions | null;
88
+ action?: EventActions;
95
89
  /**
96
90
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
97
91
  * @type {string}
98
92
  * @memberof EventMatcherPolicy
99
93
  */
100
- clientIp?: string | null;
94
+ clientIp?: string;
101
95
  /**
102
96
  *
103
97
  * @type {AppEnum}
104
98
  * @memberof EventMatcherPolicy
105
99
  */
106
- app?: AppEnum | null;
107
- /**
108
- *
109
- * @type {ModelEnum}
110
- * @memberof EventMatcherPolicy
111
- */
112
- model?: ModelEnum | null;
100
+ app?: AppEnum;
113
101
  }
114
102
 
115
103
  /**
@@ -149,7 +137,6 @@ export function EventMatcherPolicyFromJSONTyped(json: any, ignoreDiscriminator:
149
137
  'action': !exists(json, 'action') ? undefined : EventActionsFromJSON(json['action']),
150
138
  'clientIp': !exists(json, 'client_ip') ? undefined : json['client_ip'],
151
139
  'app': !exists(json, 'app') ? undefined : AppEnumFromJSON(json['app']),
152
- 'model': !exists(json, 'model') ? undefined : ModelEnumFromJSON(json['model']),
153
140
  };
154
141
  }
155
142
 
@@ -167,7 +154,6 @@ export function EventMatcherPolicyToJSON(value?: EventMatcherPolicy | null): any
167
154
  'action': EventActionsToJSON(value.action),
168
155
  'client_ip': value.clientIp,
169
156
  'app': AppEnumToJSON(value.app),
170
- 'model': ModelEnumToJSON(value.model),
171
157
  };
172
158
  }
173
159
 
@@ -25,12 +25,6 @@ import {
25
25
  EventActionsFromJSONTyped,
26
26
  EventActionsToJSON,
27
27
  } from './EventActions';
28
- import type { ModelEnum } from './ModelEnum';
29
- import {
30
- ModelEnumFromJSON,
31
- ModelEnumFromJSONTyped,
32
- ModelEnumToJSON,
33
- } from './ModelEnum';
34
28
 
35
29
  /**
36
30
  * Event Matcher Policy Serializer
@@ -55,25 +49,19 @@ export interface EventMatcherPolicyRequest {
55
49
  * @type {EventActions}
56
50
  * @memberof EventMatcherPolicyRequest
57
51
  */
58
- action?: EventActions | null;
52
+ action?: EventActions;
59
53
  /**
60
54
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
61
55
  * @type {string}
62
56
  * @memberof EventMatcherPolicyRequest
63
57
  */
64
- clientIp?: string | null;
58
+ clientIp?: string;
65
59
  /**
66
60
  *
67
61
  * @type {AppEnum}
68
62
  * @memberof EventMatcherPolicyRequest
69
63
  */
70
- app?: AppEnum | null;
71
- /**
72
- *
73
- * @type {ModelEnum}
74
- * @memberof EventMatcherPolicyRequest
75
- */
76
- model?: ModelEnum | null;
64
+ app?: AppEnum;
77
65
  }
78
66
 
79
67
  /**
@@ -101,7 +89,6 @@ export function EventMatcherPolicyRequestFromJSONTyped(json: any, ignoreDiscrimi
101
89
  'action': !exists(json, 'action') ? undefined : EventActionsFromJSON(json['action']),
102
90
  'clientIp': !exists(json, 'client_ip') ? undefined : json['client_ip'],
103
91
  'app': !exists(json, 'app') ? undefined : AppEnumFromJSON(json['app']),
104
- 'model': !exists(json, 'model') ? undefined : ModelEnumFromJSON(json['model']),
105
92
  };
106
93
  }
107
94
 
@@ -119,7 +106,6 @@ export function EventMatcherPolicyRequestToJSON(value?: EventMatcherPolicyReques
119
106
  'action': EventActionsToJSON(value.action),
120
107
  'client_ip': value.clientIp,
121
108
  'app': AppEnumToJSON(value.app),
122
- 'model': ModelEnumToJSON(value.model),
123
109
  };
124
110
  }
125
111
 
@@ -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,12 +98,6 @@ 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;
107
101
  }
108
102
 
109
103
  /**
@@ -141,7 +135,6 @@ export function LDAPOutpostConfigFromJSONTyped(json: any, ignoreDiscriminator: b
141
135
  'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
142
136
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
143
137
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
144
- 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
145
138
  };
146
139
  }
147
140
 
@@ -164,7 +157,6 @@ export function LDAPOutpostConfigToJSON(value?: LDAPOutpostConfig | null): any {
164
157
  'gid_start_number': value.gidStartNumber,
165
158
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
166
159
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
167
- 'mfa_support': value.mfaSupport,
168
160
  };
169
161
  }
170
162
 
@@ -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,12 +158,6 @@ 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;
167
161
  }
168
162
 
169
163
  /**
@@ -219,7 +213,6 @@ export function LDAPProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
219
213
  'outpostSet': json['outpost_set'],
220
214
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
221
215
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
222
- 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
223
216
  };
224
217
  }
225
218
 
@@ -244,7 +237,6 @@ export function LDAPProviderToJSON(value?: LDAPProvider | null): any {
244
237
  'gid_start_number': value.gidStartNumber,
245
238
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
246
239
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
247
- 'mfa_support': value.mfaSupport,
248
240
  };
249
241
  }
250
242
 
@@ -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,12 +98,6 @@ 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;
107
101
  }
108
102
 
109
103
  /**
@@ -139,7 +133,6 @@ export function LDAPProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
139
133
  'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
140
134
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
141
135
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
142
- 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
143
136
  };
144
137
  }
145
138
 
@@ -164,7 +157,6 @@ export function LDAPProviderRequestToJSON(value?: LDAPProviderRequest | null): a
164
157
  'gid_start_number': value.gidStartNumber,
165
158
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
166
159
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
167
- 'mfa_support': value.mfaSupport,
168
160
  };
169
161
  }
170
162
 
@@ -135,12 +135,6 @@ export interface LDAPSource {
135
135
  * @memberof LDAPSource
136
136
  */
137
137
  peerCertificate?: string | null;
138
- /**
139
- * Client certificate to authenticate against the LDAP Server's Certificate.
140
- * @type {string}
141
- * @memberof LDAPSource
142
- */
143
- clientCertificate?: string | null;
144
138
  /**
145
139
  *
146
140
  * @type {string}
@@ -153,12 +147,6 @@ export interface LDAPSource {
153
147
  * @memberof LDAPSource
154
148
  */
155
149
  startTls?: boolean;
156
- /**
157
- *
158
- * @type {boolean}
159
- * @memberof LDAPSource
160
- */
161
- sni?: boolean;
162
150
  /**
163
151
  *
164
152
  * @type {string}
@@ -286,10 +274,8 @@ export function LDAPSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
286
274
  'icon': json['icon'],
287
275
  'serverUri': json['server_uri'],
288
276
  'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
289
- 'clientCertificate': !exists(json, 'client_certificate') ? undefined : json['client_certificate'],
290
277
  'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
291
278
  'startTls': !exists(json, 'start_tls') ? undefined : json['start_tls'],
292
- 'sni': !exists(json, 'sni') ? undefined : json['sni'],
293
279
  'baseDn': json['base_dn'],
294
280
  'additionalUserDn': !exists(json, 'additional_user_dn') ? undefined : json['additional_user_dn'],
295
281
  'additionalGroupDn': !exists(json, 'additional_group_dn') ? undefined : json['additional_group_dn'],
@@ -325,10 +311,8 @@ export function LDAPSourceToJSON(value?: LDAPSource | null): any {
325
311
  'user_path_template': value.userPathTemplate,
326
312
  'server_uri': value.serverUri,
327
313
  'peer_certificate': value.peerCertificate,
328
- 'client_certificate': value.clientCertificate,
329
314
  'bind_cn': value.bindCn,
330
315
  'start_tls': value.startTls,
331
- 'sni': value.sni,
332
316
  'base_dn': value.baseDn,
333
317
  'additional_user_dn': value.additionalUserDn,
334
318
  'additional_group_dn': value.additionalGroupDn,
@@ -92,12 +92,6 @@ export interface LDAPSourceRequest {
92
92
  * @memberof LDAPSourceRequest
93
93
  */
94
94
  peerCertificate?: string | null;
95
- /**
96
- * Client certificate to authenticate against the LDAP Server's Certificate.
97
- * @type {string}
98
- * @memberof LDAPSourceRequest
99
- */
100
- clientCertificate?: string | null;
101
95
  /**
102
96
  *
103
97
  * @type {string}
@@ -116,12 +110,6 @@ export interface LDAPSourceRequest {
116
110
  * @memberof LDAPSourceRequest
117
111
  */
118
112
  startTls?: boolean;
119
- /**
120
- *
121
- * @type {boolean}
122
- * @memberof LDAPSourceRequest
123
- */
124
- sni?: boolean;
125
113
  /**
126
114
  *
127
115
  * @type {string}
@@ -235,11 +223,9 @@ export function LDAPSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
235
223
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
236
224
  'serverUri': json['server_uri'],
237
225
  'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
238
- 'clientCertificate': !exists(json, 'client_certificate') ? undefined : json['client_certificate'],
239
226
  'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
240
227
  'bindPassword': !exists(json, 'bind_password') ? undefined : json['bind_password'],
241
228
  'startTls': !exists(json, 'start_tls') ? undefined : json['start_tls'],
242
- 'sni': !exists(json, 'sni') ? undefined : json['sni'],
243
229
  'baseDn': json['base_dn'],
244
230
  'additionalUserDn': !exists(json, 'additional_user_dn') ? undefined : json['additional_user_dn'],
245
231
  'additionalGroupDn': !exists(json, 'additional_group_dn') ? undefined : json['additional_group_dn'],
@@ -275,11 +261,9 @@ export function LDAPSourceRequestToJSON(value?: LDAPSourceRequest | null): any {
275
261
  'user_path_template': value.userPathTemplate,
276
262
  'server_uri': value.serverUri,
277
263
  'peer_certificate': value.peerCertificate,
278
- 'client_certificate': value.clientCertificate,
279
264
  'bind_cn': value.bindCn,
280
265
  'bind_password': value.bindPassword,
281
266
  'start_tls': value.startTls,
282
- 'sni': value.sni,
283
267
  'base_dn': value.baseDn,
284
268
  'additional_user_dn': value.additionalUserDn,
285
269
  'additional_group_dn': value.additionalGroupDn,
@@ -25,12 +25,6 @@ import {
25
25
  EventActionsFromJSONTyped,
26
26
  EventActionsToJSON,
27
27
  } from './EventActions';
28
- import type { ModelEnum } from './ModelEnum';
29
- import {
30
- ModelEnumFromJSON,
31
- ModelEnumFromJSONTyped,
32
- ModelEnumToJSON,
33
- } from './ModelEnum';
34
28
 
35
29
  /**
36
30
  * Event Matcher Policy Serializer
@@ -55,25 +49,19 @@ export interface PatchedEventMatcherPolicyRequest {
55
49
  * @type {EventActions}
56
50
  * @memberof PatchedEventMatcherPolicyRequest
57
51
  */
58
- action?: EventActions | null;
52
+ action?: EventActions;
59
53
  /**
60
54
  * Matches Event's Client IP (strict matching, for network matching use an Expression Policy)
61
55
  * @type {string}
62
56
  * @memberof PatchedEventMatcherPolicyRequest
63
57
  */
64
- clientIp?: string | null;
58
+ clientIp?: string;
65
59
  /**
66
60
  *
67
61
  * @type {AppEnum}
68
62
  * @memberof PatchedEventMatcherPolicyRequest
69
63
  */
70
- app?: AppEnum | null;
71
- /**
72
- *
73
- * @type {ModelEnum}
74
- * @memberof PatchedEventMatcherPolicyRequest
75
- */
76
- model?: ModelEnum | null;
64
+ app?: AppEnum;
77
65
  }
78
66
 
79
67
  /**
@@ -100,7 +88,6 @@ export function PatchedEventMatcherPolicyRequestFromJSONTyped(json: any, ignoreD
100
88
  'action': !exists(json, 'action') ? undefined : EventActionsFromJSON(json['action']),
101
89
  'clientIp': !exists(json, 'client_ip') ? undefined : json['client_ip'],
102
90
  'app': !exists(json, 'app') ? undefined : AppEnumFromJSON(json['app']),
103
- 'model': !exists(json, 'model') ? undefined : ModelEnumFromJSON(json['model']),
104
91
  };
105
92
  }
106
93
 
@@ -118,7 +105,6 @@ export function PatchedEventMatcherPolicyRequestToJSON(value?: PatchedEventMatch
118
105
  'action': EventActionsToJSON(value.action),
119
106
  'client_ip': value.clientIp,
120
107
  'app': AppEnumToJSON(value.app),
121
- 'model': ModelEnumToJSON(value.model),
122
108
  };
123
109
  }
124
110
 
@@ -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,12 +98,6 @@ 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;
107
101
  }
108
102
 
109
103
  /**
@@ -137,7 +131,6 @@ export function PatchedLDAPProviderRequestFromJSONTyped(json: any, ignoreDiscrim
137
131
  'gidStartNumber': !exists(json, 'gid_start_number') ? undefined : json['gid_start_number'],
138
132
  'searchMode': !exists(json, 'search_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['search_mode']),
139
133
  'bindMode': !exists(json, 'bind_mode') ? undefined : LDAPAPIAccessModeFromJSON(json['bind_mode']),
140
- 'mfaSupport': !exists(json, 'mfa_support') ? undefined : json['mfa_support'],
141
134
  };
142
135
  }
143
136
 
@@ -162,7 +155,6 @@ export function PatchedLDAPProviderRequestToJSON(value?: PatchedLDAPProviderRequ
162
155
  'gid_start_number': value.gidStartNumber,
163
156
  'search_mode': LDAPAPIAccessModeToJSON(value.searchMode),
164
157
  'bind_mode': LDAPAPIAccessModeToJSON(value.bindMode),
165
- 'mfa_support': value.mfaSupport,
166
158
  };
167
159
  }
168
160
 
@@ -92,12 +92,6 @@ export interface PatchedLDAPSourceRequest {
92
92
  * @memberof PatchedLDAPSourceRequest
93
93
  */
94
94
  peerCertificate?: string | null;
95
- /**
96
- * Client certificate to authenticate against the LDAP Server's Certificate.
97
- * @type {string}
98
- * @memberof PatchedLDAPSourceRequest
99
- */
100
- clientCertificate?: string | null;
101
95
  /**
102
96
  *
103
97
  * @type {string}
@@ -116,12 +110,6 @@ export interface PatchedLDAPSourceRequest {
116
110
  * @memberof PatchedLDAPSourceRequest
117
111
  */
118
112
  startTls?: boolean;
119
- /**
120
- *
121
- * @type {boolean}
122
- * @memberof PatchedLDAPSourceRequest
123
- */
124
- sni?: boolean;
125
113
  /**
126
114
  *
127
115
  * @type {string}
@@ -231,11 +219,9 @@ export function PatchedLDAPSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
231
219
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
232
220
  'serverUri': !exists(json, 'server_uri') ? undefined : json['server_uri'],
233
221
  'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
234
- 'clientCertificate': !exists(json, 'client_certificate') ? undefined : json['client_certificate'],
235
222
  'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
236
223
  'bindPassword': !exists(json, 'bind_password') ? undefined : json['bind_password'],
237
224
  'startTls': !exists(json, 'start_tls') ? undefined : json['start_tls'],
238
- 'sni': !exists(json, 'sni') ? undefined : json['sni'],
239
225
  'baseDn': !exists(json, 'base_dn') ? undefined : json['base_dn'],
240
226
  'additionalUserDn': !exists(json, 'additional_user_dn') ? undefined : json['additional_user_dn'],
241
227
  'additionalGroupDn': !exists(json, 'additional_group_dn') ? undefined : json['additional_group_dn'],
@@ -271,11 +257,9 @@ export function PatchedLDAPSourceRequestToJSON(value?: PatchedLDAPSourceRequest
271
257
  'user_path_template': value.userPathTemplate,
272
258
  'server_uri': value.serverUri,
273
259
  'peer_certificate': value.peerCertificate,
274
- 'client_certificate': value.clientCertificate,
275
260
  'bind_cn': value.bindCn,
276
261
  'bind_password': value.bindPassword,
277
262
  'start_tls': value.startTls,
278
- 'sni': value.sni,
279
263
  'base_dn': value.baseDn,
280
264
  'additional_user_dn': value.additionalUserDn,
281
265
  'additional_group_dn': value.additionalGroupDn,
@@ -147,13 +147,7 @@ export interface PatchedSAMLSourceRequest {
147
147
  */
148
148
  bindingType?: BindingTypeEnum;
149
149
  /**
150
- * When selected, incoming assertion's Signatures will be validated against this certificate. To allow unsigned Requests, leave on default.
151
- * @type {string}
152
- * @memberof PatchedSAMLSourceRequest
153
- */
154
- verificationKp?: string | null;
155
- /**
156
- * Keypair used to sign outgoing Responses going to the Identity Provider.
150
+ * Keypair which is used to sign outgoing requests. Leave empty to disable signing.
157
151
  * @type {string}
158
152
  * @memberof PatchedSAMLSourceRequest
159
153
  */
@@ -212,7 +206,6 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
212
206
  'allowIdpInitiated': !exists(json, 'allow_idp_initiated') ? undefined : json['allow_idp_initiated'],
213
207
  'nameIdPolicy': !exists(json, 'name_id_policy') ? undefined : NameIdPolicyEnumFromJSON(json['name_id_policy']),
214
208
  'bindingType': !exists(json, 'binding_type') ? undefined : BindingTypeEnumFromJSON(json['binding_type']),
215
- 'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
216
209
  'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
217
210
  'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
218
211
  'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
@@ -244,7 +237,6 @@ export function PatchedSAMLSourceRequestToJSON(value?: PatchedSAMLSourceRequest
244
237
  'allow_idp_initiated': value.allowIdpInitiated,
245
238
  'name_id_policy': NameIdPolicyEnumToJSON(value.nameIdPolicy),
246
239
  'binding_type': BindingTypeEnumToJSON(value.bindingType),
247
- 'verification_kp': value.verificationKp,
248
240
  'signing_kp': value.signingKp,
249
241
  'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
250
242
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
@@ -190,13 +190,7 @@ export interface SAMLSource {
190
190
  */
191
191
  bindingType?: BindingTypeEnum;
192
192
  /**
193
- * When selected, incoming assertion's Signatures will be validated against this certificate. To allow unsigned Requests, leave on default.
194
- * @type {string}
195
- * @memberof SAMLSource
196
- */
197
- verificationKp?: string | null;
198
- /**
199
- * Keypair used to sign outgoing Responses going to the Identity Provider.
193
+ * Keypair which is used to sign outgoing requests. Leave empty to disable signing.
200
194
  * @type {string}
201
195
  * @memberof SAMLSource
202
196
  */
@@ -273,7 +267,6 @@ export function SAMLSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
273
267
  'allowIdpInitiated': !exists(json, 'allow_idp_initiated') ? undefined : json['allow_idp_initiated'],
274
268
  'nameIdPolicy': !exists(json, 'name_id_policy') ? undefined : NameIdPolicyEnumFromJSON(json['name_id_policy']),
275
269
  'bindingType': !exists(json, 'binding_type') ? undefined : BindingTypeEnumFromJSON(json['binding_type']),
276
- 'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
277
270
  'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
278
271
  'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
279
272
  'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
@@ -305,7 +298,6 @@ export function SAMLSourceToJSON(value?: SAMLSource | null): any {
305
298
  'allow_idp_initiated': value.allowIdpInitiated,
306
299
  'name_id_policy': NameIdPolicyEnumToJSON(value.nameIdPolicy),
307
300
  'binding_type': BindingTypeEnumToJSON(value.bindingType),
308
- 'verification_kp': value.verificationKp,
309
301
  'signing_kp': value.signingKp,
310
302
  'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
311
303
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),