@hmcts/ccpay-web-component 5.0.2-beta1 → 5.0.2-beta102
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 +167 -1405
- 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/hmcts-ccpay-web-component.js +31 -33
- package/esm2015/lib/components/add-remission/add-remission.component.js +65 -572
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +7 -19
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +5 -43
- package/esm2015/lib/components/payment-view/payment-view.component.js +19 -16
- package/esm2015/lib/components/process-refund/process-refund.component.js +3 -31
- package/esm2015/lib/components/refund-status/refund-status.component.js +27 -155
- package/esm2015/lib/components/service-request/service-request.component.js +6 -14
- package/esm2015/lib/components/table/table.component.js +9 -24
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -17
- package/esm2015/lib/interfaces/IRefundList.js +1 -5
- package/esm2015/lib/interfaces/IRemission.js +1 -3
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +2 -6
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +2 -18
- package/esm2015/lib/payment-lib.component.js +3 -20
- package/esm2015/lib/payment-lib.module.js +1 -3
- package/esm2015/lib/payment-lib.service.js +1 -16
- package/esm2015/lib/services/refunds/refunds.service.js +2 -11
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +2 -2
- package/esm5/hmcts-ccpay-web-component.js +31 -33
- package/esm5/lib/components/add-remission/add-remission.component.js +71 -689
- package/esm5/lib/components/case-transactions/case-transactions.component.js +7 -19
- package/esm5/lib/components/fee-summary/fee-summary.component.js +5 -43
- package/esm5/lib/components/payment-view/payment-view.component.js +22 -17
- package/esm5/lib/components/process-refund/process-refund.component.js +3 -30
- package/esm5/lib/components/refund-status/refund-status.component.js +25 -183
- package/esm5/lib/components/service-request/service-request.component.js +6 -15
- package/esm5/lib/components/table/table.component.js +9 -27
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -17
- package/esm5/lib/interfaces/IRefundList.js +1 -5
- package/esm5/lib/interfaces/IRemission.js +1 -3
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +2 -5
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +2 -14
- package/esm5/lib/payment-lib.component.js +2 -16
- package/esm5/lib/payment-lib.module.js +1 -3
- package/esm5/lib/payment-lib.service.js +1 -23
- package/esm5/lib/services/refunds/refunds.service.js +2 -17
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +2 -2
- package/fesm2015/hmcts-ccpay-web-component.js +136 -1226
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +139 -1400
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +30 -32
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +2 -39
- package/lib/components/case-transactions/case-transactions.component.d.ts +0 -3
- package/lib/components/fee-summary/fee-summary.component.d.ts +0 -2
- package/lib/components/payment-view/payment-view.component.d.ts +3 -4
- package/lib/components/process-refund/process-refund.component.d.ts +1 -5
- package/lib/components/refund-status/refund-status.component.d.ts +5 -22
- package/lib/components/service-request/service-request.component.d.ts +1 -3
- package/lib/components/table/table.component.d.ts +0 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +0 -4
- package/lib/interfaces/IRefundList.d.ts +0 -3
- package/lib/interfaces/IRemission.d.ts +0 -1
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -3
- package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -6
- package/lib/payment-lib.component.d.ts +0 -5
- package/lib/payment-lib.service.d.ts +0 -3
- package/lib/services/refunds/refunds.service.d.ts +0 -2
- package/package.json +1 -5
- package/esm2015/lib/components/contact-details/contact-details.component.js +0 -406
- package/esm2015/lib/interfaces/IPutNotificationRequest.js +0 -25
- package/esm2015/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm2015/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm2015/lib/services/notification/notification.service.js +0 -85
- package/esm5/lib/components/contact-details/contact-details.component.js +0 -431
- package/esm5/lib/interfaces/IPutNotificationRequest.js +0 -23
- package/esm5/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm5/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm5/lib/services/notification/notification.service.js +0 -89
- package/lib/components/contact-details/contact-details.component.d.ts +0 -47
- package/lib/interfaces/IPutNotificationRequest.d.ts +0 -6
- package/lib/interfaces/IRefundContactDetails.d.ts +0 -9
- package/lib/interfaces/IRefundsNotifications.d.ts +0 -16
- package/lib/services/notification/notification.service.d.ts +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup
|
|
2
|
+
import { FormBuilder, FormGroup } 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,11 +7,9 @@ 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';
|
|
11
10
|
import { ChangeDetectorRef } from '@angular/core';
|
|
12
11
|
import { IRemission } from '../../interfaces/IRemission';
|
|
13
12
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
14
|
-
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
15
13
|
export declare class AddRemissionComponent implements OnInit {
|
|
16
14
|
private formBuilder;
|
|
17
15
|
private router;
|
|
@@ -21,7 +19,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
21
19
|
private cd;
|
|
22
20
|
private OrderslistService;
|
|
23
21
|
fee: IFee;
|
|
24
|
-
fees: any[];
|
|
25
22
|
payment: IPayment;
|
|
26
23
|
remission: IRemission;
|
|
27
24
|
ccdCaseNumber: string;
|
|
@@ -30,8 +27,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
30
27
|
paymentGroupRef: string;
|
|
31
28
|
isTurnOff: boolean;
|
|
32
29
|
isRefundRemission: boolean;
|
|
33
|
-
isOldPcipalOff: boolean;
|
|
34
|
-
isNewPcipalOff: boolean;
|
|
35
30
|
isStrategicFixEnable: boolean;
|
|
36
31
|
paidAmount: any;
|
|
37
32
|
isFromRefundListPage: boolean;
|
|
@@ -63,8 +58,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
63
58
|
other: string;
|
|
64
59
|
};
|
|
65
60
|
};
|
|
66
|
-
contactDetailsObj: IRefundContactDetails;
|
|
67
|
-
notification: any;
|
|
68
61
|
remissionForm: FormGroup;
|
|
69
62
|
hasErrors: boolean;
|
|
70
63
|
viewStatus: string;
|
|
@@ -94,7 +87,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
94
87
|
isPaymentSuccess: boolean;
|
|
95
88
|
isRemissionApplied: boolean;
|
|
96
89
|
remissionamt: number;
|
|
97
|
-
elementId: any;
|
|
98
90
|
commonRefundReasons: any[];
|
|
99
91
|
showReasonText: boolean;
|
|
100
92
|
isRefundReasonsSelected: boolean;
|
|
@@ -105,19 +97,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
105
97
|
pattern2: string;
|
|
106
98
|
sendOrderDetail: any[];
|
|
107
99
|
sendOrderRef: string;
|
|
108
|
-
paymentReference: string;
|
|
109
|
-
class: string;
|
|
110
|
-
errorMsg: any[];
|
|
111
|
-
totalRefundAmount: number;
|
|
112
|
-
quantityUpdated: number;
|
|
113
|
-
fullRefund: boolean;
|
|
114
|
-
allowedRefundAmount: number;
|
|
115
|
-
isRemissionsMatch: boolean;
|
|
116
|
-
paymentFees: IFee[];
|
|
117
|
-
paymentGroup: IPaymentGroup;
|
|
118
|
-
isStatusAllocated: boolean;
|
|
119
|
-
isFromCheckAnsPage: boolean;
|
|
120
|
-
refundAmtForFeeVolumes: number;
|
|
121
100
|
component: {
|
|
122
101
|
account_number: string;
|
|
123
102
|
amount: number;
|
|
@@ -139,41 +118,25 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
139
118
|
};
|
|
140
119
|
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
141
120
|
ngOnInit(): void;
|
|
142
|
-
refundFeesList(): void;
|
|
143
|
-
readonly feesList: FormArray;
|
|
144
|
-
noneSelected(): boolean;
|
|
145
|
-
check_en(i: any, v1: any, AppAmt: any, Volume: any): void;
|
|
146
121
|
addRemission(): void;
|
|
147
122
|
confirmRemission(): void;
|
|
148
123
|
resetRemissionForm(val: any, field: any): void;
|
|
149
124
|
addRemissionCode(): void;
|
|
150
125
|
gotoAddRetroRemissionCodePage(): void;
|
|
151
126
|
gotoCheckRetroRemissionPage(payment: IPayment): void;
|
|
152
|
-
gotoAmountRetroRemission(): void;
|
|
153
127
|
gotoProcessRetroRemissionPage(): void;
|
|
154
|
-
gotoProcessRetroRemission(note?: IRefundContactDetails): void;
|
|
155
128
|
confirmRetroRemission(): void;
|
|
156
129
|
processRefund(): void;
|
|
157
130
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
158
131
|
gotoIssueRefundPage(): void;
|
|
159
|
-
gotoIssuePage(): void;
|
|
160
|
-
calAmtToRefund(value: any, amount: any, volume: any, i: any): void;
|
|
161
|
-
gotoContactDetailsPage(note?: IRefundContactDetails): void;
|
|
162
|
-
getRefundReasons(): void;
|
|
163
|
-
getErrorClass(elementId: any): void;
|
|
164
132
|
changeIssueRefundReason(): void;
|
|
165
133
|
confirmIssueRefund(): void;
|
|
166
|
-
|
|
134
|
+
confirmRetroRefund(): void;
|
|
167
135
|
selectRadioButton(key: any, value: any): void;
|
|
168
136
|
selectchange(args: any): void;
|
|
169
|
-
getContactDetails(obj: IRefundContactDetails, type: any): void;
|
|
170
|
-
gotoPartialFeeRefundScreen(): void;
|
|
171
137
|
gotoServiceRequestPage(event: any): void;
|
|
172
|
-
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
173
|
-
gotoRemissionSuccess(event: Event): void;
|
|
174
138
|
gotoCasetransationPage(): void;
|
|
175
139
|
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
176
140
|
resetOrderData(): void;
|
|
177
|
-
changeRefundAmount(): void;
|
|
178
141
|
getFormattedCurrency(currency: number): string | number;
|
|
179
142
|
}
|
|
@@ -39,9 +39,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
39
39
|
dcnNumber: string;
|
|
40
40
|
paymentRef: string;
|
|
41
41
|
isTurnOff: boolean;
|
|
42
|
-
isNewPcipalOff: boolean;
|
|
43
42
|
isRefundRemission: boolean;
|
|
44
|
-
isOldPcipalOff: boolean;
|
|
45
43
|
isStrategicFixEnable: boolean;
|
|
46
44
|
isAddFeeBtnEnabled: boolean;
|
|
47
45
|
isExceptionRecord: boolean;
|
|
@@ -55,7 +53,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
55
53
|
isRemoveBtnDisabled: boolean;
|
|
56
54
|
feeId: IFee;
|
|
57
55
|
clAmountDue: number;
|
|
58
|
-
overPaymentAmount: number;
|
|
59
56
|
unprocessedRecordCount: number;
|
|
60
57
|
isFeeRecordsExist: boolean;
|
|
61
58
|
isGrpOutstandingAmtPositive: boolean;
|
|
@@ -20,8 +20,6 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
20
20
|
ccdCaseNumber: string;
|
|
21
21
|
isTurnOff: string;
|
|
22
22
|
caseType: string;
|
|
23
|
-
isOldPcipalOff: string;
|
|
24
|
-
isNewPcipalOff: string;
|
|
25
23
|
bsPaymentDcnNumber: string;
|
|
26
24
|
paymentGroup: IPaymentGroup;
|
|
27
25
|
errorMessage: string;
|
|
@@ -15,8 +15,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
15
15
|
isTurnOff: boolean;
|
|
16
16
|
isTakePayment: boolean;
|
|
17
17
|
caseType: boolean;
|
|
18
|
-
isNewPcipalOff: boolean;
|
|
19
|
-
isOldPcipalOff: boolean;
|
|
20
18
|
orderRef: string;
|
|
21
19
|
orderStatus: string;
|
|
22
20
|
orderTotalPayments: number;
|
|
@@ -28,6 +26,7 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
28
26
|
orderFeesTotal: number;
|
|
29
27
|
orderRemissionTotal: number;
|
|
30
28
|
orderDetail: any[];
|
|
29
|
+
isServiceRequest: string;
|
|
31
30
|
paymentGroup: IPaymentGroup;
|
|
32
31
|
errorMessage: string;
|
|
33
32
|
ccdCaseNumber: string;
|
|
@@ -48,13 +47,13 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
48
47
|
serviceReference: string;
|
|
49
48
|
isFromServiceRequestPage: boolean;
|
|
50
49
|
isFromPaymentDetailPage: boolean;
|
|
51
|
-
paymentFees: IFee[];
|
|
52
50
|
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
53
51
|
ngAfterContentChecked(): void;
|
|
54
52
|
ngOnInit(): void;
|
|
55
53
|
readonly isCardPayment: boolean;
|
|
56
54
|
readonly isTelephonyPayment: boolean;
|
|
57
55
|
goToPaymentList(): void;
|
|
56
|
+
goToServiceRequestPage(): void;
|
|
58
57
|
goToCaseTransationPage(event: any): void;
|
|
59
58
|
addRemission(fee: IFee): void;
|
|
60
59
|
checkForFees(paymentGroup: any): boolean;
|
|
@@ -64,7 +63,7 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
64
63
|
getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
|
|
65
64
|
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
66
65
|
chkForPBAPayment(): boolean;
|
|
67
|
-
chkForAddRemission(feeCode: string
|
|
66
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
68
67
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
69
68
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
70
69
|
resetOrderData(): void;
|
|
@@ -5,12 +5,10 @@ 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';
|
|
9
8
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
10
9
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
11
10
|
export declare class ProcessRefundComponent implements OnInit {
|
|
12
11
|
private RefundsService;
|
|
13
|
-
private paymentViewService;
|
|
14
12
|
private formBuilder;
|
|
15
13
|
private OrderslistService;
|
|
16
14
|
private paymentLibComponent;
|
|
@@ -44,10 +42,8 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
44
42
|
navigationpage: string;
|
|
45
43
|
ccdCaseNumber: string;
|
|
46
44
|
isFromRefundListPage: boolean;
|
|
47
|
-
cpoDetails: any;
|
|
48
|
-
isCPODown: boolean;
|
|
49
45
|
isConfirmButtondisabled: boolean;
|
|
50
|
-
constructor(RefundsService: RefundsService,
|
|
46
|
+
constructor(RefundsService: RefundsService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
51
47
|
ngOnInit(): void;
|
|
52
48
|
checkRefundActions(code: string): void;
|
|
53
49
|
processRefundSubmit(): void;
|
|
@@ -1,30 +1,25 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
3
|
-
import { NotificationService } from '../../services/notification/notification.service';
|
|
4
3
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
4
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
6
|
-
import {
|
|
5
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
7
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
-
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
9
8
|
import { IRefundStatus } from '../../interfaces/IRefundStatus';
|
|
10
9
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
11
10
|
export declare class RefundStatusComponent implements OnInit {
|
|
12
11
|
private formBuilder;
|
|
13
12
|
private refundService;
|
|
14
|
-
private notificationService;
|
|
15
13
|
private paymentLibComponent;
|
|
14
|
+
private paymentViewService;
|
|
15
|
+
private router;
|
|
16
16
|
private OrderslistService;
|
|
17
17
|
LOGGEDINUSERROLES: string[];
|
|
18
|
-
isOldPcipalOff: boolean;
|
|
19
|
-
isNewPcipalOff: boolean;
|
|
20
18
|
ccdCaseNumber: string;
|
|
21
19
|
isTurnOff: boolean;
|
|
22
|
-
orderParty: string;
|
|
23
20
|
refundStatusForm: FormGroup;
|
|
24
21
|
selectedRefundReason: string;
|
|
25
22
|
rejectedRefundList: IRefundList[];
|
|
26
|
-
notificationList: IRefundsNotifications;
|
|
27
|
-
notification: any;
|
|
28
23
|
approvalStatus: string;
|
|
29
24
|
rejectStatus: string;
|
|
30
25
|
errorMessage: any;
|
|
@@ -41,11 +36,6 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
41
36
|
refundHasError: boolean;
|
|
42
37
|
refundReasons: any[];
|
|
43
38
|
refundStatusHistories: IRefundStatus[];
|
|
44
|
-
refundNotifications: IRefundStatus[];
|
|
45
|
-
isResendOperationSuccess: boolean;
|
|
46
|
-
isEditDetailsClicked: boolean;
|
|
47
|
-
isEditAddressDeatilsClicked: boolean;
|
|
48
|
-
addressDetails: IRefundContactDetails;
|
|
49
39
|
refundReference: string;
|
|
50
40
|
refundAmount: string;
|
|
51
41
|
refundCode: string;
|
|
@@ -57,11 +47,10 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
57
47
|
isProcessRefund: boolean;
|
|
58
48
|
changedAmount: number;
|
|
59
49
|
allowedRolesToAccessRefund: string[];
|
|
60
|
-
constructor(formBuilder: FormBuilder, refundService: RefundsService,
|
|
50
|
+
constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
|
|
61
51
|
ngOnInit(): void;
|
|
62
52
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
63
53
|
getRefundsStatusHistoryList(): void;
|
|
64
|
-
getRefundsNotification(): void;
|
|
65
54
|
goToRefundView(refundlist: IRefundList, navigationpage: string): void;
|
|
66
55
|
loadCaseTransactionPage(): void;
|
|
67
56
|
loadRefundListPage(): void;
|
|
@@ -75,11 +64,5 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
75
64
|
getRefundListReason(refundListReason: any): void;
|
|
76
65
|
getRefundAmount(amount: number): void;
|
|
77
66
|
gotoReviewRefundConfirmationPage(): void;
|
|
78
|
-
gotoEditAddressDetails(note: IRefundsNotifications): void;
|
|
79
|
-
getContactDetails(obj: IRefundContactDetails): void;
|
|
80
|
-
gotoEditDetailsPage(note?: any): void;
|
|
81
|
-
submitEditDetail(): void;
|
|
82
|
-
putResend(notification: IRefundsNotifications): void;
|
|
83
|
-
gotoCasetransationPageCancelBtnClicked(Event: Event): void;
|
|
84
67
|
goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
|
|
85
68
|
}
|
|
@@ -46,9 +46,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
46
46
|
dcnNumber: string;
|
|
47
47
|
paymentRef: string;
|
|
48
48
|
isTurnOff: boolean;
|
|
49
|
-
isNewPcipalOff: boolean;
|
|
50
49
|
isRefundRemission: boolean;
|
|
51
|
-
isOldPcipalOff: boolean;
|
|
52
50
|
isStrategicFixEnable: boolean;
|
|
53
51
|
isAddFeeBtnEnabled: boolean;
|
|
54
52
|
isExceptionRecord: boolean;
|
|
@@ -89,7 +87,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
89
87
|
ngOnInit(): void;
|
|
90
88
|
goToServiceRequestPage(): void;
|
|
91
89
|
goToCaseTransationPage(event: any): void;
|
|
92
|
-
chkForAddRemission(feeCode: string
|
|
90
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
93
91
|
chkForPBAPayment(): boolean;
|
|
94
92
|
addRemission(fee: IFee): void;
|
|
95
93
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
@@ -16,8 +16,6 @@ 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;
|
|
21
19
|
ISSFENABLE: boolean;
|
|
22
20
|
PAYMENTSLENGTH: Number;
|
|
23
21
|
LEVEL: Number;
|
|
@@ -38,8 +36,6 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
|
|
|
38
36
|
isExceptionCase: boolean;
|
|
39
37
|
serviceId: string;
|
|
40
38
|
isBulkScanEnable: any;
|
|
41
|
-
isNewpcipaloff: any;
|
|
42
|
-
isOldpcipaloff: any;
|
|
43
39
|
isTurnOff: boolean;
|
|
44
40
|
isStFixEnable: any;
|
|
45
41
|
unassignedRecordSelectedList: IBSPayments;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
1
|
export interface IRefundList {
|
|
3
2
|
amount: number;
|
|
4
3
|
ccd_case_number: string;
|
|
@@ -11,7 +10,5 @@ export interface IRefundList {
|
|
|
11
10
|
description: string;
|
|
12
11
|
name: string;
|
|
13
12
|
};
|
|
14
|
-
contact_details: IRefundContactDetails;
|
|
15
13
|
user_full_name: string;
|
|
16
|
-
service_type: string;
|
|
17
14
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
1
|
export declare class PostIssueRefundRetroRemission {
|
|
3
2
|
remissionReference: string;
|
|
4
|
-
|
|
5
|
-
constructor(remissionReference: string, contactDeatils: any);
|
|
3
|
+
constructor(remissionReference: string);
|
|
6
4
|
}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { IRefundContactDetails } from "./IRefundContactDetails";
|
|
2
1
|
export declare class PostRefundRetroRemission {
|
|
3
|
-
ccd_case_number: string;
|
|
4
2
|
payment_reference: string;
|
|
5
3
|
refund_reason: string;
|
|
6
|
-
|
|
7
|
-
fees: any[];
|
|
8
|
-
contact_details: IRefundContactDetails;
|
|
9
|
-
constructor(ccd_case_number: string, payment_reference: string, refund_reason: string, refund_amount: any, fees: any[], contact_details: any);
|
|
4
|
+
constructor(payment_reference: string, refund_reason: string);
|
|
10
5
|
}
|
|
@@ -10,7 +10,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
10
10
|
API_ROOT: string;
|
|
11
11
|
BULKSCAN_API_ROOT: string;
|
|
12
12
|
REFUNDS_API_ROOT: string;
|
|
13
|
-
NOTIFICATION_API_ROOT: string;
|
|
14
13
|
CARDPAYMENTRETURNURL: string;
|
|
15
14
|
CCD_CASE_NUMBER: string;
|
|
16
15
|
EXC_REFERENCE: string;
|
|
@@ -26,8 +25,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
26
25
|
ISSFENABLE: boolean;
|
|
27
26
|
ISTURNOFF: boolean;
|
|
28
27
|
CASETYPE: string;
|
|
29
|
-
ISOLDPCIPALOFF: boolean;
|
|
30
|
-
ISNEWPCIPALOFF: boolean;
|
|
31
28
|
rootUrl: boolean;
|
|
32
29
|
REFUNDLIST: string;
|
|
33
30
|
USERID: string;
|
|
@@ -44,8 +41,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
44
41
|
viewName: string;
|
|
45
42
|
isTurnOff: boolean;
|
|
46
43
|
caseType: string;
|
|
47
|
-
isOldPcipalOff: boolean;
|
|
48
|
-
isNewPcipalOff: boolean;
|
|
49
44
|
unProcessedPayment: IBSPayments;
|
|
50
45
|
isRefundStatusView: boolean;
|
|
51
46
|
isRedirectFromCaseTransactionPage: string;
|
|
@@ -2,7 +2,6 @@ export declare class PaymentLibService {
|
|
|
2
2
|
API_ROOT: string;
|
|
3
3
|
BULKSCAN_API_ROOT: string;
|
|
4
4
|
REFUNDS_API_ROOT: string;
|
|
5
|
-
NOTIFICATION_API_ROOT: string;
|
|
6
5
|
CARDPAYMENTRETURNURL: string;
|
|
7
6
|
constructor();
|
|
8
7
|
setApiRootUrl(apiRoot: string): void;
|
|
@@ -11,8 +10,6 @@ export declare class PaymentLibService {
|
|
|
11
10
|
getBulkScanApiRootUrl(): string;
|
|
12
11
|
setRefundndsApiRootUrl(refundsapiRoot: string): void;
|
|
13
12
|
getRefundsApiRootUrl(): string;
|
|
14
|
-
setNoticationApiRootUrl(notificationapiRoot: string): void;
|
|
15
|
-
getNoticationApiRootUrl(): string;
|
|
16
13
|
setCardPaymentReturnUrl(cardPaymentReturnUrl: string): void;
|
|
17
14
|
getCardPaymentReturnUrl(): string;
|
|
18
15
|
}
|
|
@@ -9,7 +9,6 @@ import { IPatchRefundAction } from '../../interfaces/IPatchRefundAction';
|
|
|
9
9
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
10
10
|
import { IssueRefundRequest } from '../../interfaces/IssueRefundRequest';
|
|
11
11
|
import { IResubmitRefundRequest } from '../../interfaces/IResubmitRefundRequest';
|
|
12
|
-
import { IPutNotificationRequest } from '../../interfaces/IPutNotificationRequest';
|
|
13
12
|
export declare class RefundsService {
|
|
14
13
|
private http;
|
|
15
14
|
private https;
|
|
@@ -26,7 +25,6 @@ export declare class RefundsService {
|
|
|
26
25
|
getRefundStatusList(ccdCaseNumber: string): Observable<IRefundList[]>;
|
|
27
26
|
getUserDetails(): Observable<any>;
|
|
28
27
|
postIssueRefund(body: IssueRefundRequest): Observable<any>;
|
|
29
|
-
putResendOrEdit(body: IPutNotificationRequest, refundRef: string, notificationType: string): Observable<any>;
|
|
30
28
|
patchResubmitRefund(body: IResubmitRefundRequest, refund_reference: string): Observable<any>;
|
|
31
29
|
addHeaders(options: any): any;
|
|
32
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/ccpay-web-component",
|
|
3
|
-
"version": "5.0.2-
|
|
3
|
+
"version": "5.0.2-beta102",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
"name": "Santosh Govindu",
|
|
18
18
|
"email": "santosh.govindu@hmcts.net"
|
|
19
19
|
},
|
|
20
|
-
{
|
|
21
|
-
"name": "Kumar dhanasamy",
|
|
22
|
-
"email": "kumar.dhanasamy@hmcts.net"
|
|
23
|
-
},
|
|
24
20
|
{
|
|
25
21
|
"name": "Tarun Palisetty",
|
|
26
22
|
"email": "tarun.palisetty@hmcts.net"
|