@jealous-robot-dev/shared-types-responses 1.19.4 → 1.19.8
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/build/services/forms/authentication.d.ts +15 -4
- package/build/services/forms/authentication.js +2 -0
- package/build/services/forms/index.d.ts +0 -2
- package/build/services/forms/index.js +0 -2
- package/package.json +1 -1
- package/build/services/forms/device-verification.d.ts +0 -29
- package/build/services/forms/device-verification.js +0 -11
- package/build/services/forms/verify-email.d.ts +0 -9
- package/build/services/forms/verify-email.js +0 -2
|
@@ -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 {
|
|
@@ -76,10 +78,6 @@ export interface SignupPhrases {
|
|
|
76
78
|
password: AuthFormInputField;
|
|
77
79
|
};
|
|
78
80
|
password_characteristics: PasswordCharacteristics;
|
|
79
|
-
verify_email: {
|
|
80
|
-
description: string;
|
|
81
|
-
code: string;
|
|
82
|
-
};
|
|
83
81
|
checkboxes: {
|
|
84
82
|
emailer_enabled: string;
|
|
85
83
|
};
|
|
@@ -89,6 +87,19 @@ export interface SignupPhrases {
|
|
|
89
87
|
agreement: string;
|
|
90
88
|
};
|
|
91
89
|
}
|
|
90
|
+
export interface VerifyEmailPhrases {
|
|
91
|
+
title: string;
|
|
92
|
+
description: string;
|
|
93
|
+
input: AuthFormInputField;
|
|
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
|
+
}
|
|
92
103
|
export interface WelcomeBackPhrases {
|
|
93
104
|
title: string;
|
|
94
105
|
password: AuthFormInputField;
|
|
@@ -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;
|
|
@@ -11,8 +11,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./sharer"), exports);
|
|
14
|
-
__exportStar(require("./verify-email"), exports);
|
|
15
14
|
__exportStar(require("./authentication"), exports);
|
|
16
15
|
__exportStar(require("./forgot-password"), exports);
|
|
17
|
-
__exportStar(require("./device-verification"), exports);
|
|
18
16
|
__exportStar(require("./set-new-password"), exports);
|
package/package.json
CHANGED
|
@@ -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 = {}));
|