@goauthentik/api 2024.6.1-1721927330 → 2024.6.1-1722285189
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +4 -0
- package/dist/apis/PropertymappingsApi.d.ts +94 -11
- package/dist/apis/PropertymappingsApi.js +295 -30
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +94 -11
- package/dist/esm/apis/PropertymappingsApi.js +296 -31
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedSCIMSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PatchedSCIMSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedSCIMSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedSCIMSourceRequest.d.ts +8 -3
- package/dist/esm/models/PatchedSCIMSourceRequest.js +4 -3
- package/dist/esm/models/SCIMSource.d.ts +12 -7
- package/dist/esm/models/SCIMSource.js +4 -3
- package/dist/esm/models/SCIMSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/SCIMSourcePropertyMapping.js +59 -0
- package/dist/esm/models/SCIMSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/SCIMSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/SCIMSourceRequest.d.ts +8 -3
- package/dist/esm/models/SCIMSourceRequest.js +4 -3
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedSCIMSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourcePropertyMappingList.js +55 -0
- package/dist/models/PatchedSCIMSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedSCIMSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedSCIMSourceRequest.d.ts +8 -3
- package/dist/models/PatchedSCIMSourceRequest.js +4 -3
- package/dist/models/SCIMSource.d.ts +12 -7
- package/dist/models/SCIMSource.js +4 -3
- package/dist/models/SCIMSourcePropertyMapping.d.ts +73 -0
- package/dist/models/SCIMSourcePropertyMapping.js +66 -0
- package/dist/models/SCIMSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/SCIMSourcePropertyMappingRequest.js +56 -0
- package/dist/models/SCIMSourceRequest.d.ts +8 -3
- package/dist/models/SCIMSourceRequest.js +4 -3
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +390 -50
- package/src/apis/RbacApi.ts +2 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedSCIMSourcePropertyMappingList.ts +88 -0
- package/src/models/PatchedSCIMSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedSCIMSourceRequest.ts +12 -11
- package/src/models/SCIMSource.ts +16 -14
- package/src/models/SCIMSourcePropertyMapping.ts +123 -0
- package/src/models/SCIMSourcePropertyMappingRequest.ts +83 -0
- package/src/models/SCIMSourceRequest.ts +12 -11
- package/src/models/index.ts +4 -0
@@ -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 { Pagination } from './Pagination';
|
13
|
+
import type { SCIMSourcePropertyMapping } from './SCIMSourcePropertyMapping';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedSCIMSourcePropertyMappingList
|
18
|
+
*/
|
19
|
+
export interface PaginatedSCIMSourcePropertyMappingList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedSCIMSourcePropertyMappingList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<SCIMSourcePropertyMapping>}
|
29
|
+
* @memberof PaginatedSCIMSourcePropertyMappingList
|
30
|
+
*/
|
31
|
+
results: Array<SCIMSourcePropertyMapping>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedSCIMSourcePropertyMappingList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedSCIMSourcePropertyMappingList(value: object): boolean;
|
37
|
+
export declare function PaginatedSCIMSourcePropertyMappingListFromJSON(json: any): PaginatedSCIMSourcePropertyMappingList;
|
38
|
+
export declare function PaginatedSCIMSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourcePropertyMappingList;
|
39
|
+
export declare function PaginatedSCIMSourcePropertyMappingListToJSON(value?: PaginatedSCIMSourcePropertyMappingList | null): any;
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.1
|
8
|
+
* Contact: hello@goauthentik.io
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
15
|
+
import { SCIMSourcePropertyMappingFromJSON, SCIMSourcePropertyMappingToJSON, } from './SCIMSourcePropertyMapping';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PaginatedSCIMSourcePropertyMappingList interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPaginatedSCIMSourcePropertyMappingList(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
22
|
+
isInstance = isInstance && "results" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function PaginatedSCIMSourcePropertyMappingListFromJSON(json) {
|
26
|
+
return PaginatedSCIMSourcePropertyMappingListFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function PaginatedSCIMSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
+
'results': (json['results'].map(SCIMSourcePropertyMappingFromJSON)),
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PaginatedSCIMSourcePropertyMappingListToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
46
|
+
'results': (value.results.map(SCIMSourcePropertyMappingToJSON)),
|
47
|
+
};
|
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
|
+
* SCIMSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedSCIMSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedSCIMSourcePropertyMappingRequest {
|
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 PatchedSCIMSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedSCIMSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedSCIMSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedSCIMSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedSCIMSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function PatchedSCIMSourcePropertyMappingRequestFromJSON(json: any): PatchedSCIMSourcePropertyMappingRequest;
|
42
|
+
export declare function PatchedSCIMSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourcePropertyMappingRequest;
|
43
|
+
export declare function PatchedSCIMSourcePropertyMappingRequestToJSON(value?: PatchedSCIMSourcePropertyMappingRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.1
|
8
|
+
* Contact: hello@goauthentik.io
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedSCIMSourcePropertyMappingRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedSCIMSourcePropertyMappingRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedSCIMSourcePropertyMappingRequestFromJSON(json) {
|
23
|
+
return PatchedSCIMSourcePropertyMappingRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedSCIMSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
32
|
+
'expression': !exists(json, 'expression') ? undefined : json['expression'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedSCIMSourcePropertyMappingRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'managed': value.managed,
|
44
|
+
'name': value.name,
|
45
|
+
'expression': value.expression,
|
46
|
+
};
|
47
|
+
}
|
@@ -9,7 +9,6 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
13
12
|
/**
|
14
13
|
* SCIMSource Serializer
|
15
14
|
* @export
|
@@ -36,10 +35,16 @@ export interface PatchedSCIMSourceRequest {
|
|
36
35
|
enabled?: boolean;
|
37
36
|
/**
|
38
37
|
*
|
39
|
-
* @type {
|
38
|
+
* @type {Array<string>}
|
40
39
|
* @memberof PatchedSCIMSourceRequest
|
41
40
|
*/
|
42
|
-
|
41
|
+
userPropertyMappings?: Array<string>;
|
42
|
+
/**
|
43
|
+
*
|
44
|
+
* @type {Array<string>}
|
45
|
+
* @memberof PatchedSCIMSourceRequest
|
46
|
+
*/
|
47
|
+
groupPropertyMappings?: Array<string>;
|
43
48
|
/**
|
44
49
|
*
|
45
50
|
* @type {string}
|
@@ -12,7 +12,6 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
import { exists } from '../runtime';
|
15
|
-
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
16
15
|
/**
|
17
16
|
* Check if a given object implements the PatchedSCIMSourceRequest interface.
|
18
17
|
*/
|
@@ -31,7 +30,8 @@ export function PatchedSCIMSourceRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
31
30
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
32
31
|
'slug': !exists(json, 'slug') ? undefined : json['slug'],
|
33
32
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
34
|
-
'
|
33
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
34
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
35
35
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
36
36
|
};
|
37
37
|
}
|
@@ -46,7 +46,8 @@ export function PatchedSCIMSourceRequestToJSON(value) {
|
|
46
46
|
'name': value.name,
|
47
47
|
'slug': value.slug,
|
48
48
|
'enabled': value.enabled,
|
49
|
-
'
|
49
|
+
'user_property_mappings': value.userPropertyMappings,
|
50
|
+
'group_property_mappings': value.groupPropertyMappings,
|
50
51
|
'user_path_template': value.userPathTemplate,
|
51
52
|
};
|
52
53
|
}
|
@@ -10,7 +10,6 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import type { Token } from './Token';
|
13
|
-
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
14
13
|
/**
|
15
14
|
* SCIMSource Serializer
|
16
15
|
* @export
|
@@ -41,6 +40,18 @@ export interface SCIMSource {
|
|
41
40
|
* @memberof SCIMSource
|
42
41
|
*/
|
43
42
|
enabled?: boolean;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {Array<string>}
|
46
|
+
* @memberof SCIMSource
|
47
|
+
*/
|
48
|
+
userPropertyMappings?: Array<string>;
|
49
|
+
/**
|
50
|
+
*
|
51
|
+
* @type {Array<string>}
|
52
|
+
* @memberof SCIMSource
|
53
|
+
*/
|
54
|
+
groupPropertyMappings?: Array<string>;
|
44
55
|
/**
|
45
56
|
* Get object component so that we know how to edit the object
|
46
57
|
* @type {string}
|
@@ -65,12 +76,6 @@ export interface SCIMSource {
|
|
65
76
|
* @memberof SCIMSource
|
66
77
|
*/
|
67
78
|
readonly metaModelName: string;
|
68
|
-
/**
|
69
|
-
*
|
70
|
-
* @type {UserMatchingModeEnum}
|
71
|
-
* @memberof SCIMSource
|
72
|
-
*/
|
73
|
-
userMatchingMode?: UserMatchingModeEnum;
|
74
79
|
/**
|
75
80
|
* 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.
|
76
81
|
* @type {string}
|
@@ -13,7 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
import { exists } from '../runtime';
|
15
15
|
import { TokenFromJSON, } from './Token';
|
16
|
-
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
17
16
|
/**
|
18
17
|
* Check if a given object implements the SCIMSource interface.
|
19
18
|
*/
|
@@ -43,11 +42,12 @@ export function SCIMSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
42
|
'name': json['name'],
|
44
43
|
'slug': json['slug'],
|
45
44
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
45
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
46
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
46
47
|
'component': json['component'],
|
47
48
|
'verboseName': json['verbose_name'],
|
48
49
|
'verboseNamePlural': json['verbose_name_plural'],
|
49
50
|
'metaModelName': json['meta_model_name'],
|
50
|
-
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
51
51
|
'managed': json['managed'],
|
52
52
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
53
53
|
'rootUrl': json['root_url'],
|
@@ -65,7 +65,8 @@ export function SCIMSourceToJSON(value) {
|
|
65
65
|
'name': value.name,
|
66
66
|
'slug': value.slug,
|
67
67
|
'enabled': value.enabled,
|
68
|
-
'
|
68
|
+
'user_property_mappings': value.userPropertyMappings,
|
69
|
+
'group_property_mappings': value.groupPropertyMappings,
|
69
70
|
'user_path_template': value.userPathTemplate,
|
70
71
|
};
|
71
72
|
}
|
@@ -0,0 +1,73 @@
|
|
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
|
+
* SCIMSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface SCIMSourcePropertyMapping
|
16
|
+
*/
|
17
|
+
export interface SCIMSourcePropertyMapping {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof SCIMSourcePropertyMapping
|
22
|
+
*/
|
23
|
+
readonly pk: string;
|
24
|
+
/**
|
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
|
+
* @type {string}
|
27
|
+
* @memberof SCIMSourcePropertyMapping
|
28
|
+
*/
|
29
|
+
managed?: string | null;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof SCIMSourcePropertyMapping
|
34
|
+
*/
|
35
|
+
name: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {string}
|
39
|
+
* @memberof SCIMSourcePropertyMapping
|
40
|
+
*/
|
41
|
+
expression: string;
|
42
|
+
/**
|
43
|
+
* Get object's component so that we know how to edit the object
|
44
|
+
* @type {string}
|
45
|
+
* @memberof SCIMSourcePropertyMapping
|
46
|
+
*/
|
47
|
+
readonly component: string;
|
48
|
+
/**
|
49
|
+
* Return object's verbose_name
|
50
|
+
* @type {string}
|
51
|
+
* @memberof SCIMSourcePropertyMapping
|
52
|
+
*/
|
53
|
+
readonly verboseName: string;
|
54
|
+
/**
|
55
|
+
* Return object's plural verbose_name
|
56
|
+
* @type {string}
|
57
|
+
* @memberof SCIMSourcePropertyMapping
|
58
|
+
*/
|
59
|
+
readonly verboseNamePlural: string;
|
60
|
+
/**
|
61
|
+
* Return internal model name
|
62
|
+
* @type {string}
|
63
|
+
* @memberof SCIMSourcePropertyMapping
|
64
|
+
*/
|
65
|
+
readonly metaModelName: string;
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* Check if a given object implements the SCIMSourcePropertyMapping interface.
|
69
|
+
*/
|
70
|
+
export declare function instanceOfSCIMSourcePropertyMapping(value: object): boolean;
|
71
|
+
export declare function SCIMSourcePropertyMappingFromJSON(json: any): SCIMSourcePropertyMapping;
|
72
|
+
export declare function SCIMSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourcePropertyMapping;
|
73
|
+
export declare function SCIMSourcePropertyMappingToJSON(value?: SCIMSourcePropertyMapping | null): any;
|
@@ -0,0 +1,59 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.1
|
8
|
+
* Contact: hello@goauthentik.io
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the SCIMSourcePropertyMapping interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfSCIMSourcePropertyMapping(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "pk" in value;
|
21
|
+
isInstance = isInstance && "name" in value;
|
22
|
+
isInstance = isInstance && "expression" in value;
|
23
|
+
isInstance = isInstance && "component" in value;
|
24
|
+
isInstance = isInstance && "verboseName" in value;
|
25
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
26
|
+
isInstance = isInstance && "metaModelName" in value;
|
27
|
+
return isInstance;
|
28
|
+
}
|
29
|
+
export function SCIMSourcePropertyMappingFromJSON(json) {
|
30
|
+
return SCIMSourcePropertyMappingFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
export function SCIMSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'pk': json['pk'],
|
38
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
39
|
+
'name': json['name'],
|
40
|
+
'expression': json['expression'],
|
41
|
+
'component': json['component'],
|
42
|
+
'verboseName': json['verbose_name'],
|
43
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
44
|
+
'metaModelName': json['meta_model_name'],
|
45
|
+
};
|
46
|
+
}
|
47
|
+
export function SCIMSourcePropertyMappingToJSON(value) {
|
48
|
+
if (value === undefined) {
|
49
|
+
return undefined;
|
50
|
+
}
|
51
|
+
if (value === null) {
|
52
|
+
return null;
|
53
|
+
}
|
54
|
+
return {
|
55
|
+
'managed': value.managed,
|
56
|
+
'name': value.name,
|
57
|
+
'expression': value.expression,
|
58
|
+
};
|
59
|
+
}
|
@@ -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
|
+
* SCIMSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface SCIMSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface SCIMSourcePropertyMappingRequest {
|
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 SCIMSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof SCIMSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof SCIMSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the SCIMSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfSCIMSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function SCIMSourcePropertyMappingRequestFromJSON(json: any): SCIMSourcePropertyMappingRequest;
|
42
|
+
export declare function SCIMSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourcePropertyMappingRequest;
|
43
|
+
export declare function SCIMSourcePropertyMappingRequestToJSON(value?: SCIMSourcePropertyMappingRequest | null): any;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.1
|
8
|
+
* Contact: hello@goauthentik.io
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the SCIMSourcePropertyMappingRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfSCIMSourcePropertyMappingRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "name" in value;
|
21
|
+
isInstance = isInstance && "expression" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function SCIMSourcePropertyMappingRequestFromJSON(json) {
|
25
|
+
return SCIMSourcePropertyMappingRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function SCIMSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
33
|
+
'name': json['name'],
|
34
|
+
'expression': json['expression'],
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function SCIMSourcePropertyMappingRequestToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'managed': value.managed,
|
46
|
+
'name': value.name,
|
47
|
+
'expression': value.expression,
|
48
|
+
};
|
49
|
+
}
|
@@ -9,7 +9,6 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
13
12
|
/**
|
14
13
|
* SCIMSource Serializer
|
15
14
|
* @export
|
@@ -36,10 +35,16 @@ export interface SCIMSourceRequest {
|
|
36
35
|
enabled?: boolean;
|
37
36
|
/**
|
38
37
|
*
|
39
|
-
* @type {
|
38
|
+
* @type {Array<string>}
|
40
39
|
* @memberof SCIMSourceRequest
|
41
40
|
*/
|
42
|
-
|
41
|
+
userPropertyMappings?: Array<string>;
|
42
|
+
/**
|
43
|
+
*
|
44
|
+
* @type {Array<string>}
|
45
|
+
* @memberof SCIMSourceRequest
|
46
|
+
*/
|
47
|
+
groupPropertyMappings?: Array<string>;
|
43
48
|
/**
|
44
49
|
*
|
45
50
|
* @type {string}
|
@@ -12,7 +12,6 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
import { exists } from '../runtime';
|
15
|
-
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
16
15
|
/**
|
17
16
|
* Check if a given object implements the SCIMSourceRequest interface.
|
18
17
|
*/
|
@@ -33,7 +32,8 @@ export function SCIMSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
32
|
'name': json['name'],
|
34
33
|
'slug': json['slug'],
|
35
34
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
36
|
-
'
|
35
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
36
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
37
37
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
38
38
|
};
|
39
39
|
}
|
@@ -48,7 +48,8 @@ export function SCIMSourceRequestToJSON(value) {
|
|
48
48
|
'name': value.name,
|
49
49
|
'slug': value.slug,
|
50
50
|
'enabled': value.enabled,
|
51
|
-
'
|
51
|
+
'user_property_mappings': value.userPropertyMappings,
|
52
|
+
'group_property_mappings': value.groupPropertyMappings,
|
52
53
|
'user_path_template': value.userPathTemplate,
|
53
54
|
};
|
54
55
|
}
|
@@ -310,6 +310,7 @@ export * from './PaginatedSCIMProviderList';
|
|
310
310
|
export * from './PaginatedSCIMProviderUserList';
|
311
311
|
export * from './PaginatedSCIMSourceGroupList';
|
312
312
|
export * from './PaginatedSCIMSourceList';
|
313
|
+
export * from './PaginatedSCIMSourcePropertyMappingList';
|
313
314
|
export * from './PaginatedSCIMSourceUserList';
|
314
315
|
export * from './PaginatedSMSDeviceList';
|
315
316
|
export * from './PaginatedScopeMappingList';
|
@@ -412,6 +413,7 @@ export * from './PatchedSAMLSourceRequest';
|
|
412
413
|
export * from './PatchedSCIMMappingRequest';
|
413
414
|
export * from './PatchedSCIMProviderRequest';
|
414
415
|
export * from './PatchedSCIMSourceGroupRequest';
|
416
|
+
export * from './PatchedSCIMSourcePropertyMappingRequest';
|
415
417
|
export * from './PatchedSCIMSourceRequest';
|
416
418
|
export * from './PatchedSCIMSourceUserRequest';
|
417
419
|
export * from './PatchedSMSDeviceRequest';
|
@@ -504,6 +506,8 @@ export * from './SCIMProviderUserRequest';
|
|
504
506
|
export * from './SCIMSource';
|
505
507
|
export * from './SCIMSourceGroup';
|
506
508
|
export * from './SCIMSourceGroupRequest';
|
509
|
+
export * from './SCIMSourcePropertyMapping';
|
510
|
+
export * from './SCIMSourcePropertyMappingRequest';
|
507
511
|
export * from './SCIMSourceRequest';
|
508
512
|
export * from './SCIMSourceUser';
|
509
513
|
export * from './SCIMSourceUserRequest';
|
package/dist/esm/models/index.js
CHANGED
@@ -312,6 +312,7 @@ export * from './PaginatedSCIMProviderList';
|
|
312
312
|
export * from './PaginatedSCIMProviderUserList';
|
313
313
|
export * from './PaginatedSCIMSourceGroupList';
|
314
314
|
export * from './PaginatedSCIMSourceList';
|
315
|
+
export * from './PaginatedSCIMSourcePropertyMappingList';
|
315
316
|
export * from './PaginatedSCIMSourceUserList';
|
316
317
|
export * from './PaginatedSMSDeviceList';
|
317
318
|
export * from './PaginatedScopeMappingList';
|
@@ -414,6 +415,7 @@ export * from './PatchedSAMLSourceRequest';
|
|
414
415
|
export * from './PatchedSCIMMappingRequest';
|
415
416
|
export * from './PatchedSCIMProviderRequest';
|
416
417
|
export * from './PatchedSCIMSourceGroupRequest';
|
418
|
+
export * from './PatchedSCIMSourcePropertyMappingRequest';
|
417
419
|
export * from './PatchedSCIMSourceRequest';
|
418
420
|
export * from './PatchedSCIMSourceUserRequest';
|
419
421
|
export * from './PatchedSMSDeviceRequest';
|
@@ -506,6 +508,8 @@ export * from './SCIMProviderUserRequest';
|
|
506
508
|
export * from './SCIMSource';
|
507
509
|
export * from './SCIMSourceGroup';
|
508
510
|
export * from './SCIMSourceGroupRequest';
|
511
|
+
export * from './SCIMSourcePropertyMapping';
|
512
|
+
export * from './SCIMSourcePropertyMappingRequest';
|
509
513
|
export * from './SCIMSourceRequest';
|
510
514
|
export * from './SCIMSourceUser';
|
511
515
|
export * from './SCIMSourceUserRequest';
|
@@ -48,6 +48,7 @@ export declare const ModelEnum: {
|
|
48
48
|
readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
|
49
49
|
readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
|
50
50
|
readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
|
51
|
+
readonly SourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
|
51
52
|
readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
52
53
|
readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
|
53
54
|
readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
|
package/dist/models/ModelEnum.js
CHANGED
@@ -53,6 +53,7 @@ exports.ModelEnum = {
|
|
53
53
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
54
54
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
55
55
|
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
56
|
+
SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
56
57
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
57
58
|
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
58
59
|
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|