@goauthentik/api 2024.2.2-1712922569 → 2024.2.2-1713183841
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +12 -1
- package/dist/apis/CoreApi.d.ts +2 -0
- package/dist/apis/CoreApi.js +6 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SourcesApi.d.ts +255 -1
- package/dist/apis/SourcesApi.js +810 -0
- package/dist/esm/apis/CoreApi.d.ts +2 -0
- package/dist/esm/apis/CoreApi.js +6 -0
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SourcesApi.d.ts +255 -1
- package/dist/esm/apis/SourcesApi.js +811 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedSCIMSourceGroupList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceGroupList.js +48 -0
- package/dist/esm/models/PaginatedSCIMSourceList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceList.js +48 -0
- package/dist/esm/models/PaginatedSCIMSourceUserList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceUserList.js +48 -0
- package/dist/esm/models/PatchedSCIMSourceGroupRequest.d.ts +49 -0
- package/dist/esm/models/PatchedSCIMSourceGroupRequest.js +49 -0
- package/dist/esm/models/PatchedSCIMSourceRequest.d.ts +56 -0
- package/dist/esm/models/PatchedSCIMSourceRequest.js +52 -0
- package/dist/esm/models/PatchedSCIMSourceUserRequest.d.ts +49 -0
- package/dist/esm/models/PatchedSCIMSourceUserRequest.js +49 -0
- package/dist/esm/models/SCIMSource.d.ts +105 -0
- package/dist/esm/models/SCIMSource.js +71 -0
- package/dist/esm/models/SCIMSourceGroup.d.ts +56 -0
- package/dist/esm/models/SCIMSourceGroup.js +55 -0
- package/dist/esm/models/SCIMSourceGroupRequest.d.ts +49 -0
- package/dist/esm/models/SCIMSourceGroupRequest.js +52 -0
- package/dist/esm/models/SCIMSourceRequest.d.ts +56 -0
- package/dist/esm/models/SCIMSourceRequest.js +54 -0
- package/dist/esm/models/SCIMSourceUser.d.ts +56 -0
- package/dist/esm/models/SCIMSourceUser.js +55 -0
- package/dist/esm/models/SCIMSourceUserRequest.d.ts +49 -0
- package/dist/esm/models/{UserGroupRequest.js → SCIMSourceUserRequest.js} +15 -13
- package/dist/esm/models/index.d.ts +12 -1
- package/dist/esm/models/index.js +12 -1
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedSCIMSourceGroupList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceGroupList.js +55 -0
- package/dist/models/PaginatedSCIMSourceList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceList.js +55 -0
- package/dist/models/PaginatedSCIMSourceUserList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceUserList.js +55 -0
- package/dist/models/PatchedSCIMSourceGroupRequest.d.ts +49 -0
- package/dist/models/PatchedSCIMSourceGroupRequest.js +56 -0
- package/dist/models/PatchedSCIMSourceRequest.d.ts +56 -0
- package/dist/models/PatchedSCIMSourceRequest.js +59 -0
- package/dist/models/PatchedSCIMSourceUserRequest.d.ts +49 -0
- package/dist/models/PatchedSCIMSourceUserRequest.js +56 -0
- package/dist/models/SCIMSource.d.ts +105 -0
- package/dist/models/SCIMSource.js +78 -0
- package/dist/models/SCIMSourceGroup.d.ts +56 -0
- package/dist/models/SCIMSourceGroup.js +62 -0
- package/dist/models/SCIMSourceGroupRequest.d.ts +49 -0
- package/dist/models/SCIMSourceGroupRequest.js +59 -0
- package/dist/models/SCIMSourceRequest.d.ts +56 -0
- package/dist/models/SCIMSourceRequest.js +61 -0
- package/dist/models/SCIMSourceUser.d.ts +56 -0
- package/dist/models/SCIMSourceUser.js +62 -0
- package/dist/models/SCIMSourceUserRequest.d.ts +49 -0
- package/dist/models/SCIMSourceUserRequest.js +59 -0
- package/dist/models/index.d.ts +12 -1
- package/dist/models/index.js +12 -1
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +10 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SourcesApi.ts +1045 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedSCIMSourceGroupList.ts +88 -0
- package/src/models/PaginatedSCIMSourceList.ts +88 -0
- package/src/models/PaginatedSCIMSourceUserList.ts +88 -0
- package/src/models/PatchedSCIMSourceGroupRequest.ts +89 -0
- package/src/models/PatchedSCIMSourceRequest.ts +104 -0
- package/src/models/PatchedSCIMSourceUserRequest.ts +89 -0
- package/src/models/SCIMSource.ts +176 -0
- package/src/models/SCIMSourceGroup.ts +107 -0
- package/src/models/SCIMSourceGroupRequest.ts +92 -0
- package/src/models/SCIMSourceRequest.ts +106 -0
- package/src/models/SCIMSourceUser.ts +107 -0
- package/src/models/SCIMSourceUserRequest.ts +92 -0
- package/src/models/index.ts +12 -1
- package/dist/esm/models/UserGroupRequest.d.ts +0 -51
- package/dist/models/UserGroupRequest.d.ts +0 -51
- package/dist/models/UserGroupRequest.js +0 -57
- package/src/models/UserGroupRequest.ts +0 -90
@@ -0,0 +1,105 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
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 { Token } from './Token';
|
13
|
+
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
14
|
+
/**
|
15
|
+
* SCIMSource Serializer
|
16
|
+
* @export
|
17
|
+
* @interface SCIMSource
|
18
|
+
*/
|
19
|
+
export interface SCIMSource {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {string}
|
23
|
+
* @memberof SCIMSource
|
24
|
+
*/
|
25
|
+
readonly pk: string;
|
26
|
+
/**
|
27
|
+
* Source's display Name.
|
28
|
+
* @type {string}
|
29
|
+
* @memberof SCIMSource
|
30
|
+
*/
|
31
|
+
name: string;
|
32
|
+
/**
|
33
|
+
* Internal source name, used in URLs.
|
34
|
+
* @type {string}
|
35
|
+
* @memberof SCIMSource
|
36
|
+
*/
|
37
|
+
slug: string;
|
38
|
+
/**
|
39
|
+
*
|
40
|
+
* @type {boolean}
|
41
|
+
* @memberof SCIMSource
|
42
|
+
*/
|
43
|
+
enabled?: boolean;
|
44
|
+
/**
|
45
|
+
* Get object component so that we know how to edit the object
|
46
|
+
* @type {string}
|
47
|
+
* @memberof SCIMSource
|
48
|
+
*/
|
49
|
+
readonly component: string;
|
50
|
+
/**
|
51
|
+
* Return object's verbose_name
|
52
|
+
* @type {string}
|
53
|
+
* @memberof SCIMSource
|
54
|
+
*/
|
55
|
+
readonly verboseName: string;
|
56
|
+
/**
|
57
|
+
* Return object's plural verbose_name
|
58
|
+
* @type {string}
|
59
|
+
* @memberof SCIMSource
|
60
|
+
*/
|
61
|
+
readonly verboseNamePlural: string;
|
62
|
+
/**
|
63
|
+
* Return internal model name
|
64
|
+
* @type {string}
|
65
|
+
* @memberof SCIMSource
|
66
|
+
*/
|
67
|
+
readonly metaModelName: string;
|
68
|
+
/**
|
69
|
+
*
|
70
|
+
* @type {UserMatchingModeEnum}
|
71
|
+
* @memberof SCIMSource
|
72
|
+
*/
|
73
|
+
userMatchingMode?: UserMatchingModeEnum;
|
74
|
+
/**
|
75
|
+
* 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
|
+
* @type {string}
|
77
|
+
* @memberof SCIMSource
|
78
|
+
*/
|
79
|
+
readonly managed: string | null;
|
80
|
+
/**
|
81
|
+
*
|
82
|
+
* @type {string}
|
83
|
+
* @memberof SCIMSource
|
84
|
+
*/
|
85
|
+
userPathTemplate?: string;
|
86
|
+
/**
|
87
|
+
* Get Root URL
|
88
|
+
* @type {string}
|
89
|
+
* @memberof SCIMSource
|
90
|
+
*/
|
91
|
+
readonly rootUrl: string;
|
92
|
+
/**
|
93
|
+
*
|
94
|
+
* @type {Token}
|
95
|
+
* @memberof SCIMSource
|
96
|
+
*/
|
97
|
+
readonly tokenObj: Token;
|
98
|
+
}
|
99
|
+
/**
|
100
|
+
* Check if a given object implements the SCIMSource interface.
|
101
|
+
*/
|
102
|
+
export declare function instanceOfSCIMSource(value: object): boolean;
|
103
|
+
export declare function SCIMSourceFromJSON(json: any): SCIMSource;
|
104
|
+
export declare function SCIMSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSource;
|
105
|
+
export declare function SCIMSourceToJSON(value?: SCIMSource | null): any;
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
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
|
+
import { TokenFromJSON, } from './Token';
|
16
|
+
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
17
|
+
/**
|
18
|
+
* Check if a given object implements the SCIMSource interface.
|
19
|
+
*/
|
20
|
+
export function instanceOfSCIMSource(value) {
|
21
|
+
let isInstance = true;
|
22
|
+
isInstance = isInstance && "pk" in value;
|
23
|
+
isInstance = isInstance && "name" in value;
|
24
|
+
isInstance = isInstance && "slug" in value;
|
25
|
+
isInstance = isInstance && "component" in value;
|
26
|
+
isInstance = isInstance && "verboseName" in value;
|
27
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
28
|
+
isInstance = isInstance && "metaModelName" in value;
|
29
|
+
isInstance = isInstance && "managed" in value;
|
30
|
+
isInstance = isInstance && "rootUrl" in value;
|
31
|
+
isInstance = isInstance && "tokenObj" in value;
|
32
|
+
return isInstance;
|
33
|
+
}
|
34
|
+
export function SCIMSourceFromJSON(json) {
|
35
|
+
return SCIMSourceFromJSONTyped(json, false);
|
36
|
+
}
|
37
|
+
export function SCIMSourceFromJSONTyped(json, ignoreDiscriminator) {
|
38
|
+
if ((json === undefined) || (json === null)) {
|
39
|
+
return json;
|
40
|
+
}
|
41
|
+
return {
|
42
|
+
'pk': json['pk'],
|
43
|
+
'name': json['name'],
|
44
|
+
'slug': json['slug'],
|
45
|
+
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
46
|
+
'component': json['component'],
|
47
|
+
'verboseName': json['verbose_name'],
|
48
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
49
|
+
'metaModelName': json['meta_model_name'],
|
50
|
+
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
51
|
+
'managed': json['managed'],
|
52
|
+
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
53
|
+
'rootUrl': json['root_url'],
|
54
|
+
'tokenObj': TokenFromJSON(json['token_obj']),
|
55
|
+
};
|
56
|
+
}
|
57
|
+
export function SCIMSourceToJSON(value) {
|
58
|
+
if (value === undefined) {
|
59
|
+
return undefined;
|
60
|
+
}
|
61
|
+
if (value === null) {
|
62
|
+
return null;
|
63
|
+
}
|
64
|
+
return {
|
65
|
+
'name': value.name,
|
66
|
+
'slug': value.slug,
|
67
|
+
'enabled': value.enabled,
|
68
|
+
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
69
|
+
'user_path_template': value.userPathTemplate,
|
70
|
+
};
|
71
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
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 { UserGroup } from './UserGroup';
|
13
|
+
/**
|
14
|
+
* SCIMSourceGroup Serializer
|
15
|
+
* @export
|
16
|
+
* @interface SCIMSourceGroup
|
17
|
+
*/
|
18
|
+
export interface SCIMSourceGroup {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {string}
|
22
|
+
* @memberof SCIMSourceGroup
|
23
|
+
*/
|
24
|
+
id: string;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {string}
|
28
|
+
* @memberof SCIMSourceGroup
|
29
|
+
*/
|
30
|
+
group: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {UserGroup}
|
34
|
+
* @memberof SCIMSourceGroup
|
35
|
+
*/
|
36
|
+
readonly groupObj: UserGroup;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof SCIMSourceGroup
|
41
|
+
*/
|
42
|
+
source: string;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {any}
|
46
|
+
* @memberof SCIMSourceGroup
|
47
|
+
*/
|
48
|
+
attributes?: any | null;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the SCIMSourceGroup interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfSCIMSourceGroup(value: object): boolean;
|
54
|
+
export declare function SCIMSourceGroupFromJSON(json: any): SCIMSourceGroup;
|
55
|
+
export declare function SCIMSourceGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourceGroup;
|
56
|
+
export declare function SCIMSourceGroupToJSON(value?: SCIMSourceGroup | null): any;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
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
|
+
import { UserGroupFromJSON, } from './UserGroup';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the SCIMSourceGroup interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfSCIMSourceGroup(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "id" in value;
|
22
|
+
isInstance = isInstance && "group" in value;
|
23
|
+
isInstance = isInstance && "groupObj" in value;
|
24
|
+
isInstance = isInstance && "source" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
export function SCIMSourceGroupFromJSON(json) {
|
28
|
+
return SCIMSourceGroupFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
export function SCIMSourceGroupFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'id': json['id'],
|
36
|
+
'group': json['group'],
|
37
|
+
'groupObj': UserGroupFromJSON(json['group_obj']),
|
38
|
+
'source': json['source'],
|
39
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
40
|
+
};
|
41
|
+
}
|
42
|
+
export function SCIMSourceGroupToJSON(value) {
|
43
|
+
if (value === undefined) {
|
44
|
+
return undefined;
|
45
|
+
}
|
46
|
+
if (value === null) {
|
47
|
+
return null;
|
48
|
+
}
|
49
|
+
return {
|
50
|
+
'id': value.id,
|
51
|
+
'group': value.group,
|
52
|
+
'source': value.source,
|
53
|
+
'attributes': value.attributes,
|
54
|
+
};
|
55
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
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
|
+
* SCIMSourceGroup Serializer
|
14
|
+
* @export
|
15
|
+
* @interface SCIMSourceGroupRequest
|
16
|
+
*/
|
17
|
+
export interface SCIMSourceGroupRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof SCIMSourceGroupRequest
|
22
|
+
*/
|
23
|
+
id: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof SCIMSourceGroupRequest
|
28
|
+
*/
|
29
|
+
group: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof SCIMSourceGroupRequest
|
34
|
+
*/
|
35
|
+
source: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {any}
|
39
|
+
* @memberof SCIMSourceGroupRequest
|
40
|
+
*/
|
41
|
+
attributes?: any | null;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Check if a given object implements the SCIMSourceGroupRequest interface.
|
45
|
+
*/
|
46
|
+
export declare function instanceOfSCIMSourceGroupRequest(value: object): boolean;
|
47
|
+
export declare function SCIMSourceGroupRequestFromJSON(json: any): SCIMSourceGroupRequest;
|
48
|
+
export declare function SCIMSourceGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourceGroupRequest;
|
49
|
+
export declare function SCIMSourceGroupRequestToJSON(value?: SCIMSourceGroupRequest | null): any;
|
@@ -0,0 +1,52 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
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 SCIMSourceGroupRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfSCIMSourceGroupRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "id" in value;
|
21
|
+
isInstance = isInstance && "group" in value;
|
22
|
+
isInstance = isInstance && "source" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function SCIMSourceGroupRequestFromJSON(json) {
|
26
|
+
return SCIMSourceGroupRequestFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function SCIMSourceGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'id': json['id'],
|
34
|
+
'group': json['group'],
|
35
|
+
'source': json['source'],
|
36
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
37
|
+
};
|
38
|
+
}
|
39
|
+
export function SCIMSourceGroupRequestToJSON(value) {
|
40
|
+
if (value === undefined) {
|
41
|
+
return undefined;
|
42
|
+
}
|
43
|
+
if (value === null) {
|
44
|
+
return null;
|
45
|
+
}
|
46
|
+
return {
|
47
|
+
'id': value.id,
|
48
|
+
'group': value.group,
|
49
|
+
'source': value.source,
|
50
|
+
'attributes': value.attributes,
|
51
|
+
};
|
52
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
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 { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
13
|
+
/**
|
14
|
+
* SCIMSource Serializer
|
15
|
+
* @export
|
16
|
+
* @interface SCIMSourceRequest
|
17
|
+
*/
|
18
|
+
export interface SCIMSourceRequest {
|
19
|
+
/**
|
20
|
+
* Source's display Name.
|
21
|
+
* @type {string}
|
22
|
+
* @memberof SCIMSourceRequest
|
23
|
+
*/
|
24
|
+
name: string;
|
25
|
+
/**
|
26
|
+
* Internal source name, used in URLs.
|
27
|
+
* @type {string}
|
28
|
+
* @memberof SCIMSourceRequest
|
29
|
+
*/
|
30
|
+
slug: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {boolean}
|
34
|
+
* @memberof SCIMSourceRequest
|
35
|
+
*/
|
36
|
+
enabled?: boolean;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {UserMatchingModeEnum}
|
40
|
+
* @memberof SCIMSourceRequest
|
41
|
+
*/
|
42
|
+
userMatchingMode?: UserMatchingModeEnum;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {string}
|
46
|
+
* @memberof SCIMSourceRequest
|
47
|
+
*/
|
48
|
+
userPathTemplate?: string;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the SCIMSourceRequest interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfSCIMSourceRequest(value: object): boolean;
|
54
|
+
export declare function SCIMSourceRequestFromJSON(json: any): SCIMSourceRequest;
|
55
|
+
export declare function SCIMSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourceRequest;
|
56
|
+
export declare function SCIMSourceRequestToJSON(value?: SCIMSourceRequest | null): any;
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
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
|
+
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the SCIMSourceRequest interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfSCIMSourceRequest(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "name" in value;
|
22
|
+
isInstance = isInstance && "slug" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function SCIMSourceRequestFromJSON(json) {
|
26
|
+
return SCIMSourceRequestFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function SCIMSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'name': json['name'],
|
34
|
+
'slug': json['slug'],
|
35
|
+
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
36
|
+
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
37
|
+
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
export function SCIMSourceRequestToJSON(value) {
|
41
|
+
if (value === undefined) {
|
42
|
+
return undefined;
|
43
|
+
}
|
44
|
+
if (value === null) {
|
45
|
+
return null;
|
46
|
+
}
|
47
|
+
return {
|
48
|
+
'name': value.name,
|
49
|
+
'slug': value.slug,
|
50
|
+
'enabled': value.enabled,
|
51
|
+
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
52
|
+
'user_path_template': value.userPathTemplate,
|
53
|
+
};
|
54
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
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 { GroupMember } from './GroupMember';
|
13
|
+
/**
|
14
|
+
* SCIMSourceUser Serializer
|
15
|
+
* @export
|
16
|
+
* @interface SCIMSourceUser
|
17
|
+
*/
|
18
|
+
export interface SCIMSourceUser {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {string}
|
22
|
+
* @memberof SCIMSourceUser
|
23
|
+
*/
|
24
|
+
id: string;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {number}
|
28
|
+
* @memberof SCIMSourceUser
|
29
|
+
*/
|
30
|
+
user: number;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {GroupMember}
|
34
|
+
* @memberof SCIMSourceUser
|
35
|
+
*/
|
36
|
+
readonly userObj: GroupMember;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof SCIMSourceUser
|
41
|
+
*/
|
42
|
+
source: string;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {any}
|
46
|
+
* @memberof SCIMSourceUser
|
47
|
+
*/
|
48
|
+
attributes?: any | null;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the SCIMSourceUser interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfSCIMSourceUser(value: object): boolean;
|
54
|
+
export declare function SCIMSourceUserFromJSON(json: any): SCIMSourceUser;
|
55
|
+
export declare function SCIMSourceUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourceUser;
|
56
|
+
export declare function SCIMSourceUserToJSON(value?: SCIMSourceUser | null): any;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
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
|
+
import { GroupMemberFromJSON, } from './GroupMember';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the SCIMSourceUser interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfSCIMSourceUser(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "id" in value;
|
22
|
+
isInstance = isInstance && "user" in value;
|
23
|
+
isInstance = isInstance && "userObj" in value;
|
24
|
+
isInstance = isInstance && "source" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
export function SCIMSourceUserFromJSON(json) {
|
28
|
+
return SCIMSourceUserFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
export function SCIMSourceUserFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'id': json['id'],
|
36
|
+
'user': json['user'],
|
37
|
+
'userObj': GroupMemberFromJSON(json['user_obj']),
|
38
|
+
'source': json['source'],
|
39
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
40
|
+
};
|
41
|
+
}
|
42
|
+
export function SCIMSourceUserToJSON(value) {
|
43
|
+
if (value === undefined) {
|
44
|
+
return undefined;
|
45
|
+
}
|
46
|
+
if (value === null) {
|
47
|
+
return null;
|
48
|
+
}
|
49
|
+
return {
|
50
|
+
'id': value.id,
|
51
|
+
'user': value.user,
|
52
|
+
'source': value.source,
|
53
|
+
'attributes': value.attributes,
|
54
|
+
};
|
55
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
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
|
+
* SCIMSourceUser Serializer
|
14
|
+
* @export
|
15
|
+
* @interface SCIMSourceUserRequest
|
16
|
+
*/
|
17
|
+
export interface SCIMSourceUserRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof SCIMSourceUserRequest
|
22
|
+
*/
|
23
|
+
id: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {number}
|
27
|
+
* @memberof SCIMSourceUserRequest
|
28
|
+
*/
|
29
|
+
user: number;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof SCIMSourceUserRequest
|
34
|
+
*/
|
35
|
+
source: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {any}
|
39
|
+
* @memberof SCIMSourceUserRequest
|
40
|
+
*/
|
41
|
+
attributes?: any | null;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Check if a given object implements the SCIMSourceUserRequest interface.
|
45
|
+
*/
|
46
|
+
export declare function instanceOfSCIMSourceUserRequest(value: object): boolean;
|
47
|
+
export declare function SCIMSourceUserRequestFromJSON(json: any): SCIMSourceUserRequest;
|
48
|
+
export declare function SCIMSourceUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSourceUserRequest;
|
49
|
+
export declare function SCIMSourceUserRequestToJSON(value?: SCIMSourceUserRequest | null): any;
|