@konplit-services/common 1.0.256 → 1.0.258

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.
@@ -124,6 +124,7 @@ declare class AppConfigs {
124
124
  getEasyPayDBURI(): string;
125
125
  getVirtualAccountDBURI(): string;
126
126
  getWalletDBURI(): string;
127
+ getAdminWebUrl(): string;
127
128
  getNATSURI(): string;
128
129
  getWebsiteDBURI(): string;
129
130
  getSettlementDBURI(): string;
@@ -89,6 +89,12 @@ class AppConfigs {
89
89
  }
90
90
  return this.env.MONGO_URI_WALLET;
91
91
  }
92
+ getAdminWebUrl() {
93
+ if (!this.env.ADMIN_WEB_URL) {
94
+ throw new Error("ADMIN_WEB_URL is required");
95
+ }
96
+ return this.env.ADMIN_WEB_URL;
97
+ }
92
98
  getNATSURI() {
93
99
  if (!this.env.NATS_URI) {
94
100
  throw new Error("NATS_URI is required");
@@ -11,7 +11,9 @@ export declare enum Status {
11
11
  Live = "LIVE",
12
12
  Test = "TEST",
13
13
  Approved = "Approved",
14
- Rejected = "Rejected"
14
+ Rejected = "Rejected",
15
+ Review = "Review",
16
+ InProgress = "InProgress"
15
17
  }
16
18
  export declare enum BankAccountVerificationStatus {
17
19
  Success = "Success",
@@ -16,6 +16,8 @@ var Status;
16
16
  Status["Test"] = "TEST";
17
17
  Status["Approved"] = "Approved";
18
18
  Status["Rejected"] = "Rejected";
19
+ Status["Review"] = "Review";
20
+ Status["InProgress"] = "InProgress";
19
21
  })(Status = exports.Status || (exports.Status = {}));
20
22
  var BankAccountVerificationStatus;
21
23
  (function (BankAccountVerificationStatus) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.256",
3
+ "version": "1.0.258",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",