@traxionpay/cbsmiddleware 0.0.3 → 0.0.4
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/dist/banking/services/WelcomeBank.service.d.ts.map +1 -1
- package/dist/banking/services/WelcomeBank.service.js +6 -0
- package/dist/banking/services/WelcomeBank.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/banking/services/WelcomeBank.service.ts +13 -1
package/package.json
CHANGED
|
@@ -313,6 +313,8 @@ export class WelcomeBankService implements BankService {
|
|
|
313
313
|
}, HttpStatus.BAD_REQUEST);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
+
this.logger.log(`Response Data WelcomeBank Link , ${responseData}`);
|
|
317
|
+
|
|
316
318
|
return {
|
|
317
319
|
success: true,
|
|
318
320
|
...responseData,
|
|
@@ -456,6 +458,8 @@ export class WelcomeBankService implements BankService {
|
|
|
456
458
|
}, HttpStatus.BAD_REQUEST);
|
|
457
459
|
}
|
|
458
460
|
|
|
461
|
+
this.logger.log(`Response Data WelcomeBank Validate , ${responseData}`);
|
|
462
|
+
|
|
459
463
|
return {
|
|
460
464
|
success: true,
|
|
461
465
|
...responseData,
|
|
@@ -598,6 +602,8 @@ export class WelcomeBankService implements BankService {
|
|
|
598
602
|
}, HttpStatus.BAD_REQUEST);
|
|
599
603
|
}
|
|
600
604
|
|
|
605
|
+
this.logger.log(`Response Data WelcomeBank Balance Inquiry , ${responseData}`);
|
|
606
|
+
|
|
601
607
|
return {
|
|
602
608
|
success: true,
|
|
603
609
|
...responseData,
|
|
@@ -781,6 +787,8 @@ export class WelcomeBankService implements BankService {
|
|
|
781
787
|
}, HttpStatus.UNPROCESSABLE_ENTITY);
|
|
782
788
|
}
|
|
783
789
|
|
|
790
|
+
this.logger.log(`Response Data WelcomeBank Cashin , ${responseData}`);
|
|
791
|
+
|
|
784
792
|
return {
|
|
785
793
|
success: true,
|
|
786
794
|
...responseData,
|
|
@@ -965,6 +973,8 @@ export class WelcomeBankService implements BankService {
|
|
|
965
973
|
}, HttpStatus.UNPROCESSABLE_ENTITY);
|
|
966
974
|
}
|
|
967
975
|
|
|
976
|
+
this.logger.log(`Response Data WelcomeBank Deposit , ${responseData}`);
|
|
977
|
+
|
|
968
978
|
return {
|
|
969
979
|
success: true,
|
|
970
980
|
...responseData,
|
|
@@ -1133,7 +1143,7 @@ export class WelcomeBankService implements BankService {
|
|
|
1133
1143
|
|
|
1134
1144
|
this.logger.log(`Decrypted Response Log: ${JSON.stringify(responseData)}`);
|
|
1135
1145
|
this.logger.log(`Decrypted.data.transactions Response Log: ${JSON.stringify(responseData.data.transaction)}`);
|
|
1136
|
-
|
|
1146
|
+
|
|
1137
1147
|
responseData.data.transaction.forEach((txn, index) => {
|
|
1138
1148
|
const key = `${index + 1}`;
|
|
1139
1149
|
|
|
@@ -1192,6 +1202,8 @@ export class WelcomeBankService implements BankService {
|
|
|
1192
1202
|
}, HttpStatus.UNPROCESSABLE_ENTITY);
|
|
1193
1203
|
}
|
|
1194
1204
|
|
|
1205
|
+
this.logger.log(`Response Data WelcomeBank History , ${responseData}`);
|
|
1206
|
+
|
|
1195
1207
|
return {
|
|
1196
1208
|
success: true,
|
|
1197
1209
|
message: responseData.data.responseMessage,
|