@goauthentik/api 2022.8.2-1662930968 → 2022.8.2-1663409478
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/dist/apis/StagesApi.d.ts +16 -6
- package/dist/apis/StagesApi.js +40 -10
- package/dist/esm/apis/StagesApi.d.ts +16 -6
- package/dist/esm/apis/StagesApi.js +41 -11
- package/dist/esm/models/AuthenticatorDuoStage.d.ts +6 -0
- package/dist/esm/models/AuthenticatorDuoStage.js +2 -0
- package/dist/esm/models/AuthenticatorDuoStageDeviceImportResponse.d.ts +33 -0
- package/dist/esm/models/AuthenticatorDuoStageDeviceImportResponse.js +34 -0
- package/dist/esm/models/AuthenticatorDuoStageManualDeviceImportRequest.d.ts +33 -0
- package/dist/esm/models/AuthenticatorDuoStageManualDeviceImportRequest.js +37 -0
- package/dist/esm/models/AuthenticatorDuoStageRequest.d.ts +12 -0
- package/dist/esm/models/AuthenticatorDuoStageRequest.js +4 -0
- package/dist/esm/models/PatchedAuthenticatorDuoStageRequest.d.ts +12 -0
- package/dist/esm/models/PatchedAuthenticatorDuoStageRequest.js +4 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/models/AuthenticatorDuoStage.d.ts +6 -0
- package/dist/models/AuthenticatorDuoStage.js +2 -0
- package/dist/models/AuthenticatorDuoStageDeviceImportResponse.d.ts +33 -0
- package/dist/models/AuthenticatorDuoStageDeviceImportResponse.js +40 -0
- package/dist/models/AuthenticatorDuoStageManualDeviceImportRequest.d.ts +33 -0
- package/dist/models/AuthenticatorDuoStageManualDeviceImportRequest.js +43 -0
- package/dist/models/AuthenticatorDuoStageRequest.d.ts +12 -0
- package/dist/models/AuthenticatorDuoStageRequest.js +4 -0
- package/dist/models/PatchedAuthenticatorDuoStageRequest.d.ts +12 -0
- package/dist/models/PatchedAuthenticatorDuoStageRequest.js +4 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +2 -2
- package/src/apis/StagesApi.ts +55 -13
- package/src/models/AuthenticatorDuoStage.ts +8 -0
- package/src/models/AuthenticatorDuoStageDeviceImportResponse.ts +62 -0
- package/src/models/AuthenticatorDuoStageManualDeviceImportRequest.ts +64 -0
- package/src/models/AuthenticatorDuoStageRequest.ts +16 -0
- package/src/models/PatchedAuthenticatorDuoStageRequest.ts +16 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -42,6 +42,8 @@ src/models/AuthenticatorAttachmentEnum.ts
|
|
|
42
42
|
src/models/AuthenticatorDuoChallenge.ts
|
|
43
43
|
src/models/AuthenticatorDuoChallengeResponseRequest.ts
|
|
44
44
|
src/models/AuthenticatorDuoStage.ts
|
|
45
|
+
src/models/AuthenticatorDuoStageDeviceImportResponse.ts
|
|
46
|
+
src/models/AuthenticatorDuoStageManualDeviceImportRequest.ts
|
|
45
47
|
src/models/AuthenticatorDuoStageRequest.ts
|
|
46
48
|
src/models/AuthenticatorSMSChallenge.ts
|
|
47
49
|
src/models/AuthenticatorSMSChallengeResponseRequest.ts
|
package/dist/apis/StagesApi.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 { AuthenticateWebAuthnStage, AuthenticateWebAuthnStageRequest, AuthenticatorDuoStage, AuthenticatorDuoStageRequest, AuthenticatorSMSStage, AuthenticatorSMSStageRequest, AuthenticatorStaticStage, AuthenticatorStaticStageRequest, AuthenticatorTOTPStage, AuthenticatorTOTPStageRequest, AuthenticatorValidateStage, AuthenticatorValidateStageRequest, CaptchaStage, CaptchaStageRequest, ConsentStage, ConsentStageRequest, DenyStage, DenyStageRequest, DummyStage, DummyStageRequest, DuoDeviceEnrollmentStatus, EmailStage, EmailStageRequest, IdentificationStage, IdentificationStageRequest, Invitation, InvitationRequest, InvitationStage, InvitationStageRequest, PaginatedAuthenticateWebAuthnStageList, PaginatedAuthenticatorDuoStageList, PaginatedAuthenticatorSMSStageList, PaginatedAuthenticatorStaticStageList, PaginatedAuthenticatorTOTPStageList, PaginatedAuthenticatorValidateStageList, PaginatedCaptchaStageList, PaginatedConsentStageList, PaginatedDenyStageList, PaginatedDummyStageList, PaginatedEmailStageList, PaginatedIdentificationStageList, PaginatedInvitationList, PaginatedInvitationStageList, PaginatedPasswordStageList, PaginatedPromptList, PaginatedPromptStageList, PaginatedStageList, PaginatedUserDeleteStageList, PaginatedUserLoginStageList, PaginatedUserLogoutStageList, PaginatedUserWriteStageList, PasswordStage, PasswordStageRequest, PatchedAuthenticateWebAuthnStageRequest, PatchedAuthenticatorDuoStageRequest, PatchedAuthenticatorSMSStageRequest, PatchedAuthenticatorStaticStageRequest, PatchedAuthenticatorTOTPStageRequest, PatchedAuthenticatorValidateStageRequest, PatchedCaptchaStageRequest, PatchedConsentStageRequest, PatchedDenyStageRequest, PatchedDummyStageRequest, PatchedEmailStageRequest, PatchedIdentificationStageRequest, PatchedInvitationRequest, PatchedInvitationStageRequest, PatchedPasswordStageRequest, PatchedPromptRequest, PatchedPromptStageRequest, PatchedUserDeleteStageRequest, PatchedUserLoginStageRequest, PatchedUserLogoutStageRequest, PatchedUserWriteStageRequest, Prompt, PromptRequest, PromptStage, PromptStageRequest, Stage, TypeCreate, UsedBy, UserDeleteStage, UserDeleteStageRequest, UserLoginStage, UserLoginStageRequest, UserLogoutStage, UserLogoutStageRequest, UserSetting, UserWriteStage, UserWriteStageRequest } from '../models';
|
|
13
|
+
import { AuthenticateWebAuthnStage, AuthenticateWebAuthnStageRequest, AuthenticatorDuoStage, AuthenticatorDuoStageDeviceImportResponse, AuthenticatorDuoStageManualDeviceImportRequest, AuthenticatorDuoStageRequest, AuthenticatorSMSStage, AuthenticatorSMSStageRequest, AuthenticatorStaticStage, AuthenticatorStaticStageRequest, AuthenticatorTOTPStage, AuthenticatorTOTPStageRequest, AuthenticatorValidateStage, AuthenticatorValidateStageRequest, CaptchaStage, CaptchaStageRequest, ConsentStage, ConsentStageRequest, DenyStage, DenyStageRequest, DummyStage, DummyStageRequest, DuoDeviceEnrollmentStatus, EmailStage, EmailStageRequest, IdentificationStage, IdentificationStageRequest, Invitation, InvitationRequest, InvitationStage, InvitationStageRequest, PaginatedAuthenticateWebAuthnStageList, PaginatedAuthenticatorDuoStageList, PaginatedAuthenticatorSMSStageList, PaginatedAuthenticatorStaticStageList, PaginatedAuthenticatorTOTPStageList, PaginatedAuthenticatorValidateStageList, PaginatedCaptchaStageList, PaginatedConsentStageList, PaginatedDenyStageList, PaginatedDummyStageList, PaginatedEmailStageList, PaginatedIdentificationStageList, PaginatedInvitationList, PaginatedInvitationStageList, PaginatedPasswordStageList, PaginatedPromptList, PaginatedPromptStageList, PaginatedStageList, PaginatedUserDeleteStageList, PaginatedUserLoginStageList, PaginatedUserLogoutStageList, PaginatedUserWriteStageList, PasswordStage, PasswordStageRequest, PatchedAuthenticateWebAuthnStageRequest, PatchedAuthenticatorDuoStageRequest, PatchedAuthenticatorSMSStageRequest, PatchedAuthenticatorStaticStageRequest, PatchedAuthenticatorTOTPStageRequest, PatchedAuthenticatorValidateStageRequest, PatchedCaptchaStageRequest, PatchedConsentStageRequest, PatchedDenyStageRequest, PatchedDummyStageRequest, PatchedEmailStageRequest, PatchedIdentificationStageRequest, PatchedInvitationRequest, PatchedInvitationStageRequest, PatchedPasswordStageRequest, PatchedPromptRequest, PatchedPromptStageRequest, PatchedUserDeleteStageRequest, PatchedUserLoginStageRequest, PatchedUserLogoutStageRequest, PatchedUserWriteStageRequest, Prompt, PromptRequest, PromptStage, PromptStageRequest, Stage, TypeCreate, UsedBy, UserDeleteStage, UserDeleteStageRequest, UserLoginStage, UserLoginStageRequest, UserLogoutStage, UserLogoutStageRequest, UserSetting, UserWriteStage, UserWriteStageRequest } from '../models';
|
|
14
14
|
export interface StagesAllDestroyRequest {
|
|
15
15
|
stageUuid: string;
|
|
16
16
|
}
|
|
@@ -36,10 +36,12 @@ export interface StagesAuthenticatorDuoDestroyRequest {
|
|
|
36
36
|
export interface StagesAuthenticatorDuoEnrollmentStatusCreateRequest {
|
|
37
37
|
stageUuid: string;
|
|
38
38
|
}
|
|
39
|
-
export interface
|
|
39
|
+
export interface StagesAuthenticatorDuoImportDeviceManualCreateRequest {
|
|
40
|
+
stageUuid: string;
|
|
41
|
+
authenticatorDuoStageManualDeviceImportRequest: AuthenticatorDuoStageManualDeviceImportRequest;
|
|
42
|
+
}
|
|
43
|
+
export interface StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest {
|
|
40
44
|
stageUuid: string;
|
|
41
|
-
duoUserId?: string;
|
|
42
|
-
username?: string;
|
|
43
45
|
}
|
|
44
46
|
export interface StagesAuthenticatorDuoListRequest {
|
|
45
47
|
apiHostname?: string;
|
|
@@ -752,11 +754,19 @@ export declare class StagesApi extends runtime.BaseAPI {
|
|
|
752
754
|
/**
|
|
753
755
|
* Import duo devices into authentik
|
|
754
756
|
*/
|
|
755
|
-
|
|
757
|
+
stagesAuthenticatorDuoImportDeviceManualCreateRaw(requestParameters: StagesAuthenticatorDuoImportDeviceManualCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
758
|
+
/**
|
|
759
|
+
* Import duo devices into authentik
|
|
760
|
+
*/
|
|
761
|
+
stagesAuthenticatorDuoImportDeviceManualCreate(requestParameters: StagesAuthenticatorDuoImportDeviceManualCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
762
|
+
/**
|
|
763
|
+
* Import duo devices into authentik
|
|
764
|
+
*/
|
|
765
|
+
stagesAuthenticatorDuoImportDevicesAutomaticCreateRaw(requestParameters: StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<AuthenticatorDuoStageDeviceImportResponse>>;
|
|
756
766
|
/**
|
|
757
767
|
* Import duo devices into authentik
|
|
758
768
|
*/
|
|
759
|
-
|
|
769
|
+
stagesAuthenticatorDuoImportDevicesAutomaticCreate(requestParameters: StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<AuthenticatorDuoStageDeviceImportResponse>;
|
|
760
770
|
/**
|
|
761
771
|
* AuthenticatorDuoStage Viewset
|
|
762
772
|
*/
|
package/dist/apis/StagesApi.js
CHANGED
|
@@ -317,37 +317,67 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
317
317
|
/**
|
|
318
318
|
* Import duo devices into authentik
|
|
319
319
|
*/
|
|
320
|
-
|
|
320
|
+
stagesAuthenticatorDuoImportDeviceManualCreateRaw(requestParameters, initOverrides) {
|
|
321
321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
322
322
|
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
323
|
-
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling
|
|
323
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDeviceManualCreate.');
|
|
324
|
+
}
|
|
325
|
+
if (requestParameters.authenticatorDuoStageManualDeviceImportRequest === null || requestParameters.authenticatorDuoStageManualDeviceImportRequest === undefined) {
|
|
326
|
+
throw new runtime.RequiredError('authenticatorDuoStageManualDeviceImportRequest', 'Required parameter requestParameters.authenticatorDuoStageManualDeviceImportRequest was null or undefined when calling stagesAuthenticatorDuoImportDeviceManualCreate.');
|
|
324
327
|
}
|
|
325
328
|
const queryParameters = {};
|
|
326
|
-
|
|
327
|
-
|
|
329
|
+
const headerParameters = {};
|
|
330
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
331
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
332
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
328
333
|
}
|
|
329
|
-
|
|
330
|
-
|
|
334
|
+
const response = yield this.request({
|
|
335
|
+
path: `/stages/authenticator/duo/{stage_uuid}/import_device_manual/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
336
|
+
method: 'POST',
|
|
337
|
+
headers: headerParameters,
|
|
338
|
+
query: queryParameters,
|
|
339
|
+
body: (0, models_1.AuthenticatorDuoStageManualDeviceImportRequestToJSON)(requestParameters.authenticatorDuoStageManualDeviceImportRequest),
|
|
340
|
+
}, initOverrides);
|
|
341
|
+
return new runtime.VoidApiResponse(response);
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Import duo devices into authentik
|
|
346
|
+
*/
|
|
347
|
+
stagesAuthenticatorDuoImportDeviceManualCreate(requestParameters, initOverrides) {
|
|
348
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
349
|
+
yield this.stagesAuthenticatorDuoImportDeviceManualCreateRaw(requestParameters, initOverrides);
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Import duo devices into authentik
|
|
354
|
+
*/
|
|
355
|
+
stagesAuthenticatorDuoImportDevicesAutomaticCreateRaw(requestParameters, initOverrides) {
|
|
356
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
357
|
+
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
358
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDevicesAutomaticCreate.');
|
|
331
359
|
}
|
|
360
|
+
const queryParameters = {};
|
|
332
361
|
const headerParameters = {};
|
|
333
362
|
if (this.configuration && this.configuration.apiKey) {
|
|
334
363
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
335
364
|
}
|
|
336
365
|
const response = yield this.request({
|
|
337
|
-
path: `/stages/authenticator/duo/{stage_uuid}/
|
|
366
|
+
path: `/stages/authenticator/duo/{stage_uuid}/import_devices_automatic/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
338
367
|
method: 'POST',
|
|
339
368
|
headers: headerParameters,
|
|
340
369
|
query: queryParameters,
|
|
341
370
|
}, initOverrides);
|
|
342
|
-
return new runtime.
|
|
371
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.AuthenticatorDuoStageDeviceImportResponseFromJSON)(jsonValue));
|
|
343
372
|
});
|
|
344
373
|
}
|
|
345
374
|
/**
|
|
346
375
|
* Import duo devices into authentik
|
|
347
376
|
*/
|
|
348
|
-
|
|
377
|
+
stagesAuthenticatorDuoImportDevicesAutomaticCreate(requestParameters, initOverrides) {
|
|
349
378
|
return __awaiter(this, void 0, void 0, function* () {
|
|
350
|
-
yield this.
|
|
379
|
+
const response = yield this.stagesAuthenticatorDuoImportDevicesAutomaticCreateRaw(requestParameters, initOverrides);
|
|
380
|
+
return yield response.value();
|
|
351
381
|
});
|
|
352
382
|
}
|
|
353
383
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AuthenticateWebAuthnStage, AuthenticateWebAuthnStageRequest, AuthenticatorDuoStage, AuthenticatorDuoStageRequest, AuthenticatorSMSStage, AuthenticatorSMSStageRequest, AuthenticatorStaticStage, AuthenticatorStaticStageRequest, AuthenticatorTOTPStage, AuthenticatorTOTPStageRequest, AuthenticatorValidateStage, AuthenticatorValidateStageRequest, CaptchaStage, CaptchaStageRequest, ConsentStage, ConsentStageRequest, DenyStage, DenyStageRequest, DummyStage, DummyStageRequest, DuoDeviceEnrollmentStatus, EmailStage, EmailStageRequest, IdentificationStage, IdentificationStageRequest, Invitation, InvitationRequest, InvitationStage, InvitationStageRequest, PaginatedAuthenticateWebAuthnStageList, PaginatedAuthenticatorDuoStageList, PaginatedAuthenticatorSMSStageList, PaginatedAuthenticatorStaticStageList, PaginatedAuthenticatorTOTPStageList, PaginatedAuthenticatorValidateStageList, PaginatedCaptchaStageList, PaginatedConsentStageList, PaginatedDenyStageList, PaginatedDummyStageList, PaginatedEmailStageList, PaginatedIdentificationStageList, PaginatedInvitationList, PaginatedInvitationStageList, PaginatedPasswordStageList, PaginatedPromptList, PaginatedPromptStageList, PaginatedStageList, PaginatedUserDeleteStageList, PaginatedUserLoginStageList, PaginatedUserLogoutStageList, PaginatedUserWriteStageList, PasswordStage, PasswordStageRequest, PatchedAuthenticateWebAuthnStageRequest, PatchedAuthenticatorDuoStageRequest, PatchedAuthenticatorSMSStageRequest, PatchedAuthenticatorStaticStageRequest, PatchedAuthenticatorTOTPStageRequest, PatchedAuthenticatorValidateStageRequest, PatchedCaptchaStageRequest, PatchedConsentStageRequest, PatchedDenyStageRequest, PatchedDummyStageRequest, PatchedEmailStageRequest, PatchedIdentificationStageRequest, PatchedInvitationRequest, PatchedInvitationStageRequest, PatchedPasswordStageRequest, PatchedPromptRequest, PatchedPromptStageRequest, PatchedUserDeleteStageRequest, PatchedUserLoginStageRequest, PatchedUserLogoutStageRequest, PatchedUserWriteStageRequest, Prompt, PromptRequest, PromptStage, PromptStageRequest, Stage, TypeCreate, UsedBy, UserDeleteStage, UserDeleteStageRequest, UserLoginStage, UserLoginStageRequest, UserLogoutStage, UserLogoutStageRequest, UserSetting, UserWriteStage, UserWriteStageRequest } from '../models';
|
|
13
|
+
import { AuthenticateWebAuthnStage, AuthenticateWebAuthnStageRequest, AuthenticatorDuoStage, AuthenticatorDuoStageDeviceImportResponse, AuthenticatorDuoStageManualDeviceImportRequest, AuthenticatorDuoStageRequest, AuthenticatorSMSStage, AuthenticatorSMSStageRequest, AuthenticatorStaticStage, AuthenticatorStaticStageRequest, AuthenticatorTOTPStage, AuthenticatorTOTPStageRequest, AuthenticatorValidateStage, AuthenticatorValidateStageRequest, CaptchaStage, CaptchaStageRequest, ConsentStage, ConsentStageRequest, DenyStage, DenyStageRequest, DummyStage, DummyStageRequest, DuoDeviceEnrollmentStatus, EmailStage, EmailStageRequest, IdentificationStage, IdentificationStageRequest, Invitation, InvitationRequest, InvitationStage, InvitationStageRequest, PaginatedAuthenticateWebAuthnStageList, PaginatedAuthenticatorDuoStageList, PaginatedAuthenticatorSMSStageList, PaginatedAuthenticatorStaticStageList, PaginatedAuthenticatorTOTPStageList, PaginatedAuthenticatorValidateStageList, PaginatedCaptchaStageList, PaginatedConsentStageList, PaginatedDenyStageList, PaginatedDummyStageList, PaginatedEmailStageList, PaginatedIdentificationStageList, PaginatedInvitationList, PaginatedInvitationStageList, PaginatedPasswordStageList, PaginatedPromptList, PaginatedPromptStageList, PaginatedStageList, PaginatedUserDeleteStageList, PaginatedUserLoginStageList, PaginatedUserLogoutStageList, PaginatedUserWriteStageList, PasswordStage, PasswordStageRequest, PatchedAuthenticateWebAuthnStageRequest, PatchedAuthenticatorDuoStageRequest, PatchedAuthenticatorSMSStageRequest, PatchedAuthenticatorStaticStageRequest, PatchedAuthenticatorTOTPStageRequest, PatchedAuthenticatorValidateStageRequest, PatchedCaptchaStageRequest, PatchedConsentStageRequest, PatchedDenyStageRequest, PatchedDummyStageRequest, PatchedEmailStageRequest, PatchedIdentificationStageRequest, PatchedInvitationRequest, PatchedInvitationStageRequest, PatchedPasswordStageRequest, PatchedPromptRequest, PatchedPromptStageRequest, PatchedUserDeleteStageRequest, PatchedUserLoginStageRequest, PatchedUserLogoutStageRequest, PatchedUserWriteStageRequest, Prompt, PromptRequest, PromptStage, PromptStageRequest, Stage, TypeCreate, UsedBy, UserDeleteStage, UserDeleteStageRequest, UserLoginStage, UserLoginStageRequest, UserLogoutStage, UserLogoutStageRequest, UserSetting, UserWriteStage, UserWriteStageRequest } from '../models';
|
|
14
14
|
export interface StagesAllDestroyRequest {
|
|
15
15
|
stageUuid: string;
|
|
16
16
|
}
|
|
@@ -36,10 +36,12 @@ export interface StagesAuthenticatorDuoDestroyRequest {
|
|
|
36
36
|
export interface StagesAuthenticatorDuoEnrollmentStatusCreateRequest {
|
|
37
37
|
stageUuid: string;
|
|
38
38
|
}
|
|
39
|
-
export interface
|
|
39
|
+
export interface StagesAuthenticatorDuoImportDeviceManualCreateRequest {
|
|
40
|
+
stageUuid: string;
|
|
41
|
+
authenticatorDuoStageManualDeviceImportRequest: AuthenticatorDuoStageManualDeviceImportRequest;
|
|
42
|
+
}
|
|
43
|
+
export interface StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest {
|
|
40
44
|
stageUuid: string;
|
|
41
|
-
duoUserId?: string;
|
|
42
|
-
username?: string;
|
|
43
45
|
}
|
|
44
46
|
export interface StagesAuthenticatorDuoListRequest {
|
|
45
47
|
apiHostname?: string;
|
|
@@ -752,11 +754,19 @@ export declare class StagesApi extends runtime.BaseAPI {
|
|
|
752
754
|
/**
|
|
753
755
|
* Import duo devices into authentik
|
|
754
756
|
*/
|
|
755
|
-
|
|
757
|
+
stagesAuthenticatorDuoImportDeviceManualCreateRaw(requestParameters: StagesAuthenticatorDuoImportDeviceManualCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
|
|
758
|
+
/**
|
|
759
|
+
* Import duo devices into authentik
|
|
760
|
+
*/
|
|
761
|
+
stagesAuthenticatorDuoImportDeviceManualCreate(requestParameters: StagesAuthenticatorDuoImportDeviceManualCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
762
|
+
/**
|
|
763
|
+
* Import duo devices into authentik
|
|
764
|
+
*/
|
|
765
|
+
stagesAuthenticatorDuoImportDevicesAutomaticCreateRaw(requestParameters: StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<AuthenticatorDuoStageDeviceImportResponse>>;
|
|
756
766
|
/**
|
|
757
767
|
* Import duo devices into authentik
|
|
758
768
|
*/
|
|
759
|
-
|
|
769
|
+
stagesAuthenticatorDuoImportDevicesAutomaticCreate(requestParameters: StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<AuthenticatorDuoStageDeviceImportResponse>;
|
|
760
770
|
/**
|
|
761
771
|
* AuthenticatorDuoStage Viewset
|
|
762
772
|
*/
|
|
@@ -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 { AuthenticateWebAuthnStageFromJSON, AuthenticateWebAuthnStageRequestToJSON, AuthenticatorDuoStageFromJSON, AuthenticatorDuoStageRequestToJSON, AuthenticatorSMSStageFromJSON, AuthenticatorSMSStageRequestToJSON, AuthenticatorStaticStageFromJSON, AuthenticatorStaticStageRequestToJSON, AuthenticatorTOTPStageFromJSON, AuthenticatorTOTPStageRequestToJSON, AuthenticatorValidateStageFromJSON, AuthenticatorValidateStageRequestToJSON, CaptchaStageFromJSON, CaptchaStageRequestToJSON, ConsentStageFromJSON, ConsentStageRequestToJSON, DenyStageFromJSON, DenyStageRequestToJSON, DummyStageFromJSON, DummyStageRequestToJSON, DuoDeviceEnrollmentStatusFromJSON, EmailStageFromJSON, EmailStageRequestToJSON, IdentificationStageFromJSON, IdentificationStageRequestToJSON, InvitationFromJSON, InvitationRequestToJSON, InvitationStageFromJSON, InvitationStageRequestToJSON, PaginatedAuthenticateWebAuthnStageListFromJSON, PaginatedAuthenticatorDuoStageListFromJSON, PaginatedAuthenticatorSMSStageListFromJSON, PaginatedAuthenticatorStaticStageListFromJSON, PaginatedAuthenticatorTOTPStageListFromJSON, PaginatedAuthenticatorValidateStageListFromJSON, PaginatedCaptchaStageListFromJSON, PaginatedConsentStageListFromJSON, PaginatedDenyStageListFromJSON, PaginatedDummyStageListFromJSON, PaginatedEmailStageListFromJSON, PaginatedIdentificationStageListFromJSON, PaginatedInvitationListFromJSON, PaginatedInvitationStageListFromJSON, PaginatedPasswordStageListFromJSON, PaginatedPromptListFromJSON, PaginatedPromptStageListFromJSON, PaginatedStageListFromJSON, PaginatedUserDeleteStageListFromJSON, PaginatedUserLoginStageListFromJSON, PaginatedUserLogoutStageListFromJSON, PaginatedUserWriteStageListFromJSON, PasswordStageFromJSON, PasswordStageRequestToJSON, PatchedAuthenticateWebAuthnStageRequestToJSON, PatchedAuthenticatorDuoStageRequestToJSON, PatchedAuthenticatorSMSStageRequestToJSON, PatchedAuthenticatorStaticStageRequestToJSON, PatchedAuthenticatorTOTPStageRequestToJSON, PatchedAuthenticatorValidateStageRequestToJSON, PatchedCaptchaStageRequestToJSON, PatchedConsentStageRequestToJSON, PatchedDenyStageRequestToJSON, PatchedDummyStageRequestToJSON, PatchedEmailStageRequestToJSON, PatchedIdentificationStageRequestToJSON, PatchedInvitationRequestToJSON, PatchedInvitationStageRequestToJSON, PatchedPasswordStageRequestToJSON, PatchedPromptRequestToJSON, PatchedPromptStageRequestToJSON, PatchedUserDeleteStageRequestToJSON, PatchedUserLoginStageRequestToJSON, PatchedUserLogoutStageRequestToJSON, PatchedUserWriteStageRequestToJSON, PromptFromJSON, PromptRequestToJSON, PromptStageFromJSON, PromptStageRequestToJSON, StageFromJSON, TypeCreateFromJSON, UsedByFromJSON, UserDeleteStageFromJSON, UserDeleteStageRequestToJSON, UserLoginStageFromJSON, UserLoginStageRequestToJSON, UserLogoutStageFromJSON, UserLogoutStageRequestToJSON, UserSettingFromJSON, UserWriteStageFromJSON, UserWriteStageRequestToJSON, } from '../models';
|
|
24
|
+
import { AuthenticateWebAuthnStageFromJSON, AuthenticateWebAuthnStageRequestToJSON, AuthenticatorDuoStageFromJSON, AuthenticatorDuoStageDeviceImportResponseFromJSON, AuthenticatorDuoStageManualDeviceImportRequestToJSON, AuthenticatorDuoStageRequestToJSON, AuthenticatorSMSStageFromJSON, AuthenticatorSMSStageRequestToJSON, AuthenticatorStaticStageFromJSON, AuthenticatorStaticStageRequestToJSON, AuthenticatorTOTPStageFromJSON, AuthenticatorTOTPStageRequestToJSON, AuthenticatorValidateStageFromJSON, AuthenticatorValidateStageRequestToJSON, CaptchaStageFromJSON, CaptchaStageRequestToJSON, ConsentStageFromJSON, ConsentStageRequestToJSON, DenyStageFromJSON, DenyStageRequestToJSON, DummyStageFromJSON, DummyStageRequestToJSON, DuoDeviceEnrollmentStatusFromJSON, EmailStageFromJSON, EmailStageRequestToJSON, IdentificationStageFromJSON, IdentificationStageRequestToJSON, InvitationFromJSON, InvitationRequestToJSON, InvitationStageFromJSON, InvitationStageRequestToJSON, PaginatedAuthenticateWebAuthnStageListFromJSON, PaginatedAuthenticatorDuoStageListFromJSON, PaginatedAuthenticatorSMSStageListFromJSON, PaginatedAuthenticatorStaticStageListFromJSON, PaginatedAuthenticatorTOTPStageListFromJSON, PaginatedAuthenticatorValidateStageListFromJSON, PaginatedCaptchaStageListFromJSON, PaginatedConsentStageListFromJSON, PaginatedDenyStageListFromJSON, PaginatedDummyStageListFromJSON, PaginatedEmailStageListFromJSON, PaginatedIdentificationStageListFromJSON, PaginatedInvitationListFromJSON, PaginatedInvitationStageListFromJSON, PaginatedPasswordStageListFromJSON, PaginatedPromptListFromJSON, PaginatedPromptStageListFromJSON, PaginatedStageListFromJSON, PaginatedUserDeleteStageListFromJSON, PaginatedUserLoginStageListFromJSON, PaginatedUserLogoutStageListFromJSON, PaginatedUserWriteStageListFromJSON, PasswordStageFromJSON, PasswordStageRequestToJSON, PatchedAuthenticateWebAuthnStageRequestToJSON, PatchedAuthenticatorDuoStageRequestToJSON, PatchedAuthenticatorSMSStageRequestToJSON, PatchedAuthenticatorStaticStageRequestToJSON, PatchedAuthenticatorTOTPStageRequestToJSON, PatchedAuthenticatorValidateStageRequestToJSON, PatchedCaptchaStageRequestToJSON, PatchedConsentStageRequestToJSON, PatchedDenyStageRequestToJSON, PatchedDummyStageRequestToJSON, PatchedEmailStageRequestToJSON, PatchedIdentificationStageRequestToJSON, PatchedInvitationRequestToJSON, PatchedInvitationStageRequestToJSON, PatchedPasswordStageRequestToJSON, PatchedPromptRequestToJSON, PatchedPromptStageRequestToJSON, PatchedUserDeleteStageRequestToJSON, PatchedUserLoginStageRequestToJSON, PatchedUserLogoutStageRequestToJSON, PatchedUserWriteStageRequestToJSON, PromptFromJSON, PromptRequestToJSON, PromptStageFromJSON, PromptStageRequestToJSON, StageFromJSON, TypeCreateFromJSON, UsedByFromJSON, UserDeleteStageFromJSON, UserDeleteStageRequestToJSON, UserLoginStageFromJSON, UserLoginStageRequestToJSON, UserLogoutStageFromJSON, UserLogoutStageRequestToJSON, UserSettingFromJSON, UserWriteStageFromJSON, UserWriteStageRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -314,37 +314,67 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
314
314
|
/**
|
|
315
315
|
* Import duo devices into authentik
|
|
316
316
|
*/
|
|
317
|
-
|
|
317
|
+
stagesAuthenticatorDuoImportDeviceManualCreateRaw(requestParameters, initOverrides) {
|
|
318
318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
319
319
|
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
320
|
-
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling
|
|
320
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDeviceManualCreate.');
|
|
321
|
+
}
|
|
322
|
+
if (requestParameters.authenticatorDuoStageManualDeviceImportRequest === null || requestParameters.authenticatorDuoStageManualDeviceImportRequest === undefined) {
|
|
323
|
+
throw new runtime.RequiredError('authenticatorDuoStageManualDeviceImportRequest', 'Required parameter requestParameters.authenticatorDuoStageManualDeviceImportRequest was null or undefined when calling stagesAuthenticatorDuoImportDeviceManualCreate.');
|
|
321
324
|
}
|
|
322
325
|
const queryParameters = {};
|
|
323
|
-
|
|
324
|
-
|
|
326
|
+
const headerParameters = {};
|
|
327
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
328
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
329
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
325
330
|
}
|
|
326
|
-
|
|
327
|
-
|
|
331
|
+
const response = yield this.request({
|
|
332
|
+
path: `/stages/authenticator/duo/{stage_uuid}/import_device_manual/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
333
|
+
method: 'POST',
|
|
334
|
+
headers: headerParameters,
|
|
335
|
+
query: queryParameters,
|
|
336
|
+
body: AuthenticatorDuoStageManualDeviceImportRequestToJSON(requestParameters.authenticatorDuoStageManualDeviceImportRequest),
|
|
337
|
+
}, initOverrides);
|
|
338
|
+
return new runtime.VoidApiResponse(response);
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Import duo devices into authentik
|
|
343
|
+
*/
|
|
344
|
+
stagesAuthenticatorDuoImportDeviceManualCreate(requestParameters, initOverrides) {
|
|
345
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
346
|
+
yield this.stagesAuthenticatorDuoImportDeviceManualCreateRaw(requestParameters, initOverrides);
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Import duo devices into authentik
|
|
351
|
+
*/
|
|
352
|
+
stagesAuthenticatorDuoImportDevicesAutomaticCreateRaw(requestParameters, initOverrides) {
|
|
353
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
354
|
+
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
355
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDevicesAutomaticCreate.');
|
|
328
356
|
}
|
|
357
|
+
const queryParameters = {};
|
|
329
358
|
const headerParameters = {};
|
|
330
359
|
if (this.configuration && this.configuration.apiKey) {
|
|
331
360
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
332
361
|
}
|
|
333
362
|
const response = yield this.request({
|
|
334
|
-
path: `/stages/authenticator/duo/{stage_uuid}/
|
|
363
|
+
path: `/stages/authenticator/duo/{stage_uuid}/import_devices_automatic/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
335
364
|
method: 'POST',
|
|
336
365
|
headers: headerParameters,
|
|
337
366
|
query: queryParameters,
|
|
338
367
|
}, initOverrides);
|
|
339
|
-
return new runtime.
|
|
368
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticatorDuoStageDeviceImportResponseFromJSON(jsonValue));
|
|
340
369
|
});
|
|
341
370
|
}
|
|
342
371
|
/**
|
|
343
372
|
* Import duo devices into authentik
|
|
344
373
|
*/
|
|
345
|
-
|
|
374
|
+
stagesAuthenticatorDuoImportDevicesAutomaticCreate(requestParameters, initOverrides) {
|
|
346
375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
347
|
-
yield this.
|
|
376
|
+
const response = yield this.stagesAuthenticatorDuoImportDevicesAutomaticCreateRaw(requestParameters, initOverrides);
|
|
377
|
+
return yield response.value();
|
|
348
378
|
});
|
|
349
379
|
}
|
|
350
380
|
/**
|
|
@@ -76,6 +76,12 @@ export interface AuthenticatorDuoStage {
|
|
|
76
76
|
* @memberof AuthenticatorDuoStage
|
|
77
77
|
*/
|
|
78
78
|
apiHostname: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof AuthenticatorDuoStage
|
|
83
|
+
*/
|
|
84
|
+
adminIntegrationKey?: string;
|
|
79
85
|
}
|
|
80
86
|
export declare function AuthenticatorDuoStageFromJSON(json: any): AuthenticatorDuoStage;
|
|
81
87
|
export declare function AuthenticatorDuoStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStage;
|
|
@@ -31,6 +31,7 @@ export function AuthenticatorDuoStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
32
32
|
'clientId': json['client_id'],
|
|
33
33
|
'apiHostname': json['api_hostname'],
|
|
34
|
+
'adminIntegrationKey': !exists(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
export function AuthenticatorDuoStageToJSON(value) {
|
|
@@ -46,5 +47,6 @@ export function AuthenticatorDuoStageToJSON(value) {
|
|
|
46
47
|
'configure_flow': value.configureFlow,
|
|
47
48
|
'client_id': value.clientId,
|
|
48
49
|
'api_hostname': value.apiHostname,
|
|
50
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
49
51
|
};
|
|
50
52
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuthenticatorDuoStageDeviceImportResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticatorDuoStageDeviceImportResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AuthenticatorDuoStageDeviceImportResponse
|
|
22
|
+
*/
|
|
23
|
+
readonly count: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthenticatorDuoStageDeviceImportResponse
|
|
28
|
+
*/
|
|
29
|
+
readonly error: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function AuthenticatorDuoStageDeviceImportResponseFromJSON(json: any): AuthenticatorDuoStageDeviceImportResponse;
|
|
32
|
+
export declare function AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageDeviceImportResponse;
|
|
33
|
+
export declare function AuthenticatorDuoStageDeviceImportResponseToJSON(value?: AuthenticatorDuoStageDeviceImportResponse | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
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
|
+
export function AuthenticatorDuoStageDeviceImportResponseFromJSON(json) {
|
|
15
|
+
return AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'count': json['count'],
|
|
23
|
+
'error': json['error'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function AuthenticatorDuoStageDeviceImportResponseToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {};
|
|
34
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuthenticatorDuoStageManualDeviceImportRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticatorDuoStageManualDeviceImportRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AuthenticatorDuoStageManualDeviceImportRequest
|
|
22
|
+
*/
|
|
23
|
+
duoUserId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthenticatorDuoStageManualDeviceImportRequest
|
|
28
|
+
*/
|
|
29
|
+
username: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function AuthenticatorDuoStageManualDeviceImportRequestFromJSON(json: any): AuthenticatorDuoStageManualDeviceImportRequest;
|
|
32
|
+
export declare function AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageManualDeviceImportRequest;
|
|
33
|
+
export declare function AuthenticatorDuoStageManualDeviceImportRequestToJSON(value?: AuthenticatorDuoStageManualDeviceImportRequest | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
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
|
+
export function AuthenticatorDuoStageManualDeviceImportRequestFromJSON(json) {
|
|
15
|
+
return AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'duoUserId': json['duo_user_id'],
|
|
23
|
+
'username': json['username'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function AuthenticatorDuoStageManualDeviceImportRequestToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'duo_user_id': value.duoUserId,
|
|
35
|
+
'username': value.username,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -52,6 +52,18 @@ export interface AuthenticatorDuoStageRequest {
|
|
|
52
52
|
* @memberof AuthenticatorDuoStageRequest
|
|
53
53
|
*/
|
|
54
54
|
apiHostname: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AuthenticatorDuoStageRequest
|
|
59
|
+
*/
|
|
60
|
+
adminIntegrationKey?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof AuthenticatorDuoStageRequest
|
|
65
|
+
*/
|
|
66
|
+
adminSecretKey?: string;
|
|
55
67
|
}
|
|
56
68
|
export declare function AuthenticatorDuoStageRequestFromJSON(json: any): AuthenticatorDuoStageRequest;
|
|
57
69
|
export declare function AuthenticatorDuoStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageRequest;
|
|
@@ -27,6 +27,8 @@ export function AuthenticatorDuoStageRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
27
27
|
'clientId': json['client_id'],
|
|
28
28
|
'clientSecret': json['client_secret'],
|
|
29
29
|
'apiHostname': json['api_hostname'],
|
|
30
|
+
'adminIntegrationKey': !exists(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
31
|
+
'adminSecretKey': !exists(json, 'admin_secret_key') ? undefined : json['admin_secret_key'],
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
export function AuthenticatorDuoStageRequestToJSON(value) {
|
|
@@ -43,5 +45,7 @@ export function AuthenticatorDuoStageRequestToJSON(value) {
|
|
|
43
45
|
'client_id': value.clientId,
|
|
44
46
|
'client_secret': value.clientSecret,
|
|
45
47
|
'api_hostname': value.apiHostname,
|
|
48
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
49
|
+
'admin_secret_key': value.adminSecretKey,
|
|
46
50
|
};
|
|
47
51
|
}
|
|
@@ -52,6 +52,18 @@ export interface PatchedAuthenticatorDuoStageRequest {
|
|
|
52
52
|
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
53
53
|
*/
|
|
54
54
|
apiHostname?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
59
|
+
*/
|
|
60
|
+
adminIntegrationKey?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
65
|
+
*/
|
|
66
|
+
adminSecretKey?: string;
|
|
55
67
|
}
|
|
56
68
|
export declare function PatchedAuthenticatorDuoStageRequestFromJSON(json: any): PatchedAuthenticatorDuoStageRequest;
|
|
57
69
|
export declare function PatchedAuthenticatorDuoStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorDuoStageRequest;
|
|
@@ -27,6 +27,8 @@ export function PatchedAuthenticatorDuoStageRequestFromJSONTyped(json, ignoreDis
|
|
|
27
27
|
'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
|
|
28
28
|
'clientSecret': !exists(json, 'client_secret') ? undefined : json['client_secret'],
|
|
29
29
|
'apiHostname': !exists(json, 'api_hostname') ? undefined : json['api_hostname'],
|
|
30
|
+
'adminIntegrationKey': !exists(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
31
|
+
'adminSecretKey': !exists(json, 'admin_secret_key') ? undefined : json['admin_secret_key'],
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
export function PatchedAuthenticatorDuoStageRequestToJSON(value) {
|
|
@@ -43,5 +45,7 @@ export function PatchedAuthenticatorDuoStageRequestToJSON(value) {
|
|
|
43
45
|
'client_id': value.clientId,
|
|
44
46
|
'client_secret': value.clientSecret,
|
|
45
47
|
'api_hostname': value.apiHostname,
|
|
48
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
49
|
+
'admin_secret_key': value.adminSecretKey,
|
|
46
50
|
};
|
|
47
51
|
}
|
|
@@ -19,6 +19,8 @@ export * from './AuthenticatorAttachmentEnum';
|
|
|
19
19
|
export * from './AuthenticatorDuoChallenge';
|
|
20
20
|
export * from './AuthenticatorDuoChallengeResponseRequest';
|
|
21
21
|
export * from './AuthenticatorDuoStage';
|
|
22
|
+
export * from './AuthenticatorDuoStageDeviceImportResponse';
|
|
23
|
+
export * from './AuthenticatorDuoStageManualDeviceImportRequest';
|
|
22
24
|
export * from './AuthenticatorDuoStageRequest';
|
|
23
25
|
export * from './AuthenticatorSMSChallenge';
|
|
24
26
|
export * from './AuthenticatorSMSChallengeResponseRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -21,6 +21,8 @@ export * from './AuthenticatorAttachmentEnum';
|
|
|
21
21
|
export * from './AuthenticatorDuoChallenge';
|
|
22
22
|
export * from './AuthenticatorDuoChallengeResponseRequest';
|
|
23
23
|
export * from './AuthenticatorDuoStage';
|
|
24
|
+
export * from './AuthenticatorDuoStageDeviceImportResponse';
|
|
25
|
+
export * from './AuthenticatorDuoStageManualDeviceImportRequest';
|
|
24
26
|
export * from './AuthenticatorDuoStageRequest';
|
|
25
27
|
export * from './AuthenticatorSMSChallenge';
|
|
26
28
|
export * from './AuthenticatorSMSChallengeResponseRequest';
|
|
@@ -76,6 +76,12 @@ export interface AuthenticatorDuoStage {
|
|
|
76
76
|
* @memberof AuthenticatorDuoStage
|
|
77
77
|
*/
|
|
78
78
|
apiHostname: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof AuthenticatorDuoStage
|
|
83
|
+
*/
|
|
84
|
+
adminIntegrationKey?: string;
|
|
79
85
|
}
|
|
80
86
|
export declare function AuthenticatorDuoStageFromJSON(json: any): AuthenticatorDuoStage;
|
|
81
87
|
export declare function AuthenticatorDuoStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStage;
|
|
@@ -35,6 +35,7 @@ function AuthenticatorDuoStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
36
36
|
'clientId': json['client_id'],
|
|
37
37
|
'apiHostname': json['api_hostname'],
|
|
38
|
+
'adminIntegrationKey': !(0, runtime_1.exists)(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.AuthenticatorDuoStageFromJSONTyped = AuthenticatorDuoStageFromJSONTyped;
|
|
@@ -51,6 +52,7 @@ function AuthenticatorDuoStageToJSON(value) {
|
|
|
51
52
|
'configure_flow': value.configureFlow,
|
|
52
53
|
'client_id': value.clientId,
|
|
53
54
|
'api_hostname': value.apiHostname,
|
|
55
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
54
56
|
};
|
|
55
57
|
}
|
|
56
58
|
exports.AuthenticatorDuoStageToJSON = AuthenticatorDuoStageToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuthenticatorDuoStageDeviceImportResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticatorDuoStageDeviceImportResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AuthenticatorDuoStageDeviceImportResponse
|
|
22
|
+
*/
|
|
23
|
+
readonly count: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthenticatorDuoStageDeviceImportResponse
|
|
28
|
+
*/
|
|
29
|
+
readonly error: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function AuthenticatorDuoStageDeviceImportResponseFromJSON(json: any): AuthenticatorDuoStageDeviceImportResponse;
|
|
32
|
+
export declare function AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageDeviceImportResponse;
|
|
33
|
+
export declare function AuthenticatorDuoStageDeviceImportResponseToJSON(value?: AuthenticatorDuoStageDeviceImportResponse | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AuthenticatorDuoStageDeviceImportResponseToJSON = exports.AuthenticatorDuoStageDeviceImportResponseFromJSONTyped = exports.AuthenticatorDuoStageDeviceImportResponseFromJSON = void 0;
|
|
17
|
+
function AuthenticatorDuoStageDeviceImportResponseFromJSON(json) {
|
|
18
|
+
return AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.AuthenticatorDuoStageDeviceImportResponseFromJSON = AuthenticatorDuoStageDeviceImportResponseFromJSON;
|
|
21
|
+
function AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'count': json['count'],
|
|
27
|
+
'error': json['error'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.AuthenticatorDuoStageDeviceImportResponseFromJSONTyped = AuthenticatorDuoStageDeviceImportResponseFromJSONTyped;
|
|
31
|
+
function AuthenticatorDuoStageDeviceImportResponseToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
exports.AuthenticatorDuoStageDeviceImportResponseToJSON = AuthenticatorDuoStageDeviceImportResponseToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuthenticatorDuoStageManualDeviceImportRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticatorDuoStageManualDeviceImportRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AuthenticatorDuoStageManualDeviceImportRequest
|
|
22
|
+
*/
|
|
23
|
+
duoUserId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthenticatorDuoStageManualDeviceImportRequest
|
|
28
|
+
*/
|
|
29
|
+
username: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function AuthenticatorDuoStageManualDeviceImportRequestFromJSON(json: any): AuthenticatorDuoStageManualDeviceImportRequest;
|
|
32
|
+
export declare function AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageManualDeviceImportRequest;
|
|
33
|
+
export declare function AuthenticatorDuoStageManualDeviceImportRequestToJSON(value?: AuthenticatorDuoStageManualDeviceImportRequest | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AuthenticatorDuoStageManualDeviceImportRequestToJSON = exports.AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped = exports.AuthenticatorDuoStageManualDeviceImportRequestFromJSON = void 0;
|
|
17
|
+
function AuthenticatorDuoStageManualDeviceImportRequestFromJSON(json) {
|
|
18
|
+
return AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.AuthenticatorDuoStageManualDeviceImportRequestFromJSON = AuthenticatorDuoStageManualDeviceImportRequestFromJSON;
|
|
21
|
+
function AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'duoUserId': json['duo_user_id'],
|
|
27
|
+
'username': json['username'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped = AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped;
|
|
31
|
+
function AuthenticatorDuoStageManualDeviceImportRequestToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'duo_user_id': value.duoUserId,
|
|
40
|
+
'username': value.username,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.AuthenticatorDuoStageManualDeviceImportRequestToJSON = AuthenticatorDuoStageManualDeviceImportRequestToJSON;
|
|
@@ -52,6 +52,18 @@ export interface AuthenticatorDuoStageRequest {
|
|
|
52
52
|
* @memberof AuthenticatorDuoStageRequest
|
|
53
53
|
*/
|
|
54
54
|
apiHostname: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AuthenticatorDuoStageRequest
|
|
59
|
+
*/
|
|
60
|
+
adminIntegrationKey?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof AuthenticatorDuoStageRequest
|
|
65
|
+
*/
|
|
66
|
+
adminSecretKey?: string;
|
|
55
67
|
}
|
|
56
68
|
export declare function AuthenticatorDuoStageRequestFromJSON(json: any): AuthenticatorDuoStageRequest;
|
|
57
69
|
export declare function AuthenticatorDuoStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageRequest;
|
|
@@ -31,6 +31,8 @@ function AuthenticatorDuoStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'clientId': json['client_id'],
|
|
32
32
|
'clientSecret': json['client_secret'],
|
|
33
33
|
'apiHostname': json['api_hostname'],
|
|
34
|
+
'adminIntegrationKey': !(0, runtime_1.exists)(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
35
|
+
'adminSecretKey': !(0, runtime_1.exists)(json, 'admin_secret_key') ? undefined : json['admin_secret_key'],
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
exports.AuthenticatorDuoStageRequestFromJSONTyped = AuthenticatorDuoStageRequestFromJSONTyped;
|
|
@@ -48,6 +50,8 @@ function AuthenticatorDuoStageRequestToJSON(value) {
|
|
|
48
50
|
'client_id': value.clientId,
|
|
49
51
|
'client_secret': value.clientSecret,
|
|
50
52
|
'api_hostname': value.apiHostname,
|
|
53
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
54
|
+
'admin_secret_key': value.adminSecretKey,
|
|
51
55
|
};
|
|
52
56
|
}
|
|
53
57
|
exports.AuthenticatorDuoStageRequestToJSON = AuthenticatorDuoStageRequestToJSON;
|
|
@@ -52,6 +52,18 @@ export interface PatchedAuthenticatorDuoStageRequest {
|
|
|
52
52
|
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
53
53
|
*/
|
|
54
54
|
apiHostname?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
59
|
+
*/
|
|
60
|
+
adminIntegrationKey?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
65
|
+
*/
|
|
66
|
+
adminSecretKey?: string;
|
|
55
67
|
}
|
|
56
68
|
export declare function PatchedAuthenticatorDuoStageRequestFromJSON(json: any): PatchedAuthenticatorDuoStageRequest;
|
|
57
69
|
export declare function PatchedAuthenticatorDuoStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorDuoStageRequest;
|
|
@@ -31,6 +31,8 @@ function PatchedAuthenticatorDuoStageRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
31
31
|
'clientId': !(0, runtime_1.exists)(json, 'client_id') ? undefined : json['client_id'],
|
|
32
32
|
'clientSecret': !(0, runtime_1.exists)(json, 'client_secret') ? undefined : json['client_secret'],
|
|
33
33
|
'apiHostname': !(0, runtime_1.exists)(json, 'api_hostname') ? undefined : json['api_hostname'],
|
|
34
|
+
'adminIntegrationKey': !(0, runtime_1.exists)(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
35
|
+
'adminSecretKey': !(0, runtime_1.exists)(json, 'admin_secret_key') ? undefined : json['admin_secret_key'],
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
exports.PatchedAuthenticatorDuoStageRequestFromJSONTyped = PatchedAuthenticatorDuoStageRequestFromJSONTyped;
|
|
@@ -48,6 +50,8 @@ function PatchedAuthenticatorDuoStageRequestToJSON(value) {
|
|
|
48
50
|
'client_id': value.clientId,
|
|
49
51
|
'client_secret': value.clientSecret,
|
|
50
52
|
'api_hostname': value.apiHostname,
|
|
53
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
54
|
+
'admin_secret_key': value.adminSecretKey,
|
|
51
55
|
};
|
|
52
56
|
}
|
|
53
57
|
exports.PatchedAuthenticatorDuoStageRequestToJSON = PatchedAuthenticatorDuoStageRequestToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export * from './AuthenticatorAttachmentEnum';
|
|
|
19
19
|
export * from './AuthenticatorDuoChallenge';
|
|
20
20
|
export * from './AuthenticatorDuoChallengeResponseRequest';
|
|
21
21
|
export * from './AuthenticatorDuoStage';
|
|
22
|
+
export * from './AuthenticatorDuoStageDeviceImportResponse';
|
|
23
|
+
export * from './AuthenticatorDuoStageManualDeviceImportRequest';
|
|
22
24
|
export * from './AuthenticatorDuoStageRequest';
|
|
23
25
|
export * from './AuthenticatorSMSChallenge';
|
|
24
26
|
export * from './AuthenticatorSMSChallengeResponseRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -37,6 +37,8 @@ __exportStar(require("./AuthenticatorAttachmentEnum"), exports);
|
|
|
37
37
|
__exportStar(require("./AuthenticatorDuoChallenge"), exports);
|
|
38
38
|
__exportStar(require("./AuthenticatorDuoChallengeResponseRequest"), exports);
|
|
39
39
|
__exportStar(require("./AuthenticatorDuoStage"), exports);
|
|
40
|
+
__exportStar(require("./AuthenticatorDuoStageDeviceImportResponse"), exports);
|
|
41
|
+
__exportStar(require("./AuthenticatorDuoStageManualDeviceImportRequest"), exports);
|
|
40
42
|
__exportStar(require("./AuthenticatorDuoStageRequest"), exports);
|
|
41
43
|
__exportStar(require("./AuthenticatorSMSChallenge"), exports);
|
|
42
44
|
__exportStar(require("./AuthenticatorSMSChallengeResponseRequest"), exports);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goauthentik/api",
|
|
3
|
-
"version": "2022.8.2-
|
|
3
|
+
"version": "2022.8.2-1663409478",
|
|
4
4
|
"description": "OpenAPI client for @goauthentik/api",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "https://github.com/goauthentik/authentik.git"
|
|
9
9
|
},
|
|
10
10
|
"main": "./dist/index.js",
|
|
11
11
|
"typings": "./dist/index.d.ts",
|
package/src/apis/StagesApi.ts
CHANGED
|
@@ -24,6 +24,12 @@ import {
|
|
|
24
24
|
AuthenticatorDuoStage,
|
|
25
25
|
AuthenticatorDuoStageFromJSON,
|
|
26
26
|
AuthenticatorDuoStageToJSON,
|
|
27
|
+
AuthenticatorDuoStageDeviceImportResponse,
|
|
28
|
+
AuthenticatorDuoStageDeviceImportResponseFromJSON,
|
|
29
|
+
AuthenticatorDuoStageDeviceImportResponseToJSON,
|
|
30
|
+
AuthenticatorDuoStageManualDeviceImportRequest,
|
|
31
|
+
AuthenticatorDuoStageManualDeviceImportRequestFromJSON,
|
|
32
|
+
AuthenticatorDuoStageManualDeviceImportRequestToJSON,
|
|
27
33
|
AuthenticatorDuoStageRequest,
|
|
28
34
|
AuthenticatorDuoStageRequestFromJSON,
|
|
29
35
|
AuthenticatorDuoStageRequestToJSON,
|
|
@@ -325,10 +331,13 @@ export interface StagesAuthenticatorDuoEnrollmentStatusCreateRequest {
|
|
|
325
331
|
stageUuid: string;
|
|
326
332
|
}
|
|
327
333
|
|
|
328
|
-
export interface
|
|
334
|
+
export interface StagesAuthenticatorDuoImportDeviceManualCreateRequest {
|
|
335
|
+
stageUuid: string;
|
|
336
|
+
authenticatorDuoStageManualDeviceImportRequest: AuthenticatorDuoStageManualDeviceImportRequest;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export interface StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest {
|
|
329
340
|
stageUuid: string;
|
|
330
|
-
duoUserId?: string;
|
|
331
|
-
username?: string;
|
|
332
341
|
}
|
|
333
342
|
|
|
334
343
|
export interface StagesAuthenticatorDuoListRequest {
|
|
@@ -1431,21 +1440,53 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
1431
1440
|
/**
|
|
1432
1441
|
* Import duo devices into authentik
|
|
1433
1442
|
*/
|
|
1434
|
-
async
|
|
1443
|
+
async stagesAuthenticatorDuoImportDeviceManualCreateRaw(requestParameters: StagesAuthenticatorDuoImportDeviceManualCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1435
1444
|
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
1436
|
-
throw new runtime.RequiredError('stageUuid','Required parameter requestParameters.stageUuid was null or undefined when calling
|
|
1445
|
+
throw new runtime.RequiredError('stageUuid','Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDeviceManualCreate.');
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
if (requestParameters.authenticatorDuoStageManualDeviceImportRequest === null || requestParameters.authenticatorDuoStageManualDeviceImportRequest === undefined) {
|
|
1449
|
+
throw new runtime.RequiredError('authenticatorDuoStageManualDeviceImportRequest','Required parameter requestParameters.authenticatorDuoStageManualDeviceImportRequest was null or undefined when calling stagesAuthenticatorDuoImportDeviceManualCreate.');
|
|
1437
1450
|
}
|
|
1438
1451
|
|
|
1439
1452
|
const queryParameters: any = {};
|
|
1440
1453
|
|
|
1441
|
-
|
|
1442
|
-
|
|
1454
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1455
|
+
|
|
1456
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1457
|
+
|
|
1458
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1459
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1443
1460
|
}
|
|
1444
1461
|
|
|
1445
|
-
|
|
1446
|
-
|
|
1462
|
+
const response = await this.request({
|
|
1463
|
+
path: `/stages/authenticator/duo/{stage_uuid}/import_device_manual/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
1464
|
+
method: 'POST',
|
|
1465
|
+
headers: headerParameters,
|
|
1466
|
+
query: queryParameters,
|
|
1467
|
+
body: AuthenticatorDuoStageManualDeviceImportRequestToJSON(requestParameters.authenticatorDuoStageManualDeviceImportRequest),
|
|
1468
|
+
}, initOverrides);
|
|
1469
|
+
|
|
1470
|
+
return new runtime.VoidApiResponse(response);
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Import duo devices into authentik
|
|
1475
|
+
*/
|
|
1476
|
+
async stagesAuthenticatorDuoImportDeviceManualCreate(requestParameters: StagesAuthenticatorDuoImportDeviceManualCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void> {
|
|
1477
|
+
await this.stagesAuthenticatorDuoImportDeviceManualCreateRaw(requestParameters, initOverrides);
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* Import duo devices into authentik
|
|
1482
|
+
*/
|
|
1483
|
+
async stagesAuthenticatorDuoImportDevicesAutomaticCreateRaw(requestParameters: StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<AuthenticatorDuoStageDeviceImportResponse>> {
|
|
1484
|
+
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
1485
|
+
throw new runtime.RequiredError('stageUuid','Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDevicesAutomaticCreate.');
|
|
1447
1486
|
}
|
|
1448
1487
|
|
|
1488
|
+
const queryParameters: any = {};
|
|
1489
|
+
|
|
1449
1490
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1450
1491
|
|
|
1451
1492
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -1453,20 +1494,21 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
1453
1494
|
}
|
|
1454
1495
|
|
|
1455
1496
|
const response = await this.request({
|
|
1456
|
-
path: `/stages/authenticator/duo/{stage_uuid}/
|
|
1497
|
+
path: `/stages/authenticator/duo/{stage_uuid}/import_devices_automatic/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
1457
1498
|
method: 'POST',
|
|
1458
1499
|
headers: headerParameters,
|
|
1459
1500
|
query: queryParameters,
|
|
1460
1501
|
}, initOverrides);
|
|
1461
1502
|
|
|
1462
|
-
return new runtime.
|
|
1503
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticatorDuoStageDeviceImportResponseFromJSON(jsonValue));
|
|
1463
1504
|
}
|
|
1464
1505
|
|
|
1465
1506
|
/**
|
|
1466
1507
|
* Import duo devices into authentik
|
|
1467
1508
|
*/
|
|
1468
|
-
async
|
|
1469
|
-
await this.
|
|
1509
|
+
async stagesAuthenticatorDuoImportDevicesAutomaticCreate(requestParameters: StagesAuthenticatorDuoImportDevicesAutomaticCreateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<AuthenticatorDuoStageDeviceImportResponse> {
|
|
1510
|
+
const response = await this.stagesAuthenticatorDuoImportDevicesAutomaticCreateRaw(requestParameters, initOverrides);
|
|
1511
|
+
return await response.value();
|
|
1470
1512
|
}
|
|
1471
1513
|
|
|
1472
1514
|
/**
|
|
@@ -86,6 +86,12 @@ export interface AuthenticatorDuoStage {
|
|
|
86
86
|
* @memberof AuthenticatorDuoStage
|
|
87
87
|
*/
|
|
88
88
|
apiHostname: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof AuthenticatorDuoStage
|
|
93
|
+
*/
|
|
94
|
+
adminIntegrationKey?: string;
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
export function AuthenticatorDuoStageFromJSON(json: any): AuthenticatorDuoStage {
|
|
@@ -108,6 +114,7 @@ export function AuthenticatorDuoStageFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
108
114
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
109
115
|
'clientId': json['client_id'],
|
|
110
116
|
'apiHostname': json['api_hostname'],
|
|
117
|
+
'adminIntegrationKey': !exists(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
111
118
|
};
|
|
112
119
|
}
|
|
113
120
|
|
|
@@ -125,6 +132,7 @@ export function AuthenticatorDuoStageToJSON(value?: AuthenticatorDuoStage | null
|
|
|
125
132
|
'configure_flow': value.configureFlow,
|
|
126
133
|
'client_id': value.clientId,
|
|
127
134
|
'api_hostname': value.apiHostname,
|
|
135
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
128
136
|
};
|
|
129
137
|
}
|
|
130
138
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuthenticatorDuoStageDeviceImportResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface AuthenticatorDuoStageDeviceImportResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AuthenticatorDuoStageDeviceImportResponse
|
|
26
|
+
*/
|
|
27
|
+
readonly count: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AuthenticatorDuoStageDeviceImportResponse
|
|
32
|
+
*/
|
|
33
|
+
readonly error: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function AuthenticatorDuoStageDeviceImportResponseFromJSON(json: any): AuthenticatorDuoStageDeviceImportResponse {
|
|
37
|
+
return AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageDeviceImportResponse {
|
|
41
|
+
if ((json === undefined) || (json === null)) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
|
|
46
|
+
'count': json['count'],
|
|
47
|
+
'error': json['error'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function AuthenticatorDuoStageDeviceImportResponseToJSON(value?: AuthenticatorDuoStageDeviceImportResponse | null): any {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022.8.2
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuthenticatorDuoStageManualDeviceImportRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface AuthenticatorDuoStageManualDeviceImportRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AuthenticatorDuoStageManualDeviceImportRequest
|
|
26
|
+
*/
|
|
27
|
+
duoUserId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AuthenticatorDuoStageManualDeviceImportRequest
|
|
32
|
+
*/
|
|
33
|
+
username: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function AuthenticatorDuoStageManualDeviceImportRequestFromJSON(json: any): AuthenticatorDuoStageManualDeviceImportRequest {
|
|
37
|
+
return AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageManualDeviceImportRequest {
|
|
41
|
+
if ((json === undefined) || (json === null)) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
|
|
46
|
+
'duoUserId': json['duo_user_id'],
|
|
47
|
+
'username': json['username'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function AuthenticatorDuoStageManualDeviceImportRequestToJSON(value?: AuthenticatorDuoStageManualDeviceImportRequest | null): any {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
|
|
60
|
+
'duo_user_id': value.duoUserId,
|
|
61
|
+
'username': value.username,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -62,6 +62,18 @@ export interface AuthenticatorDuoStageRequest {
|
|
|
62
62
|
* @memberof AuthenticatorDuoStageRequest
|
|
63
63
|
*/
|
|
64
64
|
apiHostname: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof AuthenticatorDuoStageRequest
|
|
69
|
+
*/
|
|
70
|
+
adminIntegrationKey?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof AuthenticatorDuoStageRequest
|
|
75
|
+
*/
|
|
76
|
+
adminSecretKey?: string;
|
|
65
77
|
}
|
|
66
78
|
|
|
67
79
|
export function AuthenticatorDuoStageRequestFromJSON(json: any): AuthenticatorDuoStageRequest {
|
|
@@ -80,6 +92,8 @@ export function AuthenticatorDuoStageRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
80
92
|
'clientId': json['client_id'],
|
|
81
93
|
'clientSecret': json['client_secret'],
|
|
82
94
|
'apiHostname': json['api_hostname'],
|
|
95
|
+
'adminIntegrationKey': !exists(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
96
|
+
'adminSecretKey': !exists(json, 'admin_secret_key') ? undefined : json['admin_secret_key'],
|
|
83
97
|
};
|
|
84
98
|
}
|
|
85
99
|
|
|
@@ -98,6 +112,8 @@ export function AuthenticatorDuoStageRequestToJSON(value?: AuthenticatorDuoStage
|
|
|
98
112
|
'client_id': value.clientId,
|
|
99
113
|
'client_secret': value.clientSecret,
|
|
100
114
|
'api_hostname': value.apiHostname,
|
|
115
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
116
|
+
'admin_secret_key': value.adminSecretKey,
|
|
101
117
|
};
|
|
102
118
|
}
|
|
103
119
|
|
|
@@ -62,6 +62,18 @@ export interface PatchedAuthenticatorDuoStageRequest {
|
|
|
62
62
|
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
63
63
|
*/
|
|
64
64
|
apiHostname?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
69
|
+
*/
|
|
70
|
+
adminIntegrationKey?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PatchedAuthenticatorDuoStageRequest
|
|
75
|
+
*/
|
|
76
|
+
adminSecretKey?: string;
|
|
65
77
|
}
|
|
66
78
|
|
|
67
79
|
export function PatchedAuthenticatorDuoStageRequestFromJSON(json: any): PatchedAuthenticatorDuoStageRequest {
|
|
@@ -80,6 +92,8 @@ export function PatchedAuthenticatorDuoStageRequestFromJSONTyped(json: any, igno
|
|
|
80
92
|
'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
|
|
81
93
|
'clientSecret': !exists(json, 'client_secret') ? undefined : json['client_secret'],
|
|
82
94
|
'apiHostname': !exists(json, 'api_hostname') ? undefined : json['api_hostname'],
|
|
95
|
+
'adminIntegrationKey': !exists(json, 'admin_integration_key') ? undefined : json['admin_integration_key'],
|
|
96
|
+
'adminSecretKey': !exists(json, 'admin_secret_key') ? undefined : json['admin_secret_key'],
|
|
83
97
|
};
|
|
84
98
|
}
|
|
85
99
|
|
|
@@ -98,6 +112,8 @@ export function PatchedAuthenticatorDuoStageRequestToJSON(value?: PatchedAuthent
|
|
|
98
112
|
'client_id': value.clientId,
|
|
99
113
|
'client_secret': value.clientSecret,
|
|
100
114
|
'api_hostname': value.apiHostname,
|
|
115
|
+
'admin_integration_key': value.adminIntegrationKey,
|
|
116
|
+
'admin_secret_key': value.adminSecretKey,
|
|
101
117
|
};
|
|
102
118
|
}
|
|
103
119
|
|
package/src/models/index.ts
CHANGED
|
@@ -21,6 +21,8 @@ export * from './AuthenticatorAttachmentEnum';
|
|
|
21
21
|
export * from './AuthenticatorDuoChallenge';
|
|
22
22
|
export * from './AuthenticatorDuoChallengeResponseRequest';
|
|
23
23
|
export * from './AuthenticatorDuoStage';
|
|
24
|
+
export * from './AuthenticatorDuoStageDeviceImportResponse';
|
|
25
|
+
export * from './AuthenticatorDuoStageManualDeviceImportRequest';
|
|
24
26
|
export * from './AuthenticatorDuoStageRequest';
|
|
25
27
|
export * from './AuthenticatorSMSChallenge';
|
|
26
28
|
export * from './AuthenticatorSMSChallengeResponseRequest';
|