@hmcts/ccpay-web-component 5.0.1-beta80 → 5.0.1-beta82

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 (25) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +92 -5
  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/lib/components/add-remission/add-remission.component.js +14 -5
  6. package/esm2015/lib/components/refund-status/refund-status.component.js +48 -2
  7. package/esm2015/lib/interfaces/IPutNotificationRequest.js +21 -0
  8. package/esm2015/lib/interfaces/IRefundContactDetails.js +2 -2
  9. package/esm2015/lib/services/refunds/refunds.service.js +10 -1
  10. package/esm5/lib/components/add-remission/add-remission.component.js +17 -5
  11. package/esm5/lib/components/refund-status/refund-status.component.js +57 -2
  12. package/esm5/lib/interfaces/IPutNotificationRequest.js +19 -0
  13. package/esm5/lib/interfaces/IRefundContactDetails.js +2 -2
  14. package/esm5/lib/services/refunds/refunds.service.js +16 -1
  15. package/fesm2015/hmcts-ccpay-web-component.js +81 -5
  16. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  17. package/fesm5/hmcts-ccpay-web-component.js +96 -5
  18. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  19. package/hmcts-ccpay-web-component.metadata.json +1 -1
  20. package/lib/components/add-remission/add-remission.component.d.ts +1 -0
  21. package/lib/components/refund-status/refund-status.component.d.ts +2 -0
  22. package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
  23. package/lib/interfaces/IRefundContactDetails.d.ts +1 -1
  24. package/lib/services/refunds/refunds.service.d.ts +2 -0
  25. package/package.json +1 -1
@@ -128,6 +128,7 @@ export declare class AddRemissionComponent implements OnInit {
128
128
  addRemissionCode(): void;
129
129
  gotoAddRetroRemissionCodePage(): void;
130
130
  gotoCheckRetroRemissionPage(payment: IPayment): void;
131
+ gotoAmountRetroRemission(): void;
131
132
  gotoProcessRetroRemissionPage(): void;
132
133
  gotoProcessRetroRemission(): void;
133
134
  confirmRetroRemission(): void;
@@ -67,5 +67,7 @@ export declare class RefundStatusComponent implements OnInit {
67
67
  getRefundListReason(refundListReason: any): void;
68
68
  getRefundAmount(amount: number): void;
69
69
  gotoReviewRefundConfirmationPage(): void;
70
+ putResend(notificationType: any): void;
71
+ putEditDetails(): void;
70
72
  goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
71
73
  }
@@ -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(email_address: string, contactDeatils: any);
6
+ }
@@ -4,6 +4,6 @@ export interface IRefundContactDetails {
4
4
  country?: string;
5
5
  county?: string;
6
6
  email?: string;
7
- notification_type: string;
7
+ notification_type?: string;
8
8
  postal_code?: string;
9
9
  }
@@ -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-beta80",
3
+ "version": "5.0.1-beta82",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },