@goauthentik/api 2024.6.3-1723053526 → 2024.6.3-1723109801
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +10 -4
- package/dist/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/apis/PropertymappingsApi.js +271 -0
- package/dist/apis/RbacApi.d.ts +6 -2
- package/dist/apis/RbacApi.js +6 -2
- package/dist/apis/SourcesApi.d.ts +104 -14
- package/dist/apis/SourcesApi.js +281 -13
- package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/esm/apis/PropertymappingsApi.js +272 -1
- package/dist/esm/apis/RbacApi.d.ts +6 -2
- package/dist/esm/apis/RbacApi.js +6 -2
- package/dist/esm/apis/SourcesApi.d.ts +104 -14
- package/dist/esm/apis/SourcesApi.js +281 -13
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupPlexSourceConnection.js +50 -0
- package/dist/esm/models/ModelEnum.d.ts +3 -1
- package/dist/esm/models/ModelEnum.js +3 -1
- package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/{PaginatedPlexSourceConnectionList.js → PaginatedUserPlexSourceConnectionList.js} +9 -9
- package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedPlexSourceRequest.d.ts +7 -0
- package/dist/esm/models/PatchedPlexSourceRequest.js +3 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/{PatchedPlexSourceConnectionRequest.js → PatchedUserPlexSourceConnectionRequest.js} +6 -6
- package/dist/esm/models/PlexSource.d.ts +7 -0
- package/dist/esm/models/PlexSource.js +3 -0
- package/dist/esm/models/PlexSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/PlexSourcePropertyMapping.js +59 -0
- package/dist/esm/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PlexSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/PlexSourceRequest.d.ts +7 -0
- package/dist/esm/models/PlexSourceRequest.js +3 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +56 -0
- package/dist/esm/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +6 -6
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/{PlexSourceConnectionRequest.js → UserPlexSourceConnectionRequest.js} +6 -6
- package/dist/esm/models/index.d.ts +10 -4
- package/dist/esm/models/index.js +10 -4
- package/dist/models/GroupPlexSourceConnection.d.ts +56 -0
- package/dist/models/GroupPlexSourceConnection.js +57 -0
- package/dist/models/ModelEnum.d.ts +3 -1
- package/dist/models/ModelEnum.js +3 -1
- package/dist/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupPlexSourceConnectionList.js +55 -0
- package/dist/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedPlexSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedUserPlexSourceConnectionList.js +55 -0
- package/dist/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedPlexSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedPlexSourceRequest.d.ts +7 -0
- package/dist/models/PatchedPlexSourceRequest.js +3 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +52 -0
- package/dist/models/PlexSource.d.ts +7 -0
- package/dist/models/PlexSource.js +3 -0
- package/dist/models/PlexSourcePropertyMapping.d.ts +73 -0
- package/dist/models/PlexSourcePropertyMapping.js +66 -0
- package/dist/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PlexSourcePropertyMappingRequest.js +56 -0
- package/dist/models/PlexSourceRequest.d.ts +7 -0
- package/dist/models/PlexSourceRequest.js +3 -0
- package/dist/models/UserPlexSourceConnection.d.ts +56 -0
- package/dist/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +11 -11
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +10 -4
- package/dist/models/index.js +10 -4
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +350 -0
- package/src/apis/RbacApi.ts +6 -2
- package/src/apis/SourcesApi.ts +368 -37
- package/src/models/GroupPlexSourceConnection.ts +104 -0
- package/src/models/ModelEnum.ts +3 -1
- package/src/models/PaginatedGroupPlexSourceConnectionList.ts +88 -0
- package/src/models/{PaginatedPlexSourceConnectionList.ts → PaginatedPlexSourcePropertyMappingList.ts} +19 -19
- package/src/models/PaginatedUserPlexSourceConnectionList.ts +88 -0
- package/src/models/PatchedPlexSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedPlexSourceRequest.ts +14 -0
- package/src/models/{PatchedPlexSourceConnectionRequest.ts → PatchedUserPlexSourceConnectionRequest.ts} +10 -10
- package/src/models/PlexSource.ts +14 -0
- package/src/models/PlexSourcePropertyMapping.ts +123 -0
- package/src/models/PlexSourcePropertyMappingRequest.ts +83 -0
- package/src/models/PlexSourceRequest.ts +14 -0
- package/src/models/{PlexSourceConnection.ts → UserPlexSourceConnection.ts} +13 -13
- package/src/models/{PlexSourceConnectionRequest.ts → UserPlexSourceConnectionRequest.ts} +10 -10
- package/src/models/index.ts +10 -4
- package/dist/esm/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
- package/dist/esm/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
- package/dist/esm/models/PlexSourceConnection.d.ts +0 -56
- package/dist/esm/models/PlexSourceConnectionRequest.d.ts +0 -37
- package/dist/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
- package/dist/models/PaginatedPlexSourceConnectionList.js +0 -55
- package/dist/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
- package/dist/models/PatchedPlexSourceConnectionRequest.js +0 -52
- package/dist/models/PlexSourceConnection.d.ts +0 -56
- package/dist/models/PlexSourceConnectionRequest.d.ts +0 -37
- package/dist/models/PlexSourceConnectionRequest.js +0 -53
@@ -0,0 +1,59 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.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
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PlexSourcePropertyMapping interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPlexSourcePropertyMapping(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "pk" in value;
|
21
|
+
isInstance = isInstance && "name" in value;
|
22
|
+
isInstance = isInstance && "expression" in value;
|
23
|
+
isInstance = isInstance && "component" in value;
|
24
|
+
isInstance = isInstance && "verboseName" in value;
|
25
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
26
|
+
isInstance = isInstance && "metaModelName" in value;
|
27
|
+
return isInstance;
|
28
|
+
}
|
29
|
+
export function PlexSourcePropertyMappingFromJSON(json) {
|
30
|
+
return PlexSourcePropertyMappingFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
export function PlexSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'pk': json['pk'],
|
38
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
39
|
+
'name': json['name'],
|
40
|
+
'expression': json['expression'],
|
41
|
+
'component': json['component'],
|
42
|
+
'verboseName': json['verbose_name'],
|
43
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
44
|
+
'metaModelName': json['meta_model_name'],
|
45
|
+
};
|
46
|
+
}
|
47
|
+
export function PlexSourcePropertyMappingToJSON(value) {
|
48
|
+
if (value === undefined) {
|
49
|
+
return undefined;
|
50
|
+
}
|
51
|
+
if (value === null) {
|
52
|
+
return null;
|
53
|
+
}
|
54
|
+
return {
|
55
|
+
'managed': value.managed,
|
56
|
+
'name': value.name,
|
57
|
+
'expression': value.expression,
|
58
|
+
};
|
59
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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
|
+
* PlexSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PlexSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface PlexSourcePropertyMappingRequest {
|
18
|
+
/**
|
19
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PlexSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PlexSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PlexSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PlexSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPlexSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function PlexSourcePropertyMappingRequestFromJSON(json: any): PlexSourcePropertyMappingRequest;
|
42
|
+
export declare function PlexSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourcePropertyMappingRequest;
|
43
|
+
export declare function PlexSourcePropertyMappingRequestToJSON(value?: PlexSourcePropertyMappingRequest | null): any;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.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
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PlexSourcePropertyMappingRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPlexSourcePropertyMappingRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "name" in value;
|
21
|
+
isInstance = isInstance && "expression" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function PlexSourcePropertyMappingRequestFromJSON(json) {
|
25
|
+
return PlexSourcePropertyMappingRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function PlexSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
33
|
+
'name': json['name'],
|
34
|
+
'expression': json['expression'],
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PlexSourcePropertyMappingRequestToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'managed': value.managed,
|
46
|
+
'name': value.name,
|
47
|
+
'expression': value.expression,
|
48
|
+
};
|
49
|
+
}
|
@@ -9,6 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
+
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
12
13
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
13
14
|
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
14
15
|
/**
|
@@ -77,6 +78,12 @@ export interface PlexSourceRequest {
|
|
77
78
|
* @memberof PlexSourceRequest
|
78
79
|
*/
|
79
80
|
userPathTemplate?: string;
|
81
|
+
/**
|
82
|
+
*
|
83
|
+
* @type {GroupMatchingModeEnum}
|
84
|
+
* @memberof PlexSourceRequest
|
85
|
+
*/
|
86
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
80
87
|
/**
|
81
88
|
* Client identifier used to talk to Plex.
|
82
89
|
* @type {string}
|
@@ -12,6 +12,7 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
import { exists } from '../runtime';
|
15
|
+
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
15
16
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
16
17
|
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
17
18
|
/**
|
@@ -42,6 +43,7 @@ export function PlexSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
43
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
43
44
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
44
45
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
46
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
45
47
|
'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
|
46
48
|
'allowedServers': !exists(json, 'allowed_servers') ? undefined : json['allowed_servers'],
|
47
49
|
'allowFriends': !exists(json, 'allow_friends') ? undefined : json['allow_friends'],
|
@@ -66,6 +68,7 @@ export function PlexSourceRequestToJSON(value) {
|
|
66
68
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
67
69
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
68
70
|
'user_path_template': value.userPathTemplate,
|
71
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
69
72
|
'client_id': value.clientId,
|
70
73
|
'allowed_servers': value.allowedServers,
|
71
74
|
'allow_friends': value.allowFriends,
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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
|
+
* Plex Source connection Serializer
|
15
|
+
* @export
|
16
|
+
* @interface UserPlexSourceConnection
|
17
|
+
*/
|
18
|
+
export interface UserPlexSourceConnection {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {number}
|
22
|
+
* @memberof UserPlexSourceConnection
|
23
|
+
*/
|
24
|
+
readonly pk: number;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {number}
|
28
|
+
* @memberof UserPlexSourceConnection
|
29
|
+
*/
|
30
|
+
readonly user: number;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {Source}
|
34
|
+
* @memberof UserPlexSourceConnection
|
35
|
+
*/
|
36
|
+
readonly source: Source;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {Date}
|
40
|
+
* @memberof UserPlexSourceConnection
|
41
|
+
*/
|
42
|
+
readonly created: Date;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {string}
|
46
|
+
* @memberof UserPlexSourceConnection
|
47
|
+
*/
|
48
|
+
identifier: string;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the UserPlexSourceConnection interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfUserPlexSourceConnection(value: object): boolean;
|
54
|
+
export declare function UserPlexSourceConnectionFromJSON(json: any): UserPlexSourceConnection;
|
55
|
+
export declare function UserPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPlexSourceConnection;
|
56
|
+
export declare function UserPlexSourceConnectionToJSON(value?: UserPlexSourceConnection | null): any;
|
@@ -13,9 +13,9 @@
|
|
13
13
|
*/
|
14
14
|
import { SourceFromJSON, } from './Source';
|
15
15
|
/**
|
16
|
-
* Check if a given object implements the
|
16
|
+
* Check if a given object implements the UserPlexSourceConnection interface.
|
17
17
|
*/
|
18
|
-
export function
|
18
|
+
export function instanceOfUserPlexSourceConnection(value) {
|
19
19
|
let isInstance = true;
|
20
20
|
isInstance = isInstance && "pk" in value;
|
21
21
|
isInstance = isInstance && "user" in value;
|
@@ -24,10 +24,10 @@ export function instanceOfPlexSourceConnection(value) {
|
|
24
24
|
isInstance = isInstance && "identifier" in value;
|
25
25
|
return isInstance;
|
26
26
|
}
|
27
|
-
export function
|
28
|
-
return
|
27
|
+
export function UserPlexSourceConnectionFromJSON(json) {
|
28
|
+
return UserPlexSourceConnectionFromJSONTyped(json, false);
|
29
29
|
}
|
30
|
-
export function
|
30
|
+
export function UserPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
31
31
|
if ((json === undefined) || (json === null)) {
|
32
32
|
return json;
|
33
33
|
}
|
@@ -39,7 +39,7 @@ export function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
39
|
'identifier': json['identifier'],
|
40
40
|
};
|
41
41
|
}
|
42
|
-
export function
|
42
|
+
export function UserPlexSourceConnectionToJSON(value) {
|
43
43
|
if (value === undefined) {
|
44
44
|
return undefined;
|
45
45
|
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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
|
+
* Plex Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface UserPlexSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface UserPlexSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof UserPlexSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
identifier: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof UserPlexSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
plexToken: string;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* Check if a given object implements the UserPlexSourceConnectionRequest interface.
|
33
|
+
*/
|
34
|
+
export declare function instanceOfUserPlexSourceConnectionRequest(value: object): boolean;
|
35
|
+
export declare function UserPlexSourceConnectionRequestFromJSON(json: any): UserPlexSourceConnectionRequest;
|
36
|
+
export declare function UserPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPlexSourceConnectionRequest;
|
37
|
+
export declare function UserPlexSourceConnectionRequestToJSON(value?: UserPlexSourceConnectionRequest | null): any;
|
package/dist/esm/models/{PlexSourceConnectionRequest.js → UserPlexSourceConnectionRequest.js}
RENAMED
@@ -12,18 +12,18 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
/**
|
15
|
-
* Check if a given object implements the
|
15
|
+
* Check if a given object implements the UserPlexSourceConnectionRequest interface.
|
16
16
|
*/
|
17
|
-
export function
|
17
|
+
export function instanceOfUserPlexSourceConnectionRequest(value) {
|
18
18
|
let isInstance = true;
|
19
19
|
isInstance = isInstance && "identifier" in value;
|
20
20
|
isInstance = isInstance && "plexToken" in value;
|
21
21
|
return isInstance;
|
22
22
|
}
|
23
|
-
export function
|
24
|
-
return
|
23
|
+
export function UserPlexSourceConnectionRequestFromJSON(json) {
|
24
|
+
return UserPlexSourceConnectionRequestFromJSONTyped(json, false);
|
25
25
|
}
|
26
|
-
export function
|
26
|
+
export function UserPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
27
27
|
if ((json === undefined) || (json === null)) {
|
28
28
|
return json;
|
29
29
|
}
|
@@ -32,7 +32,7 @@ export function PlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminat
|
|
32
32
|
'plexToken': json['plex_token'],
|
33
33
|
};
|
34
34
|
}
|
35
|
-
export function
|
35
|
+
export function UserPlexSourceConnectionRequestToJSON(value) {
|
36
36
|
if (value === undefined) {
|
37
37
|
return undefined;
|
38
38
|
}
|
@@ -159,6 +159,7 @@ export * from './GroupMatchingModeEnum';
|
|
159
159
|
export * from './GroupMember';
|
160
160
|
export * from './GroupMemberRequest';
|
161
161
|
export * from './GroupOAuthSourceConnection';
|
162
|
+
export * from './GroupPlexSourceConnection';
|
162
163
|
export * from './GroupRequest';
|
163
164
|
export * from './GroupSAMLSourceConnection';
|
164
165
|
export * from './IdentificationChallenge';
|
@@ -273,6 +274,7 @@ export * from './PaginatedGoogleWorkspaceProviderMappingList';
|
|
273
274
|
export * from './PaginatedGoogleWorkspaceProviderUserList';
|
274
275
|
export * from './PaginatedGroupList';
|
275
276
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
277
|
+
export * from './PaginatedGroupPlexSourceConnectionList';
|
276
278
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
277
279
|
export * from './PaginatedIdentificationStageList';
|
278
280
|
export * from './PaginatedInvitationList';
|
@@ -299,8 +301,8 @@ export * from './PaginatedPasswordExpiryPolicyList';
|
|
299
301
|
export * from './PaginatedPasswordPolicyList';
|
300
302
|
export * from './PaginatedPasswordStageList';
|
301
303
|
export * from './PaginatedPermissionList';
|
302
|
-
export * from './PaginatedPlexSourceConnectionList';
|
303
304
|
export * from './PaginatedPlexSourceList';
|
305
|
+
export * from './PaginatedPlexSourcePropertyMappingList';
|
304
306
|
export * from './PaginatedPolicyBindingList';
|
305
307
|
export * from './PaginatedPolicyList';
|
306
308
|
export * from './PaginatedPromptList';
|
@@ -349,6 +351,7 @@ export * from './PaginatedUserList';
|
|
349
351
|
export * from './PaginatedUserLoginStageList';
|
350
352
|
export * from './PaginatedUserLogoutStageList';
|
351
353
|
export * from './PaginatedUserOAuthSourceConnectionList';
|
354
|
+
export * from './PaginatedUserPlexSourceConnectionList';
|
352
355
|
export * from './PaginatedUserSAMLSourceConnectionList';
|
353
356
|
export * from './PaginatedUserSourceConnectionList';
|
354
357
|
export * from './PaginatedUserWriteStageList';
|
@@ -417,7 +420,7 @@ export * from './PatchedPasswordExpiryPolicyRequest';
|
|
417
420
|
export * from './PatchedPasswordPolicyRequest';
|
418
421
|
export * from './PatchedPasswordStageRequest';
|
419
422
|
export * from './PatchedPermissionAssignRequest';
|
420
|
-
export * from './
|
423
|
+
export * from './PatchedPlexSourcePropertyMappingRequest';
|
421
424
|
export * from './PatchedPlexSourceRequest';
|
422
425
|
export * from './PatchedPolicyBindingRequest';
|
423
426
|
export * from './PatchedPromptRequest';
|
@@ -451,6 +454,7 @@ export * from './PatchedUserDeleteStageRequest';
|
|
451
454
|
export * from './PatchedUserLoginStageRequest';
|
452
455
|
export * from './PatchedUserLogoutStageRequest';
|
453
456
|
export * from './PatchedUserOAuthSourceConnectionRequest';
|
457
|
+
export * from './PatchedUserPlexSourceConnectionRequest';
|
454
458
|
export * from './PatchedUserRequest';
|
455
459
|
export * from './PatchedUserSAMLSourceConnectionRequest';
|
456
460
|
export * from './PatchedUserWriteStageRequest';
|
@@ -461,8 +465,8 @@ export * from './PermissionAssignResult';
|
|
461
465
|
export * from './PlexAuthenticationChallenge';
|
462
466
|
export * from './PlexAuthenticationChallengeResponseRequest';
|
463
467
|
export * from './PlexSource';
|
464
|
-
export * from './
|
465
|
-
export * from './
|
468
|
+
export * from './PlexSourcePropertyMapping';
|
469
|
+
export * from './PlexSourcePropertyMappingRequest';
|
466
470
|
export * from './PlexSourceRequest';
|
467
471
|
export * from './PlexTokenRedeemRequest';
|
468
472
|
export * from './Policy';
|
@@ -611,6 +615,8 @@ export * from './UserOAuthSourceConnectionRequest';
|
|
611
615
|
export * from './UserObjectPermission';
|
612
616
|
export * from './UserPasswordSetRequest';
|
613
617
|
export * from './UserPath';
|
618
|
+
export * from './UserPlexSourceConnection';
|
619
|
+
export * from './UserPlexSourceConnectionRequest';
|
614
620
|
export * from './UserRequest';
|
615
621
|
export * from './UserSAMLSourceConnection';
|
616
622
|
export * from './UserSAMLSourceConnectionRequest';
|
package/dist/esm/models/index.js
CHANGED
@@ -161,6 +161,7 @@ export * from './GroupMatchingModeEnum';
|
|
161
161
|
export * from './GroupMember';
|
162
162
|
export * from './GroupMemberRequest';
|
163
163
|
export * from './GroupOAuthSourceConnection';
|
164
|
+
export * from './GroupPlexSourceConnection';
|
164
165
|
export * from './GroupRequest';
|
165
166
|
export * from './GroupSAMLSourceConnection';
|
166
167
|
export * from './IdentificationChallenge';
|
@@ -275,6 +276,7 @@ export * from './PaginatedGoogleWorkspaceProviderMappingList';
|
|
275
276
|
export * from './PaginatedGoogleWorkspaceProviderUserList';
|
276
277
|
export * from './PaginatedGroupList';
|
277
278
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
279
|
+
export * from './PaginatedGroupPlexSourceConnectionList';
|
278
280
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
279
281
|
export * from './PaginatedIdentificationStageList';
|
280
282
|
export * from './PaginatedInvitationList';
|
@@ -301,8 +303,8 @@ export * from './PaginatedPasswordExpiryPolicyList';
|
|
301
303
|
export * from './PaginatedPasswordPolicyList';
|
302
304
|
export * from './PaginatedPasswordStageList';
|
303
305
|
export * from './PaginatedPermissionList';
|
304
|
-
export * from './PaginatedPlexSourceConnectionList';
|
305
306
|
export * from './PaginatedPlexSourceList';
|
307
|
+
export * from './PaginatedPlexSourcePropertyMappingList';
|
306
308
|
export * from './PaginatedPolicyBindingList';
|
307
309
|
export * from './PaginatedPolicyList';
|
308
310
|
export * from './PaginatedPromptList';
|
@@ -351,6 +353,7 @@ export * from './PaginatedUserList';
|
|
351
353
|
export * from './PaginatedUserLoginStageList';
|
352
354
|
export * from './PaginatedUserLogoutStageList';
|
353
355
|
export * from './PaginatedUserOAuthSourceConnectionList';
|
356
|
+
export * from './PaginatedUserPlexSourceConnectionList';
|
354
357
|
export * from './PaginatedUserSAMLSourceConnectionList';
|
355
358
|
export * from './PaginatedUserSourceConnectionList';
|
356
359
|
export * from './PaginatedUserWriteStageList';
|
@@ -419,7 +422,7 @@ export * from './PatchedPasswordExpiryPolicyRequest';
|
|
419
422
|
export * from './PatchedPasswordPolicyRequest';
|
420
423
|
export * from './PatchedPasswordStageRequest';
|
421
424
|
export * from './PatchedPermissionAssignRequest';
|
422
|
-
export * from './
|
425
|
+
export * from './PatchedPlexSourcePropertyMappingRequest';
|
423
426
|
export * from './PatchedPlexSourceRequest';
|
424
427
|
export * from './PatchedPolicyBindingRequest';
|
425
428
|
export * from './PatchedPromptRequest';
|
@@ -453,6 +456,7 @@ export * from './PatchedUserDeleteStageRequest';
|
|
453
456
|
export * from './PatchedUserLoginStageRequest';
|
454
457
|
export * from './PatchedUserLogoutStageRequest';
|
455
458
|
export * from './PatchedUserOAuthSourceConnectionRequest';
|
459
|
+
export * from './PatchedUserPlexSourceConnectionRequest';
|
456
460
|
export * from './PatchedUserRequest';
|
457
461
|
export * from './PatchedUserSAMLSourceConnectionRequest';
|
458
462
|
export * from './PatchedUserWriteStageRequest';
|
@@ -463,8 +467,8 @@ export * from './PermissionAssignResult';
|
|
463
467
|
export * from './PlexAuthenticationChallenge';
|
464
468
|
export * from './PlexAuthenticationChallengeResponseRequest';
|
465
469
|
export * from './PlexSource';
|
466
|
-
export * from './
|
467
|
-
export * from './
|
470
|
+
export * from './PlexSourcePropertyMapping';
|
471
|
+
export * from './PlexSourcePropertyMappingRequest';
|
468
472
|
export * from './PlexSourceRequest';
|
469
473
|
export * from './PlexTokenRedeemRequest';
|
470
474
|
export * from './Policy';
|
@@ -613,6 +617,8 @@ export * from './UserOAuthSourceConnectionRequest';
|
|
613
617
|
export * from './UserObjectPermission';
|
614
618
|
export * from './UserPasswordSetRequest';
|
615
619
|
export * from './UserPath';
|
620
|
+
export * from './UserPlexSourceConnection';
|
621
|
+
export * from './UserPlexSourceConnectionRequest';
|
616
622
|
export * from './UserRequest';
|
617
623
|
export * from './UserSAMLSourceConnection';
|
618
624
|
export * from './UserSAMLSourceConnectionRequest';
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.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
|
+
* Plex Group-Source connection Serializer
|
15
|
+
* @export
|
16
|
+
* @interface GroupPlexSourceConnection
|
17
|
+
*/
|
18
|
+
export interface GroupPlexSourceConnection {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {number}
|
22
|
+
* @memberof GroupPlexSourceConnection
|
23
|
+
*/
|
24
|
+
readonly pk: number;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {string}
|
28
|
+
* @memberof GroupPlexSourceConnection
|
29
|
+
*/
|
30
|
+
readonly group: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {Source}
|
34
|
+
* @memberof GroupPlexSourceConnection
|
35
|
+
*/
|
36
|
+
readonly source: Source;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof GroupPlexSourceConnection
|
41
|
+
*/
|
42
|
+
readonly identifier: string;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {Date}
|
46
|
+
* @memberof GroupPlexSourceConnection
|
47
|
+
*/
|
48
|
+
readonly created: Date;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the GroupPlexSourceConnection interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfGroupPlexSourceConnection(value: object): boolean;
|
54
|
+
export declare function GroupPlexSourceConnectionFromJSON(json: any): GroupPlexSourceConnection;
|
55
|
+
export declare function GroupPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPlexSourceConnection;
|
56
|
+
export declare function GroupPlexSourceConnectionToJSON(value?: GroupPlexSourceConnection | null): any;
|
@@ -0,0 +1,57 @@
|
|
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.6.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.GroupPlexSourceConnectionToJSON = exports.GroupPlexSourceConnectionFromJSONTyped = exports.GroupPlexSourceConnectionFromJSON = exports.instanceOfGroupPlexSourceConnection = void 0;
|
17
|
+
const Source_1 = require("./Source");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the GroupPlexSourceConnection interface.
|
20
|
+
*/
|
21
|
+
function instanceOfGroupPlexSourceConnection(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "pk" in value;
|
24
|
+
isInstance = isInstance && "group" in value;
|
25
|
+
isInstance = isInstance && "source" in value;
|
26
|
+
isInstance = isInstance && "identifier" in value;
|
27
|
+
isInstance = isInstance && "created" in value;
|
28
|
+
return isInstance;
|
29
|
+
}
|
30
|
+
exports.instanceOfGroupPlexSourceConnection = instanceOfGroupPlexSourceConnection;
|
31
|
+
function GroupPlexSourceConnectionFromJSON(json) {
|
32
|
+
return GroupPlexSourceConnectionFromJSONTyped(json, false);
|
33
|
+
}
|
34
|
+
exports.GroupPlexSourceConnectionFromJSON = GroupPlexSourceConnectionFromJSON;
|
35
|
+
function GroupPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
36
|
+
if ((json === undefined) || (json === null)) {
|
37
|
+
return json;
|
38
|
+
}
|
39
|
+
return {
|
40
|
+
'pk': json['pk'],
|
41
|
+
'group': json['group'],
|
42
|
+
'source': (0, Source_1.SourceFromJSON)(json['source']),
|
43
|
+
'identifier': json['identifier'],
|
44
|
+
'created': (new Date(json['created'])),
|
45
|
+
};
|
46
|
+
}
|
47
|
+
exports.GroupPlexSourceConnectionFromJSONTyped = GroupPlexSourceConnectionFromJSONTyped;
|
48
|
+
function GroupPlexSourceConnectionToJSON(value) {
|
49
|
+
if (value === undefined) {
|
50
|
+
return undefined;
|
51
|
+
}
|
52
|
+
if (value === null) {
|
53
|
+
return null;
|
54
|
+
}
|
55
|
+
return {};
|
56
|
+
}
|
57
|
+
exports.GroupPlexSourceConnectionToJSON = GroupPlexSourceConnectionToJSON;
|
@@ -47,7 +47,9 @@ export declare const ModelEnum: {
|
|
47
47
|
readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
|
48
48
|
readonly SourcesOauthGroupoauthsourceconnection: "authentik_sources_oauth.groupoauthsourceconnection";
|
49
49
|
readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
|
50
|
-
readonly
|
50
|
+
readonly SourcesPlexPlexsourcepropertymapping: "authentik_sources_plex.plexsourcepropertymapping";
|
51
|
+
readonly SourcesPlexUserplexsourceconnection: "authentik_sources_plex.userplexsourceconnection";
|
52
|
+
readonly SourcesPlexGroupplexsourceconnection: "authentik_sources_plex.groupplexsourceconnection";
|
51
53
|
readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
|
52
54
|
readonly SourcesSamlSamlsourcepropertymapping: "authentik_sources_saml.samlsourcepropertymapping";
|
53
55
|
readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
|
package/dist/models/ModelEnum.js
CHANGED
@@ -52,7 +52,9 @@ exports.ModelEnum = {
|
|
52
52
|
SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
|
53
53
|
SourcesOauthGroupoauthsourceconnection: 'authentik_sources_oauth.groupoauthsourceconnection',
|
54
54
|
SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
|
55
|
-
|
55
|
+
SourcesPlexPlexsourcepropertymapping: 'authentik_sources_plex.plexsourcepropertymapping',
|
56
|
+
SourcesPlexUserplexsourceconnection: 'authentik_sources_plex.userplexsourceconnection',
|
57
|
+
SourcesPlexGroupplexsourceconnection: 'authentik_sources_plex.groupplexsourceconnection',
|
56
58
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
57
59
|
SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',
|
58
60
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|