@medipass/web-sdk 12.4.4 → 12.4.5-fix-search-aged-care-recipient.1

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<agedCareTypes.SearchCareRecipientsResponse>;
27
+ export declare const searchCareRecipients: (query?: agedCareTypes.SearchCareRecipientsQuery, opts?: MedipassRequestOpts) => Promise<PaginatedResponse<agedCareTypes.SearchCareRecipient>>;
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>;
@@ -127,18 +127,26 @@ export interface ServiceProviderDetailsResponse {
127
127
  }>;
128
128
  }
129
129
  export interface SearchCareRecipientsQuery {
130
+ businessId?: string;
130
131
  registeredProviderId?: string;
132
+ firstName?: string;
133
+ lastName?: string;
134
+ birthDate?: string;
135
+ gender?: string;
136
+ myAgedCareGatewayId?: string;
137
+ sparcId?: string;
138
+ sortFields?: string;
131
139
  }
132
- export declare type SearchCareRecipientsResponse = Array<{
140
+ export declare type SearchCareRecipient = {
133
141
  careRecipientId: string;
142
+ birthDate: string;
134
143
  firstName: string;
135
- middleName: string;
136
144
  lastName: string;
137
- birthDate: string;
145
+ middleName: string;
138
146
  gender: string;
139
147
  myAgedCareGatewayId: string;
140
148
  sparcId: string;
141
- }>;
149
+ };
142
150
  export declare type CreateAgedCareInvoiceBody = {
143
151
  draftTransactionId?: string;
144
152
  businessId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "12.4.4",
3
+ "version": "12.4.5-fix-search-aged-care-recipient.1",
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": "3981c5520517fd591b6b9fc87b3f3107b08fe231"
61
+ "gitHead": "7b09dd67681c7db051bb218ce288a40a0b03a433"
62
62
  }