@jealous-robot-dev/shared-types-responses 1.19.6 → 1.19.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.
@@ -13,6 +13,8 @@ export declare enum AuthID {
13
13
  export declare enum AuthenticationWindows {
14
14
  WELCOME_BACK = "welcome back",
15
15
  FINISH_SIGNUP = "finish sign up",
16
+ VERIFY_EMAIL = "verify email",
17
+ VERIFY_DEVICE = "verify device",
16
18
  WELCOME = "welcome"
17
19
  }
18
20
  export interface AuthFormExternalLinks {
@@ -90,6 +92,14 @@ export interface VerifyEmailPhrases {
90
92
  description: string;
91
93
  input: AuthFormInputField;
92
94
  }
95
+ export interface VerifyDevicePhrases {
96
+ title: string;
97
+ description: string;
98
+ inputs: AuthFormInputField;
99
+ go_to_main: string;
100
+ verification_failed: LND;
101
+ ps: string;
102
+ }
93
103
  export interface WelcomeBackPhrases {
94
104
  title: string;
95
105
  password: AuthFormInputField;
@@ -121,3 +131,10 @@ export declare enum PositiveAuthResponse {
121
131
  VERIFY_EMAIL = "VERIFY_EMAIL",
122
132
  PASS = "PASS"
123
133
  }
134
+ export declare enum DeviceVerificationResults {
135
+ INVALID = "INVALID",
136
+ EXPIRED = "EXPIRED",
137
+ CORRECT = "CORRECT",
138
+ NOT_FOUND = "NOT_FOUND",
139
+ NO_MORE_ATTEMPTS = "NO_MORE_ATTEMPTS"
140
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PositiveAuthResponse = exports.AUTH_ID_TYPE = exports.AuthenticationWindows = exports.AuthID = exports.AuthInstrumentsList = exports.AuthenticationProviders = void 0;
3
+ exports.DeviceVerificationResults = exports.PositiveAuthResponse = exports.AUTH_ID_TYPE = exports.AuthenticationWindows = exports.AuthID = exports.AuthInstrumentsList = exports.AuthenticationProviders = void 0;
4
4
  var AuthenticationProviders;
5
5
  (function (AuthenticationProviders) {
6
6
  AuthenticationProviders["GOOGLE"] = "google";
@@ -18,6 +18,8 @@ var AuthenticationWindows;
18
18
  (function (AuthenticationWindows) {
19
19
  AuthenticationWindows["WELCOME_BACK"] = "welcome back";
20
20
  AuthenticationWindows["FINISH_SIGNUP"] = "finish sign up";
21
+ AuthenticationWindows["VERIFY_EMAIL"] = "verify email";
22
+ AuthenticationWindows["VERIFY_DEVICE"] = "verify device";
21
23
  AuthenticationWindows["WELCOME"] = "welcome";
22
24
  })(AuthenticationWindows = exports.AuthenticationWindows || (exports.AuthenticationWindows = {}));
23
25
  var AUTH_ID_TYPE;
@@ -33,3 +35,11 @@ var PositiveAuthResponse;
33
35
  PositiveAuthResponse["VERIFY_EMAIL"] = "VERIFY_EMAIL";
34
36
  PositiveAuthResponse["PASS"] = "PASS";
35
37
  })(PositiveAuthResponse = exports.PositiveAuthResponse || (exports.PositiveAuthResponse = {}));
38
+ var DeviceVerificationResults;
39
+ (function (DeviceVerificationResults) {
40
+ DeviceVerificationResults["INVALID"] = "INVALID";
41
+ DeviceVerificationResults["EXPIRED"] = "EXPIRED";
42
+ DeviceVerificationResults["CORRECT"] = "CORRECT";
43
+ DeviceVerificationResults["NOT_FOUND"] = "NOT_FOUND";
44
+ DeviceVerificationResults["NO_MORE_ATTEMPTS"] = "NO_MORE_ATTEMPTS";
45
+ })(DeviceVerificationResults = exports.DeviceVerificationResults || (exports.DeviceVerificationResults = {}));
@@ -1,5 +1,4 @@
1
1
  export * from './sharer';
2
2
  export * from './authentication';
3
3
  export * from './forgot-password';
4
- export * from './device-verification';
5
4
  export * from './set-new-password';
@@ -13,5 +13,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./sharer"), exports);
14
14
  __exportStar(require("./authentication"), exports);
15
15
  __exportStar(require("./forgot-password"), exports);
16
- __exportStar(require("./device-verification"), exports);
17
16
  __exportStar(require("./set-new-password"), exports);
@@ -1,4 +1,4 @@
1
- import { PasswordCharacteristics } from '../common';
1
+ import { LND, PasswordCharacteristics } from '../common';
2
2
  export interface SetNewPasswordPhrases {
3
3
  title: string;
4
4
  description: string;
@@ -15,9 +15,7 @@ export interface SetNewPasswordPhrases {
15
15
  };
16
16
  password_mismatch: string;
17
17
  };
18
+ success: LND;
18
19
  pw_characteristics: PasswordCharacteristics;
19
20
  login: string;
20
21
  }
21
- export interface SetNewPasswordData {
22
- firstname: string;
23
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.19.6",
3
+ "version": "1.19.10",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1,29 +0,0 @@
1
- import { LND, QueryResponse } from '../common';
2
- import { AuthFormExternalLinks } from './authentication';
3
- export interface DeviceVerificationPhrases {
4
- title: string;
5
- description: string;
6
- inputs: {
7
- code: {
8
- placeholder: string;
9
- };
10
- };
11
- invalid_code: string;
12
- go_to_main: string;
13
- verification_failed: LND;
14
- resend_code: AuthFormExternalLinks;
15
- ps: string;
16
- }
17
- export interface DeviceVerificationData {
18
- firstname: string;
19
- attempts: number;
20
- }
21
- export declare enum DeviceVerificationResults {
22
- INVALID = "INVALID",
23
- EXPIRED = "EXPIRED",
24
- CORRECT = "CORRECT",
25
- NOT_FOUND = "NOT_FOUND",
26
- NO_MORE_ATTEMPTS = "NO_MORE_ATTEMPTS"
27
- }
28
- export interface DeviceVerificationResponse extends QueryResponse<DeviceVerificationData, DeviceVerificationPhrases> {
29
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeviceVerificationResults = void 0;
4
- var DeviceVerificationResults;
5
- (function (DeviceVerificationResults) {
6
- DeviceVerificationResults["INVALID"] = "INVALID";
7
- DeviceVerificationResults["EXPIRED"] = "EXPIRED";
8
- DeviceVerificationResults["CORRECT"] = "CORRECT";
9
- DeviceVerificationResults["NOT_FOUND"] = "NOT_FOUND";
10
- DeviceVerificationResults["NO_MORE_ATTEMPTS"] = "NO_MORE_ATTEMPTS";
11
- })(DeviceVerificationResults = exports.DeviceVerificationResults || (exports.DeviceVerificationResults = {}));