@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
@@ -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;
|
@@ -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 PlexSourceConnectionRequest
|
16
|
-
*/
|
17
|
-
export interface PlexSourceConnectionRequest {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {string}
|
21
|
-
* @memberof PlexSourceConnectionRequest
|
22
|
-
*/
|
23
|
-
identifier: string;
|
24
|
-
/**
|
25
|
-
*
|
26
|
-
* @type {string}
|
27
|
-
* @memberof PlexSourceConnectionRequest
|
28
|
-
*/
|
29
|
-
plexToken: string;
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Check if a given object implements the PlexSourceConnectionRequest interface.
|
33
|
-
*/
|
34
|
-
export declare function instanceOfPlexSourceConnectionRequest(value: object): boolean;
|
35
|
-
export declare function PlexSourceConnectionRequestFromJSON(json: any): PlexSourceConnectionRequest;
|
36
|
-
export declare function PlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourceConnectionRequest;
|
37
|
-
export declare function PlexSourceConnectionRequestToJSON(value?: PlexSourceConnectionRequest | null): any;
|
@@ -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,55 +0,0 @@
|
|
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.PaginatedPlexSourceConnectionListToJSON = exports.PaginatedPlexSourceConnectionListFromJSONTyped = exports.PaginatedPlexSourceConnectionListFromJSON = exports.instanceOfPaginatedPlexSourceConnectionList = void 0;
|
17
|
-
const Pagination_1 = require("./Pagination");
|
18
|
-
const PlexSourceConnection_1 = require("./PlexSourceConnection");
|
19
|
-
/**
|
20
|
-
* Check if a given object implements the PaginatedPlexSourceConnectionList interface.
|
21
|
-
*/
|
22
|
-
function instanceOfPaginatedPlexSourceConnectionList(value) {
|
23
|
-
let isInstance = true;
|
24
|
-
isInstance = isInstance && "pagination" in value;
|
25
|
-
isInstance = isInstance && "results" in value;
|
26
|
-
return isInstance;
|
27
|
-
}
|
28
|
-
exports.instanceOfPaginatedPlexSourceConnectionList = instanceOfPaginatedPlexSourceConnectionList;
|
29
|
-
function PaginatedPlexSourceConnectionListFromJSON(json) {
|
30
|
-
return PaginatedPlexSourceConnectionListFromJSONTyped(json, false);
|
31
|
-
}
|
32
|
-
exports.PaginatedPlexSourceConnectionListFromJSON = PaginatedPlexSourceConnectionListFromJSON;
|
33
|
-
function PaginatedPlexSourceConnectionListFromJSONTyped(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(PlexSourceConnection_1.PlexSourceConnectionFromJSON)),
|
40
|
-
};
|
41
|
-
}
|
42
|
-
exports.PaginatedPlexSourceConnectionListFromJSONTyped = PaginatedPlexSourceConnectionListFromJSONTyped;
|
43
|
-
function PaginatedPlexSourceConnectionListToJSON(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(PlexSourceConnection_1.PlexSourceConnectionToJSON)),
|
53
|
-
};
|
54
|
-
}
|
55
|
-
exports.PaginatedPlexSourceConnectionListToJSON = PaginatedPlexSourceConnectionListToJSON;
|
@@ -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,52 +0,0 @@
|
|
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.PatchedPlexSourceConnectionRequestToJSON = exports.PatchedPlexSourceConnectionRequestFromJSONTyped = exports.PatchedPlexSourceConnectionRequestFromJSON = exports.instanceOfPatchedPlexSourceConnectionRequest = void 0;
|
17
|
-
const runtime_1 = require("../runtime");
|
18
|
-
/**
|
19
|
-
* Check if a given object implements the PatchedPlexSourceConnectionRequest interface.
|
20
|
-
*/
|
21
|
-
function instanceOfPatchedPlexSourceConnectionRequest(value) {
|
22
|
-
let isInstance = true;
|
23
|
-
return isInstance;
|
24
|
-
}
|
25
|
-
exports.instanceOfPatchedPlexSourceConnectionRequest = instanceOfPatchedPlexSourceConnectionRequest;
|
26
|
-
function PatchedPlexSourceConnectionRequestFromJSON(json) {
|
27
|
-
return PatchedPlexSourceConnectionRequestFromJSONTyped(json, false);
|
28
|
-
}
|
29
|
-
exports.PatchedPlexSourceConnectionRequestFromJSON = PatchedPlexSourceConnectionRequestFromJSON;
|
30
|
-
function PatchedPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
-
if ((json === undefined) || (json === null)) {
|
32
|
-
return json;
|
33
|
-
}
|
34
|
-
return {
|
35
|
-
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
36
|
-
'plexToken': !(0, runtime_1.exists)(json, 'plex_token') ? undefined : json['plex_token'],
|
37
|
-
};
|
38
|
-
}
|
39
|
-
exports.PatchedPlexSourceConnectionRequestFromJSONTyped = PatchedPlexSourceConnectionRequestFromJSONTyped;
|
40
|
-
function PatchedPlexSourceConnectionRequestToJSON(value) {
|
41
|
-
if (value === undefined) {
|
42
|
-
return undefined;
|
43
|
-
}
|
44
|
-
if (value === null) {
|
45
|
-
return null;
|
46
|
-
}
|
47
|
-
return {
|
48
|
-
'identifier': value.identifier,
|
49
|
-
'plex_token': value.plexToken,
|
50
|
-
};
|
51
|
-
}
|
52
|
-
exports.PatchedPlexSourceConnectionRequestToJSON = PatchedPlexSourceConnectionRequestToJSON;
|
@@ -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;
|
@@ -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 PlexSourceConnectionRequest
|
16
|
-
*/
|
17
|
-
export interface PlexSourceConnectionRequest {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {string}
|
21
|
-
* @memberof PlexSourceConnectionRequest
|
22
|
-
*/
|
23
|
-
identifier: string;
|
24
|
-
/**
|
25
|
-
*
|
26
|
-
* @type {string}
|
27
|
-
* @memberof PlexSourceConnectionRequest
|
28
|
-
*/
|
29
|
-
plexToken: string;
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Check if a given object implements the PlexSourceConnectionRequest interface.
|
33
|
-
*/
|
34
|
-
export declare function instanceOfPlexSourceConnectionRequest(value: object): boolean;
|
35
|
-
export declare function PlexSourceConnectionRequestFromJSON(json: any): PlexSourceConnectionRequest;
|
36
|
-
export declare function PlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourceConnectionRequest;
|
37
|
-
export declare function PlexSourceConnectionRequestToJSON(value?: PlexSourceConnectionRequest | null): any;
|
@@ -1,53 +0,0 @@
|
|
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.PlexSourceConnectionRequestToJSON = exports.PlexSourceConnectionRequestFromJSONTyped = exports.PlexSourceConnectionRequestFromJSON = exports.instanceOfPlexSourceConnectionRequest = void 0;
|
17
|
-
/**
|
18
|
-
* Check if a given object implements the PlexSourceConnectionRequest interface.
|
19
|
-
*/
|
20
|
-
function instanceOfPlexSourceConnectionRequest(value) {
|
21
|
-
let isInstance = true;
|
22
|
-
isInstance = isInstance && "identifier" in value;
|
23
|
-
isInstance = isInstance && "plexToken" in value;
|
24
|
-
return isInstance;
|
25
|
-
}
|
26
|
-
exports.instanceOfPlexSourceConnectionRequest = instanceOfPlexSourceConnectionRequest;
|
27
|
-
function PlexSourceConnectionRequestFromJSON(json) {
|
28
|
-
return PlexSourceConnectionRequestFromJSONTyped(json, false);
|
29
|
-
}
|
30
|
-
exports.PlexSourceConnectionRequestFromJSON = PlexSourceConnectionRequestFromJSON;
|
31
|
-
function PlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
32
|
-
if ((json === undefined) || (json === null)) {
|
33
|
-
return json;
|
34
|
-
}
|
35
|
-
return {
|
36
|
-
'identifier': json['identifier'],
|
37
|
-
'plexToken': json['plex_token'],
|
38
|
-
};
|
39
|
-
}
|
40
|
-
exports.PlexSourceConnectionRequestFromJSONTyped = PlexSourceConnectionRequestFromJSONTyped;
|
41
|
-
function PlexSourceConnectionRequestToJSON(value) {
|
42
|
-
if (value === undefined) {
|
43
|
-
return undefined;
|
44
|
-
}
|
45
|
-
if (value === null) {
|
46
|
-
return null;
|
47
|
-
}
|
48
|
-
return {
|
49
|
-
'identifier': value.identifier,
|
50
|
-
'plex_token': value.plexToken,
|
51
|
-
};
|
52
|
-
}
|
53
|
-
exports.PlexSourceConnectionRequestToJSON = PlexSourceConnectionRequestToJSON;
|