@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
|
@@ -128,12 +128,10 @@ export interface OAuthSourceRequest {
|
|
|
128
128
|
oidcJwksUrl?: string;
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
|
-
* @type {
|
|
131
|
+
* @type {any}
|
|
132
132
|
* @memberof OAuthSourceRequest
|
|
133
133
|
*/
|
|
134
|
-
oidcJwks?:
|
|
135
|
-
[key: string]: any;
|
|
136
|
-
};
|
|
134
|
+
oidcJwks?: any | null;
|
|
137
135
|
}
|
|
138
136
|
/**
|
|
139
137
|
* Check if a given object implements the OAuthSourceRequest interface.
|
|
@@ -29,12 +29,10 @@ export interface PatchedBlueprintInstanceRequest {
|
|
|
29
29
|
path?: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {any}
|
|
33
33
|
* @memberof PatchedBlueprintInstanceRequest
|
|
34
34
|
*/
|
|
35
|
-
context?:
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
35
|
+
context?: any | null;
|
|
38
36
|
/**
|
|
39
37
|
*
|
|
40
38
|
* @type {boolean}
|
|
@@ -18,12 +18,10 @@ import type { EventActions } from './EventActions';
|
|
|
18
18
|
export interface PatchedEventRequest {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {any}
|
|
22
22
|
* @memberof PatchedEventRequest
|
|
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 PatchedEventRequest {
|
|
|
38
36
|
app?: string;
|
|
39
37
|
/**
|
|
40
38
|
*
|
|
41
|
-
* @type {
|
|
39
|
+
* @type {any}
|
|
42
40
|
* @memberof PatchedEventRequest
|
|
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 PatchedEventRequest {
|
|
|
58
54
|
expires?: Date;
|
|
59
55
|
/**
|
|
60
56
|
*
|
|
61
|
-
* @type {
|
|
57
|
+
* @type {any}
|
|
62
58
|
* @memberof PatchedEventRequest
|
|
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 PatchedEventRequest 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
|
|
@@ -58,10 +58,10 @@ export interface PatchedFlowRequest {
|
|
|
58
58
|
compatibilityMode?: boolean;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {FlowLayoutEnum}
|
|
62
62
|
* @memberof PatchedFlowRequest
|
|
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 PatchedFlowRequest interface.
|
|
@@ -38,7 +38,7 @@ export function PatchedFlowRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'designation': !exists(json, 'designation') ? undefined : FlowDesignationEnumFromJSON(json['designation']),
|
|
39
39
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
40
40
|
'compatibilityMode': !exists(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
41
|
-
'layout': !exists(json, 'layout') ? undefined :
|
|
41
|
+
'layout': !exists(json, 'layout') ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
42
42
|
'deniedAction': !exists(json, 'denied_action') ? undefined : DeniedActionEnumFromJSON(json['denied_action']),
|
|
43
43
|
'authentication': !exists(json, 'authentication') ? undefined : AuthenticationEnumFromJSON(json['authentication']),
|
|
44
44
|
};
|
|
@@ -57,7 +57,7 @@ export function PatchedFlowRequestToJSON(value) {
|
|
|
57
57
|
'designation': FlowDesignationEnumToJSON(value.designation),
|
|
58
58
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
59
59
|
'compatibility_mode': value.compatibilityMode,
|
|
60
|
-
'layout':
|
|
60
|
+
'layout': FlowLayoutEnumToJSON(value.layout),
|
|
61
61
|
'denied_action': DeniedActionEnumToJSON(value.deniedAction),
|
|
62
62
|
'authentication': AuthenticationEnumToJSON(value.authentication),
|
|
63
63
|
};
|
|
@@ -29,12 +29,10 @@ export interface PatchedKubernetesServiceConnectionRequest {
|
|
|
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 PatchedKubernetesServiceConnectionRequest
|
|
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}
|
|
@@ -128,12 +128,10 @@ export interface PatchedOAuthSourceRequest {
|
|
|
128
128
|
oidcJwksUrl?: string;
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
|
-
* @type {
|
|
131
|
+
* @type {any}
|
|
132
132
|
* @memberof PatchedOAuthSourceRequest
|
|
133
133
|
*/
|
|
134
|
-
oidcJwks?:
|
|
135
|
-
[key: string]: any;
|
|
136
|
-
};
|
|
134
|
+
oidcJwks?: any | null;
|
|
137
135
|
}
|
|
138
136
|
/**
|
|
139
137
|
* Check if a given object implements the PatchedOAuthSourceRequest interface.
|
|
@@ -95,12 +95,10 @@ export interface PatchedTenantRequest {
|
|
|
95
95
|
webCertificate?: string | null;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
|
-
* @type {
|
|
98
|
+
* @type {any}
|
|
99
99
|
* @memberof PatchedTenantRequest
|
|
100
100
|
*/
|
|
101
|
-
attributes?:
|
|
102
|
-
[key: string]: any;
|
|
103
|
-
};
|
|
101
|
+
attributes?: any | null;
|
|
104
102
|
}
|
|
105
103
|
/**
|
|
106
104
|
* Check if a given object implements the PatchedTenantRequest interface.
|
|
@@ -35,12 +35,10 @@ export interface Reputation {
|
|
|
35
35
|
ip: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {any}
|
|
39
39
|
* @memberof Reputation
|
|
40
40
|
*/
|
|
41
|
-
ipGeoData?:
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
};
|
|
41
|
+
ipGeoData?: any | null;
|
|
44
42
|
/**
|
|
45
43
|
*
|
|
46
44
|
* @type {number}
|
|
@@ -101,12 +101,10 @@ export interface Tenant {
|
|
|
101
101
|
webCertificate?: string | null;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
|
-
* @type {
|
|
104
|
+
* @type {any}
|
|
105
105
|
* @memberof Tenant
|
|
106
106
|
*/
|
|
107
|
-
attributes?:
|
|
108
|
-
[key: string]: any;
|
|
109
|
-
};
|
|
107
|
+
attributes?: any | null;
|
|
110
108
|
}
|
|
111
109
|
/**
|
|
112
110
|
* Check if a given object implements the Tenant interface.
|
|
@@ -95,12 +95,10 @@ export interface TenantRequest {
|
|
|
95
95
|
webCertificate?: string | null;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
|
-
* @type {
|
|
98
|
+
* @type {any}
|
|
99
99
|
* @memberof TenantRequest
|
|
100
100
|
*/
|
|
101
|
-
attributes?:
|
|
102
|
-
[key: string]: any;
|
|
103
|
-
};
|
|
101
|
+
attributes?: any | null;
|
|
104
102
|
}
|
|
105
103
|
/**
|
|
106
104
|
* Check if a given object implements the TenantRequest interface.
|
|
@@ -69,6 +69,7 @@ export * from './ConsentStage';
|
|
|
69
69
|
export * from './ConsentStageModeEnum';
|
|
70
70
|
export * from './ConsentStageRequest';
|
|
71
71
|
export * from './ContextualFlowInfo';
|
|
72
|
+
export * from './ContextualFlowInfoLayoutEnum';
|
|
72
73
|
export * from './Coordinate';
|
|
73
74
|
export * from './CurrentTenant';
|
|
74
75
|
export * from './DeniedActionEnum';
|
|
@@ -118,6 +119,7 @@ export * from './FlowErrorChallenge';
|
|
|
118
119
|
export * from './FlowImportResult';
|
|
119
120
|
export * from './FlowInspection';
|
|
120
121
|
export * from './FlowInspectorPlan';
|
|
122
|
+
export * from './FlowLayoutEnum';
|
|
121
123
|
export * from './FlowRequest';
|
|
122
124
|
export * from './FlowSet';
|
|
123
125
|
export * from './FlowSetRequest';
|
|
@@ -153,7 +155,6 @@ export * from './LDAPProviderRequest';
|
|
|
153
155
|
export * from './LDAPSource';
|
|
154
156
|
export * from './LDAPSourceRequest';
|
|
155
157
|
export * from './LDAPSyncStatus';
|
|
156
|
-
export * from './LayoutEnum';
|
|
157
158
|
export * from './License';
|
|
158
159
|
export * from './LicenseForecast';
|
|
159
160
|
export * from './LicenseRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -71,6 +71,7 @@ export * from './ConsentStage';
|
|
|
71
71
|
export * from './ConsentStageModeEnum';
|
|
72
72
|
export * from './ConsentStageRequest';
|
|
73
73
|
export * from './ContextualFlowInfo';
|
|
74
|
+
export * from './ContextualFlowInfoLayoutEnum';
|
|
74
75
|
export * from './Coordinate';
|
|
75
76
|
export * from './CurrentTenant';
|
|
76
77
|
export * from './DeniedActionEnum';
|
|
@@ -120,6 +121,7 @@ export * from './FlowErrorChallenge';
|
|
|
120
121
|
export * from './FlowImportResult';
|
|
121
122
|
export * from './FlowInspection';
|
|
122
123
|
export * from './FlowInspectorPlan';
|
|
124
|
+
export * from './FlowLayoutEnum';
|
|
123
125
|
export * from './FlowRequest';
|
|
124
126
|
export * from './FlowSet';
|
|
125
127
|
export * from './FlowSetRequest';
|
|
@@ -155,7 +157,6 @@ export * from './LDAPProviderRequest';
|
|
|
155
157
|
export * from './LDAPSource';
|
|
156
158
|
export * from './LDAPSourceRequest';
|
|
157
159
|
export * from './LDAPSyncStatus';
|
|
158
|
-
export * from './LayoutEnum';
|
|
159
160
|
export * from './License';
|
|
160
161
|
export * from './LicenseForecast';
|
|
161
162
|
export * from './LicenseRequest';
|
|
@@ -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];
|
|
@@ -19,6 +19,7 @@ exports.AuthenticationEnumToJSON = exports.AuthenticationEnumFromJSONTyped = exp
|
|
|
19
19
|
* * `require_authenticated` - Require Authenticated
|
|
20
20
|
* * `require_unauthenticated` - Require Unauthenticated
|
|
21
21
|
* * `require_superuser` - Require Superuser
|
|
22
|
+
* * `require_outpost` - Require Outpost
|
|
22
23
|
* @export
|
|
23
24
|
*/
|
|
24
25
|
exports.AuthenticationEnum = {
|
|
@@ -26,6 +27,7 @@ exports.AuthenticationEnum = {
|
|
|
26
27
|
RequireAuthenticated: 'require_authenticated',
|
|
27
28
|
RequireUnauthenticated: 'require_unauthenticated',
|
|
28
29
|
RequireSuperuser: 'require_superuser',
|
|
30
|
+
RequireOutpost: 'require_outpost',
|
|
29
31
|
UnknownDefaultOpenApi: '11184809'
|
|
30
32
|
};
|
|
31
33
|
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.
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ContextualFlowInfoToJSON = exports.ContextualFlowInfoFromJSONTyped = exports.ContextualFlowInfoFromJSON = exports.instanceOfContextualFlowInfo = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
18
|
+
const ContextualFlowInfoLayoutEnum_1 = require("./ContextualFlowInfoLayoutEnum");
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the ContextualFlowInfo interface.
|
|
21
21
|
*/
|
|
@@ -38,7 +38,7 @@ function ContextualFlowInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'title': !(0, runtime_1.exists)(json, 'title') ? undefined : json['title'],
|
|
39
39
|
'background': !(0, runtime_1.exists)(json, 'background') ? undefined : json['background'],
|
|
40
40
|
'cancelUrl': json['cancel_url'],
|
|
41
|
-
'layout': (0,
|
|
41
|
+
'layout': (0, ContextualFlowInfoLayoutEnum_1.ContextualFlowInfoLayoutEnumFromJSON)(json['layout']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
exports.ContextualFlowInfoFromJSONTyped = ContextualFlowInfoFromJSONTyped;
|
|
@@ -53,7 +53,7 @@ function ContextualFlowInfoToJSON(value) {
|
|
|
53
53
|
'title': value.title,
|
|
54
54
|
'background': value.background,
|
|
55
55
|
'cancel_url': value.cancelUrl,
|
|
56
|
-
'layout': (0,
|
|
56
|
+
'layout': (0, ContextualFlowInfoLayoutEnum_1.ContextualFlowInfoLayoutEnumToJSON)(value.layout),
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
exports.ContextualFlowInfoToJSON = ContextualFlowInfoToJSON;
|
|
@@ -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;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ContextualFlowInfoLayoutEnumToJSON = exports.ContextualFlowInfoLayoutEnumFromJSONTyped = exports.ContextualFlowInfoLayoutEnumFromJSON = exports.ContextualFlowInfoLayoutEnum = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* * `stacked` - STACKED
|
|
19
19
|
* * `content_left` - CONTENT_LEFT
|
|
@@ -22,7 +22,7 @@ exports.LayoutEnumToJSON = exports.LayoutEnumFromJSONTyped = exports.LayoutEnumF
|
|
|
22
22
|
* * `sidebar_right` - SIDEBAR_RIGHT
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.ContextualFlowInfoLayoutEnum = {
|
|
26
26
|
Stacked: 'stacked',
|
|
27
27
|
ContentLeft: 'content_left',
|
|
28
28
|
ContentRight: 'content_right',
|
|
@@ -30,15 +30,15 @@ exports.LayoutEnum = {
|
|
|
30
30
|
SidebarRight: 'sidebar_right',
|
|
31
31
|
UnknownDefaultOpenApi: '11184809'
|
|
32
32
|
};
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function ContextualFlowInfoLayoutEnumFromJSON(json) {
|
|
34
|
+
return ContextualFlowInfoLayoutEnumFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
exports.
|
|
37
|
-
function
|
|
36
|
+
exports.ContextualFlowInfoLayoutEnumFromJSON = ContextualFlowInfoLayoutEnumFromJSON;
|
|
37
|
+
function ContextualFlowInfoLayoutEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
40
|
-
exports.
|
|
41
|
-
function
|
|
40
|
+
exports.ContextualFlowInfoLayoutEnumFromJSONTyped = ContextualFlowInfoLayoutEnumFromJSONTyped;
|
|
41
|
+
function ContextualFlowInfoLayoutEnumToJSON(value) {
|
|
42
42
|
return value;
|
|
43
43
|
}
|
|
44
|
-
exports.
|
|
44
|
+
exports.ContextualFlowInfoLayoutEnumToJSON = ContextualFlowInfoLayoutEnumToJSON;
|
package/dist/models/Event.d.ts
CHANGED
|
@@ -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.
|
package/dist/models/Flow.d.ts
CHANGED
|
@@ -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/models/Flow.js
CHANGED
|
@@ -18,7 +18,7 @@ const runtime_1 = require("../runtime");
|
|
|
18
18
|
const AuthenticationEnum_1 = require("./AuthenticationEnum");
|
|
19
19
|
const DeniedActionEnum_1 = require("./DeniedActionEnum");
|
|
20
20
|
const FlowDesignationEnum_1 = require("./FlowDesignationEnum");
|
|
21
|
-
const
|
|
21
|
+
const FlowLayoutEnum_1 = require("./FlowLayoutEnum");
|
|
22
22
|
const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the Flow interface.
|
|
@@ -61,7 +61,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
62
62
|
'compatibilityMode': !(0, runtime_1.exists)(json, 'compatibility_mode') ? undefined : json['compatibility_mode'],
|
|
63
63
|
'exportUrl': json['export_url'],
|
|
64
|
-
'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0,
|
|
64
|
+
'layout': !(0, runtime_1.exists)(json, 'layout') ? undefined : (0, FlowLayoutEnum_1.FlowLayoutEnumFromJSON)(json['layout']),
|
|
65
65
|
'deniedAction': !(0, runtime_1.exists)(json, 'denied_action') ? undefined : (0, DeniedActionEnum_1.DeniedActionEnumFromJSON)(json['denied_action']),
|
|
66
66
|
'authentication': !(0, runtime_1.exists)(json, 'authentication') ? undefined : (0, AuthenticationEnum_1.AuthenticationEnumFromJSON)(json['authentication']),
|
|
67
67
|
};
|
|
@@ -81,7 +81,7 @@ function FlowToJSON(value) {
|
|
|
81
81
|
'designation': (0, FlowDesignationEnum_1.FlowDesignationEnumToJSON)(value.designation),
|
|
82
82
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
83
83
|
'compatibility_mode': value.compatibilityMode,
|
|
84
|
-
'layout': (0,
|
|
84
|
+
'layout': (0, FlowLayoutEnum_1.FlowLayoutEnumToJSON)(value.layout),
|
|
85
85
|
'denied_action': (0, DeniedActionEnum_1.DeniedActionEnumToJSON)(value.deniedAction),
|
|
86
86
|
'authentication': (0, AuthenticationEnum_1.AuthenticationEnumToJSON)(value.authentication),
|
|
87
87
|
};
|
|
@@ -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;
|