@hmcts/ccpay-web-component 6.5.15-beta1 → 6.5.15-beta4

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/fesm2022/hmcts-ccpay-web-component.mjs +260 -184
  2. package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
  3. package/index.d.ts +2348 -5
  4. package/package.json +3 -5
  5. package/esm2022/hmcts-ccpay-web-component.mjs +0 -5
  6. package/esm2022/lib/components/add-remission/add-remission.component.mjs +0 -1276
  7. package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +0 -423
  8. package/esm2022/lib/components/card-details/card-details.component.mjs +0 -32
  9. package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +0 -885
  10. package/esm2022/lib/components/contact-details/contact-details.component.mjs +0 -338
  11. package/esm2022/lib/components/error-banner/error-banner.component.mjs +0 -18
  12. package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +0 -280
  13. package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +0 -195
  14. package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +0 -275
  15. package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +0 -79
  16. package/esm2022/lib/components/page-not-found.component.mjs +0 -17
  17. package/esm2022/lib/components/payment-list/payment-list.component.mjs +0 -36
  18. package/esm2022/lib/components/payment-view/payment-view.component.mjs +0 -467
  19. package/esm2022/lib/components/pba-details/pba-details.component.mjs +0 -18
  20. package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +0 -163
  21. package/esm2022/lib/components/process-refund/process-refund.component.mjs +0 -417
  22. package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +0 -37
  23. package/esm2022/lib/components/refund-list/refund-list.component.mjs +0 -73
  24. package/esm2022/lib/components/refund-status/refund-status.component.mjs +0 -481
  25. package/esm2022/lib/components/reports/reports.component.mjs +0 -337
  26. package/esm2022/lib/components/service-request/service-request.component.mjs +0 -516
  27. package/esm2022/lib/components/status-history/status-history.component.mjs +0 -33
  28. package/esm2022/lib/components/table/table.component.mjs +0 -127
  29. package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +0 -236
  30. package/esm2022/lib/interfaces/AddRemissionRequest.mjs +0 -17
  31. package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +0 -9
  32. package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +0 -41
  33. package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +0 -20
  34. package/esm2022/lib/interfaces/IBSPayments.mjs +0 -2
  35. package/esm2022/lib/interfaces/ICardDetails.mjs +0 -2
  36. package/esm2022/lib/interfaces/IFee.mjs +0 -2
  37. package/esm2022/lib/interfaces/INotificationPreview.mjs +0 -2
  38. package/esm2022/lib/interfaces/IOrderReferenceFee.mjs +0 -2
  39. package/esm2022/lib/interfaces/IPatchRefundAction.mjs +0 -2
  40. package/esm2022/lib/interfaces/IPayment.mjs +0 -2
  41. package/esm2022/lib/interfaces/IPaymentFailure.mjs +0 -2
  42. package/esm2022/lib/interfaces/IPaymentGroup.mjs +0 -2
  43. package/esm2022/lib/interfaces/IPaymentStatus.mjs +0 -12
  44. package/esm2022/lib/interfaces/IPaymentView.mjs +0 -2
  45. package/esm2022/lib/interfaces/IPayments.mjs +0 -2
  46. package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +0 -13
  47. package/esm2022/lib/interfaces/IRefundAction.mjs +0 -2
  48. package/esm2022/lib/interfaces/IRefundContactDetails.mjs +0 -2
  49. package/esm2022/lib/interfaces/IRefundFee.mjs +0 -2
  50. package/esm2022/lib/interfaces/IRefundList.mjs +0 -2
  51. package/esm2022/lib/interfaces/IRefundReasons.mjs +0 -2
  52. package/esm2022/lib/interfaces/IRefundRejectReason.mjs +0 -2
  53. package/esm2022/lib/interfaces/IRefundStatus.mjs +0 -2
  54. package/esm2022/lib/interfaces/IRefundStatusHistory.mjs +0 -2
  55. package/esm2022/lib/interfaces/IRefundsNotifications.mjs +0 -2
  56. package/esm2022/lib/interfaces/IRemission.mjs +0 -2
  57. package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +0 -13
  58. package/esm2022/lib/interfaces/IStatusHistories.mjs +0 -2
  59. package/esm2022/lib/interfaces/IStatusHistory.mjs +0 -2
  60. package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +0 -11
  61. package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +0 -15
  62. package/esm2022/lib/interfaces/IssueRefundRequest.mjs +0 -11
  63. package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +0 -46
  64. package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +0 -14
  65. package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +0 -17
  66. package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +0 -9
  67. package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +0 -18
  68. package/esm2022/lib/interfaces/RefundsRequest.mjs +0 -9
  69. package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +0 -16
  70. package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +0 -22
  71. package/esm2022/lib/payment-lib.component.mjs +0 -430
  72. package/esm2022/lib/payment-lib.module.mjs +0 -181
  73. package/esm2022/lib/payment-lib.service.mjs +0 -49
  74. package/esm2022/lib/pipes/capitalize.pipe.mjs +0 -18
  75. package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +0 -22
  76. package/esm2022/lib/pipes/key-value.pipe.mjs +0 -23
  77. package/esm2022/lib/pipes/sanitize-html.pipe.mjs +0 -20
  78. package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +0 -87
  79. package/esm2022/lib/services/card-details/card-details.service.mjs +0 -39
  80. package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +0 -39
  81. package/esm2022/lib/services/notification/notification.service.mjs +0 -70
  82. package/esm2022/lib/services/orderslist.service.mjs +0 -154
  83. package/esm2022/lib/services/payment-list/payment-list.service.mjs +0 -40
  84. package/esm2022/lib/services/payment-view/payment-view.service.mjs +0 -156
  85. package/esm2022/lib/services/refunds/refunds.service.mjs +0 -120
  86. package/esm2022/lib/services/shared/error-handler.service.mjs +0 -76
  87. package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +0 -64
  88. package/esm2022/lib/services/shared/logger/console-logger.service.mjs +0 -43
  89. package/esm2022/lib/services/shared/logger/logger.service.mjs +0 -23
  90. package/esm2022/lib/services/status-history/status-history.service.mjs +0 -41
  91. package/esm2022/lib/services/xl-file/xl-file.service.mjs +0 -197
  92. package/esm2022/public_api.mjs +0 -7
  93. package/lib/components/add-remission/add-remission.component.d.ts +0 -208
  94. package/lib/components/allocate-payments/allocate-payments.component.d.ts +0 -115
  95. package/lib/components/card-details/card-details.component.d.ts +0 -18
  96. package/lib/components/case-transactions/case-transactions.component.d.ts +0 -143
  97. package/lib/components/contact-details/contact-details.component.d.ts +0 -54
  98. package/lib/components/error-banner/error-banner.component.d.ts +0 -9
  99. package/lib/components/fee-summary/fee-summary.component.d.ts +0 -72
  100. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +0 -52
  101. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +0 -63
  102. package/lib/components/notification-preview/notification-preview.component.d.ts +0 -30
  103. package/lib/components/page-not-found.component.d.ts +0 -5
  104. package/lib/components/payment-list/payment-list.component.d.ts +0 -19
  105. package/lib/components/payment-view/payment-view.component.d.ts +0 -110
  106. package/lib/components/pba-details/pba-details.component.d.ts +0 -10
  107. package/lib/components/pba-payment/pba-payment.component.d.ts +0 -41
  108. package/lib/components/process-refund/process-refund.component.d.ts +0 -82
  109. package/lib/components/processed-payments/processed-payments.component.d.ts +0 -17
  110. package/lib/components/refund-list/refund-list.component.d.ts +0 -26
  111. package/lib/components/refund-status/refund-status.component.d.ts +0 -119
  112. package/lib/components/reports/reports.component.d.ts +0 -49
  113. package/lib/components/service-request/service-request.component.d.ts +0 -141
  114. package/lib/components/status-history/status-history.component.d.ts +0 -19
  115. package/lib/components/table/table.component.d.ts +0 -45
  116. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +0 -61
  117. package/lib/interfaces/AddRemissionRequest.d.ts +0 -11
  118. package/lib/interfaces/AddRetroRemissionRequest.d.ts +0 -5
  119. package/lib/interfaces/AllocatePaymentRequest.d.ts +0 -31
  120. package/lib/interfaces/IAllocationPaymentsRequest.d.ts +0 -9
  121. package/lib/interfaces/IBSPayments.d.ts +0 -19
  122. package/lib/interfaces/ICardDetails.d.ts +0 -7
  123. package/lib/interfaces/IFee.d.ts +0 -29
  124. package/lib/interfaces/INotificationPreview.d.ts +0 -27
  125. package/lib/interfaces/IOrderReferenceFee.d.ts +0 -9
  126. package/lib/interfaces/IPatchRefundAction.d.ts +0 -4
  127. package/lib/interfaces/IPayment.d.ts +0 -35
  128. package/lib/interfaces/IPaymentFailure.d.ts +0 -13
  129. package/lib/interfaces/IPaymentGroup.d.ts +0 -11
  130. package/lib/interfaces/IPaymentStatus.d.ts +0 -11
  131. package/lib/interfaces/IPaymentView.d.ts +0 -5
  132. package/lib/interfaces/IPayments.d.ts +0 -4
  133. package/lib/interfaces/IPutNotificationRequest.d.ts +0 -6
  134. package/lib/interfaces/IRefundAction.d.ts +0 -4
  135. package/lib/interfaces/IRefundContactDetails.d.ts +0 -9
  136. package/lib/interfaces/IRefundFee.d.ts +0 -7
  137. package/lib/interfaces/IRefundList.d.ts +0 -20
  138. package/lib/interfaces/IRefundReasons.d.ts +0 -6
  139. package/lib/interfaces/IRefundRejectReason.d.ts +0 -4
  140. package/lib/interfaces/IRefundStatus.d.ts +0 -8
  141. package/lib/interfaces/IRefundStatusHistory.d.ts +0 -5
  142. package/lib/interfaces/IRefundsNotifications.d.ts +0 -16
  143. package/lib/interfaces/IRemission.d.ts +0 -14
  144. package/lib/interfaces/IResubmitRefundRequest.d.ts +0 -9
  145. package/lib/interfaces/IStatusHistories.d.ts +0 -7
  146. package/lib/interfaces/IStatusHistory.d.ts +0 -7
  147. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -6
  148. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -8
  149. package/lib/interfaces/IssueRefundRequest.d.ts +0 -6
  150. package/lib/interfaces/NotificationPreviewRequest.d.ts +0 -25
  151. package/lib/interfaces/PayhubAntennaRequest.d.ts +0 -8
  152. package/lib/interfaces/PaymentToPayhubRequest.d.ts +0 -11
  153. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +0 -6
  154. package/lib/interfaces/PostRefundRetroRemission.d.ts +0 -11
  155. package/lib/interfaces/RefundsRequest.d.ts +0 -5
  156. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +0 -7
  157. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +0 -10
  158. package/lib/payment-lib.component.d.ts +0 -156
  159. package/lib/payment-lib.module.d.ts +0 -42
  160. package/lib/payment-lib.service.d.ts +0 -21
  161. package/lib/pipes/capitalize.pipe.d.ts +0 -8
  162. package/lib/pipes/ccd-hyphens.pipe.d.ts +0 -8
  163. package/lib/pipes/key-value.pipe.d.ts +0 -8
  164. package/lib/pipes/sanitize-html.pipe.d.ts +0 -10
  165. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +0 -27
  166. package/lib/services/card-details/card-details.service.d.ts +0 -17
  167. package/lib/services/case-transactions/case-transactions.service.d.ts +0 -17
  168. package/lib/services/notification/notification.service.d.ts +0 -21
  169. package/lib/services/orderslist.service.d.ts +0 -77
  170. package/lib/services/payment-list/payment-list.service.d.ts +0 -18
  171. package/lib/services/payment-view/payment-view.service.d.ts +0 -61
  172. package/lib/services/refunds/refunds.service.d.ts +0 -36
  173. package/lib/services/shared/error-handler.service.d.ts +0 -14
  174. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +0 -17
  175. package/lib/services/shared/logger/console-logger.service.d.ts +0 -11
  176. package/lib/services/shared/logger/logger.service.d.ts +0 -14
  177. package/lib/services/status-history/status-history.service.d.ts +0 -17
  178. package/lib/services/xl-file/xl-file.service.d.ts +0 -16
  179. package/public_api.d.ts +0 -3
@@ -1,21 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class PaymentLibService {
3
- API_ROOT: string;
4
- BULKSCAN_API_ROOT: string;
5
- REFUNDS_API_ROOT: string;
6
- NOTIFICATION_API_ROOT: string;
7
- CARDPAYMENTRETURNURL: string;
8
- constructor();
9
- setApiRootUrl(apiRoot: string): void;
10
- getApiRootUrl(): string;
11
- setBulkScanApiRootUrl(bulkscanapiRoot: string): void;
12
- getBulkScanApiRootUrl(): string;
13
- setRefundndsApiRootUrl(refundsapiRoot: string): void;
14
- getRefundsApiRootUrl(): string;
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>;
21
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CapitalizePipe implements PipeTransform {
4
- constructor();
5
- transform(s: any, args?: any): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<CapitalizePipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizePipe, "capitalize", true>;
8
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CcdHyphensPipe implements PipeTransform {
4
- constructor();
5
- transform(value: any, args?: any): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<CcdHyphensPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<CcdHyphensPipe, "ccdHyphens", true>;
8
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class keyValuePipe implements PipeTransform {
4
- constructor();
5
- transform(input: any): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<keyValuePipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<keyValuePipe, "keyValue", false>;
8
- }
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- export declare class SanitizeHtmlPipe implements PipeTransform {
5
- private sanitizer;
6
- constructor(sanitizer: DomSanitizer);
7
- transform(value: any): SafeHtml;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SanitizeHtmlPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeHtmlPipe, "sanitizeHtml", false>;
10
- }
@@ -1,27 +0,0 @@
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 { IBSPayments } from '../../interfaces/IBSPayments';
7
- import { AllocatePaymentRequest } from '../../interfaces/AllocatePaymentRequest';
8
- import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
9
- import * as i0 from "@angular/core";
10
- export declare class BulkScaningPaymentService {
11
- private http;
12
- private https;
13
- private errorHandlerService;
14
- private paymentLibService;
15
- constructor(http: HttpClient, https: WebComponentHttpClient, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
16
- getBSPaymentsByCCD(ccdCaseNumber: string): Observable<IBSPayments>;
17
- getBSPaymentsByDCN(dcn: string): Observable<IBSPayments>;
18
- postBSAllocatePayment(body: AllocatePaymentRequest, paymentRef: string): Observable<any>;
19
- postBSPaymentStrategic(body: AllocatePaymentRequest, paymentGroupRef: string): Observable<any>;
20
- postBSWoPGStrategic(body: AllocatePaymentRequest): Observable<any>;
21
- patchBSChangeStatus(dcnNumber: string, status: string): Observable<any>;
22
- calculateOutStandingAmount(paymentGroup: IPaymentGroup): number;
23
- removeUnwantedString(input: string, replaceText: string): string;
24
- downloadSelectedReport(reportName: string, startDate: string, endDate: string): Observable<any>;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<BulkScaningPaymentService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<BulkScaningPaymentService>;
27
- }
@@ -1,17 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs/internal/Observable';
3
- import { ICardDetails } from '../../interfaces/ICardDetails';
4
- import { PaymentLibService } from '../../payment-lib.service';
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 CardDetailsService {
9
- private http;
10
- private logger;
11
- private errorHandlerService;
12
- private paymentLibService;
13
- constructor(http: HttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
14
- getCardDetails(paymentReference: string): Observable<ICardDetails>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<CardDetailsService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<CardDetailsService>;
17
- }
@@ -1,17 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { LoggerService } from '../shared/logger/logger.service';
3
- import { ErrorHandlerService } from '../shared/error-handler.service';
4
- import { PaymentLibService } from '../../payment-lib.service';
5
- import { Observable } from 'rxjs';
6
- import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
7
- import * as i0 from "@angular/core";
8
- export declare class CaseTransactionsService {
9
- private http;
10
- private logger;
11
- private errorHandlerService;
12
- private paymentLibService;
13
- constructor(http: HttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
14
- getPaymentGroups(ccdCaseNumber: string): Observable<IPaymentGroup[]>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<CaseTransactionsService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<CaseTransactionsService>;
17
- }
@@ -1,21 +0,0 @@
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
- }
@@ -1,77 +0,0 @@
1
- import { Observable, BehaviorSubject } from 'rxjs';
2
- import { IOrderReferenceFee } from '../interfaces/IOrderReferenceFee';
3
- import { IRefundList } from '../interfaces/IRefundList';
4
- import { IPaymentView } from '../interfaces/IPaymentView';
5
- import * as i0 from "@angular/core";
6
- export declare class OrderslistService {
7
- private ordersList;
8
- private refundView;
9
- private caseType;
10
- getcaseType: Observable<string>;
11
- private feeExists;
12
- getFeeExist: Observable<boolean>;
13
- private ccdCaseNumber;
14
- getCCDCaseNumberforRefund: Observable<string>;
15
- private isFromServiceRequestPage;
16
- getisFromServiceRequestPage: Observable<boolean>;
17
- private OrderRefId;
18
- getOrderRefId: Observable<string>;
19
- private navigationPage;
20
- getnavigationPage: Observable<string>;
21
- private orderRef;
22
- getorderRef: Observable<string>;
23
- private orderCCDEvent;
24
- getorderCCDEvent: Observable<string>;
25
- private orderCreated;
26
- getorderCreated: Observable<Date>;
27
- private orderParty;
28
- getorderParty: Observable<string>;
29
- private orderRemissionTotal;
30
- getorderRemissionTotal: Observable<number>;
31
- private orderFeesTotal;
32
- getorderFeesTotal: Observable<number>;
33
- private orderTotalPayments;
34
- getorderTotalPayments: Observable<number>;
35
- private rolesList;
36
- private orderDetail;
37
- private paymentPageView;
38
- constructor();
39
- setOrdersList(orderLevelFees: IOrderReferenceFee[]): void;
40
- getOrdersList(): BehaviorSubject<IOrderReferenceFee[]>;
41
- setRefundView(refundList: IRefundList): void;
42
- getRefundView(): BehaviorSubject<IRefundList>;
43
- setCaseType(caseType: string): void;
44
- getCaseType(): BehaviorSubject<string>;
45
- setCCDCaseNumber(ccdCaseNumber: string): void;
46
- getCCDCaseNumber(): BehaviorSubject<string>;
47
- setFeeExists(feeExists: boolean): void;
48
- getFeeExists(): BehaviorSubject<boolean>;
49
- setisFromServiceRequestPage(isFromServiceRequestPage: boolean): void;
50
- getisFromServiceRequestPages(): BehaviorSubject<boolean>;
51
- setOrderRefId(OrderRefId: string): void;
52
- getSelectedOrderRefId(): BehaviorSubject<string>;
53
- setnavigationPage(navigationPage: string): void;
54
- getnavigationPageValue(): BehaviorSubject<string>;
55
- setpaymentPageView(paymentpageList: IPaymentView): void;
56
- getpaymentPageView(): BehaviorSubject<IPaymentView>;
57
- setUserRolesList(rolesList: any[]): void;
58
- getUserRolesList(): BehaviorSubject<any[]>;
59
- setorderDetail(orderDetail: any[]): void;
60
- getorderDetail(): BehaviorSubject<any[]>;
61
- setOrderRef(orderRef: string): void;
62
- getorderRefs(): BehaviorSubject<string>;
63
- setorderCCDEvent(orderCCDEvent: string): void;
64
- getorderCCDEvents(): BehaviorSubject<string>;
65
- setorderCreated(orderCreated: Date): void;
66
- getorderCreateds(): BehaviorSubject<Date>;
67
- setorderParty(orderParty: string): void;
68
- getorderPartys(): BehaviorSubject<string>;
69
- setorderRemissionTotal(orderRemissionTotal: number): void;
70
- getorderRemissionTotals(): BehaviorSubject<number>;
71
- setorderFeesTotal(orderFeesTotal: number): void;
72
- getorderFeesTotals(): BehaviorSubject<number>;
73
- setorderTotalPayments(orderTotalPayments: number): void;
74
- getoorderTotalPaymentss(): BehaviorSubject<number>;
75
- static ɵfac: i0.ɵɵFactoryDeclaration<OrderslistService, never>;
76
- static ɵprov: i0.ɵɵInjectableDeclaration<OrderslistService>;
77
- }
@@ -1,18 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs/internal/Observable';
3
- import { PaymentLibService } from '../../payment-lib.service';
4
- import { IPayments } from '../../interfaces/IPayments';
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 PaymentListService {
9
- private http;
10
- private logger;
11
- private errorHandlerService;
12
- private paymentLibService;
13
- payments: IPayments;
14
- constructor(http: HttpClient, logger: LoggerService, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
15
- getPaymentByCcdCaseNumber(ccdCaseNumber: string, paymentMethod: string): Observable<IPayments>;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PaymentListService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<PaymentListService>;
18
- }
@@ -1,61 +0,0 @@
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
- }
@@ -1,36 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,11 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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/public_api.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './lib/payment-lib.service';
2
- export * from './lib/payment-lib.component';
3
- export * from './lib/payment-lib.module';