@goauthentik/api 2022.4.1-1652479731 → 2022.4.1-1652556994
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/models/PatchedPlexSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/PatchedPlexSourceConnectionRequest.js +0 -2
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +0 -2
- package/dist/esm/models/PlexSourceConnection.d.ts +3 -2
- package/dist/esm/models/PlexSourceConnection.js +2 -2
- package/dist/esm/models/PlexSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/PlexSourceConnectionRequest.js +0 -2
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +3 -2
- package/dist/esm/models/UserOAuthSourceConnection.js +2 -2
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +0 -2
- package/dist/models/PatchedPlexSourceConnectionRequest.d.ts +0 -6
- package/dist/models/PatchedPlexSourceConnectionRequest.js +0 -2
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +0 -2
- package/dist/models/PlexSourceConnection.d.ts +3 -2
- package/dist/models/PlexSourceConnection.js +2 -2
- package/dist/models/PlexSourceConnectionRequest.d.ts +0 -6
- package/dist/models/PlexSourceConnectionRequest.js +0 -2
- package/dist/models/UserOAuthSourceConnection.d.ts +3 -2
- package/dist/models/UserOAuthSourceConnection.js +2 -2
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +0 -6
- package/dist/models/UserOAuthSourceConnectionRequest.js +0 -2
- package/package.json +1 -1
- package/src/models/PatchedPlexSourceConnectionRequest.ts +0 -8
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +0 -8
- package/src/models/PlexSourceConnection.ts +10 -4
- package/src/models/PlexSourceConnectionRequest.ts +0 -8
- package/src/models/UserOAuthSourceConnection.ts +10 -4
- package/src/models/UserOAuthSourceConnectionRequest.ts +0 -8
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface PatchedPlexSourceConnectionRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface PatchedPlexSourceConnectionRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PatchedPlexSourceConnectionRequest
|
|
22
|
-
*/
|
|
23
|
-
source?: string;
|
|
24
18
|
/**
|
|
25
19
|
*
|
|
26
20
|
* @type {string}
|
|
@@ -20,7 +20,6 @@ export function PatchedPlexSourceConnectionRequestFromJSONTyped(json, ignoreDisc
|
|
|
20
20
|
return json;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
-
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
24
23
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
|
25
24
|
'plexToken': !exists(json, 'plex_token') ? undefined : json['plex_token'],
|
|
26
25
|
};
|
|
@@ -33,7 +32,6 @@ export function PatchedPlexSourceConnectionRequestToJSON(value) {
|
|
|
33
32
|
return null;
|
|
34
33
|
}
|
|
35
34
|
return {
|
|
36
|
-
'source': value.source,
|
|
37
35
|
'identifier': value.identifier,
|
|
38
36
|
'plex_token': value.plexToken,
|
|
39
37
|
};
|
|
@@ -21,12 +21,6 @@ export interface PatchedUserOAuthSourceConnectionRequest {
|
|
|
21
21
|
* @memberof PatchedUserOAuthSourceConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
user?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PatchedUserOAuthSourceConnectionRequest
|
|
28
|
-
*/
|
|
29
|
-
source?: string;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
@@ -21,7 +21,6 @@ export function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json, ignor
|
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
23
|
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
24
|
-
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
25
24
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
|
26
25
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
|
27
26
|
};
|
|
@@ -35,7 +34,6 @@ export function PatchedUserOAuthSourceConnectionRequestToJSON(value) {
|
|
|
35
34
|
}
|
|
36
35
|
return {
|
|
37
36
|
'user': value.user,
|
|
38
|
-
'source': value.source,
|
|
39
37
|
'identifier': value.identifier,
|
|
40
38
|
'access_token': value.accessToken,
|
|
41
39
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Source } from './Source';
|
|
12
13
|
/**
|
|
13
14
|
* Plex Source connection Serializer
|
|
14
15
|
* @export
|
|
@@ -29,10 +30,10 @@ export interface PlexSourceConnection {
|
|
|
29
30
|
readonly user: number;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {
|
|
33
|
+
* @type {Source}
|
|
33
34
|
* @memberof PlexSourceConnection
|
|
34
35
|
*/
|
|
35
|
-
source:
|
|
36
|
+
readonly source: Source | null;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
39
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SourceFromJSON, } from './Source';
|
|
14
15
|
export function PlexSourceConnectionFromJSON(json) {
|
|
15
16
|
return PlexSourceConnectionFromJSONTyped(json, false);
|
|
16
17
|
}
|
|
@@ -21,7 +22,7 @@ export function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
22
|
return {
|
|
22
23
|
'pk': json['pk'],
|
|
23
24
|
'user': json['user'],
|
|
24
|
-
'source': json['source'],
|
|
25
|
+
'source': SourceFromJSON(json['source']),
|
|
25
26
|
'identifier': json['identifier'],
|
|
26
27
|
'plexToken': json['plex_token'],
|
|
27
28
|
};
|
|
@@ -34,7 +35,6 @@ export function PlexSourceConnectionToJSON(value) {
|
|
|
34
35
|
return null;
|
|
35
36
|
}
|
|
36
37
|
return {
|
|
37
|
-
'source': value.source,
|
|
38
38
|
'identifier': value.identifier,
|
|
39
39
|
'plex_token': value.plexToken,
|
|
40
40
|
};
|
|
@@ -19,7 +19,6 @@ export function PlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
19
19
|
return json;
|
|
20
20
|
}
|
|
21
21
|
return {
|
|
22
|
-
'source': json['source'],
|
|
23
22
|
'identifier': json['identifier'],
|
|
24
23
|
'plexToken': json['plex_token'],
|
|
25
24
|
};
|
|
@@ -32,7 +31,6 @@ export function PlexSourceConnectionRequestToJSON(value) {
|
|
|
32
31
|
return null;
|
|
33
32
|
}
|
|
34
33
|
return {
|
|
35
|
-
'source': value.source,
|
|
36
34
|
'identifier': value.identifier,
|
|
37
35
|
'plex_token': value.plexToken,
|
|
38
36
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Source } from './Source';
|
|
12
13
|
/**
|
|
13
14
|
* OAuth Source Serializer
|
|
14
15
|
* @export
|
|
@@ -29,10 +30,10 @@ export interface UserOAuthSourceConnection {
|
|
|
29
30
|
user: number;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {
|
|
33
|
+
* @type {Source}
|
|
33
34
|
* @memberof UserOAuthSourceConnection
|
|
34
35
|
*/
|
|
35
|
-
source:
|
|
36
|
+
readonly source: Source | null;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
39
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SourceFromJSON, } from './Source';
|
|
14
15
|
export function UserOAuthSourceConnectionFromJSON(json) {
|
|
15
16
|
return UserOAuthSourceConnectionFromJSONTyped(json, false);
|
|
16
17
|
}
|
|
@@ -21,7 +22,7 @@ export function UserOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator
|
|
|
21
22
|
return {
|
|
22
23
|
'pk': json['pk'],
|
|
23
24
|
'user': json['user'],
|
|
24
|
-
'source': json['source'],
|
|
25
|
+
'source': SourceFromJSON(json['source']),
|
|
25
26
|
'identifier': json['identifier'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
@@ -34,7 +35,6 @@ export function UserOAuthSourceConnectionToJSON(value) {
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'user': value.user,
|
|
37
|
-
'source': value.source,
|
|
38
38
|
'identifier': value.identifier,
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -21,12 +21,6 @@ export interface UserOAuthSourceConnectionRequest {
|
|
|
21
21
|
* @memberof UserOAuthSourceConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
user: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UserOAuthSourceConnectionRequest
|
|
28
|
-
*/
|
|
29
|
-
source: string;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
@@ -21,7 +21,6 @@ export function UserOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscri
|
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
23
|
'user': json['user'],
|
|
24
|
-
'source': json['source'],
|
|
25
24
|
'identifier': json['identifier'],
|
|
26
25
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
|
27
26
|
};
|
|
@@ -35,7 +34,6 @@ export function UserOAuthSourceConnectionRequestToJSON(value) {
|
|
|
35
34
|
}
|
|
36
35
|
return {
|
|
37
36
|
'user': value.user,
|
|
38
|
-
'source': value.source,
|
|
39
37
|
'identifier': value.identifier,
|
|
40
38
|
'access_token': value.accessToken,
|
|
41
39
|
};
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface PatchedPlexSourceConnectionRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface PatchedPlexSourceConnectionRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PatchedPlexSourceConnectionRequest
|
|
22
|
-
*/
|
|
23
|
-
source?: string;
|
|
24
18
|
/**
|
|
25
19
|
*
|
|
26
20
|
* @type {string}
|
|
@@ -24,7 +24,6 @@ function PatchedPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
-
'source': !runtime_1.exists(json, 'source') ? undefined : json['source'],
|
|
28
27
|
'identifier': !runtime_1.exists(json, 'identifier') ? undefined : json['identifier'],
|
|
29
28
|
'plexToken': !runtime_1.exists(json, 'plex_token') ? undefined : json['plex_token'],
|
|
30
29
|
};
|
|
@@ -38,7 +37,6 @@ function PatchedPlexSourceConnectionRequestToJSON(value) {
|
|
|
38
37
|
return null;
|
|
39
38
|
}
|
|
40
39
|
return {
|
|
41
|
-
'source': value.source,
|
|
42
40
|
'identifier': value.identifier,
|
|
43
41
|
'plex_token': value.plexToken,
|
|
44
42
|
};
|
|
@@ -21,12 +21,6 @@ export interface PatchedUserOAuthSourceConnectionRequest {
|
|
|
21
21
|
* @memberof PatchedUserOAuthSourceConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
user?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PatchedUserOAuthSourceConnectionRequest
|
|
28
|
-
*/
|
|
29
|
-
source?: string;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
@@ -25,7 +25,6 @@ function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscri
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'user': !runtime_1.exists(json, 'user') ? undefined : json['user'],
|
|
28
|
-
'source': !runtime_1.exists(json, 'source') ? undefined : json['source'],
|
|
29
28
|
'identifier': !runtime_1.exists(json, 'identifier') ? undefined : json['identifier'],
|
|
30
29
|
'accessToken': !runtime_1.exists(json, 'access_token') ? undefined : json['access_token'],
|
|
31
30
|
};
|
|
@@ -40,7 +39,6 @@ function PatchedUserOAuthSourceConnectionRequestToJSON(value) {
|
|
|
40
39
|
}
|
|
41
40
|
return {
|
|
42
41
|
'user': value.user,
|
|
43
|
-
'source': value.source,
|
|
44
42
|
'identifier': value.identifier,
|
|
45
43
|
'access_token': value.accessToken,
|
|
46
44
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Source } from './Source';
|
|
12
13
|
/**
|
|
13
14
|
* Plex Source connection Serializer
|
|
14
15
|
* @export
|
|
@@ -29,10 +30,10 @@ export interface PlexSourceConnection {
|
|
|
29
30
|
readonly user: number;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {
|
|
33
|
+
* @type {Source}
|
|
33
34
|
* @memberof PlexSourceConnection
|
|
34
35
|
*/
|
|
35
|
-
source:
|
|
36
|
+
readonly source: Source | null;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
39
|
* @type {string}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PlexSourceConnectionToJSON = exports.PlexSourceConnectionFromJSONTyped = exports.PlexSourceConnectionFromJSON = void 0;
|
|
17
|
+
const Source_1 = require("./Source");
|
|
17
18
|
function PlexSourceConnectionFromJSON(json) {
|
|
18
19
|
return PlexSourceConnectionFromJSONTyped(json, false);
|
|
19
20
|
}
|
|
@@ -25,7 +26,7 @@ function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
26
|
return {
|
|
26
27
|
'pk': json['pk'],
|
|
27
28
|
'user': json['user'],
|
|
28
|
-
'source': json['source'],
|
|
29
|
+
'source': Source_1.SourceFromJSON(json['source']),
|
|
29
30
|
'identifier': json['identifier'],
|
|
30
31
|
'plexToken': json['plex_token'],
|
|
31
32
|
};
|
|
@@ -39,7 +40,6 @@ function PlexSourceConnectionToJSON(value) {
|
|
|
39
40
|
return null;
|
|
40
41
|
}
|
|
41
42
|
return {
|
|
42
|
-
'source': value.source,
|
|
43
43
|
'identifier': value.identifier,
|
|
44
44
|
'plex_token': value.plexToken,
|
|
45
45
|
};
|
|
@@ -23,7 +23,6 @@ function PlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
return json;
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
|
-
'source': json['source'],
|
|
27
26
|
'identifier': json['identifier'],
|
|
28
27
|
'plexToken': json['plex_token'],
|
|
29
28
|
};
|
|
@@ -37,7 +36,6 @@ function PlexSourceConnectionRequestToJSON(value) {
|
|
|
37
36
|
return null;
|
|
38
37
|
}
|
|
39
38
|
return {
|
|
40
|
-
'source': value.source,
|
|
41
39
|
'identifier': value.identifier,
|
|
42
40
|
'plex_token': value.plexToken,
|
|
43
41
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Source } from './Source';
|
|
12
13
|
/**
|
|
13
14
|
* OAuth Source Serializer
|
|
14
15
|
* @export
|
|
@@ -29,10 +30,10 @@ export interface UserOAuthSourceConnection {
|
|
|
29
30
|
user: number;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {
|
|
33
|
+
* @type {Source}
|
|
33
34
|
* @memberof UserOAuthSourceConnection
|
|
34
35
|
*/
|
|
35
|
-
source:
|
|
36
|
+
readonly source: Source | null;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
39
|
* @type {string}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UserOAuthSourceConnectionToJSON = exports.UserOAuthSourceConnectionFromJSONTyped = exports.UserOAuthSourceConnectionFromJSON = void 0;
|
|
17
|
+
const Source_1 = require("./Source");
|
|
17
18
|
function UserOAuthSourceConnectionFromJSON(json) {
|
|
18
19
|
return UserOAuthSourceConnectionFromJSONTyped(json, false);
|
|
19
20
|
}
|
|
@@ -25,7 +26,7 @@ function UserOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
26
|
return {
|
|
26
27
|
'pk': json['pk'],
|
|
27
28
|
'user': json['user'],
|
|
28
|
-
'source': json['source'],
|
|
29
|
+
'source': Source_1.SourceFromJSON(json['source']),
|
|
29
30
|
'identifier': json['identifier'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
@@ -39,7 +40,6 @@ function UserOAuthSourceConnectionToJSON(value) {
|
|
|
39
40
|
}
|
|
40
41
|
return {
|
|
41
42
|
'user': value.user,
|
|
42
|
-
'source': value.source,
|
|
43
43
|
'identifier': value.identifier,
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -21,12 +21,6 @@ export interface UserOAuthSourceConnectionRequest {
|
|
|
21
21
|
* @memberof UserOAuthSourceConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
user: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UserOAuthSourceConnectionRequest
|
|
28
|
-
*/
|
|
29
|
-
source: string;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
@@ -25,7 +25,6 @@ function UserOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'user': json['user'],
|
|
28
|
-
'source': json['source'],
|
|
29
28
|
'identifier': json['identifier'],
|
|
30
29
|
'accessToken': !runtime_1.exists(json, 'access_token') ? undefined : json['access_token'],
|
|
31
30
|
};
|
|
@@ -40,7 +39,6 @@ function UserOAuthSourceConnectionRequestToJSON(value) {
|
|
|
40
39
|
}
|
|
41
40
|
return {
|
|
42
41
|
'user': value.user,
|
|
43
|
-
'source': value.source,
|
|
44
42
|
'identifier': value.identifier,
|
|
45
43
|
'access_token': value.accessToken,
|
|
46
44
|
};
|
package/package.json
CHANGED
|
@@ -19,12 +19,6 @@ import { exists, mapValues } from '../runtime';
|
|
|
19
19
|
* @interface PatchedPlexSourceConnectionRequest
|
|
20
20
|
*/
|
|
21
21
|
export interface PatchedPlexSourceConnectionRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PatchedPlexSourceConnectionRequest
|
|
26
|
-
*/
|
|
27
|
-
source?: string;
|
|
28
22
|
/**
|
|
29
23
|
*
|
|
30
24
|
* @type {string}
|
|
@@ -49,7 +43,6 @@ export function PatchedPlexSourceConnectionRequestFromJSONTyped(json: any, ignor
|
|
|
49
43
|
}
|
|
50
44
|
return {
|
|
51
45
|
|
|
52
|
-
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
53
46
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
|
54
47
|
'plexToken': !exists(json, 'plex_token') ? undefined : json['plex_token'],
|
|
55
48
|
};
|
|
@@ -64,7 +57,6 @@ export function PatchedPlexSourceConnectionRequestToJSON(value?: PatchedPlexSour
|
|
|
64
57
|
}
|
|
65
58
|
return {
|
|
66
59
|
|
|
67
|
-
'source': value.source,
|
|
68
60
|
'identifier': value.identifier,
|
|
69
61
|
'plex_token': value.plexToken,
|
|
70
62
|
};
|
|
@@ -25,12 +25,6 @@ export interface PatchedUserOAuthSourceConnectionRequest {
|
|
|
25
25
|
* @memberof PatchedUserOAuthSourceConnectionRequest
|
|
26
26
|
*/
|
|
27
27
|
user?: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PatchedUserOAuthSourceConnectionRequest
|
|
32
|
-
*/
|
|
33
|
-
source?: string;
|
|
34
28
|
/**
|
|
35
29
|
*
|
|
36
30
|
* @type {string}
|
|
@@ -56,7 +50,6 @@ export function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json: any,
|
|
|
56
50
|
return {
|
|
57
51
|
|
|
58
52
|
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
59
|
-
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
60
53
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
|
61
54
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
|
62
55
|
};
|
|
@@ -72,7 +65,6 @@ export function PatchedUserOAuthSourceConnectionRequestToJSON(value?: PatchedUse
|
|
|
72
65
|
return {
|
|
73
66
|
|
|
74
67
|
'user': value.user,
|
|
75
|
-
'source': value.source,
|
|
76
68
|
'identifier': value.identifier,
|
|
77
69
|
'access_token': value.accessToken,
|
|
78
70
|
};
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
Source,
|
|
18
|
+
SourceFromJSON,
|
|
19
|
+
SourceFromJSONTyped,
|
|
20
|
+
SourceToJSON,
|
|
21
|
+
} from './Source';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
* Plex Source connection Serializer
|
|
18
25
|
* @export
|
|
@@ -33,10 +40,10 @@ export interface PlexSourceConnection {
|
|
|
33
40
|
readonly user: number;
|
|
34
41
|
/**
|
|
35
42
|
*
|
|
36
|
-
* @type {
|
|
43
|
+
* @type {Source}
|
|
37
44
|
* @memberof PlexSourceConnection
|
|
38
45
|
*/
|
|
39
|
-
source:
|
|
46
|
+
readonly source: Source | null;
|
|
40
47
|
/**
|
|
41
48
|
*
|
|
42
49
|
* @type {string}
|
|
@@ -63,7 +70,7 @@ export function PlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
63
70
|
|
|
64
71
|
'pk': json['pk'],
|
|
65
72
|
'user': json['user'],
|
|
66
|
-
'source': json['source'],
|
|
73
|
+
'source': SourceFromJSON(json['source']),
|
|
67
74
|
'identifier': json['identifier'],
|
|
68
75
|
'plexToken': json['plex_token'],
|
|
69
76
|
};
|
|
@@ -78,7 +85,6 @@ export function PlexSourceConnectionToJSON(value?: PlexSourceConnection | null):
|
|
|
78
85
|
}
|
|
79
86
|
return {
|
|
80
87
|
|
|
81
|
-
'source': value.source,
|
|
82
88
|
'identifier': value.identifier,
|
|
83
89
|
'plex_token': value.plexToken,
|
|
84
90
|
};
|
|
@@ -19,12 +19,6 @@ import { exists, mapValues } from '../runtime';
|
|
|
19
19
|
* @interface PlexSourceConnectionRequest
|
|
20
20
|
*/
|
|
21
21
|
export interface PlexSourceConnectionRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PlexSourceConnectionRequest
|
|
26
|
-
*/
|
|
27
|
-
source: string;
|
|
28
22
|
/**
|
|
29
23
|
*
|
|
30
24
|
* @type {string}
|
|
@@ -49,7 +43,6 @@ export function PlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscri
|
|
|
49
43
|
}
|
|
50
44
|
return {
|
|
51
45
|
|
|
52
|
-
'source': json['source'],
|
|
53
46
|
'identifier': json['identifier'],
|
|
54
47
|
'plexToken': json['plex_token'],
|
|
55
48
|
};
|
|
@@ -64,7 +57,6 @@ export function PlexSourceConnectionRequestToJSON(value?: PlexSourceConnectionRe
|
|
|
64
57
|
}
|
|
65
58
|
return {
|
|
66
59
|
|
|
67
|
-
'source': value.source,
|
|
68
60
|
'identifier': value.identifier,
|
|
69
61
|
'plex_token': value.plexToken,
|
|
70
62
|
};
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
Source,
|
|
18
|
+
SourceFromJSON,
|
|
19
|
+
SourceFromJSONTyped,
|
|
20
|
+
SourceToJSON,
|
|
21
|
+
} from './Source';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
* OAuth Source Serializer
|
|
18
25
|
* @export
|
|
@@ -33,10 +40,10 @@ export interface UserOAuthSourceConnection {
|
|
|
33
40
|
user: number;
|
|
34
41
|
/**
|
|
35
42
|
*
|
|
36
|
-
* @type {
|
|
43
|
+
* @type {Source}
|
|
37
44
|
* @memberof UserOAuthSourceConnection
|
|
38
45
|
*/
|
|
39
|
-
source:
|
|
46
|
+
readonly source: Source | null;
|
|
40
47
|
/**
|
|
41
48
|
*
|
|
42
49
|
* @type {string}
|
|
@@ -57,7 +64,7 @@ export function UserOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
57
64
|
|
|
58
65
|
'pk': json['pk'],
|
|
59
66
|
'user': json['user'],
|
|
60
|
-
'source': json['source'],
|
|
67
|
+
'source': SourceFromJSON(json['source']),
|
|
61
68
|
'identifier': json['identifier'],
|
|
62
69
|
};
|
|
63
70
|
}
|
|
@@ -72,7 +79,6 @@ export function UserOAuthSourceConnectionToJSON(value?: UserOAuthSourceConnectio
|
|
|
72
79
|
return {
|
|
73
80
|
|
|
74
81
|
'user': value.user,
|
|
75
|
-
'source': value.source,
|
|
76
82
|
'identifier': value.identifier,
|
|
77
83
|
};
|
|
78
84
|
}
|
|
@@ -25,12 +25,6 @@ export interface UserOAuthSourceConnectionRequest {
|
|
|
25
25
|
* @memberof UserOAuthSourceConnectionRequest
|
|
26
26
|
*/
|
|
27
27
|
user: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UserOAuthSourceConnectionRequest
|
|
32
|
-
*/
|
|
33
|
-
source: string;
|
|
34
28
|
/**
|
|
35
29
|
*
|
|
36
30
|
* @type {string}
|
|
@@ -56,7 +50,6 @@ export function UserOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreD
|
|
|
56
50
|
return {
|
|
57
51
|
|
|
58
52
|
'user': json['user'],
|
|
59
|
-
'source': json['source'],
|
|
60
53
|
'identifier': json['identifier'],
|
|
61
54
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
|
62
55
|
};
|
|
@@ -72,7 +65,6 @@ export function UserOAuthSourceConnectionRequestToJSON(value?: UserOAuthSourceCo
|
|
|
72
65
|
return {
|
|
73
66
|
|
|
74
67
|
'user': value.user,
|
|
75
|
-
'source': value.source,
|
|
76
68
|
'identifier': value.identifier,
|
|
77
69
|
'access_token': value.accessToken,
|
|
78
70
|
};
|