@hmcts/ccpay-web-component 5.0.7-beta36 → 5.0.7-beta39
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 +249 -40
- 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 +37 -2
- package/esm2015/lib/components/notification-preview/notification-preview.component.js +38 -25
- package/esm2015/lib/components/payment-view/payment-view.component.js +32 -2
- package/esm2015/lib/components/process-refund/process-refund.component.js +34 -3
- package/esm2015/lib/components/refund-status/refund-status.component.js +58 -2
- package/esm2015/lib/components/service-request/service-request.component.js +32 -2
- package/esm2015/lib/interfaces/NotificationPreviewRequest.js +7 -11
- package/esm5/lib/components/add-remission/add-remission.component.js +42 -2
- package/esm5/lib/components/notification-preview/notification-preview.component.js +40 -27
- package/esm5/lib/components/payment-view/payment-view.component.js +37 -2
- package/esm5/lib/components/process-refund/process-refund.component.js +39 -3
- package/esm5/lib/components/refund-status/refund-status.component.js +70 -2
- package/esm5/lib/components/service-request/service-request.component.js +37 -2
- package/esm5/lib/interfaces/NotificationPreviewRequest.js +7 -11
- package/fesm2015/hmcts-ccpay-web-component.js +217 -40
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +251 -42
- 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 +2 -0
- package/lib/components/notification-preview/notification-preview.component.d.ts +2 -0
- package/lib/components/payment-view/payment-view.component.d.ts +1 -0
- package/lib/components/process-refund/process-refund.component.d.ts +3 -0
- package/lib/components/refund-status/refund-status.component.d.ts +6 -0
- package/lib/components/service-request/service-request.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -122,6 +122,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
122
122
|
isStatusAllocated: boolean;
|
|
123
123
|
isFromCheckAnsPage: boolean;
|
|
124
124
|
refundAmtForFeeVolumes: number;
|
|
125
|
+
paymentObj: IPayment;
|
|
125
126
|
notificationPreview: boolean;
|
|
126
127
|
component: {
|
|
127
128
|
account_number: string;
|
|
@@ -184,4 +185,5 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
184
185
|
getFormattedCurrency(currency: number): string | number;
|
|
185
186
|
showNotificationPreview(): void;
|
|
186
187
|
hideNotificationPreview(): void;
|
|
188
|
+
getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
|
|
187
189
|
}
|
|
@@ -15,6 +15,8 @@ export declare class NotificationPreviewComponent implements OnInit {
|
|
|
15
15
|
refundAmount: number;
|
|
16
16
|
paymentReference: string;
|
|
17
17
|
refundReference: string;
|
|
18
|
+
previewJourney: string;
|
|
19
|
+
notificationSent: INotificationPreview;
|
|
18
20
|
notificationPreviewEvent: EventEmitter<INotificationPreview>;
|
|
19
21
|
notification: INotificationPreview;
|
|
20
22
|
notificationPreviewRequest: NotificationPreviewRequest;
|
|
@@ -92,6 +92,7 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
92
92
|
resetOrderData(): void;
|
|
93
93
|
goToPaymentFailuePage(payment: any): void;
|
|
94
94
|
goBackToPaymentView(event: any): void;
|
|
95
|
+
getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
|
|
95
96
|
showNotificationPreview(): void;
|
|
96
97
|
hideNotificationPreview(): void;
|
|
97
98
|
}
|
|
@@ -3,6 +3,7 @@ import { FormBuilder, FormGroup } from '@angular/forms';
|
|
|
3
3
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
4
4
|
import { IRefundAction } from '../../interfaces/IRefundAction';
|
|
5
5
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
6
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
6
7
|
import { IRefundRejectReason } from '../../interfaces/IRefundRejectReason';
|
|
7
8
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
9
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
@@ -48,6 +49,7 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
48
49
|
cpoDetails: any;
|
|
49
50
|
isCPODown: boolean;
|
|
50
51
|
isConfirmButtondisabled: boolean;
|
|
52
|
+
paymentObj: IPayment;
|
|
51
53
|
notificationPreview: boolean;
|
|
52
54
|
notificationPreviewObj: INotificationPreview;
|
|
53
55
|
constructor(RefundsService: RefundsService, paymentViewService: PaymentViewService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
@@ -66,6 +68,7 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
66
68
|
loadCaseTransactionPage(): void;
|
|
67
69
|
resetForm(vals: any, field: any): void;
|
|
68
70
|
goToCaseReview(): void;
|
|
71
|
+
getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
|
|
69
72
|
showNotificationPreview(): void;
|
|
70
73
|
hideNotificationPreview(): void;
|
|
71
74
|
}
|
|
@@ -66,7 +66,10 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
66
66
|
changeRefundReason: string;
|
|
67
67
|
fees: IFee[];
|
|
68
68
|
refundFees: IRefundFee[];
|
|
69
|
+
paymentObj: IPayment;
|
|
70
|
+
notificationSentViewIndex: number;
|
|
69
71
|
notificationPreview: boolean;
|
|
72
|
+
notificationSentView: boolean;
|
|
70
73
|
allowedRolesToAccessRefund: string[];
|
|
71
74
|
constructor(formBuilder: FormBuilder, refundService: RefundsService, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService, paymentViewService: PaymentViewService);
|
|
72
75
|
ngOnInit(): void;
|
|
@@ -95,6 +98,9 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
95
98
|
putResend(notification: IRefundsNotifications): void;
|
|
96
99
|
gotoCasetransationPageCancelBtnClicked(Event: Event): void;
|
|
97
100
|
goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
|
|
101
|
+
getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
|
|
98
102
|
showNotificationPreview(): void;
|
|
99
103
|
hideNotificationPreview(): void;
|
|
104
|
+
showNotificationSentView(index: number): void;
|
|
105
|
+
hideNotificationSentView(): void;
|
|
100
106
|
}
|
|
@@ -121,6 +121,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
121
121
|
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
122
122
|
processRefund(): void;
|
|
123
123
|
getOverPaymentValue(): number;
|
|
124
|
+
getTemplateInstructionType(payment?: IPayment, paymentReference?: string): "Template ABC" | "RefundWhenContacted" | "SendRefund";
|
|
124
125
|
showNotificationPreview(): void;
|
|
125
126
|
hideNotificationPreview(): void;
|
|
126
127
|
}
|