@jealous-robot-dev/shared-types-responses 1.18.23 → 1.19.1
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/cookies.d.ts +3 -1
- package/build/services/cookies.js +2 -0
- package/build/services/forms/authentication.d.ts +1 -0
- package/build/services/forms/authentication.js +2 -1
- package/build/services/forms/device-verification.d.ts +7 -0
- package/build/services/forms/device-verification.js +9 -0
- package/package.json +1 -1
|
@@ -6,7 +6,9 @@ export declare enum Cookies {
|
|
|
6
6
|
LOCALE_ID = "locale_id",
|
|
7
7
|
CURRENCY = "currency",
|
|
8
8
|
CONSENT = "consent",
|
|
9
|
-
UITHEME = "uitheme"
|
|
9
|
+
UITHEME = "uitheme",
|
|
10
|
+
NEW_MEMBER = "_nm",
|
|
11
|
+
AUTH_CTX = "a_ctx"
|
|
10
12
|
}
|
|
11
13
|
export declare enum PermissionCookies {
|
|
12
14
|
PW_RESET_VERIFICATION = "pwrv",
|
|
@@ -11,6 +11,8 @@ var Cookies;
|
|
|
11
11
|
Cookies["CURRENCY"] = "currency";
|
|
12
12
|
Cookies["CONSENT"] = "consent";
|
|
13
13
|
Cookies["UITHEME"] = "uitheme";
|
|
14
|
+
Cookies["NEW_MEMBER"] = "_nm";
|
|
15
|
+
Cookies["AUTH_CTX"] = "a_ctx";
|
|
14
16
|
})(Cookies = exports.Cookies || (exports.Cookies = {}));
|
|
15
17
|
var PermissionCookies;
|
|
16
18
|
(function (PermissionCookies) {
|
|
@@ -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.AuthenticationProviders = void 0;
|
|
3
|
+
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";
|
|
@@ -8,6 +8,7 @@ var AuthenticationProviders;
|
|
|
8
8
|
AuthenticationProviders["EMAIL"] = "email";
|
|
9
9
|
AuthenticationProviders["LINKEDIN"] = "linkedin";
|
|
10
10
|
})(AuthenticationProviders = exports.AuthenticationProviders || (exports.AuthenticationProviders = {}));
|
|
11
|
+
exports.AuthInstrumentsList = ['google', 'facebook', 'email', 'linkedin'];
|
|
11
12
|
var AuthID;
|
|
12
13
|
(function (AuthID) {
|
|
13
14
|
AuthID["EMAIL"] = "email";
|
|
@@ -18,5 +18,12 @@ export interface DeviceVerificationData {
|
|
|
18
18
|
firstname: string;
|
|
19
19
|
attempts: number;
|
|
20
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
|
+
}
|
|
21
28
|
export interface DeviceVerificationResponse extends QueryResponse<DeviceVerificationData, DeviceVerificationPhrases> {
|
|
22
29
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
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 = {}));
|