@goauthentik/api 2024.6.1-1721725857 → 2024.6.1-1721916595
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +4 -4
- package/dist/apis/PropertymappingsApi.d.ts +87 -87
- package/dist/apis/PropertymappingsApi.js +274 -274
- package/dist/apis/RbacApi.d.ts +2 -2
- package/dist/apis/RbacApi.js +2 -2
- package/dist/apis/SourcesApi.d.ts +4 -0
- package/dist/apis/SourcesApi.js +12 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +87 -87
- package/dist/esm/apis/PropertymappingsApi.js +275 -275
- package/dist/esm/apis/RbacApi.d.ts +2 -2
- package/dist/esm/apis/RbacApi.js +2 -2
- package/dist/esm/apis/SourcesApi.d.ts +4 -0
- package/dist/esm/apis/SourcesApi.js +12 -0
- package/dist/esm/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
- package/dist/esm/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +6 -6
- package/dist/{models/LDAPPropertyMappingRequest.d.ts → esm/models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
- package/dist/esm/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +6 -6
- package/dist/esm/models/ModelEnum.d.ts +1 -1
- package/dist/esm/models/ModelEnum.js +1 -1
- package/dist/esm/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/{PaginatedLDAPPropertyMappingList.js → PaginatedLDAPSourcePropertyMappingList.js} +9 -9
- package/dist/esm/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/{PatchedLDAPPropertyMappingRequest.js → PatchedLDAPSourcePropertyMappingRequest.js} +6 -6
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +0 -2
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +0 -2
- package/dist/esm/models/PlexSourceConnection.d.ts +3 -3
- package/dist/esm/models/PlexSourceConnection.js +2 -3
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserOAuthSourceConnection.js +2 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +0 -3
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserSAMLSourceConnection.js +2 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +0 -3
- package/dist/esm/models/index.d.ts +4 -4
- package/dist/esm/models/index.js +4 -4
- package/dist/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
- package/dist/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +11 -11
- package/dist/{esm/models/LDAPPropertyMappingRequest.d.ts → models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
- package/dist/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +11 -11
- package/dist/models/ModelEnum.d.ts +1 -1
- package/dist/models/ModelEnum.js +1 -1
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.js +55 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +0 -2
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +0 -6
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +0 -2
- package/dist/models/PlexSourceConnection.d.ts +3 -3
- package/dist/models/PlexSourceConnection.js +2 -3
- package/dist/models/UserOAuthSourceConnection.d.ts +7 -1
- package/dist/models/UserOAuthSourceConnection.js +2 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/models/UserOAuthSourceConnectionRequest.js +0 -3
- package/dist/models/UserSAMLSourceConnection.d.ts +7 -1
- package/dist/models/UserSAMLSourceConnection.js +2 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +0 -6
- package/dist/models/UserSAMLSourceConnectionRequest.js +0 -3
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +541 -541
- package/src/apis/RbacApi.ts +2 -2
- package/src/apis/SourcesApi.ts +20 -0
- package/src/models/{LDAPPropertyMapping.ts → LDAPSourcePropertyMapping.ts} +16 -16
- package/src/models/{LDAPPropertyMappingRequest.ts → LDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/ModelEnum.ts +1 -1
- package/src/models/PaginatedLDAPSourcePropertyMappingList.ts +88 -0
- package/src/models/{PatchedLDAPPropertyMappingRequest.ts → PatchedLDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +0 -8
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +0 -8
- package/src/models/PlexSourceConnection.ts +5 -6
- package/src/models/UserOAuthSourceConnection.ts +9 -2
- package/src/models/UserOAuthSourceConnectionRequest.ts +0 -9
- package/src/models/UserSAMLSourceConnection.ts +9 -2
- package/src/models/UserSAMLSourceConnectionRequest.ts +0 -9
- package/src/models/index.ts +4 -4
- package/dist/esm/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
- package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
- package/dist/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
- package/dist/models/PaginatedLDAPPropertyMappingList.js +0 -55
- package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
- package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -54
- package/src/models/PaginatedLDAPPropertyMappingList.ts +0 -88
@@ -27,13 +27,19 @@ export interface UserOAuthSourceConnection {
|
|
27
27
|
* @type {number}
|
28
28
|
* @memberof UserOAuthSourceConnection
|
29
29
|
*/
|
30
|
-
user: number;
|
30
|
+
readonly user: number;
|
31
31
|
/**
|
32
32
|
*
|
33
33
|
* @type {Source}
|
34
34
|
* @memberof UserOAuthSourceConnection
|
35
35
|
*/
|
36
36
|
readonly source: Source;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {Date}
|
40
|
+
* @memberof UserOAuthSourceConnection
|
41
|
+
*/
|
42
|
+
readonly created: Date;
|
37
43
|
/**
|
38
44
|
*
|
39
45
|
* @type {string}
|
@@ -23,6 +23,7 @@ function instanceOfUserOAuthSourceConnection(value) {
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
24
24
|
isInstance = isInstance && "user" in value;
|
25
25
|
isInstance = isInstance && "source" in value;
|
26
|
+
isInstance = isInstance && "created" in value;
|
26
27
|
isInstance = isInstance && "identifier" in value;
|
27
28
|
return isInstance;
|
28
29
|
}
|
@@ -39,6 +40,7 @@ function UserOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
40
|
'pk': json['pk'],
|
40
41
|
'user': json['user'],
|
41
42
|
'source': (0, Source_1.SourceFromJSON)(json['source']),
|
43
|
+
'created': (new Date(json['created'])),
|
42
44
|
'identifier': json['identifier'],
|
43
45
|
};
|
44
46
|
}
|
@@ -51,7 +53,6 @@ function UserOAuthSourceConnectionToJSON(value) {
|
|
51
53
|
return null;
|
52
54
|
}
|
53
55
|
return {
|
54
|
-
'user': value.user,
|
55
56
|
'identifier': value.identifier,
|
56
57
|
};
|
57
58
|
}
|
@@ -20,7 +20,6 @@ const runtime_1 = require("../runtime");
|
|
20
20
|
*/
|
21
21
|
function instanceOfUserOAuthSourceConnectionRequest(value) {
|
22
22
|
let isInstance = true;
|
23
|
-
isInstance = isInstance && "user" in value;
|
24
23
|
isInstance = isInstance && "identifier" in value;
|
25
24
|
return isInstance;
|
26
25
|
}
|
@@ -34,7 +33,6 @@ function UserOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator
|
|
34
33
|
return json;
|
35
34
|
}
|
36
35
|
return {
|
37
|
-
'user': json['user'],
|
38
36
|
'identifier': json['identifier'],
|
39
37
|
'accessToken': !(0, runtime_1.exists)(json, 'access_token') ? undefined : json['access_token'],
|
40
38
|
};
|
@@ -48,7 +46,6 @@ function UserOAuthSourceConnectionRequestToJSON(value) {
|
|
48
46
|
return null;
|
49
47
|
}
|
50
48
|
return {
|
51
|
-
'user': value.user,
|
52
49
|
'identifier': value.identifier,
|
53
50
|
'access_token': value.accessToken,
|
54
51
|
};
|
@@ -27,13 +27,19 @@ export interface UserSAMLSourceConnection {
|
|
27
27
|
* @type {number}
|
28
28
|
* @memberof UserSAMLSourceConnection
|
29
29
|
*/
|
30
|
-
user: number;
|
30
|
+
readonly user: number;
|
31
31
|
/**
|
32
32
|
*
|
33
33
|
* @type {Source}
|
34
34
|
* @memberof UserSAMLSourceConnection
|
35
35
|
*/
|
36
36
|
readonly source: Source;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {Date}
|
40
|
+
* @memberof UserSAMLSourceConnection
|
41
|
+
*/
|
42
|
+
readonly created: Date;
|
37
43
|
/**
|
38
44
|
*
|
39
45
|
* @type {string}
|
@@ -23,6 +23,7 @@ function instanceOfUserSAMLSourceConnection(value) {
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
24
24
|
isInstance = isInstance && "user" in value;
|
25
25
|
isInstance = isInstance && "source" in value;
|
26
|
+
isInstance = isInstance && "created" in value;
|
26
27
|
isInstance = isInstance && "identifier" in value;
|
27
28
|
return isInstance;
|
28
29
|
}
|
@@ -39,6 +40,7 @@ function UserSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
40
|
'pk': json['pk'],
|
40
41
|
'user': json['user'],
|
41
42
|
'source': (0, Source_1.SourceFromJSON)(json['source']),
|
43
|
+
'created': (new Date(json['created'])),
|
42
44
|
'identifier': json['identifier'],
|
43
45
|
};
|
44
46
|
}
|
@@ -51,7 +53,6 @@ function UserSAMLSourceConnectionToJSON(value) {
|
|
51
53
|
return null;
|
52
54
|
}
|
53
55
|
return {
|
54
|
-
'user': value.user,
|
55
56
|
'identifier': value.identifier,
|
56
57
|
};
|
57
58
|
}
|
@@ -19,7 +19,6 @@ exports.UserSAMLSourceConnectionRequestToJSON = exports.UserSAMLSourceConnection
|
|
19
19
|
*/
|
20
20
|
function instanceOfUserSAMLSourceConnectionRequest(value) {
|
21
21
|
let isInstance = true;
|
22
|
-
isInstance = isInstance && "user" in value;
|
23
22
|
isInstance = isInstance && "identifier" in value;
|
24
23
|
return isInstance;
|
25
24
|
}
|
@@ -33,7 +32,6 @@ function UserSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
33
32
|
return json;
|
34
33
|
}
|
35
34
|
return {
|
36
|
-
'user': json['user'],
|
37
35
|
'identifier': json['identifier'],
|
38
36
|
};
|
39
37
|
}
|
@@ -46,7 +44,6 @@ function UserSAMLSourceConnectionRequestToJSON(value) {
|
|
46
44
|
return null;
|
47
45
|
}
|
48
46
|
return {
|
49
|
-
'user': value.user,
|
50
47
|
'identifier': value.identifier,
|
51
48
|
};
|
52
49
|
}
|
package/dist/models/index.d.ts
CHANGED
@@ -167,11 +167,11 @@ export * from './KubernetesServiceConnectionRequest';
|
|
167
167
|
export * from './LDAPAPIAccessMode';
|
168
168
|
export * from './LDAPDebug';
|
169
169
|
export * from './LDAPOutpostConfig';
|
170
|
-
export * from './LDAPPropertyMapping';
|
171
|
-
export * from './LDAPPropertyMappingRequest';
|
172
170
|
export * from './LDAPProvider';
|
173
171
|
export * from './LDAPProviderRequest';
|
174
172
|
export * from './LDAPSource';
|
173
|
+
export * from './LDAPSourcePropertyMapping';
|
174
|
+
export * from './LDAPSourcePropertyMappingRequest';
|
175
175
|
export * from './LDAPSourceRequest';
|
176
176
|
export * from './License';
|
177
177
|
export * from './LicenseForecast';
|
@@ -263,9 +263,9 @@ export * from './PaginatedInvitationList';
|
|
263
263
|
export * from './PaginatedInvitationStageList';
|
264
264
|
export * from './PaginatedKubernetesServiceConnectionList';
|
265
265
|
export * from './PaginatedLDAPOutpostConfigList';
|
266
|
-
export * from './PaginatedLDAPPropertyMappingList';
|
267
266
|
export * from './PaginatedLDAPProviderList';
|
268
267
|
export * from './PaginatedLDAPSourceList';
|
268
|
+
export * from './PaginatedLDAPSourcePropertyMappingList';
|
269
269
|
export * from './PaginatedLicenseList';
|
270
270
|
export * from './PaginatedMicrosoftEntraProviderGroupList';
|
271
271
|
export * from './PaginatedMicrosoftEntraProviderList';
|
@@ -376,8 +376,8 @@ export * from './PatchedIdentificationStageRequest';
|
|
376
376
|
export * from './PatchedInvitationRequest';
|
377
377
|
export * from './PatchedInvitationStageRequest';
|
378
378
|
export * from './PatchedKubernetesServiceConnectionRequest';
|
379
|
-
export * from './PatchedLDAPPropertyMappingRequest';
|
380
379
|
export * from './PatchedLDAPProviderRequest';
|
380
|
+
export * from './PatchedLDAPSourcePropertyMappingRequest';
|
381
381
|
export * from './PatchedLDAPSourceRequest';
|
382
382
|
export * from './PatchedLicenseRequest';
|
383
383
|
export * from './PatchedMicrosoftEntraProviderMappingRequest';
|
package/dist/models/index.js
CHANGED
@@ -185,11 +185,11 @@ __exportStar(require("./KubernetesServiceConnectionRequest"), exports);
|
|
185
185
|
__exportStar(require("./LDAPAPIAccessMode"), exports);
|
186
186
|
__exportStar(require("./LDAPDebug"), exports);
|
187
187
|
__exportStar(require("./LDAPOutpostConfig"), exports);
|
188
|
-
__exportStar(require("./LDAPPropertyMapping"), exports);
|
189
|
-
__exportStar(require("./LDAPPropertyMappingRequest"), exports);
|
190
188
|
__exportStar(require("./LDAPProvider"), exports);
|
191
189
|
__exportStar(require("./LDAPProviderRequest"), exports);
|
192
190
|
__exportStar(require("./LDAPSource"), exports);
|
191
|
+
__exportStar(require("./LDAPSourcePropertyMapping"), exports);
|
192
|
+
__exportStar(require("./LDAPSourcePropertyMappingRequest"), exports);
|
193
193
|
__exportStar(require("./LDAPSourceRequest"), exports);
|
194
194
|
__exportStar(require("./License"), exports);
|
195
195
|
__exportStar(require("./LicenseForecast"), exports);
|
@@ -281,9 +281,9 @@ __exportStar(require("./PaginatedInvitationList"), exports);
|
|
281
281
|
__exportStar(require("./PaginatedInvitationStageList"), exports);
|
282
282
|
__exportStar(require("./PaginatedKubernetesServiceConnectionList"), exports);
|
283
283
|
__exportStar(require("./PaginatedLDAPOutpostConfigList"), exports);
|
284
|
-
__exportStar(require("./PaginatedLDAPPropertyMappingList"), exports);
|
285
284
|
__exportStar(require("./PaginatedLDAPProviderList"), exports);
|
286
285
|
__exportStar(require("./PaginatedLDAPSourceList"), exports);
|
286
|
+
__exportStar(require("./PaginatedLDAPSourcePropertyMappingList"), exports);
|
287
287
|
__exportStar(require("./PaginatedLicenseList"), exports);
|
288
288
|
__exportStar(require("./PaginatedMicrosoftEntraProviderGroupList"), exports);
|
289
289
|
__exportStar(require("./PaginatedMicrosoftEntraProviderList"), exports);
|
@@ -394,8 +394,8 @@ __exportStar(require("./PatchedIdentificationStageRequest"), exports);
|
|
394
394
|
__exportStar(require("./PatchedInvitationRequest"), exports);
|
395
395
|
__exportStar(require("./PatchedInvitationStageRequest"), exports);
|
396
396
|
__exportStar(require("./PatchedKubernetesServiceConnectionRequest"), exports);
|
397
|
-
__exportStar(require("./PatchedLDAPPropertyMappingRequest"), exports);
|
398
397
|
__exportStar(require("./PatchedLDAPProviderRequest"), exports);
|
398
|
+
__exportStar(require("./PatchedLDAPSourcePropertyMappingRequest"), exports);
|
399
399
|
__exportStar(require("./PatchedLDAPSourceRequest"), exports);
|
400
400
|
__exportStar(require("./PatchedLicenseRequest"), exports);
|
401
401
|
__exportStar(require("./PatchedMicrosoftEntraProviderMappingRequest"), exports);
|