resurgence-data 1.0.8 → 1.0.10

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.
@@ -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;
@@ -4,3 +4,4 @@ export * from "./authentication.exception";
4
4
  export * from "./authorization.exception";
5
5
  export * from "./database.exception";
6
6
  export * from "./integration.exception";
7
+ export * from "./process.exception";
@@ -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,3 @@
1
+ import { Exception } from "./exception";
2
+ export declare class IncompleteProcessException extends Exception {
3
+ }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resurgence-data",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "DTOs and shareable resources",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",