@medipass/web-sdk 11.61.1-feature-healthpoint-registration-application-endpoints.1 → 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.
@@ -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;
@@ -1,4 +1,4 @@
1
- import type { PaginationMeta, PaginatedQuery, ShortPracticeResponse, ShortBusinessResponse, StaffMember } from './index';
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: ShortBusinessResponse;
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: StaffMember[];
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 & HealthPointProviderSetItemResponse & {
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 HealthPointProviderSetItemResponse {
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.1",
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",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@babel/plugin-transform-runtime": "7.8.3",
49
- "@medipass/utils": "^11.77.5-feature-healthpoint-registration-application-endpoints.0",
49
+ "@medipass/utils": "^11.77.5-feature-healthpoint-registration-application-endpoints.1",
50
50
  "@types/jest": "28.1.6",
51
51
  "@types/mocha": "9.1.1",
52
52
  "@types/node": "18.7.1",
@@ -58,5 +58,5 @@
58
58
  "resolutions": {
59
59
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
60
60
  },
61
- "gitHead": "8d252fef491a3fa20be01c32fdecd84aa91f904c"
61
+ "gitHead": "0fa7a67bb2e25f792bfb4c836ccb045c90e520a4"
62
62
  }