@goauthentik/api 2024.6.3-1723050887 → 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/PatchedSAMLSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.js +2 -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/SAMLSource.d.ts +6 -0
- package/dist/esm/models/SAMLSource.js +2 -0
- package/dist/esm/models/SAMLSourceRequest.d.ts +6 -0
- package/dist/esm/models/SAMLSourceRequest.js +2 -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/PatchedSAMLSourceRequest.d.ts +6 -0
- package/dist/models/PatchedSAMLSourceRequest.js +2 -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/SAMLSource.d.ts +6 -0
- package/dist/models/SAMLSource.js +2 -0
- package/dist/models/SAMLSourceRequest.d.ts +6 -0
- package/dist/models/SAMLSourceRequest.js +2 -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/PatchedSAMLSourceRequest.ts +8 -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/SAMLSource.ts +8 -0
- package/src/models/SAMLSourceRequest.ts +8 -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,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,
|
package/src/models/SAMLSource.ts
CHANGED
@@ -242,6 +242,12 @@ export interface SAMLSource {
|
|
242
242
|
* @memberof SAMLSource
|
243
243
|
*/
|
244
244
|
temporaryUserDeleteAfter?: string;
|
245
|
+
/**
|
246
|
+
* When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.
|
247
|
+
* @type {string}
|
248
|
+
* @memberof SAMLSource
|
249
|
+
*/
|
250
|
+
encryptionKp?: string | null;
|
245
251
|
}
|
246
252
|
|
247
253
|
/**
|
@@ -304,6 +310,7 @@ export function SAMLSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
304
310
|
'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
|
305
311
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
306
312
|
'temporaryUserDeleteAfter': !exists(json, 'temporary_user_delete_after') ? undefined : json['temporary_user_delete_after'],
|
313
|
+
'encryptionKp': !exists(json, 'encryption_kp') ? undefined : json['encryption_kp'],
|
307
314
|
};
|
308
315
|
}
|
309
316
|
|
@@ -339,6 +346,7 @@ export function SAMLSourceToJSON(value?: SAMLSource | null): any {
|
|
339
346
|
'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
|
340
347
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
341
348
|
'temporary_user_delete_after': value.temporaryUserDeleteAfter,
|
349
|
+
'encryption_kp': value.encryptionKp,
|
342
350
|
};
|
343
351
|
}
|
344
352
|
|
@@ -200,6 +200,12 @@ export interface SAMLSourceRequest {
|
|
200
200
|
* @memberof SAMLSourceRequest
|
201
201
|
*/
|
202
202
|
temporaryUserDeleteAfter?: string;
|
203
|
+
/**
|
204
|
+
* When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.
|
205
|
+
* @type {string}
|
206
|
+
* @memberof SAMLSourceRequest
|
207
|
+
*/
|
208
|
+
encryptionKp?: string | null;
|
203
209
|
}
|
204
210
|
|
205
211
|
/**
|
@@ -248,6 +254,7 @@ export function SAMLSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
248
254
|
'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
|
249
255
|
'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
|
250
256
|
'temporaryUserDeleteAfter': !exists(json, 'temporary_user_delete_after') ? undefined : json['temporary_user_delete_after'],
|
257
|
+
'encryptionKp': !exists(json, 'encryption_kp') ? undefined : json['encryption_kp'],
|
251
258
|
};
|
252
259
|
}
|
253
260
|
|
@@ -283,6 +290,7 @@ export function SAMLSourceRequestToJSON(value?: SAMLSourceRequest | null): any {
|
|
283
290
|
'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
|
284
291
|
'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
|
285
292
|
'temporary_user_delete_after': value.temporaryUserDeleteAfter,
|
293
|
+
'encryption_kp': value.encryptionKp,
|
286
294
|
};
|
287
295
|
}
|
288
296
|
|
@@ -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';
|
@@ -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';
|
@@ -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;
|
@@ -1,56 +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 { Source } from './Source';
|
13
|
-
/**
|
14
|
-
* Plex Source connection Serializer
|
15
|
-
* @export
|
16
|
-
* @interface PlexSourceConnection
|
17
|
-
*/
|
18
|
-
export interface PlexSourceConnection {
|
19
|
-
/**
|
20
|
-
*
|
21
|
-
* @type {number}
|
22
|
-
* @memberof PlexSourceConnection
|
23
|
-
*/
|
24
|
-
readonly pk: number;
|
25
|
-
/**
|
26
|
-
*
|
27
|
-
* @type {number}
|
28
|
-
* @memberof PlexSourceConnection
|
29
|
-
*/
|
30
|
-
readonly user: number;
|
31
|
-
/**
|
32
|
-
*
|
33
|
-
* @type {Source}
|
34
|
-
* @memberof PlexSourceConnection
|
35
|
-
*/
|
36
|
-
readonly source: Source;
|
37
|
-
/**
|
38
|
-
*
|
39
|
-
* @type {Date}
|
40
|
-
* @memberof PlexSourceConnection
|
41
|
-
*/
|
42
|
-
readonly created: Date;
|
43
|
-
/**
|
44
|
-
*
|
45
|
-
* @type {string}
|
46
|
-
* @memberof PlexSourceConnection
|
47
|
-
*/
|
48
|
-
identifier: string;
|
49
|
-
}
|
50
|
-
/**
|
51
|
-
* Check if a given object implements the PlexSourceConnection interface.
|
52
|
-
*/
|
53
|
-
export declare function instanceOfPlexSourceConnection(value: object): boolean;
|
54
|
-
export declare function PlexSourceConnectionFromJSON(json: any): PlexSourceConnection;
|
55
|
-
export declare function PlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourceConnection;
|
56
|
-
export declare function PlexSourceConnectionToJSON(value?: PlexSourceConnection | null): any;
|