@hmcts/ccpay-web-component 5.0.5-beta01 → 5.0.5-beta02

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 (94) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +2144 -626
  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 -31
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +715 -122
  7. package/esm2015/lib/components/case-transactions/case-transactions.component.js +39 -17
  8. package/esm2015/lib/components/contact-details/contact-details.component.js +447 -0
  9. package/esm2015/lib/components/fee-summary/fee-summary.component.js +59 -16
  10. package/esm2015/lib/components/payment-view/payment-view.component.js +194 -106
  11. package/esm2015/lib/components/process-refund/process-refund.component.js +49 -28
  12. package/esm2015/lib/components/refund-list/refund-list.component.js +3 -3
  13. package/esm2015/lib/components/refund-status/refund-status.component.js +217 -30
  14. package/esm2015/lib/components/service-request/service-request.component.js +243 -146
  15. package/esm2015/lib/components/table/table.component.js +24 -9
  16. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +17 -1
  17. package/esm2015/lib/interfaces/IFee.js +13 -1
  18. package/esm2015/lib/interfaces/IPayment.js +7 -1
  19. package/esm2015/lib/interfaces/IPutNotificationRequest.js +25 -0
  20. package/esm2015/lib/interfaces/IRefundContactDetails.js +25 -0
  21. package/esm2015/lib/interfaces/IRefundFee.js +21 -0
  22. package/esm2015/lib/interfaces/IRefundList.js +7 -1
  23. package/esm2015/lib/interfaces/IRefundsNotifications.js +21 -0
  24. package/esm2015/lib/interfaces/IRemission.js +7 -1
  25. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +10 -2
  26. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +6 -2
  27. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +20 -2
  28. package/esm2015/lib/payment-lib.component.js +24 -4
  29. package/esm2015/lib/payment-lib.module.js +3 -1
  30. package/esm2015/lib/payment-lib.service.js +16 -1
  31. package/esm2015/lib/services/notification/notification.service.js +85 -0
  32. package/esm2015/lib/services/refunds/refunds.service.js +10 -1
  33. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
  34. package/esm5/hmcts-ccpay-web-component.js +33 -31
  35. package/esm5/lib/components/add-remission/add-remission.component.js +837 -127
  36. package/esm5/lib/components/case-transactions/case-transactions.component.js +39 -17
  37. package/esm5/lib/components/contact-details/contact-details.component.js +472 -0
  38. package/esm5/lib/components/fee-summary/fee-summary.component.js +59 -16
  39. package/esm5/lib/components/payment-view/payment-view.component.js +225 -124
  40. package/esm5/lib/components/process-refund/process-refund.component.js +52 -78
  41. package/esm5/lib/components/refund-list/refund-list.component.js +3 -3
  42. package/esm5/lib/components/refund-status/refund-status.component.js +253 -28
  43. package/esm5/lib/components/service-request/service-request.component.js +284 -176
  44. package/esm5/lib/components/table/table.component.js +27 -9
  45. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +17 -1
  46. package/esm5/lib/interfaces/IFee.js +13 -1
  47. package/esm5/lib/interfaces/IPayment.js +7 -1
  48. package/esm5/lib/interfaces/IPutNotificationRequest.js +23 -0
  49. package/esm5/lib/interfaces/IRefundContactDetails.js +25 -0
  50. package/esm5/lib/interfaces/IRefundFee.js +21 -0
  51. package/esm5/lib/interfaces/IRefundList.js +7 -1
  52. package/esm5/lib/interfaces/IRefundsNotifications.js +21 -0
  53. package/esm5/lib/interfaces/IRemission.js +7 -1
  54. package/esm5/lib/interfaces/IResubmitRefundRequest.js +8 -2
  55. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +5 -2
  56. package/esm5/lib/interfaces/PostRefundRetroRemission.js +16 -2
  57. package/esm5/lib/payment-lib.component.js +19 -2
  58. package/esm5/lib/payment-lib.module.js +3 -1
  59. package/esm5/lib/payment-lib.service.js +23 -1
  60. package/esm5/lib/services/notification/notification.service.js +89 -0
  61. package/esm5/lib/services/refunds/refunds.service.js +16 -1
  62. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
  63. package/fesm2015/hmcts-ccpay-web-component.js +1889 -491
  64. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  65. package/fesm5/hmcts-ccpay-web-component.js +2137 -576
  66. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  67. package/hmcts-ccpay-web-component.d.ts +32 -30
  68. package/hmcts-ccpay-web-component.metadata.json +1 -1
  69. package/lib/components/add-remission/add-remission.component.d.ts +47 -3
  70. package/lib/components/case-transactions/case-transactions.component.d.ts +4 -1
  71. package/lib/components/contact-details/contact-details.component.d.ts +49 -0
  72. package/lib/components/fee-summary/fee-summary.component.d.ts +2 -0
  73. package/lib/components/payment-view/payment-view.component.d.ts +25 -6
  74. package/lib/components/process-refund/process-refund.component.d.ts +6 -1
  75. package/lib/components/refund-status/refund-status.component.d.ts +36 -6
  76. package/lib/components/service-request/service-request.component.d.ts +30 -9
  77. package/lib/components/table/table.component.d.ts +1 -0
  78. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +4 -0
  79. package/lib/interfaces/IFee.d.ts +6 -0
  80. package/lib/interfaces/IPayment.d.ts +3 -0
  81. package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
  82. package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
  83. package/lib/interfaces/IRefundFee.d.ts +7 -0
  84. package/lib/interfaces/IRefundList.d.ts +4 -0
  85. package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
  86. package/lib/interfaces/IRemission.d.ts +3 -0
  87. package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -1
  88. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
  89. package/lib/interfaces/PostRefundRetroRemission.d.ts +7 -1
  90. package/lib/payment-lib.component.d.ts +6 -0
  91. package/lib/payment-lib.service.d.ts +3 -0
  92. package/lib/services/notification/notification.service.d.ts +15 -0
  93. package/lib/services/refunds/refunds.service.d.ts +2 -0
  94. package/package.json +5 -1
@@ -1,5 +1,5 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
- import { FormBuilder, FormGroup } from '@angular/forms';
2
+ import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
3
3
  import { IFee } from '../../interfaces/IFee';
4
4
  import { Router } from '@angular/router';
5
5
  import { PaymentViewService } from '../../services/payment-view/payment-view.service';
@@ -7,9 +7,11 @@ import { PaymentLibComponent } from '../../payment-lib.component';
7
7
  import { IPayment } from '../../interfaces/IPayment';
8
8
  import { RefundsService } from '../../services/refunds/refunds.service';
9
9
  import { IRefundReasons } from '../../interfaces/IRefundReasons';
10
+ import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
10
11
  import { ChangeDetectorRef } from '@angular/core';
11
12
  import { IRemission } from '../../interfaces/IRemission';
12
13
  import { OrderslistService } from '../../services/orderslist.service';
14
+ import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
13
15
  export declare class AddRemissionComponent implements OnInit {
14
16
  private formBuilder;
15
17
  private router;
@@ -19,6 +21,7 @@ export declare class AddRemissionComponent implements OnInit {
19
21
  private cd;
20
22
  private OrderslistService;
21
23
  fee: IFee;
24
+ fees: any[];
22
25
  payment: IPayment;
23
26
  remission: IRemission;
24
27
  ccdCaseNumber: string;
@@ -27,12 +30,19 @@ export declare class AddRemissionComponent implements OnInit {
27
30
  paymentGroupRef: string;
28
31
  isTurnOff: boolean;
29
32
  isRefundRemission: boolean;
33
+ isOldPcipalOff: boolean;
34
+ isNewPcipalOff: boolean;
30
35
  isStrategicFixEnable: boolean;
31
36
  paidAmount: any;
32
37
  isFromRefundListPage: boolean;
33
38
  isFromPaymentDetailPage: boolean;
34
39
  isFromServiceRequestPage: boolean;
40
+ isFullyRefund: boolean;
35
41
  feeamount: number;
42
+ refundPaymentReference: string;
43
+ isFromRefundStatusPage: boolean;
44
+ changeRefundReason: string;
45
+ isServiceRequest: string;
36
46
  LOGGEDINUSERROLES: string[];
37
47
  orderDetail: any[];
38
48
  orderRef: string;
@@ -50,6 +60,7 @@ export declare class AddRemissionComponent implements OnInit {
50
60
  code: string;
51
61
  }>;
52
62
  refundListAmount: EventEmitter<string>;
63
+ refundFees: EventEmitter<IFee[]>;
53
64
  refund: {
54
65
  reason: {
55
66
  duplicate: string;
@@ -58,6 +69,8 @@ export declare class AddRemissionComponent implements OnInit {
58
69
  other: string;
59
70
  };
60
71
  };
72
+ contactDetailsObj: IRefundContactDetails;
73
+ notification: any;
61
74
  remissionForm: FormGroup;
62
75
  hasErrors: boolean;
63
76
  viewStatus: string;
@@ -87,6 +100,7 @@ export declare class AddRemissionComponent implements OnInit {
87
100
  isPaymentSuccess: boolean;
88
101
  isRemissionApplied: boolean;
89
102
  remissionamt: number;
103
+ elementId: any;
90
104
  commonRefundReasons: any[];
91
105
  showReasonText: boolean;
92
106
  isRefundReasonsSelected: boolean;
@@ -97,6 +111,19 @@ export declare class AddRemissionComponent implements OnInit {
97
111
  pattern2: string;
98
112
  sendOrderDetail: any[];
99
113
  sendOrderRef: string;
114
+ paymentReference: string;
115
+ class: string;
116
+ errorMsg: any[];
117
+ totalRefundAmount: number;
118
+ quantityUpdated: number;
119
+ fullRefund: boolean;
120
+ allowedRefundAmount: number;
121
+ isRemissionsMatch: boolean;
122
+ paymentFees: IFee[];
123
+ paymentGroup: IPaymentGroup;
124
+ isStatusAllocated: boolean;
125
+ isFromCheckAnsPage: boolean;
126
+ refundAmtForFeeVolumes: number;
100
127
  component: {
101
128
  account_number: string;
102
129
  amount: number;
@@ -118,25 +145,42 @@ export declare class AddRemissionComponent implements OnInit {
118
145
  };
119
146
  constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
120
147
  ngOnInit(): void;
148
+ goToPaymentViewComponent(): void;
149
+ refundFeesList(): void;
150
+ readonly feesList: FormArray;
151
+ noneSelected(): boolean;
152
+ check_en(i: any, v1: any, AppAmt: any, Volume: any): void;
121
153
  addRemission(): void;
122
154
  confirmRemission(): void;
123
155
  resetRemissionForm(val: any, field: any): void;
124
156
  addRemissionCode(): void;
125
157
  gotoAddRetroRemissionCodePage(): void;
126
158
  gotoCheckRetroRemissionPage(payment: IPayment): void;
159
+ gotoAmountRetroRemission(): void;
127
160
  gotoProcessRetroRemissionPage(): void;
161
+ gotoProcessRetroRemission(note?: IRefundContactDetails): void;
128
162
  confirmRetroRemission(): void;
129
163
  processRefund(): void;
130
164
  gotoIssueRefundConfirmation(payment: IPayment): void;
131
165
  gotoIssueRefundPage(): void;
166
+ gotoIssuePage(isFullyRefund: any): void;
167
+ calAmtToRefund(value: any, amount: any, volume: any, i: any): void;
168
+ gotoContactDetailsPage(note?: IRefundContactDetails): void;
169
+ getRefundReasons(): void;
170
+ getErrorClass(elementId: any): void;
132
171
  changeIssueRefundReason(): void;
133
- confirmIssueRefund(): void;
134
- confirmRetroRefund(): void;
172
+ confirmIssueRefund(isFullyRefund: any): void;
173
+ gotoRefundReasonPage(): void;
135
174
  selectRadioButton(key: any, value: any): void;
136
175
  selectchange(args: any): void;
176
+ getContactDetails(obj: IRefundContactDetails, type: any): void;
177
+ gotoPartialFeeRefundScreen(): void;
137
178
  gotoServiceRequestPage(event: any): void;
179
+ gotoAddressPage(note?: IRefundContactDetails): void;
180
+ gotoRemissionSuccess(event: Event): void;
138
181
  gotoCasetransationPage(): void;
139
182
  gotoCasetransationPageCancelBtnClicked(event: Event): void;
140
183
  resetOrderData(): void;
184
+ changeRefundAmount(): void;
141
185
  getFormattedCurrency(currency: number): string | number;
142
186
  }
@@ -20,6 +20,7 @@ export declare class CaseTransactionsComponent implements OnInit {
20
20
  private OrderslistService;
21
21
  LOGGEDINUSERROLES: string[];
22
22
  isTakePayment: boolean;
23
+ isFromServiceRequestPage: boolean;
23
24
  takePayment: boolean;
24
25
  ccdCaseNumber: string;
25
26
  excReference: string;
@@ -38,7 +39,9 @@ export declare class CaseTransactionsComponent implements OnInit {
38
39
  dcnNumber: string;
39
40
  paymentRef: string;
40
41
  isTurnOff: boolean;
42
+ isNewPcipalOff: boolean;
41
43
  isRefundRemission: boolean;
44
+ isOldPcipalOff: boolean;
42
45
  isStrategicFixEnable: boolean;
43
46
  isAddFeeBtnEnabled: boolean;
44
47
  isExceptionRecord: boolean;
@@ -52,6 +55,7 @@ export declare class CaseTransactionsComponent implements OnInit {
52
55
  isRemoveBtnDisabled: boolean;
53
56
  feeId: IFee;
54
57
  clAmountDue: number;
58
+ overPaymentAmount: number;
55
59
  unprocessedRecordCount: number;
56
60
  isFeeRecordsExist: boolean;
57
61
  isGrpOutstandingAmtPositive: boolean;
@@ -86,7 +90,6 @@ export declare class CaseTransactionsComponent implements OnInit {
86
90
  allowedRolesToAccessRefund: string[];
87
91
  isEligible4PBAPayment: string[];
88
92
  currentDate: Date;
89
- isFromServiceRequestPage: boolean;
90
93
  navigationpage: string;
91
94
  remissionFeeAmt: number;
92
95
  constructor(router: Router, paymentViewService: PaymentViewService, bulkScaningPaymentService: BulkScaningPaymentService, caseTransactionsService: CaseTransactionsService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService);
@@ -0,0 +1,49 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { PaymentLibComponent } from '../../payment-lib.component';
4
+ import { NotificationService } from '../../services/notification/notification.service';
5
+ export declare class ContactDetailsComponent implements OnInit {
6
+ private formBuilder;
7
+ private notificationService;
8
+ private paymentLibComponent;
9
+ isEditOperation: boolean;
10
+ isEditOperationInRefundList: boolean;
11
+ addressObj: any;
12
+ assignContactDetails: EventEmitter<any>;
13
+ assignContactDetailsInFefundsList: EventEmitter<any>;
14
+ redirectToIssueRefund: EventEmitter<any>;
15
+ pageTitle: string;
16
+ errorMessage: string;
17
+ isEmailSAddressClicked: boolean;
18
+ isShowPickAddress: boolean;
19
+ isPostcodeClicked: boolean;
20
+ isManualAddressClicked: boolean;
21
+ emailAddressForm: FormGroup;
22
+ postCodeForm: FormGroup;
23
+ manualAddressForm: FormGroup;
24
+ addressPostcodeList: any[];
25
+ postcodeAddress: any;
26
+ isAddressBoxEmpty: boolean;
27
+ isEmailEmpty: boolean;
28
+ emailHasError: boolean;
29
+ isPostcodeEmpty: boolean;
30
+ postcodeHasError: boolean;
31
+ isaddressLine1Empty: boolean;
32
+ addressLine1HasError: boolean;
33
+ addressLine2HasError: boolean;
34
+ isTownOrCityEmpty: boolean;
35
+ townOrCityHasError: boolean;
36
+ isCountyEmpty: boolean;
37
+ countyHasError: boolean;
38
+ isMPostcodeEmpty: boolean;
39
+ mpostcodeHasError: boolean;
40
+ isCountryEmpty: boolean;
41
+ constructor(formBuilder: FormBuilder, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent);
42
+ ngOnInit(): void;
43
+ setEditDetails(): void;
44
+ selectContactOption(type: any, isLinkedClied: any): void;
45
+ finalFormSubmit(): void;
46
+ postcodeValidation(str: any): void;
47
+ redirection(event: any): void;
48
+ resetForm(val: any, field: any): void;
49
+ }
@@ -20,6 +20,8 @@ export declare class FeeSummaryComponent implements OnInit {
20
20
  ccdCaseNumber: string;
21
21
  isTurnOff: string;
22
22
  caseType: string;
23
+ isOldPcipalOff: string;
24
+ isNewPcipalOff: string;
23
25
  bsPaymentDcnNumber: string;
24
26
  paymentGroup: IPaymentGroup;
25
27
  errorMessage: string;
@@ -7,6 +7,7 @@ import { IPayment } from '../../interfaces/IPayment';
7
7
  import { IRemission } from '../../interfaces/IRemission';
8
8
  import { ChangeDetectorRef } from '@angular/core';
9
9
  import { OrderslistService } from '../../services/orderslist.service';
10
+ import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
10
11
  export declare class PaymentViewComponent implements OnInit {
11
12
  private paymentViewService;
12
13
  private paymentLibComponent;
@@ -15,6 +16,8 @@ export declare class PaymentViewComponent implements OnInit {
15
16
  isTurnOff: boolean;
16
17
  isTakePayment: boolean;
17
18
  caseType: boolean;
19
+ isNewPcipalOff: boolean;
20
+ isOldPcipalOff: boolean;
18
21
  orderRef: string;
19
22
  orderStatus: string;
20
23
  orderTotalPayments: number;
@@ -26,6 +29,8 @@ export declare class PaymentViewComponent implements OnInit {
26
29
  orderFeesTotal: number;
27
30
  orderRemissionTotal: number;
28
31
  orderDetail: any[];
32
+ fees: any;
33
+ isFullyRefund: boolean;
29
34
  isServiceRequest: string;
30
35
  paymentGroup: IPaymentGroup;
31
36
  errorMessage: string;
@@ -47,24 +52,38 @@ export declare class PaymentViewComponent implements OnInit {
47
52
  serviceReference: string;
48
53
  isFromServiceRequestPage: boolean;
49
54
  isFromPaymentDetailPage: boolean;
55
+ paymentFees: IFee[];
56
+ paymentType: string;
57
+ isContinueBtnDisabled: boolean;
58
+ viewCompStatus: string;
59
+ contactDetailsObj: IRefundContactDetails;
60
+ notification: any;
61
+ isConfirmationBtnDisabled: boolean;
62
+ refundReference: string;
63
+ refundAmount: string;
50
64
  constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
51
65
  ngAfterContentChecked(): void;
52
66
  ngOnInit(): void;
53
67
  readonly isCardPayment: boolean;
54
68
  readonly isTelephonyPayment: boolean;
55
69
  goToPaymentList(): void;
70
+ getOverPaymentValue(): number;
56
71
  goToServiceRequestPage(): void;
57
72
  goToCaseTransationPage(event: any): void;
58
73
  addRemission(fee: IFee): void;
59
74
  checkForFees(paymentGroup: any): boolean;
75
+ processRefund(): void;
76
+ gotoAddressPage(note?: IRefundContactDetails): void;
60
77
  addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
61
- chkIsRefundRemissionBtnEnable(): boolean;
78
+ goToPaymentViewComponent(): void;
62
79
  issueRefund(paymentgrp: IPaymentGroup): void;
63
80
  getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
64
- chkIssueRefundBtnEnable(payment: IPayment): boolean;
65
- chkForPBAPayment(): boolean;
66
- chkForAddRemission(feeCode: string): boolean;
67
- check4AllowedRoles2AccessRefund: () => boolean;
68
- allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
81
+ chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
82
+ chkIsAddRefundBtnEnable(remission: IRemission): boolean;
83
+ chkIsAddRemissionBtnEnable(fee: IFee): boolean;
84
+ selectPymentOption(paymentType: string): void;
85
+ continuePayment(paymentgrp: IPaymentGroup): void;
86
+ gotoPaymentSelectPage(event: Event): void;
87
+ getContactDetails(obj: IRefundContactDetails): void;
69
88
  resetOrderData(): void;
70
89
  }
@@ -5,10 +5,12 @@ import { IRefundAction } from '../../interfaces/IRefundAction';
5
5
  import { IRefundList } from '../../interfaces/IRefundList';
6
6
  import { IRefundRejectReason } from '../../interfaces/IRefundRejectReason';
7
7
  import { OrderslistService } from '../../services/orderslist.service';
8
+ import { PaymentViewService } from '../../services/payment-view/payment-view.service';
8
9
  import { PaymentLibComponent } from '../../payment-lib.component';
9
10
  import { ActivatedRoute, Router } from '@angular/router';
10
11
  export declare class ProcessRefundComponent implements OnInit {
11
12
  private RefundsService;
13
+ private paymentViewService;
12
14
  private formBuilder;
13
15
  private OrderslistService;
14
16
  private paymentLibComponent;
@@ -42,8 +44,10 @@ export declare class ProcessRefundComponent implements OnInit {
42
44
  navigationpage: string;
43
45
  ccdCaseNumber: string;
44
46
  isFromRefundListPage: boolean;
47
+ cpoDetails: any;
48
+ isCPODown: boolean;
45
49
  isConfirmButtondisabled: boolean;
46
- constructor(RefundsService: RefundsService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
50
+ constructor(RefundsService: RefundsService, paymentViewService: PaymentViewService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
47
51
  ngOnInit(): void;
48
52
  checkRefundActions(code: string): void;
49
53
  processRefundSubmit(): void;
@@ -55,6 +59,7 @@ export declare class ProcessRefundComponent implements OnInit {
55
59
  loadRefundListPage(): void;
56
60
  loadRefundsHomePage(): void;
57
61
  redirecttoRefundListPage(): void;
62
+ loadCaseTransactionPage(): void;
58
63
  resetForm(vals: any, field: any): void;
59
64
  goToCaseReview(): void;
60
65
  }
@@ -1,27 +1,37 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { RefundsService } from '../../services/refunds/refunds.service';
3
+ import { NotificationService } from '../../services/notification/notification.service';
3
4
  import { FormBuilder, FormGroup } from '@angular/forms';
4
5
  import { IRefundList } from '../../interfaces/IRefundList';
5
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
6
- import { Router } from '@angular/router';
6
+ import { IRefundsNotifications } from '../../interfaces/IRefundsNotifications';
7
7
  import { OrderslistService } from '../../services/orderslist.service';
8
+ import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
8
9
  import { IRefundStatus } from '../../interfaces/IRefundStatus';
9
10
  import { PaymentLibComponent } from '../../payment-lib.component';
11
+ import { PaymentViewService } from '../../services/payment-view/payment-view.service';
12
+ import { IPayment } from '../../interfaces/IPayment';
13
+ import { IFee } from '../../interfaces/IFee';
14
+ import { IRefundFee } from '../../interfaces/IRefundFee';
10
15
  export declare class RefundStatusComponent implements OnInit {
11
16
  private formBuilder;
12
17
  private refundService;
18
+ private notificationService;
13
19
  private paymentLibComponent;
14
- private paymentViewService;
15
- private router;
16
20
  private OrderslistService;
21
+ private paymentViewService;
17
22
  LOGGEDINUSERROLES: string[];
18
23
  API_ROOT: string;
24
+ isOldPcipalOff: boolean;
25
+ isNewPcipalOff: boolean;
19
26
  ccdCaseNumber: string;
20
27
  isTurnOff: boolean;
28
+ orderParty: string;
21
29
  isEliginbleToAccess: boolean;
22
30
  refundStatusForm: FormGroup;
23
31
  selectedRefundReason: string;
24
32
  rejectedRefundList: IRefundList[];
33
+ notificationList: any;
34
+ notification: any;
25
35
  approvalStatus: string;
26
36
  rejectStatus: string;
27
37
  errorMessage: any;
@@ -38,6 +48,11 @@ export declare class RefundStatusComponent implements OnInit {
38
48
  refundHasError: boolean;
39
49
  refundReasons: any[];
40
50
  refundStatusHistories: IRefundStatus[];
51
+ refundNotifications: IRefundStatus[];
52
+ isResendOperationSuccess: boolean;
53
+ isEditDetailsClicked: boolean;
54
+ isEditAddressDeatilsClicked: boolean;
55
+ addressDetails: IRefundContactDetails;
41
56
  refundReference: string;
42
57
  refundAmount: string;
43
58
  refundCode: string;
@@ -48,22 +63,37 @@ export declare class RefundStatusComponent implements OnInit {
48
63
  isLastUpdatedByCurrentUser: boolean;
49
64
  isProcessRefund: boolean;
50
65
  changedAmount: number;
51
- constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
66
+ isRemissionsMatch: boolean;
67
+ payment: IPayment;
68
+ changeRefundReason: string;
69
+ fees: IFee[];
70
+ refundFees: IRefundFee[];
71
+ allowedRolesToAccessRefund: string[];
72
+ constructor(formBuilder: FormBuilder, refundService: RefundsService, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService, paymentViewService: PaymentViewService);
52
73
  ngOnInit(): void;
53
74
  isFromPayBubble: () => boolean;
54
75
  getRefundsStatusHistoryList(): void;
76
+ getRefundsNotification(): void;
55
77
  goToRefundView(refundlist: IRefundList, navigationpage: string): void;
56
78
  loadCaseTransactionPage(): void;
57
79
  loadRefundListPage(): void;
58
80
  gotoReviewDetailsPage(event: any): void;
59
81
  gotoReviewAndReSubmitPage(): void;
60
- gotoRefundReasonPage(): void;
82
+ gotoRefundReasonPage(refundReason: string): void;
61
83
  gotoAmountPage(): void;
62
84
  goToReviewAndSubmitView(): void;
63
85
  resetRemissionForm(val: any, field: any): void;
64
86
  selectRadioButton(key: any, value: any): void;
65
87
  getRefundListReason(refundListReason: any): void;
66
88
  getRefundAmount(amount: number): void;
89
+ getRefundFees(fees: IFee[]): void;
67
90
  gotoReviewRefundConfirmationPage(): void;
91
+ gotoEditAddressDetails(note: IRefundsNotifications): void;
92
+ getContactDetails(obj: IRefundContactDetails): void;
93
+ getContactDetailsForRefundList(obj: IRefundContactDetails): void;
94
+ gotoEditDetailsPage(note?: any): void;
95
+ submitEditDetail(): void;
96
+ putResend(notification: IRefundsNotifications): void;
97
+ gotoCasetransationPageCancelBtnClicked(Event: Event): void;
68
98
  goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
69
99
  }
@@ -1,4 +1,4 @@
1
- import { OnInit, EventEmitter } from '@angular/core';
1
+ import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
2
  import { PaymentLibComponent } from '../../payment-lib.component';
3
3
  import { IPayment } from '../../interfaces/IPayment';
4
4
  import { IRemission } from '../../interfaces/IRemission';
@@ -9,10 +9,12 @@ import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
9
9
  import { Router } from '@angular/router';
10
10
  import { PaymentViewService } from '../../services/payment-view/payment-view.service';
11
11
  import { OrderslistService } from '../../services/orderslist.service';
12
+ import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
12
13
  export declare class ServiceRequestComponent implements OnInit {
13
14
  private paymentLibComponent;
14
15
  private paymentViewService;
15
16
  private OrderslistService;
17
+ private cd;
16
18
  private router;
17
19
  LOGGEDINUSERROLES: string[];
18
20
  viewStatus: string;
@@ -25,18 +27,22 @@ export declare class ServiceRequestComponent implements OnInit {
25
27
  orderFeesTotal: number;
26
28
  orderTotalPayments: number;
27
29
  orderRemissionTotal: number;
30
+ paymentGroupList: IPaymentGroup;
28
31
  takePayment: boolean;
29
32
  ccdCaseNumber: boolean;
30
33
  isServiceRequest: string;
31
34
  goToServiceRquestComponent: EventEmitter<any>;
35
+ viewCompStatus: any;
32
36
  servicerequest: string;
37
+ paymentType: string;
33
38
  excReference: string;
34
39
  paymentGroups: any[];
35
40
  payments: IPayment[];
36
41
  nonPayments: IPayment[];
37
42
  allPayments: IPayment[];
38
43
  remissions: IRemission[];
39
- fees: IFee[];
44
+ paymentFees: IFee[];
45
+ fees: any;
40
46
  errorMessage: string;
41
47
  totalFees: number;
42
48
  totalPayments: number;
@@ -46,7 +52,9 @@ export declare class ServiceRequestComponent implements OnInit {
46
52
  dcnNumber: string;
47
53
  paymentRef: string;
48
54
  isTurnOff: boolean;
55
+ isNewPcipalOff: boolean;
49
56
  isRefundRemission: boolean;
57
+ isOldPcipalOff: boolean;
50
58
  isStrategicFixEnable: boolean;
51
59
  isAddFeeBtnEnabled: boolean;
52
60
  isExceptionRecord: boolean;
@@ -64,6 +72,9 @@ export declare class ServiceRequestComponent implements OnInit {
64
72
  isGrpOutstandingAmtPositive: boolean;
65
73
  totalRefundAmount: Number;
66
74
  caseType: String;
75
+ isConfirmationBtnDisabled: boolean;
76
+ refundReference: string;
77
+ refundAmount: string;
67
78
  payment: IPayment;
68
79
  paymentGroup: IPaymentGroup;
69
80
  paymentView: IPaymentView;
@@ -73,6 +84,9 @@ export declare class ServiceRequestComponent implements OnInit {
73
84
  cpoDetails: any;
74
85
  serviceRequestValue: string;
75
86
  orderAddBtnEnable: boolean;
87
+ isFromPaymentDetailPage: boolean;
88
+ contactDetailsObj: IRefundContactDetails;
89
+ notification: any;
76
90
  isCPODown: boolean;
77
91
  test: boolean;
78
92
  isPBA: boolean;
@@ -83,22 +97,29 @@ export declare class ServiceRequestComponent implements OnInit {
83
97
  isFromServiceRequestPage: boolean;
84
98
  navigationpage: string;
85
99
  remissionFeeAmt: number;
86
- constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, router: Router);
100
+ isContinueBtnDisabled: boolean;
101
+ isFullyRefund: boolean;
102
+ constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, cd: ChangeDetectorRef, router: Router);
87
103
  ngOnInit(): void;
88
104
  goToServiceRequestPage(): void;
89
105
  goToCaseTransationPage(event: any): void;
90
- chkForAddRemission(feeCode: string): boolean;
91
- chkForPBAPayment(): boolean;
92
106
  addRemission(fee: IFee): void;
93
107
  addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
94
108
  cancelRemoval(): void;
95
109
  removeFee(fee: any): void;
96
- chkIssueRefundBtnEnable(payment: IPayment): boolean;
97
- chkIsRefundRemissionBtnEnable(): boolean;
98
- check4AllowedRoles2AccessRefund: () => boolean;
99
- allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
100
110
  issueRefund(payment: IPayment): void;
101
111
  goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
102
112
  goToPaymentViewComponent(paymentGroup: any): void;
113
+ chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
114
+ chkIsAddRefundBtnEnable(remission: IRemission): boolean;
115
+ chkIsAddRemissionBtnEnable(fee: IFee): boolean;
103
116
  resetOrderData(): void;
117
+ selectPymentOption(paymentType: string): void;
118
+ goToPaymentViewComp(): void;
119
+ continuePayment(paymentgrp: IPaymentGroup): void;
120
+ getContactDetails(obj: IRefundContactDetails): void;
121
+ gotoPaymentSelectPage(event: Event): void;
122
+ gotoAddressPage(note?: IRefundContactDetails): void;
123
+ processRefund(): void;
124
+ getOverPaymentValue(): number;
104
125
  }
@@ -19,6 +19,7 @@ export declare class TableComponent {
19
19
  displayedColumns: string[];
20
20
  dataSource: MatTableDataSource<any>;
21
21
  userLst: any;
22
+ serviceLst: any;
22
23
  actualcount: number;
23
24
  count: number;
24
25
  refundList: IRefundList[];
@@ -16,6 +16,8 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
16
16
  ISTURNOFF: boolean;
17
17
  IS_BUTTON_ENABLE: boolean;
18
18
  IS_OS_AMT_AVAILABLE: boolean;
19
+ ISNEWPCIPALOFF: boolean;
20
+ ISOLDPCIPALOFF: boolean;
19
21
  ISSFENABLE: boolean;
20
22
  PAYMENTSLENGTH: Number;
21
23
  LEVEL: Number;
@@ -36,6 +38,8 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
36
38
  isExceptionCase: boolean;
37
39
  serviceId: string;
38
40
  isBulkScanEnable: any;
41
+ isNewpcipaloff: any;
42
+ isOldpcipaloff: any;
39
43
  isTurnOff: boolean;
40
44
  isStFixEnable: any;
41
45
  unassignedRecordSelectedList: IBSPayments;
@@ -20,4 +20,10 @@ export interface IFee {
20
20
  date_updated?: string;
21
21
  amount_due?: number;
22
22
  remission_enable?: boolean;
23
+ add_remission?: boolean;
24
+ over_payment?: number;
25
+ refund_amount?: number;
26
+ updated_volume?: number;
27
+ selected?: any;
28
+ issue_refund_add_refund_add_remission: boolean;
23
29
  }
@@ -29,4 +29,7 @@ export interface IPayment {
29
29
  payment_group_reference: string;
30
30
  paymentGroupReference?: string;
31
31
  refund_enable?: boolean;
32
+ over_payment?: number;
33
+ issue_refund_add_refund_add_remission: boolean;
34
+ issue_refund: boolean;
32
35
  }
@@ -0,0 +1,6 @@
1
+ import { IRefundContactDetails } from './IRefundContactDetails';
2
+ export declare class IPutNotificationRequest {
3
+ recipient_email_address?: string;
4
+ recipient_postal_address?: IRefundContactDetails;
5
+ constructor(contactDetails: any, notificationType: string);
6
+ }
@@ -0,0 +1,9 @@
1
+ export interface IRefundContactDetails {
2
+ address_line?: string;
3
+ city?: string;
4
+ country?: string;
5
+ county?: string;
6
+ email?: string;
7
+ notification_type?: string;
8
+ postal_code?: string;
9
+ }
@@ -0,0 +1,7 @@
1
+ export interface IRefundFee {
2
+ fee_id: number;
3
+ code: string;
4
+ version: string;
5
+ volume: number;
6
+ refund_amount: number;
7
+ }
@@ -1,3 +1,4 @@
1
+ import { IRefundContactDetails } from './IRefundContactDetails';
1
2
  export interface IRefundList {
2
3
  amount: number;
3
4
  ccd_case_number: string;
@@ -10,5 +11,8 @@ export interface IRefundList {
10
11
  description: string;
11
12
  name: string;
12
13
  };
14
+ contact_details: IRefundContactDetails;
13
15
  user_full_name: string;
16
+ service_type: string;
17
+ code: string;
14
18
  }
@@ -0,0 +1,16 @@
1
+ export interface IRefundsNotifications {
2
+ contact_details: {
3
+ address_line: string;
4
+ city: string;
5
+ country: string;
6
+ county: string;
7
+ date_created: string;
8
+ date_updated: string;
9
+ email: string;
10
+ postal_code: string;
11
+ };
12
+ date_created: string;
13
+ date_updated: string;
14
+ notification_type: string;
15
+ reference: string;
16
+ }
@@ -6,4 +6,7 @@ export interface IRemission {
6
6
  ccd_case_number: string;
7
7
  fee_code: string;
8
8
  date_created: string;
9
+ fee_id: number;
10
+ issue_refund_add_refund_add_remission: boolean;
11
+ add_refund: boolean;
9
12
  }
@@ -1,5 +1,9 @@
1
+ import { IFee } from "./IFee";
2
+ import { IRefundContactDetails } from "./IRefundContactDetails";
1
3
  export declare class IResubmitRefundRequest {
2
4
  refund_reason: string;
3
5
  amount: number;
4
- constructor(refund_reason: string, amount: number);
6
+ contact_details: IRefundContactDetails;
7
+ refund_fees: IFee[];
8
+ constructor(refund_reason: string, amount: number, contact_details: any, refund_fees: any[]);
5
9
  }
@@ -1,4 +1,6 @@
1
+ import { IRefundContactDetails } from './IRefundContactDetails';
1
2
  export declare class PostIssueRefundRetroRemission {
2
3
  remissionReference: string;
3
- constructor(remissionReference: string);
4
+ contact_details: IRefundContactDetails;
5
+ constructor(remissionReference: string, contactDeatils: any);
4
6
  }