@hmcts/ccpay-web-component 6.5.14-rc1 → 6.5.15-beta1
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 +1276 -0
- package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +423 -0
- package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +885 -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 +280 -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 +275 -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 +467 -0
- package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
- package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +163 -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 +481 -0
- package/esm2022/lib/components/reports/reports.component.mjs +337 -0
- package/esm2022/lib/components/service-request/service-request.component.mjs +516 -0
- package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
- package/esm2022/lib/components/table/table.component.mjs +127 -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 +46 -0
- package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +14 -0
- package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +17 -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 +430 -0
- package/esm2022/lib/payment-lib.module.mjs +181 -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 +156 -0
- package/esm2022/lib/services/refunds/refunds.service.mjs +120 -0
- package/esm2022/lib/services/shared/error-handler.service.mjs +76 -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/esm2022/lib/services/status-history/status-history.service.mjs +41 -0
- package/esm2022/lib/services/xl-file/xl-file.service.mjs +197 -0
- package/esm2022/public_api.mjs +7 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs +217 -262
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
- package/index.d.ts +5 -2340
- package/lib/components/add-remission/add-remission.component.d.ts +208 -0
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +115 -0
- package/lib/components/card-details/card-details.component.d.ts +18 -0
- package/lib/components/case-transactions/case-transactions.component.d.ts +143 -0
- package/lib/components/contact-details/contact-details.component.d.ts +54 -0
- package/lib/components/error-banner/error-banner.component.d.ts +9 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +72 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +52 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +63 -0
- package/lib/components/notification-preview/notification-preview.component.d.ts +30 -0
- package/lib/components/page-not-found.component.d.ts +5 -0
- package/lib/components/payment-list/payment-list.component.d.ts +19 -0
- package/lib/components/payment-view/payment-view.component.d.ts +110 -0
- package/lib/components/pba-details/pba-details.component.d.ts +10 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +41 -0
- package/lib/components/process-refund/process-refund.component.d.ts +82 -0
- package/lib/components/processed-payments/processed-payments.component.d.ts +17 -0
- package/lib/components/refund-list/refund-list.component.d.ts +26 -0
- package/lib/components/refund-status/refund-status.component.d.ts +119 -0
- package/lib/components/reports/reports.component.d.ts +49 -0
- package/lib/components/service-request/service-request.component.d.ts +141 -0
- package/lib/components/status-history/status-history.component.d.ts +19 -0
- package/lib/components/table/table.component.d.ts +45 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +61 -0
- package/lib/interfaces/AddRemissionRequest.d.ts +11 -0
- package/lib/interfaces/AddRetroRemissionRequest.d.ts +5 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts +31 -0
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts +9 -0
- package/lib/interfaces/IBSPayments.d.ts +19 -0
- package/lib/interfaces/ICardDetails.d.ts +7 -0
- package/lib/interfaces/IFee.d.ts +29 -0
- package/lib/interfaces/INotificationPreview.d.ts +27 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts +9 -0
- package/lib/interfaces/IPatchRefundAction.d.ts +4 -0
- package/lib/interfaces/IPayment.d.ts +35 -0
- package/lib/interfaces/IPaymentFailure.d.ts +13 -0
- package/lib/interfaces/IPaymentGroup.d.ts +11 -0
- package/lib/interfaces/IPaymentStatus.d.ts +11 -0
- package/lib/interfaces/IPaymentView.d.ts +5 -0
- package/lib/interfaces/IPayments.d.ts +4 -0
- package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
- package/lib/interfaces/IRefundAction.d.ts +4 -0
- package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
- package/lib/interfaces/IRefundFee.d.ts +7 -0
- package/lib/interfaces/IRefundList.d.ts +20 -0
- package/lib/interfaces/IRefundReasons.d.ts +6 -0
- package/lib/interfaces/IRefundRejectReason.d.ts +4 -0
- package/lib/interfaces/IRefundStatus.d.ts +8 -0
- package/lib/interfaces/IRefundStatusHistory.d.ts +5 -0
- package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
- package/lib/interfaces/IRemission.d.ts +14 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +9 -0
- package/lib/interfaces/IStatusHistories.d.ts +7 -0
- package/lib/interfaces/IStatusHistory.d.ts +7 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts +6 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +8 -0
- package/lib/interfaces/IssueRefundRequest.d.ts +6 -0
- package/lib/interfaces/NotificationPreviewRequest.d.ts +25 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts +8 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +11 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +6 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts +11 -0
- package/lib/interfaces/RefundsRequest.d.ts +5 -0
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +7 -0
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +10 -0
- package/lib/payment-lib.component.d.ts +156 -0
- package/lib/payment-lib.module.d.ts +42 -0
- package/lib/payment-lib.service.d.ts +21 -0
- package/lib/pipes/capitalize.pipe.d.ts +8 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts +8 -0
- package/lib/pipes/key-value.pipe.d.ts +8 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +10 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +27 -0
- package/lib/services/card-details/card-details.service.d.ts +17 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts +17 -0
- package/lib/services/notification/notification.service.d.ts +21 -0
- package/lib/services/orderslist.service.d.ts +77 -0
- package/lib/services/payment-list/payment-list.service.d.ts +18 -0
- package/lib/services/payment-view/payment-view.service.d.ts +61 -0
- package/lib/services/refunds/refunds.service.d.ts +36 -0
- package/lib/services/shared/error-handler.service.d.ts +14 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +17 -0
- package/lib/services/shared/logger/console-logger.service.d.ts +11 -0
- package/lib/services/shared/logger/logger.service.d.ts +14 -0
- package/lib/services/status-history/status-history.service.d.ts +17 -0
- package/lib/services/xl-file/xl-file.service.d.ts +16 -0
- package/package.json +5 -3
- package/public_api.d.ts +3 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs/internal/Observable';
|
|
3
|
+
import { IPayment } from '../../interfaces/IPayment';
|
|
4
|
+
import { PaymentLibService } from '../../payment-lib.service';
|
|
5
|
+
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
6
|
+
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
7
|
+
import { LoggerService } from '../shared/logger/logger.service';
|
|
8
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
9
|
+
import { AddRemissionRequest } from '../../interfaces/AddRemissionRequest';
|
|
10
|
+
import { PaymentToPayhubRequest } from '../../interfaces/PaymentToPayhubRequest';
|
|
11
|
+
import { PayhubAntennaRequest } from '../../interfaces/PayhubAntennaRequest';
|
|
12
|
+
import { UnidentifiedPaymentsRequest } from '../../interfaces/UnidentifiedPaymentsRequest';
|
|
13
|
+
import { UnsolicitedPaymentsRequest } from '../../interfaces/UnsolicitedPaymentsRequest';
|
|
14
|
+
import { AllocatePaymentRequest } from '../../interfaces/AllocatePaymentRequest';
|
|
15
|
+
import { IAllocationPaymentsRequest } from '../../interfaces/IAllocationPaymentsRequest';
|
|
16
|
+
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
17
|
+
import { BehaviorSubject } from 'rxjs';
|
|
18
|
+
import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
|
|
19
|
+
import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
|
|
20
|
+
import { AddRetroRemissionRequest } from '../../interfaces/AddRetroRemissionRequest';
|
|
21
|
+
import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
|
|
22
|
+
import { PostIssueRefundRetroRemission } from '../../interfaces/PostIssueRefundRetroRemission';
|
|
23
|
+
import * as i0 from "@angular/core";
|
|
24
|
+
export declare class PaymentViewService {
|
|
25
|
+
private http;
|
|
26
|
+
private https;
|
|
27
|
+
private logger;
|
|
28
|
+
private errorHandlerService;
|
|
29
|
+
private paymentLibService;
|
|
30
|
+
private ordersList;
|
|
31
|
+
private meta;
|
|
32
|
+
constructor(http: HttpClient, https: WebComponentHttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
33
|
+
getPaymentDetails(paymentReference: string, paymentMethod?: string): Observable<IPayment>;
|
|
34
|
+
getPaymentGroupDetails(paymentGroupReference: string): Observable<IPaymentGroup>;
|
|
35
|
+
getApportionPaymentDetails(paymentReference: string): Observable<IPaymentGroup>;
|
|
36
|
+
getPBAaccountDetails(): Observable<any>;
|
|
37
|
+
postWays2PayCardPayment(serviceRef: string, body: IserviceRequestCardPayment): Observable<any>;
|
|
38
|
+
postPBAaccountPayment(serviceRef: string, body: IserviceRequestPbaPayment): Observable<any>;
|
|
39
|
+
postBSPayments(body: AllocatePaymentRequest): Observable<any>;
|
|
40
|
+
postBSUnidentifiedPayments(body: UnidentifiedPaymentsRequest): Observable<any>;
|
|
41
|
+
postBSUnsolicitedPayments(body: UnsolicitedPaymentsRequest): Observable<any>;
|
|
42
|
+
postBSAllocationPayments(body: IAllocationPaymentsRequest): Observable<any>;
|
|
43
|
+
postPaymentGroupWithRemissions(paymentGroupReference: string, feeId: number, body: AddRemissionRequest): Observable<any>;
|
|
44
|
+
deleteFeeFromPaymentGroup(feeId: number): Observable<any>;
|
|
45
|
+
postPaymentToPayHub(body: PaymentToPayhubRequest, paymentGroupRef: string): Observable<any>;
|
|
46
|
+
postPaymentAntennaToPayHub(body: PayhubAntennaRequest, paymentGroupRef: string): Observable<any>;
|
|
47
|
+
downloadSelectedReport(reportName: string, startDate: string, endDate: string): Observable<any>;
|
|
48
|
+
downloadFailureReport(startDate: string, endDate: string): Observable<any>;
|
|
49
|
+
downloadTelephonyPaymentsReport(startDate: string, endDate: string): Observable<any>;
|
|
50
|
+
getBSfeature(): Observable<any>;
|
|
51
|
+
getSiteID(): Observable<any>;
|
|
52
|
+
getPartyDetails(caseNumber: string): Observable<any>;
|
|
53
|
+
setOrdersList(orderLevelFees: IOrderReferenceFee[]): void;
|
|
54
|
+
getOrdersList(): BehaviorSubject<IOrderReferenceFee[]>;
|
|
55
|
+
postRefundsReason(body: PostRefundRetroRemission): Observable<any>;
|
|
56
|
+
postPaymentGroupWithRetroRemissions(paymentGroupReference: string, feeId: number, body: AddRetroRemissionRequest): Observable<any>;
|
|
57
|
+
postRefundRetroRemission(body: PostIssueRefundRetroRemission): Observable<any>;
|
|
58
|
+
getPaymentFailure(paymentReference: string): Observable<any>;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentViewService, never>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentViewService>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Meta } from '@angular/platform-browser';
|
|
3
|
+
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
4
|
+
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
5
|
+
import { PaymentLibService } from '../../payment-lib.service';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { IRefundReasons } from '../../interfaces/IRefundReasons';
|
|
8
|
+
import { IPatchRefundAction } from '../../interfaces/IPatchRefundAction';
|
|
9
|
+
import { IRefundList } from '../../interfaces/IRefundList';
|
|
10
|
+
import { IssueRefundRequest } from '../../interfaces/IssueRefundRequest';
|
|
11
|
+
import { IResubmitRefundRequest } from '../../interfaces/IResubmitRefundRequest';
|
|
12
|
+
import { IPutNotificationRequest } from '../../interfaces/IPutNotificationRequest';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class RefundsService {
|
|
15
|
+
private http;
|
|
16
|
+
private https;
|
|
17
|
+
private errorHandlerService;
|
|
18
|
+
private paymentLibService;
|
|
19
|
+
private meta;
|
|
20
|
+
constructor(http: HttpClient, https: WebComponentHttpClient, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService, meta: Meta);
|
|
21
|
+
getRefundReasons(): Observable<IRefundReasons[]>;
|
|
22
|
+
getRefundRejectReasons(): Observable<any>;
|
|
23
|
+
getRefundActions(refundReference: string): Observable<any>;
|
|
24
|
+
patchRefundActions(body: IPatchRefundAction, refundReference: string, reviewerAction: string): Observable<any>;
|
|
25
|
+
getRefundList(refundstatus?: string, selfexclusive?: boolean): Observable<IRefundList[]>;
|
|
26
|
+
getRefundStatusHistory(reference?: string): Observable<any>;
|
|
27
|
+
getRefundStatusList(ccdCaseNumber: string): Observable<IRefundList[]>;
|
|
28
|
+
getUserDetails(): Observable<any>;
|
|
29
|
+
postIssueRefund(body: IssueRefundRequest): Observable<any>;
|
|
30
|
+
putResendOrEdit(body: IPutNotificationRequest, refundRef: string, notificationType: string): Observable<any>;
|
|
31
|
+
patchResubmitRefund(body: IResubmitRefundRequest, refund_reference: string): Observable<any>;
|
|
32
|
+
postResetRefund(refund_reference: string): Observable<any>;
|
|
33
|
+
addHeaders(options: any): any;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RefundsService, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RefundsService>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ErrorHandlerService {
|
|
5
|
+
constructor();
|
|
6
|
+
handleError(err: HttpErrorResponse): Observable<any>;
|
|
7
|
+
getServerErrorMessage(isErrorExist: any, isDataNotExist?: boolean, error?: string): {
|
|
8
|
+
title: string;
|
|
9
|
+
body: string;
|
|
10
|
+
showError: any;
|
|
11
|
+
};
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandlerService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandlerService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Meta } from '@angular/platform-browser';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WebComponentHttpClient {
|
|
6
|
+
private http;
|
|
7
|
+
private meta;
|
|
8
|
+
constructor(http: HttpClient, meta: Meta);
|
|
9
|
+
post(url: string, body: any | null, options?: any): Observable<any>;
|
|
10
|
+
put(url: string, body: any | null, options?: any): Observable<any>;
|
|
11
|
+
get(url: string, options?: any): Observable<any>;
|
|
12
|
+
delete(url: string, options?: any): Observable<any>;
|
|
13
|
+
patch(url: string, body: any | null, options?: any): Observable<any>;
|
|
14
|
+
addHeaders(options: any): any;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebComponentHttpClient, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WebComponentHttpClient>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger } from './logger.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare let isDebugMode: boolean;
|
|
4
|
+
export declare class ConsoleLoggerService implements Logger {
|
|
5
|
+
get info(): any;
|
|
6
|
+
get warn(): any;
|
|
7
|
+
get error(): any;
|
|
8
|
+
invokeConsoleMethod(type: string, args?: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConsoleLoggerService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConsoleLoggerService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare abstract class Logger {
|
|
3
|
+
info: any;
|
|
4
|
+
warn: any;
|
|
5
|
+
error: any;
|
|
6
|
+
}
|
|
7
|
+
export declare class LoggerService implements Logger {
|
|
8
|
+
info: any;
|
|
9
|
+
warn: any;
|
|
10
|
+
error: any;
|
|
11
|
+
invokeConsoleMethod(type: string, args?: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PaymentLibService } from '../../payment-lib.service';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { IStatusHistories } from '../../interfaces/IStatusHistories';
|
|
4
|
+
import { Observable } from 'rxjs/internal/Observable';
|
|
5
|
+
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
6
|
+
import { LoggerService } from '../shared/logger/logger.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class StatusHistoryService {
|
|
9
|
+
private http;
|
|
10
|
+
private logger;
|
|
11
|
+
private errorHandlerService;
|
|
12
|
+
private paymentLibService;
|
|
13
|
+
constructor(http: HttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
14
|
+
getPaymentStatusesByReference(paymentReference: string, paymentMethod: string): Observable<IStatusHistories>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusHistoryService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StatusHistoryService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class XlFileService {
|
|
3
|
+
constructor();
|
|
4
|
+
exportAsExcelFile(json: any[], excelFileName: string): void;
|
|
5
|
+
private autoFitColumns;
|
|
6
|
+
private addRowData;
|
|
7
|
+
private setDataLossReportHeaders;
|
|
8
|
+
private setUnprocessedReportHeaders;
|
|
9
|
+
private setProcessedUnallocatedReportHeaders;
|
|
10
|
+
private setPaymentFailureReportHeaders;
|
|
11
|
+
private setShortFallReportHeaders;
|
|
12
|
+
private setTelphonyPaymentsReportHeaders;
|
|
13
|
+
private sanitizeString;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XlFileService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<XlFileService>;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/ccpay-web-component",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.15-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular/common": "^
|
|
9
|
-
"@angular/core": "
|
|
8
|
+
"@angular/common": "^18.2.13",
|
|
9
|
+
"@angular/core": "^18.2.13"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"repository": "https://github.com/hmcts/ccpay-web-component.git",
|
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
".": {
|
|
36
36
|
"types": "./index.d.ts",
|
|
37
|
+
"esm2022": "./esm2022/hmcts-ccpay-web-component.mjs",
|
|
38
|
+
"esm": "./esm2022/hmcts-ccpay-web-component.mjs",
|
|
37
39
|
"default": "./fesm2022/hmcts-ccpay-web-component.mjs"
|
|
38
40
|
}
|
|
39
41
|
},
|
package/public_api.d.ts
ADDED