@ampath/esm-dha-workflow-app 4.0.0-next.150 → 4.0.0-next.152

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.
@@ -54,6 +54,7 @@ export type RequestCustomOtpDto = {
54
54
  identificationNumber: string | number;
55
55
  identificationType: string;
56
56
  locationUuid: string;
57
+ phoneNumber: string;
57
58
  };
58
59
 
59
60
  export interface RequestCustomOtpResponse {
@@ -1,3 +1,4 @@
1
+ import { openmrsFetch } from '@openmrs/esm-framework';
1
2
  import { type HieClientEligibility, type EligibilityFilterDto } from '../../registry/types';
2
3
  import { getHieBaseUrl } from '../utils/get-base-url';
3
4
 
@@ -6,7 +7,7 @@ export async function getClientEligibityStatus(
6
7
  ): Promise<HieClientEligibility> {
7
8
  const hieBaseUrl = await getHieBaseUrl();
8
9
  const url = `${hieBaseUrl}/eligibility`;
9
- const response = await fetch(url, {
10
+ const response = await openmrsFetch(url, {
10
11
  method: 'POST',
11
12
  headers: {
12
13
  'Content-Type': 'application/json',