@goauthentik/api 2025.2.3-1743464496 → 2025.2.3-1744041717
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/dist/apis/SourcesApi.d.ts +145 -49
- package/dist/apis/SourcesApi.js +356 -48
- package/dist/esm/apis/SourcesApi.d.ts +145 -49
- package/dist/esm/apis/SourcesApi.js +357 -49
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +8 -2
- package/dist/esm/models/GroupKerberosSourceConnection.js +3 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/GroupOAuthSourceConnection.js +3 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/GroupPlexSourceConnection.js +3 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/GroupSAMLSourceConnection.js +3 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupSourceConnection.d.ts +69 -0
- package/dist/esm/models/GroupSourceConnection.js +64 -0
- package/dist/esm/models/GroupSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/GroupSourceConnectionRequest.js +51 -0
- package/dist/esm/models/PaginatedGroupSourceConnectionList.d.ts +40 -0
- package/dist/esm/models/PaginatedGroupSourceConnectionList.js +49 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/PatchedGroupSourceConnectionRequest.js +45 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +2 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +10 -4
- package/dist/esm/models/UserKerberosSourceConnection.js +5 -2
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +10 -4
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -2
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserPlexSourceConnection.d.ts +10 -4
- package/dist/esm/models/UserPlexSourceConnection.js +5 -2
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +10 -4
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -2
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserSourceConnection.d.ts +13 -1
- package/dist/esm/models/UserSourceConnection.js +7 -0
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +4 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +8 -2
- package/dist/models/GroupKerberosSourceConnection.js +3 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupOAuthSourceConnection.d.ts +8 -2
- package/dist/models/GroupOAuthSourceConnection.js +3 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupPlexSourceConnection.d.ts +8 -2
- package/dist/models/GroupPlexSourceConnection.js +3 -0
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupSAMLSourceConnection.d.ts +8 -2
- package/dist/models/GroupSAMLSourceConnection.js +3 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupSourceConnection.d.ts +69 -0
- package/dist/models/GroupSourceConnection.js +71 -0
- package/dist/models/GroupSourceConnectionRequest.d.ts +44 -0
- package/dist/models/GroupSourceConnectionRequest.js +58 -0
- package/dist/models/PaginatedGroupSourceConnectionList.d.ts +40 -0
- package/dist/models/PaginatedGroupSourceConnectionList.js +56 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupSourceConnectionRequest.d.ts +44 -0
- package/dist/models/PatchedGroupSourceConnectionRequest.js +52 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +2 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +10 -4
- package/dist/models/UserKerberosSourceConnection.js +5 -2
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserOAuthSourceConnection.d.ts +10 -4
- package/dist/models/UserOAuthSourceConnection.js +5 -2
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserPlexSourceConnection.d.ts +10 -4
- package/dist/models/UserPlexSourceConnection.js +5 -2
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserSAMLSourceConnection.d.ts +10 -4
- package/dist/models/UserSAMLSourceConnection.js +5 -2
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserSourceConnection.d.ts +13 -1
- package/dist/models/UserSourceConnection.js +7 -0
- package/dist/models/UserSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserSourceConnectionRequest.js +4 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/SourcesApi.ts +467 -48
- package/src/models/GroupKerberosSourceConnection.ts +10 -2
- package/src/models/GroupKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/GroupOAuthSourceConnection.ts +10 -2
- package/src/models/GroupOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/GroupPlexSourceConnection.ts +10 -2
- package/src/models/GroupPlexSourceConnectionRequest.ts +1 -1
- package/src/models/GroupSAMLSourceConnection.ts +10 -2
- package/src/models/GroupSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/GroupSourceConnection.ts +124 -0
- package/src/models/GroupSourceConnectionRequest.ts +84 -0
- package/src/models/PaginatedGroupSourceConnectionList.ts +90 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserSourceConnectionRequest.ts +8 -0
- package/src/models/UserKerberosSourceConnection.ts +14 -6
- package/src/models/UserKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/UserOAuthSourceConnection.ts +14 -6
- package/src/models/UserOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/UserPlexSourceConnection.ts +14 -6
- package/src/models/UserPlexSourceConnectionRequest.ts +1 -1
- package/src/models/UserSAMLSourceConnection.ts +14 -6
- package/src/models/UserSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/UserSourceConnection.ts +18 -1
- package/src/models/UserSourceConnectionRequest.ts +9 -0
- package/src/models/index.ts +4 -0
|
@@ -35,6 +35,8 @@ function instanceOfGroupOAuthSourceConnection(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function GroupOAuthSourceConnectionFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
54
|
'identifier': json['identifier'],
|
|
53
55
|
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function GroupOAuthSourceConnectionToJSON(json) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Group Source Connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GroupPlexSourceConnection
|
|
17
17
|
*/
|
|
@@ -52,6 +52,12 @@ export interface GroupPlexSourceConnection {
|
|
|
52
52
|
* @memberof GroupPlexSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupPlexSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupPlexSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupPlexSourceConnection(value: object): valu
|
|
|
60
66
|
export declare function GroupPlexSourceConnectionFromJSON(json: any): GroupPlexSourceConnection;
|
|
61
67
|
export declare function GroupPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPlexSourceConnection;
|
|
62
68
|
export declare function GroupPlexSourceConnectionToJSON(json: any): GroupPlexSourceConnection;
|
|
63
|
-
export declare function GroupPlexSourceConnectionToJSONTyped(value?: Omit<GroupPlexSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupPlexSourceConnectionToJSONTyped(value?: Omit<GroupPlexSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,6 +35,8 @@ function instanceOfGroupPlexSourceConnection(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function GroupPlexSourceConnectionFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function GroupPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
54
|
'identifier': json['identifier'],
|
|
53
55
|
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function GroupPlexSourceConnectionToJSON(json) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Group Source Connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GroupSAMLSourceConnection
|
|
17
17
|
*/
|
|
@@ -52,6 +52,12 @@ export interface GroupSAMLSourceConnection {
|
|
|
52
52
|
* @memberof GroupSAMLSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupSAMLSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupSAMLSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupSAMLSourceConnection(value: object): valu
|
|
|
60
66
|
export declare function GroupSAMLSourceConnectionFromJSON(json: any): GroupSAMLSourceConnection;
|
|
61
67
|
export declare function GroupSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnection;
|
|
62
68
|
export declare function GroupSAMLSourceConnectionToJSON(json: any): GroupSAMLSourceConnection;
|
|
63
|
-
export declare function GroupSAMLSourceConnectionToJSONTyped(value?: Omit<GroupSAMLSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupSAMLSourceConnectionToJSONTyped(value?: Omit<GroupSAMLSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,6 +35,8 @@ function instanceOfGroupSAMLSourceConnection(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function GroupSAMLSourceConnectionFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function GroupSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
54
|
'identifier': json['identifier'],
|
|
53
55
|
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function GroupSAMLSourceConnectionToJSON(json) {
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
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 { Source } from './Source';
|
|
13
|
+
/**
|
|
14
|
+
* Group Source Connection
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GroupSourceConnection
|
|
17
|
+
*/
|
|
18
|
+
export interface GroupSourceConnection {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GroupSourceConnection
|
|
23
|
+
*/
|
|
24
|
+
readonly pk: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GroupSourceConnection
|
|
29
|
+
*/
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Source}
|
|
40
|
+
* @memberof GroupSourceConnection
|
|
41
|
+
*/
|
|
42
|
+
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GroupSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof GroupSourceConnection
|
|
53
|
+
*/
|
|
54
|
+
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the GroupSourceConnection interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfGroupSourceConnection(value: object): value is GroupSourceConnection;
|
|
66
|
+
export declare function GroupSourceConnectionFromJSON(json: any): GroupSourceConnection;
|
|
67
|
+
export declare function GroupSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnection;
|
|
68
|
+
export declare function GroupSourceConnectionToJSON(json: any): GroupSourceConnection;
|
|
69
|
+
export declare function GroupSourceConnectionToJSONTyped(value?: Omit<GroupSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
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.instanceOfGroupSourceConnection = instanceOfGroupSourceConnection;
|
|
17
|
+
exports.GroupSourceConnectionFromJSON = GroupSourceConnectionFromJSON;
|
|
18
|
+
exports.GroupSourceConnectionFromJSONTyped = GroupSourceConnectionFromJSONTyped;
|
|
19
|
+
exports.GroupSourceConnectionToJSON = GroupSourceConnectionToJSON;
|
|
20
|
+
exports.GroupSourceConnectionToJSONTyped = GroupSourceConnectionToJSONTyped;
|
|
21
|
+
const Source_1 = require("./Source");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GroupSourceConnection interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGroupSourceConnection(value) {
|
|
26
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function GroupSourceConnectionFromJSON(json) {
|
|
43
|
+
return GroupSourceConnectionFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function GroupSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'pk': json['pk'],
|
|
51
|
+
'group': json['group'],
|
|
52
|
+
'source': json['source'],
|
|
53
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
54
|
+
'identifier': json['identifier'],
|
|
55
|
+
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function GroupSourceConnectionToJSON(json) {
|
|
60
|
+
return GroupSourceConnectionToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function GroupSourceConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'group': value['group'],
|
|
68
|
+
'source': value['source'],
|
|
69
|
+
'identifier': value['identifier'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
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
|
+
* Group Source Connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupSourceConnectionRequest(value: object): value is GroupSourceConnectionRequest;
|
|
41
|
+
export declare function GroupSourceConnectionRequestFromJSON(json: any): GroupSourceConnectionRequest;
|
|
42
|
+
export declare function GroupSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnectionRequest;
|
|
43
|
+
export declare function GroupSourceConnectionRequestToJSON(json: any): GroupSourceConnectionRequest;
|
|
44
|
+
export declare function GroupSourceConnectionRequestToJSONTyped(value?: GroupSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
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.instanceOfGroupSourceConnectionRequest = instanceOfGroupSourceConnectionRequest;
|
|
17
|
+
exports.GroupSourceConnectionRequestFromJSON = GroupSourceConnectionRequestFromJSON;
|
|
18
|
+
exports.GroupSourceConnectionRequestFromJSONTyped = GroupSourceConnectionRequestFromJSONTyped;
|
|
19
|
+
exports.GroupSourceConnectionRequestToJSON = GroupSourceConnectionRequestToJSON;
|
|
20
|
+
exports.GroupSourceConnectionRequestToJSONTyped = GroupSourceConnectionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GroupSourceConnectionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGroupSourceConnectionRequest(value) {
|
|
25
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function GroupSourceConnectionRequestFromJSON(json) {
|
|
34
|
+
return GroupSourceConnectionRequestFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GroupSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'group': json['group'],
|
|
42
|
+
'source': json['source'],
|
|
43
|
+
'identifier': json['identifier'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function GroupSourceConnectionRequestToJSON(json) {
|
|
47
|
+
return GroupSourceConnectionRequestToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GroupSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'group': value['group'],
|
|
55
|
+
'source': value['source'],
|
|
56
|
+
'identifier': value['identifier'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { GroupSourceConnection } from './GroupSourceConnection';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedGroupSourceConnectionList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedGroupSourceConnectionList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedGroupSourceConnectionList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<GroupSourceConnection>}
|
|
29
|
+
* @memberof PaginatedGroupSourceConnectionList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<GroupSourceConnection>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedGroupSourceConnectionList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedGroupSourceConnectionList(value: object): value is PaginatedGroupSourceConnectionList;
|
|
37
|
+
export declare function PaginatedGroupSourceConnectionListFromJSON(json: any): PaginatedGroupSourceConnectionList;
|
|
38
|
+
export declare function PaginatedGroupSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupSourceConnectionList;
|
|
39
|
+
export declare function PaginatedGroupSourceConnectionListToJSON(json: any): PaginatedGroupSourceConnectionList;
|
|
40
|
+
export declare function PaginatedGroupSourceConnectionListToJSONTyped(value?: PaginatedGroupSourceConnectionList | null, ignoreDiscriminator?: boolean): 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: 2025.2.3
|
|
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.instanceOfPaginatedGroupSourceConnectionList = instanceOfPaginatedGroupSourceConnectionList;
|
|
17
|
+
exports.PaginatedGroupSourceConnectionListFromJSON = PaginatedGroupSourceConnectionListFromJSON;
|
|
18
|
+
exports.PaginatedGroupSourceConnectionListFromJSONTyped = PaginatedGroupSourceConnectionListFromJSONTyped;
|
|
19
|
+
exports.PaginatedGroupSourceConnectionListToJSON = PaginatedGroupSourceConnectionListToJSON;
|
|
20
|
+
exports.PaginatedGroupSourceConnectionListToJSONTyped = PaginatedGroupSourceConnectionListToJSONTyped;
|
|
21
|
+
const Pagination_1 = require("./Pagination");
|
|
22
|
+
const GroupSourceConnection_1 = require("./GroupSourceConnection");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedGroupSourceConnectionList interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedGroupSourceConnectionList(value) {
|
|
27
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedGroupSourceConnectionListFromJSON(json) {
|
|
34
|
+
return PaginatedGroupSourceConnectionListFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedGroupSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
|
42
|
+
'results': (json['results'].map(GroupSourceConnection_1.GroupSourceConnectionFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedGroupSourceConnectionListToJSON(json) {
|
|
46
|
+
return PaginatedGroupSourceConnectionListToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedGroupSourceConnectionListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value['pagination']),
|
|
54
|
+
'results': (value['results'].map(GroupSourceConnection_1.GroupSourceConnectionToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
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
|
+
* Group Source Connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedGroupSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedGroupSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedGroupSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedGroupSourceConnectionRequest(value: object): value is PatchedGroupSourceConnectionRequest;
|
|
41
|
+
export declare function PatchedGroupSourceConnectionRequestFromJSON(json: any): PatchedGroupSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedGroupSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedGroupSourceConnectionRequestToJSON(json: any): PatchedGroupSourceConnectionRequest;
|
|
44
|
+
export declare function PatchedGroupSourceConnectionRequestToJSONTyped(value?: PatchedGroupSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
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.instanceOfPatchedGroupSourceConnectionRequest = instanceOfPatchedGroupSourceConnectionRequest;
|
|
17
|
+
exports.PatchedGroupSourceConnectionRequestFromJSON = PatchedGroupSourceConnectionRequestFromJSON;
|
|
18
|
+
exports.PatchedGroupSourceConnectionRequestFromJSONTyped = PatchedGroupSourceConnectionRequestFromJSONTyped;
|
|
19
|
+
exports.PatchedGroupSourceConnectionRequestToJSON = PatchedGroupSourceConnectionRequestToJSON;
|
|
20
|
+
exports.PatchedGroupSourceConnectionRequestToJSONTyped = PatchedGroupSourceConnectionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PatchedGroupSourceConnectionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPatchedGroupSourceConnectionRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PatchedGroupSourceConnectionRequestFromJSON(json) {
|
|
28
|
+
return PatchedGroupSourceConnectionRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PatchedGroupSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'group': json['group'] == null ? undefined : json['group'],
|
|
36
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
37
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PatchedGroupSourceConnectionRequestToJSON(json) {
|
|
41
|
+
return PatchedGroupSourceConnectionRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PatchedGroupSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'group': value['group'],
|
|
49
|
+
'source': value['source'],
|
|
50
|
+
'identifier': value['identifier'],
|
|
51
|
+
};
|
|
52
|
+
}
|