@medipass/utils 11.70.0 → 11.71.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/.eslintignore +1 -0
- package/.eslintrc.cjs +3 -0
- package/CHANGELOG.md +11 -0
- package/{billable-items-01050ba2.js → billable-items-f8291b1e.js} +0 -0
- package/build-validation-schema.js +14 -1
- package/{businesses-e3a20604.js → businesses-2633ab9b.js} +0 -0
- package/chart.js +2 -0
- package/{forms-f06ca97e.js → forms-e1c51a53.js} +0 -0
- package/get-select-options.js +1 -0
- package/google-addresses.js +17 -7
- package/{health-fund-accounts-3cd8650f.js → health-fund-accounts-88eac93c.js} +0 -0
- package/{health-fund-settings-43327826.js → health-fund-settings-e7a0f2ec.js} +0 -0
- package/{health-funds-300facef.js → health-funds-7fea63a0.js} +0 -0
- package/intercom.js +7 -2
- package/lib/__tests__/get-env.test.d.ts +1 -0
- package/lib/__tests__/get-staff-type-display-name.test.d.ts +1 -0
- package/lib/__tests__/redux-actions.test.d.ts +1 -0
- package/lib/__tests__/redux-reducer.test.d.ts +1 -0
- package/lib/__tests__/validate.test.d.ts +1 -0
- package/lib/build-validation-schema.d.ts +149 -0
- package/lib/chart.d.ts +9 -0
- package/lib/claim-payment-status-formatted.d.ts +6 -0
- package/lib/claim-payment-status-icons.d.ts +4 -0
- package/lib/claim-payment-status-text-classes.d.ts +4 -0
- package/lib/constants.d.ts +325 -0
- package/lib/countries.d.ts +10 -0
- package/lib/datetime.d.ts +2 -0
- package/lib/document-types-formatted.d.ts +9 -0
- package/lib/document-types-icons.d.ts +4 -0
- package/lib/document-types-text-classes.d.ts +4 -0
- package/lib/documents/workflow-state-formatted-text-classes.d.ts +6 -0
- package/lib/documents/workflow-state-formatted.d.ts +6 -0
- package/lib/documents/workflow-state-icons.d.ts +5 -0
- package/lib/form-applications/assign-values-to-sections.d.ts +5 -0
- package/lib/funders.d.ts +20 -0
- package/lib/get-env.d.ts +22 -0
- package/lib/get-select-options.d.ts +9 -0
- package/lib/get-staff-type-display-name.d.ts +2 -0
- package/lib/google-addresses.d.ts +3 -0
- package/lib/i18n/index.d.ts +8 -0
- package/lib/i18n/translations.d.ts +28 -0
- package/lib/index.d.ts +47 -0
- package/lib/intercom.d.ts +16 -0
- package/lib/normalise-abn.d.ts +2 -0
- package/lib/parse-health-fund-card-fields.d.ts +2 -0
- package/lib/payment-options.d.ts +13 -0
- package/lib/products.d.ts +4 -0
- package/lib/redux-actions.d.ts +35 -0
- package/lib/redux-reducer.d.ts +24 -0
- package/lib/sanitise-url.d.ts +4 -0
- package/lib/scroll.d.ts +2 -0
- package/lib/sensitive-keys.d.ts +3 -0
- package/lib/sentry.d.ts +15 -0
- package/lib/service-items.d.ts +37 -0
- package/lib/status-icons.d.ts +4 -0
- package/lib/status-text-classes.d.ts +4 -0
- package/lib/test-framework/fixtures/accounts.d.ts +28 -0
- package/lib/test-framework/fixtures/billable-items.d.ts +17 -0
- package/lib/test-framework/fixtures/businesses.d.ts +43 -0
- package/lib/test-framework/fixtures/documents.d.ts +113 -0
- package/lib/test-framework/fixtures/form-application-templates.d.ts +66 -0
- package/lib/test-framework/fixtures/form-applications.d.ts +30 -0
- package/lib/test-framework/fixtures/forms.d.ts +41 -0
- package/lib/test-framework/fixtures/health-fund-accounts.d.ts +10 -0
- package/lib/test-framework/fixtures/health-fund-settings.d.ts +12 -0
- package/lib/test-framework/fixtures/health-funds.d.ts +90 -0
- package/lib/test-framework/fixtures/index.d.ts +39 -0
- package/lib/test-framework/fixtures/members.d.ts +43 -0
- package/lib/test-framework/fixtures/message-mappings.d.ts +19 -0
- package/lib/test-framework/fixtures/modalities.d.ts +9 -0
- package/lib/test-framework/fixtures/patients.d.ts +36 -0
- package/lib/test-framework/fixtures/payment-methods.d.ts +16 -0
- package/lib/test-framework/fixtures/practices.d.ts +105 -0
- package/lib/test-framework/fixtures/products.d.ts +46 -0
- package/lib/test-framework/fixtures/professional-categories.d.ts +9 -0
- package/lib/test-framework/fixtures/services.d.ts +93 -0
- package/lib/test-framework/fixtures/specialties.d.ts +10 -0
- package/lib/test-framework/fixtures/staff.d.ts +139 -0
- package/lib/test-framework/fixtures/subscriptions.d.ts +142 -0
- package/lib/test-framework/fixtures/transaction-reports.d.ts +156 -0
- package/lib/test-framework/fixtures/transactions.d.ts +1832 -0
- package/lib/test-framework/fixtures/workflow-exceptions.d.ts +25 -0
- package/lib/test-framework/react.d.ts +8 -0
- package/lib/transaction-details-by-funder.d.ts +33 -0
- package/lib/transaction-status-formatted.d.ts +9 -0
- package/lib/transaction-status-helpers.d.ts +20 -0
- package/lib/transaction-status-icons.d.ts +4 -0
- package/lib/transaction-status-text-classes.d.ts +4 -0
- package/lib/transaction-status.d.ts +1 -0
- package/lib/validate-form.d.ts +45 -0
- package/lib/validate.d.ts +15 -0
- package/lib/webpack-config.d.ts +4 -0
- package/lib/workflow-state-formatted-text-classes.d.ts +5 -0
- package/lib/workflow-state-formatted.d.ts +4 -0
- package/{members-cb4f73a9.js → members-8eb8d8d0.js} +0 -0
- package/{modalities-b360d521.js → modalities-2dfbea63.js} +0 -0
- package/package.json +9 -6
- package/{patients-2083dd9c.js → patients-dd3709c1.js} +0 -0
- package/{payment-methods-4fa2d01f.js → payment-methods-d36bc018.js} +0 -0
- package/{practices-3e703f22.js → practices-d6c480f1.js} +0 -0
- package/{products-bd313cb4.js → products-0a392564.js} +0 -0
- package/{professional-categories-e2e5284b.js → professional-categories-157d1767.js} +0 -0
- package/redux-actions.js +13 -3
- package/redux-reducer.js +1 -0
- package/sentry.js +3 -1
- package/service-items.js +5 -34
- package/{services-2e25cdac.js → services-f8480eba.js} +0 -0
- package/{specialties-7640b7e3.js → specialties-25fbb171.js} +0 -0
- package/{staff-990794cd.js → staff-646053b7.js} +0 -0
- package/{subscriptions-45c1321a.js → subscriptions-aef302aa.js} +0 -0
- package/test-framework/fixtures/billable-items.js +1 -1
- package/test-framework/fixtures/businesses.js +1 -1
- package/test-framework/fixtures/forms.js +1 -1
- package/test-framework/fixtures/health-fund-accounts.js +1 -1
- package/test-framework/fixtures/health-fund-settings.js +1 -1
- package/test-framework/fixtures/health-funds.js +1 -1
- package/test-framework/fixtures/index.js +18 -18
- package/test-framework/fixtures/members.js +1 -1
- package/test-framework/fixtures/modalities.js +1 -1
- package/test-framework/fixtures/patients.js +1 -1
- package/test-framework/fixtures/payment-methods.js +1 -1
- package/test-framework/fixtures/practices.js +1 -1
- package/test-framework/fixtures/products.js +1 -1
- package/test-framework/fixtures/professional-categories.js +1 -1
- package/test-framework/fixtures/services.js +1 -1
- package/test-framework/fixtures/specialties.js +1 -1
- package/test-framework/fixtures/staff.js +1 -1
- package/test-framework/fixtures/subscriptions.js +1 -1
- package/test-framework/fixtures/transactions.js +1 -1
- package/transaction-details-by-funder.js +1 -0
- package/transaction-status.js +2 -2
- package/{transactions-6e5fd92d.js → transactions-4a08e450.js} +0 -0
- package/tsconfig.json +32 -0
- package/validate-form.js +3 -3
- package/.eslintrc +0 -3
- package/blah.js +0 -2
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare function round(value: number, step: number): number;
|
|
2
|
+
export declare const calculateTotalAmount: (serviceItems: Array<Record<string, any>>, opts?: {
|
|
3
|
+
includeDiscount?: boolean;
|
|
4
|
+
includeQuantity?: boolean;
|
|
5
|
+
includeGST?: boolean;
|
|
6
|
+
isSubTotal?: boolean;
|
|
7
|
+
funder?: Record<string, any>;
|
|
8
|
+
}) => any;
|
|
9
|
+
export declare const calculateTotalDiscountAmount: (serviceItems: Array<Record<string, any>>) => number;
|
|
10
|
+
export declare const calculateTotalGSTAmount: (serviceItems: Array<Record<string, any>>, opts?: {
|
|
11
|
+
includeQuantity?: boolean;
|
|
12
|
+
funder?: Record<string, any>;
|
|
13
|
+
}) => number;
|
|
14
|
+
export declare const applyDiscountToServiceItems: (serviceItems: Array<Record<string, any>>, { discount, discountType }: {
|
|
15
|
+
discount: string;
|
|
16
|
+
discountType: string;
|
|
17
|
+
}) => Record<string, any>[];
|
|
18
|
+
export declare const getEarliestServiceDate: (serviceItems: Array<Record<string, any>>, dateKey?: string) => string;
|
|
19
|
+
export declare const getChargeAmount: (serviceItems: Array<Record<string, any>>) => any;
|
|
20
|
+
export declare const getDiscountAmount: (discountType: string, currentServiceItems: Array<Record<string, any>>, currentDiscountValue: string) => string;
|
|
21
|
+
export declare const getTotalAmount: (serviceItems: Array<Record<string, any>>) => any;
|
|
22
|
+
export declare const getItemValue: (item: Record<string, any>, opts: Record<string, any>) => {
|
|
23
|
+
feeAmount: string;
|
|
24
|
+
benefitAmount: string;
|
|
25
|
+
hasSeenPatientToday: string;
|
|
26
|
+
service: {
|
|
27
|
+
label: any;
|
|
28
|
+
value: Record<string, any>;
|
|
29
|
+
};
|
|
30
|
+
quantity: number;
|
|
31
|
+
};
|
|
32
|
+
export declare function mapItemsToClaimItems(transaction: Record<string, any>): any;
|
|
33
|
+
export declare const calculateAmounts: (grossAmount: number, isTaxable: boolean) => {
|
|
34
|
+
taxAmount: number;
|
|
35
|
+
feeAmount: number;
|
|
36
|
+
grossAmount: number;
|
|
37
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const healthFundAccountDefault: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
applicationId: string;
|
|
5
|
+
healthFundIds: string[];
|
|
6
|
+
accountType: string;
|
|
7
|
+
username: string;
|
|
8
|
+
firstName: string;
|
|
9
|
+
lastName: string;
|
|
10
|
+
password: string;
|
|
11
|
+
passcode: string;
|
|
12
|
+
secretKeys: {
|
|
13
|
+
key: string;
|
|
14
|
+
created: Date;
|
|
15
|
+
}[];
|
|
16
|
+
emailVerified: boolean;
|
|
17
|
+
mobileVerified: boolean;
|
|
18
|
+
status: string;
|
|
19
|
+
tokenVersion: number;
|
|
20
|
+
incorrectLogins: number;
|
|
21
|
+
hasPasscode: boolean;
|
|
22
|
+
refSource: string;
|
|
23
|
+
settings: {
|
|
24
|
+
autoPayments: boolean;
|
|
25
|
+
};
|
|
26
|
+
created: Date;
|
|
27
|
+
modified: Date;
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const defaultBillableItem: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
businessId: string;
|
|
5
|
+
practiceId: string;
|
|
6
|
+
modalityId: string;
|
|
7
|
+
staffId: string;
|
|
8
|
+
itemCode: string;
|
|
9
|
+
fullName: string;
|
|
10
|
+
displayName: string;
|
|
11
|
+
description: string;
|
|
12
|
+
price: number;
|
|
13
|
+
searchWords: string[];
|
|
14
|
+
status: string;
|
|
15
|
+
created: Date;
|
|
16
|
+
modified: Date;
|
|
17
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const defaultBusiness: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
fullName: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
description: string;
|
|
7
|
+
currencyCode: string;
|
|
8
|
+
merchantId: string;
|
|
9
|
+
logoUrl: string;
|
|
10
|
+
contactInfo: {
|
|
11
|
+
title: string;
|
|
12
|
+
firstName: string;
|
|
13
|
+
lastName: string;
|
|
14
|
+
mobile: string;
|
|
15
|
+
mobileE164: string;
|
|
16
|
+
landline: string;
|
|
17
|
+
email: string;
|
|
18
|
+
};
|
|
19
|
+
mfa: {
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
};
|
|
22
|
+
pms: {
|
|
23
|
+
cliniko: {
|
|
24
|
+
apiKey: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
bankAccount: {
|
|
28
|
+
accountName: string;
|
|
29
|
+
bsb: string;
|
|
30
|
+
accountNumber: string;
|
|
31
|
+
};
|
|
32
|
+
settings: {
|
|
33
|
+
appointments: {
|
|
34
|
+
pushReminderEnabled: boolean;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
status: string;
|
|
38
|
+
searchWords: string[];
|
|
39
|
+
refId: string;
|
|
40
|
+
refSource: string;
|
|
41
|
+
created: Date;
|
|
42
|
+
modified: Date;
|
|
43
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export declare const defaultDocument: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
healthFund: {
|
|
5
|
+
_id: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
fullName: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
description: string;
|
|
11
|
+
visibilityRules: {
|
|
12
|
+
businessRules: {
|
|
13
|
+
modalities: {
|
|
14
|
+
_id: string;
|
|
15
|
+
displayName: string;
|
|
16
|
+
}[];
|
|
17
|
+
states: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
documentType: string;
|
|
21
|
+
documentId: string;
|
|
22
|
+
status: string;
|
|
23
|
+
searchWords: string[];
|
|
24
|
+
created: Date;
|
|
25
|
+
modified: Date;
|
|
26
|
+
};
|
|
27
|
+
export declare const applicationDocument: {
|
|
28
|
+
_id: string;
|
|
29
|
+
organisationId: string;
|
|
30
|
+
businessId: string;
|
|
31
|
+
healthFund: {
|
|
32
|
+
_id: string;
|
|
33
|
+
displayName: string;
|
|
34
|
+
};
|
|
35
|
+
practice: {
|
|
36
|
+
_id: string;
|
|
37
|
+
displayName: string;
|
|
38
|
+
};
|
|
39
|
+
visibilityRules: {
|
|
40
|
+
businessRules: {
|
|
41
|
+
modalities: {
|
|
42
|
+
_id: string;
|
|
43
|
+
displayName: string;
|
|
44
|
+
}[];
|
|
45
|
+
states: string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
fullName: string;
|
|
49
|
+
displayName: string;
|
|
50
|
+
description: string;
|
|
51
|
+
documentNumber: string;
|
|
52
|
+
documentType: string;
|
|
53
|
+
documentId: string;
|
|
54
|
+
documentModel: string;
|
|
55
|
+
isPublished: boolean;
|
|
56
|
+
status: string;
|
|
57
|
+
workflowState: string;
|
|
58
|
+
createdByAccountId: string;
|
|
59
|
+
createdByAccountUsername: string;
|
|
60
|
+
createdByStaffId: string;
|
|
61
|
+
createdByStaffName: string;
|
|
62
|
+
created: Date;
|
|
63
|
+
modified: Date;
|
|
64
|
+
_links: {
|
|
65
|
+
self: {
|
|
66
|
+
assign: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const applicationDocumentAssigned: {
|
|
71
|
+
_id: string;
|
|
72
|
+
organisationId: string;
|
|
73
|
+
businessId: string;
|
|
74
|
+
healthFund: {
|
|
75
|
+
_id: string;
|
|
76
|
+
displayName: string;
|
|
77
|
+
};
|
|
78
|
+
practice: {
|
|
79
|
+
_id: string;
|
|
80
|
+
displayName: string;
|
|
81
|
+
};
|
|
82
|
+
visibilityRules: {
|
|
83
|
+
businessRules: {
|
|
84
|
+
modalities: {
|
|
85
|
+
_id: string;
|
|
86
|
+
displayName: string;
|
|
87
|
+
}[];
|
|
88
|
+
states: string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
fullName: string;
|
|
92
|
+
displayName: string;
|
|
93
|
+
description: string;
|
|
94
|
+
documentNumber: string;
|
|
95
|
+
documentType: string;
|
|
96
|
+
documentId: string;
|
|
97
|
+
documentModel: string;
|
|
98
|
+
isPublished: boolean;
|
|
99
|
+
status: string;
|
|
100
|
+
workflowState: string;
|
|
101
|
+
createdByAccountId: string;
|
|
102
|
+
createdByAccountUsername: string;
|
|
103
|
+
assignedToAccountId: string;
|
|
104
|
+
assignedToUsername: string;
|
|
105
|
+
created: Date;
|
|
106
|
+
modified: Date;
|
|
107
|
+
_links: {
|
|
108
|
+
self: {
|
|
109
|
+
approve: string;
|
|
110
|
+
decline: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const defaultFormApplicationTemplate: {
|
|
2
|
+
_id: string;
|
|
3
|
+
healthFundId: string;
|
|
4
|
+
organisationId: string;
|
|
5
|
+
fullName: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
description: string;
|
|
8
|
+
sections: ({
|
|
9
|
+
subsections: {
|
|
10
|
+
_id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: string;
|
|
13
|
+
}[];
|
|
14
|
+
name: string;
|
|
15
|
+
heading: string;
|
|
16
|
+
description?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
subsections: {
|
|
19
|
+
_id: string;
|
|
20
|
+
heading: string;
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
}[];
|
|
24
|
+
heading: string;
|
|
25
|
+
description: string;
|
|
26
|
+
name?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
subsections: ({
|
|
29
|
+
_id: string;
|
|
30
|
+
heading: string;
|
|
31
|
+
name: string;
|
|
32
|
+
type: string;
|
|
33
|
+
positiveButtonText: string;
|
|
34
|
+
negativeButtonText: string;
|
|
35
|
+
mandatory: boolean;
|
|
36
|
+
hintText: string;
|
|
37
|
+
defaultValue: string;
|
|
38
|
+
} | {
|
|
39
|
+
_id: string;
|
|
40
|
+
heading: string;
|
|
41
|
+
name: string;
|
|
42
|
+
type: string;
|
|
43
|
+
hintText: string;
|
|
44
|
+
defaultValue: string;
|
|
45
|
+
positiveButtonText?: undefined;
|
|
46
|
+
negativeButtonText?: undefined;
|
|
47
|
+
mandatory?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
_id: string;
|
|
50
|
+
heading: string;
|
|
51
|
+
name: string;
|
|
52
|
+
type: string;
|
|
53
|
+
hintText: string;
|
|
54
|
+
mandatory: boolean;
|
|
55
|
+
positiveButtonText?: undefined;
|
|
56
|
+
negativeButtonText?: undefined;
|
|
57
|
+
defaultValue?: undefined;
|
|
58
|
+
})[];
|
|
59
|
+
heading: string;
|
|
60
|
+
description: string;
|
|
61
|
+
name?: undefined;
|
|
62
|
+
})[];
|
|
63
|
+
modified: string;
|
|
64
|
+
created: string;
|
|
65
|
+
status: string;
|
|
66
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const defaultFormApplication: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
healthFundId: string;
|
|
5
|
+
businessId: string;
|
|
6
|
+
formApplicationTemplateId: string;
|
|
7
|
+
formId: string;
|
|
8
|
+
practice: {
|
|
9
|
+
_id: string;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
staffs: {
|
|
13
|
+
_id: string;
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
funderId: string;
|
|
17
|
+
providerNumber: string;
|
|
18
|
+
status: string;
|
|
19
|
+
}[];
|
|
20
|
+
fullName: string;
|
|
21
|
+
displayName: string;
|
|
22
|
+
description: string;
|
|
23
|
+
subsections: {
|
|
24
|
+
_id: string;
|
|
25
|
+
value: string;
|
|
26
|
+
}[];
|
|
27
|
+
status: string;
|
|
28
|
+
created: Date;
|
|
29
|
+
modified: Date;
|
|
30
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const formDefault: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
healthFundId: string;
|
|
5
|
+
fullName: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
description: string;
|
|
8
|
+
formApplicationTemplateId: string;
|
|
9
|
+
logo: {
|
|
10
|
+
url: string;
|
|
11
|
+
s3Bucket: string;
|
|
12
|
+
s3Key: string;
|
|
13
|
+
};
|
|
14
|
+
visibilityRules: {
|
|
15
|
+
businessRules: {
|
|
16
|
+
modalities: {
|
|
17
|
+
_id: string;
|
|
18
|
+
displayName: string;
|
|
19
|
+
}[];
|
|
20
|
+
states: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
sections: {
|
|
24
|
+
heading: string;
|
|
25
|
+
description: string;
|
|
26
|
+
links: {
|
|
27
|
+
displayName: string;
|
|
28
|
+
url: string;
|
|
29
|
+
}[];
|
|
30
|
+
files: {
|
|
31
|
+
displayName: string;
|
|
32
|
+
url: string;
|
|
33
|
+
contentType: string;
|
|
34
|
+
s3Bucket: string;
|
|
35
|
+
s3Key: string;
|
|
36
|
+
}[];
|
|
37
|
+
}[];
|
|
38
|
+
status: string;
|
|
39
|
+
created: Date;
|
|
40
|
+
modified: Date;
|
|
41
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const defaultHealthFundSetting: {
|
|
2
|
+
_id: string;
|
|
3
|
+
settingType: string;
|
|
4
|
+
healthFundId: string;
|
|
5
|
+
modalityId: string;
|
|
6
|
+
practiceId: string;
|
|
7
|
+
staffId: string;
|
|
8
|
+
providerNumber: string;
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
created: Date;
|
|
11
|
+
modified: Date;
|
|
12
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const defaultHealthFund: {
|
|
2
|
+
_id: string;
|
|
3
|
+
code: string;
|
|
4
|
+
fullName: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
logoUrl: string;
|
|
7
|
+
logoSmallUrl: string;
|
|
8
|
+
primaryColor: string;
|
|
9
|
+
cardBgColorFront: string;
|
|
10
|
+
cardBgColorBack: string;
|
|
11
|
+
cardLogoUrl: string;
|
|
12
|
+
cardImageUrl: string;
|
|
13
|
+
cardFields: {
|
|
14
|
+
id: string;
|
|
15
|
+
displayName: string;
|
|
16
|
+
cardLabel: string;
|
|
17
|
+
cardPosition: string;
|
|
18
|
+
cardInline: boolean;
|
|
19
|
+
cardStyle: string;
|
|
20
|
+
reactNative: {
|
|
21
|
+
fieldPositionStyle: {
|
|
22
|
+
hello: string;
|
|
23
|
+
};
|
|
24
|
+
fieldTextStyle: {
|
|
25
|
+
hello: string;
|
|
26
|
+
};
|
|
27
|
+
fieldTextHighlightStyle: {
|
|
28
|
+
hello: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
inputType: string;
|
|
32
|
+
minLength: number;
|
|
33
|
+
maxLength: number;
|
|
34
|
+
mandatory: boolean;
|
|
35
|
+
}[];
|
|
36
|
+
mfa: {
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
strategy: string;
|
|
39
|
+
expiresIn: number;
|
|
40
|
+
expiresInType: string;
|
|
41
|
+
};
|
|
42
|
+
isPublic: boolean;
|
|
43
|
+
created: Date;
|
|
44
|
+
modified: Date;
|
|
45
|
+
};
|
|
46
|
+
export declare const medicareHealthFund: {
|
|
47
|
+
_id: string;
|
|
48
|
+
code: string;
|
|
49
|
+
fullName: string;
|
|
50
|
+
displayName: string;
|
|
51
|
+
logoUrl: string;
|
|
52
|
+
logoSmallUrl: string;
|
|
53
|
+
primaryColor: string;
|
|
54
|
+
cardBgColorFront: string;
|
|
55
|
+
cardBgColorBack: string;
|
|
56
|
+
cardLogoUrl: string;
|
|
57
|
+
cardImageUrl: string;
|
|
58
|
+
cardFields: {
|
|
59
|
+
id: string;
|
|
60
|
+
displayName: string;
|
|
61
|
+
cardLabel: string;
|
|
62
|
+
cardPosition: string;
|
|
63
|
+
cardInline: boolean;
|
|
64
|
+
cardStyle: string;
|
|
65
|
+
reactNative: {
|
|
66
|
+
fieldPositionStyle: {
|
|
67
|
+
hello: string;
|
|
68
|
+
};
|
|
69
|
+
fieldTextStyle: {
|
|
70
|
+
hello: string;
|
|
71
|
+
};
|
|
72
|
+
fieldTextHighlightStyle: {
|
|
73
|
+
hello: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
inputType: string;
|
|
77
|
+
minLength: number;
|
|
78
|
+
maxLength: number;
|
|
79
|
+
mandatory: boolean;
|
|
80
|
+
}[];
|
|
81
|
+
mfa: {
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
strategy: string;
|
|
84
|
+
expiresIn: number;
|
|
85
|
+
expiresInType: string;
|
|
86
|
+
};
|
|
87
|
+
isPublic: boolean;
|
|
88
|
+
created: Date;
|
|
89
|
+
modified: Date;
|
|
90
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as billableItems from './billable-items';
|
|
2
|
+
import * as businesses from './businesses';
|
|
3
|
+
import * as forms from './forms';
|
|
4
|
+
import * as healthFundAccounts from './health-fund-accounts';
|
|
5
|
+
import * as healthFundSettings from './health-fund-settings';
|
|
6
|
+
import * as healthFunds from './health-funds';
|
|
7
|
+
import * as members from './members';
|
|
8
|
+
import * as modalities from './modalities';
|
|
9
|
+
import * as patients from './patients';
|
|
10
|
+
import * as paymentMethods from './payment-methods';
|
|
11
|
+
import * as practices from './practices';
|
|
12
|
+
import * as products from './products';
|
|
13
|
+
import * as professionalCategories from './professional-categories';
|
|
14
|
+
import * as services from './services';
|
|
15
|
+
import * as specialties from './specialties';
|
|
16
|
+
import * as staff from './staff';
|
|
17
|
+
import * as subscriptions from './subscriptions';
|
|
18
|
+
import * as transactions from './transactions';
|
|
19
|
+
declare const _default: {
|
|
20
|
+
billableItems: typeof billableItems;
|
|
21
|
+
businesses: typeof businesses;
|
|
22
|
+
forms: typeof forms;
|
|
23
|
+
healthFundAccounts: typeof healthFundAccounts;
|
|
24
|
+
healthFundSettings: typeof healthFundSettings;
|
|
25
|
+
healthFunds: typeof healthFunds;
|
|
26
|
+
members: typeof members;
|
|
27
|
+
modalities: typeof modalities;
|
|
28
|
+
patients: typeof patients;
|
|
29
|
+
paymentMethods: typeof paymentMethods;
|
|
30
|
+
practices: typeof practices;
|
|
31
|
+
products: typeof products;
|
|
32
|
+
professionalCategories: typeof professionalCategories;
|
|
33
|
+
services: typeof services;
|
|
34
|
+
specialties: typeof specialties;
|
|
35
|
+
staff: typeof staff;
|
|
36
|
+
subscriptions: typeof subscriptions;
|
|
37
|
+
transactions: typeof transactions;
|
|
38
|
+
};
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const defaultMember: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
firstName: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
firstNameLowerCase: string;
|
|
7
|
+
lastNameLowerCase: string;
|
|
8
|
+
email: string;
|
|
9
|
+
mobile: string;
|
|
10
|
+
mobileE164: string;
|
|
11
|
+
searchWords: string[];
|
|
12
|
+
healthFundSearchWords: string[];
|
|
13
|
+
gender: string;
|
|
14
|
+
dob: Date;
|
|
15
|
+
dobString: string;
|
|
16
|
+
address: string;
|
|
17
|
+
city: string;
|
|
18
|
+
postcode: string;
|
|
19
|
+
state: string;
|
|
20
|
+
country: string;
|
|
21
|
+
countryCode: string;
|
|
22
|
+
lnglat: number[];
|
|
23
|
+
status: string;
|
|
24
|
+
medicareAccount: {
|
|
25
|
+
membershipNumber: string;
|
|
26
|
+
lastFour: string;
|
|
27
|
+
cardRank: string;
|
|
28
|
+
expiryMonth: string;
|
|
29
|
+
expiryYear: string;
|
|
30
|
+
};
|
|
31
|
+
emergencyContact: {
|
|
32
|
+
firstName: string;
|
|
33
|
+
lastName: string;
|
|
34
|
+
mobile: string;
|
|
35
|
+
landline: string;
|
|
36
|
+
relationship: string;
|
|
37
|
+
};
|
|
38
|
+
defaultHealthFundAccountId: string;
|
|
39
|
+
defaultHealthFundAccountCardRank: string;
|
|
40
|
+
defaultHealthFundId: string;
|
|
41
|
+
created: Date;
|
|
42
|
+
modified: Date;
|
|
43
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const cancellationMessageMappings: {
|
|
2
|
+
meta: {
|
|
3
|
+
count: number;
|
|
4
|
+
pageCount: number;
|
|
5
|
+
totalCount: number;
|
|
6
|
+
next: any;
|
|
7
|
+
previous: any;
|
|
8
|
+
self: string;
|
|
9
|
+
first: string;
|
|
10
|
+
last: string;
|
|
11
|
+
};
|
|
12
|
+
items: {
|
|
13
|
+
_id: string;
|
|
14
|
+
refId: string;
|
|
15
|
+
created: string;
|
|
16
|
+
modified: string;
|
|
17
|
+
refMessage: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const defaultPatient: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
businessId: string;
|
|
5
|
+
memberId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
firstName: string;
|
|
8
|
+
middleName: string;
|
|
9
|
+
lastName: string;
|
|
10
|
+
gender: string;
|
|
11
|
+
email: string;
|
|
12
|
+
mobile: string;
|
|
13
|
+
mobileE164: string;
|
|
14
|
+
searchWords: string[];
|
|
15
|
+
dob: Date;
|
|
16
|
+
dobString: string;
|
|
17
|
+
address: string;
|
|
18
|
+
postcode: string;
|
|
19
|
+
city: string;
|
|
20
|
+
state: string;
|
|
21
|
+
country: string;
|
|
22
|
+
countryCode: string;
|
|
23
|
+
lnglat: number[];
|
|
24
|
+
refId: string;
|
|
25
|
+
refSource: string;
|
|
26
|
+
modified: Date;
|
|
27
|
+
created: Date;
|
|
28
|
+
emergencyContact: {
|
|
29
|
+
firstName: string;
|
|
30
|
+
lastName: string;
|
|
31
|
+
mobile: string;
|
|
32
|
+
landline: string;
|
|
33
|
+
relationship: string;
|
|
34
|
+
};
|
|
35
|
+
status: string;
|
|
36
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const defaultPaymentMethod: {
|
|
2
|
+
_id: string;
|
|
3
|
+
organisationId: string;
|
|
4
|
+
accountId: string;
|
|
5
|
+
token: string;
|
|
6
|
+
source: string;
|
|
7
|
+
methodType: string;
|
|
8
|
+
cardType: string;
|
|
9
|
+
lastFour: string;
|
|
10
|
+
expiryMonth: string;
|
|
11
|
+
expiryYear: string;
|
|
12
|
+
isDebit: boolean;
|
|
13
|
+
isDefault: boolean;
|
|
14
|
+
created: Date;
|
|
15
|
+
modified: Date;
|
|
16
|
+
};
|