@konplit-services/common 1.0.74 → 1.0.76

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.
@@ -91,6 +91,7 @@ export declare const email_lang: {
91
91
  phone_character: string;
92
92
  doc_field_empty: string;
93
93
  email_otp: string;
94
+ invitation: string;
94
95
  verify_success: string;
95
96
  authtoken: string;
96
97
  welcome_email: string;
@@ -113,6 +113,7 @@ exports.email_lang = {
113
113
  //---------------------------------------------------------------------------------------------------------------------------------
114
114
  //Registration Email Responses
115
115
  email_otp: "Email Verification Code (OTP) ",
116
+ invitation: "ValuePay Merchant Invites You to his account",
116
117
  verify_success: "Email Verification Success",
117
118
  authtoken: "Auth Verification",
118
119
  welcome_email: "Account Activated! Welcome to Valuepay System",
@@ -1,5 +1,7 @@
1
1
  export declare const PERMISSIONS: {
2
2
  CAN_VIEW_ACCOUNT: string;
3
+ CAN_UPDATE_ACCOUNT: string;
4
+ CAN_CREATE_ACCOUNT: string;
3
5
  CAN_VIEW_API_KEYS: string;
4
6
  CAN_UPDATE_API_KEYS: string;
5
7
  CAN_ADD_BUSINESS: string;
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PERMISSIONS = void 0;
4
4
  exports.PERMISSIONS = {
5
5
  CAN_VIEW_ACCOUNT: "CAN_VIEW_ACCOUNT",
6
+ CAN_UPDATE_ACCOUNT: "CAN_UPDATE_ACCOUNT",
7
+ CAN_CREATE_ACCOUNT: "CAN_CREATE_ACCOUNT",
6
8
  CAN_VIEW_API_KEYS: "CAN_VIEW_API_KEYS",
7
9
  CAN_UPDATE_API_KEYS: "CAN_UPDATE_KEYS",
8
10
  CAN_ADD_BUSINESS: "CAN_ADD_BUSINESS",
@@ -1,4 +1,5 @@
1
1
  import { SignOptions } from "jsonwebtoken";
2
+ import { USER_TYPES } from "../helper";
2
3
  export declare enum JWTType {
3
4
  REFRESH = "REFRESH",
4
5
  ACCESS = "ACCESS"
@@ -8,6 +9,7 @@ export interface JWT_Data {
8
9
  email: string;
9
10
  role: string;
10
11
  type: JWTType;
12
+ userType: USER_TYPES;
11
13
  accountId?: string;
12
14
  adminId?: string;
13
15
  iat?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",