@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
@@ -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,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.10.5
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.GroupPlexSourceConnectionRequestToJSON = exports.GroupPlexSourceConnectionRequestFromJSONTyped = exports.GroupPlexSourceConnectionRequestFromJSON = exports.instanceOfGroupPlexSourceConnectionRequest = void 0;
|
17
|
+
/**
|
18
|
+
* Check if a given object implements the GroupPlexSourceConnectionRequest interface.
|
19
|
+
*/
|
20
|
+
function instanceOfGroupPlexSourceConnectionRequest(value) {
|
21
|
+
let isInstance = true;
|
22
|
+
isInstance = isInstance && "group" in value;
|
23
|
+
isInstance = isInstance && "source" in value;
|
24
|
+
isInstance = isInstance && "identifier" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
exports.instanceOfGroupPlexSourceConnectionRequest = instanceOfGroupPlexSourceConnectionRequest;
|
28
|
+
function GroupPlexSourceConnectionRequestFromJSON(json) {
|
29
|
+
return GroupPlexSourceConnectionRequestFromJSONTyped(json, false);
|
30
|
+
}
|
31
|
+
exports.GroupPlexSourceConnectionRequestFromJSON = GroupPlexSourceConnectionRequestFromJSON;
|
32
|
+
function GroupPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'group': json['group'],
|
38
|
+
'source': json['source'],
|
39
|
+
'identifier': json['identifier'],
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.GroupPlexSourceConnectionRequestFromJSONTyped = GroupPlexSourceConnectionRequestFromJSONTyped;
|
43
|
+
function GroupPlexSourceConnectionRequestToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'group': value.group,
|
52
|
+
'source': value.source,
|
53
|
+
'identifier': value.identifier,
|
54
|
+
};
|
55
|
+
}
|
56
|
+
exports.GroupPlexSourceConnectionRequestToJSON = GroupPlexSourceConnectionRequestToJSON;
|
@@ -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}
|
@@ -23,6 +23,7 @@ function instanceOfGroupSAMLSourceConnection(value) {
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
24
24
|
isInstance = isInstance && "group" in value;
|
25
25
|
isInstance = isInstance && "source" in value;
|
26
|
+
isInstance = isInstance && "sourceObj" in value;
|
26
27
|
isInstance = isInstance && "identifier" in value;
|
27
28
|
isInstance = isInstance && "created" in value;
|
28
29
|
return isInstance;
|
@@ -39,7 +40,8 @@ function GroupSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
40
|
return {
|
40
41
|
'pk': json['pk'],
|
41
42
|
'group': json['group'],
|
42
|
-
'source':
|
43
|
+
'source': json['source'],
|
44
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
43
45
|
'identifier': json['identifier'],
|
44
46
|
'created': (new Date(json['created'])),
|
45
47
|
};
|
@@ -52,6 +54,10 @@ function GroupSAMLSourceConnectionToJSON(value) {
|
|
52
54
|
if (value === null) {
|
53
55
|
return null;
|
54
56
|
}
|
55
|
-
return {
|
57
|
+
return {
|
58
|
+
'group': value.group,
|
59
|
+
'source': value.source,
|
60
|
+
'identifier': value.identifier,
|
61
|
+
};
|
56
62
|
}
|
57
63
|
exports.GroupSAMLSourceConnectionToJSON = GroupSAMLSourceConnectionToJSON;
|
@@ -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,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.10.5
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.GroupSAMLSourceConnectionRequestToJSON = exports.GroupSAMLSourceConnectionRequestFromJSONTyped = exports.GroupSAMLSourceConnectionRequestFromJSON = exports.instanceOfGroupSAMLSourceConnectionRequest = void 0;
|
17
|
+
/**
|
18
|
+
* Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
|
19
|
+
*/
|
20
|
+
function instanceOfGroupSAMLSourceConnectionRequest(value) {
|
21
|
+
let isInstance = true;
|
22
|
+
isInstance = isInstance && "group" in value;
|
23
|
+
isInstance = isInstance && "source" in value;
|
24
|
+
isInstance = isInstance && "identifier" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
exports.instanceOfGroupSAMLSourceConnectionRequest = instanceOfGroupSAMLSourceConnectionRequest;
|
28
|
+
function GroupSAMLSourceConnectionRequestFromJSON(json) {
|
29
|
+
return GroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
|
30
|
+
}
|
31
|
+
exports.GroupSAMLSourceConnectionRequestFromJSON = GroupSAMLSourceConnectionRequestFromJSON;
|
32
|
+
function GroupSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'group': json['group'],
|
38
|
+
'source': json['source'],
|
39
|
+
'identifier': json['identifier'],
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.GroupSAMLSourceConnectionRequestFromJSONTyped = GroupSAMLSourceConnectionRequestFromJSONTyped;
|
43
|
+
function GroupSAMLSourceConnectionRequestToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'group': value.group,
|
52
|
+
'source': value.source,
|
53
|
+
'identifier': value.identifier,
|
54
|
+
};
|
55
|
+
}
|
56
|
+
exports.GroupSAMLSourceConnectionRequestToJSON = GroupSAMLSourceConnectionRequestToJSON;
|
@@ -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";
|
package/dist/models/ModelEnum.js
CHANGED
@@ -98,6 +98,7 @@ exports.ModelEnum = {
|
|
98
98
|
CoreGroup: 'authentik_core.group',
|
99
99
|
CoreUser: 'authentik_core.user',
|
100
100
|
CoreApplication: 'authentik_core.application',
|
101
|
+
CoreApplicationentitlement: 'authentik_core.applicationentitlement',
|
101
102
|
CoreToken: 'authentik_core.token',
|
102
103
|
EnterpriseLicense: 'authentik_enterprise.license',
|
103
104
|
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;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.10.5
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.PaginatedApplicationEntitlementListToJSON = exports.PaginatedApplicationEntitlementListFromJSONTyped = exports.PaginatedApplicationEntitlementListFromJSON = exports.instanceOfPaginatedApplicationEntitlementList = void 0;
|
17
|
+
const ApplicationEntitlement_1 = require("./ApplicationEntitlement");
|
18
|
+
const Pagination_1 = require("./Pagination");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the PaginatedApplicationEntitlementList interface.
|
21
|
+
*/
|
22
|
+
function instanceOfPaginatedApplicationEntitlementList(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "pagination" in value;
|
25
|
+
isInstance = isInstance && "results" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfPaginatedApplicationEntitlementList = instanceOfPaginatedApplicationEntitlementList;
|
29
|
+
function PaginatedApplicationEntitlementListFromJSON(json) {
|
30
|
+
return PaginatedApplicationEntitlementListFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.PaginatedApplicationEntitlementListFromJSON = PaginatedApplicationEntitlementListFromJSON;
|
33
|
+
function PaginatedApplicationEntitlementListFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
39
|
+
'results': (json['results'].map(ApplicationEntitlement_1.ApplicationEntitlementFromJSON)),
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.PaginatedApplicationEntitlementListFromJSONTyped = PaginatedApplicationEntitlementListFromJSONTyped;
|
43
|
+
function PaginatedApplicationEntitlementListToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
|
52
|
+
'results': (value.results.map(ApplicationEntitlement_1.ApplicationEntitlementToJSON)),
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.PaginatedApplicationEntitlementListToJSON = PaginatedApplicationEntitlementListToJSON;
|
@@ -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
|
+
* ApplicationEntitlement Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedApplicationEntitlementRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedApplicationEntitlementRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedApplicationEntitlementRequest
|
22
|
+
*/
|
23
|
+
name?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedApplicationEntitlementRequest
|
28
|
+
*/
|
29
|
+
app?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {any}
|
33
|
+
* @memberof PatchedApplicationEntitlementRequest
|
34
|
+
*/
|
35
|
+
attributes?: any | null;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedApplicationEntitlementRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedApplicationEntitlementRequest(value: object): boolean;
|
41
|
+
export declare function PatchedApplicationEntitlementRequestFromJSON(json: any): PatchedApplicationEntitlementRequest;
|
42
|
+
export declare function PatchedApplicationEntitlementRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedApplicationEntitlementRequest;
|
43
|
+
export declare function PatchedApplicationEntitlementRequestToJSON(value?: PatchedApplicationEntitlementRequest | null): any;
|
@@ -0,0 +1,54 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.10.5
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.PatchedApplicationEntitlementRequestToJSON = exports.PatchedApplicationEntitlementRequestFromJSONTyped = exports.PatchedApplicationEntitlementRequestFromJSON = exports.instanceOfPatchedApplicationEntitlementRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the PatchedApplicationEntitlementRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfPatchedApplicationEntitlementRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfPatchedApplicationEntitlementRequest = instanceOfPatchedApplicationEntitlementRequest;
|
26
|
+
function PatchedApplicationEntitlementRequestFromJSON(json) {
|
27
|
+
return PatchedApplicationEntitlementRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.PatchedApplicationEntitlementRequestFromJSON = PatchedApplicationEntitlementRequestFromJSON;
|
30
|
+
function PatchedApplicationEntitlementRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
36
|
+
'app': !(0, runtime_1.exists)(json, 'app') ? undefined : json['app'],
|
37
|
+
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
exports.PatchedApplicationEntitlementRequestFromJSONTyped = PatchedApplicationEntitlementRequestFromJSONTyped;
|
41
|
+
function PatchedApplicationEntitlementRequestToJSON(value) {
|
42
|
+
if (value === undefined) {
|
43
|
+
return undefined;
|
44
|
+
}
|
45
|
+
if (value === null) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
return {
|
49
|
+
'name': value.name,
|
50
|
+
'app': value.app,
|
51
|
+
'attributes': value.attributes,
|
52
|
+
};
|
53
|
+
}
|
54
|
+
exports.PatchedApplicationEntitlementRequestToJSON = PatchedApplicationEntitlementRequestToJSON;
|
@@ -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 PatchedGroupKerberosSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGroupKerberosSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGroupKerberosSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGroupKerberosSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestFromJSON(json: any): PatchedGroupKerberosSourceConnectionRequest;
|
42
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupKerberosSourceConnectionRequest;
|
43
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestToJSON(value?: PatchedGroupKerberosSourceConnectionRequest | null): any;
|
@@ -0,0 +1,54 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.10.5
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.PatchedGroupKerberosSourceConnectionRequestToJSON = exports.PatchedGroupKerberosSourceConnectionRequestFromJSONTyped = exports.PatchedGroupKerberosSourceConnectionRequestFromJSON = exports.instanceOfPatchedGroupKerberosSourceConnectionRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the PatchedGroupKerberosSourceConnectionRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfPatchedGroupKerberosSourceConnectionRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfPatchedGroupKerberosSourceConnectionRequest = instanceOfPatchedGroupKerberosSourceConnectionRequest;
|
26
|
+
function PatchedGroupKerberosSourceConnectionRequestFromJSON(json) {
|
27
|
+
return PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.PatchedGroupKerberosSourceConnectionRequestFromJSON = PatchedGroupKerberosSourceConnectionRequestFromJSON;
|
30
|
+
function PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'group': !(0, runtime_1.exists)(json, 'group') ? undefined : json['group'],
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
37
|
+
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
exports.PatchedGroupKerberosSourceConnectionRequestFromJSONTyped = PatchedGroupKerberosSourceConnectionRequestFromJSONTyped;
|
41
|
+
function PatchedGroupKerberosSourceConnectionRequestToJSON(value) {
|
42
|
+
if (value === undefined) {
|
43
|
+
return undefined;
|
44
|
+
}
|
45
|
+
if (value === null) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
return {
|
49
|
+
'group': value.group,
|
50
|
+
'source': value.source,
|
51
|
+
'identifier': value.identifier,
|
52
|
+
};
|
53
|
+
}
|
54
|
+
exports.PatchedGroupKerberosSourceConnectionRequestToJSON = PatchedGroupKerberosSourceConnectionRequestToJSON;
|
@@ -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 PatchedGroupOAuthSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGroupOAuthSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGroupOAuthSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGroupOAuthSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestFromJSON(json: any): PatchedGroupOAuthSourceConnectionRequest;
|
42
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupOAuthSourceConnectionRequest;
|
43
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestToJSON(value?: PatchedGroupOAuthSourceConnectionRequest | null): any;
|