@hmcts/ccpay-web-component 4.0.0-beta45 → 4.0.0-beta451

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.
Files changed (203) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +6566 -2356
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-ccpay-web-component.js +33 -25
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +757 -140
  7. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +315 -312
  8. package/esm2015/lib/components/card-details/card-details.component.js +22 -57
  9. package/esm2015/lib/components/case-transactions/case-transactions.component.js +1069 -333
  10. package/esm2015/lib/components/error-banner/error-banner.component.js +5 -17
  11. package/esm2015/lib/components/fee-summary/fee-summary.component.js +245 -241
  12. package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +137 -158
  13. package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +184 -171
  14. package/esm2015/lib/components/page-not-found.component.js +3 -4
  15. package/esm2015/lib/components/payment-list/payment-list.component.js +22 -80
  16. package/esm2015/lib/components/payment-view/payment-view.component.js +269 -129
  17. package/esm2015/lib/components/pba-details/pba-details.component.js +5 -39
  18. package/esm2015/lib/components/process-refund/process-refund.component.js +314 -0
  19. package/esm2015/lib/components/processed-payments/processed-payments.component.js +72 -0
  20. package/esm2015/lib/components/refund-list/refund-list.component.js +140 -0
  21. package/esm2015/lib/components/refund-status/refund-status.component.js +487 -0
  22. package/esm2015/lib/components/refunds/refunds.component.js +23 -0
  23. package/esm2015/lib/components/reports/reports.component.js +117 -107
  24. package/esm2015/lib/components/status-history/status-history.component.js +28 -35
  25. package/esm2015/lib/components/table/table.component.js +158 -0
  26. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +178 -89
  27. package/esm2015/lib/interfaces/AddRemissionRequest.js +6 -7
  28. package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +21 -0
  29. package/esm2015/lib/interfaces/AllocatePaymentRequest.js +11 -9
  30. package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +2 -3
  31. package/esm2015/lib/interfaces/IBSPayments.js +38 -35
  32. package/esm2015/lib/interfaces/ICardDetails.js +14 -13
  33. package/esm2015/lib/interfaces/IFee.js +44 -29
  34. package/esm2015/lib/interfaces/IOrderReferenceFee.js +25 -0
  35. package/esm2015/lib/interfaces/IPatchRefundAction.js +15 -0
  36. package/esm2015/lib/interfaces/IPayment.js +56 -55
  37. package/esm2015/lib/interfaces/IPaymentGroup.js +12 -11
  38. package/esm2015/lib/interfaces/IPaymentStatus.js +2 -3
  39. package/esm2015/lib/interfaces/IPaymentView.js +17 -0
  40. package/esm2015/lib/interfaces/IPayments.js +6 -5
  41. package/esm2015/lib/interfaces/IRefundAction.js +15 -0
  42. package/esm2015/lib/interfaces/IRefundList.js +29 -0
  43. package/esm2015/lib/interfaces/IRefundReasons.js +17 -0
  44. package/esm2015/lib/interfaces/IRefundRejectReason.js +15 -0
  45. package/esm2015/lib/interfaces/IRefundStatus.js +23 -0
  46. package/esm2015/lib/interfaces/IRemission.js +18 -17
  47. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +21 -0
  48. package/esm2015/lib/interfaces/IStatusHistories.js +12 -11
  49. package/esm2015/lib/interfaces/IStatusHistory.js +14 -13
  50. package/esm2015/lib/interfaces/IssueRefundRequest.js +25 -0
  51. package/esm2015/lib/interfaces/PayhubAntennaRequest.js +28 -0
  52. package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +7 -12
  53. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +17 -0
  54. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +21 -0
  55. package/esm2015/lib/interfaces/RefundsRequest.js +21 -0
  56. package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +2 -3
  57. package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +2 -3
  58. package/esm2015/lib/payment-lib.component.js +112 -18
  59. package/esm2015/lib/payment-lib.module.js +33 -6
  60. package/esm2015/lib/payment-lib.service.js +18 -4
  61. package/esm2015/lib/pipes/capitalize.pipe.js +24 -0
  62. package/esm2015/lib/pipes/ccd-hyphens.pipe.js +3 -4
  63. package/esm2015/lib/pipes/key-value.pipe.js +3 -4
  64. package/esm2015/lib/pipes/sanitize-html.pipe.js +7 -5
  65. package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +52 -14
  66. package/esm2015/lib/services/card-details/card-details.service.js +19 -8
  67. package/esm2015/lib/services/case-transactions/case-transactions.service.js +19 -8
  68. package/esm2015/lib/services/orderslist.service.js +211 -0
  69. package/esm2015/lib/services/payment-list/payment-list.service.js +19 -8
  70. package/esm2015/lib/services/payment-view/payment-view.service.js +107 -12
  71. package/esm2015/lib/services/refunds/refunds.service.js +196 -0
  72. package/esm2015/lib/services/shared/error-handler.service.js +6 -4
  73. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +17 -8
  74. package/esm2015/lib/services/shared/logger/console-logger.service.js +7 -5
  75. package/esm2015/lib/services/shared/logger/logger.service.js +7 -5
  76. package/esm2015/lib/services/status-history/status-history.service.js +19 -8
  77. package/esm2015/lib/services/xl-file/xl-file.service.js +57 -50
  78. package/esm2015/public_api.js +1 -2
  79. package/esm5/hmcts-ccpay-web-component.js +33 -25
  80. package/esm5/lib/components/add-remission/add-remission.component.js +822 -47
  81. package/esm5/lib/components/allocate-payments/allocate-payments.component.js +328 -107
  82. package/esm5/lib/components/card-details/card-details.component.js +22 -9
  83. package/esm5/lib/components/case-transactions/case-transactions.component.js +1170 -85
  84. package/esm5/lib/components/error-banner/error-banner.component.js +3 -4
  85. package/esm5/lib/components/fee-summary/fee-summary.component.js +252 -57
  86. package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +136 -45
  87. package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +189 -60
  88. package/esm5/lib/components/page-not-found.component.js +3 -4
  89. package/esm5/lib/components/payment-list/payment-list.component.js +21 -8
  90. package/esm5/lib/components/payment-view/payment-view.component.js +318 -17
  91. package/esm5/lib/components/pba-details/pba-details.component.js +5 -6
  92. package/esm5/lib/components/process-refund/process-refund.component.js +336 -0
  93. package/esm5/lib/components/processed-payments/processed-payments.component.js +83 -0
  94. package/esm5/lib/components/refund-list/refund-list.component.js +143 -0
  95. package/esm5/lib/components/refund-status/refund-status.component.js +545 -0
  96. package/esm5/lib/components/refunds/refunds.component.js +29 -0
  97. package/esm5/lib/components/reports/reports.component.js +122 -25
  98. package/esm5/lib/components/status-history/status-history.component.js +27 -9
  99. package/esm5/lib/components/table/table.component.js +188 -0
  100. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +188 -24
  101. package/esm5/lib/interfaces/AddRemissionRequest.js +5 -6
  102. package/esm5/lib/interfaces/AddRetroRemissionRequest.js +19 -0
  103. package/esm5/lib/interfaces/AllocatePaymentRequest.js +9 -8
  104. package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +2 -3
  105. package/esm5/lib/interfaces/IBSPayments.js +38 -35
  106. package/esm5/lib/interfaces/ICardDetails.js +14 -13
  107. package/esm5/lib/interfaces/IFee.js +44 -29
  108. package/esm5/lib/interfaces/IOrderReferenceFee.js +25 -0
  109. package/esm5/lib/interfaces/IPatchRefundAction.js +15 -0
  110. package/esm5/lib/interfaces/IPayment.js +56 -55
  111. package/esm5/lib/interfaces/IPaymentGroup.js +12 -11
  112. package/esm5/lib/interfaces/IPaymentStatus.js +2 -3
  113. package/esm5/lib/interfaces/IPaymentView.js +17 -0
  114. package/esm5/lib/interfaces/IPayments.js +6 -5
  115. package/esm5/lib/interfaces/IRefundAction.js +15 -0
  116. package/esm5/lib/interfaces/IRefundList.js +29 -0
  117. package/esm5/lib/interfaces/IRefundReasons.js +17 -0
  118. package/esm5/lib/interfaces/IRefundRejectReason.js +15 -0
  119. package/esm5/lib/interfaces/IRefundStatus.js +23 -0
  120. package/esm5/lib/interfaces/IRemission.js +18 -17
  121. package/esm5/lib/interfaces/IResubmitRefundRequest.js +19 -0
  122. package/esm5/lib/interfaces/IStatusHistories.js +12 -11
  123. package/esm5/lib/interfaces/IStatusHistory.js +14 -13
  124. package/esm5/lib/interfaces/IssueRefundRequest.js +22 -0
  125. package/esm5/lib/interfaces/PayhubAntennaRequest.js +25 -0
  126. package/esm5/lib/interfaces/PaymentToPayhubRequest.js +6 -10
  127. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +16 -0
  128. package/esm5/lib/interfaces/PostRefundRetroRemission.js +19 -0
  129. package/esm5/lib/interfaces/RefundsRequest.js +19 -0
  130. package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +2 -3
  131. package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +2 -3
  132. package/esm5/lib/payment-lib.component.js +84 -12
  133. package/esm5/lib/payment-lib.module.js +33 -6
  134. package/esm5/lib/payment-lib.service.js +25 -4
  135. package/esm5/lib/pipes/capitalize.pipe.js +32 -0
  136. package/esm5/lib/pipes/ccd-hyphens.pipe.js +3 -4
  137. package/esm5/lib/pipes/key-value.pipe.js +3 -4
  138. package/esm5/lib/pipes/sanitize-html.pipe.js +7 -5
  139. package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +61 -14
  140. package/esm5/lib/services/card-details/card-details.service.js +19 -8
  141. package/esm5/lib/services/case-transactions/case-transactions.service.js +19 -8
  142. package/esm5/lib/services/orderslist.service.js +276 -0
  143. package/esm5/lib/services/payment-list/payment-list.service.js +19 -8
  144. package/esm5/lib/services/payment-view/payment-view.service.js +150 -13
  145. package/esm5/lib/services/refunds/refunds.service.js +236 -0
  146. package/esm5/lib/services/shared/error-handler.service.js +6 -4
  147. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +17 -8
  148. package/esm5/lib/services/shared/logger/console-logger.service.js +7 -5
  149. package/esm5/lib/services/shared/logger/logger.service.js +7 -5
  150. package/esm5/lib/services/status-history/status-history.service.js +19 -8
  151. package/esm5/lib/services/xl-file/xl-file.service.js +63 -50
  152. package/esm5/public_api.js +1 -2
  153. package/fesm2015/hmcts-ccpay-web-component.js +4486 -2023
  154. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  155. package/fesm5/hmcts-ccpay-web-component.js +6799 -2424
  156. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  157. package/hmcts-ccpay-web-component.d.ts +31 -22
  158. package/hmcts-ccpay-web-component.metadata.json +1 -1
  159. package/lib/components/add-remission/add-remission.component.d.ts +77 -3
  160. package/lib/components/allocate-payments/allocate-payments.component.d.ts +26 -9
  161. package/lib/components/case-transactions/case-transactions.component.d.ts +84 -4
  162. package/lib/components/fee-summary/fee-summary.component.d.ts +13 -1
  163. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +2 -0
  164. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +7 -0
  165. package/lib/components/payment-view/payment-view.component.d.ts +34 -1
  166. package/lib/components/process-refund/process-refund.component.d.ts +46 -0
  167. package/lib/components/processed-payments/processed-payments.component.d.ts +14 -0
  168. package/lib/components/refund-list/refund-list.component.d.ts +23 -0
  169. package/lib/components/refund-status/refund-status.component.d.ts +66 -0
  170. package/lib/components/refunds/refunds.component.d.ts +5 -0
  171. package/lib/components/reports/reports.component.d.ts +5 -1
  172. package/lib/components/status-history/status-history.component.d.ts +1 -0
  173. package/lib/components/table/table.component.d.ts +35 -0
  174. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +25 -4
  175. package/lib/interfaces/AddRemissionRequest.d.ts +2 -2
  176. package/lib/interfaces/AddRetroRemissionRequest.d.ts +5 -0
  177. package/lib/interfaces/AllocatePaymentRequest.d.ts +16 -3
  178. package/lib/interfaces/IBSPayments.d.ts +1 -0
  179. package/lib/interfaces/IFee.d.ts +7 -0
  180. package/lib/interfaces/IOrderReferenceFee.d.ts +9 -0
  181. package/lib/interfaces/IPatchRefundAction.d.ts +4 -0
  182. package/lib/interfaces/IPaymentView.d.ts +5 -0
  183. package/lib/interfaces/IRefundAction.d.ts +4 -0
  184. package/lib/interfaces/IRefundList.d.ts +14 -0
  185. package/lib/interfaces/IRefundReasons.d.ts +5 -0
  186. package/lib/interfaces/IRefundRejectReason.d.ts +4 -0
  187. package/lib/interfaces/IRefundStatus.d.ts +8 -0
  188. package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -0
  189. package/lib/interfaces/IssueRefundRequest.d.ts +6 -0
  190. package/lib/interfaces/PayhubAntennaRequest.d.ts +7 -0
  191. package/lib/interfaces/PaymentToPayhubRequest.d.ts +2 -3
  192. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +4 -0
  193. package/lib/interfaces/PostRefundRetroRemission.d.ts +5 -0
  194. package/lib/interfaces/RefundsRequest.d.ts +5 -0
  195. package/lib/payment-lib.component.d.ts +28 -3
  196. package/lib/payment-lib.service.d.ts +3 -0
  197. package/lib/pipes/capitalize.pipe.d.ts +5 -0
  198. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +2 -0
  199. package/lib/services/orderslist.service.d.ts +40 -0
  200. package/lib/services/payment-view/payment-view.service.d.ts +17 -1
  201. package/lib/services/refunds/refunds.service.d.ts +30 -0
  202. package/lib/services/xl-file/xl-file.service.d.ts +6 -6
  203. package/package.json +1 -1
@@ -9,6 +9,7 @@ export declare class MarkUnsolicitedPaymentComponent implements OnInit {
9
9
  private paymentViewService;
10
10
  private paymentLibComponent;
11
11
  private bulkScaningPaymentService;
12
+ caseType: string;
12
13
  markPaymentUnsolicitedForm: FormGroup;
13
14
  viewStatus: string;
14
15
  reasonHasError: boolean;
@@ -31,8 +32,13 @@ export declare class MarkUnsolicitedPaymentComponent implements OnInit {
31
32
  responsibleOffice: string;
32
33
  emailId: string;
33
34
  isConfirmButtondisabled: Boolean;
35
+ isContinueButtondisabled: Boolean;
34
36
  ccdReference: string;
35
37
  exceptionReference: string;
38
+ selectedSiteId: string;
39
+ selectedSiteName: string;
40
+ isStrategicFixEnable: boolean;
41
+ siteIDList: any;
36
42
  constructor(formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, bulkScaningPaymentService: BulkScaningPaymentService);
37
43
  ngOnInit(): void;
38
44
  trimUnderscore(method: string): string;
@@ -48,4 +54,5 @@ export declare class MarkUnsolicitedPaymentComponent implements OnInit {
48
54
  body: string;
49
55
  showError: any;
50
56
  };
57
+ selectchange(args: any): void;
51
58
  }
@@ -2,19 +2,52 @@ import { OnInit } from '@angular/core';
2
2
  import { PaymentViewService } from '../../services/payment-view/payment-view.service';
3
3
  import { PaymentLibComponent } from '../../payment-lib.component';
4
4
  import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
5
+ import { IFee } from '../../interfaces/IFee';
6
+ import { IPayment } from '../../interfaces/IPayment';
7
+ import { IRemission } from '../../interfaces/IRemission';
8
+ import { ChangeDetectorRef } from '@angular/core';
9
+ import { OrderslistService } from '../../services/orderslist.service';
5
10
  export declare class PaymentViewComponent implements OnInit {
6
11
  private paymentViewService;
7
12
  private paymentLibComponent;
13
+ private cd;
14
+ private OrderslistService;
15
+ isTurnOff: boolean;
16
+ isTakePayment: boolean;
17
+ caseType: boolean;
18
+ isNewPcipalOff: boolean;
19
+ isOldPcipalOff: boolean;
20
+ orderRef: boolean;
21
+ orderStatus: boolean;
22
+ orderTotalPayments: boolean;
23
+ payment: IPayment;
24
+ LOGGEDINUSERROLES: string[];
8
25
  paymentGroup: IPaymentGroup;
9
26
  errorMessage: string;
10
27
  ccdCaseNumber: string;
11
28
  selectedOption: string;
12
29
  dcnNumber: string;
13
30
  isStatusAllocated: boolean;
14
- constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent);
31
+ isRemissionsMatch: boolean;
32
+ feeId: IFee;
33
+ viewStatus: string;
34
+ isRefundRemission: boolean;
35
+ isStrategicFixEnable: boolean;
36
+ isAddFeeBtnEnabled: boolean;
37
+ isIssueRefunfBtnEnable: boolean;
38
+ allowedRolesToAccessRefund: string[];
39
+ constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
15
40
  ngOnInit(): void;
16
41
  readonly isCardPayment: boolean;
17
42
  readonly isTelephonyPayment: boolean;
18
43
  goToPaymentList(): void;
19
44
  goToCaseTransationPage(event: any): void;
45
+ addRemission(fee: IFee): void;
46
+ issueRefund(paymentgrp: IPaymentGroup): void;
47
+ getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
48
+ chkIssueRefundBtnEnable(payment: IPayment): boolean;
49
+ chkForPBAPayment(): boolean;
50
+ chkForAddRemission(feeCode: string): boolean;
51
+ check4AllowedRoles2AccessRefund: () => boolean;
52
+ allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
20
53
  }
@@ -0,0 +1,46 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { RefundsService } from '../../services/refunds/refunds.service';
4
+ import { IRefundAction } from '../../interfaces/IRefundAction';
5
+ import { IRefundList } from '../../interfaces/IRefundList';
6
+ import { IRefundRejectReason } from '../../interfaces/IRefundRejectReason';
7
+ export declare class ProcessRefundComponent implements OnInit {
8
+ private RefundsService;
9
+ private formBuilder;
10
+ refundReference: string;
11
+ refundlistsource: IRefundList;
12
+ processRefundForm: FormGroup;
13
+ errorMessage: {
14
+ title: string;
15
+ body: string;
16
+ showError: any;
17
+ };
18
+ sendmeback: string;
19
+ viewStatus: string;
20
+ refundActionList: IRefundAction[];
21
+ refundRejectReasonList: IRefundRejectReason[];
22
+ isSendMeBackClicked: boolean;
23
+ isRejectClicked: boolean;
24
+ isOtherClicked: boolean;
25
+ isSuccesspageEnable: boolean;
26
+ refundActionsHasError: boolean;
27
+ refundRejectReasonHasError: boolean;
28
+ isReasonFieldEmpty: boolean;
29
+ isReasonFieldInvalid: boolean;
30
+ reasonFieldMinHasError: boolean;
31
+ reasonFieldMaxHasError: boolean;
32
+ isReasonEmpty: boolean;
33
+ isReasonInvalid: boolean;
34
+ successMsg: string;
35
+ isConfirmButtondisabled: boolean;
36
+ constructor(RefundsService: RefundsService, formBuilder: FormBuilder);
37
+ ngOnInit(): void;
38
+ checkRefundActions(code: string): void;
39
+ processRefundSubmit(): void;
40
+ getErrorMessage(isErrorExist: any, status: any, errorMsg: any): {
41
+ title: string;
42
+ body: string;
43
+ showError: any;
44
+ };
45
+ resetForm(vals: any, field: any): void;
46
+ }
@@ -0,0 +1,14 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
3
+ import { IPayment } from '../../interfaces/IPayment';
4
+ import { Router } from '@angular/router';
5
+ export declare class ProcessedPaymentsComponent implements OnInit {
6
+ private router;
7
+ private bulkScaningPaymentService;
8
+ NONPAYMENTS: IPayment[];
9
+ goToPaymentViewComponent: EventEmitter<any>;
10
+ constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService);
11
+ ngOnInit(): void;
12
+ trimUnderscore(method: string): string;
13
+ redirectToPaymentViewPage(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
14
+ }
@@ -0,0 +1,23 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { RefundsService } from '../../services/refunds/refunds.service';
3
+ import { IRefundList } from '../../interfaces/IRefundList';
4
+ export declare class RefundListComponent implements OnInit {
5
+ private refundService;
6
+ USERID: string;
7
+ LOGGEDINUSERROLES: any[];
8
+ LOGGEDINUSEREMAIL: string;
9
+ constructor(refundService: RefundsService);
10
+ tableApprovalHeader: string;
11
+ tableRejectedHeader: string;
12
+ submittedRefundList: IRefundList[];
13
+ rejectedRefundList: IRefundList[];
14
+ approvalStatus: string;
15
+ rejectStatus: string;
16
+ errorMessage: any;
17
+ isApproveTableVisible: boolean;
18
+ isRejectTableVisible: boolean;
19
+ dropdownvalue: string;
20
+ isAuthorized: boolean;
21
+ userLst: any;
22
+ ngOnInit(): void;
23
+ }
@@ -0,0 +1,66 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { RefundsService } from '../../services/refunds/refunds.service';
3
+ import { FormBuilder, FormGroup } from '@angular/forms';
4
+ import { IRefundList } from '../../interfaces/IRefundList';
5
+ import { PaymentViewService } from '../../services/payment-view/payment-view.service';
6
+ import { Router } from '@angular/router';
7
+ import { OrderslistService } from '../../services/orderslist.service';
8
+ import { IRefundStatus } from '../../interfaces/IRefundStatus';
9
+ import { PaymentLibComponent } from '../../payment-lib.component';
10
+ export declare class RefundStatusComponent implements OnInit {
11
+ private formBuilder;
12
+ private refundService;
13
+ private paymentLibComponent;
14
+ private paymentViewService;
15
+ private router;
16
+ private OrderslistService;
17
+ LOGGEDINUSERROLES: string[];
18
+ isOldPcipalOff: boolean;
19
+ isNewPcipalOff: boolean;
20
+ ccdCaseNumber: string;
21
+ isTurnOff: boolean;
22
+ refundStatusForm: FormGroup;
23
+ selectedRefundReason: string;
24
+ rejectedRefundList: IRefundList[];
25
+ approvalStatus: string;
26
+ rejectStatus: string;
27
+ errorMessage: any;
28
+ viewName: string;
29
+ refundReason: string;
30
+ refundlist: IRefundList;
31
+ bsPaymentDcnNumber: string;
32
+ isCallFromRefundList: boolean;
33
+ refundButtonState: string;
34
+ isAmountEmpty: boolean;
35
+ isReasonEmpty: boolean;
36
+ amountHasError: boolean;
37
+ isRemissionLessThanFeeError: boolean;
38
+ refundHasError: boolean;
39
+ refundReasons: any[];
40
+ refundStatusHistories: IRefundStatus[];
41
+ refundReference: string;
42
+ refundAmount: string;
43
+ refundCode: string;
44
+ isRefundBtnDisabled: boolean;
45
+ oldRefundReason: string;
46
+ refundreason: string;
47
+ allowedRolesToAccessRefund: string[];
48
+ navigationpage: string;
49
+ constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
50
+ ngOnInit(): void;
51
+ getRefundsStatusHistoryList(): void;
52
+ goToRefundView(refundlist: IRefundList, navigationpage: string): void;
53
+ loadCaseTransactionPage(): void;
54
+ loadRefundListPage(): void;
55
+ gotoReviewDetailsPage(): void;
56
+ gotoReviewAndReSubmitPage(): void;
57
+ gotoRefundReasonPage(): void;
58
+ gotoAmountPage(): void;
59
+ goToReviewAndSubmitView(): void;
60
+ resetRemissionForm(val: any, field: any): void;
61
+ selectRadioButton(key: any, value: any): void;
62
+ getRefundListReason(refundListReason: any): void;
63
+ getRefundAmount(amount: number): void;
64
+ gotoReviewRefundConfirmationPage(): void;
65
+ goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
66
+ }
@@ -0,0 +1,5 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class RefundsComponent implements OnInit {
3
+ constructor();
4
+ ngOnInit(): void;
5
+ }
@@ -15,6 +15,9 @@ export declare class ReportsComponent implements OnInit {
15
15
  startDate: string;
16
16
  endDate: string;
17
17
  ccdCaseNumber: string;
18
+ isDownLoadButtondisabled: Boolean;
19
+ isStartDateLesthanEndDate: Boolean;
20
+ isDateRangeBetnWeek: Boolean;
18
21
  errorMessage: {
19
22
  title: string;
20
23
  body: string;
@@ -25,7 +28,7 @@ export declare class ReportsComponent implements OnInit {
25
28
  ngOnInit(): void;
26
29
  getToday(): string;
27
30
  getSelectedFromDate(): void;
28
- validateDates(): void;
31
+ validateDates(reportName: any): void;
29
32
  fromValidation(): void;
30
33
  downloadReport(): void;
31
34
  getFileName(selectedOption: string, startDate: string, endDate: string): string;
@@ -33,4 +36,5 @@ export declare class ReportsComponent implements OnInit {
33
36
  getTwodigit(input: number): string;
34
37
  getCamelCaseString(selectedOption: any): any;
35
38
  applyDateFormat(res: any): any;
39
+ convertToFloatValue(amt: any): string;
36
40
  }
@@ -5,6 +5,7 @@ import { PaymentLibComponent } from '../../payment-lib.component';
5
5
  export declare class StatusHistoryComponent implements OnInit {
6
6
  private statusHistoryService;
7
7
  private paymentLibComponent;
8
+ isTakePayment: boolean;
8
9
  pageTitle: string;
9
10
  statuses: IStatusHistories;
10
11
  errorMessage: string;
@@ -0,0 +1,35 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { PaymentLibComponent } from '../../payment-lib.component';
3
+ import { MatTableDataSource } from '@angular/material/table';
4
+ import { MatSort } from '@angular/material/sort';
5
+ import { MatPaginator } from '@angular/material/paginator';
6
+ import { IRefundList } from '../../interfaces/IRefundList';
7
+ import { OrderslistService } from '../../services/orderslist.service';
8
+ export declare class TableComponent {
9
+ private paymentLibComponent;
10
+ private cdRef;
11
+ private OrderslistService;
12
+ DATASOURCE: any[];
13
+ STATUS: string;
14
+ errorMessage: string;
15
+ isApprovalFlow: boolean;
16
+ displayedColumns: string[];
17
+ dataSource: MatTableDataSource<any>;
18
+ userLst: any;
19
+ actualcount: number;
20
+ count: number;
21
+ refundList: IRefundList[];
22
+ paginator: MatPaginator;
23
+ sort: MatSort;
24
+ constructor(paymentLibComponent: PaymentLibComponent, cdRef: ChangeDetectorRef, OrderslistService: OrderslistService);
25
+ ngOnInit(): void;
26
+ /**
27
+ * Set the paginator and sort after the view init since this component will
28
+ * be able to query its view for the initialized paginator and sort.
29
+ */
30
+ ngAfterViewInit(): void;
31
+ applyFilter(filterValue: string): void;
32
+ selectchange(args: any): void;
33
+ goToRefundProcessComponent(refundReference: string, refundDate: IRefundList): void;
34
+ goToRefundViewComponent(refundReference: string, refundData: IRefundList): void;
35
+ }
@@ -3,14 +3,26 @@ import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/b
3
3
  import { PaymentLibComponent } from '../../payment-lib.component';
4
4
  import { IBSPayments } from '../../interfaces/IBSPayments';
5
5
  import { Router } from '@angular/router';
6
+ import { PaymentViewService } from '../../services/payment-view/payment-view.service';
7
+ import { OrderslistService } from '../../services/orderslist.service';
6
8
  export declare class UnprocessedPaymentsComponent implements OnInit {
7
9
  private router;
8
10
  private bulkScaningPaymentService;
9
11
  private paymentLibComponent;
12
+ private paymentViewService;
13
+ private OrderslistService;
10
14
  FEE_RECORDS_EXISTS: boolean;
15
+ PAYMENTREF: string;
16
+ ISTURNOFF: boolean;
11
17
  IS_BUTTON_ENABLE: boolean;
12
18
  IS_OS_AMT_AVAILABLE: boolean;
19
+ ISNEWPCIPALOFF: boolean;
20
+ ISOLDPCIPALOFF: boolean;
21
+ ISSFENABLE: boolean;
22
+ PAYMENTSLENGTH: Number;
23
+ LEVEL: Number;
13
24
  selectedUnprocessedFeeEvent: EventEmitter<string>;
25
+ getUnprocessedFeeCount: EventEmitter<string>;
14
26
  viewStatus: string;
15
27
  unassignedRecordList: IBSPayments;
16
28
  upPaymentErrorMessage: string;
@@ -26,16 +38,25 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
26
38
  isExceptionCase: boolean;
27
39
  serviceId: string;
28
40
  isBulkScanEnable: any;
29
- constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService, paymentLibComponent: PaymentLibComponent);
41
+ isNewpcipaloff: any;
42
+ isOldpcipaloff: any;
43
+ isTurnOff: boolean;
44
+ isStFixEnable: any;
45
+ unassignedRecordSelectedList: IBSPayments;
46
+ unassignedRecordListLength: number;
47
+ showContent: boolean;
48
+ constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService);
30
49
  ngOnInit(): void;
31
50
  getUnassignedPaymentlist(): void;
32
51
  setValuesForUnassignedRecord(unassignedPayments: any): void;
33
52
  formatUnassignedRecordId(ID: Number): string;
34
53
  trimUnderscore(method: string): string;
35
- redirectToFeeSearchPage(event: any): void;
36
- loadUnsolicitedPage(viewName: string): void;
54
+ redirectToFeeSearchPage(event: any, dcn_reference: any): void;
55
+ loadUnsolicitedPage(viewName: string, dcn_reference: any): void;
37
56
  unprocessedPaymentSelectEvent(selectedRecordReference: any): void;
38
- goToAllocatePage(): void;
57
+ resetButtons(): void;
58
+ goToAllocatePage(dcn_reference: any): void;
39
59
  validateButtons(): void;
40
60
  unprocessedPaymentUnSelectEvent(event: any): void;
61
+ showDetailRow(event: any, obj: any, i: any): void;
41
62
  }
@@ -6,6 +6,6 @@ export declare class AddRemissionRequest {
6
6
  hwf_amount: number;
7
7
  hwf_reference: string;
8
8
  payment_group_reference: string;
9
- site_id: string;
10
- constructor(ccd_case_number: string, fee: IFee, hwf_amount: number, hwf_reference: string, service: string);
9
+ case_type: string;
10
+ constructor(ccd_case_number: string, fee: IFee, hwf_amount: number, hwf_reference: string, caseType: string);
11
11
  }
@@ -0,0 +1,5 @@
1
+ export declare class AddRetroRemissionRequest {
2
+ hwf_amount: number;
3
+ hwf_reference: string;
4
+ constructor(hwf_amount: number, hwf_reference: string);
5
+ }
@@ -12,7 +12,20 @@ export declare class AllocatePaymentRequest {
12
12
  payment_channel: Object;
13
13
  payment_status: Object;
14
14
  payment_method: String;
15
- requestor: String;
16
- site_id: String;
17
- constructor(ccd_case_number: string, unAllocatedPayment: IBSPayments, siteID: string, exceptionRecord: string);
15
+ case_type: String;
16
+ payment_allocation_dto?: {
17
+ allocation_reason: String;
18
+ allocation_status: String;
19
+ explanation: String;
20
+ payment_allocation_status: Object;
21
+ payment_group_reference: String;
22
+ payment_reference: String;
23
+ reason: String;
24
+ receiving_office: String;
25
+ unidentified_reason: String;
26
+ user_id: String;
27
+ user_name: String;
28
+ case_type: String;
29
+ };
30
+ constructor(ccd_case_number: string, unAllocatedPayment: IBSPayments, caseType: string, exceptionRecord: string, allocatedRequest?: any);
18
31
  }
@@ -15,4 +15,5 @@ export interface IBSPayments {
15
15
  date_created?: string;
16
16
  date_updated?: string;
17
17
  length?: number;
18
+ expanded?: boolean;
18
19
  }
@@ -12,4 +12,11 @@ export interface IFee {
12
12
  reference: string;
13
13
  memo_line: string;
14
14
  fee_amount?: number;
15
+ apportion_amount?: number;
16
+ allocated_amount?: number;
17
+ is_fully_apportioned?: string;
18
+ date_apportioned?: string;
19
+ date_created?: string;
20
+ date_updated?: string;
21
+ amount_due?: number;
15
22
  }
@@ -0,0 +1,9 @@
1
+ export interface IOrderReferenceFee {
2
+ orderRefId: number;
3
+ orderTotalFees: number;
4
+ orderStatus: string;
5
+ orderParty: string;
6
+ orderCCDEvent: string;
7
+ orderCreated: Date;
8
+ orderAddBtnEnable: boolean;
9
+ }