@hmcts/ccpay-web-component 6.0.0-beta9 → 6.0.1
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 +1189 -0
- package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +407 -0
- package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +798 -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 +247 -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 +255 -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 +416 -0
- package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
- package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +151 -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 +453 -0
- package/esm2022/lib/components/reports/reports.component.mjs +291 -0
- package/esm2022/lib/components/service-request/service-request.component.mjs +456 -0
- package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
- package/esm2022/lib/components/table/table.component.mjs +128 -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 +45 -0
- package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +12 -0
- package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +15 -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 +288 -0
- package/esm2022/lib/payment-lib.module.mjs +187 -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 +152 -0
- package/esm2022/lib/services/refunds/refunds.service.mjs +117 -0
- package/esm2022/lib/services/shared/error-handler.service.mjs +96 -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/{esm2015/lib/services/status-history/status-history.service.js → esm2022/lib/services/status-history/status-history.service.mjs} +13 -51
- package/esm2022/lib/services/xl-file/xl-file.service.mjs +153 -0
- package/esm2022/public_api.mjs +7 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs +7874 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/add-remission/add-remission.component.d.ts +59 -7
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +5 -6
- package/lib/components/card-details/card-details.component.d.ts +4 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +9 -7
- package/lib/components/contact-details/contact-details.component.d.ts +52 -0
- package/lib/components/error-banner/error-banner.component.d.ts +3 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +4 -3
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +4 -1
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -1
- package/lib/components/notification-preview/notification-preview.component.d.ts +30 -0
- package/lib/components/page-not-found.component.d.ts +3 -0
- package/lib/components/payment-list/payment-list.component.d.ts +4 -1
- package/lib/components/payment-view/payment-view.component.d.ts +46 -12
- package/lib/components/pba-details/pba-details.component.d.ts +3 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +9 -1
- package/lib/components/process-refund/process-refund.component.d.ts +22 -2
- package/lib/components/processed-payments/processed-payments.component.d.ts +3 -0
- package/lib/components/refund-list/refund-list.component.d.ts +3 -0
- package/lib/components/refund-status/refund-status.component.d.ts +50 -10
- package/lib/components/reports/reports.component.d.ts +10 -5
- package/lib/components/service-request/service-request.component.d.ts +42 -14
- package/lib/components/status-history/status-history.component.d.ts +4 -1
- package/lib/components/table/table.component.d.ts +5 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +4 -5
- package/lib/interfaces/IFee.d.ts +6 -0
- package/lib/interfaces/INotificationPreview.d.ts +27 -0
- package/lib/interfaces/IPayment.d.ts +3 -0
- package/lib/interfaces/IPaymentFailure.d.ts +13 -0
- package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
- package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
- package/lib/interfaces/IRefundFee.d.ts +7 -0
- package/lib/interfaces/IRefundList.d.ts +5 -0
- package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
- package/lib/interfaces/IRemission.d.ts +3 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -1
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +2 -1
- package/lib/interfaces/NotificationPreviewRequest.d.ts +24 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +7 -1
- package/lib/payment-lib.component.d.ts +7 -5
- package/lib/payment-lib.module.d.ts +40 -0
- package/lib/payment-lib.service.d.ts +9 -3
- package/lib/pipes/capitalize.pipe.d.ts +3 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts +3 -0
- package/lib/pipes/key-value.pipe.d.ts +3 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +3 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +4 -1
- package/lib/services/card-details/card-details.service.d.ts +3 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts +4 -1
- package/lib/services/notification/notification.service.d.ts +21 -0
- package/lib/services/orderslist.service.d.ts +3 -0
- package/lib/services/payment-list/payment-list.service.d.ts +3 -0
- package/lib/services/payment-view/payment-view.service.d.ts +6 -1
- package/lib/services/refunds/refunds.service.d.ts +6 -1
- package/lib/services/shared/error-handler.service.d.ts +5 -2
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +3 -0
- package/lib/services/shared/logger/console-logger.service.d.ts +6 -3
- package/lib/services/shared/logger/logger.service.d.ts +3 -0
- package/lib/services/status-history/status-history.service.d.ts +3 -0
- package/lib/services/xl-file/xl-file.service.d.ts +4 -0
- package/package.json +18 -14
- package/bundles/hmcts-ccpay-web-component.umd.js +0 -9664
- package/bundles/hmcts-ccpay-web-component.umd.js.map +0 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +0 -2
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +0 -1
- package/esm2015/hmcts-ccpay-web-component.js +0 -48
- package/esm2015/lib/components/add-remission/add-remission.component.js +0 -1083
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +0 -692
- package/esm2015/lib/components/card-details/card-details.component.js +0 -71
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +0 -1298
- package/esm2015/lib/components/error-banner/error-banner.component.js +0 -30
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +0 -482
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -342
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -436
- package/esm2015/lib/components/page-not-found.component.js +0 -15
- package/esm2015/lib/components/payment-list/payment-list.component.js +0 -75
- package/esm2015/lib/components/payment-view/payment-view.component.js +0 -514
- package/esm2015/lib/components/pba-details/pba-details.component.js +0 -30
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -205
- package/esm2015/lib/components/process-refund/process-refund.component.js +0 -455
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +0 -72
- package/esm2015/lib/components/refund-list/refund-list.component.js +0 -127
- package/esm2015/lib/components/refund-status/refund-status.component.js +0 -497
- package/esm2015/lib/components/reports/reports.component.js +0 -357
- package/esm2015/lib/components/service-request/service-request.component.js +0 -626
- package/esm2015/lib/components/status-history/status-history.component.js +0 -68
- package/esm2015/lib/components/table/table.component.js +0 -196
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -385
- package/esm2015/lib/interfaces/AddRemissionRequest.js +0 -37
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +0 -21
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +0 -68
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +0 -39
- package/esm2015/lib/interfaces/IBSPayments.js +0 -45
- package/esm2015/lib/interfaces/ICardDetails.js +0 -21
- package/esm2015/lib/interfaces/IFee.js +0 -53
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +0 -25
- package/esm2015/lib/interfaces/IPatchRefundAction.js +0 -15
- package/esm2015/lib/interfaces/IPayment.js +0 -65
- package/esm2015/lib/interfaces/IPaymentGroup.js +0 -19
- package/esm2015/lib/interfaces/IPaymentStatus.js +0 -27
- package/esm2015/lib/interfaces/IPaymentView.js +0 -17
- package/esm2015/lib/interfaces/IPayments.js +0 -13
- package/esm2015/lib/interfaces/IRefundAction.js +0 -15
- package/esm2015/lib/interfaces/IRefundList.js +0 -29
- package/esm2015/lib/interfaces/IRefundReasons.js +0 -19
- package/esm2015/lib/interfaces/IRefundRejectReason.js +0 -15
- package/esm2015/lib/interfaces/IRefundStatus.js +0 -23
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +0 -15
- package/esm2015/lib/interfaces/IRemission.js +0 -25
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +0 -21
- package/esm2015/lib/interfaces/IStatusHistories.js +0 -19
- package/esm2015/lib/interfaces/IStatusHistory.js +0 -21
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
- package/esm2015/lib/interfaces/IssueRefundRequest.js +0 -25
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +0 -28
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +0 -37
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +0 -17
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +0 -21
- package/esm2015/lib/interfaces/RefundsRequest.js +0 -21
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -31
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -43
- package/esm2015/lib/payment-lib.component.js +0 -275
- package/esm2015/lib/payment-lib.module.js +0 -99
- package/esm2015/lib/payment-lib.service.js +0 -80
- package/esm2015/lib/pipes/capitalize.pipe.js +0 -24
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +0 -29
- package/esm2015/lib/pipes/key-value.pipe.js +0 -30
- package/esm2015/lib/pipes/sanitize-html.pipe.js +0 -36
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -180
- package/esm2015/lib/services/card-details/card-details.service.js +0 -76
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +0 -76
- package/esm2015/lib/services/orderslist.service.js +0 -403
- package/esm2015/lib/services/payment-list/payment-list.service.js +0 -79
- package/esm2015/lib/services/payment-view/payment-view.service.js +0 -285
- package/esm2015/lib/services/refunds/refunds.service.js +0 -203
- package/esm2015/lib/services/shared/error-handler.service.js +0 -108
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +0 -124
- package/esm2015/lib/services/shared/logger/console-logger.service.js +0 -67
- package/esm2015/lib/services/shared/logger/logger.service.js +0 -49
- package/esm2015/lib/services/xl-file/xl-file.service.js +0 -181
- package/esm2015/public_api.js +0 -11
- package/esm5/hmcts-ccpay-web-component.js +0 -48
- package/esm5/lib/components/add-remission/add-remission.component.js +0 -1168
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +0 -745
- package/esm5/lib/components/card-details/card-details.component.js +0 -77
- package/esm5/lib/components/case-transactions/case-transactions.component.js +0 -1443
- package/esm5/lib/components/error-banner/error-banner.component.js +0 -36
- package/esm5/lib/components/fee-summary/fee-summary.component.js +0 -542
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -371
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -474
- package/esm5/lib/components/page-not-found.component.js +0 -17
- package/esm5/lib/components/payment-list/payment-list.component.js +0 -83
- package/esm5/lib/components/payment-view/payment-view.component.js +0 -602
- package/esm5/lib/components/pba-details/pba-details.component.js +0 -36
- package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -222
- package/esm5/lib/components/process-refund/process-refund.component.js +0 -536
- package/esm5/lib/components/processed-payments/processed-payments.component.js +0 -83
- package/esm5/lib/components/refund-list/refund-list.component.js +0 -130
- package/esm5/lib/components/refund-status/refund-status.component.js +0 -558
- package/esm5/lib/components/reports/reports.component.js +0 -398
- package/esm5/lib/components/service-request/service-request.component.js +0 -702
- package/esm5/lib/components/status-history/status-history.component.js +0 -70
- package/esm5/lib/components/table/table.component.js +0 -229
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -434
- package/esm5/lib/interfaces/AddRemissionRequest.js +0 -32
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +0 -19
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +0 -63
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +0 -34
- package/esm5/lib/interfaces/IBSPayments.js +0 -45
- package/esm5/lib/interfaces/ICardDetails.js +0 -21
- package/esm5/lib/interfaces/IFee.js +0 -53
- package/esm5/lib/interfaces/IOrderReferenceFee.js +0 -25
- package/esm5/lib/interfaces/IPatchRefundAction.js +0 -15
- package/esm5/lib/interfaces/IPayment.js +0 -65
- package/esm5/lib/interfaces/IPaymentGroup.js +0 -19
- package/esm5/lib/interfaces/IPaymentStatus.js +0 -31
- package/esm5/lib/interfaces/IPaymentView.js +0 -17
- package/esm5/lib/interfaces/IPayments.js +0 -13
- package/esm5/lib/interfaces/IRefundAction.js +0 -15
- package/esm5/lib/interfaces/IRefundList.js +0 -29
- package/esm5/lib/interfaces/IRefundReasons.js +0 -19
- package/esm5/lib/interfaces/IRefundRejectReason.js +0 -15
- package/esm5/lib/interfaces/IRefundStatus.js +0 -23
- package/esm5/lib/interfaces/IRefundStatusHistory.js +0 -15
- package/esm5/lib/interfaces/IRemission.js +0 -25
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +0 -19
- package/esm5/lib/interfaces/IStatusHistories.js +0 -19
- package/esm5/lib/interfaces/IStatusHistory.js +0 -21
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
- package/esm5/lib/interfaces/IssueRefundRequest.js +0 -22
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +0 -25
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +0 -34
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +0 -16
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +0 -19
- package/esm5/lib/interfaces/RefundsRequest.js +0 -19
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -28
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -37
- package/esm5/lib/payment-lib.component.js +0 -244
- package/esm5/lib/payment-lib.module.js +0 -103
- package/esm5/lib/payment-lib.service.js +0 -111
- package/esm5/lib/pipes/capitalize.pipe.js +0 -32
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +0 -37
- package/esm5/lib/pipes/key-value.pipe.js +0 -37
- package/esm5/lib/pipes/sanitize-html.pipe.js +0 -39
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -218
- package/esm5/lib/services/card-details/card-details.service.js +0 -76
- package/esm5/lib/services/case-transactions/case-transactions.service.js +0 -76
- package/esm5/lib/services/orderslist.service.js +0 -531
- package/esm5/lib/services/payment-list/payment-list.service.js +0 -80
- package/esm5/lib/services/payment-view/payment-view.service.js +0 -385
- package/esm5/lib/services/refunds/refunds.service.js +0 -243
- package/esm5/lib/services/shared/error-handler.service.js +0 -119
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +0 -154
- package/esm5/lib/services/shared/logger/console-logger.service.js +0 -88
- package/esm5/lib/services/shared/logger/logger.service.js +0 -68
- package/esm5/lib/services/status-history/status-history.service.js +0 -80
- package/esm5/lib/services/xl-file/xl-file.service.js +0 -221
- package/esm5/public_api.js +0 -11
- package/fesm2015/hmcts-ccpay-web-component.js +0 -8525
- package/fesm2015/hmcts-ccpay-web-component.js.map +0 -1
- package/fesm5/hmcts-ccpay-web-component.js +0 -9773
- package/fesm5/hmcts-ccpay-web-component.js.map +0 -1
- package/hmcts-ccpay-web-component.d.ts +0 -43
- package/hmcts-ccpay-web-component.metadata.json +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IPayment } from './IPayment';
|
|
2
|
+
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
3
|
+
export declare class NotificationPreviewRequest {
|
|
4
|
+
notification_type?: string;
|
|
5
|
+
payment_channel?: string;
|
|
6
|
+
payment_method?: string;
|
|
7
|
+
payment_reference?: string;
|
|
8
|
+
personalisation?: {
|
|
9
|
+
ccd_case_number?: string;
|
|
10
|
+
refund_amount?: number;
|
|
11
|
+
refund_reason?: string;
|
|
12
|
+
refund_reference?: string;
|
|
13
|
+
};
|
|
14
|
+
recipient_email_address?: string;
|
|
15
|
+
recipient_postal_address?: {
|
|
16
|
+
address_line?: string;
|
|
17
|
+
city?: string;
|
|
18
|
+
county?: string;
|
|
19
|
+
country?: string;
|
|
20
|
+
postal_code?: string;
|
|
21
|
+
};
|
|
22
|
+
service_name?: string;
|
|
23
|
+
constructor(payment: IPayment, contactDetails: IRefundContactDetails, refund_reason: string, refund_amount: number, refund_reference: string, payment_reference: string);
|
|
24
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
1
2
|
export declare class PostIssueRefundRetroRemission {
|
|
2
3
|
remissionReference: string;
|
|
3
|
-
|
|
4
|
+
contact_details: IRefundContactDetails;
|
|
5
|
+
constructor(remissionReference: string, contactDeatils: any);
|
|
4
6
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { IRefundContactDetails } from "./IRefundContactDetails";
|
|
1
2
|
export declare class PostRefundRetroRemission {
|
|
3
|
+
ccd_case_number: string;
|
|
2
4
|
payment_reference: string;
|
|
3
5
|
refund_reason: string;
|
|
4
|
-
|
|
6
|
+
total_refund_amount: any;
|
|
7
|
+
fees: any[];
|
|
8
|
+
is_over_payment: boolean;
|
|
9
|
+
contact_details: IRefundContactDetails;
|
|
10
|
+
constructor(contact_details: any, fees: any[], payment_reference: string, refund_reason: string, total_refund_amount: any, is_over_payment: string);
|
|
5
11
|
}
|
|
@@ -3,6 +3,7 @@ import { PaymentLibService } from './payment-lib.service';
|
|
|
3
3
|
import { IBSPayments } from './interfaces/IBSPayments';
|
|
4
4
|
import { OrderslistService } from './services/orderslist.service';
|
|
5
5
|
import { IPayment } from './interfaces/IPayment';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class PaymentLibComponent implements OnInit {
|
|
7
8
|
private paymentLibService;
|
|
8
9
|
private cd;
|
|
@@ -10,7 +11,8 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
10
11
|
API_ROOT: string;
|
|
11
12
|
BULKSCAN_API_ROOT: string;
|
|
12
13
|
REFUNDS_API_ROOT: string;
|
|
13
|
-
|
|
14
|
+
NOTIFICATION_API_ROOT: string;
|
|
15
|
+
CARDPAYMENTRETURNURL: string;
|
|
14
16
|
CCD_CASE_NUMBER: string;
|
|
15
17
|
EXC_REFERENCE: string;
|
|
16
18
|
PAYMENT_METHOD: string;
|
|
@@ -25,8 +27,7 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
25
27
|
ISSFENABLE: boolean;
|
|
26
28
|
ISTURNOFF: boolean;
|
|
27
29
|
CASETYPE: string;
|
|
28
|
-
|
|
29
|
-
ISNEWPCIPALOFF: boolean;
|
|
30
|
+
ISPAYMENTSTATUSENABLED: boolean;
|
|
30
31
|
rootUrl: boolean;
|
|
31
32
|
REFUNDLIST: string;
|
|
32
33
|
USERID: string;
|
|
@@ -39,12 +40,11 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
39
40
|
paymentGroupReference: string;
|
|
40
41
|
paymentReference: string;
|
|
41
42
|
refundReference: string;
|
|
43
|
+
isFromPayBubble: boolean;
|
|
42
44
|
refundlistsource: any;
|
|
43
45
|
viewName: string;
|
|
44
46
|
isTurnOff: boolean;
|
|
45
47
|
caseType: string;
|
|
46
|
-
isOldPcipalOff: boolean;
|
|
47
|
-
isNewPcipalOff: boolean;
|
|
48
48
|
unProcessedPayment: IBSPayments;
|
|
49
49
|
isRefundStatusView: boolean;
|
|
50
50
|
isRedirectFromCaseTransactionPage: string;
|
|
@@ -69,4 +69,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
69
69
|
constructor(paymentLibService: PaymentLibService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
70
70
|
ngAfterContentChecked(): void;
|
|
71
71
|
ngOnInit(): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentLibComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaymentLibComponent, "ccpay-payment-lib", never, { "API_ROOT": { "alias": "API_ROOT"; "required": false; }; "BULKSCAN_API_ROOT": { "alias": "BULKSCAN_API_ROOT"; "required": false; }; "REFUNDS_API_ROOT": { "alias": "REFUNDS_API_ROOT"; "required": false; }; "NOTIFICATION_API_ROOT": { "alias": "NOTIFICATION_API_ROOT"; "required": false; }; "CARDPAYMENTRETURNURL": { "alias": "CARDPAYMENTRETURNURL"; "required": false; }; "CCD_CASE_NUMBER": { "alias": "CCD_CASE_NUMBER"; "required": false; }; "EXC_REFERENCE": { "alias": "EXC_REFERENCE"; "required": false; }; "PAYMENT_METHOD": { "alias": "PAYMENT_METHOD"; "required": false; }; "VIEW": { "alias": "VIEW"; "required": false; }; "VIEWSERVICE": { "alias": "VIEWSERVICE"; "required": false; }; "PAYMENT_GROUP_REF": { "alias": "PAYMENT_GROUP_REF"; "required": false; }; "TAKEPAYMENT": { "alias": "TAKEPAYMENT"; "required": false; }; "SERVICEREQUEST": { "alias": "SERVICEREQUEST"; "required": false; }; "DCN_NUMBER": { "alias": "DCN_NUMBER"; "required": false; }; "SELECTED_OPTION": { "alias": "SELECTED_OPTION"; "required": false; }; "ISBSENABLE": { "alias": "ISBSENABLE"; "required": false; }; "ISSFENABLE": { "alias": "ISSFENABLE"; "required": false; }; "ISTURNOFF": { "alias": "ISTURNOFF"; "required": false; }; "CASETYPE": { "alias": "CASETYPE"; "required": false; }; "ISPAYMENTSTATUSENABLED": { "alias": "ISPAYMENTSTATUSENABLED"; "required": false; }; "rootUrl": { "alias": "rootUrl"; "required": false; }; "REFUNDLIST": { "alias": "REFUNDLIST"; "required": false; }; "USERID": { "alias": "USERID"; "required": false; }; "LOGGEDINUSERROLES": { "alias": "LOGGEDINUSERROLES"; "required": false; }; "LOGGEDINUSEREMAIL": { "alias": "LOGGEDINUSEREMAIL"; "required": false; }; "isFromServiceRequestPage": { "alias": "isFromServiceRequestPage"; "required": false; }; }, {}, never, never, false, never>;
|
|
72
74
|
}
|
|
@@ -1,2 +1,42 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./payment-lib.component";
|
|
3
|
+
import * as i2 from "./components/payment-list/payment-list.component";
|
|
4
|
+
import * as i3 from "./components/pba-payment/pba-payment.component";
|
|
5
|
+
import * as i4 from "./components/process-refund/process-refund.component";
|
|
6
|
+
import * as i5 from "./components/refund-list/refund-list.component";
|
|
7
|
+
import * as i6 from "./components/card-details/card-details.component";
|
|
8
|
+
import * as i7 from "./components/page-not-found.component";
|
|
9
|
+
import * as i8 from "./components/mark-unidentified-payment/mark-unidentified-payment.component";
|
|
10
|
+
import * as i9 from "./components/mark-unsolicited-payment/mark-unsolicited-payment.component";
|
|
11
|
+
import * as i10 from "./components/processed-payments/processed-payments.component";
|
|
12
|
+
import * as i11 from "./components/allocate-payments/allocate-payments.component";
|
|
13
|
+
import * as i12 from "./components/pba-details/pba-details.component";
|
|
14
|
+
import * as i13 from "./components/fee-summary/fee-summary.component";
|
|
15
|
+
import * as i14 from "./pipes/key-value.pipe";
|
|
16
|
+
import * as i15 from "./pipes/sanitize-html.pipe";
|
|
17
|
+
import * as i16 from "./components/reports/reports.component";
|
|
18
|
+
import * as i17 from "./components/error-banner/error-banner.component";
|
|
19
|
+
import * as i18 from "./components/table/table.component";
|
|
20
|
+
import * as i19 from "@angular/common";
|
|
21
|
+
import * as i20 from "@angular/common/http";
|
|
22
|
+
import * as i21 from "@angular/forms";
|
|
23
|
+
import * as i22 from "@angular/material/table";
|
|
24
|
+
import * as i23 from "@angular/material/paginator";
|
|
25
|
+
import * as i24 from "@angular/material/sort";
|
|
26
|
+
import * as i25 from "@angular/material/form-field";
|
|
27
|
+
import * as i26 from "@angular/material/input";
|
|
28
|
+
import * as i27 from "./pipes/ccd-hyphens.pipe";
|
|
29
|
+
import * as i28 from "./pipes/capitalize.pipe";
|
|
30
|
+
import * as i29 from "./components/payment-view/payment-view.component";
|
|
31
|
+
import * as i30 from "./components/contact-details/contact-details.component";
|
|
32
|
+
import * as i31 from "./components/add-remission/add-remission.component";
|
|
33
|
+
import * as i32 from "./components/service-request/service-request.component";
|
|
34
|
+
import * as i33 from "./components/notification-preview/notification-preview.component";
|
|
35
|
+
import * as i34 from "./components/case-transactions/case-transactions.component";
|
|
36
|
+
import * as i35 from "./components/unprocessed-payments/unprocessed-payments.component";
|
|
37
|
+
import * as i36 from "./components/refund-status/refund-status.component";
|
|
1
38
|
export declare class PaymentLibModule {
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentLibModule, never>;
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaymentLibModule, [typeof i1.PaymentLibComponent, typeof i2.PaymentListComponent, typeof i3.PbaPaymentComponent, typeof i4.ProcessRefundComponent, typeof i5.RefundListComponent, typeof i6.CardDetailsComponent, typeof i7.PageNotFoundComponent, typeof i8.MarkUnidentifiedPaymentComponent, typeof i9.MarkUnsolicitedPaymentComponent, typeof i10.ProcessedPaymentsComponent, typeof i11.AllocatePaymentsComponent, typeof i12.PbaDetailsComponent, typeof i13.FeeSummaryComponent, typeof i14.keyValuePipe, typeof i15.SanitizeHtmlPipe, typeof i16.ReportsComponent, typeof i17.ErrorBannerComponent, typeof i18.TableComponent], [typeof i19.CommonModule, typeof i20.HttpClientModule, typeof i21.FormsModule, typeof i21.ReactiveFormsModule, typeof i22.MatTableModule, typeof i23.MatPaginatorModule, typeof i24.MatSortModule, typeof i25.MatFormFieldModule, typeof i26.MatInputModule, typeof i27.CcdHyphensPipe, typeof i28.CapitalizePipe, typeof i29.PaymentViewComponent, typeof i30.ContactDetailsComponent, typeof i31.AddRemissionComponent, typeof i32.ServiceRequestComponent, typeof i33.NotificationPreviewComponent, typeof i34.CaseTransactionsComponent, typeof i31.AddRemissionComponent, typeof i35.UnprocessedPaymentsComponent, typeof i36.RefundStatusComponent], [typeof i1.PaymentLibComponent]>;
|
|
41
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PaymentLibModule>;
|
|
2
42
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class PaymentLibService {
|
|
2
3
|
API_ROOT: string;
|
|
3
4
|
BULKSCAN_API_ROOT: string;
|
|
4
5
|
REFUNDS_API_ROOT: string;
|
|
5
|
-
|
|
6
|
+
NOTIFICATION_API_ROOT: string;
|
|
7
|
+
CARDPAYMENTRETURNURL: string;
|
|
6
8
|
constructor();
|
|
7
9
|
setApiRootUrl(apiRoot: string): void;
|
|
8
10
|
getApiRootUrl(): string;
|
|
@@ -10,6 +12,10 @@ export declare class PaymentLibService {
|
|
|
10
12
|
getBulkScanApiRootUrl(): string;
|
|
11
13
|
setRefundndsApiRootUrl(refundsapiRoot: string): void;
|
|
12
14
|
getRefundsApiRootUrl(): string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
setNoticationApiRootUrl(notificationapiRoot: string): void;
|
|
16
|
+
getNoticationApiRootUrl(): string;
|
|
17
|
+
setCardPaymentReturnUrl(cardPaymentReturnUrl: string): void;
|
|
18
|
+
getCardPaymentReturnUrl(): string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentLibService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentLibService>;
|
|
15
21
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class CapitalizePipe implements PipeTransform {
|
|
3
4
|
constructor();
|
|
4
5
|
transform(s: any, args?: any): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CapitalizePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizePipe, "capitalize", true>;
|
|
5
8
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class CcdHyphensPipe implements PipeTransform {
|
|
3
4
|
constructor();
|
|
4
5
|
transform(value: any, args?: any): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CcdHyphensPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CcdHyphensPipe, "ccdHyphens", true>;
|
|
5
8
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class keyValuePipe implements PipeTransform {
|
|
3
4
|
constructor();
|
|
4
5
|
transform(input: any): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<keyValuePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<keyValuePipe, "keyValue", false>;
|
|
5
8
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class SanitizeHtmlPipe implements PipeTransform {
|
|
4
5
|
private sanitizer;
|
|
5
6
|
constructor(sanitizer: DomSanitizer);
|
|
6
7
|
transform(value: any): SafeHtml;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SanitizeHtmlPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeHtmlPipe, "sanitizeHtml", false>;
|
|
7
10
|
}
|
|
@@ -2,10 +2,11 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
3
3
|
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
4
4
|
import { PaymentLibService } from '../../payment-lib.service';
|
|
5
|
-
import { Observable } from 'rxjs
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
6
|
import { IBSPayments } from '../../interfaces/IBSPayments';
|
|
7
7
|
import { AllocatePaymentRequest } from '../../interfaces/AllocatePaymentRequest';
|
|
8
8
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class BulkScaningPaymentService {
|
|
10
11
|
private http;
|
|
11
12
|
private https;
|
|
@@ -21,4 +22,6 @@ export declare class BulkScaningPaymentService {
|
|
|
21
22
|
calculateOutStandingAmount(paymentGroup: IPaymentGroup): number;
|
|
22
23
|
removeUnwantedString(input: string, replaceText: string): string;
|
|
23
24
|
downloadSelectedReport(reportName: string, startDate: string, endDate: string): Observable<any>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BulkScaningPaymentService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BulkScaningPaymentService>;
|
|
24
27
|
}
|
|
@@ -4,6 +4,7 @@ import { ICardDetails } from '../../interfaces/ICardDetails';
|
|
|
4
4
|
import { PaymentLibService } from '../../payment-lib.service';
|
|
5
5
|
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
6
6
|
import { LoggerService } from '../shared/logger/logger.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CardDetailsService {
|
|
8
9
|
private http;
|
|
9
10
|
private logger;
|
|
@@ -11,4 +12,6 @@ export declare class CardDetailsService {
|
|
|
11
12
|
private paymentLibService;
|
|
12
13
|
constructor(http: HttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
13
14
|
getCardDetails(paymentReference: string): Observable<ICardDetails>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardDetailsService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CardDetailsService>;
|
|
14
17
|
}
|
|
@@ -2,8 +2,9 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import { LoggerService } from '../shared/logger/logger.service';
|
|
3
3
|
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
4
4
|
import { PaymentLibService } from '../../payment-lib.service';
|
|
5
|
-
import { Observable } from 'rxjs
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
6
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CaseTransactionsService {
|
|
8
9
|
private http;
|
|
9
10
|
private logger;
|
|
@@ -11,4 +12,6 @@ export declare class CaseTransactionsService {
|
|
|
11
12
|
private paymentLibService;
|
|
12
13
|
constructor(http: HttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
13
14
|
getPaymentGroups(ccdCaseNumber: string): Observable<IPaymentGroup[]>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseTransactionsService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CaseTransactionsService>;
|
|
14
17
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
3
|
+
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
4
|
+
import { PaymentLibService } from '../../payment-lib.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { IRefundsNotifications } from '../../interfaces/IRefundsNotifications';
|
|
7
|
+
import { NotificationPreviewRequest } from '../../interfaces/NotificationPreviewRequest';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class NotificationService {
|
|
10
|
+
private http;
|
|
11
|
+
private https;
|
|
12
|
+
private errorHandlerService;
|
|
13
|
+
private paymentLibService;
|
|
14
|
+
constructor(http: HttpClient, https: WebComponentHttpClient, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
15
|
+
getRefundNotification(reference: string): Observable<IRefundsNotifications>;
|
|
16
|
+
getAddressByPostcode(postcode: string): Observable<any>;
|
|
17
|
+
getNotificationPreview(body: NotificationPreviewRequest): Observable<any>;
|
|
18
|
+
getNotificationInstructionType(paymentChannel: string, paymentMethod: string): any;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
21
|
+
}
|
|
@@ -2,6 +2,7 @@ import { Observable, BehaviorSubject } from 'rxjs';
|
|
|
2
2
|
import { IOrderReferenceFee } from '../interfaces/IOrderReferenceFee';
|
|
3
3
|
import { IRefundList } from '../interfaces/IRefundList';
|
|
4
4
|
import { IPaymentView } from '../interfaces/IPaymentView';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class OrderslistService {
|
|
6
7
|
private ordersList;
|
|
7
8
|
private refundView;
|
|
@@ -71,4 +72,6 @@ export declare class OrderslistService {
|
|
|
71
72
|
getorderFeesTotals(): BehaviorSubject<number>;
|
|
72
73
|
setorderTotalPayments(orderTotalPayments: number): void;
|
|
73
74
|
getoorderTotalPaymentss(): BehaviorSubject<number>;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderslistService, never>;
|
|
76
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrderslistService>;
|
|
74
77
|
}
|
|
@@ -4,6 +4,7 @@ import { PaymentLibService } from '../../payment-lib.service';
|
|
|
4
4
|
import { IPayments } from '../../interfaces/IPayments';
|
|
5
5
|
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
6
6
|
import { LoggerService } from '../shared/logger/logger.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class PaymentListService {
|
|
8
9
|
private http;
|
|
9
10
|
private logger;
|
|
@@ -12,4 +13,6 @@ export declare class PaymentListService {
|
|
|
12
13
|
payments: IPayments;
|
|
13
14
|
constructor(http: HttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
14
15
|
getPaymentByCcdCaseNumber(ccdCaseNumber: string, paymentMethod: string): Observable<IPayments>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentListService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentListService>;
|
|
15
18
|
}
|
|
@@ -20,6 +20,7 @@ import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCard
|
|
|
20
20
|
import { AddRetroRemissionRequest } from '../../interfaces/AddRetroRemissionRequest';
|
|
21
21
|
import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
|
|
22
22
|
import { PostIssueRefundRetroRemission } from '../../interfaces/PostIssueRefundRetroRemission';
|
|
23
|
+
import * as i0 from "@angular/core";
|
|
23
24
|
export declare class PaymentViewService {
|
|
24
25
|
private http;
|
|
25
26
|
private https;
|
|
@@ -29,7 +30,7 @@ export declare class PaymentViewService {
|
|
|
29
30
|
private ordersList;
|
|
30
31
|
private meta;
|
|
31
32
|
constructor(http: HttpClient, https: WebComponentHttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
32
|
-
getPaymentDetails(paymentReference: string, paymentMethod
|
|
33
|
+
getPaymentDetails(paymentReference: string, paymentMethod?: string): Observable<IPayment>;
|
|
33
34
|
getPaymentGroupDetails(paymentGroupReference: string): Observable<IPaymentGroup>;
|
|
34
35
|
getApportionPaymentDetails(paymentReference: string): Observable<IPaymentGroup>;
|
|
35
36
|
getPBAaccountDetails(): Observable<any>;
|
|
@@ -44,6 +45,7 @@ export declare class PaymentViewService {
|
|
|
44
45
|
postPaymentToPayHub(body: PaymentToPayhubRequest, paymentGroupRef: string): Observable<any>;
|
|
45
46
|
postPaymentAntennaToPayHub(body: PayhubAntennaRequest, paymentGroupRef: string): Observable<any>;
|
|
46
47
|
downloadSelectedReport(reportName: string, startDate: string, endDate: string): Observable<any>;
|
|
48
|
+
downloadFailureReport(startDate: string, endDate: string): Observable<any>;
|
|
47
49
|
getBSfeature(): Observable<any>;
|
|
48
50
|
getSiteID(): Observable<any>;
|
|
49
51
|
getPartyDetails(caseNumber: string): Observable<any>;
|
|
@@ -52,4 +54,7 @@ export declare class PaymentViewService {
|
|
|
52
54
|
postRefundsReason(body: PostRefundRetroRemission): Observable<any>;
|
|
53
55
|
postPaymentGroupWithRetroRemissions(paymentGroupReference: string, feeId: number, body: AddRetroRemissionRequest): Observable<any>;
|
|
54
56
|
postRefundRetroRemission(body: PostIssueRefundRetroRemission): Observable<any>;
|
|
57
|
+
getPaymentFailure(paymentReference: string): Observable<any>;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentViewService, never>;
|
|
59
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentViewService>;
|
|
55
60
|
}
|
|
@@ -3,12 +3,14 @@ import { Meta } from '@angular/platform-browser';
|
|
|
3
3
|
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
4
4
|
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
5
5
|
import { PaymentLibService } from '../../payment-lib.service';
|
|
6
|
-
import { Observable } from 'rxjs
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
7
|
import { IRefundReasons } from '../../interfaces/IRefundReasons';
|
|
8
8
|
import { IPatchRefundAction } from '../../interfaces/IPatchRefundAction';
|
|
9
9
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
10
10
|
import { IssueRefundRequest } from '../../interfaces/IssueRefundRequest';
|
|
11
11
|
import { IResubmitRefundRequest } from '../../interfaces/IResubmitRefundRequest';
|
|
12
|
+
import { IPutNotificationRequest } from '../../interfaces/IPutNotificationRequest';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
12
14
|
export declare class RefundsService {
|
|
13
15
|
private http;
|
|
14
16
|
private https;
|
|
@@ -25,6 +27,9 @@ export declare class RefundsService {
|
|
|
25
27
|
getRefundStatusList(ccdCaseNumber: string): Observable<IRefundList[]>;
|
|
26
28
|
getUserDetails(): Observable<any>;
|
|
27
29
|
postIssueRefund(body: IssueRefundRequest): Observable<any>;
|
|
30
|
+
putResendOrEdit(body: IPutNotificationRequest, refundRef: string, notificationType: string): Observable<any>;
|
|
28
31
|
patchResubmitRefund(body: IResubmitRefundRequest, refund_reference: string): Observable<any>;
|
|
29
32
|
addHeaders(options: any): any;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RefundsService, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RefundsService>;
|
|
30
35
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { Observable } from 'rxjs/internal/Observable';
|
|
2
1
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ErrorHandlerService {
|
|
4
5
|
constructor();
|
|
5
6
|
handleError(err: HttpErrorResponse): Observable<any>;
|
|
6
|
-
getServerErrorMessage(isErrorExist: any): {
|
|
7
|
+
getServerErrorMessage(isErrorExist: any, isDataNotExist?: boolean, error?: string): {
|
|
7
8
|
title: string;
|
|
8
9
|
body: string;
|
|
9
10
|
showError: any;
|
|
10
11
|
};
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandlerService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandlerService>;
|
|
11
14
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Meta } from '@angular/platform-browser';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class WebComponentHttpClient {
|
|
5
6
|
private http;
|
|
6
7
|
private meta;
|
|
@@ -11,4 +12,6 @@ export declare class WebComponentHttpClient {
|
|
|
11
12
|
delete(url: string, options?: any): Observable<any>;
|
|
12
13
|
patch(url: string, body: any | null, options?: any): Observable<any>;
|
|
13
14
|
addHeaders(options: any): any;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebComponentHttpClient, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WebComponentHttpClient>;
|
|
14
17
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Logger } from './logger.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare let isDebugMode: boolean;
|
|
3
4
|
export declare class ConsoleLoggerService implements Logger {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
get info(): any;
|
|
6
|
+
get warn(): any;
|
|
7
|
+
get error(): any;
|
|
7
8
|
invokeConsoleMethod(type: string, args?: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConsoleLoggerService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConsoleLoggerService>;
|
|
8
11
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare abstract class Logger {
|
|
2
3
|
info: any;
|
|
3
4
|
warn: any;
|
|
@@ -8,4 +9,6 @@ export declare class LoggerService implements Logger {
|
|
|
8
9
|
warn: any;
|
|
9
10
|
error: any;
|
|
10
11
|
invokeConsoleMethod(type: string, args?: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
|
|
11
14
|
}
|
|
@@ -4,6 +4,7 @@ import { IStatusHistories } from '../../interfaces/IStatusHistories';
|
|
|
4
4
|
import { Observable } from 'rxjs/internal/Observable';
|
|
5
5
|
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
6
6
|
import { LoggerService } from '../shared/logger/logger.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class StatusHistoryService {
|
|
8
9
|
private http;
|
|
9
10
|
private logger;
|
|
@@ -11,4 +12,6 @@ export declare class StatusHistoryService {
|
|
|
11
12
|
private paymentLibService;
|
|
12
13
|
constructor(http: HttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
13
14
|
getPaymentStatusesByReference(paymentReference: string, paymentMethod: string): Observable<IStatusHistories>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusHistoryService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StatusHistoryService>;
|
|
14
17
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class XlFileService {
|
|
2
3
|
constructor();
|
|
3
4
|
exportAsExcelFile(json: any[], excelFileName: string): void;
|
|
@@ -5,6 +6,9 @@ export declare class XlFileService {
|
|
|
5
6
|
private setDataLossReportHeaders;
|
|
6
7
|
private setUnprocessedReportHeaders;
|
|
7
8
|
private setProcessedUnallocatedReportHeaders;
|
|
9
|
+
private setPaymentFailureReportHeaders;
|
|
8
10
|
private setShortFallReportHeaders;
|
|
9
11
|
private saveAsExcelFile;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XlFileService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<XlFileService>;
|
|
10
14
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/ccpay-web-component",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular/common": "^
|
|
9
|
-
"@angular/core": "^
|
|
8
|
+
"@angular/common": "^16.1.6",
|
|
9
|
+
"@angular/core": "^16.1.6"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"repository": "https://github.com/hmcts/ccpay-web-component.git",
|
|
@@ -26,17 +26,21 @@
|
|
|
26
26
|
"email": "mateusz.swirski@hmcts.net"
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
"module": "fesm2022/hmcts-ccpay-web-component.mjs",
|
|
30
|
+
"typings": "index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
"./package.json": {
|
|
33
|
+
"default": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./index.d.ts",
|
|
37
|
+
"esm2022": "./esm2022/hmcts-ccpay-web-component.mjs",
|
|
38
|
+
"esm": "./esm2022/hmcts-ccpay-web-component.mjs",
|
|
39
|
+
"default": "./fesm2022/hmcts-ccpay-web-component.mjs"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
38
42
|
"sideEffects": false,
|
|
39
43
|
"dependencies": {
|
|
40
|
-
"tslib": "^
|
|
44
|
+
"tslib": "^2.3.0"
|
|
41
45
|
}
|
|
42
|
-
}
|
|
46
|
+
}
|