@hmcts/ccpay-web-component 6.5.14 → 6.5.15-beta1
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/esm2022/hmcts-ccpay-web-component.mjs +5 -0
- package/esm2022/lib/components/add-remission/add-remission.component.mjs +1276 -0
- package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +423 -0
- package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +885 -0
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +338 -0
- package/esm2022/lib/components/error-banner/error-banner.component.mjs +18 -0
- package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +280 -0
- package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +195 -0
- package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +275 -0
- package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +79 -0
- package/esm2022/lib/components/page-not-found.component.mjs +17 -0
- package/esm2022/lib/components/payment-list/payment-list.component.mjs +36 -0
- package/esm2022/lib/components/payment-view/payment-view.component.mjs +467 -0
- package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
- package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +163 -0
- package/esm2022/lib/components/process-refund/process-refund.component.mjs +417 -0
- package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +37 -0
- package/esm2022/lib/components/refund-list/refund-list.component.mjs +73 -0
- package/esm2022/lib/components/refund-status/refund-status.component.mjs +481 -0
- package/esm2022/lib/components/reports/reports.component.mjs +337 -0
- package/esm2022/lib/components/service-request/service-request.component.mjs +516 -0
- package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
- package/esm2022/lib/components/table/table.component.mjs +127 -0
- package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +236 -0
- package/esm2022/lib/interfaces/AddRemissionRequest.mjs +17 -0
- package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +9 -0
- package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +41 -0
- package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +20 -0
- package/esm2022/lib/interfaces/IBSPayments.mjs +2 -0
- package/esm2022/lib/interfaces/ICardDetails.mjs +2 -0
- package/esm2022/lib/interfaces/IFee.mjs +2 -0
- package/esm2022/lib/interfaces/INotificationPreview.mjs +2 -0
- package/esm2022/lib/interfaces/IOrderReferenceFee.mjs +2 -0
- package/esm2022/lib/interfaces/IPatchRefundAction.mjs +2 -0
- package/esm2022/lib/interfaces/IPayment.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentFailure.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentGroup.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentStatus.mjs +12 -0
- package/esm2022/lib/interfaces/IPaymentView.mjs +2 -0
- package/esm2022/lib/interfaces/IPayments.mjs +2 -0
- package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +13 -0
- package/esm2022/lib/interfaces/IRefundAction.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundContactDetails.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundFee.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundList.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundReasons.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundRejectReason.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundStatus.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundStatusHistory.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundsNotifications.mjs +2 -0
- package/esm2022/lib/interfaces/IRemission.mjs +2 -0
- package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +13 -0
- package/esm2022/lib/interfaces/IStatusHistories.mjs +2 -0
- package/esm2022/lib/interfaces/IStatusHistory.mjs +2 -0
- package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +11 -0
- package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +15 -0
- package/esm2022/lib/interfaces/IssueRefundRequest.mjs +11 -0
- package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +46 -0
- package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +14 -0
- package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +17 -0
- package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +9 -0
- package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +18 -0
- package/esm2022/lib/interfaces/RefundsRequest.mjs +9 -0
- package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +16 -0
- package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +22 -0
- package/esm2022/lib/payment-lib.component.mjs +430 -0
- package/esm2022/lib/payment-lib.module.mjs +181 -0
- package/esm2022/lib/payment-lib.service.mjs +49 -0
- package/esm2022/lib/pipes/capitalize.pipe.mjs +18 -0
- package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +22 -0
- package/esm2022/lib/pipes/key-value.pipe.mjs +23 -0
- package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
- package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +87 -0
- package/esm2022/lib/services/card-details/card-details.service.mjs +39 -0
- package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +39 -0
- package/esm2022/lib/services/notification/notification.service.mjs +70 -0
- package/esm2022/lib/services/orderslist.service.mjs +154 -0
- package/esm2022/lib/services/payment-list/payment-list.service.mjs +40 -0
- package/esm2022/lib/services/payment-view/payment-view.service.mjs +156 -0
- package/esm2022/lib/services/refunds/refunds.service.mjs +120 -0
- package/esm2022/lib/services/shared/error-handler.service.mjs +76 -0
- package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +64 -0
- package/esm2022/lib/services/shared/logger/console-logger.service.mjs +43 -0
- package/esm2022/lib/services/shared/logger/logger.service.mjs +23 -0
- package/esm2022/lib/services/status-history/status-history.service.mjs +41 -0
- package/esm2022/lib/services/xl-file/xl-file.service.mjs +197 -0
- package/esm2022/public_api.mjs +7 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs +217 -262
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
- package/index.d.ts +5 -2340
- package/lib/components/add-remission/add-remission.component.d.ts +208 -0
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +115 -0
- package/lib/components/card-details/card-details.component.d.ts +18 -0
- package/lib/components/case-transactions/case-transactions.component.d.ts +143 -0
- package/lib/components/contact-details/contact-details.component.d.ts +54 -0
- package/lib/components/error-banner/error-banner.component.d.ts +9 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +72 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +52 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +63 -0
- package/lib/components/notification-preview/notification-preview.component.d.ts +30 -0
- package/lib/components/page-not-found.component.d.ts +5 -0
- package/lib/components/payment-list/payment-list.component.d.ts +19 -0
- package/lib/components/payment-view/payment-view.component.d.ts +110 -0
- package/lib/components/pba-details/pba-details.component.d.ts +10 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +41 -0
- package/lib/components/process-refund/process-refund.component.d.ts +82 -0
- package/lib/components/processed-payments/processed-payments.component.d.ts +17 -0
- package/lib/components/refund-list/refund-list.component.d.ts +26 -0
- package/lib/components/refund-status/refund-status.component.d.ts +119 -0
- package/lib/components/reports/reports.component.d.ts +49 -0
- package/lib/components/service-request/service-request.component.d.ts +141 -0
- package/lib/components/status-history/status-history.component.d.ts +19 -0
- package/lib/components/table/table.component.d.ts +45 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +61 -0
- package/lib/interfaces/AddRemissionRequest.d.ts +11 -0
- package/lib/interfaces/AddRetroRemissionRequest.d.ts +5 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts +31 -0
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts +9 -0
- package/lib/interfaces/IBSPayments.d.ts +19 -0
- package/lib/interfaces/ICardDetails.d.ts +7 -0
- package/lib/interfaces/IFee.d.ts +29 -0
- package/lib/interfaces/INotificationPreview.d.ts +27 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts +9 -0
- package/lib/interfaces/IPatchRefundAction.d.ts +4 -0
- package/lib/interfaces/IPayment.d.ts +35 -0
- package/lib/interfaces/IPaymentFailure.d.ts +13 -0
- package/lib/interfaces/IPaymentGroup.d.ts +11 -0
- package/lib/interfaces/IPaymentStatus.d.ts +11 -0
- package/lib/interfaces/IPaymentView.d.ts +5 -0
- package/lib/interfaces/IPayments.d.ts +4 -0
- package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
- package/lib/interfaces/IRefundAction.d.ts +4 -0
- package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
- package/lib/interfaces/IRefundFee.d.ts +7 -0
- package/lib/interfaces/IRefundList.d.ts +20 -0
- package/lib/interfaces/IRefundReasons.d.ts +6 -0
- package/lib/interfaces/IRefundRejectReason.d.ts +4 -0
- package/lib/interfaces/IRefundStatus.d.ts +8 -0
- package/lib/interfaces/IRefundStatusHistory.d.ts +5 -0
- package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
- package/lib/interfaces/IRemission.d.ts +14 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +9 -0
- package/lib/interfaces/IStatusHistories.d.ts +7 -0
- package/lib/interfaces/IStatusHistory.d.ts +7 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts +6 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +8 -0
- package/lib/interfaces/IssueRefundRequest.d.ts +6 -0
- package/lib/interfaces/NotificationPreviewRequest.d.ts +25 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts +8 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +11 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +6 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts +11 -0
- package/lib/interfaces/RefundsRequest.d.ts +5 -0
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +7 -0
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +10 -0
- package/lib/payment-lib.component.d.ts +156 -0
- package/lib/payment-lib.module.d.ts +42 -0
- package/lib/payment-lib.service.d.ts +21 -0
- package/lib/pipes/capitalize.pipe.d.ts +8 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts +8 -0
- package/lib/pipes/key-value.pipe.d.ts +8 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +10 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +27 -0
- package/lib/services/card-details/card-details.service.d.ts +17 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts +17 -0
- package/lib/services/notification/notification.service.d.ts +21 -0
- package/lib/services/orderslist.service.d.ts +77 -0
- package/lib/services/payment-list/payment-list.service.d.ts +18 -0
- package/lib/services/payment-view/payment-view.service.d.ts +61 -0
- package/lib/services/refunds/refunds.service.d.ts +36 -0
- package/lib/services/shared/error-handler.service.d.ts +14 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +17 -0
- package/lib/services/shared/logger/console-logger.service.d.ts +11 -0
- package/lib/services/shared/logger/logger.service.d.ts +14 -0
- package/lib/services/status-history/status-history.service.d.ts +17 -0
- package/lib/services/xl-file/xl-file.service.d.ts +16 -0
- package/package.json +5 -3
- package/public_api.d.ts +3 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
3
|
+
import { IRemission } from '../../interfaces/IRemission';
|
|
4
|
+
import { IPaymentView } from '../../interfaces/IPaymentView';
|
|
5
|
+
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
6
|
+
import { IFee } from '../../interfaces/IFee';
|
|
7
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
8
|
+
import { Router } from '@angular/router';
|
|
9
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
10
|
+
import { NotificationService } from '../../services/notification/notification.service';
|
|
11
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
12
|
+
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
13
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
type PaymentLibAlias = PaymentLibComponent;
|
|
16
|
+
export declare class ServiceRequestComponent implements OnInit {
|
|
17
|
+
private paymentLibComponent;
|
|
18
|
+
private paymentViewService;
|
|
19
|
+
private OrderslistService;
|
|
20
|
+
private notificationService;
|
|
21
|
+
private cd;
|
|
22
|
+
private router;
|
|
23
|
+
LOGGEDINUSERROLES: string[];
|
|
24
|
+
viewStatus: string;
|
|
25
|
+
orderDetail: any[];
|
|
26
|
+
orderRef: string;
|
|
27
|
+
orderStatus: string;
|
|
28
|
+
orderParty: string;
|
|
29
|
+
orderCreated: Date;
|
|
30
|
+
orderCCDEvent: string;
|
|
31
|
+
orderFeesTotal: number;
|
|
32
|
+
orderTotalPayments: number;
|
|
33
|
+
orderRemissionTotal: number;
|
|
34
|
+
paymentGroupList: IPaymentGroup;
|
|
35
|
+
takePayment: boolean;
|
|
36
|
+
ccdCaseNumber: boolean;
|
|
37
|
+
isServiceRequest: string;
|
|
38
|
+
goToServiceRquestComponent: EventEmitter<any>;
|
|
39
|
+
viewCompStatus: any;
|
|
40
|
+
servicerequest: string;
|
|
41
|
+
paymentType: string;
|
|
42
|
+
excReference: string;
|
|
43
|
+
paymentGroups: any[];
|
|
44
|
+
payments: IPayment[];
|
|
45
|
+
nonPayments: IPayment[];
|
|
46
|
+
allPayments: IPayment[];
|
|
47
|
+
remissions: IRemission[];
|
|
48
|
+
paymentFees: IFee[];
|
|
49
|
+
fees: any;
|
|
50
|
+
errorMessage: string;
|
|
51
|
+
totalFees: number;
|
|
52
|
+
totalPayments: number;
|
|
53
|
+
totalNonOffPayments: number;
|
|
54
|
+
totalRemissions: number;
|
|
55
|
+
selectedOption: string;
|
|
56
|
+
dcnNumber: string;
|
|
57
|
+
paymentRef: string;
|
|
58
|
+
isTurnOff: boolean;
|
|
59
|
+
isRefundRemission: boolean;
|
|
60
|
+
isStrategicFixEnable: boolean;
|
|
61
|
+
isAddFeeBtnEnabled: boolean;
|
|
62
|
+
isExceptionRecord: boolean;
|
|
63
|
+
isUnprocessedRecordSelected: boolean;
|
|
64
|
+
exceptionRecordReference: string;
|
|
65
|
+
isAnyFeeGroupAvilable: boolean;
|
|
66
|
+
isHistoricGroupAvailable: boolean;
|
|
67
|
+
isBulkScanEnable: any;
|
|
68
|
+
isRemissionsMatch: boolean;
|
|
69
|
+
isRemoveBtnDisabled: boolean;
|
|
70
|
+
feeId: IFee;
|
|
71
|
+
clAmountDue: number;
|
|
72
|
+
unprocessedRecordCount: number;
|
|
73
|
+
isFeeRecordsExist: boolean;
|
|
74
|
+
isGrpOutstandingAmtPositive: boolean;
|
|
75
|
+
totalRefundAmount: Number;
|
|
76
|
+
caseType: String;
|
|
77
|
+
isConfirmationBtnDisabled: boolean;
|
|
78
|
+
refundReference: string;
|
|
79
|
+
refundAmount: string;
|
|
80
|
+
payment: IPayment;
|
|
81
|
+
paymentGroup: IPaymentGroup;
|
|
82
|
+
paymentView: IPaymentView;
|
|
83
|
+
isAddRemissionEnable: boolean;
|
|
84
|
+
orderRemissionDetails: any[];
|
|
85
|
+
orderLevelFees: IOrderReferenceFee[];
|
|
86
|
+
cpoDetails: any[];
|
|
87
|
+
serviceRequestValue: string;
|
|
88
|
+
orderAddBtnEnable: boolean;
|
|
89
|
+
isFromPaymentDetailPage: boolean;
|
|
90
|
+
contactDetailsObj: IRefundContactDetails;
|
|
91
|
+
notification: any;
|
|
92
|
+
isCPODown: boolean;
|
|
93
|
+
test: boolean;
|
|
94
|
+
isPBA: boolean;
|
|
95
|
+
isIssueRefunfBtnEnable: boolean;
|
|
96
|
+
isAddRemissionBtnEnabled: boolean;
|
|
97
|
+
isRefundRemissionBtnEnable: boolean;
|
|
98
|
+
allowedRolesToAccessRefund: string[];
|
|
99
|
+
isFromServiceRequestPage: boolean;
|
|
100
|
+
navigationpage: string;
|
|
101
|
+
remissionFeeAmt: number;
|
|
102
|
+
isContinueBtnDisabled: boolean;
|
|
103
|
+
isFullyRefund: boolean;
|
|
104
|
+
templateInstructionType: string;
|
|
105
|
+
notificationPreview: boolean;
|
|
106
|
+
constructor(paymentLibComponent: PaymentLibAlias, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, notificationService: NotificationService, cd: ChangeDetectorRef, router: Router);
|
|
107
|
+
ngOnInit(): void;
|
|
108
|
+
goToServiceRequestPage(): void;
|
|
109
|
+
goToCaseTransationPage(event: any): void;
|
|
110
|
+
addRemission(fee: IFee): void;
|
|
111
|
+
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
112
|
+
cancelRemoval(): void;
|
|
113
|
+
removeFee(fee: any): void;
|
|
114
|
+
issueRefund(payment: IPayment): void;
|
|
115
|
+
isAnyRefundsForThisCase(): boolean;
|
|
116
|
+
showOverPayment(paymentgrp: IPaymentGroup, payment: any): void;
|
|
117
|
+
showIssueRefundPage(paymentgrp: IPaymentGroup, payment: any): void;
|
|
118
|
+
getBalanceToBePaid(): number;
|
|
119
|
+
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
120
|
+
goToPaymentViewComponent(paymentGroup: any): void;
|
|
121
|
+
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
122
|
+
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
123
|
+
canItBeRefunded(remission: IRemission): boolean;
|
|
124
|
+
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
125
|
+
resetOrderData(): void;
|
|
126
|
+
selectPymentOption(paymentType: string): void;
|
|
127
|
+
goToPaymentViewComp(): void;
|
|
128
|
+
continuePayment(paymentgrp: IPaymentGroup): void;
|
|
129
|
+
getContactDetails(obj: IRefundContactDetails): void;
|
|
130
|
+
gotoPaymentSelectPage(event: Event): void;
|
|
131
|
+
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
132
|
+
processRefund(): void;
|
|
133
|
+
getOverPaymentValue(): number;
|
|
134
|
+
getTemplateInstructionType(payment: IPayment): void;
|
|
135
|
+
showNotificationPreview(): void;
|
|
136
|
+
hideNotificationPreview(): void;
|
|
137
|
+
hasPaymentsRole(): boolean;
|
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceRequestComponent, never>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ServiceRequestComponent, "ccpay-service-request", never, { "LOGGEDINUSERROLES": { "alias": "LOGGEDINUSERROLES"; "required": false; }; "viewStatus": { "alias": "viewStatus"; "required": false; }; "orderDetail": { "alias": "orderDetail"; "required": false; }; "orderRef": { "alias": "orderRef"; "required": false; }; "orderStatus": { "alias": "orderStatus"; "required": false; }; "orderParty": { "alias": "orderParty"; "required": false; }; "orderCreated": { "alias": "orderCreated"; "required": false; }; "orderCCDEvent": { "alias": "orderCCDEvent"; "required": false; }; "orderFeesTotal": { "alias": "orderFeesTotal"; "required": false; }; "orderTotalPayments": { "alias": "orderTotalPayments"; "required": false; }; "orderRemissionTotal": { "alias": "orderRemissionTotal"; "required": false; }; "paymentGroupList": { "alias": "paymentGroupList"; "required": false; }; "takePayment": { "alias": "takePayment"; "required": false; }; "ccdCaseNumber": { "alias": "ccdCaseNumber"; "required": false; }; "isServiceRequest": { "alias": "isServiceRequest"; "required": false; }; }, { "goToServiceRquestComponent": "goToServiceRquestComponent"; }, never, never, true, never>;
|
|
140
|
+
}
|
|
141
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IStatusHistories } from '../../interfaces/IStatusHistories';
|
|
3
|
+
import { StatusHistoryService } from '../../services/status-history/status-history.service';
|
|
4
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
type PaymentLibAlias = PaymentLibComponent;
|
|
7
|
+
export declare class StatusHistoryComponent implements OnInit {
|
|
8
|
+
private statusHistoryService;
|
|
9
|
+
private paymentLibComponent;
|
|
10
|
+
isTakePayment: boolean;
|
|
11
|
+
pageTitle: string;
|
|
12
|
+
statuses: IStatusHistories;
|
|
13
|
+
errorMessage: string;
|
|
14
|
+
constructor(statusHistoryService: StatusHistoryService, paymentLibComponent: PaymentLibAlias);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusHistoryComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusHistoryComponent, "ccpay-payment-statuses", never, { "isTakePayment": { "alias": "isTakePayment"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
3
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
+
import { MatSort } from '@angular/material/sort';
|
|
5
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
6
|
+
import { IRefundList } from '../../interfaces/IRefundList';
|
|
7
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
type PaymentLibAlias = PaymentLibComponent;
|
|
11
|
+
export declare class TableComponent {
|
|
12
|
+
private paymentLibComponent;
|
|
13
|
+
private cdRef;
|
|
14
|
+
private OrderslistService;
|
|
15
|
+
private router;
|
|
16
|
+
private activeRoute;
|
|
17
|
+
DATASOURCE: any[];
|
|
18
|
+
STATUS: string;
|
|
19
|
+
errorMessage: string;
|
|
20
|
+
isApprovalFlow: boolean;
|
|
21
|
+
displayedColumns: string[];
|
|
22
|
+
dataSource: MatTableDataSource<any>;
|
|
23
|
+
userLst: any;
|
|
24
|
+
serviceLst: any;
|
|
25
|
+
actualcount: number;
|
|
26
|
+
count: number;
|
|
27
|
+
refundList: IRefundList[];
|
|
28
|
+
paginator: MatPaginator;
|
|
29
|
+
sort: MatSort;
|
|
30
|
+
constructor(paymentLibComponent: PaymentLibAlias, cdRef: ChangeDetectorRef, OrderslistService: OrderslistService, router: Router, activeRoute: ActivatedRoute);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Set the paginator and sort after the view init since this component will
|
|
34
|
+
* be able to query its view for the initialized paginator and sort.
|
|
35
|
+
*/
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
applyFilter(filterValue: string): void;
|
|
38
|
+
selectchange(args: any): void;
|
|
39
|
+
goToRefundProcessComponent(refundReference: string, refundData: IRefundList): void;
|
|
40
|
+
goToRefundViewComponent(refundReference: string, refundData: IRefundList): void;
|
|
41
|
+
goToCaseReview(ccdCaseNumber: string, refundData: IRefundList): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ccpay-table", never, { "DATASOURCE": { "alias": "DATASOURCE"; "required": false; }; "STATUS": { "alias": "STATUS"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, never, false, never>;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
3
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
+
import { IBSPayments } from '../../interfaces/IBSPayments';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
7
|
+
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class UnprocessedPaymentsComponent implements OnInit {
|
|
10
|
+
private router;
|
|
11
|
+
private bulkScaningPaymentService;
|
|
12
|
+
private paymentLibComponent;
|
|
13
|
+
private paymentViewService;
|
|
14
|
+
private OrderslistService;
|
|
15
|
+
FEE_RECORDS_EXISTS: boolean;
|
|
16
|
+
PAYMENTREF: string;
|
|
17
|
+
ISTURNOFF: boolean;
|
|
18
|
+
IS_BUTTON_ENABLE: boolean;
|
|
19
|
+
IS_OS_AMT_AVAILABLE: boolean;
|
|
20
|
+
ISSFENABLE: boolean;
|
|
21
|
+
PAYMENTSLENGTH: Number;
|
|
22
|
+
LEVEL: Number;
|
|
23
|
+
selectedUnprocessedFeeEvent: EventEmitter<string>;
|
|
24
|
+
getUnprocessedFeeCount: EventEmitter<string>;
|
|
25
|
+
viewStatus: string;
|
|
26
|
+
unassignedRecordList: IBSPayments;
|
|
27
|
+
upPaymentErrorMessage: string;
|
|
28
|
+
ccdCaseNumber: string;
|
|
29
|
+
recordId: string;
|
|
30
|
+
isRecordExist: boolean;
|
|
31
|
+
dcnNumber: string;
|
|
32
|
+
selectedOption: string;
|
|
33
|
+
isUnprocessedRecordSelected: boolean;
|
|
34
|
+
isAllocateToExistingFeebtnEnabled: boolean;
|
|
35
|
+
isMarkAsUnidentifiedbtnEnabled: boolean;
|
|
36
|
+
isAllocatedToNewFeebtnEnabled: boolean;
|
|
37
|
+
isExceptionCase: boolean;
|
|
38
|
+
serviceId: string;
|
|
39
|
+
isBulkScanEnable: any;
|
|
40
|
+
isTurnOff: boolean;
|
|
41
|
+
isStFixEnable: any;
|
|
42
|
+
unassignedRecordSelectedList: IBSPayments;
|
|
43
|
+
unassignedRecordListLength: number;
|
|
44
|
+
showContent: boolean;
|
|
45
|
+
constructor(router: Router, bulkScaningPaymentService: BulkScaningPaymentService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService);
|
|
46
|
+
ngOnInit(): void;
|
|
47
|
+
getUnassignedPaymentlist(): void;
|
|
48
|
+
setValuesForUnassignedRecord(unassignedPayments: any): void;
|
|
49
|
+
formatUnassignedRecordId(ID: Number): string;
|
|
50
|
+
trimUnderscore(method: string): string;
|
|
51
|
+
redirectToFeeSearchPage(event: any, dcn_reference: any): void;
|
|
52
|
+
loadUnsolicitedPage(viewName: string, dcn_reference: any): void;
|
|
53
|
+
unprocessedPaymentSelectEvent(selectedRecordReference: any): void;
|
|
54
|
+
resetButtons(): void;
|
|
55
|
+
goToAllocatePage(dcn_reference: any): void;
|
|
56
|
+
validateButtons(): void;
|
|
57
|
+
unprocessedPaymentUnSelectEvent(event: any): void;
|
|
58
|
+
showDetailRow(event: any, obj: any, i: any): void;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnprocessedPaymentsComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UnprocessedPaymentsComponent, "ccpay-app-unprocessed-payments", never, { "FEE_RECORDS_EXISTS": { "alias": "FEE_RECORDS_EXISTS"; "required": false; }; "PAYMENTREF": { "alias": "PAYMENTREF"; "required": false; }; "ISTURNOFF": { "alias": "ISTURNOFF"; "required": false; }; "IS_BUTTON_ENABLE": { "alias": "IS_BUTTON_ENABLE"; "required": false; }; "IS_OS_AMT_AVAILABLE": { "alias": "IS_OS_AMT_AVAILABLE"; "required": false; }; "ISSFENABLE": { "alias": "ISSFENABLE"; "required": false; }; "PAYMENTSLENGTH": { "alias": "PAYMENTSLENGTH"; "required": false; }; "LEVEL": { "alias": "LEVEL"; "required": false; }; }, { "selectedUnprocessedFeeEvent": "selectedUnprocessedFeeEvent"; "getUnprocessedFeeCount": "getUnprocessedFeeCount"; }, never, never, true, never>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IFee } from './IFee';
|
|
2
|
+
export declare class AddRemissionRequest {
|
|
3
|
+
beneficiary_name: string;
|
|
4
|
+
ccd_case_number: string;
|
|
5
|
+
fee: IFee;
|
|
6
|
+
hwf_amount: number;
|
|
7
|
+
hwf_reference: string;
|
|
8
|
+
payment_group_reference: string;
|
|
9
|
+
case_type: string;
|
|
10
|
+
constructor(ccd_case_number: string, fee: IFee, hwf_amount: number, hwf_reference: string, caseType: string);
|
|
11
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IBSPayments } from "./IBSPayments";
|
|
2
|
+
export declare class AllocatePaymentRequest {
|
|
3
|
+
amount: Number;
|
|
4
|
+
banked_date: String;
|
|
5
|
+
ccd_case_number: String;
|
|
6
|
+
exception_record: string;
|
|
7
|
+
currency: String;
|
|
8
|
+
document_control_number: String;
|
|
9
|
+
external_provider: String;
|
|
10
|
+
giro_slip_no: String;
|
|
11
|
+
payer_name: String;
|
|
12
|
+
payment_channel: Object;
|
|
13
|
+
payment_status: Object;
|
|
14
|
+
payment_method: String;
|
|
15
|
+
case_type: String;
|
|
16
|
+
payment_allocation_dto?: {
|
|
17
|
+
allocation_reason: String;
|
|
18
|
+
allocation_status: String;
|
|
19
|
+
explanation: String;
|
|
20
|
+
payment_allocation_status: Object;
|
|
21
|
+
payment_group_reference: String;
|
|
22
|
+
payment_reference: String;
|
|
23
|
+
reason: String;
|
|
24
|
+
receiving_office: String;
|
|
25
|
+
unidentified_reason: String;
|
|
26
|
+
user_id: String;
|
|
27
|
+
user_name: String;
|
|
28
|
+
case_type: String;
|
|
29
|
+
};
|
|
30
|
+
constructor(ccd_case_number: string, unAllocatedPayment: IBSPayments, caseType: string, exceptionRecord: string, allocatedRequest?: any);
|
|
31
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class IAllocationPaymentsRequest {
|
|
2
|
+
payment_allocation_status: any;
|
|
3
|
+
payment_group_reference: string;
|
|
4
|
+
payment_reference: string;
|
|
5
|
+
reason: string;
|
|
6
|
+
explanation: string;
|
|
7
|
+
user_name: string;
|
|
8
|
+
constructor(payment_group_reference: string, payment_reference: string, reason?: string, explanation?: string, userName?: string);
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface IBSPayments {
|
|
2
|
+
id?: string;
|
|
3
|
+
dcn_reference?: string;
|
|
4
|
+
bgc_reference?: string;
|
|
5
|
+
amount?: number;
|
|
6
|
+
currency?: string;
|
|
7
|
+
payment_method?: string;
|
|
8
|
+
outbound_batch_number?: string;
|
|
9
|
+
dcn_case?: string;
|
|
10
|
+
case_reference?: string;
|
|
11
|
+
po_box?: string;
|
|
12
|
+
first_cheque_dcn_in_batch?: string;
|
|
13
|
+
payer_name?: string;
|
|
14
|
+
date_banked?: string;
|
|
15
|
+
date_created?: string;
|
|
16
|
+
date_updated?: string;
|
|
17
|
+
length?: number;
|
|
18
|
+
expanded?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface IFee {
|
|
2
|
+
code: string;
|
|
3
|
+
version: string;
|
|
4
|
+
volume?: number;
|
|
5
|
+
calculated_amount: number;
|
|
6
|
+
net_amount: number;
|
|
7
|
+
description: string;
|
|
8
|
+
ccd_case_number: string;
|
|
9
|
+
id: number;
|
|
10
|
+
jurisdiction1: string;
|
|
11
|
+
jurisdiction2: string;
|
|
12
|
+
reference: string;
|
|
13
|
+
memo_line: string;
|
|
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;
|
|
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;
|
|
29
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface INotificationPreview {
|
|
2
|
+
template_id: string;
|
|
3
|
+
template_type: string;
|
|
4
|
+
from: {
|
|
5
|
+
from_email_address: string;
|
|
6
|
+
from_mail_address: {
|
|
7
|
+
address_line: string;
|
|
8
|
+
city: string;
|
|
9
|
+
county: string;
|
|
10
|
+
country: string;
|
|
11
|
+
postal_code: String;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
recipient_contact: {
|
|
15
|
+
recipient_email_address: string;
|
|
16
|
+
recipient_mail_address: {
|
|
17
|
+
address_line: string;
|
|
18
|
+
city: string;
|
|
19
|
+
county: string;
|
|
20
|
+
country: string;
|
|
21
|
+
postal_code: String;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
subject: string;
|
|
25
|
+
body: string;
|
|
26
|
+
html: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IFee } from './IFee';
|
|
2
|
+
import { IStatusHistory } from './IStatusHistory';
|
|
3
|
+
import { IPaymentStatus } from './IPaymentStatus';
|
|
4
|
+
export interface IPayment {
|
|
5
|
+
amount: number;
|
|
6
|
+
description: string;
|
|
7
|
+
reference: string;
|
|
8
|
+
currency: string;
|
|
9
|
+
date_created: string;
|
|
10
|
+
banked_date: string;
|
|
11
|
+
document_control_number: string;
|
|
12
|
+
payer_name: string;
|
|
13
|
+
date_updated: string;
|
|
14
|
+
ccd_case_number: string;
|
|
15
|
+
case_reference: string;
|
|
16
|
+
channel: string;
|
|
17
|
+
method: string;
|
|
18
|
+
external_provider: string;
|
|
19
|
+
status: string;
|
|
20
|
+
payment_allocation: IPaymentStatus[];
|
|
21
|
+
external_reference: string;
|
|
22
|
+
site_id: string;
|
|
23
|
+
service_name: string;
|
|
24
|
+
account_number: string;
|
|
25
|
+
customer_reference: string;
|
|
26
|
+
organisation_name: string;
|
|
27
|
+
fees: IFee[];
|
|
28
|
+
status_histories: IStatusHistory[];
|
|
29
|
+
payment_group_reference: string;
|
|
30
|
+
paymentGroupReference?: string;
|
|
31
|
+
refund_enable?: boolean;
|
|
32
|
+
over_payment?: number;
|
|
33
|
+
issue_refund_add_refund_add_remission: boolean;
|
|
34
|
+
issue_refund: boolean;
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IPaymentFailure {
|
|
2
|
+
additional_reference: string;
|
|
3
|
+
disputed_amount: number;
|
|
4
|
+
failure_event_date_time: string;
|
|
5
|
+
failure_reason: string;
|
|
6
|
+
failure_reference: string;
|
|
7
|
+
failure_type: string;
|
|
8
|
+
payment_reference: string;
|
|
9
|
+
representment_date: string;
|
|
10
|
+
representment_status: string;
|
|
11
|
+
has_amount_debited?: string;
|
|
12
|
+
status: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IFee } from './IFee';
|
|
2
|
+
import { IPayment } from './IPayment';
|
|
3
|
+
import { IRemission } from './IRemission';
|
|
4
|
+
import { IRefundList } from "./IRefundList";
|
|
5
|
+
export interface IPaymentGroup {
|
|
6
|
+
payment_group_reference: string;
|
|
7
|
+
payments: IPayment[];
|
|
8
|
+
remissions: IRemission[];
|
|
9
|
+
fees: IFee[];
|
|
10
|
+
refunds: IRefundList[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class IPaymentStatus {
|
|
2
|
+
allocation_status: any;
|
|
3
|
+
date_created: string;
|
|
4
|
+
payment_group_reference: string;
|
|
5
|
+
payment_reference: string;
|
|
6
|
+
receiving_office: string;
|
|
7
|
+
receiving_email_address: string;
|
|
8
|
+
sending_email_address: string;
|
|
9
|
+
unidentified_reason: string;
|
|
10
|
+
user_id: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
|
+
export interface IRefundList {
|
|
3
|
+
amount: number;
|
|
4
|
+
ccd_case_number: string;
|
|
5
|
+
date_created: string;
|
|
6
|
+
date_updated: string;
|
|
7
|
+
payment_reference: string;
|
|
8
|
+
reason: string;
|
|
9
|
+
reason_code: string;
|
|
10
|
+
refund_reference: string;
|
|
11
|
+
refund_status: {
|
|
12
|
+
description: string;
|
|
13
|
+
name: string;
|
|
14
|
+
};
|
|
15
|
+
contact_details: IRefundContactDetails;
|
|
16
|
+
user_full_name: string;
|
|
17
|
+
service_type: string;
|
|
18
|
+
fee_ids: string;
|
|
19
|
+
code: string;
|
|
20
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IRemission {
|
|
2
|
+
remission_reference: string;
|
|
3
|
+
hwf_reference: string;
|
|
4
|
+
hwf_amount: number;
|
|
5
|
+
beneficiary_name: string;
|
|
6
|
+
ccd_case_number: string;
|
|
7
|
+
fee_code: string;
|
|
8
|
+
date_created: string;
|
|
9
|
+
fee_id: number;
|
|
10
|
+
issue_refund_add_refund_add_remission: boolean;
|
|
11
|
+
add_refund: boolean;
|
|
12
|
+
overall_balance: number;
|
|
13
|
+
acollection_of_fess: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IFee } from "./IFee";
|
|
2
|
+
import { IRefundContactDetails } from "./IRefundContactDetails";
|
|
3
|
+
export declare class IResubmitRefundRequest {
|
|
4
|
+
refund_reason: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
contact_details: IRefundContactDetails;
|
|
7
|
+
refund_fees: IFee[];
|
|
8
|
+
constructor(refund_reason: string, amount: number, contact_details: any, refund_fees: any[]);
|
|
9
|
+
}
|