@goauthentik/api 2025.2.4-1744139776 → 2025.2.4-1744288676
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/dist/apis/SourcesApi.d.ts +1 -0
- package/dist/apis/SourcesApi.js +3 -0
- package/dist/esm/apis/SourcesApi.d.ts +1 -0
- package/dist/esm/apis/SourcesApi.js +3 -0
- package/dist/esm/models/LDAPSource.d.ts +6 -0
- package/dist/esm/models/LDAPSource.js +2 -0
- package/dist/esm/models/LDAPSourceRequest.d.ts +6 -0
- package/dist/esm/models/LDAPSourceRequest.js +2 -0
- package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedLDAPSourceRequest.js +2 -0
- package/dist/models/LDAPSource.d.ts +6 -0
- package/dist/models/LDAPSource.js +2 -0
- package/dist/models/LDAPSourceRequest.d.ts +6 -0
- package/dist/models/LDAPSourceRequest.js +2 -0
- package/dist/models/PatchedLDAPSourceRequest.d.ts +6 -0
- package/dist/models/PatchedLDAPSourceRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/SourcesApi.ts +5 -0
- package/src/models/LDAPSource.ts +8 -0
- package/src/models/LDAPSourceRequest.ts +8 -0
- package/src/models/PatchedLDAPSourceRequest.ts +8 -0
|
@@ -235,6 +235,7 @@ export interface SourcesLdapListRequest {
|
|
|
235
235
|
groupMembershipField?: string;
|
|
236
236
|
groupObjectFilter?: string;
|
|
237
237
|
groupPropertyMappings?: Array<string>;
|
|
238
|
+
lookupGroupsFromUser?: boolean;
|
|
238
239
|
name?: string;
|
|
239
240
|
objectUniquenessField?: string;
|
|
240
241
|
ordering?: string;
|
package/dist/apis/SourcesApi.js
CHANGED
|
@@ -2120,6 +2120,9 @@ class SourcesApi extends runtime.BaseAPI {
|
|
|
2120
2120
|
if (requestParameters['groupPropertyMappings'] != null) {
|
|
2121
2121
|
queryParameters['group_property_mappings'] = requestParameters['groupPropertyMappings'];
|
|
2122
2122
|
}
|
|
2123
|
+
if (requestParameters['lookupGroupsFromUser'] != null) {
|
|
2124
|
+
queryParameters['lookup_groups_from_user'] = requestParameters['lookupGroupsFromUser'];
|
|
2125
|
+
}
|
|
2123
2126
|
if (requestParameters['name'] != null) {
|
|
2124
2127
|
queryParameters['name'] = requestParameters['name'];
|
|
2125
2128
|
}
|
|
@@ -235,6 +235,7 @@ export interface SourcesLdapListRequest {
|
|
|
235
235
|
groupMembershipField?: string;
|
|
236
236
|
groupObjectFilter?: string;
|
|
237
237
|
groupPropertyMappings?: Array<string>;
|
|
238
|
+
lookupGroupsFromUser?: boolean;
|
|
238
239
|
name?: string;
|
|
239
240
|
objectUniquenessField?: string;
|
|
240
241
|
ordering?: string;
|
|
@@ -2117,6 +2117,9 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
2117
2117
|
if (requestParameters['groupPropertyMappings'] != null) {
|
|
2118
2118
|
queryParameters['group_property_mappings'] = requestParameters['groupPropertyMappings'];
|
|
2119
2119
|
}
|
|
2120
|
+
if (requestParameters['lookupGroupsFromUser'] != null) {
|
|
2121
|
+
queryParameters['lookup_groups_from_user'] = requestParameters['lookupGroupsFromUser'];
|
|
2122
|
+
}
|
|
2120
2123
|
if (requestParameters['name'] != null) {
|
|
2121
2124
|
queryParameters['name'] = requestParameters['name'];
|
|
2122
2125
|
}
|
|
@@ -237,6 +237,12 @@ export interface LDAPSource {
|
|
|
237
237
|
[key: string]: string;
|
|
238
238
|
};
|
|
239
239
|
} | null;
|
|
240
|
+
/**
|
|
241
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
242
|
+
* @type {boolean}
|
|
243
|
+
* @memberof LDAPSource
|
|
244
|
+
*/
|
|
245
|
+
lookupGroupsFromUser?: boolean;
|
|
240
246
|
}
|
|
241
247
|
/**
|
|
242
248
|
* Check if a given object implements the LDAPSource interface.
|
|
@@ -87,6 +87,7 @@ export function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
87
87
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
88
88
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
89
89
|
'connectivity': json['connectivity'],
|
|
90
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
90
91
|
};
|
|
91
92
|
}
|
|
92
93
|
export function LDAPSourceToJSON(json) {
|
|
@@ -125,5 +126,6 @@ export function LDAPSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
125
126
|
'sync_users_password': value['syncUsersPassword'],
|
|
126
127
|
'sync_groups': value['syncGroups'],
|
|
127
128
|
'sync_parent_group': value['syncParentGroup'],
|
|
129
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
128
130
|
};
|
|
129
131
|
}
|
|
@@ -191,6 +191,12 @@ export interface LDAPSourceRequest {
|
|
|
191
191
|
* @memberof LDAPSourceRequest
|
|
192
192
|
*/
|
|
193
193
|
syncParentGroup?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
196
|
+
* @type {boolean}
|
|
197
|
+
* @memberof LDAPSourceRequest
|
|
198
|
+
*/
|
|
199
|
+
lookupGroupsFromUser?: boolean;
|
|
194
200
|
}
|
|
195
201
|
/**
|
|
196
202
|
* Check if a given object implements the LDAPSourceRequest interface.
|
|
@@ -64,6 +64,7 @@ export function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
64
|
'syncUsersPassword': json['sync_users_password'] == null ? undefined : json['sync_users_password'],
|
|
65
65
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
66
66
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
67
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
67
68
|
};
|
|
68
69
|
}
|
|
69
70
|
export function LDAPSourceRequestToJSON(json) {
|
|
@@ -103,5 +104,6 @@ export function LDAPSourceRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
103
104
|
'sync_users_password': value['syncUsersPassword'],
|
|
104
105
|
'sync_groups': value['syncGroups'],
|
|
105
106
|
'sync_parent_group': value['syncParentGroup'],
|
|
107
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
106
108
|
};
|
|
107
109
|
}
|
|
@@ -191,6 +191,12 @@ export interface PatchedLDAPSourceRequest {
|
|
|
191
191
|
* @memberof PatchedLDAPSourceRequest
|
|
192
192
|
*/
|
|
193
193
|
syncParentGroup?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
196
|
+
* @type {boolean}
|
|
197
|
+
* @memberof PatchedLDAPSourceRequest
|
|
198
|
+
*/
|
|
199
|
+
lookupGroupsFromUser?: boolean;
|
|
194
200
|
}
|
|
195
201
|
/**
|
|
196
202
|
* Check if a given object implements the PatchedLDAPSourceRequest interface.
|
|
@@ -56,6 +56,7 @@ export function PatchedLDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
56
56
|
'syncUsersPassword': json['sync_users_password'] == null ? undefined : json['sync_users_password'],
|
|
57
57
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
58
58
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
59
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
62
|
export function PatchedLDAPSourceRequestToJSON(json) {
|
|
@@ -95,5 +96,6 @@ export function PatchedLDAPSourceRequestToJSONTyped(value, ignoreDiscriminator =
|
|
|
95
96
|
'sync_users_password': value['syncUsersPassword'],
|
|
96
97
|
'sync_groups': value['syncGroups'],
|
|
97
98
|
'sync_parent_group': value['syncParentGroup'],
|
|
99
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
98
100
|
};
|
|
99
101
|
}
|
|
@@ -237,6 +237,12 @@ export interface LDAPSource {
|
|
|
237
237
|
[key: string]: string;
|
|
238
238
|
};
|
|
239
239
|
} | null;
|
|
240
|
+
/**
|
|
241
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
242
|
+
* @type {boolean}
|
|
243
|
+
* @memberof LDAPSource
|
|
244
|
+
*/
|
|
245
|
+
lookupGroupsFromUser?: boolean;
|
|
240
246
|
}
|
|
241
247
|
/**
|
|
242
248
|
* Check if a given object implements the LDAPSource interface.
|
|
@@ -94,6 +94,7 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
94
94
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
95
95
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
96
96
|
'connectivity': json['connectivity'],
|
|
97
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
97
98
|
};
|
|
98
99
|
}
|
|
99
100
|
function LDAPSourceToJSON(json) {
|
|
@@ -132,5 +133,6 @@ function LDAPSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
132
133
|
'sync_users_password': value['syncUsersPassword'],
|
|
133
134
|
'sync_groups': value['syncGroups'],
|
|
134
135
|
'sync_parent_group': value['syncParentGroup'],
|
|
136
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
135
137
|
};
|
|
136
138
|
}
|
|
@@ -191,6 +191,12 @@ export interface LDAPSourceRequest {
|
|
|
191
191
|
* @memberof LDAPSourceRequest
|
|
192
192
|
*/
|
|
193
193
|
syncParentGroup?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
196
|
+
* @type {boolean}
|
|
197
|
+
* @memberof LDAPSourceRequest
|
|
198
|
+
*/
|
|
199
|
+
lookupGroupsFromUser?: boolean;
|
|
194
200
|
}
|
|
195
201
|
/**
|
|
196
202
|
* Check if a given object implements the LDAPSourceRequest interface.
|
|
@@ -71,6 +71,7 @@ function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
71
|
'syncUsersPassword': json['sync_users_password'] == null ? undefined : json['sync_users_password'],
|
|
72
72
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
73
73
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
74
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
74
75
|
};
|
|
75
76
|
}
|
|
76
77
|
function LDAPSourceRequestToJSON(json) {
|
|
@@ -110,5 +111,6 @@ function LDAPSourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
110
111
|
'sync_users_password': value['syncUsersPassword'],
|
|
111
112
|
'sync_groups': value['syncGroups'],
|
|
112
113
|
'sync_parent_group': value['syncParentGroup'],
|
|
114
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
113
115
|
};
|
|
114
116
|
}
|
|
@@ -191,6 +191,12 @@ export interface PatchedLDAPSourceRequest {
|
|
|
191
191
|
* @memberof PatchedLDAPSourceRequest
|
|
192
192
|
*/
|
|
193
193
|
syncParentGroup?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
196
|
+
* @type {boolean}
|
|
197
|
+
* @memberof PatchedLDAPSourceRequest
|
|
198
|
+
*/
|
|
199
|
+
lookupGroupsFromUser?: boolean;
|
|
194
200
|
}
|
|
195
201
|
/**
|
|
196
202
|
* Check if a given object implements the PatchedLDAPSourceRequest interface.
|
|
@@ -63,6 +63,7 @@ function PatchedLDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
63
|
'syncUsersPassword': json['sync_users_password'] == null ? undefined : json['sync_users_password'],
|
|
64
64
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
65
65
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
66
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
66
67
|
};
|
|
67
68
|
}
|
|
68
69
|
function PatchedLDAPSourceRequestToJSON(json) {
|
|
@@ -102,5 +103,6 @@ function PatchedLDAPSourceRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
102
103
|
'sync_users_password': value['syncUsersPassword'],
|
|
103
104
|
'sync_groups': value['syncGroups'],
|
|
104
105
|
'sync_parent_group': value['syncParentGroup'],
|
|
106
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
105
107
|
};
|
|
106
108
|
}
|
package/package.json
CHANGED
package/src/apis/SourcesApi.ts
CHANGED
|
@@ -555,6 +555,7 @@ export interface SourcesLdapListRequest {
|
|
|
555
555
|
groupMembershipField?: string;
|
|
556
556
|
groupObjectFilter?: string;
|
|
557
557
|
groupPropertyMappings?: Array<string>;
|
|
558
|
+
lookupGroupsFromUser?: boolean;
|
|
558
559
|
name?: string;
|
|
559
560
|
objectUniquenessField?: string;
|
|
560
561
|
ordering?: string;
|
|
@@ -3533,6 +3534,10 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
3533
3534
|
queryParameters['group_property_mappings'] = requestParameters['groupPropertyMappings'];
|
|
3534
3535
|
}
|
|
3535
3536
|
|
|
3537
|
+
if (requestParameters['lookupGroupsFromUser'] != null) {
|
|
3538
|
+
queryParameters['lookup_groups_from_user'] = requestParameters['lookupGroupsFromUser'];
|
|
3539
|
+
}
|
|
3540
|
+
|
|
3536
3541
|
if (requestParameters['name'] != null) {
|
|
3537
3542
|
queryParameters['name'] = requestParameters['name'];
|
|
3538
3543
|
}
|
package/src/models/LDAPSource.ts
CHANGED
|
@@ -250,6 +250,12 @@ export interface LDAPSource {
|
|
|
250
250
|
* @memberof LDAPSource
|
|
251
251
|
*/
|
|
252
252
|
readonly connectivity: { [key: string]: { [key: string]: string; }; } | null;
|
|
253
|
+
/**
|
|
254
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
255
|
+
* @type {boolean}
|
|
256
|
+
* @memberof LDAPSource
|
|
257
|
+
*/
|
|
258
|
+
lookupGroupsFromUser?: boolean;
|
|
253
259
|
}
|
|
254
260
|
|
|
255
261
|
|
|
@@ -319,6 +325,7 @@ export function LDAPSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
319
325
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
320
326
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
321
327
|
'connectivity': json['connectivity'],
|
|
328
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
322
329
|
};
|
|
323
330
|
}
|
|
324
331
|
|
|
@@ -361,6 +368,7 @@ export function LDAPSourceToJSONTyped(value?: Omit<LDAPSource, 'pk'|'component'|
|
|
|
361
368
|
'sync_users_password': value['syncUsersPassword'],
|
|
362
369
|
'sync_groups': value['syncGroups'],
|
|
363
370
|
'sync_parent_group': value['syncParentGroup'],
|
|
371
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
364
372
|
};
|
|
365
373
|
}
|
|
366
374
|
|
|
@@ -208,6 +208,12 @@ export interface LDAPSourceRequest {
|
|
|
208
208
|
* @memberof LDAPSourceRequest
|
|
209
209
|
*/
|
|
210
210
|
syncParentGroup?: string | null;
|
|
211
|
+
/**
|
|
212
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
213
|
+
* @type {boolean}
|
|
214
|
+
* @memberof LDAPSourceRequest
|
|
215
|
+
*/
|
|
216
|
+
lookupGroupsFromUser?: boolean;
|
|
211
217
|
}
|
|
212
218
|
|
|
213
219
|
|
|
@@ -262,6 +268,7 @@ export function LDAPSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
262
268
|
'syncUsersPassword': json['sync_users_password'] == null ? undefined : json['sync_users_password'],
|
|
263
269
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
264
270
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
271
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
265
272
|
};
|
|
266
273
|
}
|
|
267
274
|
|
|
@@ -305,6 +312,7 @@ export function LDAPSourceRequestToJSONTyped(value?: LDAPSourceRequest | null, i
|
|
|
305
312
|
'sync_users_password': value['syncUsersPassword'],
|
|
306
313
|
'sync_groups': value['syncGroups'],
|
|
307
314
|
'sync_parent_group': value['syncParentGroup'],
|
|
315
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
308
316
|
};
|
|
309
317
|
}
|
|
310
318
|
|
|
@@ -208,6 +208,12 @@ export interface PatchedLDAPSourceRequest {
|
|
|
208
208
|
* @memberof PatchedLDAPSourceRequest
|
|
209
209
|
*/
|
|
210
210
|
syncParentGroup?: string | null;
|
|
211
|
+
/**
|
|
212
|
+
* Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
|
|
213
|
+
* @type {boolean}
|
|
214
|
+
* @memberof PatchedLDAPSourceRequest
|
|
215
|
+
*/
|
|
216
|
+
lookupGroupsFromUser?: boolean;
|
|
211
217
|
}
|
|
212
218
|
|
|
213
219
|
|
|
@@ -258,6 +264,7 @@ export function PatchedLDAPSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
258
264
|
'syncUsersPassword': json['sync_users_password'] == null ? undefined : json['sync_users_password'],
|
|
259
265
|
'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
|
|
260
266
|
'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
|
|
267
|
+
'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
|
|
261
268
|
};
|
|
262
269
|
}
|
|
263
270
|
|
|
@@ -301,6 +308,7 @@ export function PatchedLDAPSourceRequestToJSONTyped(value?: PatchedLDAPSourceReq
|
|
|
301
308
|
'sync_users_password': value['syncUsersPassword'],
|
|
302
309
|
'sync_groups': value['syncGroups'],
|
|
303
310
|
'sync_parent_group': value['syncParentGroup'],
|
|
311
|
+
'lookup_groups_from_user': value['lookupGroupsFromUser'],
|
|
304
312
|
};
|
|
305
313
|
}
|
|
306
314
|
|