@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.
@@ -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) {