@medipass/web-sdk 12.2.3-feature-aged-care-services-api.1 → 12.2.3-feature-aged-care-services-api.3

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
1
  import type { MedipassRequestOpts } from '../types';
2
- import type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery } from '../types/aged-care';
3
- export type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice };
2
+ import type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService } from '../types/aged-care';
3
+ export type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService };
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;
@@ -10,4 +10,4 @@ export declare const createDraftInvoice: (body: CreateAgedCareInvoiceBody, opts?
10
10
  export declare const getCareRecipientDetails: (careRecipientId: string, query?: GetCareRecipientDetailsQuery, opts?: MedipassRequestOpts) => Promise<CareRecipientDetailsResponse>;
11
11
  export declare const searchCareRecipients: (query?: SearchCareRecipientsQuery, opts?: MedipassRequestOpts) => Promise<SearchCareRecipientsResponse>;
12
12
  export declare const getServiceProviderDetails: (serviceProviderId: string, query?: GetServiceProviderDetailsQuery, opts?: MedipassRequestOpts) => Promise<ServiceProviderDetailsResponse>;
13
- export declare const getServices: (query: GetServicesQuery, opts?: MedipassRequestOpts) => Promise<Array<Record<string, any>>>;
13
+ export declare const getServices: (query: GetServicesQuery, opts?: MedipassRequestOpts) => Promise<Array<AgedCareService>>;
@@ -214,3 +214,45 @@ export declare type AgedCareInvoice = {
214
214
  export declare type GetServicesQuery = {
215
215
  businessId: string;
216
216
  };
217
+ export declare type AgedCareService = {
218
+ serviceGroupId: string;
219
+ serviceGroupText: string;
220
+ serviceTypeId: string;
221
+ serviceTypeText: string;
222
+ serviceId: string;
223
+ serviceText: string;
224
+ participantContributionCategory: string;
225
+ unitType: string;
226
+ items: Array<{
227
+ functionCode: string;
228
+ functionText: string;
229
+ itemId: string;
230
+ itemText: string;
231
+ units: Array<string>;
232
+ freeTextRequired: boolean;
233
+ }>;
234
+ wraparoundServices: Array<{
235
+ wraparoundServiceId: string;
236
+ wraparoundServiceText: string;
237
+ units: Array<string>;
238
+ freeTextRequired: boolean;
239
+ }>;
240
+ itemCategories: Array<{
241
+ itemCategoryCode: string;
242
+ itemCategoryText: string;
243
+ freeTextRequired: boolean;
244
+ }>;
245
+ classifications: Array<{
246
+ classificationType: string;
247
+ classificationCode: string;
248
+ classificationText: string;
249
+ }>;
250
+ healthProfessionalTypes: Array<{
251
+ healthProfessionalTypeCode: string;
252
+ healthProfessionalTypeText: string;
253
+ freeTextRequired: boolean;
254
+ }>;
255
+ effectiveStartDate: string;
256
+ effectiveEndDate: string;
257
+ updatedAtDateTime: string;
258
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "12.2.3-feature-aged-care-services-api.1",
3
+ "version": "12.2.3-feature-aged-care-services-api.3",
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": "4f0bc81ae770ba987d52e3132cd219e3fe343a4f"
61
+ "gitHead": "fe673c0836369d1c8e4c76da4a59c957722f236c"
62
62
  }