@medipass/web-sdk 11.57.5-chore-improve-eslint-config.1 → 11.57.5-feature-healthpoint-registration-application-endpoints.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.
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/resources/abr.js +1 -1
- package/lib/resources/accounts.d.ts +2 -2
- package/lib/resources/accounts.js +1 -1
- package/lib/resources/actions.js +1 -1
- package/lib/resources/api-keys.js +1 -1
- package/lib/resources/applications.js +1 -1
- package/lib/resources/attachments.js +1 -1
- package/lib/resources/auth.js +1 -1
- package/lib/resources/blacklist.js +1 -1
- package/lib/resources/bulk-submits.js +1 -1
- package/lib/resources/bulk-uploads.js +1 -1
- package/lib/resources/business-profiles.d.ts +2 -2
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.js +1 -1
- package/lib/resources/claim-items.js +1 -1
- package/lib/resources/devices.js +1 -1
- package/lib/resources/doc-accounts.js +1 -1
- package/lib/resources/documents.d.ts +26 -1
- package/lib/resources/documents.js +6 -1
- package/lib/resources/emails.js +1 -1
- package/lib/resources/filter-options.js +1 -1
- package/lib/resources/form-application-templates.js +1 -1
- package/lib/resources/form-applications.js +1 -1
- package/lib/resources/forms.js +1 -1
- package/lib/resources/funder-services.js +1 -1
- package/lib/resources/funder-settings.js +1 -1
- package/lib/resources/funder-values.js +1 -1
- package/lib/resources/funders.js +1 -1
- package/lib/resources/futures.js +1 -1
- package/lib/resources/health-fund-accounts.js +1 -1
- package/lib/resources/health-fund-settings.js +1 -1
- package/lib/resources/healthfunds.js +1 -1
- package/lib/resources/icditems.js +1 -1
- package/lib/resources/invoice-scans.js +1 -1
- package/lib/resources/jhcs.js +1 -1
- package/lib/resources/kyc.js +1 -1
- package/lib/resources/logs.js +1 -1
- package/lib/resources/members.js +1 -1
- package/lib/resources/message-mappings.js +1 -1
- package/lib/resources/minions.js +1 -1
- package/lib/resources/modalities.js +1 -1
- package/lib/resources/notes.js +1 -1
- package/lib/resources/onboarding-applications.js +1 -1
- package/lib/resources/onboarding-requests.js +1 -1
- package/lib/resources/ops.js +1 -1
- package/lib/resources/organisations.js +1 -1
- package/lib/resources/partners.js +1 -1
- package/lib/resources/patients.js +1 -1
- package/lib/resources/payments.d.ts +1 -1
- package/lib/resources/payments.js +1 -1
- package/lib/resources/pms.js +1 -1
- package/lib/resources/practice-profiles.d.ts +2 -2
- package/lib/resources/practice-profiles.js +1 -1
- package/lib/resources/practice-types.js +1 -1
- package/lib/resources/practices.js +1 -1
- package/lib/resources/products.js +1 -1
- package/lib/resources/professional-categories.js +1 -1
- package/lib/resources/provider-number-types.js +1 -1
- package/lib/resources/provider-registration-types.js +1 -1
- package/lib/resources/provider-requests.js +1 -1
- package/lib/resources/provider-types.js +1 -1
- package/lib/resources/ref-sources.js +1 -1
- package/lib/resources/risk.js +1 -1
- package/lib/resources/rnas.js +1 -1
- package/lib/resources/roles.js +1 -1
- package/lib/resources/self-checkout-sessions.d.ts +1 -1
- package/lib/resources/self-checkout-sessions.js +1 -1
- package/lib/resources/services.js +1 -1
- package/lib/resources/settlements.js +1 -1
- package/lib/resources/sign-up.js +1 -1
- package/lib/resources/specialties.js +1 -1
- package/lib/resources/staff-profiles.d.ts +2 -2
- package/lib/resources/staff-profiles.js +1 -1
- package/lib/resources/staff.js +1 -1
- package/lib/resources/statistics.js +1 -1
- package/lib/resources/subscriptions.js +1 -1
- package/lib/resources/terminals.js +1 -1
- package/lib/resources/transaction-export.js +1 -1
- package/lib/resources/transactions.js +1 -1
- package/lib/resources/triggers.js +1 -1
- package/lib/resources/vendors.js +1 -1
- package/lib/resources/verify.js +1 -1
- package/lib/resources/workers.js +1 -1
- package/lib/resources/workflow-exceptions.js +1 -1
- package/lib/services/aws.js +1 -1
- package/lib/services/storage.d.ts +2 -2
- package/lib/services/version.js +1 -1
- package/lib/{staff-9b3d1a2b.js → staff-fa18ac1e.js} +88 -4
- package/lib/types/business.d.ts +28 -17
- package/lib/types/documents.d.ts +64 -15
- package/lib/types/forms.d.ts +8 -8
- package/lib/types/funder.d.ts +2 -2
- package/lib/types/index.d.ts +8 -8
- package/lib/types/message-mappings.d.ts +2 -2
- package/lib/types/notes.d.ts +2 -2
- package/lib/types/practice.d.ts +16 -16
- package/lib/types/products.d.ts +4 -4
- package/lib/types/provider-set-item.d.ts +7 -0
- package/lib/types/staff-member.d.ts +14 -8
- package/lib/types/subscriptions.d.ts +8 -8
- package/lib/utils/application.js +1 -1
- package/lib/utils/professions.js +1 -1
- package/lib/utils/request.js +1 -1
- package/lib/utils/staff.d.ts +1 -1
- package/lib/utils/staff.js +1 -1
- package/package.json +3 -3
package/lib/types/documents.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PaginationMeta, PaginatedQuery } from './index';
|
|
1
|
+
import type { PaginationMeta, PaginatedQuery, ShortPracticeResponse, ShortBusinessResponse, ShortStaffMember } from './index';
|
|
2
2
|
/** START: Query */
|
|
3
3
|
export declare type BusinessDocumentsQuery = PaginatedQuery & {
|
|
4
4
|
isPublished?: boolean;
|
|
@@ -10,21 +10,21 @@ export declare type HealthFundDocumentsQuery = PaginatedQuery & {
|
|
|
10
10
|
};
|
|
11
11
|
/** END: Query */
|
|
12
12
|
/** START: Requests */
|
|
13
|
-
export
|
|
13
|
+
export declare type DeclineHealthFundDocumentBody = {
|
|
14
14
|
formApplicationDeclineReasonId: string;
|
|
15
15
|
note?: string;
|
|
16
|
-
}
|
|
17
|
-
export
|
|
16
|
+
};
|
|
17
|
+
export declare type CeaseHealthFundDocumentBody = {
|
|
18
18
|
formApplicationCeaseReasonId: string;
|
|
19
19
|
note?: string;
|
|
20
|
-
}
|
|
21
|
-
export
|
|
20
|
+
};
|
|
21
|
+
export declare type ParkHealthFundDocumentBody = {
|
|
22
22
|
workflowExceptionId: string;
|
|
23
23
|
note?: string;
|
|
24
|
-
}
|
|
24
|
+
};
|
|
25
25
|
/** END: Requests */
|
|
26
26
|
/** START: Responses */
|
|
27
|
-
export
|
|
27
|
+
export declare type BusinessDocumentResponse = {
|
|
28
28
|
_id: string;
|
|
29
29
|
organisationId: string;
|
|
30
30
|
healthFund: {
|
|
@@ -46,12 +46,12 @@ export interface BusinessDocumentResponse {
|
|
|
46
46
|
isPublished?: boolean;
|
|
47
47
|
created: string;
|
|
48
48
|
modified: string;
|
|
49
|
-
}
|
|
50
|
-
export
|
|
49
|
+
};
|
|
50
|
+
export declare type BusinessDocumentsResponse = {
|
|
51
51
|
meta: PaginationMeta;
|
|
52
52
|
items: Array<BusinessDocumentResponse>;
|
|
53
|
-
}
|
|
54
|
-
export
|
|
53
|
+
};
|
|
54
|
+
export declare type HealthFundDocumentResponse = {
|
|
55
55
|
_id: string;
|
|
56
56
|
businessId: string;
|
|
57
57
|
organisationId: string;
|
|
@@ -107,9 +107,58 @@ export interface HealthFundDocumentResponse {
|
|
|
107
107
|
isPublished?: boolean;
|
|
108
108
|
created: string;
|
|
109
109
|
modified: string;
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
_links: {
|
|
111
|
+
self: {
|
|
112
|
+
assign?: string;
|
|
113
|
+
archive?: string;
|
|
114
|
+
cease?: string;
|
|
115
|
+
close?: string;
|
|
116
|
+
park?: string;
|
|
117
|
+
read?: string;
|
|
118
|
+
unarchive?: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
export declare type HealthFundDocumentsResponse = {
|
|
112
123
|
meta: PaginationMeta;
|
|
113
124
|
items: Array<HealthFundDocumentResponse>;
|
|
114
|
-
}
|
|
125
|
+
};
|
|
126
|
+
/** END: Responses */
|
|
127
|
+
/** START: Responses */
|
|
128
|
+
export declare type HealthPointRegistrationApplicationResponse = {
|
|
129
|
+
business: ShortBusinessResponse;
|
|
130
|
+
created: string;
|
|
131
|
+
formId: string;
|
|
132
|
+
funderId: string;
|
|
133
|
+
healthFundId: string;
|
|
134
|
+
healthpoint: {
|
|
135
|
+
deviceIds: [];
|
|
136
|
+
providerNumbers: [];
|
|
137
|
+
};
|
|
138
|
+
isMidChecked?: boolean;
|
|
139
|
+
isMidCheckedForSettlement?: boolean;
|
|
140
|
+
isMidEnabled?: boolean;
|
|
141
|
+
modified: string;
|
|
142
|
+
practice: ShortPracticeResponse;
|
|
143
|
+
staffs: ShortStaffMember[];
|
|
144
|
+
status: string;
|
|
145
|
+
_id: string;
|
|
146
|
+
};
|
|
115
147
|
/** END: Responses */
|
|
148
|
+
/** START: Requests */
|
|
149
|
+
export declare type UpdateHealthPointRegistrationApplicationBody = {
|
|
150
|
+
isMidChecked: boolean;
|
|
151
|
+
isMidEnabled: boolean;
|
|
152
|
+
isMidCheckedForSettlement: boolean;
|
|
153
|
+
staffs: {
|
|
154
|
+
_id: string;
|
|
155
|
+
providerSet: {
|
|
156
|
+
_id: string;
|
|
157
|
+
isCertificationMatch: boolean;
|
|
158
|
+
}[];
|
|
159
|
+
}[];
|
|
160
|
+
};
|
|
161
|
+
export declare type ActivateHealthPointDigitalClaimingBody = {
|
|
162
|
+
numberOfDevices: number;
|
|
163
|
+
};
|
|
164
|
+
/** END: Requests */
|
package/lib/types/forms.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { PaginatedQuery } from './index';
|
|
2
|
-
export
|
|
2
|
+
export declare type ApplyForBusinessFormRequestBody = {
|
|
3
3
|
practiceIds: Array<string | null | undefined>;
|
|
4
4
|
subsections?: Array<{
|
|
5
5
|
_id: string;
|
|
6
6
|
value: string;
|
|
7
7
|
} | null | undefined>;
|
|
8
8
|
files?: Array<Record<string, any>>;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
9
|
+
};
|
|
10
|
+
export declare type CreateHealthFundFormRequestBody = {
|
|
11
11
|
fullName: string;
|
|
12
12
|
displayName: string;
|
|
13
13
|
description?: string;
|
|
@@ -32,15 +32,15 @@ export interface CreateHealthFundFormRequestBody {
|
|
|
32
32
|
}>;
|
|
33
33
|
}>;
|
|
34
34
|
scannedApplication: boolean;
|
|
35
|
-
}
|
|
35
|
+
};
|
|
36
36
|
export declare type GetHealthFundFormsQuery = PaginatedQuery & {
|
|
37
37
|
hasApplicationTemplate?: boolean;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export declare type GetHealthFundFormUploadUrlQuery = {
|
|
40
40
|
contentType: string;
|
|
41
41
|
fileName: string;
|
|
42
|
-
}
|
|
43
|
-
export
|
|
42
|
+
};
|
|
43
|
+
export declare type UpdateHealthFundFormRequestBody = {
|
|
44
44
|
fullName?: string;
|
|
45
45
|
displayName?: string;
|
|
46
46
|
description?: string;
|
|
@@ -64,4 +64,4 @@ export interface UpdateHealthFundFormRequestBody {
|
|
|
64
64
|
contentType: string;
|
|
65
65
|
}>;
|
|
66
66
|
}>;
|
|
67
|
-
}
|
|
67
|
+
};
|
package/lib/types/funder.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare type Funder = {
|
|
2
2
|
code: string;
|
|
3
3
|
created: string;
|
|
4
4
|
displayName: string;
|
|
@@ -7,4 +7,4 @@ export interface Funder {
|
|
|
7
7
|
whitelistedProfessionalCategoryIds: string[];
|
|
8
8
|
providerSetFunderIdOverride?: string;
|
|
9
9
|
_id: string;
|
|
10
|
-
}
|
|
10
|
+
};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export * from './staff-member';
|
|
|
22
22
|
export * from './specialty';
|
|
23
23
|
export * from './subscriptions';
|
|
24
24
|
export * from './virus-scan';
|
|
25
|
-
export
|
|
25
|
+
export declare type MedipassRequestOpts = {
|
|
26
26
|
baseUrl?: string;
|
|
27
27
|
hyperMediaEndpoint?: string | null | undefined;
|
|
28
28
|
path?: string;
|
|
@@ -34,8 +34,8 @@ export interface MedipassRequestOpts {
|
|
|
34
34
|
tokenType?: string;
|
|
35
35
|
ver?: string;
|
|
36
36
|
skipErrorLoggingCodes?: number[];
|
|
37
|
-
}
|
|
38
|
-
export
|
|
37
|
+
};
|
|
38
|
+
export declare type PaginationMeta = {
|
|
39
39
|
count: number;
|
|
40
40
|
totalCount: number;
|
|
41
41
|
pageCount: number;
|
|
@@ -44,16 +44,16 @@ export interface PaginationMeta {
|
|
|
44
44
|
previous?: string | null | undefined;
|
|
45
45
|
first?: string | null | undefined;
|
|
46
46
|
last?: string | null | undefined;
|
|
47
|
-
}
|
|
48
|
-
export
|
|
47
|
+
};
|
|
48
|
+
export declare type PaginatedQuery = {
|
|
49
49
|
limit?: number;
|
|
50
50
|
page?: number;
|
|
51
|
-
}
|
|
51
|
+
};
|
|
52
52
|
export interface PaginatedResponse<T> {
|
|
53
53
|
items: T[];
|
|
54
54
|
meta: PaginationMeta;
|
|
55
55
|
}
|
|
56
|
-
export
|
|
56
|
+
export declare type SetupOpts = {
|
|
57
57
|
baseUrls?: Record<string, any>;
|
|
58
58
|
defaultVersion?: string;
|
|
59
59
|
appId?: string;
|
|
@@ -61,7 +61,7 @@ export interface SetupOpts {
|
|
|
61
61
|
apiVersions?: Record<string, any>;
|
|
62
62
|
env?: string;
|
|
63
63
|
region?: keyof typeof COUNTRY_CODES;
|
|
64
|
-
}
|
|
64
|
+
};
|
|
65
65
|
export interface ErrorResponse {
|
|
66
66
|
statusCode: number;
|
|
67
67
|
error: string;
|
|
@@ -5,7 +5,7 @@ export declare type GetBusinessMessageMappingsQuery = PaginatedQuery & {
|
|
|
5
5
|
};
|
|
6
6
|
/** END: Query */
|
|
7
7
|
/** START: Responses */
|
|
8
|
-
export
|
|
8
|
+
export declare type GetBusinessMessageMappingsResponse = {
|
|
9
9
|
meta: PaginationMeta;
|
|
10
10
|
items: Array<{
|
|
11
11
|
_id: string;
|
|
@@ -14,5 +14,5 @@ export interface GetBusinessMessageMappingsResponse {
|
|
|
14
14
|
created: string;
|
|
15
15
|
modified: string;
|
|
16
16
|
}>;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
/** END: Responses */
|
package/lib/types/notes.d.ts
CHANGED
package/lib/types/practice.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface Practice {
|
|
|
38
38
|
locationId: string;
|
|
39
39
|
_links: PracticeLinks;
|
|
40
40
|
}
|
|
41
|
-
export
|
|
41
|
+
export declare type ShortPracticeResponse = {
|
|
42
42
|
tz: string;
|
|
43
43
|
_id: string;
|
|
44
44
|
fullName: string;
|
|
@@ -57,40 +57,40 @@ export interface ShortPracticeResponse {
|
|
|
57
57
|
streetNumber: string;
|
|
58
58
|
route: string;
|
|
59
59
|
mobileE164: string;
|
|
60
|
-
}
|
|
61
|
-
|
|
60
|
+
};
|
|
61
|
+
declare type PracticeSettings = {
|
|
62
62
|
appointments: Record<string, any>;
|
|
63
63
|
directory: PracticeSettingsDirectory;
|
|
64
64
|
quotes: PracticeSettingsQuotes;
|
|
65
|
-
}
|
|
66
|
-
|
|
65
|
+
};
|
|
66
|
+
declare type PracticeSettingsDirectory = {
|
|
67
67
|
searchEnabled: boolean;
|
|
68
|
-
}
|
|
69
|
-
|
|
68
|
+
};
|
|
69
|
+
declare type PracticeSettingsQuotes = {
|
|
70
70
|
memberRequestQuotesEnabled: boolean;
|
|
71
|
-
}
|
|
72
|
-
|
|
71
|
+
};
|
|
72
|
+
declare type PracticeBillingAddress = {
|
|
73
73
|
address: string;
|
|
74
74
|
addressLine2?: string;
|
|
75
75
|
city: string;
|
|
76
76
|
postcode: string;
|
|
77
77
|
state: string;
|
|
78
|
-
}
|
|
79
|
-
|
|
78
|
+
};
|
|
79
|
+
declare type PracticeBankAccount = {
|
|
80
80
|
accountName: string;
|
|
81
81
|
accountNumber: string;
|
|
82
82
|
bankName: string;
|
|
83
83
|
bsb: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
84
|
+
};
|
|
85
|
+
declare type PracticeLinks = {
|
|
86
86
|
self: Links;
|
|
87
87
|
services: Links;
|
|
88
88
|
staff: Links;
|
|
89
89
|
tranasctions: Links;
|
|
90
|
-
}
|
|
91
|
-
|
|
90
|
+
};
|
|
91
|
+
declare type Links = {
|
|
92
92
|
read?: string;
|
|
93
93
|
update?: string;
|
|
94
94
|
delete?: string;
|
|
95
|
-
}
|
|
95
|
+
};
|
|
96
96
|
export {};
|
package/lib/types/products.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { PaginationMeta, PaginatedQuery } from './index';
|
|
|
3
3
|
export declare type GetBusinessProductsQuery = PaginatedQuery;
|
|
4
4
|
/** START: Requests */
|
|
5
5
|
/** START: Responses */
|
|
6
|
-
export
|
|
6
|
+
export declare type ProductResponse = {
|
|
7
7
|
_id: string;
|
|
8
8
|
organisationId: string;
|
|
9
9
|
fullName: string;
|
|
@@ -26,9 +26,9 @@ export interface ProductResponse {
|
|
|
26
26
|
phasedOut: string;
|
|
27
27
|
created: string;
|
|
28
28
|
modified: string;
|
|
29
|
-
}
|
|
30
|
-
export
|
|
29
|
+
};
|
|
30
|
+
export declare type ProductsResponse = {
|
|
31
31
|
meta: PaginationMeta;
|
|
32
32
|
items: Array<ProductResponse>;
|
|
33
|
-
}
|
|
33
|
+
};
|
|
34
34
|
/** END: Responses */
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ProviderNumberType, Practice, ProfessionalCategory, Specialty, Funder, ProviderRegistrationType } from 'types';
|
|
2
2
|
export interface ProviderSetItem {
|
|
3
3
|
created: string;
|
|
4
|
+
files?: HealthPointProviderSetFilesAttributes[];
|
|
5
|
+
isCertificationMatch?: boolean;
|
|
4
6
|
funderId: string;
|
|
5
7
|
healthFundOverrides: string[];
|
|
6
8
|
healthpoint?: HealthPointProviderSetAttributes;
|
|
@@ -51,3 +53,8 @@ export interface HealthPointProviderSetAttributes {
|
|
|
51
53
|
};
|
|
52
54
|
};
|
|
53
55
|
}
|
|
56
|
+
export declare type HealthPointProviderSetFilesAttributes = {
|
|
57
|
+
category: string;
|
|
58
|
+
displayName: string;
|
|
59
|
+
url: string;
|
|
60
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ProviderSetItem } from './provider-set-item';
|
|
2
2
|
import type { ProviderRegistration } from './provider-registration';
|
|
3
|
-
export
|
|
3
|
+
export declare type HealthFundOverride = {
|
|
4
4
|
healthFundId: string;
|
|
5
5
|
providerNumber: string;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
6
|
+
};
|
|
7
|
+
export declare type StaffMember = {
|
|
8
8
|
serviceIds: string[];
|
|
9
9
|
practiceIds: string[];
|
|
10
10
|
worksAtPracticeIds: string[];
|
|
@@ -28,8 +28,14 @@ export interface StaffMember {
|
|
|
28
28
|
landline: string;
|
|
29
29
|
mobile: string;
|
|
30
30
|
_links: StaffLinks;
|
|
31
|
-
}
|
|
32
|
-
|
|
31
|
+
};
|
|
32
|
+
export declare type ShortStaffMember = {
|
|
33
|
+
firstName: string;
|
|
34
|
+
lastName: string;
|
|
35
|
+
providerSet: ProviderSetItem[];
|
|
36
|
+
_id: string;
|
|
37
|
+
};
|
|
38
|
+
declare type StaffLinks = {
|
|
33
39
|
self: Links;
|
|
34
40
|
practices: Links;
|
|
35
41
|
services: Links;
|
|
@@ -38,13 +44,13 @@ interface StaffLinks {
|
|
|
38
44
|
documents: Links;
|
|
39
45
|
subscriptions: Links;
|
|
40
46
|
paymentMethods: Links;
|
|
41
|
-
}
|
|
42
|
-
|
|
47
|
+
};
|
|
48
|
+
declare type Links = {
|
|
43
49
|
read?: string;
|
|
44
50
|
update?: string;
|
|
45
51
|
delete?: string;
|
|
46
52
|
updatePhoto?: string;
|
|
47
53
|
deleteEmail?: string;
|
|
48
54
|
changeEmail?: string;
|
|
49
|
-
}
|
|
55
|
+
};
|
|
50
56
|
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { PaginationMeta, PaginatedQuery } from './index';
|
|
2
2
|
/** START: Requests */
|
|
3
|
-
export
|
|
3
|
+
export declare type CreateBusinessSubscriptionBody = {
|
|
4
4
|
productId: string;
|
|
5
5
|
paymentMethodId: string;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
6
|
+
};
|
|
7
|
+
export declare type UpdateBusinessSubscriptionBody = {
|
|
8
8
|
paymentMethodId?: string;
|
|
9
9
|
promotionCode?: string;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
export declare type GetBusinessSubscriptionsQuery = PaginatedQuery & {
|
|
12
12
|
excludeEnded?: boolean;
|
|
13
13
|
excludeUpcoming?: boolean;
|
|
14
14
|
};
|
|
15
15
|
/** START: Requests */
|
|
16
16
|
/** START: Responses */
|
|
17
|
-
export
|
|
17
|
+
export declare type SubscriptionResponse = {
|
|
18
18
|
_id: string;
|
|
19
19
|
organisationId: string;
|
|
20
20
|
businessId: string;
|
|
@@ -54,9 +54,9 @@ export interface SubscriptionResponse {
|
|
|
54
54
|
};
|
|
55
55
|
created: string;
|
|
56
56
|
modified: string;
|
|
57
|
-
}
|
|
58
|
-
export
|
|
57
|
+
};
|
|
58
|
+
export declare type SubscriptionsResponse = {
|
|
59
59
|
meta: PaginationMeta;
|
|
60
60
|
items: Array<SubscriptionResponse>;
|
|
61
|
-
}
|
|
61
|
+
};
|
|
62
62
|
/** END: Responses */
|
package/lib/utils/application.js
CHANGED
|
@@ -14,7 +14,7 @@ require('lodash/forOwn');
|
|
|
14
14
|
require('lodash/get');
|
|
15
15
|
require('@medipass/utils/sentry');
|
|
16
16
|
require('./get-axios-error.js');
|
|
17
|
-
var request = require('../staff-
|
|
17
|
+
var request = require('../staff-fa18ac1e.js');
|
|
18
18
|
require('@babel/runtime/helpers/inheritsLoose');
|
|
19
19
|
require('@babel/runtime/helpers/wrapNativeSuper');
|
|
20
20
|
require('./param-error.js');
|
package/lib/utils/professions.js
CHANGED
|
@@ -14,7 +14,7 @@ require('lodash/forOwn');
|
|
|
14
14
|
require('lodash/get');
|
|
15
15
|
require('@medipass/utils/sentry');
|
|
16
16
|
require('./get-axios-error.js');
|
|
17
|
-
var request = require('../staff-
|
|
17
|
+
var request = require('../staff-fa18ac1e.js');
|
|
18
18
|
require('@babel/runtime/helpers/inheritsLoose');
|
|
19
19
|
require('@babel/runtime/helpers/wrapNativeSuper');
|
|
20
20
|
require('./param-error.js');
|
package/lib/utils/request.js
CHANGED
|
@@ -14,7 +14,7 @@ require('lodash/forOwn');
|
|
|
14
14
|
require('lodash/get');
|
|
15
15
|
require('@medipass/utils/sentry');
|
|
16
16
|
require('./get-axios-error.js');
|
|
17
|
-
var request = require('../staff-
|
|
17
|
+
var request = require('../staff-fa18ac1e.js');
|
|
18
18
|
require('@babel/runtime/helpers/inheritsLoose');
|
|
19
19
|
require('@babel/runtime/helpers/wrapNativeSuper');
|
|
20
20
|
require('./param-error.js');
|
package/lib/utils/staff.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Funder, PaginatedResponse, ParsedProviderSetItem, ProviderNumberType, ProviderRegistration, ProviderRegistrationType, ProviderSetItem } from '../index';
|
|
2
2
|
import * as professionsUtils from './professions';
|
|
3
|
-
export declare function parseProviderSet(providerSet: ProviderSetItem[], { businessId, funders, providerRegistrationTypes, providerNumberTypes: _providerNumberTypes, parseProviderNumberType
|
|
3
|
+
export declare function parseProviderSet(providerSet: ProviderSetItem[], { businessId, funders, providerRegistrationTypes, providerNumberTypes: _providerNumberTypes, parseProviderNumberType }: {
|
|
4
4
|
businessId: string;
|
|
5
5
|
funders?: Funder[];
|
|
6
6
|
providerRegistrationTypes?: PaginatedResponse<ProviderRegistrationType>;
|
package/lib/utils/staff.js
CHANGED
|
@@ -14,7 +14,7 @@ require('lodash/forOwn');
|
|
|
14
14
|
require('lodash/get');
|
|
15
15
|
require('@medipass/utils/sentry');
|
|
16
16
|
require('./get-axios-error.js');
|
|
17
|
-
var request = require('../staff-
|
|
17
|
+
var request = require('../staff-fa18ac1e.js');
|
|
18
18
|
require('@babel/runtime/helpers/inheritsLoose');
|
|
19
19
|
require('@babel/runtime/helpers/wrapNativeSuper');
|
|
20
20
|
require('./param-error.js');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "11.57.5-
|
|
3
|
+
"version": "11.57.5-feature-healthpoint-registration-application-endpoints.1",
|
|
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-
|
|
49
|
+
"@medipass/utils": "^11.77.5-feature-healthpoint-registration-application-endpoints.0",
|
|
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": "
|
|
61
|
+
"gitHead": "d7852dea3f39ffe302f820da8d7f47aefee124c0"
|
|
62
62
|
}
|