@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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
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 PatchedGroupSourceConnectionRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPatchedGroupSourceConnectionRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PatchedGroupSourceConnectionRequestFromJSON(json) {
|
|
21
|
+
return PatchedGroupSourceConnectionRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PatchedGroupSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'group': json['group'] == null ? undefined : json['group'],
|
|
29
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
30
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PatchedGroupSourceConnectionRequestToJSON(json) {
|
|
34
|
+
return PatchedGroupSourceConnectionRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PatchedGroupSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'group': value['group'],
|
|
42
|
+
'source': value['source'],
|
|
43
|
+
'identifier': value['identifier'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -27,6 +27,12 @@ export interface PatchedUserSourceConnectionRequest {
|
|
|
27
27
|
* @memberof PatchedUserSourceConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedUserSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the PatchedUserSourceConnectionRequest interface.
|
|
@@ -27,6 +27,7 @@ export function PatchedUserSourceConnectionRequestFromJSONTyped(json, ignoreDisc
|
|
|
27
27
|
return {
|
|
28
28
|
'user': json['user'] == null ? undefined : json['user'],
|
|
29
29
|
'source': json['source'] == null ? undefined : json['source'],
|
|
30
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export function PatchedUserSourceConnectionRequestToJSON(json) {
|
|
@@ -39,5 +40,6 @@ export function PatchedUserSourceConnectionRequestToJSONTyped(value, ignoreDiscr
|
|
|
39
40
|
return {
|
|
40
41
|
'user': value['user'],
|
|
41
42
|
'source': value['source'],
|
|
43
|
+
'identifier': value['identifier'],
|
|
42
44
|
};
|
|
43
45
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* User source connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface UserKerberosSourceConnection
|
|
17
17
|
*/
|
|
@@ -40,6 +40,12 @@ export interface UserKerberosSourceConnection {
|
|
|
40
40
|
* @memberof UserKerberosSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserKerberosSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -48,10 +54,10 @@ export interface UserKerberosSourceConnection {
|
|
|
48
54
|
readonly created: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
52
58
|
* @memberof UserKerberosSourceConnection
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the UserKerberosSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfUserKerberosSourceConnection(value: object): v
|
|
|
60
66
|
export declare function UserKerberosSourceConnectionFromJSON(json: any): UserKerberosSourceConnection;
|
|
61
67
|
export declare function UserKerberosSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserKerberosSourceConnection;
|
|
62
68
|
export declare function UserKerberosSourceConnectionToJSON(json: any): UserKerberosSourceConnection;
|
|
63
|
-
export declare function UserKerberosSourceConnectionToJSONTyped(value?: Omit<UserKerberosSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserKerberosSourceConnectionToJSONTyped(value?: Omit<UserKerberosSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -24,9 +24,11 @@ export function instanceOfUserKerberosSourceConnection(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
28
30
|
return false;
|
|
29
|
-
if (!('
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
@@ -42,8 +44,9 @@ export function UserKerberosSourceConnectionFromJSONTyped(json, ignoreDiscrimina
|
|
|
42
44
|
'user': json['user'],
|
|
43
45
|
'source': json['source'],
|
|
44
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
45
|
-
'created': (new Date(json['created'])),
|
|
46
47
|
'identifier': json['identifier'],
|
|
48
|
+
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export function UserKerberosSourceConnectionToJSON(json) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* User source connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface UserOAuthSourceConnection
|
|
17
17
|
*/
|
|
@@ -40,6 +40,12 @@ export interface UserOAuthSourceConnection {
|
|
|
40
40
|
* @memberof UserOAuthSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserOAuthSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -48,10 +54,10 @@ export interface UserOAuthSourceConnection {
|
|
|
48
54
|
readonly created: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
52
58
|
* @memberof UserOAuthSourceConnection
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the UserOAuthSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfUserOAuthSourceConnection(value: object): valu
|
|
|
60
66
|
export declare function UserOAuthSourceConnectionFromJSON(json: any): UserOAuthSourceConnection;
|
|
61
67
|
export declare function UserOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserOAuthSourceConnection;
|
|
62
68
|
export declare function UserOAuthSourceConnectionToJSON(json: any): UserOAuthSourceConnection;
|
|
63
|
-
export declare function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -24,9 +24,11 @@ export function instanceOfUserOAuthSourceConnection(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
28
30
|
return false;
|
|
29
|
-
if (!('
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
@@ -42,8 +44,9 @@ export function UserOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator
|
|
|
42
44
|
'user': json['user'],
|
|
43
45
|
'source': json['source'],
|
|
44
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
45
|
-
'created': (new Date(json['created'])),
|
|
46
47
|
'identifier': json['identifier'],
|
|
48
|
+
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export function UserOAuthSourceConnectionToJSON(json) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* User source connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface UserPlexSourceConnection
|
|
17
17
|
*/
|
|
@@ -40,6 +40,12 @@ export interface UserPlexSourceConnection {
|
|
|
40
40
|
* @memberof UserPlexSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserPlexSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -48,10 +54,10 @@ export interface UserPlexSourceConnection {
|
|
|
48
54
|
readonly created: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
52
58
|
* @memberof UserPlexSourceConnection
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the UserPlexSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfUserPlexSourceConnection(value: object): value
|
|
|
60
66
|
export declare function UserPlexSourceConnectionFromJSON(json: any): UserPlexSourceConnection;
|
|
61
67
|
export declare function UserPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPlexSourceConnection;
|
|
62
68
|
export declare function UserPlexSourceConnectionToJSON(json: any): UserPlexSourceConnection;
|
|
63
|
-
export declare function UserPlexSourceConnectionToJSONTyped(value?: Omit<UserPlexSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserPlexSourceConnectionToJSONTyped(value?: Omit<UserPlexSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -24,9 +24,11 @@ export function instanceOfUserPlexSourceConnection(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
28
30
|
return false;
|
|
29
|
-
if (!('
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
@@ -42,8 +44,9 @@ export function UserPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator)
|
|
|
42
44
|
'user': json['user'],
|
|
43
45
|
'source': json['source'],
|
|
44
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
45
|
-
'created': (new Date(json['created'])),
|
|
46
47
|
'identifier': json['identifier'],
|
|
48
|
+
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export function UserPlexSourceConnectionToJSON(json) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* User source connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface UserSAMLSourceConnection
|
|
17
17
|
*/
|
|
@@ -40,6 +40,12 @@ export interface UserSAMLSourceConnection {
|
|
|
40
40
|
* @memberof UserSAMLSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserSAMLSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -48,10 +54,10 @@ export interface UserSAMLSourceConnection {
|
|
|
48
54
|
readonly created: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
52
58
|
* @memberof UserSAMLSourceConnection
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the UserSAMLSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfUserSAMLSourceConnection(value: object): value
|
|
|
60
66
|
export declare function UserSAMLSourceConnectionFromJSON(json: any): UserSAMLSourceConnection;
|
|
61
67
|
export declare function UserSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSAMLSourceConnection;
|
|
62
68
|
export declare function UserSAMLSourceConnectionToJSON(json: any): UserSAMLSourceConnection;
|
|
63
|
-
export declare function UserSAMLSourceConnectionToJSONTyped(value?: Omit<UserSAMLSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserSAMLSourceConnectionToJSONTyped(value?: Omit<UserSAMLSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -24,9 +24,11 @@ export function instanceOfUserSAMLSourceConnection(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
28
30
|
return false;
|
|
29
|
-
if (!('
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
@@ -42,8 +44,9 @@ export function UserSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator)
|
|
|
42
44
|
'user': json['user'],
|
|
43
45
|
'source': json['source'],
|
|
44
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
45
|
-
'created': (new Date(json['created'])),
|
|
46
47
|
'identifier': json['identifier'],
|
|
48
|
+
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export function UserSAMLSourceConnectionToJSON(json) {
|
|
@@ -40,12 +40,24 @@ export interface UserSourceConnection {
|
|
|
40
40
|
* @memberof UserSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
46
52
|
* @memberof UserSourceConnection
|
|
47
53
|
*/
|
|
48
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof UserSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
49
61
|
}
|
|
50
62
|
/**
|
|
51
63
|
* Check if a given object implements the UserSourceConnection interface.
|
|
@@ -54,4 +66,4 @@ export declare function instanceOfUserSourceConnection(value: object): value is
|
|
|
54
66
|
export declare function UserSourceConnectionFromJSON(json: any): UserSourceConnection;
|
|
55
67
|
export declare function UserSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSourceConnection;
|
|
56
68
|
export declare function UserSourceConnectionToJSON(json: any): UserSourceConnection;
|
|
57
|
-
export declare function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -24,8 +24,12 @@ export function instanceOfUserSourceConnection(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
28
30
|
return false;
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
32
|
+
return false;
|
|
29
33
|
return true;
|
|
30
34
|
}
|
|
31
35
|
export function UserSourceConnectionFromJSON(json) {
|
|
@@ -40,7 +44,9 @@ export function UserSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
44
|
'user': json['user'],
|
|
41
45
|
'source': json['source'],
|
|
42
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
47
|
+
'identifier': json['identifier'],
|
|
43
48
|
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
44
50
|
};
|
|
45
51
|
}
|
|
46
52
|
export function UserSourceConnectionToJSON(json) {
|
|
@@ -53,5 +59,6 @@ export function UserSourceConnectionToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
53
59
|
return {
|
|
54
60
|
'user': value['user'],
|
|
55
61
|
'source': value['source'],
|
|
62
|
+
'identifier': value['identifier'],
|
|
56
63
|
};
|
|
57
64
|
}
|
|
@@ -27,6 +27,12 @@ export interface UserSourceConnectionRequest {
|
|
|
27
27
|
* @memberof UserSourceConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the UserSourceConnectionRequest interface.
|
|
@@ -19,6 +19,8 @@ export function instanceOfUserSourceConnectionRequest(value) {
|
|
|
19
19
|
return false;
|
|
20
20
|
if (!('source' in value) || value['source'] === undefined)
|
|
21
21
|
return false;
|
|
22
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
23
|
+
return false;
|
|
22
24
|
return true;
|
|
23
25
|
}
|
|
24
26
|
export function UserSourceConnectionRequestFromJSON(json) {
|
|
@@ -31,6 +33,7 @@ export function UserSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
31
33
|
return {
|
|
32
34
|
'user': json['user'],
|
|
33
35
|
'source': json['source'],
|
|
36
|
+
'identifier': json['identifier'],
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
39
|
export function UserSourceConnectionRequestToJSON(json) {
|
|
@@ -43,5 +46,6 @@ export function UserSourceConnectionRequestToJSONTyped(value, ignoreDiscriminato
|
|
|
43
46
|
return {
|
|
44
47
|
'user': value['user'],
|
|
45
48
|
'source': value['source'],
|
|
49
|
+
'identifier': value['identifier'],
|
|
46
50
|
};
|
|
47
51
|
}
|
|
@@ -184,6 +184,8 @@ export * from './GroupPlexSourceConnectionRequest';
|
|
|
184
184
|
export * from './GroupRequest';
|
|
185
185
|
export * from './GroupSAMLSourceConnection';
|
|
186
186
|
export * from './GroupSAMLSourceConnectionRequest';
|
|
187
|
+
export * from './GroupSourceConnection';
|
|
188
|
+
export * from './GroupSourceConnectionRequest';
|
|
187
189
|
export * from './IdentificationChallenge';
|
|
188
190
|
export * from './IdentificationChallengeResponseRequest';
|
|
189
191
|
export * from './IdentificationStage';
|
|
@@ -315,6 +317,7 @@ export * from './PaginatedGroupList';
|
|
|
315
317
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
316
318
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
317
319
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
320
|
+
export * from './PaginatedGroupSourceConnectionList';
|
|
318
321
|
export * from './PaginatedIdentificationStageList';
|
|
319
322
|
export * from './PaginatedInvitationList';
|
|
320
323
|
export * from './PaginatedInvitationStageList';
|
|
@@ -452,6 +455,7 @@ export * from './PatchedGroupOAuthSourceConnectionRequest';
|
|
|
452
455
|
export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
453
456
|
export * from './PatchedGroupRequest';
|
|
454
457
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
458
|
+
export * from './PatchedGroupSourceConnectionRequest';
|
|
455
459
|
export * from './PatchedIdentificationStageRequest';
|
|
456
460
|
export * from './PatchedInvitationRequest';
|
|
457
461
|
export * from './PatchedInvitationStageRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -186,6 +186,8 @@ export * from './GroupPlexSourceConnectionRequest';
|
|
|
186
186
|
export * from './GroupRequest';
|
|
187
187
|
export * from './GroupSAMLSourceConnection';
|
|
188
188
|
export * from './GroupSAMLSourceConnectionRequest';
|
|
189
|
+
export * from './GroupSourceConnection';
|
|
190
|
+
export * from './GroupSourceConnectionRequest';
|
|
189
191
|
export * from './IdentificationChallenge';
|
|
190
192
|
export * from './IdentificationChallengeResponseRequest';
|
|
191
193
|
export * from './IdentificationStage';
|
|
@@ -317,6 +319,7 @@ export * from './PaginatedGroupList';
|
|
|
317
319
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
318
320
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
319
321
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
322
|
+
export * from './PaginatedGroupSourceConnectionList';
|
|
320
323
|
export * from './PaginatedIdentificationStageList';
|
|
321
324
|
export * from './PaginatedInvitationList';
|
|
322
325
|
export * from './PaginatedInvitationStageList';
|
|
@@ -454,6 +457,7 @@ export * from './PatchedGroupOAuthSourceConnectionRequest';
|
|
|
454
457
|
export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
455
458
|
export * from './PatchedGroupRequest';
|
|
456
459
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
460
|
+
export * from './PatchedGroupSourceConnectionRequest';
|
|
457
461
|
export * from './PatchedIdentificationStageRequest';
|
|
458
462
|
export * from './PatchedInvitationRequest';
|
|
459
463
|
export * from './PatchedInvitationStageRequest';
|
|
@@ -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 GroupKerberosSourceConnection
|
|
17
17
|
*/
|
|
@@ -52,6 +52,12 @@ export interface GroupKerberosSourceConnection {
|
|
|
52
52
|
* @memberof GroupKerberosSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupKerberosSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupKerberosSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupKerberosSourceConnection(value: object):
|
|
|
60
66
|
export declare function GroupKerberosSourceConnectionFromJSON(json: any): GroupKerberosSourceConnection;
|
|
61
67
|
export declare function GroupKerberosSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupKerberosSourceConnection;
|
|
62
68
|
export declare function GroupKerberosSourceConnectionToJSON(json: any): GroupKerberosSourceConnection;
|
|
63
|
-
export declare function GroupKerberosSourceConnectionToJSONTyped(value?: Omit<GroupKerberosSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupKerberosSourceConnectionToJSONTyped(value?: Omit<GroupKerberosSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,6 +35,8 @@ function instanceOfGroupKerberosSourceConnection(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 GroupKerberosSourceConnectionFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function GroupKerberosSourceConnectionFromJSONTyped(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 GroupKerberosSourceConnectionToJSON(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 GroupOAuthSourceConnection
|
|
17
17
|
*/
|
|
@@ -52,6 +52,12 @@ export interface GroupOAuthSourceConnection {
|
|
|
52
52
|
* @memberof GroupOAuthSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupOAuthSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupOAuthSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupOAuthSourceConnection(value: object): val
|
|
|
60
66
|
export declare function GroupOAuthSourceConnectionFromJSON(json: any): GroupOAuthSourceConnection;
|
|
61
67
|
export declare function GroupOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnection;
|
|
62
68
|
export declare function GroupOAuthSourceConnectionToJSON(json: any): GroupOAuthSourceConnection;
|
|
63
|
-
export declare function GroupOAuthSourceConnectionToJSONTyped(value?: Omit<GroupOAuthSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupOAuthSourceConnectionToJSONTyped(value?: Omit<GroupOAuthSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|