@hmcts/ccpay-web-component 5.0.1-beta63 → 5.0.1-beta66

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.
@@ -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';
@@ -60,7 +61,7 @@ export declare class AddRemissionComponent implements OnInit {
60
61
  other: string;
61
62
  };
62
63
  };
63
- contactDetailsObj: any[];
64
+ contactDetailsObj: IRefundContactDetails;
64
65
  remissionForm: FormGroup;
65
66
  hasErrors: boolean;
66
67
  viewStatus: string;
@@ -137,7 +138,7 @@ export declare class AddRemissionComponent implements OnInit {
137
138
  confirmRetroRefund(): void;
138
139
  selectRadioButton(key: any, value: any): void;
139
140
  selectchange(args: any): void;
140
- getContactDetails(obj: any): void;
141
+ getContactDetails(obj: IRefundContactDetails): void;
141
142
  gotoServiceRequestPage(event: any): void;
142
143
  gotoCasetransationPage(): void;
143
144
  gotoCasetransationPageCancelBtnClicked(event: Event): void;
@@ -0,0 +1,10 @@
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
+ template_id: string;
10
+ }
@@ -1,15 +1,7 @@
1
+ import { IRefundContactDetails } from './IRefundContactDetails';
1
2
  export declare class PostRefundRetroRemission {
2
3
  payment_reference: string;
3
4
  refund_reason: string;
4
- contact_details: {
5
- address_line?: string;
6
- city?: string;
7
- country?: string;
8
- county?: string;
9
- email?: string;
10
- notification_type: string;
11
- postal_code?: string;
12
- template_id: string;
13
- };
5
+ contact_details: IRefundContactDetails;
14
6
  constructor(payment_reference: string, refund_reason: string, contactDeatils: any);
15
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "5.0.1-beta63",
3
+ "version": "5.0.1-beta66",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },