@goauthentik/api 2022.3.3-1648933813 → 2022.3.3-1649702663
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 -0
- package/.openapi-generator/VERSION +1 -1
- package/dist/apis/CoreApi.d.ts +22 -10
- package/dist/apis/CoreApi.js +43 -10
- package/dist/apis/EventsApi.d.ts +24 -24
- package/dist/apis/EventsApi.js +21 -27
- package/dist/apis/FlowsApi.d.ts +27 -27
- package/dist/apis/FlowsApi.js +24 -30
- package/dist/apis/PoliciesApi.d.ts +83 -83
- package/dist/apis/PoliciesApi.js +81 -85
- package/dist/apis/ProvidersApi.d.ts +56 -56
- package/dist/apis/ProvidersApi.js +49 -63
- package/dist/apis/SchemaApi.d.ts +109 -109
- package/dist/apis/SchemaApi.js +107 -111
- package/dist/apis/SourcesApi.d.ts +88 -88
- package/dist/apis/SourcesApi.js +78 -98
- package/dist/apis/StagesApi.d.ts +78 -78
- package/dist/apis/StagesApi.js +69 -87
- package/dist/esm/apis/CoreApi.d.ts +22 -10
- package/dist/esm/apis/CoreApi.js +44 -11
- package/dist/esm/apis/EventsApi.d.ts +24 -24
- package/dist/esm/apis/EventsApi.js +21 -27
- package/dist/esm/apis/FlowsApi.d.ts +27 -27
- package/dist/esm/apis/FlowsApi.js +24 -30
- package/dist/esm/apis/PoliciesApi.d.ts +83 -83
- package/dist/esm/apis/PoliciesApi.js +81 -85
- package/dist/esm/apis/ProvidersApi.d.ts +56 -56
- package/dist/esm/apis/ProvidersApi.js +49 -63
- package/dist/esm/apis/SchemaApi.d.ts +109 -109
- package/dist/esm/apis/SchemaApi.js +107 -111
- package/dist/esm/apis/SourcesApi.d.ts +88 -88
- package/dist/esm/apis/SourcesApi.js +78 -98
- package/dist/esm/apis/StagesApi.d.ts +78 -78
- package/dist/esm/apis/StagesApi.js +69 -87
- package/dist/esm/models/AppEnum.d.ts +49 -49
- package/dist/esm/models/AppEnum.js +48 -50
- package/dist/esm/models/Application.d.ts +1 -1
- package/dist/esm/models/Application.js +2 -3
- package/dist/esm/models/ApplicationRequest.d.ts +0 -7
- package/dist/esm/models/ApplicationRequest.js +0 -3
- package/dist/esm/models/AuthTypeEnum.d.ts +5 -5
- package/dist/esm/models/AuthTypeEnum.js +4 -6
- package/dist/esm/models/AuthenticatorAttachmentEnum.d.ts +5 -5
- package/dist/esm/models/AuthenticatorAttachmentEnum.js +4 -6
- package/dist/esm/models/BackendsEnum.d.ts +6 -6
- package/dist/esm/models/BackendsEnum.js +5 -7
- package/dist/esm/models/BindingTypeEnum.d.ts +6 -6
- package/dist/esm/models/BindingTypeEnum.js +5 -7
- package/dist/esm/models/CapabilitiesEnum.d.ts +5 -5
- package/dist/esm/models/CapabilitiesEnum.js +4 -6
- package/dist/esm/models/ChallengeChoices.d.ts +6 -6
- package/dist/esm/models/ChallengeChoices.js +5 -7
- package/dist/esm/models/ClientTypeEnum.d.ts +5 -5
- package/dist/esm/models/ClientTypeEnum.js +4 -6
- package/dist/esm/models/ConsentStageModeEnum.d.ts +6 -6
- package/dist/esm/models/ConsentStageModeEnum.js +5 -7
- package/dist/esm/models/DeviceClassesEnum.d.ts +8 -8
- package/dist/esm/models/DeviceClassesEnum.js +7 -9
- package/dist/esm/models/DigestAlgorithmEnum.d.ts +7 -7
- package/dist/esm/models/DigestAlgorithmEnum.js +6 -8
- package/dist/esm/models/DigitsEnum.d.ts +5 -5
- package/dist/esm/models/DigitsEnum.js +4 -6
- package/dist/esm/models/EventActions.d.ts +30 -30
- package/dist/esm/models/EventActions.js +29 -31
- package/dist/esm/models/FlowDesignationEnum.d.ts +10 -10
- package/dist/esm/models/FlowDesignationEnum.js +9 -11
- package/dist/esm/models/IntentEnum.d.ts +7 -7
- package/dist/esm/models/IntentEnum.js +6 -8
- package/dist/esm/models/InvalidResponseActionEnum.d.ts +6 -6
- package/dist/esm/models/InvalidResponseActionEnum.js +5 -7
- package/dist/esm/models/IssuerModeEnum.d.ts +5 -5
- package/dist/esm/models/IssuerModeEnum.js +4 -6
- package/dist/esm/models/NameIdPolicyEnum.d.ts +8 -8
- package/dist/esm/models/NameIdPolicyEnum.js +7 -9
- package/dist/esm/models/NotConfiguredActionEnum.d.ts +6 -6
- package/dist/esm/models/NotConfiguredActionEnum.js +5 -7
- package/dist/esm/models/NotificationTransportModeEnum.d.ts +6 -6
- package/dist/esm/models/NotificationTransportModeEnum.js +5 -7
- package/dist/esm/models/OutpostTypeEnum.d.ts +5 -5
- package/dist/esm/models/OutpostTypeEnum.js +4 -6
- package/dist/esm/models/PatchedApplicationRequest.d.ts +0 -7
- package/dist/esm/models/PatchedApplicationRequest.js +0 -3
- package/dist/esm/models/PatchedTenantRequest.d.ts +8 -0
- package/dist/esm/models/PatchedTenantRequest.js +2 -0
- package/dist/esm/models/PatchedTokenRequest.d.ts +0 -7
- package/dist/esm/models/PatchedTokenRequest.js +0 -3
- package/dist/esm/models/PolicyEngineMode.d.ts +5 -5
- package/dist/esm/models/PolicyEngineMode.js +4 -6
- package/dist/esm/models/PromptTypeEnum.d.ts +16 -16
- package/dist/esm/models/PromptTypeEnum.js +15 -17
- package/dist/esm/models/ProviderEnum.d.ts +5 -5
- package/dist/esm/models/ProviderEnum.js +4 -6
- package/dist/esm/models/ProviderTypeEnum.d.ts +14 -14
- package/dist/esm/models/ProviderTypeEnum.js +13 -15
- package/dist/esm/models/ProxyMode.d.ts +6 -6
- package/dist/esm/models/ProxyMode.js +5 -7
- package/dist/esm/models/ResidentKeyRequirementEnum.d.ts +6 -6
- package/dist/esm/models/ResidentKeyRequirementEnum.js +5 -7
- package/dist/esm/models/SearchModeEnum.d.ts +5 -5
- package/dist/esm/models/SearchModeEnum.js +4 -6
- package/dist/esm/models/SeverityEnum.d.ts +6 -6
- package/dist/esm/models/SeverityEnum.js +5 -7
- package/dist/esm/models/SignatureAlgorithmEnum.d.ts +8 -8
- package/dist/esm/models/SignatureAlgorithmEnum.js +7 -9
- package/dist/esm/models/SpBindingEnum.d.ts +5 -5
- package/dist/esm/models/SpBindingEnum.js +4 -6
- package/dist/esm/models/StatusEnum.d.ts +7 -7
- package/dist/esm/models/StatusEnum.js +6 -8
- package/dist/esm/models/SubModeEnum.d.ts +7 -7
- package/dist/esm/models/SubModeEnum.js +6 -8
- package/dist/esm/models/Tenant.d.ts +8 -0
- package/dist/esm/models/Tenant.js +2 -0
- package/dist/esm/models/TenantRequest.d.ts +8 -0
- package/dist/esm/models/TenantRequest.js +2 -0
- package/dist/esm/models/Token.d.ts +1 -1
- package/dist/esm/models/Token.js +2 -3
- package/dist/esm/models/TokenRequest.d.ts +0 -7
- package/dist/esm/models/TokenRequest.js +0 -3
- package/dist/esm/models/TokenSetKeyRequest.d.ts +27 -0
- package/dist/esm/models/TokenSetKeyRequest.js +35 -0
- package/dist/esm/models/UsedByActionEnum.d.ts +7 -7
- package/dist/esm/models/UsedByActionEnum.js +6 -8
- package/dist/esm/models/UserFieldsEnum.d.ts +6 -6
- package/dist/esm/models/UserFieldsEnum.js +5 -7
- package/dist/esm/models/UserMatchingModeEnum.d.ts +8 -8
- package/dist/esm/models/UserMatchingModeEnum.js +7 -9
- package/dist/esm/models/UserSelf.d.ts +2 -3
- package/dist/esm/models/UserSelf.js +1 -2
- package/dist/esm/models/UserVerificationEnum.d.ts +6 -6
- package/dist/esm/models/UserVerificationEnum.js +5 -7
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/runtime.js +1 -0
- package/dist/models/AppEnum.d.ts +49 -49
- package/dist/models/AppEnum.js +48 -50
- package/dist/models/Application.d.ts +1 -1
- package/dist/models/Application.js +1 -2
- package/dist/models/ApplicationRequest.d.ts +0 -7
- package/dist/models/ApplicationRequest.js +0 -3
- package/dist/models/AuthTypeEnum.d.ts +5 -5
- package/dist/models/AuthTypeEnum.js +4 -6
- package/dist/models/AuthenticatorAttachmentEnum.d.ts +5 -5
- package/dist/models/AuthenticatorAttachmentEnum.js +4 -6
- package/dist/models/BackendsEnum.d.ts +6 -6
- package/dist/models/BackendsEnum.js +5 -7
- package/dist/models/BindingTypeEnum.d.ts +6 -6
- package/dist/models/BindingTypeEnum.js +5 -7
- package/dist/models/CapabilitiesEnum.d.ts +5 -5
- package/dist/models/CapabilitiesEnum.js +4 -6
- package/dist/models/ChallengeChoices.d.ts +6 -6
- package/dist/models/ChallengeChoices.js +5 -7
- package/dist/models/ClientTypeEnum.d.ts +5 -5
- package/dist/models/ClientTypeEnum.js +4 -6
- package/dist/models/ConsentStageModeEnum.d.ts +6 -6
- package/dist/models/ConsentStageModeEnum.js +5 -7
- package/dist/models/DeviceClassesEnum.d.ts +8 -8
- package/dist/models/DeviceClassesEnum.js +7 -9
- package/dist/models/DigestAlgorithmEnum.d.ts +7 -7
- package/dist/models/DigestAlgorithmEnum.js +6 -8
- package/dist/models/DigitsEnum.d.ts +5 -5
- package/dist/models/DigitsEnum.js +4 -6
- package/dist/models/EventActions.d.ts +30 -30
- package/dist/models/EventActions.js +29 -31
- package/dist/models/FlowDesignationEnum.d.ts +10 -10
- package/dist/models/FlowDesignationEnum.js +9 -11
- package/dist/models/IntentEnum.d.ts +7 -7
- package/dist/models/IntentEnum.js +6 -8
- package/dist/models/InvalidResponseActionEnum.d.ts +6 -6
- package/dist/models/InvalidResponseActionEnum.js +5 -7
- package/dist/models/IssuerModeEnum.d.ts +5 -5
- package/dist/models/IssuerModeEnum.js +4 -6
- package/dist/models/NameIdPolicyEnum.d.ts +8 -8
- package/dist/models/NameIdPolicyEnum.js +7 -9
- package/dist/models/NotConfiguredActionEnum.d.ts +6 -6
- package/dist/models/NotConfiguredActionEnum.js +5 -7
- package/dist/models/NotificationTransportModeEnum.d.ts +6 -6
- package/dist/models/NotificationTransportModeEnum.js +5 -7
- package/dist/models/OutpostTypeEnum.d.ts +5 -5
- package/dist/models/OutpostTypeEnum.js +4 -6
- package/dist/models/PatchedApplicationRequest.d.ts +0 -7
- package/dist/models/PatchedApplicationRequest.js +0 -3
- package/dist/models/PatchedTenantRequest.d.ts +8 -0
- package/dist/models/PatchedTenantRequest.js +2 -0
- package/dist/models/PatchedTokenRequest.d.ts +0 -7
- package/dist/models/PatchedTokenRequest.js +0 -3
- package/dist/models/PolicyEngineMode.d.ts +5 -5
- package/dist/models/PolicyEngineMode.js +4 -6
- package/dist/models/PromptTypeEnum.d.ts +16 -16
- package/dist/models/PromptTypeEnum.js +15 -17
- package/dist/models/ProviderEnum.d.ts +5 -5
- package/dist/models/ProviderEnum.js +4 -6
- package/dist/models/ProviderTypeEnum.d.ts +14 -14
- package/dist/models/ProviderTypeEnum.js +13 -15
- package/dist/models/ProxyMode.d.ts +6 -6
- package/dist/models/ProxyMode.js +5 -7
- package/dist/models/ResidentKeyRequirementEnum.d.ts +6 -6
- package/dist/models/ResidentKeyRequirementEnum.js +5 -7
- package/dist/models/SearchModeEnum.d.ts +5 -5
- package/dist/models/SearchModeEnum.js +4 -6
- package/dist/models/SeverityEnum.d.ts +6 -6
- package/dist/models/SeverityEnum.js +5 -7
- package/dist/models/SignatureAlgorithmEnum.d.ts +8 -8
- package/dist/models/SignatureAlgorithmEnum.js +7 -9
- package/dist/models/SpBindingEnum.d.ts +5 -5
- package/dist/models/SpBindingEnum.js +4 -6
- package/dist/models/StatusEnum.d.ts +7 -7
- package/dist/models/StatusEnum.js +6 -8
- package/dist/models/SubModeEnum.d.ts +7 -7
- package/dist/models/SubModeEnum.js +6 -8
- package/dist/models/Tenant.d.ts +8 -0
- package/dist/models/Tenant.js +2 -0
- package/dist/models/TenantRequest.d.ts +8 -0
- package/dist/models/TenantRequest.js +2 -0
- package/dist/models/Token.d.ts +1 -1
- package/dist/models/Token.js +1 -2
- package/dist/models/TokenRequest.d.ts +0 -7
- package/dist/models/TokenRequest.js +0 -3
- package/dist/models/TokenSetKeyRequest.d.ts +27 -0
- package/dist/models/TokenSetKeyRequest.js +41 -0
- package/dist/models/UsedByActionEnum.d.ts +7 -7
- package/dist/models/UsedByActionEnum.js +6 -8
- package/dist/models/UserFieldsEnum.d.ts +6 -6
- package/dist/models/UserFieldsEnum.js +5 -7
- package/dist/models/UserMatchingModeEnum.d.ts +8 -8
- package/dist/models/UserMatchingModeEnum.js +7 -9
- package/dist/models/UserSelf.d.ts +2 -3
- package/dist/models/UserSelf.js +1 -2
- package/dist/models/UserVerificationEnum.d.ts +6 -6
- package/dist/models/UserVerificationEnum.js +5 -7
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.js +1 -0
- package/package.json +17 -1
- package/src/apis/CoreApi.ts +58 -9
- package/src/apis/EventsApi.ts +27 -24
- package/src/apis/FlowsApi.ts +30 -27
- package/src/apis/PoliciesApi.ts +85 -83
- package/src/apis/ProvidersApi.ts +63 -56
- package/src/apis/SchemaApi.ts +111 -109
- package/src/apis/SourcesApi.ts +98 -88
- package/src/apis/StagesApi.ts +87 -78
- package/src/models/AppEnum.ts +52 -49
- package/src/models/Application.ts +2 -3
- package/src/models/ApplicationRequest.ts +0 -14
- package/src/models/AuthTypeEnum.ts +8 -5
- package/src/models/AuthenticatorAttachmentEnum.ts +8 -5
- package/src/models/BackendsEnum.ts +9 -6
- package/src/models/BindingTypeEnum.ts +9 -6
- package/src/models/CapabilitiesEnum.ts +8 -5
- package/src/models/ChallengeChoices.ts +9 -6
- package/src/models/ClientTypeEnum.ts +8 -5
- package/src/models/ConsentStageModeEnum.ts +9 -6
- package/src/models/DeviceClassesEnum.ts +11 -8
- package/src/models/DigestAlgorithmEnum.ts +10 -7
- package/src/models/DigitsEnum.ts +8 -5
- package/src/models/EventActions.ts +33 -30
- package/src/models/FlowDesignationEnum.ts +13 -10
- package/src/models/IntentEnum.ts +10 -7
- package/src/models/InvalidResponseActionEnum.ts +9 -6
- package/src/models/IssuerModeEnum.ts +8 -5
- package/src/models/NameIdPolicyEnum.ts +11 -8
- package/src/models/NotConfiguredActionEnum.ts +9 -6
- package/src/models/NotificationTransportModeEnum.ts +9 -6
- package/src/models/OutpostTypeEnum.ts +8 -5
- package/src/models/PatchedApplicationRequest.ts +0 -14
- package/src/models/PatchedTenantRequest.ts +8 -0
- package/src/models/PatchedTokenRequest.ts +0 -14
- package/src/models/PolicyEngineMode.ts +8 -5
- package/src/models/PromptTypeEnum.ts +19 -16
- package/src/models/ProviderEnum.ts +8 -5
- package/src/models/ProviderTypeEnum.ts +17 -14
- package/src/models/ProxyMode.ts +9 -6
- package/src/models/ResidentKeyRequirementEnum.ts +9 -6
- package/src/models/SearchModeEnum.ts +8 -5
- package/src/models/SeverityEnum.ts +9 -6
- package/src/models/SignatureAlgorithmEnum.ts +11 -8
- package/src/models/SpBindingEnum.ts +8 -5
- package/src/models/StatusEnum.ts +10 -7
- package/src/models/SubModeEnum.ts +10 -7
- package/src/models/Tenant.ts +8 -0
- package/src/models/TenantRequest.ts +8 -0
- package/src/models/Token.ts +2 -3
- package/src/models/TokenRequest.ts +0 -14
- package/src/models/TokenSetKeyRequest.ts +56 -0
- package/src/models/UsedByActionEnum.ts +10 -7
- package/src/models/UserFieldsEnum.ts +9 -6
- package/src/models/UserMatchingModeEnum.ts +11 -8
- package/src/models/UserSelf.ts +3 -5
- package/src/models/UserVerificationEnum.ts +9 -6
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +2 -0
- package/tsconfig.esm.json +7 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -412,6 +412,7 @@ src/models/Tenant.ts
|
|
|
412
412
|
src/models/TenantRequest.ts
|
|
413
413
|
src/models/Token.ts
|
|
414
414
|
src/models/TokenRequest.ts
|
|
415
|
+
src/models/TokenSetKeyRequest.ts
|
|
415
416
|
src/models/TokenView.ts
|
|
416
417
|
src/models/TypeCreate.ts
|
|
417
418
|
src/models/UsedBy.ts
|
|
@@ -447,4 +448,5 @@ src/models/WebAuthnDeviceRequest.ts
|
|
|
447
448
|
src/models/Workers.ts
|
|
448
449
|
src/models/index.ts
|
|
449
450
|
src/runtime.ts
|
|
451
|
+
tsconfig.esm.json
|
|
450
452
|
tsconfig.json
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6.0.0-beta
|
package/dist/apis/CoreApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenView, UsedBy, User, UserConsent, UserMetrics, UserPasswordSetRequest, UserRequest, UserServiceAccountRequest, UserServiceAccountResponse } from '../models';
|
|
13
|
+
import { Application, ApplicationRequest, AuthenticatedSession, Coordinate, CurrentTenant, FilePathRequest, Group, GroupRequest, Link, PaginatedApplicationList, PaginatedAuthenticatedSessionList, PaginatedGroupList, PaginatedTenantList, PaginatedTokenList, PaginatedUserConsentList, PaginatedUserList, PatchedApplicationRequest, PatchedGroupRequest, PatchedTenantRequest, PatchedTokenRequest, PatchedUserRequest, PolicyTestResult, SessionUser, Tenant, TenantRequest, Token, TokenRequest, TokenSetKeyRequest, TokenView, UsedBy, User, UserConsent, UserMetrics, UserPasswordSetRequest, UserRequest, UserServiceAccountRequest, UserServiceAccountResponse } from '../models';
|
|
14
14
|
export interface CoreApplicationsCheckAccessRetrieveRequest {
|
|
15
15
|
slug: string;
|
|
16
16
|
forUser?: number;
|
|
@@ -168,6 +168,10 @@ export interface CoreTokensPartialUpdateRequest {
|
|
|
168
168
|
export interface CoreTokensRetrieveRequest {
|
|
169
169
|
identifier: string;
|
|
170
170
|
}
|
|
171
|
+
export interface CoreTokensSetKeyCreateRequest {
|
|
172
|
+
identifier: string;
|
|
173
|
+
tokenSetKeyRequest: TokenSetKeyRequest;
|
|
174
|
+
}
|
|
171
175
|
export interface CoreTokensUpdateRequest {
|
|
172
176
|
identifier: string;
|
|
173
177
|
tokenRequest: TokenRequest;
|
|
@@ -531,6 +535,14 @@ export declare class CoreApi extends runtime.BaseAPI {
|
|
|
531
535
|
* Token Viewset
|
|
532
536
|
*/
|
|
533
537
|
coreTokensRetrieve(requestParameters: CoreTokensRetrieveRequest, initOverrides?: RequestInit): Promise<Token>;
|
|
538
|
+
/**
|
|
539
|
+
* Return token key and log access
|
|
540
|
+
*/
|
|
541
|
+
coreTokensSetKeyCreateRaw(requestParameters: CoreTokensSetKeyCreateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
542
|
+
/**
|
|
543
|
+
* Return token key and log access
|
|
544
|
+
*/
|
|
545
|
+
coreTokensSetKeyCreate(requestParameters: CoreTokensSetKeyCreateRequest, initOverrides?: RequestInit): Promise<void>;
|
|
534
546
|
/**
|
|
535
547
|
* Token Viewset
|
|
536
548
|
*/
|
|
@@ -693,12 +705,12 @@ export declare class CoreApi extends runtime.BaseAPI {
|
|
|
693
705
|
coreUsersUsedByList(requestParameters: CoreUsersUsedByListRequest, initOverrides?: RequestInit): Promise<Array<UsedBy>>;
|
|
694
706
|
}
|
|
695
707
|
/**
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
708
|
+
* @export
|
|
709
|
+
*/
|
|
710
|
+
export declare const CoreTokensListIntentEnum: {
|
|
711
|
+
readonly Api: "api";
|
|
712
|
+
readonly AppPassword: "app_password";
|
|
713
|
+
readonly Recovery: "recovery";
|
|
714
|
+
readonly Verification: "verification";
|
|
715
|
+
};
|
|
716
|
+
export declare type CoreTokensListIntentEnum = typeof CoreTokensListIntentEnum[keyof typeof CoreTokensListIntentEnum];
|
package/dist/apis/CoreApi.js
CHANGED
|
@@ -1297,6 +1297,41 @@ class CoreApi extends runtime.BaseAPI {
|
|
|
1297
1297
|
return yield response.value();
|
|
1298
1298
|
});
|
|
1299
1299
|
}
|
|
1300
|
+
/**
|
|
1301
|
+
* Return token key and log access
|
|
1302
|
+
*/
|
|
1303
|
+
coreTokensSetKeyCreateRaw(requestParameters, initOverrides) {
|
|
1304
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1305
|
+
if (requestParameters.identifier === null || requestParameters.identifier === undefined) {
|
|
1306
|
+
throw new runtime.RequiredError('identifier', 'Required parameter requestParameters.identifier was null or undefined when calling coreTokensSetKeyCreate.');
|
|
1307
|
+
}
|
|
1308
|
+
if (requestParameters.tokenSetKeyRequest === null || requestParameters.tokenSetKeyRequest === undefined) {
|
|
1309
|
+
throw new runtime.RequiredError('tokenSetKeyRequest', 'Required parameter requestParameters.tokenSetKeyRequest was null or undefined when calling coreTokensSetKeyCreate.');
|
|
1310
|
+
}
|
|
1311
|
+
const queryParameters = {};
|
|
1312
|
+
const headerParameters = {};
|
|
1313
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1314
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1315
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1316
|
+
}
|
|
1317
|
+
const response = yield this.request({
|
|
1318
|
+
path: `/core/tokens/{identifier}/set_key/`.replace(`{${"identifier"}}`, encodeURIComponent(String(requestParameters.identifier))),
|
|
1319
|
+
method: 'POST',
|
|
1320
|
+
headers: headerParameters,
|
|
1321
|
+
query: queryParameters,
|
|
1322
|
+
body: models_1.TokenSetKeyRequestToJSON(requestParameters.tokenSetKeyRequest),
|
|
1323
|
+
}, initOverrides);
|
|
1324
|
+
return new runtime.VoidApiResponse(response);
|
|
1325
|
+
});
|
|
1326
|
+
}
|
|
1327
|
+
/**
|
|
1328
|
+
* Return token key and log access
|
|
1329
|
+
*/
|
|
1330
|
+
coreTokensSetKeyCreate(requestParameters, initOverrides) {
|
|
1331
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1332
|
+
yield this.coreTokensSetKeyCreateRaw(requestParameters, initOverrides);
|
|
1333
|
+
});
|
|
1334
|
+
}
|
|
1300
1335
|
/**
|
|
1301
1336
|
* Token Viewset
|
|
1302
1337
|
*/
|
|
@@ -1991,13 +2026,11 @@ class CoreApi extends runtime.BaseAPI {
|
|
|
1991
2026
|
}
|
|
1992
2027
|
exports.CoreApi = CoreApi;
|
|
1993
2028
|
/**
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
CoreTokensListIntentEnum["Verification"] = "verification";
|
|
2003
|
-
})(CoreTokensListIntentEnum = exports.CoreTokensListIntentEnum || (exports.CoreTokensListIntentEnum = {}));
|
|
2029
|
+
* @export
|
|
2030
|
+
*/
|
|
2031
|
+
exports.CoreTokensListIntentEnum = {
|
|
2032
|
+
Api: 'api',
|
|
2033
|
+
AppPassword: 'app_password',
|
|
2034
|
+
Recovery: 'recovery',
|
|
2035
|
+
Verification: 'verification'
|
|
2036
|
+
};
|
package/dist/apis/EventsApi.d.ts
CHANGED
|
@@ -394,29 +394,29 @@ export declare class EventsApi extends runtime.BaseAPI {
|
|
|
394
394
|
eventsTransportsUsedByList(requestParameters: EventsTransportsUsedByListRequest, initOverrides?: RequestInit): Promise<Array<UsedBy>>;
|
|
395
395
|
}
|
|
396
396
|
/**
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
397
|
+
* @export
|
|
398
|
+
*/
|
|
399
|
+
export declare const EventsNotificationsListSeverityEnum: {
|
|
400
|
+
readonly Alert: "alert";
|
|
401
|
+
readonly Notice: "notice";
|
|
402
|
+
readonly Warning: "warning";
|
|
403
|
+
};
|
|
404
|
+
export declare type EventsNotificationsListSeverityEnum = typeof EventsNotificationsListSeverityEnum[keyof typeof EventsNotificationsListSeverityEnum];
|
|
405
405
|
/**
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
406
|
+
* @export
|
|
407
|
+
*/
|
|
408
|
+
export declare const EventsRulesListSeverityEnum: {
|
|
409
|
+
readonly Alert: "alert";
|
|
410
|
+
readonly Notice: "notice";
|
|
411
|
+
readonly Warning: "warning";
|
|
412
|
+
};
|
|
413
|
+
export declare type EventsRulesListSeverityEnum = typeof EventsRulesListSeverityEnum[keyof typeof EventsRulesListSeverityEnum];
|
|
414
414
|
/**
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
415
|
+
* @export
|
|
416
|
+
*/
|
|
417
|
+
export declare const EventsTransportsListModeEnum: {
|
|
418
|
+
readonly Email: "email";
|
|
419
|
+
readonly Webhook: "webhook";
|
|
420
|
+
readonly WebhookSlack: "webhook_slack";
|
|
421
|
+
};
|
|
422
|
+
export declare type EventsTransportsListModeEnum = typeof EventsTransportsListModeEnum[keyof typeof EventsTransportsListModeEnum];
|
package/dist/apis/EventsApi.js
CHANGED
|
@@ -1115,32 +1115,26 @@ class EventsApi extends runtime.BaseAPI {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
exports.EventsApi = EventsApi;
|
|
1117
1117
|
/**
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
EventsNotificationsListSeverityEnum["Warning"] = "warning";
|
|
1126
|
-
})(EventsNotificationsListSeverityEnum = exports.EventsNotificationsListSeverityEnum || (exports.EventsNotificationsListSeverityEnum = {}));
|
|
1118
|
+
* @export
|
|
1119
|
+
*/
|
|
1120
|
+
exports.EventsNotificationsListSeverityEnum = {
|
|
1121
|
+
Alert: 'alert',
|
|
1122
|
+
Notice: 'notice',
|
|
1123
|
+
Warning: 'warning'
|
|
1124
|
+
};
|
|
1127
1125
|
/**
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
EventsRulesListSeverityEnum["Warning"] = "warning";
|
|
1136
|
-
})(EventsRulesListSeverityEnum = exports.EventsRulesListSeverityEnum || (exports.EventsRulesListSeverityEnum = {}));
|
|
1126
|
+
* @export
|
|
1127
|
+
*/
|
|
1128
|
+
exports.EventsRulesListSeverityEnum = {
|
|
1129
|
+
Alert: 'alert',
|
|
1130
|
+
Notice: 'notice',
|
|
1131
|
+
Warning: 'warning'
|
|
1132
|
+
};
|
|
1137
1133
|
/**
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
EventsTransportsListModeEnum["WebhookSlack"] = "webhook_slack";
|
|
1146
|
-
})(EventsTransportsListModeEnum = exports.EventsTransportsListModeEnum || (exports.EventsTransportsListModeEnum = {}));
|
|
1134
|
+
* @export
|
|
1135
|
+
*/
|
|
1136
|
+
exports.EventsTransportsListModeEnum = {
|
|
1137
|
+
Email: 'email',
|
|
1138
|
+
Webhook: 'webhook',
|
|
1139
|
+
WebhookSlack: 'webhook_slack'
|
|
1140
|
+
};
|
package/dist/apis/FlowsApi.d.ts
CHANGED
|
@@ -317,32 +317,32 @@ export declare class FlowsApi extends runtime.BaseAPI {
|
|
|
317
317
|
flowsInstancesUsedByList(requestParameters: FlowsInstancesUsedByListRequest, initOverrides?: RequestInit): Promise<Array<UsedBy>>;
|
|
318
318
|
}
|
|
319
319
|
/**
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
320
|
+
* @export
|
|
321
|
+
*/
|
|
322
|
+
export declare const FlowsBindingsListInvalidResponseActionEnum: {
|
|
323
|
+
readonly Restart: "restart";
|
|
324
|
+
readonly RestartWithContext: "restart_with_context";
|
|
325
|
+
readonly Retry: "retry";
|
|
326
|
+
};
|
|
327
|
+
export declare type FlowsBindingsListInvalidResponseActionEnum = typeof FlowsBindingsListInvalidResponseActionEnum[keyof typeof FlowsBindingsListInvalidResponseActionEnum];
|
|
328
328
|
/**
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
329
|
+
* @export
|
|
330
|
+
*/
|
|
331
|
+
export declare const FlowsBindingsListPolicyEngineModeEnum: {
|
|
332
|
+
readonly All: "all";
|
|
333
|
+
readonly Any: "any";
|
|
334
|
+
};
|
|
335
|
+
export declare type FlowsBindingsListPolicyEngineModeEnum = typeof FlowsBindingsListPolicyEngineModeEnum[keyof typeof FlowsBindingsListPolicyEngineModeEnum];
|
|
336
336
|
/**
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
337
|
+
* @export
|
|
338
|
+
*/
|
|
339
|
+
export declare const FlowsInstancesListDesignationEnum: {
|
|
340
|
+
readonly Authentication: "authentication";
|
|
341
|
+
readonly Authorization: "authorization";
|
|
342
|
+
readonly Enrollment: "enrollment";
|
|
343
|
+
readonly Invalidation: "invalidation";
|
|
344
|
+
readonly Recovery: "recovery";
|
|
345
|
+
readonly StageConfiguration: "stage_configuration";
|
|
346
|
+
readonly Unenrollment: "unenrollment";
|
|
347
|
+
};
|
|
348
|
+
export declare type FlowsInstancesListDesignationEnum = typeof FlowsInstancesListDesignationEnum[keyof typeof FlowsInstancesListDesignationEnum];
|
package/dist/apis/FlowsApi.js
CHANGED
|
@@ -933,35 +933,29 @@ class FlowsApi extends runtime.BaseAPI {
|
|
|
933
933
|
}
|
|
934
934
|
exports.FlowsApi = FlowsApi;
|
|
935
935
|
/**
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
FlowsBindingsListInvalidResponseActionEnum["Retry"] = "retry";
|
|
944
|
-
})(FlowsBindingsListInvalidResponseActionEnum = exports.FlowsBindingsListInvalidResponseActionEnum || (exports.FlowsBindingsListInvalidResponseActionEnum = {}));
|
|
936
|
+
* @export
|
|
937
|
+
*/
|
|
938
|
+
exports.FlowsBindingsListInvalidResponseActionEnum = {
|
|
939
|
+
Restart: 'restart',
|
|
940
|
+
RestartWithContext: 'restart_with_context',
|
|
941
|
+
Retry: 'retry'
|
|
942
|
+
};
|
|
945
943
|
/**
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
FlowsBindingsListPolicyEngineModeEnum["Any"] = "any";
|
|
953
|
-
})(FlowsBindingsListPolicyEngineModeEnum = exports.FlowsBindingsListPolicyEngineModeEnum || (exports.FlowsBindingsListPolicyEngineModeEnum = {}));
|
|
944
|
+
* @export
|
|
945
|
+
*/
|
|
946
|
+
exports.FlowsBindingsListPolicyEngineModeEnum = {
|
|
947
|
+
All: 'all',
|
|
948
|
+
Any: 'any'
|
|
949
|
+
};
|
|
954
950
|
/**
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
FlowsInstancesListDesignationEnum["Unenrollment"] = "unenrollment";
|
|
967
|
-
})(FlowsInstancesListDesignationEnum = exports.FlowsInstancesListDesignationEnum || (exports.FlowsInstancesListDesignationEnum = {}));
|
|
951
|
+
* @export
|
|
952
|
+
*/
|
|
953
|
+
exports.FlowsInstancesListDesignationEnum = {
|
|
954
|
+
Authentication: 'authentication',
|
|
955
|
+
Authorization: 'authorization',
|
|
956
|
+
Enrollment: 'enrollment',
|
|
957
|
+
Invalidation: 'invalidation',
|
|
958
|
+
Recovery: 'recovery',
|
|
959
|
+
StageConfiguration: 'stage_configuration',
|
|
960
|
+
Unenrollment: 'unenrollment'
|
|
961
|
+
};
|
|
@@ -872,87 +872,87 @@ export declare class PoliciesApi extends runtime.BaseAPI {
|
|
|
872
872
|
policiesReputationUsedByList(requestParameters: PoliciesReputationUsedByListRequest, initOverrides?: RequestInit): Promise<Array<UsedBy>>;
|
|
873
873
|
}
|
|
874
874
|
/**
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
875
|
+
* @export
|
|
876
|
+
*/
|
|
877
|
+
export declare const PoliciesEventMatcherListActionEnum: {
|
|
878
|
+
readonly AuthorizeApplication: "authorize_application";
|
|
879
|
+
readonly ConfigurationError: "configuration_error";
|
|
880
|
+
readonly Custom: "custom_";
|
|
881
|
+
readonly EmailSent: "email_sent";
|
|
882
|
+
readonly FlowExecution: "flow_execution";
|
|
883
|
+
readonly ImpersonationEnded: "impersonation_ended";
|
|
884
|
+
readonly ImpersonationStarted: "impersonation_started";
|
|
885
|
+
readonly InvitationUsed: "invitation_used";
|
|
886
|
+
readonly Login: "login";
|
|
887
|
+
readonly LoginFailed: "login_failed";
|
|
888
|
+
readonly Logout: "logout";
|
|
889
|
+
readonly ModelCreated: "model_created";
|
|
890
|
+
readonly ModelDeleted: "model_deleted";
|
|
891
|
+
readonly ModelUpdated: "model_updated";
|
|
892
|
+
readonly PasswordSet: "password_set";
|
|
893
|
+
readonly PolicyException: "policy_exception";
|
|
894
|
+
readonly PolicyExecution: "policy_execution";
|
|
895
|
+
readonly PropertyMappingException: "property_mapping_exception";
|
|
896
|
+
readonly SecretRotate: "secret_rotate";
|
|
897
|
+
readonly SecretView: "secret_view";
|
|
898
|
+
readonly SourceLinked: "source_linked";
|
|
899
|
+
readonly SuspiciousRequest: "suspicious_request";
|
|
900
|
+
readonly SystemException: "system_exception";
|
|
901
|
+
readonly SystemTaskException: "system_task_exception";
|
|
902
|
+
readonly SystemTaskExecution: "system_task_execution";
|
|
903
|
+
readonly UpdateAvailable: "update_available";
|
|
904
|
+
readonly UserWrite: "user_write";
|
|
905
|
+
};
|
|
906
|
+
export declare type PoliciesEventMatcherListActionEnum = typeof PoliciesEventMatcherListActionEnum[keyof typeof PoliciesEventMatcherListActionEnum];
|
|
907
907
|
/**
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
908
|
+
* @export
|
|
909
|
+
*/
|
|
910
|
+
export declare const PoliciesEventMatcherListAppEnum: {
|
|
911
|
+
readonly Admin: "authentik.admin";
|
|
912
|
+
readonly Api: "authentik.api";
|
|
913
|
+
readonly Core: "authentik.core";
|
|
914
|
+
readonly Crypto: "authentik.crypto";
|
|
915
|
+
readonly Events: "authentik.events";
|
|
916
|
+
readonly Flows: "authentik.flows";
|
|
917
|
+
readonly Lib: "authentik.lib";
|
|
918
|
+
readonly Managed: "authentik.managed";
|
|
919
|
+
readonly Outposts: "authentik.outposts";
|
|
920
|
+
readonly Policies: "authentik.policies";
|
|
921
|
+
readonly PoliciesDummy: "authentik.policies.dummy";
|
|
922
|
+
readonly PoliciesEventMatcher: "authentik.policies.event_matcher";
|
|
923
|
+
readonly PoliciesExpiry: "authentik.policies.expiry";
|
|
924
|
+
readonly PoliciesExpression: "authentik.policies.expression";
|
|
925
|
+
readonly PoliciesHibp: "authentik.policies.hibp";
|
|
926
|
+
readonly PoliciesPassword: "authentik.policies.password";
|
|
927
|
+
readonly PoliciesReputation: "authentik.policies.reputation";
|
|
928
|
+
readonly ProvidersLdap: "authentik.providers.ldap";
|
|
929
|
+
readonly ProvidersOauth2: "authentik.providers.oauth2";
|
|
930
|
+
readonly ProvidersProxy: "authentik.providers.proxy";
|
|
931
|
+
readonly ProvidersSaml: "authentik.providers.saml";
|
|
932
|
+
readonly Recovery: "authentik.recovery";
|
|
933
|
+
readonly SourcesLdap: "authentik.sources.ldap";
|
|
934
|
+
readonly SourcesOauth: "authentik.sources.oauth";
|
|
935
|
+
readonly SourcesPlex: "authentik.sources.plex";
|
|
936
|
+
readonly SourcesSaml: "authentik.sources.saml";
|
|
937
|
+
readonly StagesAuthenticatorDuo: "authentik.stages.authenticator_duo";
|
|
938
|
+
readonly StagesAuthenticatorSms: "authentik.stages.authenticator_sms";
|
|
939
|
+
readonly StagesAuthenticatorStatic: "authentik.stages.authenticator_static";
|
|
940
|
+
readonly StagesAuthenticatorTotp: "authentik.stages.authenticator_totp";
|
|
941
|
+
readonly StagesAuthenticatorValidate: "authentik.stages.authenticator_validate";
|
|
942
|
+
readonly StagesAuthenticatorWebauthn: "authentik.stages.authenticator_webauthn";
|
|
943
|
+
readonly StagesCaptcha: "authentik.stages.captcha";
|
|
944
|
+
readonly StagesConsent: "authentik.stages.consent";
|
|
945
|
+
readonly StagesDeny: "authentik.stages.deny";
|
|
946
|
+
readonly StagesDummy: "authentik.stages.dummy";
|
|
947
|
+
readonly StagesEmail: "authentik.stages.email";
|
|
948
|
+
readonly StagesIdentification: "authentik.stages.identification";
|
|
949
|
+
readonly StagesInvitation: "authentik.stages.invitation";
|
|
950
|
+
readonly StagesPassword: "authentik.stages.password";
|
|
951
|
+
readonly StagesPrompt: "authentik.stages.prompt";
|
|
952
|
+
readonly StagesUserDelete: "authentik.stages.user_delete";
|
|
953
|
+
readonly StagesUserLogin: "authentik.stages.user_login";
|
|
954
|
+
readonly StagesUserLogout: "authentik.stages.user_logout";
|
|
955
|
+
readonly StagesUserWrite: "authentik.stages.user_write";
|
|
956
|
+
readonly Tenants: "authentik.tenants";
|
|
957
|
+
};
|
|
958
|
+
export declare type PoliciesEventMatcherListAppEnum = typeof PoliciesEventMatcherListAppEnum[keyof typeof PoliciesEventMatcherListAppEnum];
|