@konplit-services/common 1.0.225 → 1.0.227

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.
@@ -116,11 +116,14 @@ declare class AppConfigs {
116
116
  getMonoDBURI(): string;
117
117
  getQRPaymentDBURI(): string;
118
118
  getTransferDBURI(): string;
119
+ getInvoiceDBURI(): string;
120
+ getEasyPayDBURI(): string;
119
121
  getVirtualAccountDBURI(): string;
120
122
  getWalletDBURI(): string;
121
123
  getNATSURI(): string;
122
124
  getWebsiteDBURI(): string;
123
125
  getSettlementDBURI(): string;
126
+ getBvnAuthDBURI(): string;
124
127
  getOpayDBURI(): string;
125
128
  getKoreDBURI(): string;
126
129
  getNATSPassword(): string;
@@ -59,6 +59,18 @@ class AppConfigs {
59
59
  }
60
60
  return this.env.MONGO_URI_TRANSFER;
61
61
  }
62
+ getInvoiceDBURI() {
63
+ if (!this.env.MONGO_INVOICE_URI) {
64
+ throw new Error("MONGO_INVOICE_URI is required");
65
+ }
66
+ return this.env.MONGO_INVOICE_URI;
67
+ }
68
+ getEasyPayDBURI() {
69
+ if (!this.env.MONGO_EASYPAY_URI) {
70
+ throw new Error("MONGO_EASYPAY_URI is required");
71
+ }
72
+ return this.env.MONGO_EASYPAY_URI;
73
+ }
62
74
  getVirtualAccountDBURI() {
63
75
  if (!this.env.MONGO_URI_VIRTUAL_ACCOUNT) {
64
76
  throw new Error("MONGO_URI_VIRTUAL_ACCOUNT is required");
@@ -89,6 +101,12 @@ class AppConfigs {
89
101
  }
90
102
  return this.env.MONGO_SETTLEMENT_URI;
91
103
  }
104
+ getBvnAuthDBURI() {
105
+ if (!this.env.MONGO_BVN_AUTH_URI) {
106
+ throw new Error("MONGO_BVN_AUTH_URI is required");
107
+ }
108
+ return this.env.MONGO_BVN_AUTH_URI;
109
+ }
92
110
  getOpayDBURI() {
93
111
  if (!this.env.MONGO_OPAY_URI) {
94
112
  throw new Error("MONGO_OPAY_URI is required");
@@ -6,7 +6,8 @@ export declare enum SocialMediaType {
6
6
  facebook = "facebook",
7
7
  instagram = "instagram",
8
8
  youtube = "youtube",
9
- x = "x"
9
+ x = "x",
10
+ linkedin = "linkedin"
10
11
  }
11
12
  export interface SocialMediaI {
12
13
  type: SocialMediaType;
@@ -12,4 +12,5 @@ var SocialMediaType;
12
12
  SocialMediaType["instagram"] = "instagram";
13
13
  SocialMediaType["youtube"] = "youtube";
14
14
  SocialMediaType["x"] = "x";
15
+ SocialMediaType["linkedin"] = "linkedin";
15
16
  })(SocialMediaType = exports.SocialMediaType || (exports.SocialMediaType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",