@hmcts/ccpay-web-component 4.0.0-beta50 → 4.0.0-beta505
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 +859 -345
- 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/lib/components/add-remission/add-remission.component.js +42 -6
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +268 -180
- package/esm2015/lib/components/card-details/card-details.component.js +4 -27
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +635 -225
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +183 -75
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +66 -28
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +103 -46
- package/esm2015/lib/components/payment-list/payment-list.component.js +1 -1
- package/esm2015/lib/components/payment-view/payment-view.component.js +64 -34
- package/esm2015/lib/components/pba-details/pba-details.component.js +9 -16
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +2 -2
- package/esm2015/lib/components/reports/reports.component.js +50 -11
- package/esm2015/lib/components/status-history/status-history.component.js +14 -7
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +84 -9
- package/esm2015/lib/interfaces/AddRemissionRequest.js +5 -5
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +10 -7
- package/esm2015/lib/interfaces/IFee.js +15 -1
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +29 -0
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +5 -9
- package/esm2015/lib/payment-lib.component.js +43 -14
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +16 -1
- package/esm2015/lib/services/payment-view/payment-view.service.js +22 -5
- package/esm5/lib/components/add-remission/add-remission.component.js +41 -7
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +174 -93
- package/esm5/lib/components/card-details/card-details.component.js +3 -3
- package/esm5/lib/components/case-transactions/case-transactions.component.js +277 -85
- package/esm5/lib/components/fee-summary/fee-summary.component.js +120 -53
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +64 -28
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +93 -43
- package/esm5/lib/components/payment-list/payment-list.component.js +1 -1
- package/esm5/lib/components/payment-view/payment-view.component.js +29 -5
- package/esm5/lib/components/pba-details/pba-details.component.js +3 -3
- package/esm5/lib/components/processed-payments/processed-payments.component.js +2 -2
- package/esm5/lib/components/reports/reports.component.js +41 -9
- package/esm5/lib/components/status-history/status-history.component.js +2 -2
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +55 -6
- package/esm5/lib/interfaces/AddRemissionRequest.js +4 -4
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +8 -6
- package/esm5/lib/interfaces/IFee.js +15 -1
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +26 -0
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +4 -7
- package/esm5/lib/payment-lib.component.js +27 -9
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +25 -1
- package/esm5/lib/services/payment-view/payment-view.service.js +31 -7
- package/fesm2015/hmcts-ccpay-web-component.js +1480 -675
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +857 -342
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +6 -1
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +15 -9
- package/lib/components/case-transactions/case-transactions.component.d.ts +17 -4
- package/lib/components/fee-summary/fee-summary.component.d.ts +12 -4
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +2 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -0
- package/lib/components/payment-view/payment-view.component.d.ts +2 -0
- package/lib/components/reports/reports.component.d.ts +4 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +9 -0
- package/lib/interfaces/AddRemissionRequest.d.ts +2 -2
- package/lib/interfaces/AllocatePaymentRequest.d.ts +16 -3
- package/lib/interfaces/IFee.d.ts +7 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts +7 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +2 -3
- package/lib/payment-lib.component.d.ts +10 -3
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +2 -0
- package/lib/services/payment-view/payment-view.service.d.ts +5 -3
- package/package.json +1 -1
- package/esm2015/lib/interfaces/IPaymentList.js +0 -48
- package/esm5/lib/interfaces/IPaymentList.js +0 -47
- package/lib/interfaces/IPaymentList.d.ts +0 -15
|
@@ -11,8 +11,12 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
11
11
|
private paymentLibComponent;
|
|
12
12
|
fee: IFee;
|
|
13
13
|
ccdCaseNumber: string;
|
|
14
|
-
|
|
14
|
+
caseType: string;
|
|
15
15
|
paymentGroupRef: string;
|
|
16
|
+
isTurnOff: boolean;
|
|
17
|
+
isOldPcipalOff: boolean;
|
|
18
|
+
isNewPcipalOff: boolean;
|
|
19
|
+
isStrategicFixEnable: boolean;
|
|
16
20
|
cancelRemission: EventEmitter<void>;
|
|
17
21
|
remissionForm: FormGroup;
|
|
18
22
|
hasErrors: boolean;
|
|
@@ -20,6 +24,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
20
24
|
errorMessage: any;
|
|
21
25
|
option: string;
|
|
22
26
|
isConfirmationBtnDisabled: boolean;
|
|
27
|
+
bsPaymentDcnNumber: string;
|
|
23
28
|
isRemissionCodeEmpty: boolean;
|
|
24
29
|
remissionCodeHasError: boolean;
|
|
25
30
|
isAmountEmpty: boolean;
|
|
@@ -2,24 +2,25 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
4
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
5
|
-
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
6
5
|
import { CaseTransactionsService } from '../../services/case-transactions/case-transactions.service';
|
|
6
|
+
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
7
7
|
import { ErrorHandlerService } from '../../services/shared/error-handler.service';
|
|
8
8
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
9
9
|
import { IBSPayments } from '../../interfaces/IBSPayments';
|
|
10
|
-
import { Router } from '@angular/router';
|
|
11
10
|
export declare class AllocatePaymentsComponent implements OnInit {
|
|
12
|
-
private router;
|
|
13
11
|
private errorHandlerService;
|
|
14
|
-
private formBuilder;
|
|
15
12
|
private caseTransactionsService;
|
|
13
|
+
private formBuilder;
|
|
16
14
|
private paymentViewService;
|
|
17
15
|
private paymentLibComponent;
|
|
18
16
|
private bulkScaningPaymentService;
|
|
17
|
+
isTurnOff: boolean;
|
|
18
|
+
caseType: string;
|
|
19
19
|
overUnderPaymentForm: FormGroup;
|
|
20
20
|
viewStatus: string;
|
|
21
21
|
ccdCaseNumber: string;
|
|
22
22
|
bspaymentdcn: string;
|
|
23
|
+
feedbackUrlLabel: string;
|
|
23
24
|
unAllocatedPayment: IBSPayments;
|
|
24
25
|
siteID: string;
|
|
25
26
|
errorMessage: {
|
|
@@ -27,8 +28,8 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
27
28
|
body: string;
|
|
28
29
|
showError: any;
|
|
29
30
|
};
|
|
31
|
+
paymentGroup: IPaymentGroup;
|
|
30
32
|
paymentGroups: IPaymentGroup[];
|
|
31
|
-
selectedPayment: IPaymentGroup;
|
|
32
33
|
remainingAmount: number;
|
|
33
34
|
isRemainingAmountGtZero: boolean;
|
|
34
35
|
isMoreDetailsBoxHide: boolean;
|
|
@@ -55,6 +56,11 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
55
56
|
userName: string;
|
|
56
57
|
paymentSectionLabel: any;
|
|
57
58
|
paymentRef: string;
|
|
59
|
+
isStrategicFixEnable: boolean;
|
|
60
|
+
cookieUserName: string[];
|
|
61
|
+
UserName: string[];
|
|
62
|
+
UserName1: any;
|
|
63
|
+
userNameField: string;
|
|
58
64
|
reasonList: {
|
|
59
65
|
[key: string]: {
|
|
60
66
|
[key: string]: string;
|
|
@@ -73,14 +79,14 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
73
79
|
other: string;
|
|
74
80
|
};
|
|
75
81
|
};
|
|
76
|
-
constructor(
|
|
82
|
+
constructor(errorHandlerService: ErrorHandlerService, caseTransactionsService: CaseTransactionsService, formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, bulkScaningPaymentService: BulkScaningPaymentService);
|
|
77
83
|
ngOnInit(): void;
|
|
78
84
|
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
79
|
-
getPaymentGroupDetails(
|
|
85
|
+
getPaymentGroupDetails(): void;
|
|
86
|
+
selectedPaymentGroup(paymentGroup: IPaymentGroup): void;
|
|
80
87
|
gotoCasetransationPage(): void;
|
|
81
88
|
gotoSummaryPage(event: any): void;
|
|
82
|
-
|
|
83
|
-
cancelAllocatePayment(): void;
|
|
89
|
+
cancelAllocatePayment(event: any): void;
|
|
84
90
|
confirmAllocatePayement(): void;
|
|
85
91
|
resetForm(vals: any, field: any): void;
|
|
86
92
|
finalServiceCall(): void;
|
|
@@ -30,18 +30,29 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
30
30
|
totalRemissions: number;
|
|
31
31
|
selectedOption: string;
|
|
32
32
|
dcnNumber: string;
|
|
33
|
+
paymentRef: string;
|
|
34
|
+
isTurnOff: boolean;
|
|
35
|
+
isNewPcipalOff: boolean;
|
|
36
|
+
isOldPcipalOff: boolean;
|
|
37
|
+
isStrategicFixEnable: boolean;
|
|
33
38
|
isAddFeeBtnEnabled: boolean;
|
|
34
39
|
isExceptionRecord: boolean;
|
|
35
40
|
isUnprocessedRecordSelected: boolean;
|
|
36
41
|
exceptionRecordReference: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
totalRefundAmount: Number;
|
|
42
|
+
isAnyFeeGroupAvilable: boolean;
|
|
43
|
+
isHistoricGroupAvailable: boolean;
|
|
40
44
|
isBulkScanEnable: any;
|
|
45
|
+
isRemissionsMatch: boolean;
|
|
41
46
|
viewStatus: string;
|
|
42
47
|
isRemoveBtnDisabled: boolean;
|
|
43
48
|
feeId: IFee;
|
|
49
|
+
clAmountDue: number;
|
|
44
50
|
unprocessedRecordCount: number;
|
|
51
|
+
isFeeRecordsExist: boolean;
|
|
52
|
+
isGrpOutstandingAmtPositive: boolean;
|
|
53
|
+
totalRefundAmount: Number;
|
|
54
|
+
caseType: String;
|
|
55
|
+
lsCcdNumber: any;
|
|
45
56
|
constructor(router: Router, paymentViewService: PaymentViewService, bulkScaningPaymentService: BulkScaningPaymentService, caseTransactionsService: CaseTransactionsService, paymentLibComponent: PaymentLibComponent);
|
|
46
57
|
ngOnInit(): void;
|
|
47
58
|
setDefaults(): void;
|
|
@@ -52,12 +63,14 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
52
63
|
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
53
64
|
redirectToFeeSearchPage(event: any): void;
|
|
54
65
|
redirectToReportsPage(event: any): void;
|
|
55
|
-
loadFeeSummaryPage(): void;
|
|
66
|
+
loadFeeSummaryPage(paymentGroup: IPaymentGroup): void;
|
|
56
67
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
57
68
|
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
58
69
|
selectedUnprocessedFeeEvent(unprocessedRecordId: string): void;
|
|
59
70
|
getUnprocessedFeeCount(unProcessedRecordCount: number): void;
|
|
71
|
+
calculateAmountDue(fee: IFee): number | "0.00";
|
|
60
72
|
confirmRemoveFee(fee: IFee): void;
|
|
61
73
|
cancelRemoval(): void;
|
|
62
74
|
removeFee(fee: any): void;
|
|
75
|
+
isCheckAmountdueExist(amountDue: any): boolean;
|
|
63
76
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
3
3
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
4
4
|
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
5
5
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
@@ -13,18 +13,22 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
13
13
|
private bulkScaningPaymentService;
|
|
14
14
|
private location;
|
|
15
15
|
private paymentViewService;
|
|
16
|
-
private caseTransactionsService;
|
|
17
16
|
private paymentLibComponent;
|
|
18
17
|
paymentGroupRef: string;
|
|
19
18
|
ccdCaseNumber: string;
|
|
19
|
+
isTurnOff: string;
|
|
20
|
+
caseType: string;
|
|
21
|
+
isOldPcipalOff: string;
|
|
22
|
+
isNewPcipalOff: string;
|
|
20
23
|
bsPaymentDcnNumber: string;
|
|
21
|
-
paymentGroup:
|
|
24
|
+
paymentGroup: IPaymentGroup;
|
|
22
25
|
errorMessage: string;
|
|
23
26
|
viewStatus: string;
|
|
24
27
|
currentFee: IFee;
|
|
25
28
|
totalFee: number;
|
|
26
29
|
payhubHtml: SafeHtml;
|
|
27
30
|
service: string;
|
|
31
|
+
platForm: string;
|
|
28
32
|
upPaymentErrorMessage: string;
|
|
29
33
|
selectedOption: string;
|
|
30
34
|
isBackButtonEnable: boolean;
|
|
@@ -34,7 +38,10 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
34
38
|
isConfirmationBtnDisabled: boolean;
|
|
35
39
|
isRemoveBtnDisabled: boolean;
|
|
36
40
|
isPaymentExist: boolean;
|
|
37
|
-
|
|
41
|
+
isRemissionsExist: Boolean;
|
|
42
|
+
isRemissionsMatch: boolean;
|
|
43
|
+
isStrategicFixEnable: boolean;
|
|
44
|
+
constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService, location: Location, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent);
|
|
38
45
|
ngOnInit(): void;
|
|
39
46
|
getUnassignedPaymentlist(): void;
|
|
40
47
|
getRemissionByFeeCode(feeCode: string): IRemission;
|
|
@@ -47,4 +54,5 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
47
54
|
redirectToFeeSearchPage(event: any, page?: string): void;
|
|
48
55
|
takePayment(): void;
|
|
49
56
|
goToAllocatePage(outStandingAmount: number, isFeeAmountZero: Boolean): void;
|
|
57
|
+
isCheckAmountdueExist(amountDue: any): boolean;
|
|
50
58
|
}
|
|
@@ -9,6 +9,7 @@ export declare class MarkUnidentifiedPaymentComponent implements OnInit {
|
|
|
9
9
|
private paymentViewService;
|
|
10
10
|
private paymentLibComponent;
|
|
11
11
|
private bulkScaningPaymentService;
|
|
12
|
+
caseType: string;
|
|
12
13
|
markPaymentUnidentifiedForm: FormGroup;
|
|
13
14
|
viewStatus: string;
|
|
14
15
|
ccdCaseNumber: string;
|
|
@@ -28,6 +29,7 @@ export declare class MarkUnidentifiedPaymentComponent implements OnInit {
|
|
|
28
29
|
isConfirmButtondisabled: Boolean;
|
|
29
30
|
ccdReference: string;
|
|
30
31
|
exceptionReference: string;
|
|
32
|
+
isStrategicFixEnable: boolean;
|
|
31
33
|
constructor(formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, bulkScaningPaymentService: BulkScaningPaymentService);
|
|
32
34
|
ngOnInit(): void;
|
|
33
35
|
getUnassignedPayment(): void;
|
|
@@ -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,10 +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;
|
|
36
38
|
selectedSiteId: string;
|
|
37
39
|
selectedSiteName: string;
|
|
40
|
+
isStrategicFixEnable: boolean;
|
|
41
|
+
siteIDList: any;
|
|
38
42
|
constructor(formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, bulkScaningPaymentService: BulkScaningPaymentService);
|
|
39
43
|
ngOnInit(): void;
|
|
40
44
|
trimUnderscore(method: string): string;
|
|
@@ -5,12 +5,14 @@ import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
|
5
5
|
export declare class PaymentViewComponent implements OnInit {
|
|
6
6
|
private paymentViewService;
|
|
7
7
|
private paymentLibComponent;
|
|
8
|
+
isTurnOff: boolean;
|
|
8
9
|
paymentGroup: IPaymentGroup;
|
|
9
10
|
errorMessage: string;
|
|
10
11
|
ccdCaseNumber: string;
|
|
11
12
|
selectedOption: string;
|
|
12
13
|
dcnNumber: string;
|
|
13
14
|
isStatusAllocated: boolean;
|
|
15
|
+
isRemissionsMatch: boolean;
|
|
14
16
|
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent);
|
|
15
17
|
ngOnInit(): void;
|
|
16
18
|
readonly isCardPayment: boolean;
|
|
@@ -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;
|
|
@@ -8,8 +8,13 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
|
|
|
8
8
|
private bulkScaningPaymentService;
|
|
9
9
|
private paymentLibComponent;
|
|
10
10
|
FEE_RECORDS_EXISTS: boolean;
|
|
11
|
+
PAYMENTREF: string;
|
|
12
|
+
ISTURNOFF: boolean;
|
|
11
13
|
IS_BUTTON_ENABLE: boolean;
|
|
12
14
|
IS_OS_AMT_AVAILABLE: boolean;
|
|
15
|
+
ISNEWPCIPALOFF: boolean;
|
|
16
|
+
ISOLDPCIPALOFF: boolean;
|
|
17
|
+
ISSFENABLE: boolean;
|
|
13
18
|
selectedUnprocessedFeeEvent: EventEmitter<string>;
|
|
14
19
|
getUnprocessedFeeCount: EventEmitter<string>;
|
|
15
20
|
viewStatus: string;
|
|
@@ -27,6 +32,10 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
|
|
|
27
32
|
isExceptionCase: boolean;
|
|
28
33
|
serviceId: string;
|
|
29
34
|
isBulkScanEnable: any;
|
|
35
|
+
isNewpcipaloff: any;
|
|
36
|
+
isOldpcipaloff: any;
|
|
37
|
+
isTurnOff: boolean;
|
|
38
|
+
isStFixEnable: any;
|
|
30
39
|
constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService, paymentLibComponent: PaymentLibComponent);
|
|
31
40
|
ngOnInit(): void;
|
|
32
41
|
getUnassignedPaymentlist(): void;
|
|
@@ -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
|
-
|
|
10
|
-
constructor(ccd_case_number: string, fee: IFee, hwf_amount: number, hwf_reference: string,
|
|
9
|
+
case_type: string;
|
|
10
|
+
constructor(ccd_case_number: string, fee: IFee, hwf_amount: number, hwf_reference: string, caseType: string);
|
|
11
11
|
}
|
|
@@ -12,7 +12,20 @@ export declare class AllocatePaymentRequest {
|
|
|
12
12
|
payment_channel: Object;
|
|
13
13
|
payment_status: Object;
|
|
14
14
|
payment_method: String;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
}
|
package/lib/interfaces/IFee.d.ts
CHANGED
|
@@ -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
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
export declare class PaymentToPayhubRequest {
|
|
2
2
|
currency: string;
|
|
3
|
-
site_id: string;
|
|
4
3
|
description: string;
|
|
5
4
|
channel: string;
|
|
6
5
|
provider: string;
|
|
7
|
-
|
|
6
|
+
case_type: string;
|
|
8
7
|
ccd_case_number: string;
|
|
9
8
|
amount: number;
|
|
10
|
-
constructor(ccd_case_number: string, amount: number,
|
|
9
|
+
constructor(ccd_case_number: string, amount: number, caseType: string);
|
|
11
10
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
2
|
import { PaymentLibService } from './payment-lib.service';
|
|
4
3
|
import { IBSPayments } from './interfaces/IBSPayments';
|
|
5
4
|
export declare class PaymentLibComponent implements OnInit {
|
|
6
|
-
private router;
|
|
7
5
|
private paymentLibService;
|
|
8
6
|
API_ROOT: string;
|
|
9
7
|
BULKSCAN_API_ROOT: string;
|
|
@@ -16,13 +14,22 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
16
14
|
DCN_NUMBER: string;
|
|
17
15
|
SELECTED_OPTION: string;
|
|
18
16
|
ISBSENABLE: Boolean;
|
|
17
|
+
ISSFENABLE: boolean;
|
|
18
|
+
ISTURNOFF: boolean;
|
|
19
|
+
CASETYPE: String;
|
|
20
|
+
ISOLDPCIPALOFF: boolean;
|
|
21
|
+
ISNEWPCIPALOFF: boolean;
|
|
19
22
|
paymentMethod: string;
|
|
20
23
|
bspaymentdcn: string;
|
|
21
24
|
unProcessedPaymentServiceId: string;
|
|
22
25
|
paymentGroupReference: string;
|
|
23
26
|
paymentReference: string;
|
|
24
27
|
viewName: string;
|
|
28
|
+
isTurnOff: boolean;
|
|
29
|
+
caseType: string;
|
|
30
|
+
isOldPcipalOff: boolean;
|
|
31
|
+
isNewPcipalOff: boolean;
|
|
25
32
|
unProcessedPayment: IBSPayments;
|
|
26
|
-
constructor(
|
|
33
|
+
constructor(paymentLibService: PaymentLibService);
|
|
27
34
|
ngOnInit(): void;
|
|
28
35
|
}
|
|
@@ -15,6 +15,8 @@ export declare class BulkScaningPaymentService {
|
|
|
15
15
|
getBSPaymentsByCCD(ccdCaseNumber: string): Observable<IBSPayments>;
|
|
16
16
|
getBSPaymentsByDCN(dcn: string): Observable<IBSPayments>;
|
|
17
17
|
postBSAllocatePayment(body: AllocatePaymentRequest, paymentRef: string): Observable<any>;
|
|
18
|
+
postBSPaymentStrategic(body: AllocatePaymentRequest, paymentGroupRef: string): Observable<any>;
|
|
19
|
+
postBSWoPGStrategic(body: AllocatePaymentRequest): Observable<any>;
|
|
18
20
|
patchBSChangeStatus(dcnNumber: string, status: string): Observable<any>;
|
|
19
21
|
calculateOutStandingAmount(paymentGroup: IPaymentGroup): number;
|
|
20
22
|
removeUnwantedString(input: string, replaceText: string): string;
|
|
@@ -8,7 +8,7 @@ import { LoggerService } from '../shared/logger/logger.service';
|
|
|
8
8
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
9
9
|
import { AddRemissionRequest } from '../../interfaces/AddRemissionRequest';
|
|
10
10
|
import { PaymentToPayhubRequest } from '../../interfaces/PaymentToPayhubRequest';
|
|
11
|
-
import {
|
|
11
|
+
import { PayhubAntennaRequest } from '../../interfaces/PayhubAntennaRequest';
|
|
12
12
|
import { UnidentifiedPaymentsRequest } from '../../interfaces/UnidentifiedPaymentsRequest';
|
|
13
13
|
import { UnsolicitedPaymentsRequest } from '../../interfaces/UnsolicitedPaymentsRequest';
|
|
14
14
|
import { AllocatePaymentRequest } from '../../interfaces/AllocatePaymentRequest';
|
|
@@ -22,7 +22,8 @@ export declare class PaymentViewService {
|
|
|
22
22
|
private meta;
|
|
23
23
|
constructor(http: HttpClient, https: WebComponentHttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
24
24
|
getPaymentDetails(paymentReference: string, paymentMethod: string): Observable<IPayment>;
|
|
25
|
-
getPaymentGroupDetails(paymentGroupReference: string
|
|
25
|
+
getPaymentGroupDetails(paymentGroupReference: string): Observable<IPaymentGroup>;
|
|
26
|
+
getApportionPaymentDetails(paymentReference: string): Observable<IPaymentGroup>;
|
|
26
27
|
postBSPayments(body: AllocatePaymentRequest): Observable<any>;
|
|
27
28
|
postBSUnidentifiedPayments(body: UnidentifiedPaymentsRequest): Observable<any>;
|
|
28
29
|
postBSUnsolicitedPayments(body: UnsolicitedPaymentsRequest): Observable<any>;
|
|
@@ -30,7 +31,8 @@ export declare class PaymentViewService {
|
|
|
30
31
|
postPaymentGroupWithRemissions(paymentGroupReference: string, feeId: number, body: AddRemissionRequest): Observable<any>;
|
|
31
32
|
deleteFeeFromPaymentGroup(feeId: number): Observable<any>;
|
|
32
33
|
postPaymentToPayHub(body: PaymentToPayhubRequest, paymentGroupRef: string): Observable<any>;
|
|
33
|
-
|
|
34
|
+
postPaymentAntennaToPayHub(body: PayhubAntennaRequest, paymentGroupRef: string): Observable<any>;
|
|
34
35
|
downloadSelectedReport(reportName: string, startDate: string, endDate: string): Observable<any>;
|
|
35
36
|
getBSfeature(): Observable<any>;
|
|
37
|
+
getSiteID(): Observable<any>;
|
|
36
38
|
}
|
package/package.json
CHANGED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
export class IPaymentList {
|
|
6
|
-
/**
|
|
7
|
-
* @param {?} res
|
|
8
|
-
*/
|
|
9
|
-
constructor(res) {
|
|
10
|
-
this.amount = res[0];
|
|
11
|
-
this.case_reference = res[1];
|
|
12
|
-
this.ccd_case_number = res[2];
|
|
13
|
-
this.channel = res[3];
|
|
14
|
-
this.currency = res[4];
|
|
15
|
-
this.description = res[5];
|
|
16
|
-
this.fees = res[6];
|
|
17
|
-
this.Language = res[7];
|
|
18
|
-
this.provider = res[8];
|
|
19
|
-
this.service = res[9];
|
|
20
|
-
this.site_id = res[10];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
if (false) {
|
|
24
|
-
/** @type {?} */
|
|
25
|
-
IPaymentList.prototype.amount;
|
|
26
|
-
/** @type {?} */
|
|
27
|
-
IPaymentList.prototype.case_reference;
|
|
28
|
-
/** @type {?} */
|
|
29
|
-
IPaymentList.prototype.ccd_case_number;
|
|
30
|
-
/** @type {?} */
|
|
31
|
-
IPaymentList.prototype.channel;
|
|
32
|
-
/** @type {?} */
|
|
33
|
-
IPaymentList.prototype.currency;
|
|
34
|
-
/** @type {?} */
|
|
35
|
-
IPaymentList.prototype.description;
|
|
36
|
-
/** @type {?} */
|
|
37
|
-
IPaymentList.prototype.fees;
|
|
38
|
-
/** @type {?} */
|
|
39
|
-
IPaymentList.prototype.Language;
|
|
40
|
-
/** @type {?} */
|
|
41
|
-
IPaymentList.prototype.provider;
|
|
42
|
-
/** @type {?} */
|
|
43
|
-
IPaymentList.prototype.service;
|
|
44
|
-
/** @type {?} */
|
|
45
|
-
IPaymentList.prototype.site_id;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVBheW1lbnRMaXN0LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUGF5bWVudExpc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUVBLE1BQU07Ozs7SUFhSixZQUFZLEdBQVE7UUFDcEIsSUFBSSxDQUFDLE1BQU0sR0FBRyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDckIsSUFBSSxDQUFDLGNBQWMs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2l0ZV9pZDogc3RyaW5nO1xuXG4gIGNvbnN0cnVjdG9yKHJlczogYW55KSB7XG4gIHRoaXMuYW1vdW50ID0gcmVzWzBdO1xuICB0aGlzLmNhc2VfcmVmZXJlbmNlPSByZXNbMV07XG4gIHRoaXMuY2NkX2Nhc2VfbnVtYmVyPSByZXNbMl07XG4gIHRoaXMuY2hhbm5lbD0gcmVzWzNdO1xuICB0aGlzLmN1cnJlbmN5PSByZXNbNF07XG4gIHRoaXMuZGVzY3JpcHRpb249IHJlc1s1XTtcbiAgdGhpcy5mZWVzPSByZXNbNl07XG4gIHRoaXMuTGFuZ3VhZ2U9IHJlc1s3XTtcbiAgdGhpcy5wcm92aWRlcj0gcmVzWzhdO1xuICB0aGlzLnNlcnZpY2U9IHJlc1s5XTtcbiAgdGhpcy5zaXRlX2lkPSByZXNbMTBdO1xuICB9XG59XG4iXX0=
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
var IPaymentList = /** @class */ (function () {
|
|
6
|
-
function IPaymentList(res) {
|
|
7
|
-
this.amount = res[0];
|
|
8
|
-
this.case_reference = res[1];
|
|
9
|
-
this.ccd_case_number = res[2];
|
|
10
|
-
this.channel = res[3];
|
|
11
|
-
this.currency = res[4];
|
|
12
|
-
this.description = res[5];
|
|
13
|
-
this.fees = res[6];
|
|
14
|
-
this.Language = res[7];
|
|
15
|
-
this.provider = res[8];
|
|
16
|
-
this.service = res[9];
|
|
17
|
-
this.site_id = res[10];
|
|
18
|
-
}
|
|
19
|
-
return IPaymentList;
|
|
20
|
-
}());
|
|
21
|
-
export { IPaymentList };
|
|
22
|
-
if (false) {
|
|
23
|
-
/** @type {?} */
|
|
24
|
-
IPaymentList.prototype.amount;
|
|
25
|
-
/** @type {?} */
|
|
26
|
-
IPaymentList.prototype.case_reference;
|
|
27
|
-
/** @type {?} */
|
|
28
|
-
IPaymentList.prototype.ccd_case_number;
|
|
29
|
-
/** @type {?} */
|
|
30
|
-
IPaymentList.prototype.channel;
|
|
31
|
-
/** @type {?} */
|
|
32
|
-
IPaymentList.prototype.currency;
|
|
33
|
-
/** @type {?} */
|
|
34
|
-
IPaymentList.prototype.description;
|
|
35
|
-
/** @type {?} */
|
|
36
|
-
IPaymentList.prototype.fees;
|
|
37
|
-
/** @type {?} */
|
|
38
|
-
IPaymentList.prototype.Language;
|
|
39
|
-
/** @type {?} */
|
|
40
|
-
IPaymentList.prototype.provider;
|
|
41
|
-
/** @type {?} */
|
|
42
|
-
IPaymentList.prototype.service;
|
|
43
|
-
/** @type {?} */
|
|
44
|
-
IPaymentList.prototype.site_id;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVBheW1lbnRMaXN0LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUGF5bWVudExpc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUVBLElBQUE7SUFhRSxzQkFBWSxHQUFRO1FBQ3BCLElBQUksQ0FBQyxNQUFNLEdBQUcsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQ3JCLElBQUksQ0FBQyxjQUFjLEdBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQzVCLElBQUksQ0FBQyxlQUFlLEdBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQzdCLElBQUksQ0FBQyxPQUFPLEdBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQ3JCLElBQUksQ0FBQyxRQUFRLEdBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQ3RCLElBQU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xuICB0aGlzLmN1cnJlbmN5PSByZXNbNF07XG4gIHRoaXMuZGVzY3JpcHRpb249IHJlc1s1XTtcbiAgdGhpcy5mZWVzPSByZXNbNl07XG4gIHRoaXMuTGFuZ3VhZ2U9IHJlc1s3XTtcbiAgdGhpcy5wcm92aWRlcj0gcmVzWzhdO1xuICB0aGlzLnNlcnZpY2U9IHJlc1s5XTtcbiAgdGhpcy5zaXRlX2lkPSByZXNbMTBdO1xuICB9XG59XG4iXX0=
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IFee } from './IFee';
|
|
2
|
-
export declare class IPaymentList {
|
|
3
|
-
amount: number;
|
|
4
|
-
case_reference: string;
|
|
5
|
-
ccd_case_number: string;
|
|
6
|
-
channel: string;
|
|
7
|
-
currency: string;
|
|
8
|
-
description: string;
|
|
9
|
-
fees: IFee[];
|
|
10
|
-
Language: string;
|
|
11
|
-
provider: string;
|
|
12
|
-
service: string;
|
|
13
|
-
site_id: string;
|
|
14
|
-
constructor(res: any);
|
|
15
|
-
}
|