@goauthentik/api 2023.10.4-1700591367 → 2023.10.4-1702933698
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/EventsApi.d.ts +20 -0
- package/dist/apis/EventsApi.js +58 -0
- package/dist/apis/SchemaApi.d.ts +1 -0
- package/dist/apis/SchemaApi.js +1 -0
- package/dist/esm/apis/EventsApi.d.ts +20 -0
- package/dist/esm/apis/EventsApi.js +58 -0
- package/dist/esm/apis/SchemaApi.d.ts +1 -0
- package/dist/esm/apis/SchemaApi.js +1 -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/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/EventsApi.ts +83 -0
- package/src/apis/SchemaApi.ts +1 -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/src/apis/EventsApi.ts
CHANGED
|
@@ -135,6 +135,19 @@ export interface EventsEventsUpdateRequest {
|
|
|
135
135
|
eventRequest: EventRequest;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
export interface EventsEventsVolumeListRequest {
|
|
139
|
+
action?: string;
|
|
140
|
+
clientIp?: string;
|
|
141
|
+
contextAuthorizedApp?: string;
|
|
142
|
+
contextModelApp?: string;
|
|
143
|
+
contextModelName?: string;
|
|
144
|
+
contextModelPk?: string;
|
|
145
|
+
ordering?: string;
|
|
146
|
+
search?: string;
|
|
147
|
+
tenantName?: string;
|
|
148
|
+
username?: string;
|
|
149
|
+
}
|
|
150
|
+
|
|
138
151
|
export interface EventsNotificationsDestroyRequest {
|
|
139
152
|
uuid: string;
|
|
140
153
|
}
|
|
@@ -618,6 +631,76 @@ export class EventsApi extends runtime.BaseAPI {
|
|
|
618
631
|
return await response.value();
|
|
619
632
|
}
|
|
620
633
|
|
|
634
|
+
/**
|
|
635
|
+
* Get event volume for specified filters and timeframe
|
|
636
|
+
*/
|
|
637
|
+
async eventsEventsVolumeListRaw(requestParameters: EventsEventsVolumeListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Coordinate>>> {
|
|
638
|
+
const queryParameters: any = {};
|
|
639
|
+
|
|
640
|
+
if (requestParameters.action !== undefined) {
|
|
641
|
+
queryParameters['action'] = requestParameters.action;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
if (requestParameters.clientIp !== undefined) {
|
|
645
|
+
queryParameters['client_ip'] = requestParameters.clientIp;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
if (requestParameters.contextAuthorizedApp !== undefined) {
|
|
649
|
+
queryParameters['context_authorized_app'] = requestParameters.contextAuthorizedApp;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
if (requestParameters.contextModelApp !== undefined) {
|
|
653
|
+
queryParameters['context_model_app'] = requestParameters.contextModelApp;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
if (requestParameters.contextModelName !== undefined) {
|
|
657
|
+
queryParameters['context_model_name'] = requestParameters.contextModelName;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
if (requestParameters.contextModelPk !== undefined) {
|
|
661
|
+
queryParameters['context_model_pk'] = requestParameters.contextModelPk;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
if (requestParameters.ordering !== undefined) {
|
|
665
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
if (requestParameters.search !== undefined) {
|
|
669
|
+
queryParameters['search'] = requestParameters.search;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
if (requestParameters.tenantName !== undefined) {
|
|
673
|
+
queryParameters['tenant_name'] = requestParameters.tenantName;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
if (requestParameters.username !== undefined) {
|
|
677
|
+
queryParameters['username'] = requestParameters.username;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
681
|
+
|
|
682
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
683
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
const response = await this.request({
|
|
687
|
+
path: `/events/events/volume/`,
|
|
688
|
+
method: 'GET',
|
|
689
|
+
headers: headerParameters,
|
|
690
|
+
query: queryParameters,
|
|
691
|
+
}, initOverrides);
|
|
692
|
+
|
|
693
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CoordinateFromJSON));
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Get event volume for specified filters and timeframe
|
|
698
|
+
*/
|
|
699
|
+
async eventsEventsVolumeList(requestParameters: EventsEventsVolumeListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Coordinate>> {
|
|
700
|
+
const response = await this.eventsEventsVolumeListRaw(requestParameters, initOverrides);
|
|
701
|
+
return await response.value();
|
|
702
|
+
}
|
|
703
|
+
|
|
621
704
|
/**
|
|
622
705
|
* Notification Viewset
|
|
623
706
|
*/
|
package/src/apis/SchemaApi.ts
CHANGED
|
@@ -46,10 +46,10 @@ export interface BlueprintInstance {
|
|
|
46
46
|
path?: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {any}
|
|
50
50
|
* @memberof BlueprintInstance
|
|
51
51
|
*/
|
|
52
|
-
context?:
|
|
52
|
+
context?: any | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {Date}
|
|
@@ -82,10 +82,10 @@ export interface BlueprintInstance {
|
|
|
82
82
|
readonly managedModels: Array<string>;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
|
-
* @type {
|
|
85
|
+
* @type {any}
|
|
86
86
|
* @memberof BlueprintInstance
|
|
87
87
|
*/
|
|
88
|
-
readonly metadata:
|
|
88
|
+
readonly metadata: any | null;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @type {string}
|
|
@@ -33,10 +33,10 @@ export interface BlueprintInstanceRequest {
|
|
|
33
33
|
path?: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {any}
|
|
37
37
|
* @memberof BlueprintInstanceRequest
|
|
38
38
|
*/
|
|
39
|
-
context?:
|
|
39
|
+
context?: any | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {boolean}
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ContextualFlowInfoLayoutEnum } from './ContextualFlowInfoLayoutEnum';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
18
|
+
ContextualFlowInfoLayoutEnumFromJSON,
|
|
19
|
+
ContextualFlowInfoLayoutEnumFromJSONTyped,
|
|
20
|
+
ContextualFlowInfoLayoutEnumToJSON,
|
|
21
|
+
} from './ContextualFlowInfoLayoutEnum';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Contextual flow information for a challenge
|
|
@@ -46,10 +46,10 @@ export interface ContextualFlowInfo {
|
|
|
46
46
|
cancelUrl: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {ContextualFlowInfoLayoutEnum}
|
|
50
50
|
* @memberof ContextualFlowInfo
|
|
51
51
|
*/
|
|
52
|
-
layout:
|
|
52
|
+
layout: ContextualFlowInfoLayoutEnum;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -76,7 +76,7 @@ export function ContextualFlowInfoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
76
76
|
'title': !exists(json, 'title') ? undefined : json['title'],
|
|
77
77
|
'background': !exists(json, 'background') ? undefined : json['background'],
|
|
78
78
|
'cancelUrl': json['cancel_url'],
|
|
79
|
-
'layout':
|
|
79
|
+
'layout': ContextualFlowInfoLayoutEnumFromJSON(json['layout']),
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -92,7 +92,7 @@ export function ContextualFlowInfoToJSON(value?: ContextualFlowInfo | null): any
|
|
|
92
92
|
'title': value.title,
|
|
93
93
|
'background': value.background,
|
|
94
94
|
'cancel_url': value.cancelUrl,
|
|
95
|
-
'layout':
|
|
95
|
+
'layout': ContextualFlowInfoLayoutEnumToJSON(value.layout),
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* * `sidebar_right` - SIDEBAR_RIGHT
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const ContextualFlowInfoLayoutEnum = {
|
|
25
25
|
Stacked: 'stacked',
|
|
26
26
|
ContentLeft: 'content_left',
|
|
27
27
|
ContentRight: 'content_right',
|
|
@@ -29,18 +29,18 @@ export const LayoutEnum = {
|
|
|
29
29
|
SidebarRight: 'sidebar_right',
|
|
30
30
|
UnknownDefaultOpenApi: '11184809'
|
|
31
31
|
} as const;
|
|
32
|
-
export type
|
|
32
|
+
export type ContextualFlowInfoLayoutEnum = typeof ContextualFlowInfoLayoutEnum[keyof typeof ContextualFlowInfoLayoutEnum];
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
export function
|
|
36
|
-
return
|
|
35
|
+
export function ContextualFlowInfoLayoutEnumFromJSON(json: any): ContextualFlowInfoLayoutEnum {
|
|
36
|
+
return ContextualFlowInfoLayoutEnumFromJSONTyped(json, false);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export function
|
|
40
|
-
return json as
|
|
39
|
+
export function ContextualFlowInfoLayoutEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContextualFlowInfoLayoutEnum {
|
|
40
|
+
return json as ContextualFlowInfoLayoutEnum;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export function
|
|
43
|
+
export function ContextualFlowInfoLayoutEnumToJSON(value?: ContextualFlowInfoLayoutEnum | null): any {
|
|
44
44
|
return value as any;
|
|
45
45
|
}
|
|
46
46
|
|
package/src/models/Event.ts
CHANGED
|
@@ -34,10 +34,10 @@ export interface Event {
|
|
|
34
34
|
readonly pk: string;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {any}
|
|
38
38
|
* @memberof Event
|
|
39
39
|
*/
|
|
40
|
-
user?:
|
|
40
|
+
user?: any | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {EventActions}
|
|
@@ -52,10 +52,10 @@ export interface Event {
|
|
|
52
52
|
app: string;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
|
-
* @type {
|
|
55
|
+
* @type {any}
|
|
56
56
|
* @memberof Event
|
|
57
57
|
*/
|
|
58
|
-
context?:
|
|
58
|
+
context?: any | null;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {string}
|
|
@@ -76,10 +76,10 @@ export interface Event {
|
|
|
76
76
|
expires?: Date;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
|
-
* @type {
|
|
79
|
+
* @type {any}
|
|
80
80
|
* @memberof Event
|
|
81
81
|
*/
|
|
82
|
-
tenant?:
|
|
82
|
+
tenant?: any | null;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
export interface EventRequest {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {
|
|
31
|
+
* @type {any}
|
|
32
32
|
* @memberof EventRequest
|
|
33
33
|
*/
|
|
34
|
-
user?:
|
|
34
|
+
user?: any | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {EventActions}
|
|
@@ -46,10 +46,10 @@ export interface EventRequest {
|
|
|
46
46
|
app: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {any}
|
|
50
50
|
* @memberof EventRequest
|
|
51
51
|
*/
|
|
52
|
-
context?:
|
|
52
|
+
context?: any | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {string}
|
|
@@ -64,10 +64,10 @@ export interface EventRequest {
|
|
|
64
64
|
expires?: Date;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
* @type {
|
|
67
|
+
* @type {any}
|
|
68
68
|
* @memberof EventRequest
|
|
69
69
|
*/
|
|
70
|
-
tenant?:
|
|
70
|
+
tenant?: any | null;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
package/src/models/Flow.ts
CHANGED
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
31
|
FlowDesignationEnumFromJSONTyped,
|
|
32
32
|
FlowDesignationEnumToJSON,
|
|
33
33
|
} from './FlowDesignationEnum';
|
|
34
|
-
import type {
|
|
34
|
+
import type { FlowLayoutEnum } from './FlowLayoutEnum';
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from './
|
|
36
|
+
FlowLayoutEnumFromJSON,
|
|
37
|
+
FlowLayoutEnumFromJSONTyped,
|
|
38
|
+
FlowLayoutEnumToJSON,
|
|
39
|
+
} from './FlowLayoutEnum';
|
|
40
40
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
41
41
|
import {
|
|
42
42
|
PolicyEngineModeFromJSON,
|
|
@@ -131,10 +131,10 @@ export interface Flow {
|
|
|
131
131
|
readonly exportUrl: string;
|
|
132
132
|
/**
|
|
133
133
|
*
|
|
134
|
-
* @type {
|
|
134
|
+
* @type {FlowLayoutEnum}
|
|
135
135
|
* @memberof Flow
|
|
136
136
|
*/
|
|
137
|
-
layout?:
|
|
137
|
+
layout?: FlowLayoutEnum;
|
|
138
138
|
/**
|
|
139
139
|
*
|
|
140
140
|
* @type {DeniedActionEnum}
|
|
@@ -192,7 +192,7 @@ export function FlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Flow
|
|
|
192
192
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
193
193
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
194
194
|
'exportUrl': json['export_url'],
|
|
195
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
195
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
196
196
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
197
197
|
'authentication': !exists(json, 'authentication') ? undefined : AuthenticationEnumFromJSON(json['authentication']),
|
|
198
198
|
};
|
|
@@ -213,7 +213,7 @@ export function FlowToJSON(value?: Flow | null): any {
|
|
|
213
213
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
214
214
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
215
215
|
'compatibility_mode': value.compatibilityMode,
|
|
216
|
-
'layout':
|
|
216
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
217
217
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
218
218
|
'authentication': AuthenticationEnumToJSON(value.authentication),
|
|
219
219
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
* * `stacked` - Stacked
|
|
18
|
+
* * `content_left` - Content Left
|
|
19
|
+
* * `content_right` - Content Right
|
|
20
|
+
* * `sidebar_left` - Sidebar Left
|
|
21
|
+
* * `sidebar_right` - Sidebar Right
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export const FlowLayoutEnum = {
|
|
25
|
+
Stacked: 'stacked',
|
|
26
|
+
ContentLeft: 'content_left',
|
|
27
|
+
ContentRight: 'content_right',
|
|
28
|
+
SidebarLeft: 'sidebar_left',
|
|
29
|
+
SidebarRight: 'sidebar_right',
|
|
30
|
+
UnknownDefaultOpenApi: '11184809'
|
|
31
|
+
} as const;
|
|
32
|
+
export type FlowLayoutEnum = typeof FlowLayoutEnum[keyof typeof FlowLayoutEnum];
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
export function FlowLayoutEnumFromJSON(json: any): FlowLayoutEnum {
|
|
36
|
+
return FlowLayoutEnumFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function FlowLayoutEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowLayoutEnum {
|
|
40
|
+
return json as FlowLayoutEnum;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function FlowLayoutEnumToJSON(value?: FlowLayoutEnum | null): any {
|
|
44
|
+
return value as any;
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
31
|
FlowDesignationEnumFromJSONTyped,
|
|
32
32
|
FlowDesignationEnumToJSON,
|
|
33
33
|
} from './FlowDesignationEnum';
|
|
34
|
-
import type {
|
|
34
|
+
import type { FlowLayoutEnum } from './FlowLayoutEnum';
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from './
|
|
36
|
+
FlowLayoutEnumFromJSON,
|
|
37
|
+
FlowLayoutEnumFromJSONTyped,
|
|
38
|
+
FlowLayoutEnumToJSON,
|
|
39
|
+
} from './FlowLayoutEnum';
|
|
40
40
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
41
41
|
import {
|
|
42
42
|
PolicyEngineModeFromJSON,
|
|
@@ -88,10 +88,10 @@ export interface FlowRequest {
|
|
|
88
88
|
compatibilityMode?: boolean;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
|
-
* @type {
|
|
91
|
+
* @type {FlowLayoutEnum}
|
|
92
92
|
* @memberof FlowRequest
|
|
93
93
|
*/
|
|
94
|
-
layout?:
|
|
94
|
+
layout?: FlowLayoutEnum;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {DeniedActionEnum}
|
|
@@ -135,7 +135,7 @@ export function FlowRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
135
135
|
'designation': FlowDesignationEnumFromJSON(json['designation']),
|
|
136
136
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
137
137
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
138
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
138
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
139
139
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
140
140
|
'authentication': !exists(json, 'authentication') ? undefined : AuthenticationEnumFromJSON(json['authentication']),
|
|
141
141
|
};
|
|
@@ -156,7 +156,7 @@ export function FlowRequestToJSON(value?: FlowRequest | null): any {
|
|
|
156
156
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
157
157
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
158
158
|
'compatibility_mode': value.compatibilityMode,
|
|
159
|
-
'layout':
|
|
159
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
160
160
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
161
161
|
'authentication': AuthenticationEnumToJSON(value.authentication),
|
|
162
162
|
};
|
package/src/models/FlowSet.ts
CHANGED
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
FlowDesignationEnumFromJSONTyped,
|
|
26
26
|
FlowDesignationEnumToJSON,
|
|
27
27
|
} from './FlowDesignationEnum';
|
|
28
|
-
import type {
|
|
28
|
+
import type { FlowLayoutEnum } from './FlowLayoutEnum';
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from './
|
|
30
|
+
FlowLayoutEnumFromJSON,
|
|
31
|
+
FlowLayoutEnumFromJSONTyped,
|
|
32
|
+
FlowLayoutEnumToJSON,
|
|
33
|
+
} from './FlowLayoutEnum';
|
|
34
34
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
35
35
|
import {
|
|
36
36
|
PolicyEngineModeFromJSON,
|
|
@@ -107,10 +107,10 @@ export interface FlowSet {
|
|
|
107
107
|
readonly exportUrl: string;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
|
-
* @type {
|
|
110
|
+
* @type {FlowLayoutEnum}
|
|
111
111
|
* @memberof FlowSet
|
|
112
112
|
*/
|
|
113
|
-
layout?:
|
|
113
|
+
layout?: FlowLayoutEnum;
|
|
114
114
|
/**
|
|
115
115
|
*
|
|
116
116
|
* @type {DeniedActionEnum}
|
|
@@ -156,7 +156,7 @@ export function FlowSetFromJSONTyped(json: any, ignoreDiscriminator: boolean): F
|
|
|
156
156
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
157
157
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
158
158
|
'exportUrl': json['export_url'],
|
|
159
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
159
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
160
160
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
161
161
|
};
|
|
162
162
|
}
|
|
@@ -176,7 +176,7 @@ export function FlowSetToJSON(value?: FlowSet | null): any {
|
|
|
176
176
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
177
177
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
178
178
|
'compatibility_mode': value.compatibilityMode,
|
|
179
|
-
'layout':
|
|
179
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
180
180
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
181
181
|
};
|
|
182
182
|
}
|
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
FlowDesignationEnumFromJSONTyped,
|
|
26
26
|
FlowDesignationEnumToJSON,
|
|
27
27
|
} from './FlowDesignationEnum';
|
|
28
|
-
import type {
|
|
28
|
+
import type { FlowLayoutEnum } from './FlowLayoutEnum';
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from './
|
|
30
|
+
FlowLayoutEnumFromJSON,
|
|
31
|
+
FlowLayoutEnumFromJSONTyped,
|
|
32
|
+
FlowLayoutEnumToJSON,
|
|
33
|
+
} from './FlowLayoutEnum';
|
|
34
34
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
35
35
|
import {
|
|
36
36
|
PolicyEngineModeFromJSON,
|
|
@@ -82,10 +82,10 @@ export interface FlowSetRequest {
|
|
|
82
82
|
compatibilityMode?: boolean;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
|
-
* @type {
|
|
85
|
+
* @type {FlowLayoutEnum}
|
|
86
86
|
* @memberof FlowSetRequest
|
|
87
87
|
*/
|
|
88
|
-
layout?:
|
|
88
|
+
layout?: FlowLayoutEnum;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @type {DeniedActionEnum}
|
|
@@ -123,7 +123,7 @@ export function FlowSetRequestFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
123
123
|
'designation': FlowDesignationEnumFromJSON(json['designation']),
|
|
124
124
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
125
125
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
126
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
126
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
127
127
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
128
128
|
};
|
|
129
129
|
}
|
|
@@ -143,7 +143,7 @@ export function FlowSetRequestToJSON(value?: FlowSetRequest | null): any {
|
|
|
143
143
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
144
144
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
145
145
|
'compatibility_mode': value.compatibilityMode,
|
|
146
|
-
'layout':
|
|
146
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
147
147
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
148
148
|
};
|
|
149
149
|
}
|
|
@@ -63,10 +63,10 @@ export interface KubernetesServiceConnection {
|
|
|
63
63
|
readonly metaModelName: string;
|
|
64
64
|
/**
|
|
65
65
|
* Paste your kubeconfig here. authentik will automatically use the currently selected context.
|
|
66
|
-
* @type {
|
|
66
|
+
* @type {any}
|
|
67
67
|
* @memberof KubernetesServiceConnection
|
|
68
68
|
*/
|
|
69
|
-
kubeconfig?:
|
|
69
|
+
kubeconfig?: any | null;
|
|
70
70
|
/**
|
|
71
71
|
* Verify SSL Certificates of the Kubernetes API endpoint
|
|
72
72
|
* @type {boolean}
|
|
@@ -33,10 +33,10 @@ export interface KubernetesServiceConnectionRequest {
|
|
|
33
33
|
local?: boolean;
|
|
34
34
|
/**
|
|
35
35
|
* Paste your kubeconfig here. authentik will automatically use the currently selected context.
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {any}
|
|
37
37
|
* @memberof KubernetesServiceConnectionRequest
|
|
38
38
|
*/
|
|
39
|
-
kubeconfig?:
|
|
39
|
+
kubeconfig?: any | null;
|
|
40
40
|
/**
|
|
41
41
|
* Verify SSL Certificates of the Kubernetes API endpoint
|
|
42
42
|
* @type {boolean}
|
|
@@ -203,10 +203,10 @@ export interface OAuthSource {
|
|
|
203
203
|
oidcJwksUrl?: string;
|
|
204
204
|
/**
|
|
205
205
|
*
|
|
206
|
-
* @type {
|
|
206
|
+
* @type {any}
|
|
207
207
|
* @memberof OAuthSource
|
|
208
208
|
*/
|
|
209
|
-
oidcJwks?:
|
|
209
|
+
oidcJwks?: any | null;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
/**
|
|
@@ -148,10 +148,10 @@ export interface OAuthSourceRequest {
|
|
|
148
148
|
oidcJwksUrl?: string;
|
|
149
149
|
/**
|
|
150
150
|
*
|
|
151
|
-
* @type {
|
|
151
|
+
* @type {any}
|
|
152
152
|
* @memberof OAuthSourceRequest
|
|
153
153
|
*/
|
|
154
|
-
oidcJwks?:
|
|
154
|
+
oidcJwks?: any | null;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
/**
|
|
@@ -33,10 +33,10 @@ export interface PatchedBlueprintInstanceRequest {
|
|
|
33
33
|
path?: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {any}
|
|
37
37
|
* @memberof PatchedBlueprintInstanceRequest
|
|
38
38
|
*/
|
|
39
|
-
context?:
|
|
39
|
+
context?: any | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {boolean}
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
export interface PatchedEventRequest {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {
|
|
31
|
+
* @type {any}
|
|
32
32
|
* @memberof PatchedEventRequest
|
|
33
33
|
*/
|
|
34
|
-
user?:
|
|
34
|
+
user?: any | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {EventActions}
|
|
@@ -46,10 +46,10 @@ export interface PatchedEventRequest {
|
|
|
46
46
|
app?: string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {any}
|
|
50
50
|
* @memberof PatchedEventRequest
|
|
51
51
|
*/
|
|
52
|
-
context?:
|
|
52
|
+
context?: any | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {string}
|
|
@@ -64,10 +64,10 @@ export interface PatchedEventRequest {
|
|
|
64
64
|
expires?: Date;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
* @type {
|
|
67
|
+
* @type {any}
|
|
68
68
|
* @memberof PatchedEventRequest
|
|
69
69
|
*/
|
|
70
|
-
tenant?:
|
|
70
|
+
tenant?: any | null;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|