@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
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';
|
@@ -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';
|
@@ -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;
|
@@ -9,6 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
+
import type { LicenseSummaryStatusEnum } from './LicenseSummaryStatusEnum';
|
12
13
|
/**
|
13
14
|
* Serializer for license status
|
14
15
|
* @export
|
@@ -29,40 +30,16 @@ export interface LicenseSummary {
|
|
29
30
|
externalUsers: number;
|
30
31
|
/**
|
31
32
|
*
|
32
|
-
* @type {
|
33
|
+
* @type {LicenseSummaryStatusEnum}
|
33
34
|
* @memberof LicenseSummary
|
34
35
|
*/
|
35
|
-
|
36
|
-
/**
|
37
|
-
*
|
38
|
-
* @type {boolean}
|
39
|
-
* @memberof LicenseSummary
|
40
|
-
*/
|
41
|
-
showAdminWarning: boolean;
|
42
|
-
/**
|
43
|
-
*
|
44
|
-
* @type {boolean}
|
45
|
-
* @memberof LicenseSummary
|
46
|
-
*/
|
47
|
-
showUserWarning: boolean;
|
48
|
-
/**
|
49
|
-
*
|
50
|
-
* @type {boolean}
|
51
|
-
* @memberof LicenseSummary
|
52
|
-
*/
|
53
|
-
readOnly: boolean;
|
36
|
+
status: LicenseSummaryStatusEnum;
|
54
37
|
/**
|
55
38
|
*
|
56
39
|
* @type {Date}
|
57
40
|
* @memberof LicenseSummary
|
58
41
|
*/
|
59
42
|
latestValid: Date;
|
60
|
-
/**
|
61
|
-
*
|
62
|
-
* @type {boolean}
|
63
|
-
* @memberof LicenseSummary
|
64
|
-
*/
|
65
|
-
hasLicense: boolean;
|
66
43
|
}
|
67
44
|
/**
|
68
45
|
* Check if a given object implements the LicenseSummary interface.
|
@@ -14,6 +14,7 @@
|
|
14
14
|
*/
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.LicenseSummaryToJSON = exports.LicenseSummaryFromJSONTyped = exports.LicenseSummaryFromJSON = exports.instanceOfLicenseSummary = void 0;
|
17
|
+
const LicenseSummaryStatusEnum_1 = require("./LicenseSummaryStatusEnum");
|
17
18
|
/**
|
18
19
|
* Check if a given object implements the LicenseSummary interface.
|
19
20
|
*/
|
@@ -21,12 +22,8 @@ function instanceOfLicenseSummary(value) {
|
|
21
22
|
let isInstance = true;
|
22
23
|
isInstance = isInstance && "internalUsers" in value;
|
23
24
|
isInstance = isInstance && "externalUsers" in value;
|
24
|
-
isInstance = isInstance && "
|
25
|
-
isInstance = isInstance && "showAdminWarning" in value;
|
26
|
-
isInstance = isInstance && "showUserWarning" in value;
|
27
|
-
isInstance = isInstance && "readOnly" in value;
|
25
|
+
isInstance = isInstance && "status" in value;
|
28
26
|
isInstance = isInstance && "latestValid" in value;
|
29
|
-
isInstance = isInstance && "hasLicense" in value;
|
30
27
|
return isInstance;
|
31
28
|
}
|
32
29
|
exports.instanceOfLicenseSummary = instanceOfLicenseSummary;
|
@@ -41,12 +38,8 @@ function LicenseSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
38
|
return {
|
42
39
|
'internalUsers': json['internal_users'],
|
43
40
|
'externalUsers': json['external_users'],
|
44
|
-
'
|
45
|
-
'showAdminWarning': json['show_admin_warning'],
|
46
|
-
'showUserWarning': json['show_user_warning'],
|
47
|
-
'readOnly': json['read_only'],
|
41
|
+
'status': (0, LicenseSummaryStatusEnum_1.LicenseSummaryStatusEnumFromJSON)(json['status']),
|
48
42
|
'latestValid': (new Date(json['latest_valid'])),
|
49
|
-
'hasLicense': json['has_license'],
|
50
43
|
};
|
51
44
|
}
|
52
45
|
exports.LicenseSummaryFromJSONTyped = LicenseSummaryFromJSONTyped;
|
@@ -60,12 +53,8 @@ function LicenseSummaryToJSON(value) {
|
|
60
53
|
return {
|
61
54
|
'internal_users': value.internalUsers,
|
62
55
|
'external_users': value.externalUsers,
|
63
|
-
'
|
64
|
-
'show_admin_warning': value.showAdminWarning,
|
65
|
-
'show_user_warning': value.showUserWarning,
|
66
|
-
'read_only': value.readOnly,
|
56
|
+
'status': (0, LicenseSummaryStatusEnum_1.LicenseSummaryStatusEnumToJSON)(value.status),
|
67
57
|
'latest_valid': (value.latestValid.toISOString()),
|
68
|
-
'has_license': value.hasLicense,
|
69
58
|
};
|
70
59
|
}
|
71
60
|
exports.LicenseSummaryToJSON = LicenseSummaryToJSON;
|
@@ -0,0 +1,29 @@
|
|
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
|
+
*
|
14
|
+
* @export
|
15
|
+
*/
|
16
|
+
export declare const LicenseSummaryStatusEnum: {
|
17
|
+
readonly Unlicensed: "unlicensed";
|
18
|
+
readonly Valid: "valid";
|
19
|
+
readonly Expired: "expired";
|
20
|
+
readonly ExpirySoon: "expiry_soon";
|
21
|
+
readonly LimitExceededAdmin: "limit_exceeded_admin";
|
22
|
+
readonly LimitExceededUser: "limit_exceeded_user";
|
23
|
+
readonly ReadOnly: "read_only";
|
24
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
25
|
+
};
|
26
|
+
export type LicenseSummaryStatusEnum = typeof LicenseSummaryStatusEnum[keyof typeof LicenseSummaryStatusEnum];
|
27
|
+
export declare function LicenseSummaryStatusEnumFromJSON(json: any): LicenseSummaryStatusEnum;
|
28
|
+
export declare function LicenseSummaryStatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenseSummaryStatusEnum;
|
29
|
+
export declare function LicenseSummaryStatusEnumToJSON(value?: LicenseSummaryStatusEnum | null): any;
|
@@ -0,0 +1,42 @@
|
|
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.LicenseSummaryStatusEnumToJSON = exports.LicenseSummaryStatusEnumFromJSONTyped = exports.LicenseSummaryStatusEnumFromJSON = exports.LicenseSummaryStatusEnum = void 0;
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @export
|
20
|
+
*/
|
21
|
+
exports.LicenseSummaryStatusEnum = {
|
22
|
+
Unlicensed: 'unlicensed',
|
23
|
+
Valid: 'valid',
|
24
|
+
Expired: 'expired',
|
25
|
+
ExpirySoon: 'expiry_soon',
|
26
|
+
LimitExceededAdmin: 'limit_exceeded_admin',
|
27
|
+
LimitExceededUser: 'limit_exceeded_user',
|
28
|
+
ReadOnly: 'read_only',
|
29
|
+
UnknownDefaultOpenApi: '11184809'
|
30
|
+
};
|
31
|
+
function LicenseSummaryStatusEnumFromJSON(json) {
|
32
|
+
return LicenseSummaryStatusEnumFromJSONTyped(json, false);
|
33
|
+
}
|
34
|
+
exports.LicenseSummaryStatusEnumFromJSON = LicenseSummaryStatusEnumFromJSON;
|
35
|
+
function LicenseSummaryStatusEnumFromJSONTyped(json, ignoreDiscriminator) {
|
36
|
+
return json;
|
37
|
+
}
|
38
|
+
exports.LicenseSummaryStatusEnumFromJSONTyped = LicenseSummaryStatusEnumFromJSONTyped;
|
39
|
+
function LicenseSummaryStatusEnumToJSON(value) {
|
40
|
+
return value;
|
41
|
+
}
|
42
|
+
exports.LicenseSummaryStatusEnumToJSON = LicenseSummaryStatusEnumToJSON;
|
@@ -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',
|
@@ -0,0 +1,39 @@
|
|
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 { GroupPlexSourceConnection } from './GroupPlexSourceConnection';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedGroupPlexSourceConnectionList
|
18
|
+
*/
|
19
|
+
export interface PaginatedGroupPlexSourceConnectionList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedGroupPlexSourceConnectionList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<GroupPlexSourceConnection>}
|
29
|
+
* @memberof PaginatedGroupPlexSourceConnectionList
|
30
|
+
*/
|
31
|
+
results: Array<GroupPlexSourceConnection>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedGroupPlexSourceConnectionList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedGroupPlexSourceConnectionList(value: object): boolean;
|
37
|
+
export declare function PaginatedGroupPlexSourceConnectionListFromJSON(json: any): PaginatedGroupPlexSourceConnectionList;
|
38
|
+
export declare function PaginatedGroupPlexSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupPlexSourceConnectionList;
|
39
|
+
export declare function PaginatedGroupPlexSourceConnectionListToJSON(value?: PaginatedGroupPlexSourceConnectionList | null): any;
|
@@ -0,0 +1,55 @@
|
|
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.PaginatedGroupPlexSourceConnectionListToJSON = exports.PaginatedGroupPlexSourceConnectionListFromJSONTyped = exports.PaginatedGroupPlexSourceConnectionListFromJSON = exports.instanceOfPaginatedGroupPlexSourceConnectionList = void 0;
|
17
|
+
const GroupPlexSourceConnection_1 = require("./GroupPlexSourceConnection");
|
18
|
+
const Pagination_1 = require("./Pagination");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the PaginatedGroupPlexSourceConnectionList interface.
|
21
|
+
*/
|
22
|
+
function instanceOfPaginatedGroupPlexSourceConnectionList(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "pagination" in value;
|
25
|
+
isInstance = isInstance && "results" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfPaginatedGroupPlexSourceConnectionList = instanceOfPaginatedGroupPlexSourceConnectionList;
|
29
|
+
function PaginatedGroupPlexSourceConnectionListFromJSON(json) {
|
30
|
+
return PaginatedGroupPlexSourceConnectionListFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.PaginatedGroupPlexSourceConnectionListFromJSON = PaginatedGroupPlexSourceConnectionListFromJSON;
|
33
|
+
function PaginatedGroupPlexSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
39
|
+
'results': (json['results'].map(GroupPlexSourceConnection_1.GroupPlexSourceConnectionFromJSON)),
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.PaginatedGroupPlexSourceConnectionListFromJSONTyped = PaginatedGroupPlexSourceConnectionListFromJSONTyped;
|
43
|
+
function PaginatedGroupPlexSourceConnectionListToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
|
52
|
+
'results': (value.results.map(GroupPlexSourceConnection_1.GroupPlexSourceConnectionToJSON)),
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.PaginatedGroupPlexSourceConnectionListToJSON = PaginatedGroupPlexSourceConnectionListToJSON;
|
@@ -0,0 +1,39 @@
|
|
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 { PlexSourcePropertyMapping } from './PlexSourcePropertyMapping';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedPlexSourcePropertyMappingList
|
18
|
+
*/
|
19
|
+
export interface PaginatedPlexSourcePropertyMappingList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedPlexSourcePropertyMappingList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<PlexSourcePropertyMapping>}
|
29
|
+
* @memberof PaginatedPlexSourcePropertyMappingList
|
30
|
+
*/
|
31
|
+
results: Array<PlexSourcePropertyMapping>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedPlexSourcePropertyMappingList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedPlexSourcePropertyMappingList(value: object): boolean;
|
37
|
+
export declare function PaginatedPlexSourcePropertyMappingListFromJSON(json: any): PaginatedPlexSourcePropertyMappingList;
|
38
|
+
export declare function PaginatedPlexSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedPlexSourcePropertyMappingList;
|
39
|
+
export declare function PaginatedPlexSourcePropertyMappingListToJSON(value?: PaginatedPlexSourcePropertyMappingList | null): any;
|
@@ -0,0 +1,55 @@
|
|
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.PaginatedPlexSourcePropertyMappingListToJSON = exports.PaginatedPlexSourcePropertyMappingListFromJSONTyped = exports.PaginatedPlexSourcePropertyMappingListFromJSON = exports.instanceOfPaginatedPlexSourcePropertyMappingList = void 0;
|
17
|
+
const Pagination_1 = require("./Pagination");
|
18
|
+
const PlexSourcePropertyMapping_1 = require("./PlexSourcePropertyMapping");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the PaginatedPlexSourcePropertyMappingList interface.
|
21
|
+
*/
|
22
|
+
function instanceOfPaginatedPlexSourcePropertyMappingList(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "pagination" in value;
|
25
|
+
isInstance = isInstance && "results" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfPaginatedPlexSourcePropertyMappingList = instanceOfPaginatedPlexSourcePropertyMappingList;
|
29
|
+
function PaginatedPlexSourcePropertyMappingListFromJSON(json) {
|
30
|
+
return PaginatedPlexSourcePropertyMappingListFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.PaginatedPlexSourcePropertyMappingListFromJSON = PaginatedPlexSourcePropertyMappingListFromJSON;
|
33
|
+
function PaginatedPlexSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
39
|
+
'results': (json['results'].map(PlexSourcePropertyMapping_1.PlexSourcePropertyMappingFromJSON)),
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.PaginatedPlexSourcePropertyMappingListFromJSONTyped = PaginatedPlexSourcePropertyMappingListFromJSONTyped;
|
43
|
+
function PaginatedPlexSourcePropertyMappingListToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
|
52
|
+
'results': (value.results.map(PlexSourcePropertyMapping_1.PlexSourcePropertyMappingToJSON)),
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.PaginatedPlexSourcePropertyMappingListToJSON = PaginatedPlexSourcePropertyMappingListToJSON;
|
@@ -0,0 +1,39 @@
|
|
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 { UserPlexSourceConnection } from './UserPlexSourceConnection';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedUserPlexSourceConnectionList
|
18
|
+
*/
|
19
|
+
export interface PaginatedUserPlexSourceConnectionList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedUserPlexSourceConnectionList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<UserPlexSourceConnection>}
|
29
|
+
* @memberof PaginatedUserPlexSourceConnectionList
|
30
|
+
*/
|
31
|
+
results: Array<UserPlexSourceConnection>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedUserPlexSourceConnectionList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedUserPlexSourceConnectionList(value: object): boolean;
|
37
|
+
export declare function PaginatedUserPlexSourceConnectionListFromJSON(json: any): PaginatedUserPlexSourceConnectionList;
|
38
|
+
export declare function PaginatedUserPlexSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedUserPlexSourceConnectionList;
|
39
|
+
export declare function PaginatedUserPlexSourceConnectionListToJSON(value?: PaginatedUserPlexSourceConnectionList | null): any;
|