@hmcts/ccpay-web-component 5.0.5-beta04 → 5.0.6

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 (42) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +15 -175
  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/add-remission/add-remission.component.js +7 -29
  6. package/esm2015/lib/components/case-transactions/case-transactions.component.js +2 -10
  7. package/esm2015/lib/components/fee-summary/fee-summary.component.js +5 -43
  8. package/esm2015/lib/components/payment-view/payment-view.component.js +3 -62
  9. package/esm2015/lib/components/refund-status/refund-status.component.js +1 -7
  10. package/esm2015/lib/components/reports/reports.component.js +2 -19
  11. package/esm2015/lib/components/service-request/service-request.component.js +2 -8
  12. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -17
  13. package/esm2015/lib/payment-lib.component.js +3 -20
  14. package/esm2015/lib/services/payment-view/payment-view.service.js +1 -18
  15. package/esm5/lib/components/add-remission/add-remission.component.js +7 -29
  16. package/esm5/lib/components/case-transactions/case-transactions.component.js +2 -10
  17. package/esm5/lib/components/fee-summary/fee-summary.component.js +5 -43
  18. package/esm5/lib/components/payment-view/payment-view.component.js +3 -70
  19. package/esm5/lib/components/refund-status/refund-status.component.js +1 -7
  20. package/esm5/lib/components/reports/reports.component.js +2 -19
  21. package/esm5/lib/components/service-request/service-request.component.js +2 -8
  22. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -17
  23. package/esm5/lib/payment-lib.component.js +2 -15
  24. package/esm5/lib/services/payment-view/payment-view.service.js +1 -25
  25. package/fesm2015/hmcts-ccpay-web-component.js +17 -173
  26. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  27. package/fesm5/hmcts-ccpay-web-component.js +16 -183
  28. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  29. package/hmcts-ccpay-web-component.metadata.json +1 -1
  30. package/lib/components/add-remission/add-remission.component.d.ts +0 -2
  31. package/lib/components/case-transactions/case-transactions.component.d.ts +0 -2
  32. package/lib/components/fee-summary/fee-summary.component.d.ts +0 -2
  33. package/lib/components/payment-view/payment-view.component.d.ts +0 -9
  34. package/lib/components/refund-status/refund-status.component.d.ts +0 -2
  35. package/lib/components/service-request/service-request.component.d.ts +0 -2
  36. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +0 -4
  37. package/lib/payment-lib.component.d.ts +0 -5
  38. package/lib/services/payment-view/payment-view.service.d.ts +0 -2
  39. package/package.json +1 -1
  40. package/esm2015/lib/interfaces/IPaymentFailure.js +0 -33
  41. package/esm5/lib/interfaces/IPaymentFailure.js +0 -33
  42. package/lib/interfaces/IPaymentFailure.d.ts +0 -13
@@ -27,8 +27,6 @@ export declare class AddRemissionComponent implements OnInit {
27
27
  paymentGroupRef: string;
28
28
  isTurnOff: boolean;
29
29
  isRefundRemission: boolean;
30
- isOldPcipalOff: boolean;
31
- isNewPcipalOff: boolean;
32
30
  isStrategicFixEnable: boolean;
33
31
  paidAmount: any;
34
32
  isFromRefundListPage: boolean;
@@ -38,9 +38,7 @@ export declare class CaseTransactionsComponent implements OnInit {
38
38
  dcnNumber: string;
39
39
  paymentRef: string;
40
40
  isTurnOff: boolean;
41
- isNewPcipalOff: boolean;
42
41
  isRefundRemission: boolean;
43
- isOldPcipalOff: boolean;
44
42
  isStrategicFixEnable: boolean;
45
43
  isAddFeeBtnEnabled: boolean;
46
44
  isExceptionRecord: boolean;
@@ -20,8 +20,6 @@ export declare class FeeSummaryComponent implements OnInit {
20
20
  ccdCaseNumber: string;
21
21
  isTurnOff: string;
22
22
  caseType: string;
23
- isOldPcipalOff: string;
24
- isNewPcipalOff: string;
25
23
  bsPaymentDcnNumber: string;
26
24
  paymentGroup: IPaymentGroup;
27
25
  errorMessage: string;
@@ -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;
@@ -16,14 +15,11 @@ export declare class PaymentViewComponent implements OnInit {
16
15
  isTurnOff: boolean;
17
16
  isTakePayment: boolean;
18
17
  caseType: boolean;
19
- isNewPcipalOff: boolean;
20
- isOldPcipalOff: boolean;
21
18
  orderRef: string;
22
19
  orderStatus: string;
23
20
  orderTotalPayments: number;
24
21
  payment: IPayment;
25
22
  LOGGEDINUSERROLES: string[];
26
- ISPAYMENTSTATUSENABLED: string;
27
23
  orderParty: string;
28
24
  orderCreated: Date;
29
25
  orderCCDEvent: string;
@@ -31,7 +27,6 @@ export declare class PaymentViewComponent implements OnInit {
31
27
  orderRemissionTotal: number;
32
28
  orderDetail: any[];
33
29
  isServiceRequest: string;
34
- errorMsg: string;
35
30
  paymentGroup: IPaymentGroup;
36
31
  errorMessage: string;
37
32
  ccdCaseNumber: string;
@@ -47,8 +42,6 @@ export declare class PaymentViewComponent implements OnInit {
47
42
  isIssueRefunfBtnEnable: boolean;
48
43
  allowedRolesToAccessRefund: string[];
49
44
  remissions: IRemission[];
50
- allPaymentsFailure: IPaymentFailure[];
51
- selectedPaymentsStatus: IPaymentFailure;
52
45
  remissionFeeAmt: number;
53
46
  isRefundRemissionBtnEnable: boolean;
54
47
  serviceReference: string;
@@ -74,6 +67,4 @@ export declare class PaymentViewComponent implements OnInit {
74
67
  check4AllowedRoles2AccessRefund: () => boolean;
75
68
  allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
76
69
  resetOrderData(): void;
77
- goToPaymentFailuePage(payment: any): void;
78
- goBackToPaymentView(event: any): void;
79
70
  }
@@ -16,8 +16,6 @@ export declare class RefundStatusComponent implements OnInit {
16
16
  private OrderslistService;
17
17
  LOGGEDINUSERROLES: string[];
18
18
  API_ROOT: string;
19
- isOldPcipalOff: boolean;
20
- isNewPcipalOff: boolean;
21
19
  ccdCaseNumber: string;
22
20
  isTurnOff: boolean;
23
21
  isEliginbleToAccess: boolean;
@@ -46,9 +46,7 @@ export declare class ServiceRequestComponent implements OnInit {
46
46
  dcnNumber: string;
47
47
  paymentRef: string;
48
48
  isTurnOff: boolean;
49
- isNewPcipalOff: boolean;
50
49
  isRefundRemission: boolean;
51
- isOldPcipalOff: boolean;
52
50
  isStrategicFixEnable: boolean;
53
51
  isAddFeeBtnEnabled: boolean;
54
52
  isExceptionRecord: boolean;
@@ -16,8 +16,6 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
16
16
  ISTURNOFF: boolean;
17
17
  IS_BUTTON_ENABLE: boolean;
18
18
  IS_OS_AMT_AVAILABLE: boolean;
19
- ISNEWPCIPALOFF: boolean;
20
- ISOLDPCIPALOFF: boolean;
21
19
  ISSFENABLE: boolean;
22
20
  PAYMENTSLENGTH: Number;
23
21
  LEVEL: Number;
@@ -38,8 +36,6 @@ export declare class UnprocessedPaymentsComponent implements OnInit {
38
36
  isExceptionCase: boolean;
39
37
  serviceId: string;
40
38
  isBulkScanEnable: any;
41
- isNewpcipaloff: any;
42
- isOldpcipaloff: any;
43
39
  isTurnOff: boolean;
44
40
  isStFixEnable: any;
45
41
  unassignedRecordSelectedList: IBSPayments;
@@ -25,9 +25,6 @@ export declare class PaymentLibComponent implements OnInit {
25
25
  ISSFENABLE: boolean;
26
26
  ISTURNOFF: boolean;
27
27
  CASETYPE: string;
28
- ISOLDPCIPALOFF: boolean;
29
- ISNEWPCIPALOFF: boolean;
30
- ISPAYMENTSTATUSENABLED: boolean;
31
28
  rootUrl: boolean;
32
29
  REFUNDLIST: string;
33
30
  USERID: string;
@@ -44,8 +41,6 @@ export declare class PaymentLibComponent implements OnInit {
44
41
  viewName: string;
45
42
  isTurnOff: boolean;
46
43
  caseType: string;
47
- isOldPcipalOff: boolean;
48
- isNewPcipalOff: boolean;
49
44
  unProcessedPayment: IBSPayments;
50
45
  isRefundStatusView: boolean;
51
46
  isRedirectFromCaseTransactionPage: string;
@@ -44,7 +44,6 @@ export declare class PaymentViewService {
44
44
  postPaymentToPayHub(body: PaymentToPayhubRequest, paymentGroupRef: string): Observable<any>;
45
45
  postPaymentAntennaToPayHub(body: PayhubAntennaRequest, paymentGroupRef: string): Observable<any>;
46
46
  downloadSelectedReport(reportName: string, startDate: string, endDate: string): Observable<any>;
47
- downloadFailureReport(): Observable<any>;
48
47
  getBSfeature(): Observable<any>;
49
48
  getSiteID(): Observable<any>;
50
49
  getPartyDetails(caseNumber: string): Observable<any>;
@@ -53,5 +52,4 @@ export declare class PaymentViewService {
53
52
  postRefundsReason(body: PostRefundRetroRemission): Observable<any>;
54
53
  postPaymentGroupWithRetroRemissions(paymentGroupReference: string, feeId: number, body: AddRetroRemissionRequest): Observable<any>;
55
54
  postRefundRetroRemission(body: PostIssueRefundRetroRemission): Observable<any>;
56
- getPaymentFailure(paymentReference: string): Observable<any>;
57
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "5.0.5-beta04",
3
+ "version": "5.0.6",
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
- }