@goauthentik/api 2023.10.4-1701882394 → 2023.10.4-1702989148
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 +2 -1
- package/dist/apis/SchemaApi.d.ts +1 -0
- package/dist/apis/SchemaApi.js +1 -0
- package/dist/esm/apis/SchemaApi.d.ts +1 -0
- package/dist/esm/apis/SchemaApi.js +1 -0
- package/dist/esm/models/AuthenticationEnum.d.ts +2 -0
- package/dist/esm/models/AuthenticationEnum.js +2 -0
- package/dist/esm/models/BlueprintInstance.d.ts +4 -8
- package/dist/esm/models/BlueprintInstanceRequest.d.ts +2 -4
- package/dist/esm/models/ContextualFlowInfo.d.ts +3 -3
- package/dist/esm/models/ContextualFlowInfo.js +3 -3
- package/dist/esm/models/{LayoutEnum.d.ts → ContextualFlowInfoLayoutEnum.d.ts} +5 -5
- package/dist/esm/models/{LayoutEnum.js → ContextualFlowInfoLayoutEnum.js} +5 -5
- package/dist/esm/models/Event.d.ts +6 -12
- package/dist/esm/models/EventRequest.d.ts +6 -12
- package/dist/esm/models/Flow.d.ts +3 -3
- package/dist/esm/models/Flow.js +3 -3
- package/dist/esm/models/FlowLayoutEnum.d.ts +31 -0
- package/dist/esm/models/FlowLayoutEnum.js +38 -0
- package/dist/esm/models/FlowRequest.d.ts +3 -3
- package/dist/esm/models/FlowRequest.js +3 -3
- package/dist/esm/models/FlowSet.d.ts +3 -3
- package/dist/esm/models/FlowSet.js +3 -3
- package/dist/esm/models/FlowSetRequest.d.ts +3 -3
- package/dist/esm/models/FlowSetRequest.js +3 -3
- package/dist/esm/models/KubernetesServiceConnection.d.ts +2 -4
- package/dist/esm/models/KubernetesServiceConnectionRequest.d.ts +2 -4
- package/dist/esm/models/OAuthSource.d.ts +2 -4
- package/dist/esm/models/OAuthSourceRequest.d.ts +2 -4
- package/dist/esm/models/PatchedBlueprintInstanceRequest.d.ts +2 -4
- package/dist/esm/models/PatchedEventRequest.d.ts +6 -12
- package/dist/esm/models/PatchedFlowRequest.d.ts +3 -3
- package/dist/esm/models/PatchedFlowRequest.js +3 -3
- package/dist/esm/models/PatchedKubernetesServiceConnectionRequest.d.ts +2 -4
- package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +2 -4
- package/dist/esm/models/PatchedTenantRequest.d.ts +2 -4
- package/dist/esm/models/Reputation.d.ts +2 -4
- package/dist/esm/models/Tenant.d.ts +2 -4
- package/dist/esm/models/TenantRequest.d.ts +2 -4
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +2 -1
- package/dist/models/AuthenticationEnum.d.ts +2 -0
- package/dist/models/AuthenticationEnum.js +2 -0
- package/dist/models/BlueprintInstance.d.ts +4 -8
- package/dist/models/BlueprintInstanceRequest.d.ts +2 -4
- package/dist/models/ContextualFlowInfo.d.ts +3 -3
- package/dist/models/ContextualFlowInfo.js +3 -3
- package/dist/models/{LayoutEnum.d.ts → ContextualFlowInfoLayoutEnum.d.ts} +5 -5
- package/dist/models/{LayoutEnum.js → ContextualFlowInfoLayoutEnum.js} +9 -9
- package/dist/models/Event.d.ts +6 -12
- package/dist/models/EventRequest.d.ts +6 -12
- package/dist/models/Flow.d.ts +3 -3
- package/dist/models/Flow.js +3 -3
- package/dist/models/FlowLayoutEnum.d.ts +31 -0
- package/dist/models/FlowLayoutEnum.js +44 -0
- package/dist/models/FlowRequest.d.ts +3 -3
- package/dist/models/FlowRequest.js +3 -3
- package/dist/models/FlowSet.d.ts +3 -3
- package/dist/models/FlowSet.js +3 -3
- package/dist/models/FlowSetRequest.d.ts +3 -3
- package/dist/models/FlowSetRequest.js +3 -3
- package/dist/models/KubernetesServiceConnection.d.ts +2 -4
- package/dist/models/KubernetesServiceConnectionRequest.d.ts +2 -4
- package/dist/models/OAuthSource.d.ts +2 -4
- package/dist/models/OAuthSourceRequest.d.ts +2 -4
- package/dist/models/PatchedBlueprintInstanceRequest.d.ts +2 -4
- package/dist/models/PatchedEventRequest.d.ts +6 -12
- package/dist/models/PatchedFlowRequest.d.ts +3 -3
- package/dist/models/PatchedFlowRequest.js +3 -3
- package/dist/models/PatchedKubernetesServiceConnectionRequest.d.ts +2 -4
- package/dist/models/PatchedOAuthSourceRequest.d.ts +2 -4
- package/dist/models/PatchedTenantRequest.d.ts +2 -4
- package/dist/models/Reputation.d.ts +2 -4
- package/dist/models/Tenant.d.ts +2 -4
- package/dist/models/TenantRequest.d.ts +2 -4
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/package.json +1 -1
- package/src/apis/SchemaApi.ts +1 -0
- package/src/models/AuthenticationEnum.ts +2 -0
- package/src/models/BlueprintInstance.ts +4 -4
- package/src/models/BlueprintInstanceRequest.ts +2 -2
- package/src/models/ContextualFlowInfo.ts +9 -9
- package/src/models/{LayoutEnum.ts → ContextualFlowInfoLayoutEnum.ts} +7 -7
- package/src/models/Event.ts +6 -6
- package/src/models/EventRequest.ts +6 -6
- package/src/models/Flow.ts +9 -9
- package/src/models/FlowLayoutEnum.ts +46 -0
- package/src/models/FlowRequest.ts +9 -9
- package/src/models/FlowSet.ts +9 -9
- package/src/models/FlowSetRequest.ts +9 -9
- package/src/models/KubernetesServiceConnection.ts +2 -2
- package/src/models/KubernetesServiceConnectionRequest.ts +2 -2
- package/src/models/OAuthSource.ts +2 -2
- package/src/models/OAuthSourceRequest.ts +2 -2
- package/src/models/PatchedBlueprintInstanceRequest.ts +2 -2
- package/src/models/PatchedEventRequest.ts +6 -6
- package/src/models/PatchedFlowRequest.ts +9 -9
- package/src/models/PatchedKubernetesServiceConnectionRequest.ts +2 -2
- package/src/models/PatchedOAuthSourceRequest.ts +2 -2
- package/src/models/PatchedTenantRequest.ts +2 -2
- package/src/models/Reputation.ts +2 -2
- package/src/models/Tenant.ts +2 -2
- package/src/models/TenantRequest.ts +2 -2
- package/src/models/index.ts +2 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -94,6 +94,7 @@ src/models/ConsentStage.ts
|
|
|
94
94
|
src/models/ConsentStageModeEnum.ts
|
|
95
95
|
src/models/ConsentStageRequest.ts
|
|
96
96
|
src/models/ContextualFlowInfo.ts
|
|
97
|
+
src/models/ContextualFlowInfoLayoutEnum.ts
|
|
97
98
|
src/models/Coordinate.ts
|
|
98
99
|
src/models/CurrentTenant.ts
|
|
99
100
|
src/models/DeniedActionEnum.ts
|
|
@@ -143,6 +144,7 @@ src/models/FlowErrorChallenge.ts
|
|
|
143
144
|
src/models/FlowImportResult.ts
|
|
144
145
|
src/models/FlowInspection.ts
|
|
145
146
|
src/models/FlowInspectorPlan.ts
|
|
147
|
+
src/models/FlowLayoutEnum.ts
|
|
146
148
|
src/models/FlowRequest.ts
|
|
147
149
|
src/models/FlowSet.ts
|
|
148
150
|
src/models/FlowSetRequest.ts
|
|
@@ -178,7 +180,6 @@ src/models/LDAPProviderRequest.ts
|
|
|
178
180
|
src/models/LDAPSource.ts
|
|
179
181
|
src/models/LDAPSourceRequest.ts
|
|
180
182
|
src/models/LDAPSyncStatus.ts
|
|
181
|
-
src/models/LayoutEnum.ts
|
|
182
183
|
src/models/License.ts
|
|
183
184
|
src/models/LicenseForecast.ts
|
|
184
185
|
src/models/LicenseRequest.ts
|
package/dist/apis/SchemaApi.d.ts
CHANGED
package/dist/apis/SchemaApi.js
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* * `require_authenticated` - Require Authenticated
|
|
15
15
|
* * `require_unauthenticated` - Require Unauthenticated
|
|
16
16
|
* * `require_superuser` - Require Superuser
|
|
17
|
+
* * `require_outpost` - Require Outpost
|
|
17
18
|
* @export
|
|
18
19
|
*/
|
|
19
20
|
export declare const AuthenticationEnum: {
|
|
@@ -21,6 +22,7 @@ export declare const AuthenticationEnum: {
|
|
|
21
22
|
readonly RequireAuthenticated: "require_authenticated";
|
|
22
23
|
readonly RequireUnauthenticated: "require_unauthenticated";
|
|
23
24
|
readonly RequireSuperuser: "require_superuser";
|
|
25
|
+
readonly RequireOutpost: "require_outpost";
|
|
24
26
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
25
27
|
};
|
|
26
28
|
export type AuthenticationEnum = typeof AuthenticationEnum[keyof typeof AuthenticationEnum];
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* * `require_authenticated` - Require Authenticated
|
|
17
17
|
* * `require_unauthenticated` - Require Unauthenticated
|
|
18
18
|
* * `require_superuser` - Require Superuser
|
|
19
|
+
* * `require_outpost` - Require Outpost
|
|
19
20
|
* @export
|
|
20
21
|
*/
|
|
21
22
|
export const AuthenticationEnum = {
|
|
@@ -23,6 +24,7 @@ export const AuthenticationEnum = {
|
|
|
23
24
|
RequireAuthenticated: 'require_authenticated',
|
|
24
25
|
RequireUnauthenticated: 'require_unauthenticated',
|
|
25
26
|
RequireSuperuser: 'require_superuser',
|
|
27
|
+
RequireOutpost: 'require_outpost',
|
|
26
28
|
UnknownDefaultOpenApi: '11184809'
|
|
27
29
|
};
|
|
28
30
|
export function AuthenticationEnumFromJSON(json) {
|
|
@@ -36,12 +36,10 @@ export interface BlueprintInstance {
|
|
|
36
36
|
path?: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {any}
|
|
40
40
|
* @memberof BlueprintInstance
|
|
41
41
|
*/
|
|
42
|
-
context?:
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
};
|
|
42
|
+
context?: any | null;
|
|
45
43
|
/**
|
|
46
44
|
*
|
|
47
45
|
* @type {Date}
|
|
@@ -74,12 +72,10 @@ export interface BlueprintInstance {
|
|
|
74
72
|
readonly managedModels: Array<string>;
|
|
75
73
|
/**
|
|
76
74
|
*
|
|
77
|
-
* @type {
|
|
75
|
+
* @type {any}
|
|
78
76
|
* @memberof BlueprintInstance
|
|
79
77
|
*/
|
|
80
|
-
readonly metadata:
|
|
81
|
-
[key: string]: any;
|
|
82
|
-
};
|
|
78
|
+
readonly metadata: any | null;
|
|
83
79
|
/**
|
|
84
80
|
*
|
|
85
81
|
* @type {string}
|
|
@@ -29,12 +29,10 @@ export interface BlueprintInstanceRequest {
|
|
|
29
29
|
path?: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {any}
|
|
33
33
|
* @memberof BlueprintInstanceRequest
|
|
34
34
|
*/
|
|
35
|
-
context?:
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
35
|
+
context?: any | null;
|
|
38
36
|
/**
|
|
39
37
|
*
|
|
40
38
|
* @type {boolean}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ContextualFlowInfoLayoutEnum } from './ContextualFlowInfoLayoutEnum';
|
|
13
13
|
/**
|
|
14
14
|
* Contextual flow information for a challenge
|
|
15
15
|
* @export
|
|
@@ -36,10 +36,10 @@ export interface ContextualFlowInfo {
|
|
|
36
36
|
cancelUrl: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {ContextualFlowInfoLayoutEnum}
|
|
40
40
|
* @memberof ContextualFlowInfo
|
|
41
41
|
*/
|
|
42
|
-
layout:
|
|
42
|
+
layout: ContextualFlowInfoLayoutEnum;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Check if a given object implements the ContextualFlowInfo interface.
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { ContextualFlowInfoLayoutEnumFromJSON, ContextualFlowInfoLayoutEnumToJSON, } from './ContextualFlowInfoLayoutEnum';
|
|
16
16
|
/**
|
|
17
17
|
* Check if a given object implements the ContextualFlowInfo interface.
|
|
18
18
|
*/
|
|
@@ -33,7 +33,7 @@ export function ContextualFlowInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'title': !exists(json, 'title') ? undefined : json['title'],
|
|
34
34
|
'background': !exists(json, 'background') ? undefined : json['background'],
|
|
35
35
|
'cancelUrl': json['cancel_url'],
|
|
36
|
-
'layout':
|
|
36
|
+
'layout': ContextualFlowInfoLayoutEnumFromJSON(json['layout']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
export function ContextualFlowInfoToJSON(value) {
|
|
@@ -47,6 +47,6 @@ export function ContextualFlowInfoToJSON(value) {
|
|
|
47
47
|
'title': value.title,
|
|
48
48
|
'background': value.background,
|
|
49
49
|
'cancel_url': value.cancelUrl,
|
|
50
|
-
'layout':
|
|
50
|
+
'layout': ContextualFlowInfoLayoutEnumToJSON(value.layout),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* * `sidebar_right` - SIDEBAR_RIGHT
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const ContextualFlowInfoLayoutEnum: {
|
|
21
21
|
readonly Stacked: "stacked";
|
|
22
22
|
readonly ContentLeft: "content_left";
|
|
23
23
|
readonly ContentRight: "content_right";
|
|
@@ -25,7 +25,7 @@ export declare const LayoutEnum: {
|
|
|
25
25
|
readonly SidebarRight: "sidebar_right";
|
|
26
26
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
27
27
|
};
|
|
28
|
-
export type
|
|
29
|
-
export declare function
|
|
30
|
-
export declare function
|
|
31
|
-
export declare function
|
|
28
|
+
export type ContextualFlowInfoLayoutEnum = typeof ContextualFlowInfoLayoutEnum[keyof typeof ContextualFlowInfoLayoutEnum];
|
|
29
|
+
export declare function ContextualFlowInfoLayoutEnumFromJSON(json: any): ContextualFlowInfoLayoutEnum;
|
|
30
|
+
export declare function ContextualFlowInfoLayoutEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContextualFlowInfoLayoutEnum;
|
|
31
|
+
export declare function ContextualFlowInfoLayoutEnumToJSON(value?: ContextualFlowInfoLayoutEnum | null): any;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* * `sidebar_right` - SIDEBAR_RIGHT
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
|
-
export const
|
|
22
|
+
export const ContextualFlowInfoLayoutEnum = {
|
|
23
23
|
Stacked: 'stacked',
|
|
24
24
|
ContentLeft: 'content_left',
|
|
25
25
|
ContentRight: 'content_right',
|
|
@@ -27,12 +27,12 @@ export const LayoutEnum = {
|
|
|
27
27
|
SidebarRight: 'sidebar_right',
|
|
28
28
|
UnknownDefaultOpenApi: '11184809'
|
|
29
29
|
};
|
|
30
|
-
export function
|
|
31
|
-
return
|
|
30
|
+
export function ContextualFlowInfoLayoutEnumFromJSON(json) {
|
|
31
|
+
return ContextualFlowInfoLayoutEnumFromJSONTyped(json, false);
|
|
32
32
|
}
|
|
33
|
-
export function
|
|
33
|
+
export function ContextualFlowInfoLayoutEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
|
-
export function
|
|
36
|
+
export function ContextualFlowInfoLayoutEnumToJSON(value) {
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
@@ -24,12 +24,10 @@ export interface Event {
|
|
|
24
24
|
readonly pk: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {any}
|
|
28
28
|
* @memberof Event
|
|
29
29
|
*/
|
|
30
|
-
user?:
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
};
|
|
30
|
+
user?: any | null;
|
|
33
31
|
/**
|
|
34
32
|
*
|
|
35
33
|
* @type {EventActions}
|
|
@@ -44,12 +42,10 @@ export interface Event {
|
|
|
44
42
|
app: string;
|
|
45
43
|
/**
|
|
46
44
|
*
|
|
47
|
-
* @type {
|
|
45
|
+
* @type {any}
|
|
48
46
|
* @memberof Event
|
|
49
47
|
*/
|
|
50
|
-
context?:
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
};
|
|
48
|
+
context?: any | null;
|
|
53
49
|
/**
|
|
54
50
|
*
|
|
55
51
|
* @type {string}
|
|
@@ -70,12 +66,10 @@ export interface Event {
|
|
|
70
66
|
expires?: Date;
|
|
71
67
|
/**
|
|
72
68
|
*
|
|
73
|
-
* @type {
|
|
69
|
+
* @type {any}
|
|
74
70
|
* @memberof Event
|
|
75
71
|
*/
|
|
76
|
-
tenant?:
|
|
77
|
-
[key: string]: any;
|
|
78
|
-
};
|
|
72
|
+
tenant?: any | null;
|
|
79
73
|
}
|
|
80
74
|
/**
|
|
81
75
|
* Check if a given object implements the Event interface.
|
|
@@ -18,12 +18,10 @@ import type { EventActions } from './EventActions';
|
|
|
18
18
|
export interface EventRequest {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {any}
|
|
22
22
|
* @memberof EventRequest
|
|
23
23
|
*/
|
|
24
|
-
user?:
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
};
|
|
24
|
+
user?: any | null;
|
|
27
25
|
/**
|
|
28
26
|
*
|
|
29
27
|
* @type {EventActions}
|
|
@@ -38,12 +36,10 @@ export interface EventRequest {
|
|
|
38
36
|
app: string;
|
|
39
37
|
/**
|
|
40
38
|
*
|
|
41
|
-
* @type {
|
|
39
|
+
* @type {any}
|
|
42
40
|
* @memberof EventRequest
|
|
43
41
|
*/
|
|
44
|
-
context?:
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
};
|
|
42
|
+
context?: any | null;
|
|
47
43
|
/**
|
|
48
44
|
*
|
|
49
45
|
* @type {string}
|
|
@@ -58,12 +54,10 @@ export interface EventRequest {
|
|
|
58
54
|
expires?: Date;
|
|
59
55
|
/**
|
|
60
56
|
*
|
|
61
|
-
* @type {
|
|
57
|
+
* @type {any}
|
|
62
58
|
* @memberof EventRequest
|
|
63
59
|
*/
|
|
64
|
-
tenant?:
|
|
65
|
-
[key: string]: any;
|
|
66
|
-
};
|
|
60
|
+
tenant?: any | null;
|
|
67
61
|
}
|
|
68
62
|
/**
|
|
69
63
|
* Check if a given object implements the EventRequest interface.
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { AuthenticationEnum } from './AuthenticationEnum';
|
|
13
13
|
import type { DeniedActionEnum } from './DeniedActionEnum';
|
|
14
14
|
import type { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
15
|
-
import type {
|
|
15
|
+
import type { FlowLayoutEnum } from './FlowLayoutEnum';
|
|
16
16
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
17
17
|
/**
|
|
18
18
|
* Flow Serializer
|
|
@@ -101,10 +101,10 @@ export interface Flow {
|
|
|
101
101
|
readonly exportUrl: string;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
|
-
* @type {
|
|
104
|
+
* @type {FlowLayoutEnum}
|
|
105
105
|
* @memberof Flow
|
|
106
106
|
*/
|
|
107
|
-
layout?:
|
|
107
|
+
layout?: FlowLayoutEnum;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @type {DeniedActionEnum}
|
package/dist/esm/models/Flow.js
CHANGED
|
@@ -15,7 +15,7 @@ import { exists } from '../runtime';
|
|
|
15
15
|
import { AuthenticationEnumFromJSON, AuthenticationEnumToJSON, } from './AuthenticationEnum';
|
|
16
16
|
import { DeniedActionEnumFromJSON, DeniedActionEnumToJSON, } from './DeniedActionEnum';
|
|
17
17
|
import { FlowDesignationEnumFromJSON, FlowDesignationEnumToJSON, } from './FlowDesignationEnum';
|
|
18
|
-
import {
|
|
18
|
+
import { FlowLayoutEnumFromJSON, FlowLayoutEnumToJSON, } from './FlowLayoutEnum';
|
|
19
19
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
20
20
|
/**
|
|
21
21
|
* Check if a given object implements the Flow interface.
|
|
@@ -56,7 +56,7 @@ export function FlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
57
57
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
58
58
|
'exportUrl': json['export_url'],
|
|
59
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
59
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
60
60
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
61
61
|
'authentication': !exists(json, 'authentication') ? undefined : AuthenticationEnumFromJSON(json['authentication']),
|
|
62
62
|
};
|
|
@@ -75,7 +75,7 @@ export function FlowToJSON(value) {
|
|
|
75
75
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
76
76
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
77
77
|
'compatibility_mode': value.compatibilityMode,
|
|
78
|
-
'layout':
|
|
78
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
79
79
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
80
80
|
'authentication': AuthenticationEnumToJSON(value.authentication),
|
|
81
81
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.4
|
|
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
|
+
* * `stacked` - Stacked
|
|
14
|
+
* * `content_left` - Content Left
|
|
15
|
+
* * `content_right` - Content Right
|
|
16
|
+
* * `sidebar_left` - Sidebar Left
|
|
17
|
+
* * `sidebar_right` - Sidebar Right
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const FlowLayoutEnum: {
|
|
21
|
+
readonly Stacked: "stacked";
|
|
22
|
+
readonly ContentLeft: "content_left";
|
|
23
|
+
readonly ContentRight: "content_right";
|
|
24
|
+
readonly SidebarLeft: "sidebar_left";
|
|
25
|
+
readonly SidebarRight: "sidebar_right";
|
|
26
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
27
|
+
};
|
|
28
|
+
export type FlowLayoutEnum = typeof FlowLayoutEnum[keyof typeof FlowLayoutEnum];
|
|
29
|
+
export declare function FlowLayoutEnumFromJSON(json: any): FlowLayoutEnum;
|
|
30
|
+
export declare function FlowLayoutEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowLayoutEnum;
|
|
31
|
+
export declare function FlowLayoutEnumToJSON(value?: FlowLayoutEnum | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.4
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
* * `stacked` - Stacked
|
|
16
|
+
* * `content_left` - Content Left
|
|
17
|
+
* * `content_right` - Content Right
|
|
18
|
+
* * `sidebar_left` - Sidebar Left
|
|
19
|
+
* * `sidebar_right` - Sidebar Right
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export const FlowLayoutEnum = {
|
|
23
|
+
Stacked: 'stacked',
|
|
24
|
+
ContentLeft: 'content_left',
|
|
25
|
+
ContentRight: 'content_right',
|
|
26
|
+
SidebarLeft: 'sidebar_left',
|
|
27
|
+
SidebarRight: 'sidebar_right',
|
|
28
|
+
UnknownDefaultOpenApi: '11184809'
|
|
29
|
+
};
|
|
30
|
+
export function FlowLayoutEnumFromJSON(json) {
|
|
31
|
+
return FlowLayoutEnumFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function FlowLayoutEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
export function FlowLayoutEnumToJSON(value) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { AuthenticationEnum } from './AuthenticationEnum';
|
|
13
13
|
import type { DeniedActionEnum } from './DeniedActionEnum';
|
|
14
14
|
import type { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
15
|
-
import type {
|
|
15
|
+
import type { FlowLayoutEnum } from './FlowLayoutEnum';
|
|
16
16
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
17
17
|
/**
|
|
18
18
|
* Flow Serializer
|
|
@@ -58,10 +58,10 @@ export interface FlowRequest {
|
|
|
58
58
|
compatibilityMode?: boolean;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {FlowLayoutEnum}
|
|
62
62
|
* @memberof FlowRequest
|
|
63
63
|
*/
|
|
64
|
-
layout?:
|
|
64
|
+
layout?: FlowLayoutEnum;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {DeniedActionEnum}
|
|
@@ -15,7 +15,7 @@ import { exists } from '../runtime';
|
|
|
15
15
|
import { AuthenticationEnumFromJSON, AuthenticationEnumToJSON, } from './AuthenticationEnum';
|
|
16
16
|
import { DeniedActionEnumFromJSON, DeniedActionEnumToJSON, } from './DeniedActionEnum';
|
|
17
17
|
import { FlowDesignationEnumFromJSON, FlowDesignationEnumToJSON, } from './FlowDesignationEnum';
|
|
18
|
-
import {
|
|
18
|
+
import { FlowLayoutEnumFromJSON, FlowLayoutEnumToJSON, } from './FlowLayoutEnum';
|
|
19
19
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
20
20
|
/**
|
|
21
21
|
* Check if a given object implements the FlowRequest interface.
|
|
@@ -42,7 +42,7 @@ export function FlowRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'designation': FlowDesignationEnumFromJSON(json['designation']),
|
|
43
43
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
44
44
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
45
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
45
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
46
46
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
47
47
|
'authentication': !exists(json, 'authentication') ? undefined : AuthenticationEnumFromJSON(json['authentication']),
|
|
48
48
|
};
|
|
@@ -61,7 +61,7 @@ export function FlowRequestToJSON(value) {
|
|
|
61
61
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
62
62
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
63
63
|
'compatibility_mode': value.compatibilityMode,
|
|
64
|
-
'layout':
|
|
64
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
65
65
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
66
66
|
'authentication': AuthenticationEnumToJSON(value.authentication),
|
|
67
67
|
};
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { DeniedActionEnum } from './DeniedActionEnum';
|
|
13
13
|
import type { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
14
|
-
import type {
|
|
14
|
+
import type { FlowLayoutEnum } from './FlowLayoutEnum';
|
|
15
15
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
16
16
|
/**
|
|
17
17
|
* Stripped down flow serializer
|
|
@@ -82,10 +82,10 @@ export interface FlowSet {
|
|
|
82
82
|
readonly exportUrl: string;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
|
-
* @type {
|
|
85
|
+
* @type {FlowLayoutEnum}
|
|
86
86
|
* @memberof FlowSet
|
|
87
87
|
*/
|
|
88
|
-
layout?:
|
|
88
|
+
layout?: FlowLayoutEnum;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @type {DeniedActionEnum}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { DeniedActionEnumFromJSON, DeniedActionEnumToJSON, } from './DeniedActionEnum';
|
|
16
16
|
import { FlowDesignationEnumFromJSON, FlowDesignationEnumToJSON, } from './FlowDesignationEnum';
|
|
17
|
-
import {
|
|
17
|
+
import { FlowLayoutEnumFromJSON, FlowLayoutEnumToJSON, } from './FlowLayoutEnum';
|
|
18
18
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the FlowSet interface.
|
|
@@ -49,7 +49,7 @@ export function FlowSetFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
50
50
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
51
51
|
'exportUrl': json['export_url'],
|
|
52
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
52
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
53
53
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -67,7 +67,7 @@ export function FlowSetToJSON(value) {
|
|
|
67
67
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
68
68
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
69
69
|
'compatibility_mode': value.compatibilityMode,
|
|
70
|
-
'layout':
|
|
70
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
71
71
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
72
72
|
};
|
|
73
73
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { DeniedActionEnum } from './DeniedActionEnum';
|
|
13
13
|
import type { FlowDesignationEnum } from './FlowDesignationEnum';
|
|
14
|
-
import type {
|
|
14
|
+
import type { FlowLayoutEnum } from './FlowLayoutEnum';
|
|
15
15
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
16
16
|
/**
|
|
17
17
|
* Stripped down flow serializer
|
|
@@ -57,10 +57,10 @@ export interface FlowSetRequest {
|
|
|
57
57
|
compatibilityMode?: boolean;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
|
-
* @type {
|
|
60
|
+
* @type {FlowLayoutEnum}
|
|
61
61
|
* @memberof FlowSetRequest
|
|
62
62
|
*/
|
|
63
|
-
layout?:
|
|
63
|
+
layout?: FlowLayoutEnum;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {DeniedActionEnum}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { DeniedActionEnumFromJSON, DeniedActionEnumToJSON, } from './DeniedActionEnum';
|
|
16
16
|
import { FlowDesignationEnumFromJSON, FlowDesignationEnumToJSON, } from './FlowDesignationEnum';
|
|
17
|
-
import {
|
|
17
|
+
import { FlowLayoutEnumFromJSON, FlowLayoutEnumToJSON, } from './FlowLayoutEnum';
|
|
18
18
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the FlowSetRequest interface.
|
|
@@ -41,7 +41,7 @@ export function FlowSetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'designation': FlowDesignationEnumFromJSON(json['designation']),
|
|
42
42
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
43
43
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
44
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
44
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
45
45
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
46
46
|
};
|
|
47
47
|
}
|
|
@@ -59,7 +59,7 @@ export function FlowSetRequestToJSON(value) {
|
|
|
59
59
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
60
60
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
61
61
|
'compatibility_mode': value.compatibilityMode,
|
|
62
|
-
'layout':
|
|
62
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
63
63
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
64
64
|
};
|
|
65
65
|
}
|
|
@@ -59,12 +59,10 @@ export interface KubernetesServiceConnection {
|
|
|
59
59
|
readonly metaModelName: string;
|
|
60
60
|
/**
|
|
61
61
|
* Paste your kubeconfig here. authentik will automatically use the currently selected context.
|
|
62
|
-
* @type {
|
|
62
|
+
* @type {any}
|
|
63
63
|
* @memberof KubernetesServiceConnection
|
|
64
64
|
*/
|
|
65
|
-
kubeconfig?:
|
|
66
|
-
[key: string]: any;
|
|
67
|
-
};
|
|
65
|
+
kubeconfig?: any | null;
|
|
68
66
|
/**
|
|
69
67
|
* Verify SSL Certificates of the Kubernetes API endpoint
|
|
70
68
|
* @type {boolean}
|
|
@@ -29,12 +29,10 @@ export interface KubernetesServiceConnectionRequest {
|
|
|
29
29
|
local?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
* Paste your kubeconfig here. authentik will automatically use the currently selected context.
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {any}
|
|
33
33
|
* @memberof KubernetesServiceConnectionRequest
|
|
34
34
|
*/
|
|
35
|
-
kubeconfig?:
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
35
|
+
kubeconfig?: any | null;
|
|
38
36
|
/**
|
|
39
37
|
* Verify SSL Certificates of the Kubernetes API endpoint
|
|
40
38
|
* @type {boolean}
|
|
@@ -178,12 +178,10 @@ export interface OAuthSource {
|
|
|
178
178
|
oidcJwksUrl?: string;
|
|
179
179
|
/**
|
|
180
180
|
*
|
|
181
|
-
* @type {
|
|
181
|
+
* @type {any}
|
|
182
182
|
* @memberof OAuthSource
|
|
183
183
|
*/
|
|
184
|
-
oidcJwks?:
|
|
185
|
-
[key: string]: any;
|
|
186
|
-
};
|
|
184
|
+
oidcJwks?: any | null;
|
|
187
185
|
}
|
|
188
186
|
/**
|
|
189
187
|
* Check if a given object implements the OAuthSource interface.
|