@hmcts/ccpay-web-component 5.0.7-beta06 → 5.0.7-beta07

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.
@@ -5331,7 +5331,7 @@ class AllocatePaymentsComponent {
5331
5331
  amount: 0
5332
5332
  };
5333
5333
  this.siteID = null;
5334
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
5334
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
5335
5335
  this.paymentGroups = [];
5336
5336
  this.isMoreDetailsBoxHide = true;
5337
5337
  this.isConfirmButtondisabled = false;
@@ -5451,7 +5451,7 @@ class AllocatePaymentsComponent {
5451
5451
  * @return {?}
5452
5452
  */
5453
5453
  paymentGroup => {
5454
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
5454
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
5455
5455
  this.paymentGroup = paymentGroup;
5456
5456
  this.saveAndContinue();
5457
5457
  }), (/**
@@ -5459,7 +5459,7 @@ class AllocatePaymentsComponent {
5459
5459
  * @return {?}
5460
5460
  */
5461
5461
  (error) => {
5462
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
5462
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
5463
5463
  }));
5464
5464
  }
5465
5465
  else {
@@ -5468,7 +5468,7 @@ class AllocatePaymentsComponent {
5468
5468
  * @return {?}
5469
5469
  */
5470
5470
  paymentGroups => {
5471
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
5471
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
5472
5472
  this.paymentGroups = paymentGroups['payment_groups'].filter((/**
5473
5473
  * @param {?} paymentGroup
5474
5474
  * @return {?}
@@ -5494,7 +5494,7 @@ class AllocatePaymentsComponent {
5494
5494
  * @return {?}
5495
5495
  */
5496
5496
  (error) => {
5497
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
5497
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
5498
5498
  }));
5499
5499
  }
5500
5500
  }
@@ -5646,7 +5646,7 @@ class AllocatePaymentsComponent {
5646
5646
  * @return {?}
5647
5647
  */
5648
5648
  res => {
5649
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
5649
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
5650
5650
  /** @type {?} */
5651
5651
  let response = JSON.parse(res);
5652
5652
  if (response.success) {
@@ -5657,7 +5657,7 @@ class AllocatePaymentsComponent {
5657
5657
  * @return {?}
5658
5658
  */
5659
5659
  (error) => {
5660
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
5660
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
5661
5661
  window.scrollTo(0, 0);
5662
5662
  this.isConfirmButtondisabled = false;
5663
5663
  }));
@@ -5668,7 +5668,7 @@ class AllocatePaymentsComponent {
5668
5668
  * @return {?}
5669
5669
  */
5670
5670
  res1 => {
5671
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
5671
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
5672
5672
  /** @type {?} */
5673
5673
  let response1 = JSON.parse(res1);
5674
5674
  if (response1.success) {
@@ -5679,7 +5679,7 @@ class AllocatePaymentsComponent {
5679
5679
  * @return {?}
5680
5680
  */
5681
5681
  res2 => {
5682
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
5682
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
5683
5683
  /** @type {?} */
5684
5684
  let response2 = JSON.parse(res2);
5685
5685
  /** @type {?} */
@@ -5690,7 +5690,7 @@ class AllocatePaymentsComponent {
5690
5690
  * @return {?}
5691
5691
  */
5692
5692
  res3 => {
5693
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
5693
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
5694
5694
  /** @type {?} */
5695
5695
  let response3 = JSON.parse(res3);
5696
5696
  if (response3.success) {
@@ -5702,7 +5702,7 @@ class AllocatePaymentsComponent {
5702
5702
  */
5703
5703
  (error) => {
5704
5704
  this.bulkScaningPaymentService.patchBSChangeStatus(this.unAllocatedPayment.dcn_reference, 'COMPLETE').subscribe();
5705
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
5705
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
5706
5706
  window.scrollTo(0, 0);
5707
5707
  this.isConfirmButtondisabled = false;
5708
5708
  }));
@@ -5713,7 +5713,7 @@ class AllocatePaymentsComponent {
5713
5713
  */
5714
5714
  (error) => {
5715
5715
  this.bulkScaningPaymentService.patchBSChangeStatus(this.unAllocatedPayment.dcn_reference, 'COMPLETE').subscribe();
5716
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
5716
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
5717
5717
  window.scrollTo(0, 0);
5718
5718
  this.isConfirmButtondisabled = false;
5719
5719
  }));
@@ -5723,7 +5723,7 @@ class AllocatePaymentsComponent {
5723
5723
  * @return {?}
5724
5724
  */
5725
5725
  (error) => {
5726
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
5726
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
5727
5727
  window.scrollTo(0, 0);
5728
5728
  this.isConfirmButtondisabled = false;
5729
5729
  }));
@@ -5775,7 +5775,7 @@ class AllocatePaymentsComponent {
5775
5775
  * @return {?}
5776
5776
  */
5777
5777
  unassignedPayments => {
5778
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
5778
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
5779
5779
  this.unAllocatedPayment = unassignedPayments['data'].payments.filter((/**
5780
5780
  * @param {?} payment
5781
5781
  * @return {?}
@@ -5798,7 +5798,7 @@ class AllocatePaymentsComponent {
5798
5798
  * @return {?}
5799
5799
  */
5800
5800
  (error) => {
5801
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
5801
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
5802
5802
  }));
5803
5803
  }
5804
5804
  /**
@@ -7144,7 +7144,7 @@ class ReportsComponent {
7144
7144
  this.isStartDateLesthanEndDate = false;
7145
7145
  this.isDateBetwnMonth = false;
7146
7146
  this.isDateRangeBetnWeek = false;
7147
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
7147
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
7148
7148
  this.paymentGroups = [];
7149
7149
  }
7150
7150
  /**
@@ -7235,7 +7235,7 @@ class ReportsComponent {
7235
7235
  * @return {?}
7236
7236
  */
7237
7237
  response => {
7238
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
7238
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
7239
7239
  /** @type {?} */
7240
7240
  const result = JSON.parse(response);
7241
7241
  /** @type {?} */
@@ -7276,7 +7276,7 @@ class ReportsComponent {
7276
7276
  */
7277
7277
  (error) => {
7278
7278
  this.isDownLoadButtondisabled = false;
7279
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
7279
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
7280
7280
  }));
7281
7281
  }
7282
7282
  else if (selectedReportName === 'PAYMENT_FAILURE_EVENT') {
@@ -7285,7 +7285,7 @@ class ReportsComponent {
7285
7285
  * @return {?}
7286
7286
  */
7287
7287
  response => {
7288
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
7288
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
7289
7289
  /** @type {?} */
7290
7290
  const result = { data: JSON.parse(response)['payment_failure_report_list'] };
7291
7291
  /** @type {?} */
@@ -7315,7 +7315,9 @@ class ReportsComponent {
7315
7315
  if (statusCode === '404') {
7316
7316
  this.errorHandlerService.getServerErrorMessage(true, true, errorContent);
7317
7317
  }
7318
- this.errorHandlerService.getServerErrorMessage(true);
7318
+ else {
7319
+ this.errorHandlerService.getServerErrorMessage(true, false, '');
7320
+ }
7319
7321
  }));
7320
7322
  }
7321
7323
  else {
@@ -7324,7 +7326,7 @@ class ReportsComponent {
7324
7326
  * @return {?}
7325
7327
  */
7326
7328
  response => {
7327
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
7329
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
7328
7330
  /** @type {?} */
7329
7331
  const result = JSON.parse(response);
7330
7332
  /** @type {?} */
@@ -7354,7 +7356,7 @@ class ReportsComponent {
7354
7356
  */
7355
7357
  (error) => {
7356
7358
  this.isDownLoadButtondisabled = false;
7357
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(true);
7359
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(true, false, '');
7358
7360
  }));
7359
7361
  }
7360
7362
  }