@medipass/web-sdk 11.61.1-feature-healthpoint-registration-application-endpoints.2 → 11.61.1-feature-healthpoint-registration-application-endpoints.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.
|
@@ -154,7 +154,7 @@ export declare const updateBusinessPaymentMethod: (businessId: string, paymentMe
|
|
|
154
154
|
* @returns {Object} The device data
|
|
155
155
|
*/
|
|
156
156
|
export declare const updateBusinessPatientPaymentMethod: (businessId: string, patientId: string, paymentMethodId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
157
|
-
export declare const getPaymentGatewayError: (sessionResponse: Record<string, any>) =>
|
|
157
|
+
export declare const getPaymentGatewayError: (sessionResponse: Record<string, any>) => "The payment card details you entered were invalid, please review the payment card credentials and try again." | "There are issues connecting to the payment gateway. Please refresh the page and try again." | null;
|
|
158
158
|
/**
|
|
159
159
|
* Get a business nonce
|
|
160
160
|
* @param {Object} body - Request body
|
package/lib/types/business.d.ts
CHANGED
|
@@ -67,24 +67,13 @@ export interface Business {
|
|
|
67
67
|
_links: BusinessLinks;
|
|
68
68
|
}
|
|
69
69
|
export declare type ShortBusinessResponse = {
|
|
70
|
-
abn: string;
|
|
71
|
-
address: string;
|
|
72
|
-
city: string;
|
|
73
70
|
contactInfo: BusinessContactInformation;
|
|
74
|
-
country: string;
|
|
75
|
-
countryCode: string;
|
|
76
|
-
displayName: string;
|
|
77
|
-
fullName: string;
|
|
78
|
-
gmapsPlaceId: string;
|
|
79
|
-
lnglat: [number, number];
|
|
80
|
-
postcode: string;
|
|
81
|
-
route: string;
|
|
82
|
-
state: string;
|
|
83
|
-
streetNumber: string;
|
|
84
|
-
subpremise: string | null;
|
|
85
71
|
_id: string;
|
|
72
|
+
fullName: string;
|
|
73
|
+
displayName: string;
|
|
74
|
+
abn: string;
|
|
86
75
|
};
|
|
87
|
-
declare type BusinessContactInformation = {
|
|
76
|
+
export declare type BusinessContactInformation = {
|
|
88
77
|
landline: string;
|
|
89
78
|
email: string;
|
|
90
79
|
firstName: string;
|
package/lib/types/documents.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PaginationMeta, PaginatedQuery, ShortPracticeResponse,
|
|
1
|
+
import type { PaginationMeta, PaginatedQuery, ShortPracticeResponse, HealthPointSettlementAttributes, BusinessContactInformation } from './index';
|
|
2
2
|
/** START: Query */
|
|
3
3
|
export declare type BusinessDocumentsQuery = PaginatedQuery & {
|
|
4
4
|
isPublished?: boolean;
|
|
@@ -139,8 +139,40 @@ export declare enum HealthPointApplicationStatus {
|
|
|
139
139
|
SUBMITTED = "submitted",
|
|
140
140
|
REJECTED = "rejected"
|
|
141
141
|
}
|
|
142
|
+
interface HealthPointProviderSetFilesAttributes {
|
|
143
|
+
category: string;
|
|
144
|
+
displayName: string;
|
|
145
|
+
url: string;
|
|
146
|
+
}
|
|
147
|
+
export interface HealthPointProviderSetItemResponse {
|
|
148
|
+
_id: string;
|
|
149
|
+
professionalCategoryId: string;
|
|
150
|
+
providerNumber: string;
|
|
151
|
+
specialtyIds: string[];
|
|
152
|
+
files?: HealthPointProviderSetFilesAttributes[];
|
|
153
|
+
isCertificationMatch?: boolean;
|
|
154
|
+
settlement?: HealthPointSettlementAttributes;
|
|
155
|
+
}
|
|
156
|
+
export interface HealthPointApplicationBusiness {
|
|
157
|
+
abn: string;
|
|
158
|
+
address: string;
|
|
159
|
+
city: string;
|
|
160
|
+
contactInfo: BusinessContactInformation;
|
|
161
|
+
country: string;
|
|
162
|
+
countryCode: string;
|
|
163
|
+
displayName: string;
|
|
164
|
+
fullName: string;
|
|
165
|
+
gmapsPlaceId: string;
|
|
166
|
+
lnglat: [number, number];
|
|
167
|
+
postcode: string;
|
|
168
|
+
route: string;
|
|
169
|
+
state: string;
|
|
170
|
+
streetNumber: string;
|
|
171
|
+
subpremise: string | null;
|
|
172
|
+
_id: string;
|
|
173
|
+
}
|
|
142
174
|
export interface HealthPointRegistrationApplicationResponse {
|
|
143
|
-
business:
|
|
175
|
+
business: HealthPointApplicationBusiness;
|
|
144
176
|
created: string;
|
|
145
177
|
devicesRequested?: number;
|
|
146
178
|
errorMessage?: string;
|
|
@@ -153,7 +185,12 @@ export interface HealthPointRegistrationApplicationResponse {
|
|
|
153
185
|
isMidEnabled?: boolean;
|
|
154
186
|
modified: string;
|
|
155
187
|
practice: ShortPracticeResponse;
|
|
156
|
-
staffs:
|
|
188
|
+
staffs: {
|
|
189
|
+
firstName: string;
|
|
190
|
+
lastName: string;
|
|
191
|
+
_id: string;
|
|
192
|
+
providerSet: HealthPointProviderSetItemResponse[];
|
|
193
|
+
}[];
|
|
157
194
|
status: HealthPointApplicationStatus;
|
|
158
195
|
_id: string;
|
|
159
196
|
}
|
|
@@ -6,7 +6,6 @@ export interface ProviderSetItem {
|
|
|
6
6
|
healthpoint?: {
|
|
7
7
|
settlement: HealthPointSettlementAttributes;
|
|
8
8
|
};
|
|
9
|
-
isCertificationMatch?: boolean;
|
|
10
9
|
practiceId: string;
|
|
11
10
|
professionalCategoryId: string;
|
|
12
11
|
providerNumber: string;
|
|
@@ -37,7 +36,7 @@ export interface HicapsProviderSetAttributes {
|
|
|
37
36
|
lnglat?: string[];
|
|
38
37
|
gmapsPlaceId?: string;
|
|
39
38
|
}
|
|
40
|
-
export declare type ParsedProviderSetItem = ProviderSetItem &
|
|
39
|
+
export declare type ParsedProviderSetItem = ProviderSetItem & {
|
|
41
40
|
providerNumberType?: ProviderNumberType | undefined;
|
|
42
41
|
funder: Funder;
|
|
43
42
|
practice: Practice;
|
|
@@ -45,17 +44,7 @@ export declare type ParsedProviderSetItem = ProviderSetItem & HealthPointProvide
|
|
|
45
44
|
specialties: Specialty[];
|
|
46
45
|
providerRegistrationType: ProviderRegistrationType | undefined;
|
|
47
46
|
};
|
|
48
|
-
export interface
|
|
49
|
-
files?: HealthPointProviderSetFilesAttributes[];
|
|
50
|
-
isCertificationMatch?: boolean;
|
|
51
|
-
settlement?: HealthPointSettlementAttributes;
|
|
52
|
-
}
|
|
53
|
-
interface HealthPointProviderSetFilesAttributes {
|
|
54
|
-
category: string;
|
|
55
|
-
displayName: string;
|
|
56
|
-
url: string;
|
|
57
|
-
}
|
|
58
|
-
interface HealthPointSettlementAttributes {
|
|
47
|
+
export interface HealthPointSettlementAttributes {
|
|
59
48
|
bankAccount: {
|
|
60
49
|
accountName: string;
|
|
61
50
|
accountNumber: string;
|
|
@@ -63,4 +52,3 @@ interface HealthPointSettlementAttributes {
|
|
|
63
52
|
bsb: string;
|
|
64
53
|
};
|
|
65
54
|
}
|
|
66
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "11.61.1-feature-healthpoint-registration-application-endpoints.
|
|
3
|
+
"version": "11.61.1-feature-healthpoint-registration-application-endpoints.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": "
|
|
61
|
+
"gitHead": "0fa7a67bb2e25f792bfb4c836ccb045c90e520a4"
|
|
62
62
|
}
|