@medipass/web-sdk 12.2.4-feature-aged-care-onboarding.0 → 12.2.4-feature-aged-care-onboarding.2
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MedipassRequestOpts
|
|
2
|
-
import type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService, OnboardRequestBody } from '../types/aged-care';
|
|
3
|
-
export type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService, OnboardRequestBody };
|
|
1
|
+
import type { MedipassRequestOpts } from '../types';
|
|
2
|
+
import type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService, OnboardRequestBody, OnboardResponse } from '../types/aged-care';
|
|
3
|
+
export type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService, OnboardRequestBody, OnboardResponse };
|
|
4
4
|
export declare const pathGetCareRecipientDetails: (careRecipientId: string) => string;
|
|
5
5
|
export declare const pathSearchCareRecipients: () => string;
|
|
6
6
|
export declare const pathGetServiceProviderDetails: (serviceProviderId: string) => string;
|
|
@@ -12,4 +12,4 @@ export declare const getCareRecipientDetails: (careRecipientId: string, query?:
|
|
|
12
12
|
export declare const searchCareRecipients: (query?: SearchCareRecipientsQuery, opts?: MedipassRequestOpts) => Promise<SearchCareRecipientsResponse>;
|
|
13
13
|
export declare const getServiceProviderDetails: (serviceProviderId: string, query?: GetServiceProviderDetailsQuery, opts?: MedipassRequestOpts) => Promise<ServiceProviderDetailsResponse>;
|
|
14
14
|
export declare const getServices: (query: GetServicesQuery, opts?: MedipassRequestOpts) => Promise<Array<AgedCareService>>;
|
|
15
|
-
export declare const onboard: (body: OnboardRequestBody, opts?: MedipassRequestOpts) => Promise<
|
|
15
|
+
export declare const onboard: (body: OnboardRequestBody, opts?: MedipassRequestOpts) => Promise<OnboardResponse>;
|
package/lib/types/aged-care.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StaffMember } from './staff-member';
|
|
1
2
|
export interface GetCareRecipientDetailsQuery {
|
|
2
3
|
registeredProviderId?: string;
|
|
3
4
|
businessId?: string;
|
|
@@ -257,8 +258,10 @@ export declare type AgedCareService = {
|
|
|
257
258
|
updatedAtDateTime: string;
|
|
258
259
|
};
|
|
259
260
|
export declare type OnboardRequestBody = {
|
|
261
|
+
businessId?: string;
|
|
260
262
|
registeredProviderId: string;
|
|
261
263
|
orgId: string;
|
|
262
264
|
otac: string;
|
|
263
265
|
deviceName: string;
|
|
264
266
|
};
|
|
267
|
+
export declare type OnboardResponse = StaffMember;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "12.2.4-feature-aged-care-onboarding.
|
|
3
|
+
"version": "12.2.4-feature-aged-care-onboarding.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"resolutions": {
|
|
59
59
|
"react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "e8e0f22326c641ad487f3c1826060f16ef5943ba"
|
|
62
62
|
}
|