resurgence-data 1.0.8 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/authentication/authentication.dto.d.ts +5 -0
- package/dist/authentication/authentication.dto.js +4 -1
- package/dist/exception/index.d.ts +1 -0
- package/dist/exception/index.js +1 -0
- package/dist/exception/process.exception.d.ts +3 -0
- package/dist/exception/process.exception.js +7 -0
- package/package.json +1 -1
@@ -30,6 +30,11 @@ export declare class TwoFactorAuthRequestDTO {
|
|
30
30
|
emailAddress: string;
|
31
31
|
token: string;
|
32
32
|
}
|
33
|
+
export declare class TwoFactorCreateDTO {
|
34
|
+
emailAddress: string;
|
35
|
+
token: string;
|
36
|
+
authenticationId: string;
|
37
|
+
}
|
33
38
|
export declare class LoginResponseDTO {
|
34
39
|
twoFactorEnabled: boolean;
|
35
40
|
message?: string;
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.LoginResponseDTO = exports.TwoFactorAuthRequestDTO = exports.UpdateAuthenticationDTO = exports.ActivationRequestDTO = exports.SendInviteDTO = exports.RecoverAccountDTO = exports.LoginRequestDTO = exports.SignUpDTO = void 0;
|
12
|
+
exports.LoginResponseDTO = exports.TwoFactorCreateDTO = exports.TwoFactorAuthRequestDTO = exports.UpdateAuthenticationDTO = exports.ActivationRequestDTO = exports.SendInviteDTO = exports.RecoverAccountDTO = exports.LoginRequestDTO = exports.SignUpDTO = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
const account_type_1 = require("../types/account.type");
|
15
15
|
const custom_validation_1 = require("../validation/custom-validation");
|
@@ -99,6 +99,9 @@ __decorate([
|
|
99
99
|
(0, class_validator_1.Length)(6, 6, { message: "Please enter a 6 character code" }),
|
100
100
|
__metadata("design:type", String)
|
101
101
|
], TwoFactorAuthRequestDTO.prototype, "token", void 0);
|
102
|
+
class TwoFactorCreateDTO {
|
103
|
+
}
|
104
|
+
exports.TwoFactorCreateDTO = TwoFactorCreateDTO;
|
102
105
|
class LoginResponseDTO {
|
103
106
|
}
|
104
107
|
exports.LoginResponseDTO = LoginResponseDTO;
|
package/dist/exception/index.js
CHANGED
@@ -20,3 +20,4 @@ __exportStar(require("./authentication.exception"), exports);
|
|
20
20
|
__exportStar(require("./authorization.exception"), exports);
|
21
21
|
__exportStar(require("./database.exception"), exports);
|
22
22
|
__exportStar(require("./integration.exception"), exports);
|
23
|
+
__exportStar(require("./process.exception"), exports);
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IncompleteProcessException = void 0;
|
4
|
+
const exception_1 = require("./exception");
|
5
|
+
class IncompleteProcessException extends exception_1.Exception {
|
6
|
+
}
|
7
|
+
exports.IncompleteProcessException = IncompleteProcessException;
|