@hmcts/ccpay-web-component 5.0.4-beta23 → 5.0.4-beta26

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.
Files changed (28) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +29 -91
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/case-transactions/case-transactions.component.js +5 -6
  6. package/esm2015/lib/components/payment-view/payment-view.component.js +3 -56
  7. package/esm2015/lib/components/refund-status/refund-status.component.js +29 -25
  8. package/esm2015/lib/payment-lib.component.js +5 -6
  9. package/esm2015/lib/services/payment-view/payment-view.service.js +1 -10
  10. package/esm5/lib/components/case-transactions/case-transactions.component.js +5 -6
  11. package/esm5/lib/components/payment-view/payment-view.component.js +3 -64
  12. package/esm5/lib/components/refund-status/refund-status.component.js +29 -27
  13. package/esm5/lib/payment-lib.component.js +2 -5
  14. package/esm5/lib/services/payment-view/payment-view.service.js +1 -14
  15. package/fesm2015/hmcts-ccpay-web-component.js +33 -83
  16. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  17. package/fesm5/hmcts-ccpay-web-component.js +30 -96
  18. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  19. package/hmcts-ccpay-web-component.metadata.json +1 -1
  20. package/lib/components/case-transactions/case-transactions.component.d.ts +0 -1
  21. package/lib/components/payment-view/payment-view.component.d.ts +0 -7
  22. package/lib/components/refund-status/refund-status.component.d.ts +3 -2
  23. package/lib/payment-lib.component.d.ts +0 -1
  24. package/lib/services/payment-view/payment-view.service.d.ts +0 -1
  25. package/package.json +1 -1
  26. package/esm2015/lib/interfaces/IPaymentFailure.js +0 -33
  27. package/esm5/lib/interfaces/IPaymentFailure.js +0 -33
  28. package/lib/interfaces/IPaymentFailure.d.ts +0 -13
@@ -21,7 +21,6 @@ export declare class CaseTransactionsComponent implements OnInit {
21
21
  LOGGEDINUSERROLES: string[];
22
22
  isTakePayment: boolean;
23
23
  takePayment: boolean;
24
- servicerequest: string;
25
24
  ccdCaseNumber: string;
26
25
  excReference: string;
27
26
  paymentGroups: any[];
@@ -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
  }
@@ -15,10 +15,12 @@ export declare class RefundStatusComponent implements OnInit {
15
15
  private router;
16
16
  private OrderslistService;
17
17
  LOGGEDINUSERROLES: string[];
18
+ API_ROOT: string;
18
19
  isOldPcipalOff: boolean;
19
20
  isNewPcipalOff: boolean;
20
21
  ccdCaseNumber: string;
21
22
  isTurnOff: boolean;
23
+ isEliginbleToAccess: boolean;
22
24
  refundStatusForm: FormGroup;
23
25
  selectedRefundReason: string;
24
26
  rejectedRefundList: IRefundList[];
@@ -48,10 +50,9 @@ export declare class RefundStatusComponent implements OnInit {
48
50
  isLastUpdatedByCurrentUser: boolean;
49
51
  isProcessRefund: boolean;
50
52
  changedAmount: number;
51
- allowedRolesToAccessRefund: string[];
52
53
  constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
53
54
  ngOnInit(): void;
54
- check4AllowedRoles2AccessRefund: () => boolean;
55
+ isFromPayBubble: () => boolean;
55
56
  getRefundsStatusHistoryList(): void;
56
57
  goToRefundView(refundlist: IRefundList, navigationpage: string): void;
57
58
  loadCaseTransactionPage(): void;
@@ -27,7 +27,6 @@ export declare class PaymentLibComponent implements OnInit {
27
27
  CASETYPE: string;
28
28
  ISOLDPCIPALOFF: boolean;
29
29
  ISNEWPCIPALOFF: boolean;
30
- ISPAYMENTSTATUSENABLED: boolean;
31
30
  rootUrl: boolean;
32
31
  REFUNDLIST: string;
33
32
  USERID: string;
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "5.0.4-beta23",
3
+ "version": "5.0.4-beta26",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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
- }