@goauthentik/api 2024.10.5-1734022840 → 2024.10.5-1734524927
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/.openapi-generator/FILES +10 -0
- package/dist/apis/SourcesApi.d.ts +21 -5
- package/dist/apis/SourcesApi.js +51 -6
- package/dist/esm/apis/SourcesApi.d.ts +21 -5
- package/dist/esm/apis/SourcesApi.js +52 -7
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserPlexSourceConnection.js +5 -1
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserSourceConnection.js +7 -2
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
- package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/models/GroupPlexSourceConnection.js +8 -2
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/models/UserKerberosSourceConnection.js +4 -1
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/models/UserOAuthSourceConnection.js +5 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/models/UserPlexSourceConnection.js +5 -1
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/models/UserSAMLSourceConnection.js +5 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/models/UserSourceConnection.d.ts +9 -3
- package/dist/models/UserSourceConnection.js +7 -2
- package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- package/src/apis/SourcesApi.ts +118 -6
- package/src/models/GroupKerberosSourceConnection.ts +15 -4
- package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
- package/src/models/GroupOAuthSourceConnection.ts +15 -4
- package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
- package/src/models/GroupPlexSourceConnection.ts +15 -4
- package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
- package/src/models/GroupSAMLSourceConnection.ts +15 -4
- package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
- package/src/models/UserKerberosSourceConnection.ts +11 -2
- package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
- package/src/models/UserOAuthSourceConnection.ts +13 -3
- package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
- package/src/models/UserPlexSourceConnection.ts +13 -3
- package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
- package/src/models/UserSAMLSourceConnection.ts +13 -3
- package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
- package/src/models/UserSourceConnection.ts +14 -4
- package/src/models/UserSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +10 -0
|
@@ -23,6 +23,7 @@ function instanceOfGroupSAMLSourceConnection(value) {
|
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
|
24
24
|
isInstance = isInstance && "group" in value;
|
|
25
25
|
isInstance = isInstance && "source" in value;
|
|
26
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
26
27
|
isInstance = isInstance && "identifier" in value;
|
|
27
28
|
isInstance = isInstance && "created" in value;
|
|
28
29
|
return isInstance;
|
|
@@ -39,7 +40,8 @@ function GroupSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
return {
|
|
40
41
|
'pk': json['pk'],
|
|
41
42
|
'group': json['group'],
|
|
42
|
-
'source':
|
|
43
|
+
'source': json['source'],
|
|
44
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
43
45
|
'identifier': json['identifier'],
|
|
44
46
|
'created': (new Date(json['created'])),
|
|
45
47
|
};
|
|
@@ -52,6 +54,10 @@ function GroupSAMLSourceConnectionToJSON(value) {
|
|
|
52
54
|
if (value === null) {
|
|
53
55
|
return null;
|
|
54
56
|
}
|
|
55
|
-
return {
|
|
57
|
+
return {
|
|
58
|
+
'group': value.group,
|
|
59
|
+
'source': value.source,
|
|
60
|
+
'identifier': value.identifier,
|
|
61
|
+
};
|
|
56
62
|
}
|
|
57
63
|
exports.GroupSAMLSourceConnectionToJSON = GroupSAMLSourceConnectionToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* OAuth Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupSAMLSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupSAMLSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupSAMLSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function GroupSAMLSourceConnectionRequestFromJSON(json: any): GroupSAMLSourceConnectionRequest;
|
|
42
|
+
export declare function GroupSAMLSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnectionRequest;
|
|
43
|
+
export declare function GroupSAMLSourceConnectionRequestToJSON(value?: GroupSAMLSourceConnectionRequest | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.10.5
|
|
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.GroupSAMLSourceConnectionRequestToJSON = exports.GroupSAMLSourceConnectionRequestFromJSONTyped = exports.GroupSAMLSourceConnectionRequestFromJSON = exports.instanceOfGroupSAMLSourceConnectionRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGroupSAMLSourceConnectionRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "group" in value;
|
|
23
|
+
isInstance = isInstance && "source" in value;
|
|
24
|
+
isInstance = isInstance && "identifier" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGroupSAMLSourceConnectionRequest = instanceOfGroupSAMLSourceConnectionRequest;
|
|
28
|
+
function GroupSAMLSourceConnectionRequestFromJSON(json) {
|
|
29
|
+
return GroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GroupSAMLSourceConnectionRequestFromJSON = GroupSAMLSourceConnectionRequestFromJSON;
|
|
32
|
+
function GroupSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'group': json['group'],
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'identifier': json['identifier'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.GroupSAMLSourceConnectionRequestFromJSONTyped = GroupSAMLSourceConnectionRequestFromJSONTyped;
|
|
43
|
+
function GroupSAMLSourceConnectionRequestToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'group': value.group,
|
|
52
|
+
'source': value.source,
|
|
53
|
+
'identifier': value.identifier,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.GroupSAMLSourceConnectionRequestToJSON = GroupSAMLSourceConnectionRequestToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* OAuth Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedGroupKerberosSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedGroupKerberosSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedGroupKerberosSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedGroupKerberosSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestFromJSON(json: any): PatchedGroupKerberosSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupKerberosSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestToJSON(value?: PatchedGroupKerberosSourceConnectionRequest | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.10.5
|
|
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.PatchedGroupKerberosSourceConnectionRequestToJSON = exports.PatchedGroupKerberosSourceConnectionRequestFromJSONTyped = exports.PatchedGroupKerberosSourceConnectionRequestFromJSON = exports.instanceOfPatchedGroupKerberosSourceConnectionRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PatchedGroupKerberosSourceConnectionRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPatchedGroupKerberosSourceConnectionRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPatchedGroupKerberosSourceConnectionRequest = instanceOfPatchedGroupKerberosSourceConnectionRequest;
|
|
26
|
+
function PatchedGroupKerberosSourceConnectionRequestFromJSON(json) {
|
|
27
|
+
return PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.PatchedGroupKerberosSourceConnectionRequestFromJSON = PatchedGroupKerberosSourceConnectionRequestFromJSON;
|
|
30
|
+
function PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'group': !(0, runtime_1.exists)(json, 'group') ? undefined : json['group'],
|
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
|
37
|
+
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.PatchedGroupKerberosSourceConnectionRequestFromJSONTyped = PatchedGroupKerberosSourceConnectionRequestFromJSONTyped;
|
|
41
|
+
function PatchedGroupKerberosSourceConnectionRequestToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'group': value.group,
|
|
50
|
+
'source': value.source,
|
|
51
|
+
'identifier': value.identifier,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.PatchedGroupKerberosSourceConnectionRequestToJSON = PatchedGroupKerberosSourceConnectionRequestToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* OAuth Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedGroupOAuthSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedGroupOAuthSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedGroupOAuthSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedGroupOAuthSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestFromJSON(json: any): PatchedGroupOAuthSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupOAuthSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestToJSON(value?: PatchedGroupOAuthSourceConnectionRequest | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.10.5
|
|
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.PatchedGroupOAuthSourceConnectionRequestToJSON = exports.PatchedGroupOAuthSourceConnectionRequestFromJSONTyped = exports.PatchedGroupOAuthSourceConnectionRequestFromJSON = exports.instanceOfPatchedGroupOAuthSourceConnectionRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PatchedGroupOAuthSourceConnectionRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPatchedGroupOAuthSourceConnectionRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPatchedGroupOAuthSourceConnectionRequest = instanceOfPatchedGroupOAuthSourceConnectionRequest;
|
|
26
|
+
function PatchedGroupOAuthSourceConnectionRequestFromJSON(json) {
|
|
27
|
+
return PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.PatchedGroupOAuthSourceConnectionRequestFromJSON = PatchedGroupOAuthSourceConnectionRequestFromJSON;
|
|
30
|
+
function PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'group': !(0, runtime_1.exists)(json, 'group') ? undefined : json['group'],
|
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
|
37
|
+
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.PatchedGroupOAuthSourceConnectionRequestFromJSONTyped = PatchedGroupOAuthSourceConnectionRequestFromJSONTyped;
|
|
41
|
+
function PatchedGroupOAuthSourceConnectionRequestToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'group': value.group,
|
|
50
|
+
'source': value.source,
|
|
51
|
+
'identifier': value.identifier,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.PatchedGroupOAuthSourceConnectionRequestToJSON = PatchedGroupOAuthSourceConnectionRequestToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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 Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedGroupPlexSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedGroupPlexSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedGroupPlexSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedGroupPlexSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function PatchedGroupPlexSourceConnectionRequestFromJSON(json: any): PatchedGroupPlexSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupPlexSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedGroupPlexSourceConnectionRequestToJSON(value?: PatchedGroupPlexSourceConnectionRequest | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.10.5
|
|
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.PatchedGroupPlexSourceConnectionRequestToJSON = exports.PatchedGroupPlexSourceConnectionRequestFromJSONTyped = exports.PatchedGroupPlexSourceConnectionRequestFromJSON = exports.instanceOfPatchedGroupPlexSourceConnectionRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PatchedGroupPlexSourceConnectionRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPatchedGroupPlexSourceConnectionRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPatchedGroupPlexSourceConnectionRequest = instanceOfPatchedGroupPlexSourceConnectionRequest;
|
|
26
|
+
function PatchedGroupPlexSourceConnectionRequestFromJSON(json) {
|
|
27
|
+
return PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.PatchedGroupPlexSourceConnectionRequestFromJSON = PatchedGroupPlexSourceConnectionRequestFromJSON;
|
|
30
|
+
function PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'group': !(0, runtime_1.exists)(json, 'group') ? undefined : json['group'],
|
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
|
37
|
+
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.PatchedGroupPlexSourceConnectionRequestFromJSONTyped = PatchedGroupPlexSourceConnectionRequestFromJSONTyped;
|
|
41
|
+
function PatchedGroupPlexSourceConnectionRequestToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'group': value.group,
|
|
50
|
+
'source': value.source,
|
|
51
|
+
'identifier': value.identifier,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.PatchedGroupPlexSourceConnectionRequestToJSON = PatchedGroupPlexSourceConnectionRequestToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* OAuth Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedGroupSAMLSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedGroupSAMLSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedGroupSAMLSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedGroupSAMLSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestFromJSON(json: any): PatchedGroupSAMLSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupSAMLSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestToJSON(value?: PatchedGroupSAMLSourceConnectionRequest | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.10.5
|
|
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.PatchedGroupSAMLSourceConnectionRequestToJSON = exports.PatchedGroupSAMLSourceConnectionRequestFromJSONTyped = exports.PatchedGroupSAMLSourceConnectionRequestFromJSON = exports.instanceOfPatchedGroupSAMLSourceConnectionRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PatchedGroupSAMLSourceConnectionRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPatchedGroupSAMLSourceConnectionRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPatchedGroupSAMLSourceConnectionRequest = instanceOfPatchedGroupSAMLSourceConnectionRequest;
|
|
26
|
+
function PatchedGroupSAMLSourceConnectionRequestFromJSON(json) {
|
|
27
|
+
return PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.PatchedGroupSAMLSourceConnectionRequestFromJSON = PatchedGroupSAMLSourceConnectionRequestFromJSON;
|
|
30
|
+
function PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'group': !(0, runtime_1.exists)(json, 'group') ? undefined : json['group'],
|
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
|
37
|
+
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.PatchedGroupSAMLSourceConnectionRequestFromJSONTyped = PatchedGroupSAMLSourceConnectionRequestFromJSONTyped;
|
|
41
|
+
function PatchedGroupSAMLSourceConnectionRequestToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'group': value.group,
|
|
50
|
+
'source': value.source,
|
|
51
|
+
'identifier': value.identifier,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.PatchedGroupSAMLSourceConnectionRequestToJSON = PatchedGroupSAMLSourceConnectionRequestToJSON;
|
|
@@ -21,6 +21,12 @@ export interface PatchedUserKerberosSourceConnectionRequest {
|
|
|
21
21
|
* @memberof PatchedUserKerberosSourceConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
user?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedUserKerberosSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
24
30
|
/**
|
|
25
31
|
*
|
|
26
32
|
* @type {string}
|
|
@@ -33,6 +33,7 @@ function PatchedUserKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDis
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : json['user'],
|
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
|
36
37
|
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
@@ -46,6 +47,7 @@ function PatchedUserKerberosSourceConnectionRequestToJSON(value) {
|
|
|
46
47
|
}
|
|
47
48
|
return {
|
|
48
49
|
'user': value.user,
|
|
50
|
+
'source': value.source,
|
|
49
51
|
'identifier': value.identifier,
|
|
50
52
|
};
|
|
51
53
|
}
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface PatchedUserOAuthSourceConnectionRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface PatchedUserOAuthSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PatchedUserOAuthSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
user?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedUserOAuthSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
18
30
|
/**
|
|
19
31
|
*
|
|
20
32
|
* @type {string}
|
|
@@ -32,6 +32,8 @@ function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscri
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
+
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : json['user'],
|
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
|
35
37
|
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
|
36
38
|
'accessToken': !(0, runtime_1.exists)(json, 'access_token') ? undefined : json['access_token'],
|
|
37
39
|
};
|
|
@@ -45,6 +47,8 @@ function PatchedUserOAuthSourceConnectionRequestToJSON(value) {
|
|
|
45
47
|
return null;
|
|
46
48
|
}
|
|
47
49
|
return {
|
|
50
|
+
'user': value.user,
|
|
51
|
+
'source': value.source,
|
|
48
52
|
'identifier': value.identifier,
|
|
49
53
|
'access_token': value.accessToken,
|
|
50
54
|
};
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface PatchedUserPlexSourceConnectionRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface PatchedUserPlexSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PatchedUserPlexSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
user?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedUserPlexSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
18
30
|
/**
|
|
19
31
|
*
|
|
20
32
|
* @type {string}
|
|
@@ -32,6 +32,8 @@ function PatchedUserPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
+
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : json['user'],
|
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
|
35
37
|
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
|
36
38
|
'plexToken': !(0, runtime_1.exists)(json, 'plex_token') ? undefined : json['plex_token'],
|
|
37
39
|
};
|
|
@@ -45,6 +47,8 @@ function PatchedUserPlexSourceConnectionRequestToJSON(value) {
|
|
|
45
47
|
return null;
|
|
46
48
|
}
|
|
47
49
|
return {
|
|
50
|
+
'user': value.user,
|
|
51
|
+
'source': value.source,
|
|
48
52
|
'identifier': value.identifier,
|
|
49
53
|
'plex_token': value.plexToken,
|
|
50
54
|
};
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface PatchedUserSAMLSourceConnectionRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface PatchedUserSAMLSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PatchedUserSAMLSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
user?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedUserSAMLSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
18
30
|
/**
|
|
19
31
|
*
|
|
20
32
|
* @type {string}
|
|
@@ -32,6 +32,8 @@ function PatchedUserSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
+
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : json['user'],
|
|
36
|
+
'source': !(0, runtime_1.exists)(json, 'source') ? undefined : json['source'],
|
|
35
37
|
'identifier': !(0, runtime_1.exists)(json, 'identifier') ? undefined : json['identifier'],
|
|
36
38
|
};
|
|
37
39
|
}
|
|
@@ -44,6 +46,8 @@ function PatchedUserSAMLSourceConnectionRequestToJSON(value) {
|
|
|
44
46
|
return null;
|
|
45
47
|
}
|
|
46
48
|
return {
|
|
49
|
+
'user': value.user,
|
|
50
|
+
'source': value.source,
|
|
47
51
|
'identifier': value.identifier,
|
|
48
52
|
};
|
|
49
53
|
}
|