@medipass/web-sdk 12.2.8-feature-aged-care-claim-apis.0 → 12.2.8-feature-aged-care-claim-apis.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 } from '../types';
|
|
2
|
-
import type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService, OnboardRequestBody, OnboardResponse, GetRegisteredProvidersQuery, GetRegisteredProvidersResponse, RegisteredProvider, GetServiceProviderAccountSummaryQuery, ServiceProviderAccountSummaryResponse, ServiceProviderAccountSummary, GetClaimsQuery, AgedCareClaim, GetClaimQuery } from '../types/aged-care';
|
|
3
|
-
export type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService, OnboardRequestBody, OnboardResponse, GetRegisteredProvidersQuery, GetRegisteredProvidersResponse, RegisteredProvider, GetServiceProviderAccountSummaryQuery, ServiceProviderAccountSummaryResponse, ServiceProviderAccountSummary, GetClaimsQuery, AgedCareClaim };
|
|
1
|
+
import type { MedipassRequestOpts, PaginatedResponse } from '../types';
|
|
2
|
+
import type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService, OnboardRequestBody, OnboardResponse, GetRegisteredProvidersQuery, GetRegisteredProvidersResponse, RegisteredProvider, GetServiceProviderAccountSummaryQuery, ServiceProviderAccountSummaryResponse, ServiceProviderAccountSummary, GetClaimsQuery, AgedCareClaim, GetClaimQuery, AgedCareClaimStatus } from '../types/aged-care';
|
|
3
|
+
export type { GetCareRecipientDetailsQuery, CareRecipientDetailsResponse, GetServiceProviderDetailsQuery, ServiceProviderDetailsResponse, SearchCareRecipientsQuery, SearchCareRecipientsResponse, CreateAgedCareInvoiceBody, AgedCareInvoice, GetServicesQuery, AgedCareService, OnboardRequestBody, OnboardResponse, GetRegisteredProvidersQuery, GetRegisteredProvidersResponse, RegisteredProvider, GetServiceProviderAccountSummaryQuery, ServiceProviderAccountSummaryResponse, ServiceProviderAccountSummary, GetClaimsQuery, AgedCareClaim, AgedCareClaimStatus };
|
|
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;
|
|
@@ -19,5 +19,5 @@ export declare const getServices: (query: GetServicesQuery, opts?: MedipassReque
|
|
|
19
19
|
export declare const onboard: (body: OnboardRequestBody, opts?: MedipassRequestOpts) => Promise<OnboardResponse>;
|
|
20
20
|
export declare const getRegisteredProviders: (registeredProviderId: string, query?: GetRegisteredProvidersQuery, opts?: MedipassRequestOpts) => Promise<GetRegisteredProvidersResponse>;
|
|
21
21
|
export declare const getServiceProviderAccountSummary: (serviceProviderId: string, query?: GetServiceProviderAccountSummaryQuery, opts?: MedipassRequestOpts) => Promise<ServiceProviderAccountSummaryResponse>;
|
|
22
|
-
export declare const getClaims: (businessId: string, query?: GetClaimsQuery, opts?: MedipassRequestOpts) => Promise<
|
|
22
|
+
export declare const getClaims: (businessId: string, query?: GetClaimsQuery, opts?: MedipassRequestOpts) => Promise<PaginatedResponse<AgedCareClaim>>;
|
|
23
23
|
export declare const getClaim: (claimId: string, query?: GetClaimQuery, opts?: MedipassRequestOpts) => Promise<AgedCareClaim>;
|
package/lib/types/aged-care.d.ts
CHANGED
|
@@ -328,6 +328,7 @@ export declare type GetClaimsQuery = {
|
|
|
328
328
|
fromDate?: string;
|
|
329
329
|
toDate?: string;
|
|
330
330
|
};
|
|
331
|
+
export declare type AgedCareClaimStatus = 'BeingCalculated' | 'PendingApproval' | 'Cancelled' | 'Approved' | 'Paid';
|
|
331
332
|
export declare type AgedCareClaim = {
|
|
332
333
|
_id: string;
|
|
333
334
|
businessId: string;
|
|
@@ -357,7 +358,7 @@ export declare type AgedCareClaim = {
|
|
|
357
358
|
amountPaid: number;
|
|
358
359
|
amountPaidString: string;
|
|
359
360
|
paymentDateString: string;
|
|
360
|
-
status:
|
|
361
|
+
status: AgedCareClaimStatus;
|
|
361
362
|
agedCareCreated: string;
|
|
362
363
|
agedCareUpdated: string;
|
|
363
364
|
created: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "12.2.8-feature-aged-care-claim-apis.
|
|
3
|
+
"version": "12.2.8-feature-aged-care-claim-apis.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": "7746fbab6890343a4c68343884ac4a616fb01a91"
|
|
62
62
|
}
|