@medipass/web-sdk 12.4.5-fix-search-aged-care-recipient.0 → 12.4.5-fix-search-aged-care-recipient.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.
|
@@ -24,7 +24,7 @@ export declare const pathGetCareRecipientBudgets: (careRecipientId: string) => s
|
|
|
24
24
|
export declare const pathGetBudgetDetails: (budgetId: string) => string;
|
|
25
25
|
export declare const createDraftInvoice: (body: agedCareTypes.CreateAgedCareInvoiceBody, opts?: MedipassRequestOpts) => Promise<agedCareTypes.AgedCareInvoice>;
|
|
26
26
|
export declare const getCareRecipientDetails: (careRecipientId: string, query?: agedCareTypes.GetCareRecipientDetailsQuery, opts?: MedipassRequestOpts) => Promise<agedCareTypes.CareRecipientDetailsResponse>;
|
|
27
|
-
export declare const searchCareRecipients: (query?: agedCareTypes.SearchCareRecipientsQuery, opts?: MedipassRequestOpts) => Promise<
|
|
27
|
+
export declare const searchCareRecipients: (query?: agedCareTypes.SearchCareRecipientsQuery, opts?: MedipassRequestOpts) => Promise<agedCareTypes.SearchCareRecipientsResponse>;
|
|
28
28
|
export declare const getServiceProviderDetails: (serviceProviderId: string, query?: agedCareTypes.GetServiceProviderDetailsQuery, opts?: MedipassRequestOpts) => Promise<agedCareTypes.ServiceProviderDetailsResponse>;
|
|
29
29
|
export declare const getServices: (query: agedCareTypes.GetServicesQuery, opts?: MedipassRequestOpts) => Promise<Array<agedCareTypes.AgedCareService>>;
|
|
30
30
|
export declare const onboard: (body: agedCareTypes.OnboardRequestBody, opts?: MedipassRequestOpts) => Promise<agedCareTypes.OnboardResponse>;
|
package/lib/types/aged-care.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PaginatedQuery } from 'types';
|
|
1
|
+
import type { PaginatedQuery, PaginatedResponse } from 'types';
|
|
2
2
|
import type { StaffMember } from './staff-member';
|
|
3
3
|
export interface GetCareRecipientDetailsQuery {
|
|
4
4
|
registeredProviderId?: string;
|
|
@@ -128,6 +128,7 @@ export interface ServiceProviderDetailsResponse {
|
|
|
128
128
|
}
|
|
129
129
|
export interface SearchCareRecipientsQuery {
|
|
130
130
|
businessId?: string;
|
|
131
|
+
registeredProviderId?: string;
|
|
131
132
|
firstName?: string;
|
|
132
133
|
lastName?: string;
|
|
133
134
|
birthDate?: string;
|
|
@@ -136,6 +137,17 @@ export interface SearchCareRecipientsQuery {
|
|
|
136
137
|
sparcId?: string;
|
|
137
138
|
sortFields?: string;
|
|
138
139
|
}
|
|
140
|
+
export declare type SearchCareRecipient = {
|
|
141
|
+
careRecipientId: string;
|
|
142
|
+
birthDate: string;
|
|
143
|
+
firstName: string;
|
|
144
|
+
lastName: string;
|
|
145
|
+
middleName: string;
|
|
146
|
+
gender: string;
|
|
147
|
+
myAgedCareGatewayId: string;
|
|
148
|
+
sparcId: string;
|
|
149
|
+
};
|
|
150
|
+
export declare type SearchCareRecipientsResponse = PaginatedResponse<SearchCareRecipient>;
|
|
139
151
|
export declare type CreateAgedCareInvoiceBody = {
|
|
140
152
|
draftTransactionId?: string;
|
|
141
153
|
businessId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "12.4.5-fix-search-aged-care-recipient.
|
|
3
|
+
"version": "12.4.5-fix-search-aged-care-recipient.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": "b1d1bb6c22c840efee67e7286efae43d741f8b14"
|
|
62
62
|
}
|