@hmcts/ccpay-web-component 5.0.1-beta94 → 5.0.1-beta95

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 (77) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +700 -620
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-ccpay-web-component.js +5 -4
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +84 -281
  7. package/esm2015/lib/components/case-transactions/case-transactions.component.js +4 -32
  8. package/esm2015/lib/components/contact-details/contact-details.component.js +346 -0
  9. package/esm2015/lib/components/payment-view/payment-view.component.js +4 -6
  10. package/esm2015/lib/components/process-refund/process-refund.component.js +3 -8
  11. package/esm2015/lib/components/refund-status/refund-status.component.js +145 -27
  12. package/esm2015/lib/components/service-request/service-request.component.js +9 -28
  13. package/esm2015/lib/interfaces/IPutNotificationRequest.js +25 -0
  14. package/esm2015/lib/interfaces/IRefundContactDetails.js +25 -0
  15. package/esm2015/lib/interfaces/IRefundsNotifications.js +21 -0
  16. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +6 -2
  17. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +5 -21
  18. package/esm2015/lib/payment-lib.component.js +8 -6
  19. package/esm2015/lib/payment-lib.module.js +5 -3
  20. package/esm2015/lib/payment-lib.service.js +16 -1
  21. package/esm2015/lib/services/notification/notification.service.js +85 -0
  22. package/esm2015/lib/services/payment-view/payment-view.service.js +1 -29
  23. package/esm2015/lib/services/refunds/refunds.service.js +10 -1
  24. package/esm2015/lib/services/shared/error-handler.service.js +10 -19
  25. package/esm5/hmcts-ccpay-web-component.js +5 -4
  26. package/esm5/lib/components/add-remission/add-remission.component.js +102 -307
  27. package/esm5/lib/components/case-transactions/case-transactions.component.js +4 -38
  28. package/esm5/lib/components/contact-details/contact-details.component.js +370 -0
  29. package/esm5/lib/components/payment-view/payment-view.component.js +4 -6
  30. package/esm5/lib/components/process-refund/process-refund.component.js +3 -8
  31. package/esm5/lib/components/refund-status/refund-status.component.js +172 -25
  32. package/esm5/lib/components/service-request/service-request.component.js +9 -32
  33. package/esm5/lib/interfaces/IPutNotificationRequest.js +23 -0
  34. package/esm5/lib/interfaces/IRefundContactDetails.js +25 -0
  35. package/esm5/lib/interfaces/IRefundsNotifications.js +21 -0
  36. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +5 -2
  37. package/esm5/lib/interfaces/PostRefundRetroRemission.js +4 -16
  38. package/esm5/lib/payment-lib.component.js +7 -4
  39. package/esm5/lib/payment-lib.module.js +5 -3
  40. package/esm5/lib/payment-lib.service.js +23 -1
  41. package/esm5/lib/services/notification/notification.service.js +89 -0
  42. package/esm5/lib/services/payment-view/payment-view.service.js +1 -42
  43. package/esm5/lib/services/refunds/refunds.service.js +16 -1
  44. package/esm5/lib/services/shared/error-handler.service.js +10 -19
  45. package/fesm2015/hmcts-ccpay-web-component.js +619 -584
  46. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  47. package/fesm5/hmcts-ccpay-web-component.js +707 -644
  48. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  49. package/hmcts-ccpay-web-component.d.ts +4 -3
  50. package/hmcts-ccpay-web-component.metadata.json +1 -1
  51. package/lib/components/add-remission/add-remission.component.d.ts +9 -16
  52. package/lib/components/case-transactions/case-transactions.component.d.ts +0 -5
  53. package/lib/components/contact-details/contact-details.component.d.ts +41 -0
  54. package/lib/components/payment-view/payment-view.component.d.ts +0 -1
  55. package/lib/components/process-refund/process-refund.component.d.ts +0 -1
  56. package/lib/components/refund-status/refund-status.component.d.ts +20 -5
  57. package/lib/components/service-request/service-request.component.d.ts +0 -2
  58. package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
  59. package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
  60. package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
  61. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
  62. package/lib/interfaces/PostRefundRetroRemission.d.ts +3 -6
  63. package/lib/payment-lib.component.d.ts +1 -2
  64. package/lib/payment-lib.service.d.ts +3 -0
  65. package/lib/services/notification/notification.service.d.ts +15 -0
  66. package/lib/services/payment-view/payment-view.service.d.ts +0 -5
  67. package/lib/services/refunds/refunds.service.d.ts +2 -0
  68. package/package.json +1 -1
  69. package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -199
  70. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
  71. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
  72. package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -216
  73. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
  74. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
  75. package/lib/components/pba-payment/pba-payment.component.d.ts +0 -27
  76. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -6
  77. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -7
@@ -1,5 +1,5 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
- import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { IFee } from '../../interfaces/IFee';
4
4
  import { Router } from '@angular/router';
5
5
  import { PaymentViewService } from '../../services/payment-view/payment-view.service';
@@ -7,6 +7,7 @@ import { PaymentLibComponent } from '../../payment-lib.component';
7
7
  import { IPayment } from '../../interfaces/IPayment';
8
8
  import { RefundsService } from '../../services/refunds/refunds.service';
9
9
  import { IRefundReasons } from '../../interfaces/IRefundReasons';
10
+ import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
10
11
  import { ChangeDetectorRef } from '@angular/core';
11
12
  import { IRemission } from '../../interfaces/IRemission';
12
13
  import { OrderslistService } from '../../services/orderslist.service';
@@ -19,7 +20,6 @@ export declare class AddRemissionComponent implements OnInit {
19
20
  private cd;
20
21
  private OrderslistService;
21
22
  fee: IFee;
22
- fees: any[];
23
23
  payment: IPayment;
24
24
  remission: IRemission;
25
25
  ccdCaseNumber: string;
@@ -61,6 +61,7 @@ export declare class AddRemissionComponent implements OnInit {
61
61
  other: string;
62
62
  };
63
63
  };
64
+ contactDetailsObj: IRefundContactDetails;
64
65
  remissionForm: FormGroup;
65
66
  hasErrors: boolean;
66
67
  viewStatus: string;
@@ -90,7 +91,6 @@ export declare class AddRemissionComponent implements OnInit {
90
91
  isPaymentSuccess: boolean;
91
92
  isRemissionApplied: boolean;
92
93
  remissionamt: number;
93
- elementId: any;
94
94
  commonRefundReasons: any[];
95
95
  showReasonText: boolean;
96
96
  isRefundReasonsSelected: boolean;
@@ -101,13 +101,6 @@ export declare class AddRemissionComponent implements OnInit {
101
101
  pattern2: string;
102
102
  sendOrderDetail: any[];
103
103
  sendOrderRef: string;
104
- paymentReference: string;
105
- class: string;
106
- errorMsg: any[];
107
- totalRefundAmount: number;
108
- quantityUpdated: number;
109
- fullRefund: boolean;
110
- allowedRefundAmount: number;
111
104
  component: {
112
105
  account_number: string;
113
106
  amount: number;
@@ -129,29 +122,29 @@ export declare class AddRemissionComponent implements OnInit {
129
122
  };
130
123
  constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
131
124
  ngOnInit(): void;
132
- readonly feesList: FormArray;
133
- noneSelected(): boolean;
134
- check_en(v1: any): void;
135
125
  addRemission(): void;
136
126
  confirmRemission(): void;
137
127
  resetRemissionForm(val: any, field: any): void;
138
128
  addRemissionCode(): void;
139
129
  gotoAddRetroRemissionCodePage(): void;
140
130
  gotoCheckRetroRemissionPage(payment: IPayment): void;
131
+ gotoAmountRetroRemission(): void;
141
132
  gotoProcessRetroRemissionPage(): void;
133
+ gotoProcessRetroRemission(): void;
142
134
  confirmRetroRemission(): void;
143
135
  processRefund(): void;
144
136
  gotoIssueRefundConfirmation(payment: IPayment): void;
145
137
  gotoIssueRefundPage(): void;
146
- gotoIssuePage(): void;
147
- getRefundReasons(): void;
148
- getErrorClass(elementId: any): void;
138
+ gotoContactDetailsPage(): void;
149
139
  changeIssueRefundReason(): void;
150
140
  confirmIssueRefund(): void;
151
141
  confirmRetroRefund(): void;
152
142
  selectRadioButton(key: any, value: any): void;
153
143
  selectchange(args: any): void;
144
+ getContactDetails(obj: IRefundContactDetails, type: any): void;
154
145
  gotoServiceRequestPage(event: any): void;
146
+ gotoAddressPage(): void;
147
+ gotoRemissionSuccess(event: Event): void;
155
148
  gotoCasetransationPage(): void;
156
149
  gotoCasetransationPageCancelBtnClicked(event: Event): void;
157
150
  resetOrderData(): void;
@@ -67,7 +67,6 @@ export declare class CaseTransactionsComponent implements OnInit {
67
67
  isAddRemissionEnable: boolean;
68
68
  orderRemissionDetails: any[];
69
69
  orderLevelFees: IOrderReferenceFee[];
70
- ispaymentGroupApisuccess: boolean;
71
70
  cpoDetails: any;
72
71
  orderRef: string;
73
72
  orderStatus: string;
@@ -87,8 +86,6 @@ export declare class CaseTransactionsComponent implements OnInit {
87
86
  isAddRemissionBtnEnabled: boolean;
88
87
  isRefundRemissionBtnEnable: boolean;
89
88
  allowedRolesToAccessRefund: string[];
90
- isEligible4PBAPayment: string[];
91
- currentDate: Date;
92
89
  isFromServiceRequestPage: boolean;
93
90
  navigationpage: string;
94
91
  remissionFeeAmt: number;
@@ -125,7 +122,5 @@ export declare class CaseTransactionsComponent implements OnInit {
125
122
  chkIssueRefundBtnEnable(payment: IPayment): boolean;
126
123
  chkIsRefundRemissionBtnEnable(): boolean;
127
124
  check4AllowedRoles2AccessRefund: () => boolean;
128
- check4AllowedRoles2AccessPBApayment: () => boolean;
129
125
  allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
130
- loadPBAAccountPage(orderRef: IPayment): void;
131
126
  }
@@ -0,0 +1,41 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { PaymentLibComponent } from '../../payment-lib.component';
4
+ export declare class ContactDetailsComponent implements OnInit {
5
+ private formBuilder;
6
+ private paymentLibComponent;
7
+ isEditOperation: boolean;
8
+ addressObj: any;
9
+ assignContactDetails: EventEmitter<any>;
10
+ redirectToIssueRefund: EventEmitter<any>;
11
+ pageTitle: string;
12
+ errorMessage: string;
13
+ isEmailSAddressClicked: boolean;
14
+ isPostcodeClicked: boolean;
15
+ isManualAddressClicked: boolean;
16
+ emailAddressForm: FormGroup;
17
+ postCodeForm: FormGroup;
18
+ manualAddressForm: FormGroup;
19
+ isEmailEmpty: boolean;
20
+ emailHasError: boolean;
21
+ isPostcodeEmpty: boolean;
22
+ postcodeHasError: boolean;
23
+ isaddressLine1Empty: boolean;
24
+ addressLine1HasError: boolean;
25
+ addressLine2HasError: boolean;
26
+ isTownOrCityEmpty: boolean;
27
+ townOrCityHasError: boolean;
28
+ isCountyEmpty: boolean;
29
+ countyHasError: boolean;
30
+ isMPostcodeEmpty: boolean;
31
+ mpostcodeHasError: boolean;
32
+ isCountryEmpty: boolean;
33
+ constructor(formBuilder: FormBuilder, paymentLibComponent: PaymentLibComponent);
34
+ ngOnInit(): void;
35
+ setEditDetails(): void;
36
+ selectContactOption(type: any, isLinkedClied: any): void;
37
+ finalFormSubmit(): void;
38
+ postcodeValidation(): void;
39
+ redirection(event: any): void;
40
+ resetForm(val: any, field: any): void;
41
+ }
@@ -48,7 +48,6 @@ export declare class PaymentViewComponent implements OnInit {
48
48
  serviceReference: string;
49
49
  isFromServiceRequestPage: boolean;
50
50
  isFromPaymentDetailPage: boolean;
51
- paymentFees: IFee[];
52
51
  constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
53
52
  ngAfterContentChecked(): void;
54
53
  ngOnInit(): void;
@@ -41,7 +41,6 @@ export declare class ProcessRefundComponent implements OnInit {
41
41
  successMsg: string;
42
42
  navigationpage: string;
43
43
  ccdCaseNumber: string;
44
- isFromRefundListPage: boolean;
45
44
  isConfirmButtondisabled: boolean;
46
45
  constructor(RefundsService: RefundsService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
47
46
  ngOnInit(): void;
@@ -1,27 +1,30 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { RefundsService } from '../../services/refunds/refunds.service';
3
+ import { NotificationService } from '../../services/notification/notification.service';
3
4
  import { FormBuilder, FormGroup } from '@angular/forms';
4
5
  import { IRefundList } from '../../interfaces/IRefundList';
5
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
6
- import { Router } from '@angular/router';
6
+ import { IRefundsNotifications } from '../../interfaces/IRefundsNotifications';
7
7
  import { OrderslistService } from '../../services/orderslist.service';
8
+ import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
8
9
  import { IRefundStatus } from '../../interfaces/IRefundStatus';
9
10
  import { PaymentLibComponent } from '../../payment-lib.component';
10
11
  export declare class RefundStatusComponent implements OnInit {
11
12
  private formBuilder;
12
13
  private refundService;
14
+ private notificationService;
13
15
  private paymentLibComponent;
14
- private paymentViewService;
15
- private router;
16
16
  private OrderslistService;
17
17
  LOGGEDINUSERROLES: string[];
18
18
  isOldPcipalOff: boolean;
19
19
  isNewPcipalOff: boolean;
20
20
  ccdCaseNumber: string;
21
21
  isTurnOff: boolean;
22
+ orderParty: string;
22
23
  refundStatusForm: FormGroup;
23
24
  selectedRefundReason: string;
24
25
  rejectedRefundList: IRefundList[];
26
+ notificationList: IRefundsNotifications;
27
+ notification: IRefundsNotifications;
25
28
  approvalStatus: string;
26
29
  rejectStatus: string;
27
30
  errorMessage: any;
@@ -38,6 +41,11 @@ export declare class RefundStatusComponent implements OnInit {
38
41
  refundHasError: boolean;
39
42
  refundReasons: any[];
40
43
  refundStatusHistories: IRefundStatus[];
44
+ refundNotifications: IRefundStatus[];
45
+ isResendOperationSuccess: boolean;
46
+ isEditDetailsClicked: boolean;
47
+ isEditAddressDeatilsClicked: boolean;
48
+ addressDetails: IRefundContactDetails;
41
49
  refundReference: string;
42
50
  refundAmount: string;
43
51
  refundCode: string;
@@ -49,10 +57,11 @@ export declare class RefundStatusComponent implements OnInit {
49
57
  isProcessRefund: boolean;
50
58
  changedAmount: number;
51
59
  allowedRolesToAccessRefund: string[];
52
- constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
60
+ constructor(formBuilder: FormBuilder, refundService: RefundsService, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent, OrderslistService: OrderslistService);
53
61
  ngOnInit(): void;
54
62
  check4AllowedRoles2AccessRefund: () => boolean;
55
63
  getRefundsStatusHistoryList(): void;
64
+ getRefundsNotification(): void;
56
65
  goToRefundView(refundlist: IRefundList, navigationpage: string): void;
57
66
  loadCaseTransactionPage(): void;
58
67
  loadRefundListPage(): void;
@@ -66,5 +75,11 @@ export declare class RefundStatusComponent implements OnInit {
66
75
  getRefundListReason(refundListReason: any): void;
67
76
  getRefundAmount(amount: number): void;
68
77
  gotoReviewRefundConfirmationPage(): void;
78
+ gotoEditAddressDetails(note: IRefundsNotifications): void;
79
+ getContactDetails(obj: IRefundContactDetails): void;
80
+ gotoEditDetailsPage(): void;
81
+ submitEditDetail(): void;
82
+ putResend(notification: IRefundsNotifications): void;
83
+ gotoCasetransationPageCancelBtnClicked(obj: any): void;
69
84
  goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
70
85
  }
@@ -27,7 +27,6 @@ export declare class ServiceRequestComponent implements OnInit {
27
27
  orderRemissionTotal: number;
28
28
  takePayment: boolean;
29
29
  ccdCaseNumber: boolean;
30
- isServiceRequest: string;
31
30
  servicerequest: string;
32
31
  excReference: string;
33
32
  paymentGroups: any[];
@@ -98,7 +97,6 @@ export declare class ServiceRequestComponent implements OnInit {
98
97
  check4AllowedRoles2AccessRefund: () => boolean;
99
98
  allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
100
99
  issueRefund(payment: IPayment): void;
101
- goToServiceRequestPage(event: any): void;
102
100
  goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
103
101
  goToPaymentViewComponent(paymentGroup: any): void;
104
102
  resetOrderData(): void;
@@ -0,0 +1,6 @@
1
+ import { IRefundContactDetails } from './IRefundContactDetails';
2
+ export declare class IPutNotificationRequest {
3
+ recipient_email_address?: string;
4
+ recipient_postal_address?: IRefundContactDetails;
5
+ constructor(contactDetails: any, notificationType: string);
6
+ }
@@ -0,0 +1,9 @@
1
+ export interface IRefundContactDetails {
2
+ address_line?: string;
3
+ city?: string;
4
+ country?: string;
5
+ county?: string;
6
+ email?: string;
7
+ notification_type?: string;
8
+ postal_code?: string;
9
+ }
@@ -0,0 +1,16 @@
1
+ export interface IRefundsNotifications {
2
+ contact_details: {
3
+ address_line: string;
4
+ city: string;
5
+ country: string;
6
+ county: string;
7
+ date_created: string;
8
+ date_updated: string;
9
+ email: string;
10
+ postal_code: string;
11
+ };
12
+ date_created: string;
13
+ date_updated: string;
14
+ notification_type: string;
15
+ reference: string;
16
+ }
@@ -1,4 +1,6 @@
1
+ import { IRefundContactDetails } from './IRefundContactDetails';
1
2
  export declare class PostIssueRefundRetroRemission {
2
3
  remissionReference: string;
3
- constructor(remissionReference: string);
4
+ contact_details: IRefundContactDetails;
5
+ constructor(remissionReference: string, contactDeatils: any);
4
6
  }
@@ -1,10 +1,7 @@
1
+ import { IRefundContactDetails } from './IRefundContactDetails';
1
2
  export declare class PostRefundRetroRemission {
2
- ccd_case_number: string;
3
3
  payment_reference: string;
4
4
  refund_reason: string;
5
- payment_method: string;
6
- payment_status: string;
7
- refund_amount: any;
8
- fees: any[];
9
- constructor(ccd_case_number: string, payment_reference: string, refund_reason: string, payment_method: string, payment_status: string, refund_amount: any, fees: any[]);
5
+ contact_details: IRefundContactDetails;
6
+ constructor(payment_reference: string, refund_reason: string, contactDeatils: any);
10
7
  }
@@ -2,7 +2,6 @@ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { PaymentLibService } from './payment-lib.service';
3
3
  import { IBSPayments } from './interfaces/IBSPayments';
4
4
  import { OrderslistService } from './services/orderslist.service';
5
- import { IPayment } from './interfaces/IPayment';
6
5
  export declare class PaymentLibComponent implements OnInit {
7
6
  private paymentLibService;
8
7
  private cd;
@@ -10,6 +9,7 @@ export declare class PaymentLibComponent implements OnInit {
10
9
  API_ROOT: string;
11
10
  BULKSCAN_API_ROOT: string;
12
11
  REFUNDS_API_ROOT: string;
12
+ NOTIFICATION_API_ROOT: string;
13
13
  CCD_CASE_NUMBER: string;
14
14
  EXC_REFERENCE: string;
15
15
  PAYMENT_METHOD: string;
@@ -51,7 +51,6 @@ export declare class PaymentLibComponent implements OnInit {
51
51
  isFromRefundStatusPage: boolean;
52
52
  iscancelClicked: boolean;
53
53
  isFromPaymentDetailPage: boolean;
54
- pbaPayOrderRef: IPayment;
55
54
  isTakePayment: boolean;
56
55
  orderDetail: any[];
57
56
  orderRef: string;
@@ -2,6 +2,7 @@ export declare class PaymentLibService {
2
2
  API_ROOT: string;
3
3
  BULKSCAN_API_ROOT: string;
4
4
  REFUNDS_API_ROOT: string;
5
+ NOTIFICATION_API_ROOT: string;
5
6
  constructor();
6
7
  setApiRootUrl(apiRoot: string): void;
7
8
  getApiRootUrl(): string;
@@ -9,4 +10,6 @@ export declare class PaymentLibService {
9
10
  getBulkScanApiRootUrl(): string;
10
11
  setRefundndsApiRootUrl(refundsapiRoot: string): void;
11
12
  getRefundsApiRootUrl(): string;
13
+ setNoticationApiRootUrl(notificationapiRoot: string): void;
14
+ getNoticationApiRootUrl(): string;
12
15
  }
@@ -0,0 +1,15 @@
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/Observable';
6
+ import { IRefundsNotifications } from '../../interfaces/IRefundsNotifications';
7
+ export declare class NotificationService {
8
+ private http;
9
+ private https;
10
+ private errorHandlerService;
11
+ private paymentLibService;
12
+ constructor(http: HttpClient, https: WebComponentHttpClient, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
13
+ getRefundNotification(reference: string): Observable<IRefundsNotifications>;
14
+ getAddressByPostcode(postcode: string): Observable<any>;
15
+ }
@@ -15,8 +15,6 @@ import { AllocatePaymentRequest } from '../../interfaces/AllocatePaymentRequest'
15
15
  import { IAllocationPaymentsRequest } from '../../interfaces/IAllocationPaymentsRequest';
16
16
  import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
17
17
  import { BehaviorSubject } from 'rxjs';
18
- import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
19
- import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
20
18
  import { AddRetroRemissionRequest } from '../../interfaces/AddRetroRemissionRequest';
21
19
  import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
22
20
  import { PostIssueRefundRetroRemission } from '../../interfaces/PostIssueRefundRetroRemission';
@@ -32,9 +30,6 @@ export declare class PaymentViewService {
32
30
  getPaymentDetails(paymentReference: string, paymentMethod: string): Observable<IPayment>;
33
31
  getPaymentGroupDetails(paymentGroupReference: string): Observable<IPaymentGroup>;
34
32
  getApportionPaymentDetails(paymentReference: string): Observable<IPaymentGroup>;
35
- getPBAaccountDetails(): Observable<any>;
36
- postWays2PayCardPayment(serviceRef: string, body: IserviceRequestCardPayment): Observable<any>;
37
- postPBAaccountPayment(serviceRef: string, body: IserviceRequestPbaPayment): Observable<any>;
38
33
  postBSPayments(body: AllocatePaymentRequest): Observable<any>;
39
34
  postBSUnidentifiedPayments(body: UnidentifiedPaymentsRequest): Observable<any>;
40
35
  postBSUnsolicitedPayments(body: UnsolicitedPaymentsRequest): Observable<any>;
@@ -9,6 +9,7 @@ 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';
12
13
  export declare class RefundsService {
13
14
  private http;
14
15
  private https;
@@ -25,6 +26,7 @@ export declare class RefundsService {
25
26
  getRefundStatusList(ccdCaseNumber: string): Observable<IRefundList[]>;
26
27
  getUserDetails(): Observable<any>;
27
28
  postIssueRefund(body: IssueRefundRequest): Observable<any>;
29
+ putResendOrEdit(body: IPutNotificationRequest, refundRef: string, notificationType: string): Observable<any>;
28
30
  patchResubmitRefund(body: IResubmitRefundRequest, refund_reference: string): Observable<any>;
29
31
  addHeaders(options: any): any;
30
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "5.0.1-beta94",
3
+ "version": "5.0.1-beta95",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },