@konplit-services/common 1.0.349 → 1.0.350
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/build/app.configs.d.ts +6 -0
- package/build/app.configs.js +24 -0
- package/package.json +1 -1
package/build/app.configs.d.ts
CHANGED
|
@@ -159,6 +159,12 @@ interface ValuePaySenderTransfer {
|
|
|
159
159
|
othernames: string;
|
|
160
160
|
email: string;
|
|
161
161
|
phone: string;
|
|
162
|
+
accountName: string;
|
|
163
|
+
accountNumber: string;
|
|
164
|
+
bankName: string;
|
|
165
|
+
bankCode: string;
|
|
166
|
+
bvn: string;
|
|
167
|
+
kycLevel: string;
|
|
162
168
|
}
|
|
163
169
|
interface MessageQueue {
|
|
164
170
|
sendMail: string;
|
package/build/app.configs.js
CHANGED
|
@@ -807,11 +807,35 @@ class AppConfigs {
|
|
|
807
807
|
if (!this.env.VALUEPAY_TRANSFER_SENDER_PHONE) {
|
|
808
808
|
throw new Error("VALUEPAY_TRANSFER_SENDER_PHONE is required");
|
|
809
809
|
}
|
|
810
|
+
if (!this.env.VALUEPAY_TRANSFER_SENDER_ACCOUNT_NAME) {
|
|
811
|
+
throw new Error("VALUEPAY_TRANSFER_SENDER_ACCOUNT_NAME is required");
|
|
812
|
+
}
|
|
813
|
+
if (!this.env.VALUEPAY_TRANSFER_SENDER_ACCOUNT_NUMBER) {
|
|
814
|
+
throw new Error("VALUEPAY_TRANSFER_SENDER_ACCOUNT_NUMBER is required");
|
|
815
|
+
}
|
|
816
|
+
if (!this.env.VALUEPAY_TRANSFER_SENDER_BANK_NAME) {
|
|
817
|
+
throw new Error("VALUEPAY_TRANSFER_SENDER_BANK_NAME is required");
|
|
818
|
+
}
|
|
819
|
+
if (!this.env.VALUEPAY_TRANSFER_SENDER_BANK_CODE) {
|
|
820
|
+
throw new Error("VALUEPAY_TRANSFER_SENDER_BANK_CODE is required");
|
|
821
|
+
}
|
|
822
|
+
if (!this.env.VALUEPAY_TRANSFER_SENDER_BVN) {
|
|
823
|
+
throw new Error("VALUEPAY_TRANSFER_SENDER_BVN is required");
|
|
824
|
+
}
|
|
825
|
+
if (!this.env.VALUEPAY_TRANSFER_SENDER_KYC_LEVEL) {
|
|
826
|
+
throw new Error("VALUEPAY_TRANSFER_SENDER_KYC_LEVEL is required");
|
|
827
|
+
}
|
|
810
828
|
return {
|
|
811
829
|
lastname: this.env.VALUEPAY_TRANSFER_SENDER_LASTNAME,
|
|
812
830
|
othernames: this.env.VALUEPAY_TRANSFER_SENDER_OTHERNAMES,
|
|
813
831
|
email: this.env.VALUEPAY_TRANSFER_SENDER_EMAIL,
|
|
814
832
|
phone: this.env.VALUEPAY_TRANSFER_SENDER_PHONE,
|
|
833
|
+
accountName: this.env.VALUEPAY_TRANSFER_SENDER_ACCOUNT_NAME,
|
|
834
|
+
accountNumber: this.env.VALUEPAY_TRANSFER_SENDER_ACCOUNT_NUMBER,
|
|
835
|
+
bankName: this.env.VALUEPAY_TRANSFER_SENDER_BANK_NAME,
|
|
836
|
+
bankCode: this.env.VALUEPAY_TRANSFER_SENDER_BANK_CODE,
|
|
837
|
+
bvn: this.env.VALUEPAY_TRANSFER_SENDER_BVN,
|
|
838
|
+
kycLevel: this.env.VALUEPAY_TRANSFER_SENDER_KYC_LEVEL,
|
|
815
839
|
};
|
|
816
840
|
}
|
|
817
841
|
getTransactionSetting(merchantId) {
|