@goauthentik/api 2024.10.5-1734022840 → 2024.10.5-1734528783
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +14 -0
- package/dist/apis/CoreApi.d.ts +86 -1
- package/dist/apis/CoreApi.js +271 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SourcesApi.d.ts +21 -5
- package/dist/apis/SourcesApi.js +51 -6
- package/dist/esm/apis/CoreApi.d.ts +86 -1
- package/dist/esm/apis/CoreApi.js +272 -1
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SourcesApi.d.ts +21 -5
- package/dist/esm/apis/SourcesApi.js +52 -7
- package/dist/esm/models/ApplicationEntitlement.d.ts +49 -0
- package/dist/esm/models/ApplicationEntitlement.js +51 -0
- package/dist/esm/models/ApplicationEntitlementRequest.d.ts +43 -0
- package/dist/esm/models/ApplicationEntitlementRequest.js +49 -0
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
- package/dist/esm/models/IdentificationChallenge.d.ts +1 -1
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedApplicationEntitlementList.d.ts +39 -0
- package/dist/esm/models/PaginatedApplicationEntitlementList.js +48 -0
- package/dist/esm/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
- package/dist/esm/models/PatchedApplicationEntitlementRequest.js +47 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserPlexSourceConnection.js +5 -1
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserSourceConnection.js +7 -2
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/ApplicationEntitlement.d.ts +49 -0
- package/dist/models/ApplicationEntitlement.js +58 -0
- package/dist/models/ApplicationEntitlementRequest.d.ts +43 -0
- package/dist/models/ApplicationEntitlementRequest.js +56 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
- package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/models/GroupPlexSourceConnection.js +8 -2
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
- package/dist/models/IdentificationChallenge.d.ts +1 -1
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedApplicationEntitlementList.d.ts +39 -0
- package/dist/models/PaginatedApplicationEntitlementList.js +55 -0
- package/dist/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
- package/dist/models/PatchedApplicationEntitlementRequest.js +54 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/models/UserKerberosSourceConnection.js +4 -1
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/models/UserOAuthSourceConnection.js +5 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/models/UserPlexSourceConnection.js +5 -1
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/models/UserSAMLSourceConnection.js +5 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/models/UserSourceConnection.d.ts +9 -3
- package/dist/models/UserSourceConnection.js +7 -2
- package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +350 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SourcesApi.ts +118 -6
- package/src/models/ApplicationEntitlement.ts +91 -0
- package/src/models/ApplicationEntitlementRequest.ts +83 -0
- package/src/models/GroupKerberosSourceConnection.ts +15 -4
- package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
- package/src/models/GroupOAuthSourceConnection.ts +15 -4
- package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
- package/src/models/GroupPlexSourceConnection.ts +15 -4
- package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
- package/src/models/GroupSAMLSourceConnection.ts +15 -4
- package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
- package/src/models/IdentificationChallenge.ts +1 -1
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedApplicationEntitlementList.ts +88 -0
- package/src/models/PatchedApplicationEntitlementRequest.ts +81 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
- package/src/models/UserKerberosSourceConnection.ts +11 -2
- package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
- package/src/models/UserOAuthSourceConnection.ts +13 -3
- package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
- package/src/models/UserPlexSourceConnection.ts +13 -3
- package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
- package/src/models/UserSAMLSourceConnection.ts +13 -3
- package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
- package/src/models/UserSourceConnection.ts +14 -4
- package/src/models/UserSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +14 -0
@@ -20,6 +20,7 @@ export function instanceOfGroupKerberosSourceConnection(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "group" in value;
|
22
22
|
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
24
25
|
isInstance = isInstance && "created" in value;
|
25
26
|
return isInstance;
|
@@ -34,7 +35,8 @@ export function GroupKerberosSourceConnectionFromJSONTyped(json, ignoreDiscrimin
|
|
34
35
|
return {
|
35
36
|
'pk': json['pk'],
|
36
37
|
'group': json['group'],
|
37
|
-
'source':
|
38
|
+
'source': json['source'],
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
38
40
|
'identifier': json['identifier'],
|
39
41
|
'created': (new Date(json['created'])),
|
40
42
|
};
|
@@ -46,5 +48,9 @@ export function GroupKerberosSourceConnectionToJSON(value) {
|
|
46
48
|
if (value === null) {
|
47
49
|
return null;
|
48
50
|
}
|
49
|
-
return {
|
51
|
+
return {
|
52
|
+
'group': value.group,
|
53
|
+
'source': value.source,
|
54
|
+
'identifier': value.identifier,
|
55
|
+
};
|
50
56
|
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
* OAuth Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface GroupKerberosSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface GroupKerberosSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfGroupKerberosSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function GroupKerberosSourceConnectionRequestFromJSON(json: any): GroupKerberosSourceConnectionRequest;
|
42
|
+
export declare function GroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupKerberosSourceConnectionRequest;
|
43
|
+
export declare function GroupKerberosSourceConnectionRequestToJSON(value?: GroupKerberosSourceConnectionRequest | 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.10.5
|
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
|
+
/**
|
15
|
+
* Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
|
16
|
+
*/
|
17
|
+
export function instanceOfGroupKerberosSourceConnectionRequest(value) {
|
18
|
+
let isInstance = true;
|
19
|
+
isInstance = isInstance && "group" in value;
|
20
|
+
isInstance = isInstance && "source" in value;
|
21
|
+
isInstance = isInstance && "identifier" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function GroupKerberosSourceConnectionRequestFromJSON(json) {
|
25
|
+
return GroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function GroupKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'group': json['group'],
|
33
|
+
'source': json['source'],
|
34
|
+
'identifier': json['identifier'],
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function GroupKerberosSourceConnectionRequestToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'group': value.group,
|
46
|
+
'source': value.source,
|
47
|
+
'identifier': value.identifier,
|
48
|
+
};
|
49
|
+
}
|
@@ -27,19 +27,25 @@ export interface GroupOAuthSourceConnection {
|
|
27
27
|
* @type {string}
|
28
28
|
* @memberof GroupOAuthSourceConnection
|
29
29
|
*/
|
30
|
-
|
30
|
+
group: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {string}
|
34
|
+
* @memberof GroupOAuthSourceConnection
|
35
|
+
*/
|
36
|
+
source: string;
|
31
37
|
/**
|
32
38
|
*
|
33
39
|
* @type {Source}
|
34
40
|
* @memberof GroupOAuthSourceConnection
|
35
41
|
*/
|
36
|
-
readonly
|
42
|
+
readonly sourceObj: Source;
|
37
43
|
/**
|
38
44
|
*
|
39
45
|
* @type {string}
|
40
46
|
* @memberof GroupOAuthSourceConnection
|
41
47
|
*/
|
42
|
-
|
48
|
+
identifier: string;
|
43
49
|
/**
|
44
50
|
*
|
45
51
|
* @type {Date}
|
@@ -20,6 +20,7 @@ export function instanceOfGroupOAuthSourceConnection(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "group" in value;
|
22
22
|
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
24
25
|
isInstance = isInstance && "created" in value;
|
25
26
|
return isInstance;
|
@@ -34,7 +35,8 @@ export function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminato
|
|
34
35
|
return {
|
35
36
|
'pk': json['pk'],
|
36
37
|
'group': json['group'],
|
37
|
-
'source':
|
38
|
+
'source': json['source'],
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
38
40
|
'identifier': json['identifier'],
|
39
41
|
'created': (new Date(json['created'])),
|
40
42
|
};
|
@@ -46,5 +48,9 @@ export function GroupOAuthSourceConnectionToJSON(value) {
|
|
46
48
|
if (value === null) {
|
47
49
|
return null;
|
48
50
|
}
|
49
|
-
return {
|
51
|
+
return {
|
52
|
+
'group': value.group,
|
53
|
+
'source': value.source,
|
54
|
+
'identifier': value.identifier,
|
55
|
+
};
|
50
56
|
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
* OAuth Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface GroupOAuthSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface GroupOAuthSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfGroupOAuthSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function GroupOAuthSourceConnectionRequestFromJSON(json: any): GroupOAuthSourceConnectionRequest;
|
42
|
+
export declare function GroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnectionRequest;
|
43
|
+
export declare function GroupOAuthSourceConnectionRequestToJSON(value?: GroupOAuthSourceConnectionRequest | 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.10.5
|
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
|
+
/**
|
15
|
+
* Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
|
16
|
+
*/
|
17
|
+
export function instanceOfGroupOAuthSourceConnectionRequest(value) {
|
18
|
+
let isInstance = true;
|
19
|
+
isInstance = isInstance && "group" in value;
|
20
|
+
isInstance = isInstance && "source" in value;
|
21
|
+
isInstance = isInstance && "identifier" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function GroupOAuthSourceConnectionRequestFromJSON(json) {
|
25
|
+
return GroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function GroupOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'group': json['group'],
|
33
|
+
'source': json['source'],
|
34
|
+
'identifier': json['identifier'],
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function GroupOAuthSourceConnectionRequestToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'group': value.group,
|
46
|
+
'source': value.source,
|
47
|
+
'identifier': value.identifier,
|
48
|
+
};
|
49
|
+
}
|
@@ -27,19 +27,25 @@ export interface GroupPlexSourceConnection {
|
|
27
27
|
* @type {string}
|
28
28
|
* @memberof GroupPlexSourceConnection
|
29
29
|
*/
|
30
|
-
|
30
|
+
group: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {string}
|
34
|
+
* @memberof GroupPlexSourceConnection
|
35
|
+
*/
|
36
|
+
source: string;
|
31
37
|
/**
|
32
38
|
*
|
33
39
|
* @type {Source}
|
34
40
|
* @memberof GroupPlexSourceConnection
|
35
41
|
*/
|
36
|
-
readonly
|
42
|
+
readonly sourceObj: Source;
|
37
43
|
/**
|
38
44
|
*
|
39
45
|
* @type {string}
|
40
46
|
* @memberof GroupPlexSourceConnection
|
41
47
|
*/
|
42
|
-
|
48
|
+
identifier: string;
|
43
49
|
/**
|
44
50
|
*
|
45
51
|
* @type {Date}
|
@@ -20,6 +20,7 @@ export function instanceOfGroupPlexSourceConnection(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "group" in value;
|
22
22
|
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
24
25
|
isInstance = isInstance && "created" in value;
|
25
26
|
return isInstance;
|
@@ -34,7 +35,8 @@ export function GroupPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator
|
|
34
35
|
return {
|
35
36
|
'pk': json['pk'],
|
36
37
|
'group': json['group'],
|
37
|
-
'source':
|
38
|
+
'source': json['source'],
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
38
40
|
'identifier': json['identifier'],
|
39
41
|
'created': (new Date(json['created'])),
|
40
42
|
};
|
@@ -46,5 +48,9 @@ export function GroupPlexSourceConnectionToJSON(value) {
|
|
46
48
|
if (value === null) {
|
47
49
|
return null;
|
48
50
|
}
|
49
|
-
return {
|
51
|
+
return {
|
52
|
+
'group': value.group,
|
53
|
+
'source': value.source,
|
54
|
+
'identifier': value.identifier,
|
55
|
+
};
|
50
56
|
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
* Plex Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface GroupPlexSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface GroupPlexSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof GroupPlexSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof GroupPlexSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof GroupPlexSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the GroupPlexSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfGroupPlexSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function GroupPlexSourceConnectionRequestFromJSON(json: any): GroupPlexSourceConnectionRequest;
|
42
|
+
export declare function GroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPlexSourceConnectionRequest;
|
43
|
+
export declare function GroupPlexSourceConnectionRequestToJSON(value?: GroupPlexSourceConnectionRequest | 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.10.5
|
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
|
+
/**
|
15
|
+
* Check if a given object implements the GroupPlexSourceConnectionRequest interface.
|
16
|
+
*/
|
17
|
+
export function instanceOfGroupPlexSourceConnectionRequest(value) {
|
18
|
+
let isInstance = true;
|
19
|
+
isInstance = isInstance && "group" in value;
|
20
|
+
isInstance = isInstance && "source" in value;
|
21
|
+
isInstance = isInstance && "identifier" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function GroupPlexSourceConnectionRequestFromJSON(json) {
|
25
|
+
return GroupPlexSourceConnectionRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function GroupPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'group': json['group'],
|
33
|
+
'source': json['source'],
|
34
|
+
'identifier': json['identifier'],
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function GroupPlexSourceConnectionRequestToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'group': value.group,
|
46
|
+
'source': value.source,
|
47
|
+
'identifier': value.identifier,
|
48
|
+
};
|
49
|
+
}
|
@@ -27,19 +27,25 @@ export interface GroupSAMLSourceConnection {
|
|
27
27
|
* @type {string}
|
28
28
|
* @memberof GroupSAMLSourceConnection
|
29
29
|
*/
|
30
|
-
|
30
|
+
group: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {string}
|
34
|
+
* @memberof GroupSAMLSourceConnection
|
35
|
+
*/
|
36
|
+
source: string;
|
31
37
|
/**
|
32
38
|
*
|
33
39
|
* @type {Source}
|
34
40
|
* @memberof GroupSAMLSourceConnection
|
35
41
|
*/
|
36
|
-
readonly
|
42
|
+
readonly sourceObj: Source;
|
37
43
|
/**
|
38
44
|
*
|
39
45
|
* @type {string}
|
40
46
|
* @memberof GroupSAMLSourceConnection
|
41
47
|
*/
|
42
|
-
|
48
|
+
identifier: string;
|
43
49
|
/**
|
44
50
|
*
|
45
51
|
* @type {Date}
|
@@ -20,6 +20,7 @@ export function instanceOfGroupSAMLSourceConnection(value) {
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "group" in value;
|
22
22
|
isInstance = isInstance && "source" in value;
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
24
25
|
isInstance = isInstance && "created" in value;
|
25
26
|
return isInstance;
|
@@ -34,7 +35,8 @@ export function GroupSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator
|
|
34
35
|
return {
|
35
36
|
'pk': json['pk'],
|
36
37
|
'group': json['group'],
|
37
|
-
'source':
|
38
|
+
'source': json['source'],
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
38
40
|
'identifier': json['identifier'],
|
39
41
|
'created': (new Date(json['created'])),
|
40
42
|
};
|
@@ -46,5 +48,9 @@ export function GroupSAMLSourceConnectionToJSON(value) {
|
|
46
48
|
if (value === null) {
|
47
49
|
return null;
|
48
50
|
}
|
49
|
-
return {
|
51
|
+
return {
|
52
|
+
'group': value.group,
|
53
|
+
'source': value.source,
|
54
|
+
'identifier': value.identifier,
|
55
|
+
};
|
50
56
|
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
* OAuth Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface GroupSAMLSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface GroupSAMLSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfGroupSAMLSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function GroupSAMLSourceConnectionRequestFromJSON(json: any): GroupSAMLSourceConnectionRequest;
|
42
|
+
export declare function GroupSAMLSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnectionRequest;
|
43
|
+
export declare function GroupSAMLSourceConnectionRequestToJSON(value?: GroupSAMLSourceConnectionRequest | 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.10.5
|
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
|
+
/**
|
15
|
+
* Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
|
16
|
+
*/
|
17
|
+
export function instanceOfGroupSAMLSourceConnectionRequest(value) {
|
18
|
+
let isInstance = true;
|
19
|
+
isInstance = isInstance && "group" in value;
|
20
|
+
isInstance = isInstance && "source" in value;
|
21
|
+
isInstance = isInstance && "identifier" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function GroupSAMLSourceConnectionRequestFromJSON(json) {
|
25
|
+
return GroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function GroupSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'group': json['group'],
|
33
|
+
'source': json['source'],
|
34
|
+
'identifier': json['identifier'],
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function GroupSAMLSourceConnectionRequestToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'group': value.group,
|
46
|
+
'source': value.source,
|
47
|
+
'identifier': value.identifier,
|
48
|
+
};
|
49
|
+
}
|
@@ -93,6 +93,7 @@ export declare const ModelEnum: {
|
|
93
93
|
readonly CoreGroup: "authentik_core.group";
|
94
94
|
readonly CoreUser: "authentik_core.user";
|
95
95
|
readonly CoreApplication: "authentik_core.application";
|
96
|
+
readonly CoreApplicationentitlement: "authentik_core.applicationentitlement";
|
96
97
|
readonly CoreToken: "authentik_core.token";
|
97
98
|
readonly EnterpriseLicense: "authentik_enterprise.license";
|
98
99
|
readonly ProvidersGoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
|
@@ -95,6 +95,7 @@ export const ModelEnum = {
|
|
95
95
|
CoreGroup: 'authentik_core.group',
|
96
96
|
CoreUser: 'authentik_core.user',
|
97
97
|
CoreApplication: 'authentik_core.application',
|
98
|
+
CoreApplicationentitlement: 'authentik_core.applicationentitlement',
|
98
99
|
CoreToken: 'authentik_core.token',
|
99
100
|
EnterpriseLicense: 'authentik_enterprise.license',
|
100
101
|
ProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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 { ApplicationEntitlement } from './ApplicationEntitlement';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedApplicationEntitlementList
|
18
|
+
*/
|
19
|
+
export interface PaginatedApplicationEntitlementList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedApplicationEntitlementList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<ApplicationEntitlement>}
|
29
|
+
* @memberof PaginatedApplicationEntitlementList
|
30
|
+
*/
|
31
|
+
results: Array<ApplicationEntitlement>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedApplicationEntitlementList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedApplicationEntitlementList(value: object): boolean;
|
37
|
+
export declare function PaginatedApplicationEntitlementListFromJSON(json: any): PaginatedApplicationEntitlementList;
|
38
|
+
export declare function PaginatedApplicationEntitlementListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedApplicationEntitlementList;
|
39
|
+
export declare function PaginatedApplicationEntitlementListToJSON(value?: PaginatedApplicationEntitlementList | null): any;
|