@goauthentik/api 2022.4.1-1652479731 → 2022.4.1-1652656244
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 +1 -0
- package/dist/apis/EventsApi.d.ts +1 -0
- package/dist/apis/EventsApi.js +3 -0
- package/dist/esm/apis/EventsApi.d.ts +1 -0
- package/dist/esm/apis/EventsApi.js +3 -0
- package/dist/esm/models/ContextualFlowInfo.d.ts +7 -0
- package/dist/esm/models/ContextualFlowInfo.js +3 -0
- package/dist/esm/models/Flow.d.ts +7 -0
- package/dist/esm/models/Flow.js +3 -0
- package/dist/esm/models/FlowRequest.d.ts +7 -0
- package/dist/esm/models/FlowRequest.js +3 -0
- package/dist/esm/models/LayoutEnum.d.ts +26 -0
- package/dist/esm/models/LayoutEnum.js +33 -0
- package/dist/esm/models/PatchedFlowRequest.d.ts +7 -0
- package/dist/esm/models/PatchedFlowRequest.js +3 -0
- 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/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/ContextualFlowInfo.d.ts +7 -0
- package/dist/models/ContextualFlowInfo.js +3 -0
- package/dist/models/Flow.d.ts +7 -0
- package/dist/models/Flow.js +3 -0
- package/dist/models/FlowRequest.d.ts +7 -0
- package/dist/models/FlowRequest.js +3 -0
- package/dist/models/LayoutEnum.d.ts +26 -0
- package/dist/models/LayoutEnum.js +39 -0
- package/dist/models/PatchedFlowRequest.d.ts +7 -0
- package/dist/models/PatchedFlowRequest.js +3 -0
- 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/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/EventsApi.ts +5 -0
- package/src/models/ContextualFlowInfo.ts +15 -0
- package/src/models/Flow.ts +14 -0
- package/src/models/FlowRequest.ts +14 -0
- package/src/models/LayoutEnum.ts +42 -0
- package/src/models/PatchedFlowRequest.ts +14 -0
- 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
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
package/dist/apis/EventsApi.d.ts
CHANGED
package/dist/apis/EventsApi.js
CHANGED
|
@@ -415,6 +415,9 @@ class EventsApi extends runtime.BaseAPI {
|
|
|
415
415
|
if (requestParameters.severity !== undefined) {
|
|
416
416
|
queryParameters['severity'] = requestParameters.severity;
|
|
417
417
|
}
|
|
418
|
+
if (requestParameters.user !== undefined) {
|
|
419
|
+
queryParameters['user'] = requestParameters.user;
|
|
420
|
+
}
|
|
418
421
|
const headerParameters = {};
|
|
419
422
|
if (this.configuration && this.configuration.apiKey) {
|
|
420
423
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -412,6 +412,9 @@ export class EventsApi extends runtime.BaseAPI {
|
|
|
412
412
|
if (requestParameters.severity !== undefined) {
|
|
413
413
|
queryParameters['severity'] = requestParameters.severity;
|
|
414
414
|
}
|
|
415
|
+
if (requestParameters.user !== undefined) {
|
|
416
|
+
queryParameters['user'] = requestParameters.user;
|
|
417
|
+
}
|
|
415
418
|
const headerParameters = {};
|
|
416
419
|
if (this.configuration && this.configuration.apiKey) {
|
|
417
420
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { LayoutEnum } from './LayoutEnum';
|
|
12
13
|
/**
|
|
13
14
|
* Contextual flow information for a challenge
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface ContextualFlowInfo {
|
|
|
33
34
|
* @memberof ContextualFlowInfo
|
|
34
35
|
*/
|
|
35
36
|
cancelUrl: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {LayoutEnum}
|
|
40
|
+
* @memberof ContextualFlowInfo
|
|
41
|
+
*/
|
|
42
|
+
layout: LayoutEnum;
|
|
36
43
|
}
|
|
37
44
|
export declare function ContextualFlowInfoFromJSON(json: any): ContextualFlowInfo;
|
|
38
45
|
export declare function ContextualFlowInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContextualFlowInfo;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
+
import { LayoutEnumFromJSON, LayoutEnumToJSON, } from './LayoutEnum';
|
|
15
16
|
export function ContextualFlowInfoFromJSON(json) {
|
|
16
17
|
return ContextualFlowInfoFromJSONTyped(json, false);
|
|
17
18
|
}
|
|
@@ -23,6 +24,7 @@ export function ContextualFlowInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
24
|
'title': !exists(json, 'title') ? undefined : json['title'],
|
|
24
25
|
'background': !exists(json, 'background') ? undefined : json['background'],
|
|
25
26
|
'cancelUrl': json['cancel_url'],
|
|
27
|
+
'layout': LayoutEnumFromJSON(json['layout']),
|
|
26
28
|
};
|
|
27
29
|
}
|
|
28
30
|
export function ContextualFlowInfoToJSON(value) {
|
|
@@ -36,5 +38,6 @@ export function ContextualFlowInfoToJSON(value) {
|
|
|
36
38
|
'title': value.title,
|
|
37
39
|
'background': value.background,
|
|
38
40
|
'cancel_url': value.cancelUrl,
|
|
41
|
+
'layout': LayoutEnumToJSON(value.layout),
|
|
39
42
|
};
|
|
40
43
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
13
|
+
import { LayoutEnum } from './LayoutEnum';
|
|
13
14
|
import { PolicyEngineMode } from './PolicyEngineMode';
|
|
14
15
|
/**
|
|
15
16
|
* Flow Serializer
|
|
@@ -95,6 +96,12 @@ export interface Flow {
|
|
|
95
96
|
* @memberof Flow
|
|
96
97
|
*/
|
|
97
98
|
readonly exportUrl: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {LayoutEnum}
|
|
102
|
+
* @memberof Flow
|
|
103
|
+
*/
|
|
104
|
+
layout?: LayoutEnum;
|
|
98
105
|
}
|
|
99
106
|
export declare function FlowFromJSON(json: any): Flow;
|
|
100
107
|
export declare function FlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Flow;
|
package/dist/esm/models/Flow.js
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowDesignationEnumFromJSON, FlowDesignationEnumToJSON, } from './FlowDesignationEnum';
|
|
16
|
+
import { LayoutEnumFromJSON, LayoutEnumToJSON, } from './LayoutEnum';
|
|
16
17
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
17
18
|
export function FlowFromJSON(json) {
|
|
18
19
|
return FlowFromJSONTyped(json, false);
|
|
@@ -35,6 +36,7 @@ export function FlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
36
37
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
37
38
|
'exportUrl': json['export_url'],
|
|
39
|
+
'layout': !exists(json, 'layout') ? undefined : LayoutEnumFromJSON(json['layout']),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
export function FlowToJSON(value) {
|
|
@@ -51,5 +53,6 @@ export function FlowToJSON(value) {
|
|
|
51
53
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
52
54
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
53
55
|
'compatibility_mode': value.compatibilityMode,
|
|
56
|
+
'layout': LayoutEnumToJSON(value.layout),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
13
|
+
import { LayoutEnum } from './LayoutEnum';
|
|
13
14
|
import { PolicyEngineMode } from './PolicyEngineMode';
|
|
14
15
|
/**
|
|
15
16
|
* Flow Serializer
|
|
@@ -53,6 +54,12 @@ export interface FlowRequest {
|
|
|
53
54
|
* @memberof FlowRequest
|
|
54
55
|
*/
|
|
55
56
|
compatibilityMode?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {LayoutEnum}
|
|
60
|
+
* @memberof FlowRequest
|
|
61
|
+
*/
|
|
62
|
+
layout?: LayoutEnum;
|
|
56
63
|
}
|
|
57
64
|
export declare function FlowRequestFromJSON(json: any): FlowRequest;
|
|
58
65
|
export declare function FlowRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowRequest;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowDesignationEnumFromJSON, FlowDesignationEnumToJSON, } from './FlowDesignationEnum';
|
|
16
|
+
import { LayoutEnumFromJSON, LayoutEnumToJSON, } from './LayoutEnum';
|
|
16
17
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
17
18
|
export function FlowRequestFromJSON(json) {
|
|
18
19
|
return FlowRequestFromJSONTyped(json, false);
|
|
@@ -28,6 +29,7 @@ export function FlowRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
29
|
'designation': FlowDesignationEnumFromJSON(json['designation']),
|
|
29
30
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
30
31
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
32
|
+
'layout': !exists(json, 'layout') ? undefined : LayoutEnumFromJSON(json['layout']),
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
export function FlowRequestToJSON(value) {
|
|
@@ -44,5 +46,6 @@ export function FlowRequestToJSON(value) {
|
|
|
44
46
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
45
47
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
46
48
|
'compatibility_mode': value.compatibilityMode,
|
|
49
|
+
'layout': LayoutEnumToJSON(value.layout),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022.4.1
|
|
6
|
+
* Contact: hello@beryju.org
|
|
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 LayoutEnum: {
|
|
17
|
+
readonly Stacked: "stacked";
|
|
18
|
+
readonly ContentLeft: "content_left";
|
|
19
|
+
readonly ContentRight: "content_right";
|
|
20
|
+
readonly SidebarLeft: "sidebar_left";
|
|
21
|
+
readonly SidebarRight: "sidebar_right";
|
|
22
|
+
};
|
|
23
|
+
export declare type LayoutEnum = typeof LayoutEnum[keyof typeof LayoutEnum];
|
|
24
|
+
export declare function LayoutEnumFromJSON(json: any): LayoutEnum;
|
|
25
|
+
export declare function LayoutEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): LayoutEnum;
|
|
26
|
+
export declare function LayoutEnumToJSON(value?: LayoutEnum | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022.4.1
|
|
8
|
+
* Contact: hello@beryju.org
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const LayoutEnum = {
|
|
19
|
+
Stacked: 'stacked',
|
|
20
|
+
ContentLeft: 'content_left',
|
|
21
|
+
ContentRight: 'content_right',
|
|
22
|
+
SidebarLeft: 'sidebar_left',
|
|
23
|
+
SidebarRight: 'sidebar_right'
|
|
24
|
+
};
|
|
25
|
+
export function LayoutEnumFromJSON(json) {
|
|
26
|
+
return LayoutEnumFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function LayoutEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
export function LayoutEnumToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
13
|
+
import { LayoutEnum } from './LayoutEnum';
|
|
13
14
|
import { PolicyEngineMode } from './PolicyEngineMode';
|
|
14
15
|
/**
|
|
15
16
|
* Flow Serializer
|
|
@@ -53,6 +54,12 @@ export interface PatchedFlowRequest {
|
|
|
53
54
|
* @memberof PatchedFlowRequest
|
|
54
55
|
*/
|
|
55
56
|
compatibilityMode?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {LayoutEnum}
|
|
60
|
+
* @memberof PatchedFlowRequest
|
|
61
|
+
*/
|
|
62
|
+
layout?: LayoutEnum;
|
|
56
63
|
}
|
|
57
64
|
export declare function PatchedFlowRequestFromJSON(json: any): PatchedFlowRequest;
|
|
58
65
|
export declare function PatchedFlowRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedFlowRequest;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FlowDesignationEnumFromJSON, FlowDesignationEnumToJSON, } from './FlowDesignationEnum';
|
|
16
|
+
import { LayoutEnumFromJSON, LayoutEnumToJSON, } from './LayoutEnum';
|
|
16
17
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
17
18
|
export function PatchedFlowRequestFromJSON(json) {
|
|
18
19
|
return PatchedFlowRequestFromJSONTyped(json, false);
|
|
@@ -28,6 +29,7 @@ export function PatchedFlowRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
29
|
'designation': !exists(json, 'designation') ? undefined : FlowDesignationEnumFromJSON(json['designation']),
|
|
29
30
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
30
31
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
32
|
+
'layout': !exists(json, 'layout') ? undefined : LayoutEnumFromJSON(json['layout']),
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
export function PatchedFlowRequestToJSON(value) {
|
|
@@ -44,5 +46,6 @@ export function PatchedFlowRequestToJSON(value) {
|
|
|
44
46
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
45
47
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
46
48
|
'compatibility_mode': value.compatibilityMode,
|
|
49
|
+
'layout': LayoutEnumToJSON(value.layout),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
@@ -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
|
};
|
|
@@ -135,6 +135,7 @@ export * from './LDAPProvider';
|
|
|
135
135
|
export * from './LDAPProviderRequest';
|
|
136
136
|
export * from './LDAPSource';
|
|
137
137
|
export * from './LDAPSourceRequest';
|
|
138
|
+
export * from './LayoutEnum';
|
|
138
139
|
export * from './Link';
|
|
139
140
|
export * from './LoginChallengeTypes';
|
|
140
141
|
export * from './LoginMetrics';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -137,6 +137,7 @@ export * from './LDAPProvider';
|
|
|
137
137
|
export * from './LDAPProviderRequest';
|
|
138
138
|
export * from './LDAPSource';
|
|
139
139
|
export * from './LDAPSourceRequest';
|
|
140
|
+
export * from './LayoutEnum';
|
|
140
141
|
export * from './Link';
|
|
141
142
|
export * from './LoginChallengeTypes';
|
|
142
143
|
export * from './LoginMetrics';
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { LayoutEnum } from './LayoutEnum';
|
|
12
13
|
/**
|
|
13
14
|
* Contextual flow information for a challenge
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface ContextualFlowInfo {
|
|
|
33
34
|
* @memberof ContextualFlowInfo
|
|
34
35
|
*/
|
|
35
36
|
cancelUrl: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {LayoutEnum}
|
|
40
|
+
* @memberof ContextualFlowInfo
|
|
41
|
+
*/
|
|
42
|
+
layout: LayoutEnum;
|
|
36
43
|
}
|
|
37
44
|
export declare function ContextualFlowInfoFromJSON(json: any): ContextualFlowInfo;
|
|
38
45
|
export declare function ContextualFlowInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContextualFlowInfo;
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ContextualFlowInfoToJSON = exports.ContextualFlowInfoFromJSONTyped = exports.ContextualFlowInfoFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const LayoutEnum_1 = require("./LayoutEnum");
|
|
18
19
|
function ContextualFlowInfoFromJSON(json) {
|
|
19
20
|
return ContextualFlowInfoFromJSONTyped(json, false);
|
|
20
21
|
}
|
|
@@ -27,6 +28,7 @@ function ContextualFlowInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
28
|
'title': !runtime_1.exists(json, 'title') ? undefined : json['title'],
|
|
28
29
|
'background': !runtime_1.exists(json, 'background') ? undefined : json['background'],
|
|
29
30
|
'cancelUrl': json['cancel_url'],
|
|
31
|
+
'layout': LayoutEnum_1.LayoutEnumFromJSON(json['layout']),
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
exports.ContextualFlowInfoFromJSONTyped = ContextualFlowInfoFromJSONTyped;
|
|
@@ -41,6 +43,7 @@ function ContextualFlowInfoToJSON(value) {
|
|
|
41
43
|
'title': value.title,
|
|
42
44
|
'background': value.background,
|
|
43
45
|
'cancel_url': value.cancelUrl,
|
|
46
|
+
'layout': LayoutEnum_1.LayoutEnumToJSON(value.layout),
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
exports.ContextualFlowInfoToJSON = ContextualFlowInfoToJSON;
|
package/dist/models/Flow.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
13
|
+
import { LayoutEnum } from './LayoutEnum';
|
|
13
14
|
import { PolicyEngineMode } from './PolicyEngineMode';
|
|
14
15
|
/**
|
|
15
16
|
* Flow Serializer
|
|
@@ -95,6 +96,12 @@ export interface Flow {
|
|
|
95
96
|
* @memberof Flow
|
|
96
97
|
*/
|
|
97
98
|
readonly exportUrl: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {LayoutEnum}
|
|
102
|
+
* @memberof Flow
|
|
103
|
+
*/
|
|
104
|
+
layout?: LayoutEnum;
|
|
98
105
|
}
|
|
99
106
|
export declare function FlowFromJSON(json: any): Flow;
|
|
100
107
|
export declare function FlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Flow;
|
package/dist/models/Flow.js
CHANGED
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.FlowToJSON = exports.FlowFromJSONTyped = exports.FlowFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const FlowDesignationEnum_1 = require("./FlowDesignationEnum");
|
|
19
|
+
const LayoutEnum_1 = require("./LayoutEnum");
|
|
19
20
|
const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
|
20
21
|
function FlowFromJSON(json) {
|
|
21
22
|
return FlowFromJSONTyped(json, false);
|
|
@@ -39,6 +40,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'policyEngineMode': !runtime_1.exists(json, 'policy_engine_mode') ? undefined : PolicyEngineMode_1.PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
40
41
|
'compatibilityMode': !runtime_1.exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
41
42
|
'exportUrl': json['export_url'],
|
|
43
|
+
'layout': !runtime_1.exists(json, 'layout') ? undefined : LayoutEnum_1.LayoutEnumFromJSON(json['layout']),
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
exports.FlowFromJSONTyped = FlowFromJSONTyped;
|
|
@@ -56,6 +58,7 @@ function FlowToJSON(value) {
|
|
|
56
58
|
'designation': FlowDesignationEnum_1.FlowDesignationEnumToJSON(value.designation),
|
|
57
59
|
'policy_engine_mode': PolicyEngineMode_1.PolicyEngineModeToJSON(value.policyEngineMode),
|
|
58
60
|
'compatibility_mode': value.compatibilityMode,
|
|
61
|
+
'layout': LayoutEnum_1.LayoutEnumToJSON(value.layout),
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
exports.FlowToJSON = FlowToJSON;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
13
|
+
import { LayoutEnum } from './LayoutEnum';
|
|
13
14
|
import { PolicyEngineMode } from './PolicyEngineMode';
|
|
14
15
|
/**
|
|
15
16
|
* Flow Serializer
|
|
@@ -53,6 +54,12 @@ export interface FlowRequest {
|
|
|
53
54
|
* @memberof FlowRequest
|
|
54
55
|
*/
|
|
55
56
|
compatibilityMode?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {LayoutEnum}
|
|
60
|
+
* @memberof FlowRequest
|
|
61
|
+
*/
|
|
62
|
+
layout?: LayoutEnum;
|
|
56
63
|
}
|
|
57
64
|
export declare function FlowRequestFromJSON(json: any): FlowRequest;
|
|
58
65
|
export declare function FlowRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowRequest;
|