@hmcts/ccpay-web-component 5.0.5-beta04 → 5.0.5-beta05
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/bundles/hmcts-ccpay-web-component.umd.js +7 -3
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/reports/reports.component.js +2 -2
- package/esm2015/lib/services/payment-view/payment-view.service.js +5 -3
- package/esm5/lib/components/reports/reports.component.js +2 -2
- package/esm5/lib/services/payment-view/payment-view.service.js +7 -3
- package/fesm2015/hmcts-ccpay-web-component.js +5 -3
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +7 -3
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/services/payment-view/payment-view.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1270,14 +1270,18 @@
|
|
|
1270
1270
|
return this.https.get(url, { withCredentials: true }).pipe(operators.catchError(this.errorHandlerService.handleError));
|
|
1271
1271
|
};
|
|
1272
1272
|
/**
|
|
1273
|
+
* @param {?} startDate
|
|
1274
|
+
* @param {?} endDate
|
|
1273
1275
|
* @return {?}
|
|
1274
1276
|
*/
|
|
1275
1277
|
PaymentViewService.prototype.downloadFailureReport = /**
|
|
1278
|
+
* @param {?} startDate
|
|
1279
|
+
* @param {?} endDate
|
|
1276
1280
|
* @return {?}
|
|
1277
1281
|
*/
|
|
1278
|
-
function () {
|
|
1282
|
+
function (startDate, endDate) {
|
|
1279
1283
|
/** @type {?} */
|
|
1280
|
-
var url = this.paymentLibService.API_ROOT + "/payment-failures/failure-report";
|
|
1284
|
+
var url = this.paymentLibService.API_ROOT + "/payment-failures/failure-report?date_from=" + startDate + "&date_to=" + endDate;
|
|
1281
1285
|
return this.https.get(url, { withCredentials: true }).pipe(operators.catchError(this.errorHandlerService.handleError));
|
|
1282
1286
|
};
|
|
1283
1287
|
/**
|
|
@@ -8171,7 +8175,7 @@
|
|
|
8171
8175
|
}));
|
|
8172
8176
|
}
|
|
8173
8177
|
else if (selectedReportName === 'PAYMENT_FAILURE_EVENT') {
|
|
8174
|
-
this.paymentViewService.downloadFailureReport().subscribe(( /**
|
|
8178
|
+
this.paymentViewService.downloadFailureReport(selectedStartDate, selectedEndDate).subscribe(( /**
|
|
8175
8179
|
* @param {?} response
|
|
8176
8180
|
* @return {?}
|
|
8177
8181
|
*/function (response) {
|