@jealous-robot-dev/shared-types-responses 1.19.5 → 1.19.9
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 +17 -0
- package/build/services/forms/authentication.js +11 -1
- 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
|
@@ -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 = {}));
|
|
@@ -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 = {}));
|