@goauthentik/api 2024.6.3-1723053526 → 2024.6.3-1723206419
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +11 -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/LicenseSummary.d.ts +3 -26
- package/dist/esm/models/LicenseSummary.js +4 -15
- package/dist/esm/models/LicenseSummaryStatusEnum.d.ts +29 -0
- package/dist/esm/models/LicenseSummaryStatusEnum.js +36 -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 +11 -4
- package/dist/esm/models/index.js +11 -4
- package/dist/models/GroupPlexSourceConnection.d.ts +56 -0
- package/dist/models/GroupPlexSourceConnection.js +57 -0
- package/dist/models/LicenseSummary.d.ts +3 -26
- package/dist/models/LicenseSummary.js +4 -15
- package/dist/models/LicenseSummaryStatusEnum.d.ts +29 -0
- package/dist/models/LicenseSummaryStatusEnum.js +42 -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 +11 -4
- package/dist/models/index.js +11 -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/LicenseSummary.ts +12 -41
- package/src/models/LicenseSummaryStatusEnum.ts +44 -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 +11 -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
@@ -16,37 +16,37 @@ import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
17
17
|
* Plex Source connection Serializer
|
18
18
|
* @export
|
19
|
-
* @interface
|
19
|
+
* @interface PatchedUserPlexSourceConnectionRequest
|
20
20
|
*/
|
21
|
-
export interface
|
21
|
+
export interface PatchedUserPlexSourceConnectionRequest {
|
22
22
|
/**
|
23
23
|
*
|
24
24
|
* @type {string}
|
25
|
-
* @memberof
|
25
|
+
* @memberof PatchedUserPlexSourceConnectionRequest
|
26
26
|
*/
|
27
27
|
identifier?: string;
|
28
28
|
/**
|
29
29
|
*
|
30
30
|
* @type {string}
|
31
|
-
* @memberof
|
31
|
+
* @memberof PatchedUserPlexSourceConnectionRequest
|
32
32
|
*/
|
33
33
|
plexToken?: string;
|
34
34
|
}
|
35
35
|
|
36
36
|
/**
|
37
|
-
* Check if a given object implements the
|
37
|
+
* Check if a given object implements the PatchedUserPlexSourceConnectionRequest interface.
|
38
38
|
*/
|
39
|
-
export function
|
39
|
+
export function instanceOfPatchedUserPlexSourceConnectionRequest(value: object): boolean {
|
40
40
|
let isInstance = true;
|
41
41
|
|
42
42
|
return isInstance;
|
43
43
|
}
|
44
44
|
|
45
|
-
export function
|
46
|
-
return
|
45
|
+
export function PatchedUserPlexSourceConnectionRequestFromJSON(json: any): PatchedUserPlexSourceConnectionRequest {
|
46
|
+
return PatchedUserPlexSourceConnectionRequestFromJSONTyped(json, false);
|
47
47
|
}
|
48
48
|
|
49
|
-
export function
|
49
|
+
export function PatchedUserPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUserPlexSourceConnectionRequest {
|
50
50
|
if ((json === undefined) || (json === null)) {
|
51
51
|
return json;
|
52
52
|
}
|
@@ -57,7 +57,7 @@ export function PatchedPlexSourceConnectionRequestFromJSONTyped(json: any, ignor
|
|
57
57
|
};
|
58
58
|
}
|
59
59
|
|
60
|
-
export function
|
60
|
+
export function PatchedUserPlexSourceConnectionRequestToJSON(value?: PatchedUserPlexSourceConnectionRequest | null): any {
|
61
61
|
if (value === undefined) {
|
62
62
|
return undefined;
|
63
63
|
}
|
package/src/models/PlexSource.ts
CHANGED
@@ -13,6 +13,12 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
+
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
17
|
+
import {
|
18
|
+
GroupMatchingModeEnumFromJSON,
|
19
|
+
GroupMatchingModeEnumFromJSONTyped,
|
20
|
+
GroupMatchingModeEnumToJSON,
|
21
|
+
} from './GroupMatchingModeEnum';
|
16
22
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
17
23
|
import {
|
18
24
|
PolicyEngineModeFromJSON,
|
@@ -134,6 +140,12 @@ export interface PlexSource {
|
|
134
140
|
* @memberof PlexSource
|
135
141
|
*/
|
136
142
|
readonly icon: string;
|
143
|
+
/**
|
144
|
+
*
|
145
|
+
* @type {GroupMatchingModeEnum}
|
146
|
+
* @memberof PlexSource
|
147
|
+
*/
|
148
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
137
149
|
/**
|
138
150
|
* Client identifier used to talk to Plex.
|
139
151
|
* @type {string}
|
@@ -206,6 +218,7 @@ export function PlexSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
206
218
|
'managed': json['managed'],
|
207
219
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
208
220
|
'icon': json['icon'],
|
221
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
209
222
|
'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
|
210
223
|
'allowedServers': !exists(json, 'allowed_servers') ? undefined : json['allowed_servers'],
|
211
224
|
'allowFriends': !exists(json, 'allow_friends') ? undefined : json['allow_friends'],
|
@@ -232,6 +245,7 @@ export function PlexSourceToJSON(value?: PlexSource | null): any {
|
|
232
245
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
233
246
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
234
247
|
'user_path_template': value.userPathTemplate,
|
248
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
235
249
|
'client_id': value.clientId,
|
236
250
|
'allowed_servers': value.allowedServers,
|
237
251
|
'allow_friends': value.allowFriends,
|
@@ -0,0 +1,123 @@
|
|
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
|
+
|
15
|
+
import { exists, mapValues } from '../runtime';
|
16
|
+
/**
|
17
|
+
* PlexSourcePropertyMapping Serializer
|
18
|
+
* @export
|
19
|
+
* @interface PlexSourcePropertyMapping
|
20
|
+
*/
|
21
|
+
export interface PlexSourcePropertyMapping {
|
22
|
+
/**
|
23
|
+
*
|
24
|
+
* @type {string}
|
25
|
+
* @memberof PlexSourcePropertyMapping
|
26
|
+
*/
|
27
|
+
readonly pk: string;
|
28
|
+
/**
|
29
|
+
* 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.
|
30
|
+
* @type {string}
|
31
|
+
* @memberof PlexSourcePropertyMapping
|
32
|
+
*/
|
33
|
+
managed?: string | null;
|
34
|
+
/**
|
35
|
+
*
|
36
|
+
* @type {string}
|
37
|
+
* @memberof PlexSourcePropertyMapping
|
38
|
+
*/
|
39
|
+
name: string;
|
40
|
+
/**
|
41
|
+
*
|
42
|
+
* @type {string}
|
43
|
+
* @memberof PlexSourcePropertyMapping
|
44
|
+
*/
|
45
|
+
expression: string;
|
46
|
+
/**
|
47
|
+
* Get object's component so that we know how to edit the object
|
48
|
+
* @type {string}
|
49
|
+
* @memberof PlexSourcePropertyMapping
|
50
|
+
*/
|
51
|
+
readonly component: string;
|
52
|
+
/**
|
53
|
+
* Return object's verbose_name
|
54
|
+
* @type {string}
|
55
|
+
* @memberof PlexSourcePropertyMapping
|
56
|
+
*/
|
57
|
+
readonly verboseName: string;
|
58
|
+
/**
|
59
|
+
* Return object's plural verbose_name
|
60
|
+
* @type {string}
|
61
|
+
* @memberof PlexSourcePropertyMapping
|
62
|
+
*/
|
63
|
+
readonly verboseNamePlural: string;
|
64
|
+
/**
|
65
|
+
* Return internal model name
|
66
|
+
* @type {string}
|
67
|
+
* @memberof PlexSourcePropertyMapping
|
68
|
+
*/
|
69
|
+
readonly metaModelName: string;
|
70
|
+
}
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Check if a given object implements the PlexSourcePropertyMapping interface.
|
74
|
+
*/
|
75
|
+
export function instanceOfPlexSourcePropertyMapping(value: object): boolean {
|
76
|
+
let isInstance = true;
|
77
|
+
isInstance = isInstance && "pk" in value;
|
78
|
+
isInstance = isInstance && "name" in value;
|
79
|
+
isInstance = isInstance && "expression" in value;
|
80
|
+
isInstance = isInstance && "component" in value;
|
81
|
+
isInstance = isInstance && "verboseName" in value;
|
82
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
83
|
+
isInstance = isInstance && "metaModelName" in value;
|
84
|
+
|
85
|
+
return isInstance;
|
86
|
+
}
|
87
|
+
|
88
|
+
export function PlexSourcePropertyMappingFromJSON(json: any): PlexSourcePropertyMapping {
|
89
|
+
return PlexSourcePropertyMappingFromJSONTyped(json, false);
|
90
|
+
}
|
91
|
+
|
92
|
+
export function PlexSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourcePropertyMapping {
|
93
|
+
if ((json === undefined) || (json === null)) {
|
94
|
+
return json;
|
95
|
+
}
|
96
|
+
return {
|
97
|
+
|
98
|
+
'pk': json['pk'],
|
99
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
100
|
+
'name': json['name'],
|
101
|
+
'expression': json['expression'],
|
102
|
+
'component': json['component'],
|
103
|
+
'verboseName': json['verbose_name'],
|
104
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
105
|
+
'metaModelName': json['meta_model_name'],
|
106
|
+
};
|
107
|
+
}
|
108
|
+
|
109
|
+
export function PlexSourcePropertyMappingToJSON(value?: PlexSourcePropertyMapping | null): any {
|
110
|
+
if (value === undefined) {
|
111
|
+
return undefined;
|
112
|
+
}
|
113
|
+
if (value === null) {
|
114
|
+
return null;
|
115
|
+
}
|
116
|
+
return {
|
117
|
+
|
118
|
+
'managed': value.managed,
|
119
|
+
'name': value.name,
|
120
|
+
'expression': value.expression,
|
121
|
+
};
|
122
|
+
}
|
123
|
+
|
@@ -0,0 +1,83 @@
|
|
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
|
+
|
15
|
+
import { exists, mapValues } from '../runtime';
|
16
|
+
/**
|
17
|
+
* PlexSourcePropertyMapping Serializer
|
18
|
+
* @export
|
19
|
+
* @interface PlexSourcePropertyMappingRequest
|
20
|
+
*/
|
21
|
+
export interface PlexSourcePropertyMappingRequest {
|
22
|
+
/**
|
23
|
+
* 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.
|
24
|
+
* @type {string}
|
25
|
+
* @memberof PlexSourcePropertyMappingRequest
|
26
|
+
*/
|
27
|
+
managed?: string | null;
|
28
|
+
/**
|
29
|
+
*
|
30
|
+
* @type {string}
|
31
|
+
* @memberof PlexSourcePropertyMappingRequest
|
32
|
+
*/
|
33
|
+
name: string;
|
34
|
+
/**
|
35
|
+
*
|
36
|
+
* @type {string}
|
37
|
+
* @memberof PlexSourcePropertyMappingRequest
|
38
|
+
*/
|
39
|
+
expression: string;
|
40
|
+
}
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Check if a given object implements the PlexSourcePropertyMappingRequest interface.
|
44
|
+
*/
|
45
|
+
export function instanceOfPlexSourcePropertyMappingRequest(value: object): boolean {
|
46
|
+
let isInstance = true;
|
47
|
+
isInstance = isInstance && "name" in value;
|
48
|
+
isInstance = isInstance && "expression" in value;
|
49
|
+
|
50
|
+
return isInstance;
|
51
|
+
}
|
52
|
+
|
53
|
+
export function PlexSourcePropertyMappingRequestFromJSON(json: any): PlexSourcePropertyMappingRequest {
|
54
|
+
return PlexSourcePropertyMappingRequestFromJSONTyped(json, false);
|
55
|
+
}
|
56
|
+
|
57
|
+
export function PlexSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourcePropertyMappingRequest {
|
58
|
+
if ((json === undefined) || (json === null)) {
|
59
|
+
return json;
|
60
|
+
}
|
61
|
+
return {
|
62
|
+
|
63
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
64
|
+
'name': json['name'],
|
65
|
+
'expression': json['expression'],
|
66
|
+
};
|
67
|
+
}
|
68
|
+
|
69
|
+
export function PlexSourcePropertyMappingRequestToJSON(value?: PlexSourcePropertyMappingRequest | null): any {
|
70
|
+
if (value === undefined) {
|
71
|
+
return undefined;
|
72
|
+
}
|
73
|
+
if (value === null) {
|
74
|
+
return null;
|
75
|
+
}
|
76
|
+
return {
|
77
|
+
|
78
|
+
'managed': value.managed,
|
79
|
+
'name': value.name,
|
80
|
+
'expression': value.expression,
|
81
|
+
};
|
82
|
+
}
|
83
|
+
|
@@ -13,6 +13,12 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
+
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
17
|
+
import {
|
18
|
+
GroupMatchingModeEnumFromJSON,
|
19
|
+
GroupMatchingModeEnumFromJSONTyped,
|
20
|
+
GroupMatchingModeEnumToJSON,
|
21
|
+
} from './GroupMatchingModeEnum';
|
16
22
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
17
23
|
import {
|
18
24
|
PolicyEngineModeFromJSON,
|
@@ -92,6 +98,12 @@ export interface PlexSourceRequest {
|
|
92
98
|
* @memberof PlexSourceRequest
|
93
99
|
*/
|
94
100
|
userPathTemplate?: string;
|
101
|
+
/**
|
102
|
+
*
|
103
|
+
* @type {GroupMatchingModeEnum}
|
104
|
+
* @memberof PlexSourceRequest
|
105
|
+
*/
|
106
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
95
107
|
/**
|
96
108
|
* Client identifier used to talk to Plex.
|
97
109
|
* @type {string}
|
@@ -150,6 +162,7 @@ export function PlexSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
150
162
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
151
163
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
152
164
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
165
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
153
166
|
'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
|
154
167
|
'allowedServers': !exists(json, 'allowed_servers') ? undefined : json['allowed_servers'],
|
155
168
|
'allowFriends': !exists(json, 'allow_friends') ? undefined : json['allow_friends'],
|
@@ -176,6 +189,7 @@ export function PlexSourceRequestToJSON(value?: PlexSourceRequest | null): any {
|
|
176
189
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
177
190
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
178
191
|
'user_path_template': value.userPathTemplate,
|
192
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
179
193
|
'client_id': value.clientId,
|
180
194
|
'allowed_servers': value.allowedServers,
|
181
195
|
'allow_friends': value.allowFriends,
|
@@ -23,45 +23,45 @@ import {
|
|
23
23
|
/**
|
24
24
|
* Plex Source connection Serializer
|
25
25
|
* @export
|
26
|
-
* @interface
|
26
|
+
* @interface UserPlexSourceConnection
|
27
27
|
*/
|
28
|
-
export interface
|
28
|
+
export interface UserPlexSourceConnection {
|
29
29
|
/**
|
30
30
|
*
|
31
31
|
* @type {number}
|
32
|
-
* @memberof
|
32
|
+
* @memberof UserPlexSourceConnection
|
33
33
|
*/
|
34
34
|
readonly pk: number;
|
35
35
|
/**
|
36
36
|
*
|
37
37
|
* @type {number}
|
38
|
-
* @memberof
|
38
|
+
* @memberof UserPlexSourceConnection
|
39
39
|
*/
|
40
40
|
readonly user: number;
|
41
41
|
/**
|
42
42
|
*
|
43
43
|
* @type {Source}
|
44
|
-
* @memberof
|
44
|
+
* @memberof UserPlexSourceConnection
|
45
45
|
*/
|
46
46
|
readonly source: Source;
|
47
47
|
/**
|
48
48
|
*
|
49
49
|
* @type {Date}
|
50
|
-
* @memberof
|
50
|
+
* @memberof UserPlexSourceConnection
|
51
51
|
*/
|
52
52
|
readonly created: Date;
|
53
53
|
/**
|
54
54
|
*
|
55
55
|
* @type {string}
|
56
|
-
* @memberof
|
56
|
+
* @memberof UserPlexSourceConnection
|
57
57
|
*/
|
58
58
|
identifier: string;
|
59
59
|
}
|
60
60
|
|
61
61
|
/**
|
62
|
-
* Check if a given object implements the
|
62
|
+
* Check if a given object implements the UserPlexSourceConnection interface.
|
63
63
|
*/
|
64
|
-
export function
|
64
|
+
export function instanceOfUserPlexSourceConnection(value: object): boolean {
|
65
65
|
let isInstance = true;
|
66
66
|
isInstance = isInstance && "pk" in value;
|
67
67
|
isInstance = isInstance && "user" in value;
|
@@ -72,11 +72,11 @@ export function instanceOfPlexSourceConnection(value: object): boolean {
|
|
72
72
|
return isInstance;
|
73
73
|
}
|
74
74
|
|
75
|
-
export function
|
76
|
-
return
|
75
|
+
export function UserPlexSourceConnectionFromJSON(json: any): UserPlexSourceConnection {
|
76
|
+
return UserPlexSourceConnectionFromJSONTyped(json, false);
|
77
77
|
}
|
78
78
|
|
79
|
-
export function
|
79
|
+
export function UserPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPlexSourceConnection {
|
80
80
|
if ((json === undefined) || (json === null)) {
|
81
81
|
return json;
|
82
82
|
}
|
@@ -90,7 +90,7 @@ export function PlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator
|
|
90
90
|
};
|
91
91
|
}
|
92
92
|
|
93
|
-
export function
|
93
|
+
export function UserPlexSourceConnectionToJSON(value?: UserPlexSourceConnection | null): any {
|
94
94
|
if (value === undefined) {
|
95
95
|
return undefined;
|
96
96
|
}
|
@@ -16,27 +16,27 @@ import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
17
17
|
* Plex Source connection Serializer
|
18
18
|
* @export
|
19
|
-
* @interface
|
19
|
+
* @interface UserPlexSourceConnectionRequest
|
20
20
|
*/
|
21
|
-
export interface
|
21
|
+
export interface UserPlexSourceConnectionRequest {
|
22
22
|
/**
|
23
23
|
*
|
24
24
|
* @type {string}
|
25
|
-
* @memberof
|
25
|
+
* @memberof UserPlexSourceConnectionRequest
|
26
26
|
*/
|
27
27
|
identifier: string;
|
28
28
|
/**
|
29
29
|
*
|
30
30
|
* @type {string}
|
31
|
-
* @memberof
|
31
|
+
* @memberof UserPlexSourceConnectionRequest
|
32
32
|
*/
|
33
33
|
plexToken: string;
|
34
34
|
}
|
35
35
|
|
36
36
|
/**
|
37
|
-
* Check if a given object implements the
|
37
|
+
* Check if a given object implements the UserPlexSourceConnectionRequest interface.
|
38
38
|
*/
|
39
|
-
export function
|
39
|
+
export function instanceOfUserPlexSourceConnectionRequest(value: object): boolean {
|
40
40
|
let isInstance = true;
|
41
41
|
isInstance = isInstance && "identifier" in value;
|
42
42
|
isInstance = isInstance && "plexToken" in value;
|
@@ -44,11 +44,11 @@ export function instanceOfPlexSourceConnectionRequest(value: object): boolean {
|
|
44
44
|
return isInstance;
|
45
45
|
}
|
46
46
|
|
47
|
-
export function
|
48
|
-
return
|
47
|
+
export function UserPlexSourceConnectionRequestFromJSON(json: any): UserPlexSourceConnectionRequest {
|
48
|
+
return UserPlexSourceConnectionRequestFromJSONTyped(json, false);
|
49
49
|
}
|
50
50
|
|
51
|
-
export function
|
51
|
+
export function UserPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPlexSourceConnectionRequest {
|
52
52
|
if ((json === undefined) || (json === null)) {
|
53
53
|
return json;
|
54
54
|
}
|
@@ -59,7 +59,7 @@ export function PlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscri
|
|
59
59
|
};
|
60
60
|
}
|
61
61
|
|
62
|
-
export function
|
62
|
+
export function UserPlexSourceConnectionRequestToJSON(value?: UserPlexSourceConnectionRequest | null): any {
|
63
63
|
if (value === undefined) {
|
64
64
|
return undefined;
|
65
65
|
}
|
package/src/models/index.ts
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';
|
@@ -190,6 +191,7 @@ export * from './License';
|
|
190
191
|
export * from './LicenseForecast';
|
191
192
|
export * from './LicenseRequest';
|
192
193
|
export * from './LicenseSummary';
|
194
|
+
export * from './LicenseSummaryStatusEnum';
|
193
195
|
export * from './Link';
|
194
196
|
export * from './LogEvent';
|
195
197
|
export * from './LogLevelEnum';
|
@@ -275,6 +277,7 @@ export * from './PaginatedGoogleWorkspaceProviderMappingList';
|
|
275
277
|
export * from './PaginatedGoogleWorkspaceProviderUserList';
|
276
278
|
export * from './PaginatedGroupList';
|
277
279
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
280
|
+
export * from './PaginatedGroupPlexSourceConnectionList';
|
278
281
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
279
282
|
export * from './PaginatedIdentificationStageList';
|
280
283
|
export * from './PaginatedInvitationList';
|
@@ -301,8 +304,8 @@ export * from './PaginatedPasswordExpiryPolicyList';
|
|
301
304
|
export * from './PaginatedPasswordPolicyList';
|
302
305
|
export * from './PaginatedPasswordStageList';
|
303
306
|
export * from './PaginatedPermissionList';
|
304
|
-
export * from './PaginatedPlexSourceConnectionList';
|
305
307
|
export * from './PaginatedPlexSourceList';
|
308
|
+
export * from './PaginatedPlexSourcePropertyMappingList';
|
306
309
|
export * from './PaginatedPolicyBindingList';
|
307
310
|
export * from './PaginatedPolicyList';
|
308
311
|
export * from './PaginatedPromptList';
|
@@ -351,6 +354,7 @@ export * from './PaginatedUserList';
|
|
351
354
|
export * from './PaginatedUserLoginStageList';
|
352
355
|
export * from './PaginatedUserLogoutStageList';
|
353
356
|
export * from './PaginatedUserOAuthSourceConnectionList';
|
357
|
+
export * from './PaginatedUserPlexSourceConnectionList';
|
354
358
|
export * from './PaginatedUserSAMLSourceConnectionList';
|
355
359
|
export * from './PaginatedUserSourceConnectionList';
|
356
360
|
export * from './PaginatedUserWriteStageList';
|
@@ -419,7 +423,7 @@ export * from './PatchedPasswordExpiryPolicyRequest';
|
|
419
423
|
export * from './PatchedPasswordPolicyRequest';
|
420
424
|
export * from './PatchedPasswordStageRequest';
|
421
425
|
export * from './PatchedPermissionAssignRequest';
|
422
|
-
export * from './
|
426
|
+
export * from './PatchedPlexSourcePropertyMappingRequest';
|
423
427
|
export * from './PatchedPlexSourceRequest';
|
424
428
|
export * from './PatchedPolicyBindingRequest';
|
425
429
|
export * from './PatchedPromptRequest';
|
@@ -453,6 +457,7 @@ export * from './PatchedUserDeleteStageRequest';
|
|
453
457
|
export * from './PatchedUserLoginStageRequest';
|
454
458
|
export * from './PatchedUserLogoutStageRequest';
|
455
459
|
export * from './PatchedUserOAuthSourceConnectionRequest';
|
460
|
+
export * from './PatchedUserPlexSourceConnectionRequest';
|
456
461
|
export * from './PatchedUserRequest';
|
457
462
|
export * from './PatchedUserSAMLSourceConnectionRequest';
|
458
463
|
export * from './PatchedUserWriteStageRequest';
|
@@ -463,8 +468,8 @@ export * from './PermissionAssignResult';
|
|
463
468
|
export * from './PlexAuthenticationChallenge';
|
464
469
|
export * from './PlexAuthenticationChallengeResponseRequest';
|
465
470
|
export * from './PlexSource';
|
466
|
-
export * from './
|
467
|
-
export * from './
|
471
|
+
export * from './PlexSourcePropertyMapping';
|
472
|
+
export * from './PlexSourcePropertyMappingRequest';
|
468
473
|
export * from './PlexSourceRequest';
|
469
474
|
export * from './PlexTokenRedeemRequest';
|
470
475
|
export * from './Policy';
|
@@ -613,6 +618,8 @@ export * from './UserOAuthSourceConnectionRequest';
|
|
613
618
|
export * from './UserObjectPermission';
|
614
619
|
export * from './UserPasswordSetRequest';
|
615
620
|
export * from './UserPath';
|
621
|
+
export * from './UserPlexSourceConnection';
|
622
|
+
export * from './UserPlexSourceConnectionRequest';
|
616
623
|
export * from './UserRequest';
|
617
624
|
export * from './UserSAMLSourceConnection';
|
618
625
|
export * from './UserSAMLSourceConnectionRequest';
|
@@ -1,39 +0,0 @@
|
|
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 { Pagination } from './Pagination';
|
13
|
-
import type { PlexSourceConnection } from './PlexSourceConnection';
|
14
|
-
/**
|
15
|
-
*
|
16
|
-
* @export
|
17
|
-
* @interface PaginatedPlexSourceConnectionList
|
18
|
-
*/
|
19
|
-
export interface PaginatedPlexSourceConnectionList {
|
20
|
-
/**
|
21
|
-
*
|
22
|
-
* @type {Pagination}
|
23
|
-
* @memberof PaginatedPlexSourceConnectionList
|
24
|
-
*/
|
25
|
-
pagination: Pagination;
|
26
|
-
/**
|
27
|
-
*
|
28
|
-
* @type {Array<PlexSourceConnection>}
|
29
|
-
* @memberof PaginatedPlexSourceConnectionList
|
30
|
-
*/
|
31
|
-
results: Array<PlexSourceConnection>;
|
32
|
-
}
|
33
|
-
/**
|
34
|
-
* Check if a given object implements the PaginatedPlexSourceConnectionList interface.
|
35
|
-
*/
|
36
|
-
export declare function instanceOfPaginatedPlexSourceConnectionList(value: object): boolean;
|
37
|
-
export declare function PaginatedPlexSourceConnectionListFromJSON(json: any): PaginatedPlexSourceConnectionList;
|
38
|
-
export declare function PaginatedPlexSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedPlexSourceConnectionList;
|
39
|
-
export declare function PaginatedPlexSourceConnectionListToJSON(value?: PaginatedPlexSourceConnectionList | null): any;
|
@@ -1,37 +0,0 @@
|
|
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 PatchedPlexSourceConnectionRequest
|
16
|
-
*/
|
17
|
-
export interface PatchedPlexSourceConnectionRequest {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {string}
|
21
|
-
* @memberof PatchedPlexSourceConnectionRequest
|
22
|
-
*/
|
23
|
-
identifier?: string;
|
24
|
-
/**
|
25
|
-
*
|
26
|
-
* @type {string}
|
27
|
-
* @memberof PatchedPlexSourceConnectionRequest
|
28
|
-
*/
|
29
|
-
plexToken?: string;
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Check if a given object implements the PatchedPlexSourceConnectionRequest interface.
|
33
|
-
*/
|
34
|
-
export declare function instanceOfPatchedPlexSourceConnectionRequest(value: object): boolean;
|
35
|
-
export declare function PatchedPlexSourceConnectionRequestFromJSON(json: any): PatchedPlexSourceConnectionRequest;
|
36
|
-
export declare function PatchedPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedPlexSourceConnectionRequest;
|
37
|
-
export declare function PatchedPlexSourceConnectionRequestToJSON(value?: PatchedPlexSourceConnectionRequest | null): any;
|