@goauthentik/api 2023.10.6-1706092584 → 2023.10.6-1706113408
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 +3 -2
- package/dist/apis/AdminApi.d.ts +1 -31
- package/dist/apis/AdminApi.js +0 -89
- package/dist/apis/EventsApi.d.ts +51 -1
- package/dist/apis/EventsApi.js +121 -1
- package/dist/apis/RbacApi.d.ts +0 -8
- package/dist/apis/RbacApi.js +0 -8
- package/dist/esm/apis/AdminApi.d.ts +1 -31
- package/dist/esm/apis/AdminApi.js +1 -90
- package/dist/esm/apis/EventsApi.d.ts +51 -1
- package/dist/esm/apis/EventsApi.js +121 -1
- package/dist/esm/apis/RbacApi.d.ts +0 -8
- package/dist/esm/apis/RbacApi.js +0 -8
- package/dist/esm/models/LDAPSyncStatus.d.ts +3 -3
- package/dist/esm/models/LDAPSyncStatus.js +2 -2
- package/dist/esm/models/ModelEnum.d.ts +1 -9
- package/dist/esm/models/ModelEnum.js +1 -9
- package/dist/esm/models/PaginatedSystemTaskList.d.ts +39 -0
- package/dist/esm/models/PaginatedSystemTaskList.js +48 -0
- package/dist/esm/models/SCIMSyncStatus.d.ts +3 -3
- package/dist/esm/models/SCIMSyncStatus.js +2 -2
- package/dist/esm/models/SystemTask.d.ts +86 -0
- package/dist/esm/models/SystemTask.js +66 -0
- package/dist/esm/models/SystemTaskStatusEnum.d.ts +29 -0
- package/dist/esm/models/SystemTaskStatusEnum.js +36 -0
- package/dist/esm/models/UsedByActionEnum.d.ts +8 -8
- package/dist/esm/models/UsedByActionEnum.js +8 -8
- package/dist/esm/models/index.d.ts +3 -2
- package/dist/esm/models/index.js +3 -2
- package/dist/models/LDAPSyncStatus.d.ts +3 -3
- package/dist/models/LDAPSyncStatus.js +2 -2
- package/dist/models/ModelEnum.d.ts +1 -9
- package/dist/models/ModelEnum.js +1 -9
- package/dist/models/PaginatedSystemTaskList.d.ts +39 -0
- package/dist/models/PaginatedSystemTaskList.js +55 -0
- package/dist/models/SCIMSyncStatus.d.ts +3 -3
- package/dist/models/SCIMSyncStatus.js +2 -2
- package/dist/models/SystemTask.d.ts +86 -0
- package/dist/models/SystemTask.js +73 -0
- package/dist/models/SystemTaskStatusEnum.d.ts +29 -0
- package/dist/models/SystemTaskStatusEnum.js +42 -0
- package/dist/models/UsedByActionEnum.d.ts +8 -8
- package/dist/models/UsedByActionEnum.js +8 -8
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +0 -108
- package/src/apis/EventsApi.ts +160 -0
- package/src/apis/RbacApi.ts +0 -8
- package/src/models/LDAPSyncStatus.ts +8 -8
- package/src/models/ModelEnum.ts +1 -9
- package/src/models/PaginatedSystemTaskList.ts +88 -0
- package/src/models/SCIMSyncStatus.ts +8 -8
- package/src/models/SystemTask.ts +148 -0
- package/src/models/SystemTaskStatusEnum.ts +44 -0
- package/src/models/UsedByActionEnum.ts +8 -8
- package/src/models/index.ts +3 -2
- package/dist/esm/models/Task.d.ts +0 -62
- package/dist/esm/models/Task.js +0 -58
- package/dist/esm/models/TaskStatusEnum.d.ts +0 -29
- package/dist/esm/models/TaskStatusEnum.js +0 -36
- package/dist/models/Task.d.ts +0 -62
- package/dist/models/Task.js +0 -65
- package/dist/models/TaskStatusEnum.d.ts +0 -29
- package/dist/models/TaskStatusEnum.js +0 -42
- package/src/models/Task.ts +0 -117
- package/src/models/TaskStatusEnum.ts +0 -44
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { Coordinate, Event, EventRequest, EventTopPerUser, Notification, NotificationRequest, NotificationRule, NotificationRuleRequest, NotificationTransport, NotificationTransportRequest, NotificationTransportTest, PaginatedEventList, PaginatedNotificationList, PaginatedNotificationRuleList, PaginatedNotificationTransportList, PatchedEventRequest, PatchedNotificationRequest, PatchedNotificationRuleRequest, PatchedNotificationTransportRequest, TypeCreate, UsedBy } from '../models';
|
|
13
|
+
import type { Coordinate, Event, EventRequest, EventTopPerUser, Notification, NotificationRequest, NotificationRule, NotificationRuleRequest, NotificationTransport, NotificationTransportRequest, NotificationTransportTest, PaginatedEventList, PaginatedNotificationList, PaginatedNotificationRuleList, PaginatedNotificationTransportList, PaginatedSystemTaskList, PatchedEventRequest, PatchedNotificationRequest, PatchedNotificationRuleRequest, PatchedNotificationTransportRequest, SystemTask, TypeCreate, UsedBy } from '../models';
|
|
14
14
|
export interface EventsEventsCreateRequest {
|
|
15
15
|
eventRequest: EventRequest;
|
|
16
16
|
}
|
|
@@ -120,6 +120,21 @@ export interface EventsRulesUpdateRequest {
|
|
|
120
120
|
export interface EventsRulesUsedByListRequest {
|
|
121
121
|
pbmUuid: string;
|
|
122
122
|
}
|
|
123
|
+
export interface EventsSystemTasksListRequest {
|
|
124
|
+
name?: string;
|
|
125
|
+
ordering?: string;
|
|
126
|
+
page?: number;
|
|
127
|
+
pageSize?: number;
|
|
128
|
+
search?: string;
|
|
129
|
+
status?: EventsSystemTasksListStatusEnum;
|
|
130
|
+
uid?: string;
|
|
131
|
+
}
|
|
132
|
+
export interface EventsSystemTasksRetrieveRequest {
|
|
133
|
+
uuid: string;
|
|
134
|
+
}
|
|
135
|
+
export interface EventsSystemTasksRunCreateRequest {
|
|
136
|
+
uuid: string;
|
|
137
|
+
}
|
|
123
138
|
export interface EventsTransportsCreateRequest {
|
|
124
139
|
notificationTransportRequest: NotificationTransportRequest;
|
|
125
140
|
}
|
|
@@ -349,6 +364,30 @@ export declare class EventsApi extends runtime.BaseAPI {
|
|
|
349
364
|
* Get a list of all objects that use this object
|
|
350
365
|
*/
|
|
351
366
|
eventsRulesUsedByList(requestParameters: EventsRulesUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
|
367
|
+
/**
|
|
368
|
+
* Read-only view set that returns all background tasks
|
|
369
|
+
*/
|
|
370
|
+
eventsSystemTasksListRaw(requestParameters: EventsSystemTasksListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSystemTaskList>>;
|
|
371
|
+
/**
|
|
372
|
+
* Read-only view set that returns all background tasks
|
|
373
|
+
*/
|
|
374
|
+
eventsSystemTasksList(requestParameters?: EventsSystemTasksListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSystemTaskList>;
|
|
375
|
+
/**
|
|
376
|
+
* Read-only view set that returns all background tasks
|
|
377
|
+
*/
|
|
378
|
+
eventsSystemTasksRetrieveRaw(requestParameters: EventsSystemTasksRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemTask>>;
|
|
379
|
+
/**
|
|
380
|
+
* Read-only view set that returns all background tasks
|
|
381
|
+
*/
|
|
382
|
+
eventsSystemTasksRetrieve(requestParameters: EventsSystemTasksRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemTask>;
|
|
383
|
+
/**
|
|
384
|
+
* Run task
|
|
385
|
+
*/
|
|
386
|
+
eventsSystemTasksRunCreateRaw(requestParameters: EventsSystemTasksRunCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
387
|
+
/**
|
|
388
|
+
* Run task
|
|
389
|
+
*/
|
|
390
|
+
eventsSystemTasksRunCreate(requestParameters: EventsSystemTasksRunCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
352
391
|
/**
|
|
353
392
|
* NotificationTransport Viewset
|
|
354
393
|
*/
|
|
@@ -434,6 +473,17 @@ export declare const EventsRulesListSeverityEnum: {
|
|
|
434
473
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
435
474
|
};
|
|
436
475
|
export type EventsRulesListSeverityEnum = typeof EventsRulesListSeverityEnum[keyof typeof EventsRulesListSeverityEnum];
|
|
476
|
+
/**
|
|
477
|
+
* @export
|
|
478
|
+
*/
|
|
479
|
+
export declare const EventsSystemTasksListStatusEnum: {
|
|
480
|
+
readonly Error: "error";
|
|
481
|
+
readonly Successful: "successful";
|
|
482
|
+
readonly Unknown: "unknown";
|
|
483
|
+
readonly Warning: "warning";
|
|
484
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
485
|
+
};
|
|
486
|
+
export type EventsSystemTasksListStatusEnum = typeof EventsSystemTasksListStatusEnum[keyof typeof EventsSystemTasksListStatusEnum];
|
|
437
487
|
/**
|
|
438
488
|
* @export
|
|
439
489
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CoordinateFromJSON, EventFromJSON, EventRequestToJSON, EventTopPerUserFromJSON, NotificationFromJSON, NotificationRequestToJSON, NotificationRuleFromJSON, NotificationRuleRequestToJSON, NotificationTransportFromJSON, NotificationTransportRequestToJSON, NotificationTransportTestFromJSON, PaginatedEventListFromJSON, PaginatedNotificationListFromJSON, PaginatedNotificationRuleListFromJSON, PaginatedNotificationTransportListFromJSON, PatchedEventRequestToJSON, PatchedNotificationRequestToJSON, PatchedNotificationRuleRequestToJSON, PatchedNotificationTransportRequestToJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
|
|
24
|
+
import { CoordinateFromJSON, EventFromJSON, EventRequestToJSON, EventTopPerUserFromJSON, NotificationFromJSON, NotificationRequestToJSON, NotificationRuleFromJSON, NotificationRuleRequestToJSON, NotificationTransportFromJSON, NotificationTransportRequestToJSON, NotificationTransportTestFromJSON, PaginatedEventListFromJSON, PaginatedNotificationListFromJSON, PaginatedNotificationRuleListFromJSON, PaginatedNotificationTransportListFromJSON, PaginatedSystemTaskListFromJSON, PatchedEventRequestToJSON, PatchedNotificationRequestToJSON, PatchedNotificationRuleRequestToJSON, PatchedNotificationTransportRequestToJSON, SystemTaskFromJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -893,6 +893,116 @@ export class EventsApi extends runtime.BaseAPI {
|
|
|
893
893
|
return yield response.value();
|
|
894
894
|
});
|
|
895
895
|
}
|
|
896
|
+
/**
|
|
897
|
+
* Read-only view set that returns all background tasks
|
|
898
|
+
*/
|
|
899
|
+
eventsSystemTasksListRaw(requestParameters, initOverrides) {
|
|
900
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
901
|
+
const queryParameters = {};
|
|
902
|
+
if (requestParameters.name !== undefined) {
|
|
903
|
+
queryParameters['name'] = requestParameters.name;
|
|
904
|
+
}
|
|
905
|
+
if (requestParameters.ordering !== undefined) {
|
|
906
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
907
|
+
}
|
|
908
|
+
if (requestParameters.page !== undefined) {
|
|
909
|
+
queryParameters['page'] = requestParameters.page;
|
|
910
|
+
}
|
|
911
|
+
if (requestParameters.pageSize !== undefined) {
|
|
912
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
|
913
|
+
}
|
|
914
|
+
if (requestParameters.search !== undefined) {
|
|
915
|
+
queryParameters['search'] = requestParameters.search;
|
|
916
|
+
}
|
|
917
|
+
if (requestParameters.status !== undefined) {
|
|
918
|
+
queryParameters['status'] = requestParameters.status;
|
|
919
|
+
}
|
|
920
|
+
if (requestParameters.uid !== undefined) {
|
|
921
|
+
queryParameters['uid'] = requestParameters.uid;
|
|
922
|
+
}
|
|
923
|
+
const headerParameters = {};
|
|
924
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
925
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
926
|
+
}
|
|
927
|
+
const response = yield this.request({
|
|
928
|
+
path: `/events/system_tasks/`,
|
|
929
|
+
method: 'GET',
|
|
930
|
+
headers: headerParameters,
|
|
931
|
+
query: queryParameters,
|
|
932
|
+
}, initOverrides);
|
|
933
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSystemTaskListFromJSON(jsonValue));
|
|
934
|
+
});
|
|
935
|
+
}
|
|
936
|
+
/**
|
|
937
|
+
* Read-only view set that returns all background tasks
|
|
938
|
+
*/
|
|
939
|
+
eventsSystemTasksList(requestParameters = {}, initOverrides) {
|
|
940
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
941
|
+
const response = yield this.eventsSystemTasksListRaw(requestParameters, initOverrides);
|
|
942
|
+
return yield response.value();
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* Read-only view set that returns all background tasks
|
|
947
|
+
*/
|
|
948
|
+
eventsSystemTasksRetrieveRaw(requestParameters, initOverrides) {
|
|
949
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
950
|
+
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
951
|
+
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling eventsSystemTasksRetrieve.');
|
|
952
|
+
}
|
|
953
|
+
const queryParameters = {};
|
|
954
|
+
const headerParameters = {};
|
|
955
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
956
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
957
|
+
}
|
|
958
|
+
const response = yield this.request({
|
|
959
|
+
path: `/events/system_tasks/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
960
|
+
method: 'GET',
|
|
961
|
+
headers: headerParameters,
|
|
962
|
+
query: queryParameters,
|
|
963
|
+
}, initOverrides);
|
|
964
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SystemTaskFromJSON(jsonValue));
|
|
965
|
+
});
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* Read-only view set that returns all background tasks
|
|
969
|
+
*/
|
|
970
|
+
eventsSystemTasksRetrieve(requestParameters, initOverrides) {
|
|
971
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
972
|
+
const response = yield this.eventsSystemTasksRetrieveRaw(requestParameters, initOverrides);
|
|
973
|
+
return yield response.value();
|
|
974
|
+
});
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* Run task
|
|
978
|
+
*/
|
|
979
|
+
eventsSystemTasksRunCreateRaw(requestParameters, initOverrides) {
|
|
980
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
981
|
+
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
982
|
+
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling eventsSystemTasksRunCreate.');
|
|
983
|
+
}
|
|
984
|
+
const queryParameters = {};
|
|
985
|
+
const headerParameters = {};
|
|
986
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
987
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
988
|
+
}
|
|
989
|
+
const response = yield this.request({
|
|
990
|
+
path: `/events/system_tasks/{uuid}/run/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
991
|
+
method: 'POST',
|
|
992
|
+
headers: headerParameters,
|
|
993
|
+
query: queryParameters,
|
|
994
|
+
}, initOverrides);
|
|
995
|
+
return new runtime.VoidApiResponse(response);
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* Run task
|
|
1000
|
+
*/
|
|
1001
|
+
eventsSystemTasksRunCreate(requestParameters, initOverrides) {
|
|
1002
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1003
|
+
yield this.eventsSystemTasksRunCreateRaw(requestParameters, initOverrides);
|
|
1004
|
+
});
|
|
1005
|
+
}
|
|
896
1006
|
/**
|
|
897
1007
|
* NotificationTransport Viewset
|
|
898
1008
|
*/
|
|
@@ -1189,6 +1299,16 @@ export const EventsRulesListSeverityEnum = {
|
|
|
1189
1299
|
Warning: 'warning',
|
|
1190
1300
|
UnknownDefaultOpenApi: '11184809'
|
|
1191
1301
|
};
|
|
1302
|
+
/**
|
|
1303
|
+
* @export
|
|
1304
|
+
*/
|
|
1305
|
+
export const EventsSystemTasksListStatusEnum = {
|
|
1306
|
+
Error: 'error',
|
|
1307
|
+
Successful: 'successful',
|
|
1308
|
+
Unknown: 'unknown',
|
|
1309
|
+
Warning: 'warning',
|
|
1310
|
+
UnknownDefaultOpenApi: '11184809'
|
|
1311
|
+
};
|
|
1192
1312
|
/**
|
|
1193
1313
|
* @export
|
|
1194
1314
|
*/
|
|
@@ -267,13 +267,9 @@ export declare const RbacPermissionsAssignedByRolesListModelEnum: {
|
|
|
267
267
|
readonly PoliciesExpiryPasswordexpirypolicy: "authentik_policies_expiry.passwordexpirypolicy";
|
|
268
268
|
readonly PoliciesExpressionExpressionpolicy: "authentik_policies_expression.expressionpolicy";
|
|
269
269
|
readonly PoliciesPasswordPasswordpolicy: "authentik_policies_password.passwordpolicy";
|
|
270
|
-
readonly PoliciesReputationReputation: "authentik_policies_reputation.reputation";
|
|
271
270
|
readonly PoliciesReputationReputationpolicy: "authentik_policies_reputation.reputationpolicy";
|
|
272
271
|
readonly ProvidersLdapLdapprovider: "authentik_providers_ldap.ldapprovider";
|
|
273
|
-
readonly ProvidersOauth2Accesstoken: "authentik_providers_oauth2.accesstoken";
|
|
274
|
-
readonly ProvidersOauth2Authorizationcode: "authentik_providers_oauth2.authorizationcode";
|
|
275
272
|
readonly ProvidersOauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
|
|
276
|
-
readonly ProvidersOauth2Refreshtoken: "authentik_providers_oauth2.refreshtoken";
|
|
277
273
|
readonly ProvidersOauth2Scopemapping: "authentik_providers_oauth2.scopemapping";
|
|
278
274
|
readonly ProvidersProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
|
|
279
275
|
readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
|
|
@@ -352,13 +348,9 @@ export declare const RbacPermissionsAssignedByUsersListModelEnum: {
|
|
|
352
348
|
readonly PoliciesExpiryPasswordexpirypolicy: "authentik_policies_expiry.passwordexpirypolicy";
|
|
353
349
|
readonly PoliciesExpressionExpressionpolicy: "authentik_policies_expression.expressionpolicy";
|
|
354
350
|
readonly PoliciesPasswordPasswordpolicy: "authentik_policies_password.passwordpolicy";
|
|
355
|
-
readonly PoliciesReputationReputation: "authentik_policies_reputation.reputation";
|
|
356
351
|
readonly PoliciesReputationReputationpolicy: "authentik_policies_reputation.reputationpolicy";
|
|
357
352
|
readonly ProvidersLdapLdapprovider: "authentik_providers_ldap.ldapprovider";
|
|
358
|
-
readonly ProvidersOauth2Accesstoken: "authentik_providers_oauth2.accesstoken";
|
|
359
|
-
readonly ProvidersOauth2Authorizationcode: "authentik_providers_oauth2.authorizationcode";
|
|
360
353
|
readonly ProvidersOauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
|
|
361
|
-
readonly ProvidersOauth2Refreshtoken: "authentik_providers_oauth2.refreshtoken";
|
|
362
354
|
readonly ProvidersOauth2Scopemapping: "authentik_providers_oauth2.scopemapping";
|
|
363
355
|
readonly ProvidersProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
|
|
364
356
|
readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
|
package/dist/esm/apis/RbacApi.js
CHANGED
|
@@ -702,13 +702,9 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
|
|
|
702
702
|
PoliciesExpiryPasswordexpirypolicy: 'authentik_policies_expiry.passwordexpirypolicy',
|
|
703
703
|
PoliciesExpressionExpressionpolicy: 'authentik_policies_expression.expressionpolicy',
|
|
704
704
|
PoliciesPasswordPasswordpolicy: 'authentik_policies_password.passwordpolicy',
|
|
705
|
-
PoliciesReputationReputation: 'authentik_policies_reputation.reputation',
|
|
706
705
|
PoliciesReputationReputationpolicy: 'authentik_policies_reputation.reputationpolicy',
|
|
707
706
|
ProvidersLdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
|
|
708
|
-
ProvidersOauth2Accesstoken: 'authentik_providers_oauth2.accesstoken',
|
|
709
|
-
ProvidersOauth2Authorizationcode: 'authentik_providers_oauth2.authorizationcode',
|
|
710
707
|
ProvidersOauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
|
|
711
|
-
ProvidersOauth2Refreshtoken: 'authentik_providers_oauth2.refreshtoken',
|
|
712
708
|
ProvidersOauth2Scopemapping: 'authentik_providers_oauth2.scopemapping',
|
|
713
709
|
ProvidersProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
|
|
714
710
|
ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
|
|
@@ -786,13 +782,9 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
|
|
|
786
782
|
PoliciesExpiryPasswordexpirypolicy: 'authentik_policies_expiry.passwordexpirypolicy',
|
|
787
783
|
PoliciesExpressionExpressionpolicy: 'authentik_policies_expression.expressionpolicy',
|
|
788
784
|
PoliciesPasswordPasswordpolicy: 'authentik_policies_password.passwordpolicy',
|
|
789
|
-
PoliciesReputationReputation: 'authentik_policies_reputation.reputation',
|
|
790
785
|
PoliciesReputationReputationpolicy: 'authentik_policies_reputation.reputationpolicy',
|
|
791
786
|
ProvidersLdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
|
|
792
|
-
ProvidersOauth2Accesstoken: 'authentik_providers_oauth2.accesstoken',
|
|
793
|
-
ProvidersOauth2Authorizationcode: 'authentik_providers_oauth2.authorizationcode',
|
|
794
787
|
ProvidersOauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
|
|
795
|
-
ProvidersOauth2Refreshtoken: 'authentik_providers_oauth2.refreshtoken',
|
|
796
788
|
ProvidersOauth2Scopemapping: 'authentik_providers_oauth2.scopemapping',
|
|
797
789
|
ProvidersProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
|
|
798
790
|
ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
|
|
@@ -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 { SystemTask } from './SystemTask';
|
|
13
13
|
/**
|
|
14
14
|
* LDAP Source sync status
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface LDAPSyncStatus {
|
|
|
24
24
|
readonly isRunning: boolean;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<SystemTask>}
|
|
28
28
|
* @memberof LDAPSyncStatus
|
|
29
29
|
*/
|
|
30
|
-
readonly tasks: Array<
|
|
30
|
+
readonly tasks: Array<SystemTask>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the LDAPSyncStatus interface.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { SystemTaskFromJSON, } from './SystemTask';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the LDAPSyncStatus interface.
|
|
17
17
|
*/
|
|
@@ -30,7 +30,7 @@ export function LDAPSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
32
|
'isRunning': json['is_running'],
|
|
33
|
-
'tasks': (json['tasks'].map(
|
|
33
|
+
'tasks': (json['tasks'].map(SystemTaskFromJSON)),
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
export function LDAPSyncStatusToJSON(value) {
|
|
@@ -28,14 +28,10 @@
|
|
|
28
28
|
* * `authentik_policies_expression.expressionpolicy` - Expression Policy
|
|
29
29
|
* * `authentik_policies_password.passwordpolicy` - Password Policy
|
|
30
30
|
* * `authentik_policies_reputation.reputationpolicy` - Reputation Policy
|
|
31
|
-
* * `authentik_policies_reputation.reputation` - Reputation Score
|
|
32
31
|
* * `authentik_policies.policybinding` - Policy Binding
|
|
33
32
|
* * `authentik_providers_ldap.ldapprovider` - LDAP Provider
|
|
34
33
|
* * `authentik_providers_oauth2.scopemapping` - Scope Mapping
|
|
35
34
|
* * `authentik_providers_oauth2.oauth2provider` - OAuth2/OpenID Provider
|
|
36
|
-
* * `authentik_providers_oauth2.authorizationcode` - Authorization Code
|
|
37
|
-
* * `authentik_providers_oauth2.accesstoken` - OAuth2 Access Token
|
|
38
|
-
* * `authentik_providers_oauth2.refreshtoken` - OAuth2 Refresh Token
|
|
39
35
|
* * `authentik_providers_proxy.proxyprovider` - Proxy Provider
|
|
40
36
|
* * `authentik_providers_radius.radiusprovider` - Radius Provider
|
|
41
37
|
* * `authentik_providers_saml.samlprovider` - SAML Provider
|
|
@@ -55,7 +51,7 @@
|
|
|
55
51
|
* * `authentik_stages_authenticator_duo.duodevice` - Duo Device
|
|
56
52
|
* * `authentik_stages_authenticator_sms.authenticatorsmsstage` - SMS Authenticator Setup Stage
|
|
57
53
|
* * `authentik_stages_authenticator_sms.smsdevice` - SMS Device
|
|
58
|
-
* * `authentik_stages_authenticator_static.authenticatorstaticstage` - Static Authenticator Stage
|
|
54
|
+
* * `authentik_stages_authenticator_static.authenticatorstaticstage` - Static Authenticator Setup Stage
|
|
59
55
|
* * `authentik_stages_authenticator_static.staticdevice` - Static Device
|
|
60
56
|
* * `authentik_stages_authenticator_totp.authenticatortotpstage` - TOTP Authenticator Setup Stage
|
|
61
57
|
* * `authentik_stages_authenticator_totp.totpdevice` - TOTP Device
|
|
@@ -109,14 +105,10 @@ export declare const ModelEnum: {
|
|
|
109
105
|
readonly PoliciesExpressionExpressionpolicy: "authentik_policies_expression.expressionpolicy";
|
|
110
106
|
readonly PoliciesPasswordPasswordpolicy: "authentik_policies_password.passwordpolicy";
|
|
111
107
|
readonly PoliciesReputationReputationpolicy: "authentik_policies_reputation.reputationpolicy";
|
|
112
|
-
readonly PoliciesReputationReputation: "authentik_policies_reputation.reputation";
|
|
113
108
|
readonly PoliciesPolicybinding: "authentik_policies.policybinding";
|
|
114
109
|
readonly ProvidersLdapLdapprovider: "authentik_providers_ldap.ldapprovider";
|
|
115
110
|
readonly ProvidersOauth2Scopemapping: "authentik_providers_oauth2.scopemapping";
|
|
116
111
|
readonly ProvidersOauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
|
|
117
|
-
readonly ProvidersOauth2Authorizationcode: "authentik_providers_oauth2.authorizationcode";
|
|
118
|
-
readonly ProvidersOauth2Accesstoken: "authentik_providers_oauth2.accesstoken";
|
|
119
|
-
readonly ProvidersOauth2Refreshtoken: "authentik_providers_oauth2.refreshtoken";
|
|
120
112
|
readonly ProvidersProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
|
|
121
113
|
readonly ProvidersRadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
|
|
122
114
|
readonly ProvidersSamlSamlprovider: "authentik_providers_saml.samlprovider";
|
|
@@ -30,14 +30,10 @@
|
|
|
30
30
|
* * `authentik_policies_expression.expressionpolicy` - Expression Policy
|
|
31
31
|
* * `authentik_policies_password.passwordpolicy` - Password Policy
|
|
32
32
|
* * `authentik_policies_reputation.reputationpolicy` - Reputation Policy
|
|
33
|
-
* * `authentik_policies_reputation.reputation` - Reputation Score
|
|
34
33
|
* * `authentik_policies.policybinding` - Policy Binding
|
|
35
34
|
* * `authentik_providers_ldap.ldapprovider` - LDAP Provider
|
|
36
35
|
* * `authentik_providers_oauth2.scopemapping` - Scope Mapping
|
|
37
36
|
* * `authentik_providers_oauth2.oauth2provider` - OAuth2/OpenID Provider
|
|
38
|
-
* * `authentik_providers_oauth2.authorizationcode` - Authorization Code
|
|
39
|
-
* * `authentik_providers_oauth2.accesstoken` - OAuth2 Access Token
|
|
40
|
-
* * `authentik_providers_oauth2.refreshtoken` - OAuth2 Refresh Token
|
|
41
37
|
* * `authentik_providers_proxy.proxyprovider` - Proxy Provider
|
|
42
38
|
* * `authentik_providers_radius.radiusprovider` - Radius Provider
|
|
43
39
|
* * `authentik_providers_saml.samlprovider` - SAML Provider
|
|
@@ -57,7 +53,7 @@
|
|
|
57
53
|
* * `authentik_stages_authenticator_duo.duodevice` - Duo Device
|
|
58
54
|
* * `authentik_stages_authenticator_sms.authenticatorsmsstage` - SMS Authenticator Setup Stage
|
|
59
55
|
* * `authentik_stages_authenticator_sms.smsdevice` - SMS Device
|
|
60
|
-
* * `authentik_stages_authenticator_static.authenticatorstaticstage` - Static Authenticator Stage
|
|
56
|
+
* * `authentik_stages_authenticator_static.authenticatorstaticstage` - Static Authenticator Setup Stage
|
|
61
57
|
* * `authentik_stages_authenticator_static.staticdevice` - Static Device
|
|
62
58
|
* * `authentik_stages_authenticator_totp.authenticatortotpstage` - TOTP Authenticator Setup Stage
|
|
63
59
|
* * `authentik_stages_authenticator_totp.totpdevice` - TOTP Device
|
|
@@ -111,14 +107,10 @@ export const ModelEnum = {
|
|
|
111
107
|
PoliciesExpressionExpressionpolicy: 'authentik_policies_expression.expressionpolicy',
|
|
112
108
|
PoliciesPasswordPasswordpolicy: 'authentik_policies_password.passwordpolicy',
|
|
113
109
|
PoliciesReputationReputationpolicy: 'authentik_policies_reputation.reputationpolicy',
|
|
114
|
-
PoliciesReputationReputation: 'authentik_policies_reputation.reputation',
|
|
115
110
|
PoliciesPolicybinding: 'authentik_policies.policybinding',
|
|
116
111
|
ProvidersLdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
|
|
117
112
|
ProvidersOauth2Scopemapping: 'authentik_providers_oauth2.scopemapping',
|
|
118
113
|
ProvidersOauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
|
|
119
|
-
ProvidersOauth2Authorizationcode: 'authentik_providers_oauth2.authorizationcode',
|
|
120
|
-
ProvidersOauth2Accesstoken: 'authentik_providers_oauth2.accesstoken',
|
|
121
|
-
ProvidersOauth2Refreshtoken: 'authentik_providers_oauth2.refreshtoken',
|
|
122
114
|
ProvidersProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
|
|
123
115
|
ProvidersRadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
|
|
124
116
|
ProvidersSamlSamlprovider: 'authentik_providers_saml.samlprovider',
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.6
|
|
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
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { SystemTask } from './SystemTask';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSystemTaskList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSystemTaskList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedSystemTaskList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SystemTask>}
|
|
29
|
+
* @memberof PaginatedSystemTaskList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<SystemTask>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSystemTaskList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSystemTaskList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedSystemTaskListFromJSON(json: any): PaginatedSystemTaskList;
|
|
38
|
+
export declare function PaginatedSystemTaskListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSystemTaskList;
|
|
39
|
+
export declare function PaginatedSystemTaskListToJSON(value?: PaginatedSystemTaskList | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.6
|
|
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
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
15
|
+
import { SystemTaskFromJSON, SystemTaskToJSON, } from './SystemTask';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedSystemTaskList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedSystemTaskList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedSystemTaskListFromJSON(json) {
|
|
26
|
+
return PaginatedSystemTaskListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedSystemTaskListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(SystemTaskFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedSystemTaskListToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
|
46
|
+
'results': (value.results.map(SystemTaskToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -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 { SystemTask } from './SystemTask';
|
|
13
13
|
/**
|
|
14
14
|
* SCIM Provider sync status
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface SCIMSyncStatus {
|
|
|
24
24
|
readonly isRunning: boolean;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<SystemTask>}
|
|
28
28
|
* @memberof SCIMSyncStatus
|
|
29
29
|
*/
|
|
30
|
-
readonly tasks: Array<
|
|
30
|
+
readonly tasks: Array<SystemTask>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the SCIMSyncStatus interface.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { SystemTaskFromJSON, } from './SystemTask';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the SCIMSyncStatus interface.
|
|
17
17
|
*/
|
|
@@ -30,7 +30,7 @@ export function SCIMSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
32
|
'isRunning': json['is_running'],
|
|
33
|
-
'tasks': (json['tasks'].map(
|
|
33
|
+
'tasks': (json['tasks'].map(SystemTaskFromJSON)),
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
export function SCIMSyncStatusToJSON(value) {
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.6
|
|
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
|
+
import type { SystemTaskStatusEnum } from './SystemTaskStatusEnum';
|
|
13
|
+
/**
|
|
14
|
+
* Serialize TaskInfo and TaskResult
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SystemTask
|
|
17
|
+
*/
|
|
18
|
+
export interface SystemTask {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SystemTask
|
|
23
|
+
*/
|
|
24
|
+
readonly uuid: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SystemTask
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* Get full name with UID
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SystemTask
|
|
35
|
+
*/
|
|
36
|
+
readonly fullName: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SystemTask
|
|
41
|
+
*/
|
|
42
|
+
uid?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SystemTask
|
|
47
|
+
*/
|
|
48
|
+
description: string;
|
|
49
|
+
/**
|
|
50
|
+
* Timestamp when the task started
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof SystemTask
|
|
53
|
+
*/
|
|
54
|
+
readonly startTimestamp: Date;
|
|
55
|
+
/**
|
|
56
|
+
* Timestamp when the task finished
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof SystemTask
|
|
59
|
+
*/
|
|
60
|
+
readonly finishTimestamp: Date;
|
|
61
|
+
/**
|
|
62
|
+
* Get the duration a task took to run
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof SystemTask
|
|
65
|
+
*/
|
|
66
|
+
readonly duration: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {SystemTaskStatusEnum}
|
|
70
|
+
* @memberof SystemTask
|
|
71
|
+
*/
|
|
72
|
+
status: SystemTaskStatusEnum;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<string>}
|
|
76
|
+
* @memberof SystemTask
|
|
77
|
+
*/
|
|
78
|
+
messages: Array<string>;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the SystemTask interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfSystemTask(value: object): boolean;
|
|
84
|
+
export declare function SystemTaskFromJSON(json: any): SystemTask;
|
|
85
|
+
export declare function SystemTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemTask;
|
|
86
|
+
export declare function SystemTaskToJSON(value?: SystemTask | null): any;
|