@medipass/web-sdk 11.49.4-feature-healthpoint-upload-endpoints.8 → 11.50.0
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/CHANGELOG.md +11 -0
- package/lib/index.js +1 -1
- package/lib/resources/abr.js +1 -1
- 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.d.ts +1 -35
- package/lib/resources/attachments.js +1 -7
- 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.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.js +1 -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.js +1 -1
- package/lib/resources/pms.js +1 -1
- 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.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.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.d.ts +0 -10
- package/lib/services/aws.js +1 -2
- package/lib/services/version.js +1 -1
- package/lib/{staff-5e39f044.js → staff-e842c318.js} +61 -230
- package/lib/types/index.d.ts +2 -12
- package/lib/types/professional-categories.d.ts +0 -1
- package/lib/types/specialties.d.ts +0 -1
- package/lib/utils/application.js +1 -1
- package/lib/utils/professions.d.ts +3 -9
- package/lib/utils/professions.js +1 -1
- package/lib/utils/request.js +1 -1
- package/lib/utils/staff.d.ts +8 -12
- package/lib/utils/staff.js +1 -1
- package/package.json +3 -3
- package/lib/types/funder.d.ts +0 -10
- package/lib/types/funder.js +0 -2
- package/lib/types/practice.d.ts +0 -96
- package/lib/types/practice.js +0 -2
- package/lib/types/professional-category.d.ts +0 -6
- package/lib/types/professional-category.js +0 -2
- package/lib/types/provider-number-type.d.ts +0 -11
- package/lib/types/provider-number-type.js +0 -2
- package/lib/types/provider-registration-type.d.ts +0 -9
- package/lib/types/provider-registration-type.js +0 -2
- package/lib/types/provider-registration.d.ts +0 -19
- package/lib/types/provider-registration.js +0 -2
- package/lib/types/provider-set-item.d.ts +0 -51
- package/lib/types/provider-set-item.js +0 -2
- package/lib/types/specialty.d.ts +0 -7
- package/lib/types/specialty.js +0 -2
- package/lib/types/staff-member.d.ts +0 -50
- package/lib/types/staff-member.js +0 -2
- package/lib/types/virus-scan.d.ts +0 -13
- package/lib/types/virus-scan.js +0 -2
package/lib/types/practice.d.ts
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
export interface Practice {
|
|
2
|
-
settings: PracticeSettings;
|
|
3
|
-
billingAddress: PracticeBillingAddress;
|
|
4
|
-
settlement: {
|
|
5
|
-
bankAccount: PracticeBankAccount;
|
|
6
|
-
};
|
|
7
|
-
staffIds: string[];
|
|
8
|
-
practiceTypeIds: string[];
|
|
9
|
-
status: string;
|
|
10
|
-
showAddress: boolean;
|
|
11
|
-
tz: string;
|
|
12
|
-
billingNotificationEmails: string[];
|
|
13
|
-
isSignedUp: boolean;
|
|
14
|
-
isInstantQuotesEnabled: boolean;
|
|
15
|
-
_id: string;
|
|
16
|
-
fullName: string;
|
|
17
|
-
displayName: string;
|
|
18
|
-
mobile: string;
|
|
19
|
-
email: string;
|
|
20
|
-
lnglat: [number, number];
|
|
21
|
-
gmapsPlaceId: string;
|
|
22
|
-
address: string;
|
|
23
|
-
countryCode: string;
|
|
24
|
-
country: string;
|
|
25
|
-
state: string;
|
|
26
|
-
city: string;
|
|
27
|
-
postcode: string;
|
|
28
|
-
createdByProvider: string;
|
|
29
|
-
subpremise: string | null;
|
|
30
|
-
streetNumber: string;
|
|
31
|
-
route: string;
|
|
32
|
-
organisationId: string;
|
|
33
|
-
replyToEmail: string;
|
|
34
|
-
businessId: string;
|
|
35
|
-
defaultBenefitPayees: string[];
|
|
36
|
-
created: string;
|
|
37
|
-
modified: string;
|
|
38
|
-
locationId: string;
|
|
39
|
-
_links: PracticeLinks;
|
|
40
|
-
}
|
|
41
|
-
export declare type ShortPracticeResponse = {
|
|
42
|
-
tz: string;
|
|
43
|
-
_id: string;
|
|
44
|
-
fullName: string;
|
|
45
|
-
displayName: string;
|
|
46
|
-
mobile: string;
|
|
47
|
-
email: string;
|
|
48
|
-
lnglat: [number, number];
|
|
49
|
-
gmapsPlaceId: string;
|
|
50
|
-
address: string;
|
|
51
|
-
countryCode: string;
|
|
52
|
-
country: string;
|
|
53
|
-
state: string;
|
|
54
|
-
city: string;
|
|
55
|
-
postcode: string;
|
|
56
|
-
subpremise: string | null;
|
|
57
|
-
streetNumber: string;
|
|
58
|
-
route: string;
|
|
59
|
-
mobileE164: string;
|
|
60
|
-
};
|
|
61
|
-
declare type PracticeSettings = {
|
|
62
|
-
appointments: Record<string, any>;
|
|
63
|
-
directory: PracticeSettingsDirectory;
|
|
64
|
-
quotes: PracticeSettingsQuotes;
|
|
65
|
-
};
|
|
66
|
-
declare type PracticeSettingsDirectory = {
|
|
67
|
-
searchEnabled: boolean;
|
|
68
|
-
};
|
|
69
|
-
declare type PracticeSettingsQuotes = {
|
|
70
|
-
memberRequestQuotesEnabled: boolean;
|
|
71
|
-
};
|
|
72
|
-
declare type PracticeBillingAddress = {
|
|
73
|
-
address: string;
|
|
74
|
-
addressLine2?: string;
|
|
75
|
-
city: string;
|
|
76
|
-
postcode: string;
|
|
77
|
-
state: string;
|
|
78
|
-
};
|
|
79
|
-
declare type PracticeBankAccount = {
|
|
80
|
-
accountName: string;
|
|
81
|
-
accountNumber: string;
|
|
82
|
-
bankName: string;
|
|
83
|
-
bsb: string;
|
|
84
|
-
};
|
|
85
|
-
declare type PracticeLinks = {
|
|
86
|
-
self: Links;
|
|
87
|
-
services: Links;
|
|
88
|
-
staff: Links;
|
|
89
|
-
tranasctions: Links;
|
|
90
|
-
};
|
|
91
|
-
declare type Links = {
|
|
92
|
-
read?: string;
|
|
93
|
-
update?: string;
|
|
94
|
-
delete?: string;
|
|
95
|
-
};
|
|
96
|
-
export {};
|
package/lib/types/practice.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { STAFF_TYPES } from '@medipass/utils/constants';
|
|
2
|
-
export interface ProviderNumberType {
|
|
3
|
-
code: string;
|
|
4
|
-
created: string;
|
|
5
|
-
displayName: string;
|
|
6
|
-
fullName: string;
|
|
7
|
-
funderIds: string[];
|
|
8
|
-
modified: string;
|
|
9
|
-
staffType: typeof STAFF_TYPES[keyof typeof STAFF_TYPES];
|
|
10
|
-
_id: string;
|
|
11
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { ProviderNumberType, Practice, ProfessionalCategory, Specialty, Funder, ProviderRegistrationType } from 'types';
|
|
2
|
-
export interface ProviderRegistration {
|
|
3
|
-
specialtyIds: string[];
|
|
4
|
-
providerRegistrationTypeId: string;
|
|
5
|
-
professionalCategoryId: string;
|
|
6
|
-
providerNumber: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ParsedProviderRegistration {
|
|
9
|
-
providerNumberType?: ProviderNumberType | undefined;
|
|
10
|
-
practice: Practice;
|
|
11
|
-
funder: Funder;
|
|
12
|
-
professionalCategory?: ProfessionalCategory | undefined;
|
|
13
|
-
specialties?: (Specialty | undefined)[] | undefined;
|
|
14
|
-
providerRegistrationType?: ProviderRegistrationType | undefined;
|
|
15
|
-
specialtyIds: string[];
|
|
16
|
-
providerRegistrationTypeId: string;
|
|
17
|
-
professionalCategoryId: string;
|
|
18
|
-
providerNumber: string;
|
|
19
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import type { ProviderNumberType, Practice, ProfessionalCategory, Specialty, Funder, ProviderRegistrationType } from 'types';
|
|
2
|
-
export interface ParsedProviderSetItem {
|
|
3
|
-
providerNumberType?: ProviderNumberType | undefined;
|
|
4
|
-
practice: Practice;
|
|
5
|
-
funder: Funder;
|
|
6
|
-
professionalCategory?: ProfessionalCategory | undefined;
|
|
7
|
-
specialties?: (Specialty | undefined)[] | undefined;
|
|
8
|
-
providerRegistrationType?: ProviderRegistrationType | undefined;
|
|
9
|
-
created: string;
|
|
10
|
-
funderId: string;
|
|
11
|
-
healthFundOverrides: string[];
|
|
12
|
-
practiceId: string;
|
|
13
|
-
professionalCategoryId: string;
|
|
14
|
-
providerNumber: string;
|
|
15
|
-
providerNumberTypeId?: string | undefined;
|
|
16
|
-
specialtyIds: string[];
|
|
17
|
-
status: string;
|
|
18
|
-
statusHistory: string[];
|
|
19
|
-
_id: string;
|
|
20
|
-
}
|
|
21
|
-
export interface ProviderSetItem {
|
|
22
|
-
created: string;
|
|
23
|
-
funderId: string;
|
|
24
|
-
healthFundOverrides: string[];
|
|
25
|
-
practiceId: string;
|
|
26
|
-
professionalCategoryId: string;
|
|
27
|
-
providerNumber: string;
|
|
28
|
-
providerNumberTypeId?: string;
|
|
29
|
-
specialtyIds: string[];
|
|
30
|
-
status: string;
|
|
31
|
-
statusHistory: string[];
|
|
32
|
-
_id: string;
|
|
33
|
-
}
|
|
34
|
-
export interface ProviderSetItemRequestBody {
|
|
35
|
-
funderId: string;
|
|
36
|
-
practiceId: string;
|
|
37
|
-
professionalCategoryId: string;
|
|
38
|
-
providerNumber: string;
|
|
39
|
-
specialtyIds: string[];
|
|
40
|
-
hicaps?: HicapsProviderSetAttributes;
|
|
41
|
-
}
|
|
42
|
-
export interface HicapsProviderSetAttributes {
|
|
43
|
-
address?: string;
|
|
44
|
-
addressPrefix?: string;
|
|
45
|
-
city?: string;
|
|
46
|
-
country?: string;
|
|
47
|
-
postcode?: string;
|
|
48
|
-
state?: string;
|
|
49
|
-
lnglat?: string[];
|
|
50
|
-
gmapsPlaceId?: string;
|
|
51
|
-
}
|
package/lib/types/specialty.d.ts
DELETED
package/lib/types/specialty.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { ProviderSetItem } from './provider-set-item';
|
|
2
|
-
import type { ProviderRegistration } from './provider-registration';
|
|
3
|
-
export declare type HealthFundOverride = {
|
|
4
|
-
healthFundId: string;
|
|
5
|
-
providerNumber: string;
|
|
6
|
-
};
|
|
7
|
-
export declare type StaffMember = {
|
|
8
|
-
serviceIds: string[];
|
|
9
|
-
practiceIds: string[];
|
|
10
|
-
worksAtPracticeIds: string[];
|
|
11
|
-
status: string;
|
|
12
|
-
_id: string;
|
|
13
|
-
firstName: string;
|
|
14
|
-
lastName: string;
|
|
15
|
-
email: string;
|
|
16
|
-
isProvider: boolean;
|
|
17
|
-
modified: string;
|
|
18
|
-
created: string;
|
|
19
|
-
organisationId: string;
|
|
20
|
-
businessId: string;
|
|
21
|
-
providerSet?: ProviderSetItem[];
|
|
22
|
-
providerRegistrations: ProviderRegistration[];
|
|
23
|
-
refId: string;
|
|
24
|
-
refSource: string;
|
|
25
|
-
hasAccount: boolean;
|
|
26
|
-
staffType: 'person';
|
|
27
|
-
description: string;
|
|
28
|
-
landline: string;
|
|
29
|
-
mobile: string;
|
|
30
|
-
_links: StaffLinks;
|
|
31
|
-
};
|
|
32
|
-
declare type StaffLinks = {
|
|
33
|
-
self: Links;
|
|
34
|
-
practices: Links;
|
|
35
|
-
services: Links;
|
|
36
|
-
staff: Links;
|
|
37
|
-
tranasctions: Links;
|
|
38
|
-
documents: Links;
|
|
39
|
-
subscriptions: Links;
|
|
40
|
-
paymentMethods: Links;
|
|
41
|
-
};
|
|
42
|
-
declare type Links = {
|
|
43
|
-
read?: string;
|
|
44
|
-
update?: string;
|
|
45
|
-
delete?: string;
|
|
46
|
-
updatePhoto?: string;
|
|
47
|
-
deleteEmail?: string;
|
|
48
|
-
changeEmail?: string;
|
|
49
|
-
};
|
|
50
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface VirusScan {
|
|
2
|
-
_id: string;
|
|
3
|
-
accountId: string;
|
|
4
|
-
healthFundId: string;
|
|
5
|
-
businessId: string;
|
|
6
|
-
s3Bucket: string;
|
|
7
|
-
s3Key: string;
|
|
8
|
-
antiVirusStatus: string;
|
|
9
|
-
antiVirusTimestamp: string;
|
|
10
|
-
viruses: string[];
|
|
11
|
-
created: string;
|
|
12
|
-
modified: string;
|
|
13
|
-
}
|
package/lib/types/virus-scan.js
DELETED