@konplit-services/common 1.0.29 → 1.0.31

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.
@@ -1,5 +1,6 @@
1
1
  export declare const Email_SUBJECT: {
2
2
  welcome: string;
3
+ email_verification: string;
3
4
  chargeback_created: string;
4
5
  chargeback_update: string;
5
6
  chargeback_resolved: string;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Email_SUBJECT = void 0;
4
4
  exports.Email_SUBJECT = {
5
5
  welcome: "Welcome to Value Payment Solutions Limited: Seamless and Secure Payment Processing",
6
+ email_verification: "Email Verification",
6
7
  // charge back email subjects
7
8
  chargeback_created: "A Chargeback Request has been Initiated on your Account",
8
9
  chargeback_update: "There is Chargeback Update on your Account",
@@ -14,6 +15,6 @@ exports.Email_SUBJECT = {
14
15
  // transfer email subjects
15
16
  transfer_sent: "Funds Sent Successfully: ",
16
17
  transfer_failed: "Funds Failed to be sent: ",
17
- //settlements
18
- settlement_sent: 'Settlement Report for Transactions ' // [Date]
18
+ //settlements
19
+ settlement_sent: "Settlement Report for Transactions ", // [Date]
19
20
  };
@@ -1,4 +1,6 @@
1
1
  export declare const REDIS_REPOSITORY = "RedisRepository";
2
+ export declare const setVerificationCode: (email: string) => string;
3
+ export declare const getVerificationCode: (email: string) => string;
2
4
  export declare const getPermissions: (id: string) => string;
3
5
  export declare const setPermissions: (id: string) => string;
4
6
  export declare const checkRevokedToken: (id: string, token: string) => string;
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setsetRevokedToken = exports.checkRevokedToken = exports.setPermissions = exports.getPermissions = exports.REDIS_REPOSITORY = void 0;
3
+ exports.setsetRevokedToken = exports.checkRevokedToken = exports.setPermissions = exports.getPermissions = exports.getVerificationCode = exports.setVerificationCode = exports.REDIS_REPOSITORY = void 0;
4
4
  exports.REDIS_REPOSITORY = "RedisRepository";
5
+ const setVerificationCode = (email) => `${email}-verification`;
6
+ exports.setVerificationCode = setVerificationCode;
7
+ const getVerificationCode = (email) => `${email}-verification`;
8
+ exports.getVerificationCode = getVerificationCode;
5
9
  const getPermissions = (id) => `${id}-permission`;
6
10
  exports.getPermissions = getPermissions;
7
11
  const setPermissions = (id) => `${id}-permission`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",