@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
@@ -2672,6 +2672,9 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
2672
2672
|
if (requestParameters.search !== undefined) {
|
2673
2673
|
queryParameters['search'] = requestParameters.search;
|
2674
2674
|
}
|
2675
|
+
if (requestParameters.sourceSlug !== undefined) {
|
2676
|
+
queryParameters['source__slug'] = requestParameters.sourceSlug;
|
2677
|
+
}
|
2675
2678
|
if (requestParameters.user !== undefined) {
|
2676
2679
|
queryParameters['user'] = requestParameters.user;
|
2677
2680
|
}
|
@@ -2933,6 +2936,9 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
2933
2936
|
if (requestParameters.sourceSlug !== undefined) {
|
2934
2937
|
queryParameters['source__slug'] = requestParameters.sourceSlug;
|
2935
2938
|
}
|
2939
|
+
if (requestParameters.user !== undefined) {
|
2940
|
+
queryParameters['user'] = requestParameters.user;
|
2941
|
+
}
|
2936
2942
|
const headerParameters = {};
|
2937
2943
|
if (this.configuration && this.configuration.accessToken) {
|
2938
2944
|
const token = this.configuration.accessToken;
|
@@ -3198,6 +3204,9 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
3198
3204
|
if (requestParameters.sourceSlug !== undefined) {
|
3199
3205
|
queryParameters['source__slug'] = requestParameters.sourceSlug;
|
3200
3206
|
}
|
3207
|
+
if (requestParameters.user !== undefined) {
|
3208
|
+
queryParameters['user'] = requestParameters.user;
|
3209
|
+
}
|
3201
3210
|
const headerParameters = {};
|
3202
3211
|
if (this.configuration && this.configuration.accessToken) {
|
3203
3212
|
const token = this.configuration.accessToken;
|
@@ -3463,6 +3472,9 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
3463
3472
|
if (requestParameters.sourceSlug !== undefined) {
|
3464
3473
|
queryParameters['source__slug'] = requestParameters.sourceSlug;
|
3465
3474
|
}
|
3475
|
+
if (requestParameters.user !== undefined) {
|
3476
|
+
queryParameters['user'] = requestParameters.user;
|
3477
|
+
}
|
3466
3478
|
const headerParameters = {};
|
3467
3479
|
if (this.configuration && this.configuration.accessToken) {
|
3468
3480
|
const token = this.configuration.accessToken;
|
@@ -12,62 +12,62 @@
|
|
12
12
|
/**
|
13
13
|
* LDAP PropertyMapping Serializer
|
14
14
|
* @export
|
15
|
-
* @interface
|
15
|
+
* @interface LDAPSourcePropertyMapping
|
16
16
|
*/
|
17
|
-
export interface
|
17
|
+
export interface LDAPSourcePropertyMapping {
|
18
18
|
/**
|
19
19
|
*
|
20
20
|
* @type {string}
|
21
|
-
* @memberof
|
21
|
+
* @memberof LDAPSourcePropertyMapping
|
22
22
|
*/
|
23
23
|
readonly pk: string;
|
24
24
|
/**
|
25
25
|
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
26
26
|
* @type {string}
|
27
|
-
* @memberof
|
27
|
+
* @memberof LDAPSourcePropertyMapping
|
28
28
|
*/
|
29
29
|
managed?: string | null;
|
30
30
|
/**
|
31
31
|
*
|
32
32
|
* @type {string}
|
33
|
-
* @memberof
|
33
|
+
* @memberof LDAPSourcePropertyMapping
|
34
34
|
*/
|
35
35
|
name: string;
|
36
36
|
/**
|
37
37
|
*
|
38
38
|
* @type {string}
|
39
|
-
* @memberof
|
39
|
+
* @memberof LDAPSourcePropertyMapping
|
40
40
|
*/
|
41
41
|
expression: string;
|
42
42
|
/**
|
43
43
|
* Get object's component so that we know how to edit the object
|
44
44
|
* @type {string}
|
45
|
-
* @memberof
|
45
|
+
* @memberof LDAPSourcePropertyMapping
|
46
46
|
*/
|
47
47
|
readonly component: string;
|
48
48
|
/**
|
49
49
|
* Return object's verbose_name
|
50
50
|
* @type {string}
|
51
|
-
* @memberof
|
51
|
+
* @memberof LDAPSourcePropertyMapping
|
52
52
|
*/
|
53
53
|
readonly verboseName: string;
|
54
54
|
/**
|
55
55
|
* Return object's plural verbose_name
|
56
56
|
* @type {string}
|
57
|
-
* @memberof
|
57
|
+
* @memberof LDAPSourcePropertyMapping
|
58
58
|
*/
|
59
59
|
readonly verboseNamePlural: string;
|
60
60
|
/**
|
61
61
|
* Return internal model name
|
62
62
|
* @type {string}
|
63
|
-
* @memberof
|
63
|
+
* @memberof LDAPSourcePropertyMapping
|
64
64
|
*/
|
65
65
|
readonly metaModelName: string;
|
66
66
|
}
|
67
67
|
/**
|
68
|
-
* Check if a given object implements the
|
68
|
+
* Check if a given object implements the LDAPSourcePropertyMapping interface.
|
69
69
|
*/
|
70
|
-
export declare function
|
71
|
-
export declare function
|
72
|
-
export declare function
|
73
|
-
export declare function
|
70
|
+
export declare function instanceOfLDAPSourcePropertyMapping(value: object): boolean;
|
71
|
+
export declare function LDAPSourcePropertyMappingFromJSON(json: any): LDAPSourcePropertyMapping;
|
72
|
+
export declare function LDAPSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSourcePropertyMapping;
|
73
|
+
export declare function LDAPSourcePropertyMappingToJSON(value?: LDAPSourcePropertyMapping | null): any;
|
@@ -13,9 +13,9 @@
|
|
13
13
|
*/
|
14
14
|
import { exists } from '../runtime';
|
15
15
|
/**
|
16
|
-
* Check if a given object implements the
|
16
|
+
* Check if a given object implements the LDAPSourcePropertyMapping interface.
|
17
17
|
*/
|
18
|
-
export function
|
18
|
+
export function instanceOfLDAPSourcePropertyMapping(value) {
|
19
19
|
let isInstance = true;
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "name" in value;
|
@@ -26,10 +26,10 @@ export function instanceOfLDAPPropertyMapping(value) {
|
|
26
26
|
isInstance = isInstance && "metaModelName" in value;
|
27
27
|
return isInstance;
|
28
28
|
}
|
29
|
-
export function
|
30
|
-
return
|
29
|
+
export function LDAPSourcePropertyMappingFromJSON(json) {
|
30
|
+
return LDAPSourcePropertyMappingFromJSONTyped(json, false);
|
31
31
|
}
|
32
|
-
export function
|
32
|
+
export function LDAPSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
33
33
|
if ((json === undefined) || (json === null)) {
|
34
34
|
return json;
|
35
35
|
}
|
@@ -44,7 +44,7 @@ export function LDAPPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
44
|
'metaModelName': json['meta_model_name'],
|
45
45
|
};
|
46
46
|
}
|
47
|
-
export function
|
47
|
+
export function LDAPSourcePropertyMappingToJSON(value) {
|
48
48
|
if (value === undefined) {
|
49
49
|
return undefined;
|
50
50
|
}
|
@@ -12,32 +12,32 @@
|
|
12
12
|
/**
|
13
13
|
* LDAP PropertyMapping Serializer
|
14
14
|
* @export
|
15
|
-
* @interface
|
15
|
+
* @interface LDAPSourcePropertyMappingRequest
|
16
16
|
*/
|
17
|
-
export interface
|
17
|
+
export interface LDAPSourcePropertyMappingRequest {
|
18
18
|
/**
|
19
19
|
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
20
20
|
* @type {string}
|
21
|
-
* @memberof
|
21
|
+
* @memberof LDAPSourcePropertyMappingRequest
|
22
22
|
*/
|
23
23
|
managed?: string | null;
|
24
24
|
/**
|
25
25
|
*
|
26
26
|
* @type {string}
|
27
|
-
* @memberof
|
27
|
+
* @memberof LDAPSourcePropertyMappingRequest
|
28
28
|
*/
|
29
29
|
name: string;
|
30
30
|
/**
|
31
31
|
*
|
32
32
|
* @type {string}
|
33
|
-
* @memberof
|
33
|
+
* @memberof LDAPSourcePropertyMappingRequest
|
34
34
|
*/
|
35
35
|
expression: string;
|
36
36
|
}
|
37
37
|
/**
|
38
|
-
* Check if a given object implements the
|
38
|
+
* Check if a given object implements the LDAPSourcePropertyMappingRequest interface.
|
39
39
|
*/
|
40
|
-
export declare function
|
41
|
-
export declare function
|
42
|
-
export declare function
|
43
|
-
export declare function
|
40
|
+
export declare function instanceOfLDAPSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function LDAPSourcePropertyMappingRequestFromJSON(json: any): LDAPSourcePropertyMappingRequest;
|
42
|
+
export declare function LDAPSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSourcePropertyMappingRequest;
|
43
|
+
export declare function LDAPSourcePropertyMappingRequestToJSON(value?: LDAPSourcePropertyMappingRequest | null): any;
|
package/dist/esm/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js}
RENAMED
@@ -13,18 +13,18 @@
|
|
13
13
|
*/
|
14
14
|
import { exists } from '../runtime';
|
15
15
|
/**
|
16
|
-
* Check if a given object implements the
|
16
|
+
* Check if a given object implements the LDAPSourcePropertyMappingRequest interface.
|
17
17
|
*/
|
18
|
-
export function
|
18
|
+
export function instanceOfLDAPSourcePropertyMappingRequest(value) {
|
19
19
|
let isInstance = true;
|
20
20
|
isInstance = isInstance && "name" in value;
|
21
21
|
isInstance = isInstance && "expression" in value;
|
22
22
|
return isInstance;
|
23
23
|
}
|
24
|
-
export function
|
25
|
-
return
|
24
|
+
export function LDAPSourcePropertyMappingRequestFromJSON(json) {
|
25
|
+
return LDAPSourcePropertyMappingRequestFromJSONTyped(json, false);
|
26
26
|
}
|
27
|
-
export function
|
27
|
+
export function LDAPSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
28
|
if ((json === undefined) || (json === null)) {
|
29
29
|
return json;
|
30
30
|
}
|
@@ -34,7 +34,7 @@ export function LDAPPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminato
|
|
34
34
|
'expression': json['expression'],
|
35
35
|
};
|
36
36
|
}
|
37
|
-
export function
|
37
|
+
export function LDAPSourcePropertyMappingRequestToJSON(value) {
|
38
38
|
if (value === undefined) {
|
39
39
|
return undefined;
|
40
40
|
}
|
@@ -39,7 +39,7 @@ export declare const ModelEnum: {
|
|
39
39
|
readonly ProvidersScimScimmapping: "authentik_providers_scim.scimmapping";
|
40
40
|
readonly RbacRole: "authentik_rbac.role";
|
41
41
|
readonly SourcesLdapLdapsource: "authentik_sources_ldap.ldapsource";
|
42
|
-
readonly
|
42
|
+
readonly SourcesLdapLdapsourcepropertymapping: "authentik_sources_ldap.ldapsourcepropertymapping";
|
43
43
|
readonly SourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
|
44
44
|
readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
|
45
45
|
readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
|
@@ -41,7 +41,7 @@ export const ModelEnum = {
|
|
41
41
|
ProvidersScimScimmapping: 'authentik_providers_scim.scimmapping',
|
42
42
|
RbacRole: 'authentik_rbac.role',
|
43
43
|
SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
|
44
|
-
|
44
|
+
SourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
|
45
45
|
SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
|
46
46
|
SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
|
47
47
|
SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.1
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
import type { LDAPSourcePropertyMapping } from './LDAPSourcePropertyMapping';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedLDAPSourcePropertyMappingList
|
18
|
+
*/
|
19
|
+
export interface PaginatedLDAPSourcePropertyMappingList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedLDAPSourcePropertyMappingList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<LDAPSourcePropertyMapping>}
|
29
|
+
* @memberof PaginatedLDAPSourcePropertyMappingList
|
30
|
+
*/
|
31
|
+
results: Array<LDAPSourcePropertyMapping>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedLDAPSourcePropertyMappingList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedLDAPSourcePropertyMappingList(value: object): boolean;
|
37
|
+
export declare function PaginatedLDAPSourcePropertyMappingListFromJSON(json: any): PaginatedLDAPSourcePropertyMappingList;
|
38
|
+
export declare function PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedLDAPSourcePropertyMappingList;
|
39
|
+
export declare function PaginatedLDAPSourcePropertyMappingListToJSON(value?: PaginatedLDAPSourcePropertyMappingList | null): any;
|
@@ -11,30 +11,30 @@
|
|
11
11
|
* https://openapi-generator.tech
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
|
-
import {
|
14
|
+
import { LDAPSourcePropertyMappingFromJSON, LDAPSourcePropertyMappingToJSON, } from './LDAPSourcePropertyMapping';
|
15
15
|
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
16
16
|
/**
|
17
|
-
* Check if a given object implements the
|
17
|
+
* Check if a given object implements the PaginatedLDAPSourcePropertyMappingList interface.
|
18
18
|
*/
|
19
|
-
export function
|
19
|
+
export function instanceOfPaginatedLDAPSourcePropertyMappingList(value) {
|
20
20
|
let isInstance = true;
|
21
21
|
isInstance = isInstance && "pagination" in value;
|
22
22
|
isInstance = isInstance && "results" in value;
|
23
23
|
return isInstance;
|
24
24
|
}
|
25
|
-
export function
|
26
|
-
return
|
25
|
+
export function PaginatedLDAPSourcePropertyMappingListFromJSON(json) {
|
26
|
+
return PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json, false);
|
27
27
|
}
|
28
|
-
export function
|
28
|
+
export function PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
|
29
29
|
if ((json === undefined) || (json === null)) {
|
30
30
|
return json;
|
31
31
|
}
|
32
32
|
return {
|
33
33
|
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
-
'results': (json['results'].map(
|
34
|
+
'results': (json['results'].map(LDAPSourcePropertyMappingFromJSON)),
|
35
35
|
};
|
36
36
|
}
|
37
|
-
export function
|
37
|
+
export function PaginatedLDAPSourcePropertyMappingListToJSON(value) {
|
38
38
|
if (value === undefined) {
|
39
39
|
return undefined;
|
40
40
|
}
|
@@ -43,6 +43,6 @@ export function PaginatedLDAPPropertyMappingListToJSON(value) {
|
|
43
43
|
}
|
44
44
|
return {
|
45
45
|
'pagination': PaginationToJSON(value.pagination),
|
46
|
-
'results': (value.results.map(
|
46
|
+
'results': (value.results.map(LDAPSourcePropertyMappingToJSON)),
|
47
47
|
};
|
48
48
|
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.1
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* LDAP PropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedLDAPSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedLDAPSourcePropertyMappingRequest {
|
18
|
+
/**
|
19
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedLDAPSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedLDAPSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedLDAPSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedLDAPSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedLDAPSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function PatchedLDAPSourcePropertyMappingRequestFromJSON(json: any): PatchedLDAPSourcePropertyMappingRequest;
|
42
|
+
export declare function PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPSourcePropertyMappingRequest;
|
43
|
+
export declare function PatchedLDAPSourcePropertyMappingRequestToJSON(value?: PatchedLDAPSourcePropertyMappingRequest | null): any;
|
@@ -13,16 +13,16 @@
|
|
13
13
|
*/
|
14
14
|
import { exists } from '../runtime';
|
15
15
|
/**
|
16
|
-
* Check if a given object implements the
|
16
|
+
* Check if a given object implements the PatchedLDAPSourcePropertyMappingRequest interface.
|
17
17
|
*/
|
18
|
-
export function
|
18
|
+
export function instanceOfPatchedLDAPSourcePropertyMappingRequest(value) {
|
19
19
|
let isInstance = true;
|
20
20
|
return isInstance;
|
21
21
|
}
|
22
|
-
export function
|
23
|
-
return
|
22
|
+
export function PatchedLDAPSourcePropertyMappingRequestFromJSON(json) {
|
23
|
+
return PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json, false);
|
24
24
|
}
|
25
|
-
export function
|
25
|
+
export function PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
26
|
if ((json === undefined) || (json === null)) {
|
27
27
|
return json;
|
28
28
|
}
|
@@ -32,7 +32,7 @@ export function PatchedLDAPPropertyMappingRequestFromJSONTyped(json, ignoreDiscr
|
|
32
32
|
'expression': !exists(json, 'expression') ? undefined : json['expression'],
|
33
33
|
};
|
34
34
|
}
|
35
|
-
export function
|
35
|
+
export function PatchedLDAPSourcePropertyMappingRequestToJSON(value) {
|
36
36
|
if (value === undefined) {
|
37
37
|
return undefined;
|
38
38
|
}
|
@@ -15,12 +15,6 @@
|
|
15
15
|
* @interface PatchedUserOAuthSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserOAuthSourceConnectionRequest {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {number}
|
21
|
-
* @memberof PatchedUserOAuthSourceConnectionRequest
|
22
|
-
*/
|
23
|
-
user?: number;
|
24
18
|
/**
|
25
19
|
*
|
26
20
|
* @type {string}
|
@@ -27,7 +27,6 @@ export function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json, ignor
|
|
27
27
|
return json;
|
28
28
|
}
|
29
29
|
return {
|
30
|
-
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
30
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
32
31
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
33
32
|
};
|
@@ -40,7 +39,6 @@ export function PatchedUserOAuthSourceConnectionRequestToJSON(value) {
|
|
40
39
|
return null;
|
41
40
|
}
|
42
41
|
return {
|
43
|
-
'user': value.user,
|
44
42
|
'identifier': value.identifier,
|
45
43
|
'access_token': value.accessToken,
|
46
44
|
};
|
@@ -15,12 +15,6 @@
|
|
15
15
|
* @interface PatchedUserSAMLSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserSAMLSourceConnectionRequest {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {number}
|
21
|
-
* @memberof PatchedUserSAMLSourceConnectionRequest
|
22
|
-
*/
|
23
|
-
user?: number;
|
24
18
|
/**
|
25
19
|
*
|
26
20
|
* @type {string}
|
@@ -27,7 +27,6 @@ export function PatchedUserSAMLSourceConnectionRequestFromJSONTyped(json, ignore
|
|
27
27
|
return json;
|
28
28
|
}
|
29
29
|
return {
|
30
|
-
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
30
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
32
31
|
};
|
33
32
|
}
|
@@ -39,7 +38,6 @@ export function PatchedUserSAMLSourceConnectionRequestToJSON(value) {
|
|
39
38
|
return null;
|
40
39
|
}
|
41
40
|
return {
|
42
|
-
'user': value.user,
|
43
41
|
'identifier': value.identifier,
|
44
42
|
};
|
45
43
|
}
|
@@ -36,16 +36,16 @@ export interface PlexSourceConnection {
|
|
36
36
|
readonly source: Source;
|
37
37
|
/**
|
38
38
|
*
|
39
|
-
* @type {
|
39
|
+
* @type {Date}
|
40
40
|
* @memberof PlexSourceConnection
|
41
41
|
*/
|
42
|
-
|
42
|
+
readonly created: Date;
|
43
43
|
/**
|
44
44
|
*
|
45
45
|
* @type {string}
|
46
46
|
* @memberof PlexSourceConnection
|
47
47
|
*/
|
48
|
-
|
48
|
+
identifier: string;
|
49
49
|
}
|
50
50
|
/**
|
51
51
|
* Check if a given object implements the PlexSourceConnection interface.
|
@@ -20,8 +20,8 @@ export function instanceOfPlexSourceConnection(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "user" in value;
|
22
22
|
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "created" in value;
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
24
|
-
isInstance = isInstance && "plexToken" in value;
|
25
25
|
return isInstance;
|
26
26
|
}
|
27
27
|
export function PlexSourceConnectionFromJSON(json) {
|
@@ -35,8 +35,8 @@ export function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
35
|
'pk': json['pk'],
|
36
36
|
'user': json['user'],
|
37
37
|
'source': SourceFromJSON(json['source']),
|
38
|
+
'created': (new Date(json['created'])),
|
38
39
|
'identifier': json['identifier'],
|
39
|
-
'plexToken': json['plex_token'],
|
40
40
|
};
|
41
41
|
}
|
42
42
|
export function PlexSourceConnectionToJSON(value) {
|
@@ -48,6 +48,5 @@ export function PlexSourceConnectionToJSON(value) {
|
|
48
48
|
}
|
49
49
|
return {
|
50
50
|
'identifier': value.identifier,
|
51
|
-
'plex_token': value.plexToken,
|
52
51
|
};
|
53
52
|
}
|
@@ -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}
|
@@ -20,6 +20,7 @@ export function instanceOfUserOAuthSourceConnection(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "user" in value;
|
22
22
|
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "created" in value;
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
24
25
|
return isInstance;
|
25
26
|
}
|
@@ -34,6 +35,7 @@ export function UserOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator
|
|
34
35
|
'pk': json['pk'],
|
35
36
|
'user': json['user'],
|
36
37
|
'source': SourceFromJSON(json['source']),
|
38
|
+
'created': (new Date(json['created'])),
|
37
39
|
'identifier': json['identifier'],
|
38
40
|
};
|
39
41
|
}
|
@@ -45,7 +47,6 @@ export function UserOAuthSourceConnectionToJSON(value) {
|
|
45
47
|
return null;
|
46
48
|
}
|
47
49
|
return {
|
48
|
-
'user': value.user,
|
49
50
|
'identifier': value.identifier,
|
50
51
|
};
|
51
52
|
}
|
@@ -17,7 +17,6 @@ import { exists } from '../runtime';
|
|
17
17
|
*/
|
18
18
|
export function instanceOfUserOAuthSourceConnectionRequest(value) {
|
19
19
|
let isInstance = true;
|
20
|
-
isInstance = isInstance && "user" in value;
|
21
20
|
isInstance = isInstance && "identifier" in value;
|
22
21
|
return isInstance;
|
23
22
|
}
|
@@ -29,7 +28,6 @@ export function UserOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscri
|
|
29
28
|
return json;
|
30
29
|
}
|
31
30
|
return {
|
32
|
-
'user': json['user'],
|
33
31
|
'identifier': json['identifier'],
|
34
32
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
35
33
|
};
|
@@ -42,7 +40,6 @@ export function UserOAuthSourceConnectionRequestToJSON(value) {
|
|
42
40
|
return null;
|
43
41
|
}
|
44
42
|
return {
|
45
|
-
'user': value.user,
|
46
43
|
'identifier': value.identifier,
|
47
44
|
'access_token': value.accessToken,
|
48
45
|
};
|
@@ -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}
|
@@ -20,6 +20,7 @@ export function instanceOfUserSAMLSourceConnection(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "user" in value;
|
22
22
|
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "created" in value;
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
24
25
|
return isInstance;
|
25
26
|
}
|
@@ -34,6 +35,7 @@ export function UserSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator)
|
|
34
35
|
'pk': json['pk'],
|
35
36
|
'user': json['user'],
|
36
37
|
'source': SourceFromJSON(json['source']),
|
38
|
+
'created': (new Date(json['created'])),
|
37
39
|
'identifier': json['identifier'],
|
38
40
|
};
|
39
41
|
}
|
@@ -45,7 +47,6 @@ export function UserSAMLSourceConnectionToJSON(value) {
|
|
45
47
|
return null;
|
46
48
|
}
|
47
49
|
return {
|
48
|
-
'user': value.user,
|
49
50
|
'identifier': value.identifier,
|
50
51
|
};
|
51
52
|
}
|