@hmcts/ccpay-web-component 5.0.4-beta21 → 5.0.4-beta22
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 +25 -94
- 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/case-transactions/case-transactions.component.js +5 -6
- package/esm2015/lib/components/payment-view/payment-view.component.js +3 -56
- package/esm2015/lib/components/refund-status/refund-status.component.js +22 -29
- package/esm2015/lib/payment-lib.component.js +1 -5
- package/esm2015/lib/services/payment-view/payment-view.service.js +1 -10
- package/esm5/lib/components/case-transactions/case-transactions.component.js +5 -6
- package/esm5/lib/components/payment-view/payment-view.component.js +3 -64
- package/esm5/lib/components/refund-status/refund-status.component.js +22 -32
- package/esm5/lib/payment-lib.component.js +2 -5
- package/esm5/lib/services/payment-view/payment-view.service.js +1 -14
- package/fesm2015/hmcts-ccpay-web-component.js +25 -85
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +26 -100
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +0 -1
- package/lib/components/payment-view/payment-view.component.d.ts +0 -7
- package/lib/components/refund-status/refund-status.component.d.ts +1 -2
- package/lib/payment-lib.component.d.ts +0 -1
- package/lib/services/payment-view/payment-view.service.d.ts +0 -1
- package/package.json +1 -1
- package/esm2015/lib/interfaces/IPaymentFailure.js +0 -33
- package/esm5/lib/interfaces/IPaymentFailure.js +0 -33
- package/lib/interfaces/IPaymentFailure.d.ts +0 -13
|
@@ -6,7 +6,6 @@ import { IFee } from '../../interfaces/IFee';
|
|
|
6
6
|
import { IPayment } from '../../interfaces/IPayment';
|
|
7
7
|
import { IRemission } from '../../interfaces/IRemission';
|
|
8
8
|
import { ChangeDetectorRef } from '@angular/core';
|
|
9
|
-
import { IPaymentFailure } from '../../interfaces/IPaymentFailure';
|
|
10
9
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
11
10
|
export declare class PaymentViewComponent implements OnInit {
|
|
12
11
|
private paymentViewService;
|
|
@@ -23,7 +22,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
23
22
|
orderTotalPayments: number;
|
|
24
23
|
payment: IPayment;
|
|
25
24
|
LOGGEDINUSERROLES: string[];
|
|
26
|
-
ISPAYMENTSTATUSENABLED: string;
|
|
27
25
|
orderParty: string;
|
|
28
26
|
orderCreated: Date;
|
|
29
27
|
orderCCDEvent: string;
|
|
@@ -31,7 +29,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
31
29
|
orderRemissionTotal: number;
|
|
32
30
|
orderDetail: any[];
|
|
33
31
|
isServiceRequest: string;
|
|
34
|
-
errorMsg: string;
|
|
35
32
|
paymentGroup: IPaymentGroup;
|
|
36
33
|
errorMessage: string;
|
|
37
34
|
ccdCaseNumber: string;
|
|
@@ -47,8 +44,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
47
44
|
isIssueRefunfBtnEnable: boolean;
|
|
48
45
|
allowedRolesToAccessRefund: string[];
|
|
49
46
|
remissions: IRemission[];
|
|
50
|
-
allPaymentsFailure: IPaymentFailure[];
|
|
51
|
-
selectedPaymentsStatus: IPaymentFailure;
|
|
52
47
|
remissionFeeAmt: number;
|
|
53
48
|
isRefundRemissionBtnEnable: boolean;
|
|
54
49
|
serviceReference: string;
|
|
@@ -74,6 +69,4 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
74
69
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
75
70
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
76
71
|
resetOrderData(): void;
|
|
77
|
-
goToPaymentFailuePage(payment: any): void;
|
|
78
|
-
goBackToPaymentView(event: any): void;
|
|
79
72
|
}
|
|
@@ -19,6 +19,7 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
19
19
|
isNewPcipalOff: boolean;
|
|
20
20
|
ccdCaseNumber: string;
|
|
21
21
|
isTurnOff: boolean;
|
|
22
|
+
isEliginbleToAccess: boolean;
|
|
22
23
|
refundStatusForm: FormGroup;
|
|
23
24
|
selectedRefundReason: string;
|
|
24
25
|
rejectedRefundList: IRefundList[];
|
|
@@ -48,10 +49,8 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
48
49
|
isLastUpdatedByCurrentUser: boolean;
|
|
49
50
|
isProcessRefund: boolean;
|
|
50
51
|
changedAmount: number;
|
|
51
|
-
allowedRolesToAccessRefund: string[];
|
|
52
52
|
constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
|
|
53
53
|
ngOnInit(): void;
|
|
54
|
-
check4AllowedRoles2AccessRefund: () => boolean;
|
|
55
54
|
getRefundsStatusHistoryList(): void;
|
|
56
55
|
goToRefundView(refundlist: IRefundList, navigationpage: string): void;
|
|
57
56
|
loadCaseTransactionPage(): void;
|
|
@@ -52,5 +52,4 @@ export declare class PaymentViewService {
|
|
|
52
52
|
postRefundsReason(body: PostRefundRetroRemission): Observable<any>;
|
|
53
53
|
postPaymentGroupWithRetroRemissions(paymentGroupReference: string, feeId: number, body: AddRetroRemissionRequest): Observable<any>;
|
|
54
54
|
postRefundRetroRemission(body: PostIssueRefundRetroRemission): Observable<any>;
|
|
55
|
-
getPaymentFailure(paymentReference: string): Observable<any>;
|
|
56
55
|
}
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @record
|
|
7
|
-
*/
|
|
8
|
-
export function IPaymentFailure() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/** @type {?} */
|
|
11
|
-
IPaymentFailure.prototype.additional_reference;
|
|
12
|
-
/** @type {?} */
|
|
13
|
-
IPaymentFailure.prototype.disputed_amount;
|
|
14
|
-
/** @type {?} */
|
|
15
|
-
IPaymentFailure.prototype.failure_event_date_time;
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
IPaymentFailure.prototype.failure_reason;
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
IPaymentFailure.prototype.failure_reference;
|
|
20
|
-
/** @type {?} */
|
|
21
|
-
IPaymentFailure.prototype.failure_type;
|
|
22
|
-
/** @type {?} */
|
|
23
|
-
IPaymentFailure.prototype.payment_reference;
|
|
24
|
-
/** @type {?} */
|
|
25
|
-
IPaymentFailure.prototype.representment_date;
|
|
26
|
-
/** @type {?} */
|
|
27
|
-
IPaymentFailure.prototype.representment_status;
|
|
28
|
-
/** @type {?|undefined} */
|
|
29
|
-
IPaymentFailure.prototype.has_amount_debited;
|
|
30
|
-
/** @type {?} */
|
|
31
|
-
IPaymentFailure.prototype.status;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVBheW1lbnRGYWlsdXJlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUGF5bWVudEZhaWx1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLHFDQVlDOzs7SUFYQywrQ0FBNkI7O0lBQzdCLDBDQUF3Qjs7SUFDeEIsa0RBQWdDOztJQUNoQyx5Q0FBdUI7O0lBQ3ZCLDRDQUEwQjs7SUFDMUIsdUNBQXFCOztJQUNyQiw0Q0FBMEI7O0lBQzFCLDZDQUEyQjs7SUFDM0IsK0NBQTZCOztJQUM3Qiw2Q0FBNEI7O0lBQzVCLGlDQUFlIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJUGF5bWVudEZhaWx1cmUge1xuICBhZGRpdGlvbmFsX3JlZmVyZW5jZTogc3RyaW5nO1xuICBkaXNwdXRlZF9hbW91bnQ6IG51bWJlcjtcbiAgZmFpbHVyZV9ldmVudF9kYXRlX3RpbWU6IHN0cmluZztcbiAgZmFpbHVyZV9yZWFzb246IHN0cmluZztcbiAgZmFpbHVyZV9yZWZlcmVuY2U6IHN0cmluZztcbiAgZmFpbHVyZV90eXBlOiBzdHJpbmc7XG4gIHBheW1lbnRfcmVmZXJlbmNlOiBzdHJpbmc7XG4gIHJlcHJlc2VudG1lbnRfZGF0ZTogc3RyaW5nO1xuICByZXByZXNlbnRtZW50X3N0YXR1czogc3RyaW5nO1xuICBoYXNfYW1vdW50X2RlYml0ZWQ/OiBzdHJpbmc7XG4gIHN0YXR1czogc3RyaW5nO1xufVxuIl19
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @record
|
|
7
|
-
*/
|
|
8
|
-
export function IPaymentFailure() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/** @type {?} */
|
|
11
|
-
IPaymentFailure.prototype.additional_reference;
|
|
12
|
-
/** @type {?} */
|
|
13
|
-
IPaymentFailure.prototype.disputed_amount;
|
|
14
|
-
/** @type {?} */
|
|
15
|
-
IPaymentFailure.prototype.failure_event_date_time;
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
IPaymentFailure.prototype.failure_reason;
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
IPaymentFailure.prototype.failure_reference;
|
|
20
|
-
/** @type {?} */
|
|
21
|
-
IPaymentFailure.prototype.failure_type;
|
|
22
|
-
/** @type {?} */
|
|
23
|
-
IPaymentFailure.prototype.payment_reference;
|
|
24
|
-
/** @type {?} */
|
|
25
|
-
IPaymentFailure.prototype.representment_date;
|
|
26
|
-
/** @type {?} */
|
|
27
|
-
IPaymentFailure.prototype.representment_status;
|
|
28
|
-
/** @type {?|undefined} */
|
|
29
|
-
IPaymentFailure.prototype.has_amount_debited;
|
|
30
|
-
/** @type {?} */
|
|
31
|
-
IPaymentFailure.prototype.status;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVBheW1lbnRGYWlsdXJlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUGF5bWVudEZhaWx1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLHFDQVlDOzs7SUFYQywrQ0FBNkI7O0lBQzdCLDBDQUF3Qjs7SUFDeEIsa0RBQWdDOztJQUNoQyx5Q0FBdUI7O0lBQ3ZCLDRDQUEwQjs7SUFDMUIsdUNBQXFCOztJQUNyQiw0Q0FBMEI7O0lBQzFCLDZDQUEyQjs7SUFDM0IsK0NBQTZCOztJQUM3Qiw2Q0FBNEI7O0lBQzVCLGlDQUFlIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJUGF5bWVudEZhaWx1cmUge1xuICBhZGRpdGlvbmFsX3JlZmVyZW5jZTogc3RyaW5nO1xuICBkaXNwdXRlZF9hbW91bnQ6IG51bWJlcjtcbiAgZmFpbHVyZV9ldmVudF9kYXRlX3RpbWU6IHN0cmluZztcbiAgZmFpbHVyZV9yZWFzb246IHN0cmluZztcbiAgZmFpbHVyZV9yZWZlcmVuY2U6IHN0cmluZztcbiAgZmFpbHVyZV90eXBlOiBzdHJpbmc7XG4gIHBheW1lbnRfcmVmZXJlbmNlOiBzdHJpbmc7XG4gIHJlcHJlc2VudG1lbnRfZGF0ZTogc3RyaW5nO1xuICByZXByZXNlbnRtZW50X3N0YXR1czogc3RyaW5nO1xuICBoYXNfYW1vdW50X2RlYml0ZWQ/OiBzdHJpbmc7XG4gIHN0YXR1czogc3RyaW5nO1xufVxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|