@viardex/viardex-libs 1.0.1 → 1.0.3
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/dist/common/config/index.d.ts +1 -1
- package/dist/common/config/index.js +15 -0
- package/dist/common/enums/index.d.ts +1 -0
- package/dist/common/enums/index.js +1 -0
- package/dist/common/enums/otp.enum.d.ts +16 -0
- package/dist/common/enums/otp.enum.js +20 -0
- package/dist/common/health/index.d.ts +2 -0
- package/dist/common/health/index.js +18 -0
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.js +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './nats.config';
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./nats.config"), exports);
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ticket.enum"), exports);
|
|
18
18
|
__exportStar(require("./support-action.enum"), exports);
|
|
19
|
+
__exportStar(require("./otp.enum"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum OtpPurpose {
|
|
2
|
+
PHONE_VERIFICATION = "phone_verification",
|
|
3
|
+
PASSWORD_RESET = "password_reset",
|
|
4
|
+
TRANSACTION_AUTHORIZATION = "transaction_authorization",
|
|
5
|
+
PROFILE_UPDATE = "profile_update",
|
|
6
|
+
KYC_VERIFICATION = "kyc_verification",
|
|
7
|
+
LOGIN_VERIFICATION = "login_verification",
|
|
8
|
+
EMAIL_VERIFICATION = "email_verification",
|
|
9
|
+
STAFF_PASSWORD_RESET = "staff_password_reset",
|
|
10
|
+
FORGET_PIN = "forget_pin",
|
|
11
|
+
CHANGE_PASSWORD = "change_password",
|
|
12
|
+
DEVICE_VERIFICATION = "device_verification",
|
|
13
|
+
CHANGE_EMAIL = "change_email",
|
|
14
|
+
CHANGE_PHONE = "change_phone",
|
|
15
|
+
CHANGE_DATE_OF_BIRTH = "change_date_of_birth"
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OtpPurpose = void 0;
|
|
4
|
+
var OtpPurpose;
|
|
5
|
+
(function (OtpPurpose) {
|
|
6
|
+
OtpPurpose["PHONE_VERIFICATION"] = "phone_verification";
|
|
7
|
+
OtpPurpose["PASSWORD_RESET"] = "password_reset";
|
|
8
|
+
OtpPurpose["TRANSACTION_AUTHORIZATION"] = "transaction_authorization";
|
|
9
|
+
OtpPurpose["PROFILE_UPDATE"] = "profile_update";
|
|
10
|
+
OtpPurpose["KYC_VERIFICATION"] = "kyc_verification";
|
|
11
|
+
OtpPurpose["LOGIN_VERIFICATION"] = "login_verification";
|
|
12
|
+
OtpPurpose["EMAIL_VERIFICATION"] = "email_verification";
|
|
13
|
+
OtpPurpose["STAFF_PASSWORD_RESET"] = "staff_password_reset";
|
|
14
|
+
OtpPurpose["FORGET_PIN"] = "forget_pin";
|
|
15
|
+
OtpPurpose["CHANGE_PASSWORD"] = "change_password";
|
|
16
|
+
OtpPurpose["DEVICE_VERIFICATION"] = "device_verification";
|
|
17
|
+
OtpPurpose["CHANGE_EMAIL"] = "change_email";
|
|
18
|
+
OtpPurpose["CHANGE_PHONE"] = "change_phone";
|
|
19
|
+
OtpPurpose["CHANGE_DATE_OF_BIRTH"] = "change_date_of_birth";
|
|
20
|
+
})(OtpPurpose || (exports.OtpPurpose = OtpPurpose = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./health.controller"), exports);
|
|
18
|
+
__exportStar(require("./health.module"), exports);
|
package/dist/common/index.d.ts
CHANGED
package/dist/common/index.js
CHANGED
|
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./constants"), exports);
|
|
18
18
|
__exportStar(require("./enums"), exports);
|
|
19
19
|
__exportStar(require("./utils"), exports);
|
|
20
|
+
__exportStar(require("./health"), exports);
|
|
21
|
+
__exportStar(require("./config"), exports);
|