@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/.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/EventsApi.d.ts
CHANGED
|
@@ -50,6 +50,18 @@ export interface EventsEventsUpdateRequest {
|
|
|
50
50
|
eventUuid: string;
|
|
51
51
|
eventRequest: EventRequest;
|
|
52
52
|
}
|
|
53
|
+
export interface EventsEventsVolumeListRequest {
|
|
54
|
+
action?: string;
|
|
55
|
+
clientIp?: string;
|
|
56
|
+
contextAuthorizedApp?: string;
|
|
57
|
+
contextModelApp?: string;
|
|
58
|
+
contextModelName?: string;
|
|
59
|
+
contextModelPk?: string;
|
|
60
|
+
ordering?: string;
|
|
61
|
+
search?: string;
|
|
62
|
+
tenantName?: string;
|
|
63
|
+
username?: string;
|
|
64
|
+
}
|
|
53
65
|
export interface EventsNotificationsDestroyRequest {
|
|
54
66
|
uuid: string;
|
|
55
67
|
}
|
|
@@ -217,6 +229,14 @@ export declare class EventsApi extends runtime.BaseAPI {
|
|
|
217
229
|
* Event Read-Only Viewset
|
|
218
230
|
*/
|
|
219
231
|
eventsEventsUpdate(requestParameters: EventsEventsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Event>;
|
|
232
|
+
/**
|
|
233
|
+
* Get event volume for specified filters and timeframe
|
|
234
|
+
*/
|
|
235
|
+
eventsEventsVolumeListRaw(requestParameters: EventsEventsVolumeListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Coordinate>>>;
|
|
236
|
+
/**
|
|
237
|
+
* Get event volume for specified filters and timeframe
|
|
238
|
+
*/
|
|
239
|
+
eventsEventsVolumeList(requestParameters?: EventsEventsVolumeListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Coordinate>>;
|
|
220
240
|
/**
|
|
221
241
|
* Notification Viewset
|
|
222
242
|
*/
|
package/dist/apis/EventsApi.js
CHANGED
|
@@ -352,6 +352,64 @@ class EventsApi extends runtime.BaseAPI {
|
|
|
352
352
|
return yield response.value();
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
|
+
/**
|
|
356
|
+
* Get event volume for specified filters and timeframe
|
|
357
|
+
*/
|
|
358
|
+
eventsEventsVolumeListRaw(requestParameters, initOverrides) {
|
|
359
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
360
|
+
const queryParameters = {};
|
|
361
|
+
if (requestParameters.action !== undefined) {
|
|
362
|
+
queryParameters['action'] = requestParameters.action;
|
|
363
|
+
}
|
|
364
|
+
if (requestParameters.clientIp !== undefined) {
|
|
365
|
+
queryParameters['client_ip'] = requestParameters.clientIp;
|
|
366
|
+
}
|
|
367
|
+
if (requestParameters.contextAuthorizedApp !== undefined) {
|
|
368
|
+
queryParameters['context_authorized_app'] = requestParameters.contextAuthorizedApp;
|
|
369
|
+
}
|
|
370
|
+
if (requestParameters.contextModelApp !== undefined) {
|
|
371
|
+
queryParameters['context_model_app'] = requestParameters.contextModelApp;
|
|
372
|
+
}
|
|
373
|
+
if (requestParameters.contextModelName !== undefined) {
|
|
374
|
+
queryParameters['context_model_name'] = requestParameters.contextModelName;
|
|
375
|
+
}
|
|
376
|
+
if (requestParameters.contextModelPk !== undefined) {
|
|
377
|
+
queryParameters['context_model_pk'] = requestParameters.contextModelPk;
|
|
378
|
+
}
|
|
379
|
+
if (requestParameters.ordering !== undefined) {
|
|
380
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
381
|
+
}
|
|
382
|
+
if (requestParameters.search !== undefined) {
|
|
383
|
+
queryParameters['search'] = requestParameters.search;
|
|
384
|
+
}
|
|
385
|
+
if (requestParameters.tenantName !== undefined) {
|
|
386
|
+
queryParameters['tenant_name'] = requestParameters.tenantName;
|
|
387
|
+
}
|
|
388
|
+
if (requestParameters.username !== undefined) {
|
|
389
|
+
queryParameters['username'] = requestParameters.username;
|
|
390
|
+
}
|
|
391
|
+
const headerParameters = {};
|
|
392
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
393
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
394
|
+
}
|
|
395
|
+
const response = yield this.request({
|
|
396
|
+
path: `/events/events/volume/`,
|
|
397
|
+
method: 'GET',
|
|
398
|
+
headers: headerParameters,
|
|
399
|
+
query: queryParameters,
|
|
400
|
+
}, initOverrides);
|
|
401
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.CoordinateFromJSON));
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Get event volume for specified filters and timeframe
|
|
406
|
+
*/
|
|
407
|
+
eventsEventsVolumeList(requestParameters = {}, initOverrides) {
|
|
408
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
409
|
+
const response = yield this.eventsEventsVolumeListRaw(requestParameters, initOverrides);
|
|
410
|
+
return yield response.value();
|
|
411
|
+
});
|
|
412
|
+
}
|
|
355
413
|
/**
|
|
356
414
|
* Notification Viewset
|
|
357
415
|
*/
|
package/dist/apis/SchemaApi.d.ts
CHANGED
package/dist/apis/SchemaApi.js
CHANGED
|
@@ -50,6 +50,18 @@ export interface EventsEventsUpdateRequest {
|
|
|
50
50
|
eventUuid: string;
|
|
51
51
|
eventRequest: EventRequest;
|
|
52
52
|
}
|
|
53
|
+
export interface EventsEventsVolumeListRequest {
|
|
54
|
+
action?: string;
|
|
55
|
+
clientIp?: string;
|
|
56
|
+
contextAuthorizedApp?: string;
|
|
57
|
+
contextModelApp?: string;
|
|
58
|
+
contextModelName?: string;
|
|
59
|
+
contextModelPk?: string;
|
|
60
|
+
ordering?: string;
|
|
61
|
+
search?: string;
|
|
62
|
+
tenantName?: string;
|
|
63
|
+
username?: string;
|
|
64
|
+
}
|
|
53
65
|
export interface EventsNotificationsDestroyRequest {
|
|
54
66
|
uuid: string;
|
|
55
67
|
}
|
|
@@ -217,6 +229,14 @@ export declare class EventsApi extends runtime.BaseAPI {
|
|
|
217
229
|
* Event Read-Only Viewset
|
|
218
230
|
*/
|
|
219
231
|
eventsEventsUpdate(requestParameters: EventsEventsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Event>;
|
|
232
|
+
/**
|
|
233
|
+
* Get event volume for specified filters and timeframe
|
|
234
|
+
*/
|
|
235
|
+
eventsEventsVolumeListRaw(requestParameters: EventsEventsVolumeListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Coordinate>>>;
|
|
236
|
+
/**
|
|
237
|
+
* Get event volume for specified filters and timeframe
|
|
238
|
+
*/
|
|
239
|
+
eventsEventsVolumeList(requestParameters?: EventsEventsVolumeListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Coordinate>>;
|
|
220
240
|
/**
|
|
221
241
|
* Notification Viewset
|
|
222
242
|
*/
|
|
@@ -349,6 +349,64 @@ export class EventsApi extends runtime.BaseAPI {
|
|
|
349
349
|
return yield response.value();
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
|
+
/**
|
|
353
|
+
* Get event volume for specified filters and timeframe
|
|
354
|
+
*/
|
|
355
|
+
eventsEventsVolumeListRaw(requestParameters, initOverrides) {
|
|
356
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
357
|
+
const queryParameters = {};
|
|
358
|
+
if (requestParameters.action !== undefined) {
|
|
359
|
+
queryParameters['action'] = requestParameters.action;
|
|
360
|
+
}
|
|
361
|
+
if (requestParameters.clientIp !== undefined) {
|
|
362
|
+
queryParameters['client_ip'] = requestParameters.clientIp;
|
|
363
|
+
}
|
|
364
|
+
if (requestParameters.contextAuthorizedApp !== undefined) {
|
|
365
|
+
queryParameters['context_authorized_app'] = requestParameters.contextAuthorizedApp;
|
|
366
|
+
}
|
|
367
|
+
if (requestParameters.contextModelApp !== undefined) {
|
|
368
|
+
queryParameters['context_model_app'] = requestParameters.contextModelApp;
|
|
369
|
+
}
|
|
370
|
+
if (requestParameters.contextModelName !== undefined) {
|
|
371
|
+
queryParameters['context_model_name'] = requestParameters.contextModelName;
|
|
372
|
+
}
|
|
373
|
+
if (requestParameters.contextModelPk !== undefined) {
|
|
374
|
+
queryParameters['context_model_pk'] = requestParameters.contextModelPk;
|
|
375
|
+
}
|
|
376
|
+
if (requestParameters.ordering !== undefined) {
|
|
377
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
378
|
+
}
|
|
379
|
+
if (requestParameters.search !== undefined) {
|
|
380
|
+
queryParameters['search'] = requestParameters.search;
|
|
381
|
+
}
|
|
382
|
+
if (requestParameters.tenantName !== undefined) {
|
|
383
|
+
queryParameters['tenant_name'] = requestParameters.tenantName;
|
|
384
|
+
}
|
|
385
|
+
if (requestParameters.username !== undefined) {
|
|
386
|
+
queryParameters['username'] = requestParameters.username;
|
|
387
|
+
}
|
|
388
|
+
const headerParameters = {};
|
|
389
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
390
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
391
|
+
}
|
|
392
|
+
const response = yield this.request({
|
|
393
|
+
path: `/events/events/volume/`,
|
|
394
|
+
method: 'GET',
|
|
395
|
+
headers: headerParameters,
|
|
396
|
+
query: queryParameters,
|
|
397
|
+
}, initOverrides);
|
|
398
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CoordinateFromJSON));
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Get event volume for specified filters and timeframe
|
|
403
|
+
*/
|
|
404
|
+
eventsEventsVolumeList(requestParameters = {}, initOverrides) {
|
|
405
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
406
|
+
const response = yield this.eventsEventsVolumeListRaw(requestParameters, initOverrides);
|
|
407
|
+
return yield response.value();
|
|
408
|
+
});
|
|
409
|
+
}
|
|
352
410
|
/**
|
|
353
411
|
* Notification Viewset
|
|
354
412
|
*/
|
|
@@ -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
|
};
|