@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.
Files changed (179) hide show
  1. package/esm2022/hmcts-ccpay-web-component.mjs +5 -0
  2. package/esm2022/lib/components/add-remission/add-remission.component.mjs +1276 -0
  3. package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +423 -0
  4. package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
  5. package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +885 -0
  6. package/esm2022/lib/components/contact-details/contact-details.component.mjs +338 -0
  7. package/esm2022/lib/components/error-banner/error-banner.component.mjs +18 -0
  8. package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +280 -0
  9. package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +195 -0
  10. package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +275 -0
  11. package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +79 -0
  12. package/esm2022/lib/components/page-not-found.component.mjs +17 -0
  13. package/esm2022/lib/components/payment-list/payment-list.component.mjs +36 -0
  14. package/esm2022/lib/components/payment-view/payment-view.component.mjs +467 -0
  15. package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
  16. package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +163 -0
  17. package/esm2022/lib/components/process-refund/process-refund.component.mjs +417 -0
  18. package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +37 -0
  19. package/esm2022/lib/components/refund-list/refund-list.component.mjs +73 -0
  20. package/esm2022/lib/components/refund-status/refund-status.component.mjs +481 -0
  21. package/esm2022/lib/components/reports/reports.component.mjs +337 -0
  22. package/esm2022/lib/components/service-request/service-request.component.mjs +516 -0
  23. package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
  24. package/esm2022/lib/components/table/table.component.mjs +127 -0
  25. package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +236 -0
  26. package/esm2022/lib/interfaces/AddRemissionRequest.mjs +17 -0
  27. package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +9 -0
  28. package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +41 -0
  29. package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +20 -0
  30. package/esm2022/lib/interfaces/IBSPayments.mjs +2 -0
  31. package/esm2022/lib/interfaces/ICardDetails.mjs +2 -0
  32. package/esm2022/lib/interfaces/IFee.mjs +2 -0
  33. package/esm2022/lib/interfaces/INotificationPreview.mjs +2 -0
  34. package/esm2022/lib/interfaces/IOrderReferenceFee.mjs +2 -0
  35. package/esm2022/lib/interfaces/IPatchRefundAction.mjs +2 -0
  36. package/esm2022/lib/interfaces/IPayment.mjs +2 -0
  37. package/esm2022/lib/interfaces/IPaymentFailure.mjs +2 -0
  38. package/esm2022/lib/interfaces/IPaymentGroup.mjs +2 -0
  39. package/esm2022/lib/interfaces/IPaymentStatus.mjs +12 -0
  40. package/esm2022/lib/interfaces/IPaymentView.mjs +2 -0
  41. package/esm2022/lib/interfaces/IPayments.mjs +2 -0
  42. package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +13 -0
  43. package/esm2022/lib/interfaces/IRefundAction.mjs +2 -0
  44. package/esm2022/lib/interfaces/IRefundContactDetails.mjs +2 -0
  45. package/esm2022/lib/interfaces/IRefundFee.mjs +2 -0
  46. package/esm2022/lib/interfaces/IRefundList.mjs +2 -0
  47. package/esm2022/lib/interfaces/IRefundReasons.mjs +2 -0
  48. package/esm2022/lib/interfaces/IRefundRejectReason.mjs +2 -0
  49. package/esm2022/lib/interfaces/IRefundStatus.mjs +2 -0
  50. package/esm2022/lib/interfaces/IRefundStatusHistory.mjs +2 -0
  51. package/esm2022/lib/interfaces/IRefundsNotifications.mjs +2 -0
  52. package/esm2022/lib/interfaces/IRemission.mjs +2 -0
  53. package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +13 -0
  54. package/esm2022/lib/interfaces/IStatusHistories.mjs +2 -0
  55. package/esm2022/lib/interfaces/IStatusHistory.mjs +2 -0
  56. package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +11 -0
  57. package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +15 -0
  58. package/esm2022/lib/interfaces/IssueRefundRequest.mjs +11 -0
  59. package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +46 -0
  60. package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +14 -0
  61. package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +17 -0
  62. package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +9 -0
  63. package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +18 -0
  64. package/esm2022/lib/interfaces/RefundsRequest.mjs +9 -0
  65. package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +16 -0
  66. package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +22 -0
  67. package/esm2022/lib/payment-lib.component.mjs +430 -0
  68. package/esm2022/lib/payment-lib.module.mjs +181 -0
  69. package/esm2022/lib/payment-lib.service.mjs +49 -0
  70. package/esm2022/lib/pipes/capitalize.pipe.mjs +18 -0
  71. package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +22 -0
  72. package/esm2022/lib/pipes/key-value.pipe.mjs +23 -0
  73. package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
  74. package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +87 -0
  75. package/esm2022/lib/services/card-details/card-details.service.mjs +39 -0
  76. package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +39 -0
  77. package/esm2022/lib/services/notification/notification.service.mjs +70 -0
  78. package/esm2022/lib/services/orderslist.service.mjs +154 -0
  79. package/esm2022/lib/services/payment-list/payment-list.service.mjs +40 -0
  80. package/esm2022/lib/services/payment-view/payment-view.service.mjs +156 -0
  81. package/esm2022/lib/services/refunds/refunds.service.mjs +120 -0
  82. package/esm2022/lib/services/shared/error-handler.service.mjs +76 -0
  83. package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +64 -0
  84. package/esm2022/lib/services/shared/logger/console-logger.service.mjs +43 -0
  85. package/esm2022/lib/services/shared/logger/logger.service.mjs +23 -0
  86. package/esm2022/lib/services/status-history/status-history.service.mjs +41 -0
  87. package/esm2022/lib/services/xl-file/xl-file.service.mjs +197 -0
  88. package/esm2022/public_api.mjs +7 -0
  89. package/fesm2022/hmcts-ccpay-web-component.mjs +217 -262
  90. package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
  91. package/index.d.ts +5 -2340
  92. package/lib/components/add-remission/add-remission.component.d.ts +208 -0
  93. package/lib/components/allocate-payments/allocate-payments.component.d.ts +115 -0
  94. package/lib/components/card-details/card-details.component.d.ts +18 -0
  95. package/lib/components/case-transactions/case-transactions.component.d.ts +143 -0
  96. package/lib/components/contact-details/contact-details.component.d.ts +54 -0
  97. package/lib/components/error-banner/error-banner.component.d.ts +9 -0
  98. package/lib/components/fee-summary/fee-summary.component.d.ts +72 -0
  99. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +52 -0
  100. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +63 -0
  101. package/lib/components/notification-preview/notification-preview.component.d.ts +30 -0
  102. package/lib/components/page-not-found.component.d.ts +5 -0
  103. package/lib/components/payment-list/payment-list.component.d.ts +19 -0
  104. package/lib/components/payment-view/payment-view.component.d.ts +110 -0
  105. package/lib/components/pba-details/pba-details.component.d.ts +10 -0
  106. package/lib/components/pba-payment/pba-payment.component.d.ts +41 -0
  107. package/lib/components/process-refund/process-refund.component.d.ts +82 -0
  108. package/lib/components/processed-payments/processed-payments.component.d.ts +17 -0
  109. package/lib/components/refund-list/refund-list.component.d.ts +26 -0
  110. package/lib/components/refund-status/refund-status.component.d.ts +119 -0
  111. package/lib/components/reports/reports.component.d.ts +49 -0
  112. package/lib/components/service-request/service-request.component.d.ts +141 -0
  113. package/lib/components/status-history/status-history.component.d.ts +19 -0
  114. package/lib/components/table/table.component.d.ts +45 -0
  115. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +61 -0
  116. package/lib/interfaces/AddRemissionRequest.d.ts +11 -0
  117. package/lib/interfaces/AddRetroRemissionRequest.d.ts +5 -0
  118. package/lib/interfaces/AllocatePaymentRequest.d.ts +31 -0
  119. package/lib/interfaces/IAllocationPaymentsRequest.d.ts +9 -0
  120. package/lib/interfaces/IBSPayments.d.ts +19 -0
  121. package/lib/interfaces/ICardDetails.d.ts +7 -0
  122. package/lib/interfaces/IFee.d.ts +29 -0
  123. package/lib/interfaces/INotificationPreview.d.ts +27 -0
  124. package/lib/interfaces/IOrderReferenceFee.d.ts +9 -0
  125. package/lib/interfaces/IPatchRefundAction.d.ts +4 -0
  126. package/lib/interfaces/IPayment.d.ts +35 -0
  127. package/lib/interfaces/IPaymentFailure.d.ts +13 -0
  128. package/lib/interfaces/IPaymentGroup.d.ts +11 -0
  129. package/lib/interfaces/IPaymentStatus.d.ts +11 -0
  130. package/lib/interfaces/IPaymentView.d.ts +5 -0
  131. package/lib/interfaces/IPayments.d.ts +4 -0
  132. package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
  133. package/lib/interfaces/IRefundAction.d.ts +4 -0
  134. package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
  135. package/lib/interfaces/IRefundFee.d.ts +7 -0
  136. package/lib/interfaces/IRefundList.d.ts +20 -0
  137. package/lib/interfaces/IRefundReasons.d.ts +6 -0
  138. package/lib/interfaces/IRefundRejectReason.d.ts +4 -0
  139. package/lib/interfaces/IRefundStatus.d.ts +8 -0
  140. package/lib/interfaces/IRefundStatusHistory.d.ts +5 -0
  141. package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
  142. package/lib/interfaces/IRemission.d.ts +14 -0
  143. package/lib/interfaces/IResubmitRefundRequest.d.ts +9 -0
  144. package/lib/interfaces/IStatusHistories.d.ts +7 -0
  145. package/lib/interfaces/IStatusHistory.d.ts +7 -0
  146. package/lib/interfaces/IserviceRequestCardPayment.d.ts +6 -0
  147. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +8 -0
  148. package/lib/interfaces/IssueRefundRequest.d.ts +6 -0
  149. package/lib/interfaces/NotificationPreviewRequest.d.ts +25 -0
  150. package/lib/interfaces/PayhubAntennaRequest.d.ts +8 -0
  151. package/lib/interfaces/PaymentToPayhubRequest.d.ts +11 -0
  152. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +6 -0
  153. package/lib/interfaces/PostRefundRetroRemission.d.ts +11 -0
  154. package/lib/interfaces/RefundsRequest.d.ts +5 -0
  155. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +7 -0
  156. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +10 -0
  157. package/lib/payment-lib.component.d.ts +156 -0
  158. package/lib/payment-lib.module.d.ts +42 -0
  159. package/lib/payment-lib.service.d.ts +21 -0
  160. package/lib/pipes/capitalize.pipe.d.ts +8 -0
  161. package/lib/pipes/ccd-hyphens.pipe.d.ts +8 -0
  162. package/lib/pipes/key-value.pipe.d.ts +8 -0
  163. package/lib/pipes/sanitize-html.pipe.d.ts +10 -0
  164. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +27 -0
  165. package/lib/services/card-details/card-details.service.d.ts +17 -0
  166. package/lib/services/case-transactions/case-transactions.service.d.ts +17 -0
  167. package/lib/services/notification/notification.service.d.ts +21 -0
  168. package/lib/services/orderslist.service.d.ts +77 -0
  169. package/lib/services/payment-list/payment-list.service.d.ts +18 -0
  170. package/lib/services/payment-view/payment-view.service.d.ts +61 -0
  171. package/lib/services/refunds/refunds.service.d.ts +36 -0
  172. package/lib/services/shared/error-handler.service.d.ts +14 -0
  173. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +17 -0
  174. package/lib/services/shared/logger/console-logger.service.d.ts +11 -0
  175. package/lib/services/shared/logger/logger.service.d.ts +14 -0
  176. package/lib/services/status-history/status-history.service.d.ts +17 -0
  177. package/lib/services/xl-file/xl-file.service.d.ts +16 -0
  178. package/package.json +5 -3
  179. 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.14-rc1",
3
+ "version": "6.5.15-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "peerDependencies": {
8
- "@angular/common": "^20.3.1",
9
- "@angular/core": "~20.3.1"
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
  },
@@ -0,0 +1,3 @@
1
+ export * from './lib/payment-lib.service';
2
+ export * from './lib/payment-lib.component';
3
+ export * from './lib/payment-lib.module';