@medipass/web-sdk 11.38.0 → 11.38.1-feature-typescript-claudia.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/.eslintrc.cjs +95 -0
- package/babel.config.js +2 -1
- package/lib/index.d.ts +262 -0
- package/lib/index.js +83 -3
- package/lib/{regions-ed54f163.js → regions-a0a28864.js} +2 -2
- package/lib/resources/accounts.d.ts +215 -0
- package/lib/resources/accounts.js +3 -3
- package/lib/resources/actions.d.ts +13 -0
- package/lib/resources/actions.js +3 -3
- package/lib/resources/api-keys.d.ts +24 -0
- package/lib/resources/api-keys.js +3 -3
- package/lib/resources/applications.d.ts +31 -0
- package/lib/resources/applications.js +3 -3
- package/lib/resources/attachments.d.ts +32 -0
- package/lib/resources/attachments.js +3 -3
- package/lib/resources/auth.d.ts +59 -0
- package/lib/resources/auth.js +3 -3
- package/lib/resources/bulk-submits.d.ts +17 -0
- package/lib/resources/bulk-submits.js +3 -3
- package/lib/resources/bulk-uploads.d.ts +26 -0
- package/lib/resources/bulk-uploads.js +3 -3
- package/lib/resources/business-profiles.d.ts +18 -0
- package/lib/resources/business-profiles.js +3 -3
- package/lib/resources/businesses.d.ts +132 -0
- package/lib/resources/businesses.js +3 -3
- package/lib/resources/claim-items.d.ts +31 -0
- package/lib/resources/claim-items.js +3 -3
- package/lib/resources/devices.d.ts +11 -0
- package/lib/resources/devices.js +3 -3
- package/lib/resources/doc-accounts.d.ts +32 -0
- package/lib/resources/doc-accounts.js +3 -3
- package/lib/resources/documents.d.ts +90 -0
- package/lib/resources/documents.js +3 -3
- package/lib/resources/emails.d.ts +14 -0
- package/lib/resources/emails.js +3 -3
- package/lib/resources/form-application-templates.d.ts +20 -0
- package/lib/resources/form-application-templates.js +3 -3
- package/lib/resources/form-applications.d.ts +27 -0
- package/lib/resources/form-applications.js +3 -3
- package/lib/resources/forms.d.ts +100 -0
- package/lib/resources/forms.js +3 -3
- package/lib/resources/funder-services.d.ts +8 -0
- package/lib/resources/funder-services.js +3 -3
- package/lib/resources/funder-settings.d.ts +8 -0
- package/lib/resources/funder-settings.js +3 -3
- package/lib/resources/funders.d.ts +5 -0
- package/lib/resources/funders.js +3 -3
- package/lib/resources/futures.d.ts +85 -0
- package/lib/resources/futures.js +3 -3
- package/lib/resources/health-fund-accounts.d.ts +78 -0
- package/lib/resources/health-fund-accounts.js +3 -3
- package/lib/resources/health-fund-settings.d.ts +39 -0
- package/lib/resources/health-fund-settings.js +3 -3
- package/lib/resources/healthfunds.d.ts +64 -0
- package/lib/resources/healthfunds.js +3 -3
- package/lib/resources/icditems.d.ts +14 -0
- package/lib/resources/icditems.js +3 -3
- package/lib/resources/invoice-scans.d.ts +26 -0
- package/lib/resources/invoice-scans.js +3 -3
- package/lib/resources/jhcs.d.ts +7 -0
- package/lib/resources/jhcs.js +3 -3
- package/lib/resources/kyc.d.ts +109 -0
- package/lib/resources/kyc.js +3 -3
- package/lib/resources/logs.d.ts +16 -0
- package/lib/resources/logs.js +3 -3
- package/lib/resources/members.d.ts +92 -0
- package/lib/resources/members.js +3 -3
- package/lib/resources/message-mappings.d.ts +9 -0
- package/lib/resources/message-mappings.js +3 -3
- package/lib/resources/minions.d.ts +40 -0
- package/lib/resources/minions.js +3 -3
- package/lib/resources/modalities.d.ts +19 -0
- package/lib/resources/modalities.js +3 -3
- package/lib/resources/notes.d.ts +17 -0
- package/lib/resources/notes.js +3 -3
- package/lib/resources/onboarding-applications.d.ts +52 -0
- package/lib/resources/onboarding-applications.js +3 -3
- package/lib/resources/onboarding-requests.d.ts +39 -0
- package/lib/resources/onboarding-requests.js +3 -3
- package/lib/resources/ops.d.ts +60 -0
- package/lib/resources/ops.js +3 -3
- package/lib/resources/organisations.d.ts +7 -0
- package/lib/resources/organisations.js +3 -3
- package/lib/resources/partners.d.ts +50 -0
- package/lib/resources/partners.js +3 -3
- package/lib/resources/patients.d.ts +44 -0
- package/lib/resources/patients.js +3 -3
- package/lib/resources/payments.d.ts +155 -0
- package/lib/resources/payments.js +3 -3
- package/lib/resources/pms.d.ts +43 -0
- package/lib/resources/pms.js +3 -3
- package/lib/resources/practice-profiles.d.ts +20 -0
- package/lib/resources/practice-profiles.js +3 -3
- package/lib/resources/practice-types.d.ts +6 -0
- package/lib/resources/practice-types.js +3 -3
- package/lib/resources/practices.d.ts +137 -0
- package/lib/resources/practices.js +3 -3
- package/lib/resources/products.d.ts +23 -0
- package/lib/resources/products.js +3 -3
- package/lib/resources/professional-categories.d.ts +23 -0
- package/lib/resources/professional-categories.js +3 -3
- package/lib/resources/provider-number-types.d.ts +16 -0
- package/lib/resources/provider-number-types.js +3 -3
- package/lib/resources/provider-registration-types.d.ts +15 -0
- package/lib/resources/provider-registration-types.js +3 -3
- package/lib/resources/provider-requests.d.ts +17 -0
- package/lib/resources/provider-requests.js +3 -3
- package/lib/resources/provider-types.d.ts +6 -0
- package/lib/resources/provider-types.js +3 -3
- package/lib/resources/ref-sources.d.ts +6 -0
- package/lib/resources/ref-sources.js +3 -3
- package/lib/resources/risk.d.ts +13 -0
- package/lib/resources/risk.js +3 -3
- package/lib/resources/rnas.d.ts +43 -0
- package/lib/resources/rnas.js +3 -3
- package/lib/resources/roles.d.ts +7 -0
- package/lib/resources/roles.js +3 -3
- package/lib/resources/self-checkout-sessions.d.ts +134 -0
- package/lib/resources/self-checkout-sessions.js +3 -3
- package/lib/resources/services.d.ts +88 -0
- package/lib/resources/services.js +3 -3
- package/lib/resources/settlements.d.ts +37 -0
- package/lib/resources/settlements.js +3 -3
- package/lib/resources/sign-up.d.ts +5 -0
- package/lib/resources/sign-up.js +3 -3
- package/lib/resources/specialties.d.ts +23 -0
- package/lib/resources/specialties.js +3 -3
- package/lib/resources/staff-profiles.d.ts +20 -0
- package/lib/resources/staff-profiles.js +3 -3
- package/lib/resources/staff.d.ts +242 -0
- package/lib/resources/staff.js +3 -3
- package/lib/resources/statistics.d.ts +56 -0
- package/lib/resources/statistics.js +3 -3
- package/lib/resources/subscriptions.d.ts +32 -0
- package/lib/resources/subscriptions.js +3 -3
- package/lib/resources/terminals.d.ts +71 -0
- package/lib/resources/terminals.js +3 -3
- package/lib/resources/transaction-export.d.ts +18 -0
- package/lib/resources/transaction-export.js +3 -3
- package/lib/resources/transactions.d.ts +466 -0
- package/lib/resources/transactions.js +3 -3
- package/lib/resources/triggers.d.ts +20 -0
- package/lib/resources/triggers.js +3 -3
- package/lib/resources/vendors.d.ts +9 -0
- package/lib/resources/vendors.js +3 -3
- package/lib/resources/verify.d.ts +9 -0
- package/lib/resources/verify.js +3 -3
- package/lib/resources/workers.d.ts +3 -0
- package/lib/resources/workers.js +3 -3
- package/lib/resources/workflow-exceptions.d.ts +5 -0
- package/lib/resources/workflow-exceptions.js +3 -3
- package/lib/services/aws.d.ts +54 -0
- package/lib/services/aws.js +3 -3
- package/lib/services/storage.d.ts +28 -0
- package/lib/services/storage.js +126 -18
- package/lib/services/version.d.ts +21 -0
- package/lib/services/version.js +3 -3
- package/lib/{staff-f19eb168.js → staff-96febcd8.js} +188 -581
- package/lib/types/documents.d.ts +115 -0
- package/lib/types/documents.js +2 -0
- package/lib/types/forms.d.ts +67 -0
- package/lib/types/forms.js +2 -0
- package/lib/types/index.d.ts +42 -0
- package/lib/types/index.js +2 -0
- package/lib/types/message-mappings.d.ts +18 -0
- package/lib/types/message-mappings.js +2 -0
- package/lib/types/notes.d.ts +5 -0
- package/lib/types/notes.js +2 -0
- package/lib/types/products.d.ts +34 -0
- package/lib/types/products.js +2 -0
- package/lib/types/professional-categories.d.ts +20 -0
- package/lib/types/professional-categories.js +2 -0
- package/lib/types/specialties.d.ts +22 -0
- package/lib/types/specialties.js +2 -0
- package/lib/types/subscriptions.d.ts +52 -0
- package/lib/types/subscriptions.js +2 -0
- package/lib/utils/application.d.ts +1 -0
- package/lib/utils/application.js +3 -3
- package/lib/utils/base-urls/core.d.ts +19 -0
- package/lib/utils/base-urls/index.d.ts +37 -0
- package/lib/utils/base-urls/risk.d.ts +17 -0
- package/lib/utils/does-param-exist.d.ts +2 -0
- package/lib/utils/get-axios-error.d.ts +2 -0
- package/lib/utils/param-error.d.ts +3 -0
- package/lib/utils/professions.d.ts +3 -0
- package/lib/utils/professions.js +3 -3
- package/lib/utils/regions.d.ts +1 -0
- package/lib/utils/regions.js +2 -2
- package/lib/utils/request.d.ts +3 -0
- package/lib/utils/request.js +3 -3
- package/lib/utils/staff.d.ts +8 -0
- package/lib/utils/staff.js +3 -3
- package/package.json +19 -9
- package/tsconfig.json +33 -0
- package/types/globals.d.ts +7 -0
- package/types/index.d.ts +1 -0
- package/.eslintrc +0 -3
- package/lib/_types/documents.js.flow +0 -118
- package/lib/_types/forms.js.flow +0 -57
- package/lib/_types/index.js.flow +0 -47
- package/lib/_types/message-mappings.js.flow +0 -22
- package/lib/_types/notes.js.flow +0 -7
- package/lib/_types/products.js.flow +0 -40
- package/lib/_types/professional-categories.js.flow +0 -25
- package/lib/_types/specialties.js.flow +0 -27
- package/lib/_types/subscriptions.js.flow +0 -58
- package/lib/index.js.flow +0 -438
- package/lib/resources/accounts.js.flow +0 -445
- package/lib/resources/actions.js.flow +0 -25
- package/lib/resources/api-keys.js.flow +0 -54
- package/lib/resources/applications.js.flow +0 -60
- package/lib/resources/attachments.js.flow +0 -75
- package/lib/resources/auth.js.flow +0 -185
- package/lib/resources/bulk-submits.js.flow +0 -43
- package/lib/resources/bulk-uploads.js.flow +0 -56
- package/lib/resources/business-profiles.js.flow +0 -45
- package/lib/resources/businesses.js.flow +0 -267
- package/lib/resources/claim-items.js.flow +0 -76
- package/lib/resources/devices.js.flow +0 -64
- package/lib/resources/doc-accounts.js.flow +0 -61
- package/lib/resources/documents.js.flow +0 -216
- package/lib/resources/emails.js.flow +0 -96
- package/lib/resources/form-application-templates.js.flow +0 -52
- package/lib/resources/form-applications.js.flow +0 -62
- package/lib/resources/forms.js.flow +0 -222
- package/lib/resources/funder-services.js.flow +0 -17
- package/lib/resources/funder-settings.js.flow +0 -58
- package/lib/resources/funders.js.flow +0 -15
- package/lib/resources/futures.js.flow +0 -154
- package/lib/resources/health-fund-accounts.js.flow +0 -198
- package/lib/resources/health-fund-settings.js.flow +0 -104
- package/lib/resources/healthfunds.js.flow +0 -139
- package/lib/resources/icditems.js.flow +0 -36
- package/lib/resources/invoice-scans.js.flow +0 -56
- package/lib/resources/jhcs.js.flow +0 -20
- package/lib/resources/kyc.js.flow +0 -216
- package/lib/resources/logs.js.flow +0 -32
- package/lib/resources/members.js.flow +0 -196
- package/lib/resources/message-mappings.js.flow +0 -25
- package/lib/resources/minions.js.flow +0 -96
- package/lib/resources/modalities.js.flow +0 -46
- package/lib/resources/notes.js.flow +0 -112
- package/lib/resources/onboarding-applications.js.flow +0 -142
- package/lib/resources/onboarding-requests.js.flow +0 -97
- package/lib/resources/ops.js.flow +0 -116
- package/lib/resources/organisations.js.flow +0 -15
- package/lib/resources/partners.js.flow +0 -118
- package/lib/resources/patients.js.flow +0 -102
- package/lib/resources/payments.js.flow +0 -523
- package/lib/resources/pms.js.flow +0 -102
- package/lib/resources/practice-profiles.js.flow +0 -51
- package/lib/resources/practice-types.js.flow +0 -14
- package/lib/resources/practices.js.flow +0 -314
- package/lib/resources/products.js.flow +0 -48
- package/lib/resources/professional-categories.js.flow +0 -56
- package/lib/resources/provider-number-types.js.flow +0 -32
- package/lib/resources/provider-registration-types.js.flow +0 -32
- package/lib/resources/provider-requests.js.flow +0 -46
- package/lib/resources/provider-types.js.flow +0 -14
- package/lib/resources/ref-sources.js.flow +0 -16
- package/lib/resources/risk.js.flow +0 -29
- package/lib/resources/rnas.js.flow +0 -108
- package/lib/resources/roles.js.flow +0 -12
- package/lib/resources/self-checkout-sessions.js.flow +0 -382
- package/lib/resources/services.js.flow +0 -219
- package/lib/resources/settlements.js.flow +0 -97
- package/lib/resources/sign-up.js.flow +0 -15
- package/lib/resources/specialties.js.flow +0 -46
- package/lib/resources/staff-profiles.js.flow +0 -51
- package/lib/resources/staff.js.flow +0 -583
- package/lib/resources/statistics.js.flow +0 -147
- package/lib/resources/subscriptions.js.flow +0 -81
- package/lib/resources/terminals.js.flow +0 -161
- package/lib/resources/transaction-export.js.flow +0 -48
- package/lib/resources/transactions.js.flow +0 -1097
- package/lib/resources/triggers.js.flow +0 -36
- package/lib/resources/vendors.js.flow +0 -28
- package/lib/resources/verify.js.flow +0 -14
- package/lib/resources/workers.js.flow +0 -10
- package/lib/resources/workflow-exceptions.js.flow +0 -17
- package/lib/services/__mocks__/storage.js.flow +0 -30
- package/lib/services/aws.js.flow +0 -339
- package/lib/services/storage.js.flow +0 -92
- package/lib/services/version.js.flow +0 -73
- package/lib/storage-16fd26f8.js +0 -1268
- package/lib/utils/application.js.flow +0 -23
- package/lib/utils/base-urls/core.js.flow +0 -18
- package/lib/utils/base-urls/index.js.flow +0 -7
- package/lib/utils/base-urls/risk.js.flow +0 -16
- package/lib/utils/does-param-exist.js.flow +0 -23
- package/lib/utils/get-axios-error.js.flow +0 -8
- package/lib/utils/param-error.js.flow +0 -8
- package/lib/utils/professions.js.flow +0 -66
- package/lib/utils/regions.js.flow +0 -21
- package/lib/utils/request.js.flow +0 -36
- package/lib/utils/staff.js.flow +0 -81
|
@@ -16,9 +16,9 @@ var paramError = require('./utils/param-error.js');
|
|
|
16
16
|
var doesParamExist = require('./utils/does-param-exist.js');
|
|
17
17
|
var sentry = require('@medipass/utils/sentry');
|
|
18
18
|
var getAxiosError = require('./utils/get-axios-error.js');
|
|
19
|
-
var storage = require('./storage-16fd26f8.js');
|
|
20
19
|
var _omitBy = _interopDefault(require('lodash/omitBy'));
|
|
21
20
|
var _isEmpty = _interopDefault(require('lodash/isEmpty'));
|
|
21
|
+
var storage = require('./services/storage.js');
|
|
22
22
|
var platform = _interopDefault(require('platform'));
|
|
23
23
|
var constants = require('@medipass/utils/constants');
|
|
24
24
|
var braintreeClient = _interopDefault(require('braintree-web/client'));
|
|
@@ -29,7 +29,7 @@ var env = _interopDefault(require('@medipass/utils/get-env'));
|
|
|
29
29
|
var funders$1 = require('@medipass/utils/funders');
|
|
30
30
|
var compareVersions = _interopDefault(require('compare-versions'));
|
|
31
31
|
var index = require('./utils/base-urls/index.js');
|
|
32
|
-
var regions = require('./regions-
|
|
32
|
+
var regions = require('./regions-a0a28864.js');
|
|
33
33
|
var _flatten = _interopDefault(require('lodash/flatten'));
|
|
34
34
|
|
|
35
35
|
var staffUtils = /*#__PURE__*/Object.freeze({
|
|
@@ -38,515 +38,17 @@ var staffUtils = /*#__PURE__*/Object.freeze({
|
|
|
38
38
|
get parseProviderRegistrations () { return parseProviderRegistrations; }
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
var bpfrpt_proptype_BusinessDocumentsQuery = {
|
|
42
|
-
isPublished: storage.PropTypes.bool,
|
|
43
|
-
practiceId: storage.PropTypes.string,
|
|
44
|
-
sort: storage.PropTypes.string
|
|
45
|
-
};
|
|
46
|
-
var bpfrpt_proptype_HealthFundDocumentsQuery = {
|
|
47
|
-
excludeDocumentIds: storage.PropTypes.string
|
|
48
|
-
};
|
|
49
|
-
var bpfrpt_proptype_DeclineHealthFundDocumentBody = {
|
|
50
|
-
formApplicationDeclineReasonId: storage.PropTypes.string.isRequired,
|
|
51
|
-
note: storage.PropTypes.string
|
|
52
|
-
};
|
|
53
|
-
var bpfrpt_proptype_CeaseHealthFundDocumentBody = {
|
|
54
|
-
formApplicationCeaseReasonId: storage.PropTypes.string.isRequired,
|
|
55
|
-
note: storage.PropTypes.string
|
|
56
|
-
};
|
|
57
|
-
var bpfrpt_proptype_ParkHealthFundDocumentBody = {
|
|
58
|
-
workflowExceptionId: storage.PropTypes.string.isRequired,
|
|
59
|
-
note: storage.PropTypes.string
|
|
60
|
-
};
|
|
61
|
-
var bpfrpt_proptype_BusinessDocumentResponse = {
|
|
62
|
-
_id: storage.PropTypes.string.isRequired,
|
|
63
|
-
organisationId: storage.PropTypes.string.isRequired,
|
|
64
|
-
healthFund: storage.PropTypes.shape({
|
|
65
|
-
_id: storage.PropTypes.string.isRequired,
|
|
66
|
-
displayName: storage.PropTypes.string.isRequired
|
|
67
|
-
}).isRequired,
|
|
68
|
-
documentType: storage.PropTypes.string.isRequired,
|
|
69
|
-
documentId: storage.PropTypes.string.isRequired,
|
|
70
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
71
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
72
|
-
description: storage.PropTypes.string.isRequired,
|
|
73
|
-
visibilityRules: storage.PropTypes.shape({
|
|
74
|
-
businessRules: storage.PropTypes.shape({
|
|
75
|
-
modalityIds: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired,
|
|
76
|
-
states: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired
|
|
77
|
-
}).isRequired
|
|
78
|
-
}).isRequired,
|
|
79
|
-
status: storage.PropTypes.string.isRequired,
|
|
80
|
-
isPublished: storage.PropTypes.bool,
|
|
81
|
-
created: storage.PropTypes.string.isRequired,
|
|
82
|
-
modified: storage.PropTypes.string.isRequired
|
|
83
|
-
};
|
|
84
|
-
var bpfrpt_proptype_BusinessDocumentsResponse = {
|
|
85
|
-
meta: function meta() {
|
|
86
|
-
return (typeof bpfrpt_proptype_PaginationMeta === "function" ? bpfrpt_proptype_PaginationMeta.isRequired ? bpfrpt_proptype_PaginationMeta.isRequired : bpfrpt_proptype_PaginationMeta : storage.PropTypes.shape(bpfrpt_proptype_PaginationMeta).isRequired).apply(this, arguments);
|
|
87
|
-
},
|
|
88
|
-
items: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
89
|
-
_id: storage.PropTypes.string.isRequired,
|
|
90
|
-
organisationId: storage.PropTypes.string.isRequired,
|
|
91
|
-
healthFund: storage.PropTypes.shape({
|
|
92
|
-
_id: storage.PropTypes.string.isRequired,
|
|
93
|
-
displayName: storage.PropTypes.string.isRequired
|
|
94
|
-
}).isRequired,
|
|
95
|
-
documentType: storage.PropTypes.string.isRequired,
|
|
96
|
-
documentId: storage.PropTypes.string.isRequired,
|
|
97
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
98
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
99
|
-
description: storage.PropTypes.string.isRequired,
|
|
100
|
-
visibilityRules: storage.PropTypes.shape({
|
|
101
|
-
businessRules: storage.PropTypes.shape({
|
|
102
|
-
modalityIds: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired,
|
|
103
|
-
states: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired
|
|
104
|
-
}).isRequired
|
|
105
|
-
}).isRequired,
|
|
106
|
-
status: storage.PropTypes.string.isRequired,
|
|
107
|
-
isPublished: storage.PropTypes.bool,
|
|
108
|
-
created: storage.PropTypes.string.isRequired,
|
|
109
|
-
modified: storage.PropTypes.string.isRequired
|
|
110
|
-
}).isRequired).isRequired
|
|
111
|
-
};
|
|
112
|
-
var bpfrpt_proptype_HealthFundDocumentResponse = {
|
|
113
|
-
_id: storage.PropTypes.string.isRequired,
|
|
114
|
-
businessId: storage.PropTypes.string.isRequired,
|
|
115
|
-
organisationId: storage.PropTypes.string.isRequired,
|
|
116
|
-
healthFund: storage.PropTypes.shape({
|
|
117
|
-
_id: storage.PropTypes.string.isRequired,
|
|
118
|
-
displayName: storage.PropTypes.string.isRequired
|
|
119
|
-
}).isRequired,
|
|
120
|
-
funderId: storage.PropTypes.string.isRequired,
|
|
121
|
-
createdByStaffName: storage.PropTypes.string.isRequired,
|
|
122
|
-
documentNumber: storage.PropTypes.string.isRequired,
|
|
123
|
-
documentType: storage.PropTypes.string.isRequired,
|
|
124
|
-
documentId: storage.PropTypes.string.isRequired,
|
|
125
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
126
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
127
|
-
description: storage.PropTypes.string.isRequired,
|
|
128
|
-
visibilityRules: storage.PropTypes.shape({
|
|
129
|
-
businessRules: storage.PropTypes.shape({
|
|
130
|
-
modalityIds: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired,
|
|
131
|
-
states: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired
|
|
132
|
-
}).isRequired
|
|
133
|
-
}).isRequired,
|
|
134
|
-
practice: storage.PropTypes.shape({
|
|
135
|
-
_id: storage.PropTypes.string.isRequired,
|
|
136
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
137
|
-
abn: storage.PropTypes.string,
|
|
138
|
-
address: storage.PropTypes.string,
|
|
139
|
-
city: storage.PropTypes.string,
|
|
140
|
-
state: storage.PropTypes.string,
|
|
141
|
-
country: storage.PropTypes.string
|
|
142
|
-
}).isRequired,
|
|
143
|
-
workflowState: storage.PropTypes.string.isRequired,
|
|
144
|
-
assignedToAccountId: storage.PropTypes.string.isRequired,
|
|
145
|
-
assignedToUsername: storage.PropTypes.string.isRequired,
|
|
146
|
-
approvedByAccountId: storage.PropTypes.string.isRequired,
|
|
147
|
-
approvedByUsername: storage.PropTypes.string.isRequired,
|
|
148
|
-
approvedDate: storage.PropTypes.string.isRequired,
|
|
149
|
-
createdByAccountId: storage.PropTypes.string.isRequired,
|
|
150
|
-
createdByAccountUsername: storage.PropTypes.string.isRequired,
|
|
151
|
-
declinedDate: storage.PropTypes.string.isRequired,
|
|
152
|
-
status: storage.PropTypes.string.isRequired,
|
|
153
|
-
tags: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
154
|
-
_id: storage.PropTypes.string.isRequired,
|
|
155
|
-
workflowException: storage.PropTypes.shape({
|
|
156
|
-
_id: storage.PropTypes.string.isRequired,
|
|
157
|
-
code: storage.PropTypes.string.isRequired,
|
|
158
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
159
|
-
description: storage.PropTypes.string.isRequired
|
|
160
|
-
}).isRequired,
|
|
161
|
-
assignedByAccountId: storage.PropTypes.string.isRequired,
|
|
162
|
-
assignedByUsername: storage.PropTypes.string.isRequired,
|
|
163
|
-
notes: storage.PropTypes.string.isRequired
|
|
164
|
-
}).isRequired).isRequired,
|
|
165
|
-
isPublished: storage.PropTypes.bool,
|
|
166
|
-
created: storage.PropTypes.string.isRequired,
|
|
167
|
-
modified: storage.PropTypes.string.isRequired
|
|
168
|
-
};
|
|
169
|
-
var bpfrpt_proptype_HealthFundDocumentsResponse = {
|
|
170
|
-
meta: function meta() {
|
|
171
|
-
return (typeof bpfrpt_proptype_PaginationMeta === "function" ? bpfrpt_proptype_PaginationMeta.isRequired ? bpfrpt_proptype_PaginationMeta.isRequired : bpfrpt_proptype_PaginationMeta : storage.PropTypes.shape(bpfrpt_proptype_PaginationMeta).isRequired).apply(this, arguments);
|
|
172
|
-
},
|
|
173
|
-
items: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
174
|
-
_id: storage.PropTypes.string.isRequired,
|
|
175
|
-
businessId: storage.PropTypes.string.isRequired,
|
|
176
|
-
organisationId: storage.PropTypes.string.isRequired,
|
|
177
|
-
healthFund: storage.PropTypes.shape({
|
|
178
|
-
_id: storage.PropTypes.string.isRequired,
|
|
179
|
-
displayName: storage.PropTypes.string.isRequired
|
|
180
|
-
}).isRequired,
|
|
181
|
-
funderId: storage.PropTypes.string.isRequired,
|
|
182
|
-
createdByStaffName: storage.PropTypes.string.isRequired,
|
|
183
|
-
documentNumber: storage.PropTypes.string.isRequired,
|
|
184
|
-
documentType: storage.PropTypes.string.isRequired,
|
|
185
|
-
documentId: storage.PropTypes.string.isRequired,
|
|
186
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
187
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
188
|
-
description: storage.PropTypes.string.isRequired,
|
|
189
|
-
visibilityRules: storage.PropTypes.shape({
|
|
190
|
-
businessRules: storage.PropTypes.shape({
|
|
191
|
-
modalityIds: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired,
|
|
192
|
-
states: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired
|
|
193
|
-
}).isRequired
|
|
194
|
-
}).isRequired,
|
|
195
|
-
practice: storage.PropTypes.shape({
|
|
196
|
-
_id: storage.PropTypes.string.isRequired,
|
|
197
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
198
|
-
abn: storage.PropTypes.string,
|
|
199
|
-
address: storage.PropTypes.string,
|
|
200
|
-
city: storage.PropTypes.string,
|
|
201
|
-
state: storage.PropTypes.string,
|
|
202
|
-
country: storage.PropTypes.string
|
|
203
|
-
}).isRequired,
|
|
204
|
-
workflowState: storage.PropTypes.string.isRequired,
|
|
205
|
-
assignedToAccountId: storage.PropTypes.string.isRequired,
|
|
206
|
-
assignedToUsername: storage.PropTypes.string.isRequired,
|
|
207
|
-
approvedByAccountId: storage.PropTypes.string.isRequired,
|
|
208
|
-
approvedByUsername: storage.PropTypes.string.isRequired,
|
|
209
|
-
approvedDate: storage.PropTypes.string.isRequired,
|
|
210
|
-
createdByAccountId: storage.PropTypes.string.isRequired,
|
|
211
|
-
createdByAccountUsername: storage.PropTypes.string.isRequired,
|
|
212
|
-
declinedDate: storage.PropTypes.string.isRequired,
|
|
213
|
-
status: storage.PropTypes.string.isRequired,
|
|
214
|
-
tags: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
215
|
-
_id: storage.PropTypes.string.isRequired,
|
|
216
|
-
workflowException: storage.PropTypes.shape({
|
|
217
|
-
_id: storage.PropTypes.string.isRequired,
|
|
218
|
-
code: storage.PropTypes.string.isRequired,
|
|
219
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
220
|
-
description: storage.PropTypes.string.isRequired
|
|
221
|
-
}).isRequired,
|
|
222
|
-
assignedByAccountId: storage.PropTypes.string.isRequired,
|
|
223
|
-
assignedByUsername: storage.PropTypes.string.isRequired,
|
|
224
|
-
notes: storage.PropTypes.string.isRequired
|
|
225
|
-
}).isRequired).isRequired,
|
|
226
|
-
isPublished: storage.PropTypes.bool,
|
|
227
|
-
created: storage.PropTypes.string.isRequired,
|
|
228
|
-
modified: storage.PropTypes.string.isRequired
|
|
229
|
-
}).isRequired).isRequired
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
var bpfrpt_proptype_ApplyForBusinessFormRequestBody = {
|
|
233
|
-
practiceIds: storage.PropTypes.arrayOf(storage.PropTypes.string).isRequired,
|
|
234
|
-
subsections: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
235
|
-
_id: storage.PropTypes.string.isRequired,
|
|
236
|
-
value: storage.PropTypes.string.isRequired
|
|
237
|
-
})),
|
|
238
|
-
files: storage.PropTypes.arrayOf(storage.PropTypes.object.isRequired)
|
|
239
|
-
};
|
|
240
|
-
var bpfrpt_proptype_CreateHealthFundFormRequestBody = {
|
|
241
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
242
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
243
|
-
description: storage.PropTypes.string,
|
|
244
|
-
logoUrl: storage.PropTypes.string,
|
|
245
|
-
visibilityRules: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
246
|
-
businessRules: storage.PropTypes.shape({
|
|
247
|
-
modalityIds: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired,
|
|
248
|
-
states: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired).isRequired
|
|
249
|
-
}).isRequired
|
|
250
|
-
}).isRequired).isRequired,
|
|
251
|
-
sections: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
252
|
-
heading: storage.PropTypes.string.isRequired,
|
|
253
|
-
description: storage.PropTypes.string,
|
|
254
|
-
links: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
255
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
256
|
-
url: storage.PropTypes.string.isRequired
|
|
257
|
-
}).isRequired),
|
|
258
|
-
files: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
259
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
260
|
-
url: storage.PropTypes.string.isRequired,
|
|
261
|
-
contentType: storage.PropTypes.string.isRequired
|
|
262
|
-
}).isRequired)
|
|
263
|
-
}).isRequired).isRequired,
|
|
264
|
-
scannedApplication: storage.PropTypes.bool.isRequired
|
|
265
|
-
};
|
|
266
|
-
var bpfrpt_proptype_GetHealthFundFormUploadUrlQuery = {
|
|
267
|
-
contentType: storage.PropTypes.string.isRequired,
|
|
268
|
-
fileName: storage.PropTypes.string.isRequired
|
|
269
|
-
};
|
|
270
|
-
var bpfrpt_proptype_UpdateHealthFundFormRequestBody = {
|
|
271
|
-
fullName: storage.PropTypes.string,
|
|
272
|
-
displayName: storage.PropTypes.string,
|
|
273
|
-
description: storage.PropTypes.string,
|
|
274
|
-
logoUrl: storage.PropTypes.string,
|
|
275
|
-
visibilityRules: storage.PropTypes.shape({
|
|
276
|
-
businessRules: storage.PropTypes.shape({
|
|
277
|
-
modalityIds: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired),
|
|
278
|
-
states: storage.PropTypes.arrayOf(storage.PropTypes.string.isRequired)
|
|
279
|
-
})
|
|
280
|
-
}),
|
|
281
|
-
sections: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
282
|
-
heading: storage.PropTypes.string,
|
|
283
|
-
description: storage.PropTypes.string,
|
|
284
|
-
links: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
285
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
286
|
-
url: storage.PropTypes.string.isRequired
|
|
287
|
-
}).isRequired),
|
|
288
|
-
files: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
289
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
290
|
-
url: storage.PropTypes.string.isRequired,
|
|
291
|
-
contentType: storage.PropTypes.string.isRequired
|
|
292
|
-
}).isRequired)
|
|
293
|
-
}).isRequired)
|
|
294
|
-
};
|
|
295
|
-
|
|
296
|
-
var bpfrpt_proptype_GetBusinessMessageMappingsQuery = {
|
|
297
|
-
type: storage.PropTypes.string
|
|
298
|
-
};
|
|
299
|
-
var bpfrpt_proptype_GetBusinessMessageMappingsResponse = {
|
|
300
|
-
meta: function meta() {
|
|
301
|
-
return (typeof bpfrpt_proptype_PaginationMeta === "function" ? bpfrpt_proptype_PaginationMeta.isRequired ? bpfrpt_proptype_PaginationMeta.isRequired : bpfrpt_proptype_PaginationMeta : storage.PropTypes.shape(bpfrpt_proptype_PaginationMeta).isRequired).apply(this, arguments);
|
|
302
|
-
},
|
|
303
|
-
items: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
304
|
-
_id: storage.PropTypes.string.isRequired,
|
|
305
|
-
refId: storage.PropTypes.string.isRequired,
|
|
306
|
-
refMessage: storage.PropTypes.string.isRequired,
|
|
307
|
-
created: storage.PropTypes.string.isRequired,
|
|
308
|
-
modified: storage.PropTypes.string.isRequired
|
|
309
|
-
}).isRequired).isRequired
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
var bpfrpt_proptype_CreateNoteRequestBody = {
|
|
313
|
-
note: storage.PropTypes.string.isRequired
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
var bpfrpt_proptype_ProductResponse = {
|
|
317
|
-
_id: storage.PropTypes.string.isRequired,
|
|
318
|
-
organisationId: storage.PropTypes.string.isRequired,
|
|
319
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
320
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
321
|
-
description: storage.PropTypes.string.isRequired,
|
|
322
|
-
defaultBilling: storage.PropTypes.shape({
|
|
323
|
-
currencyCode: storage.PropTypes.string.isRequired,
|
|
324
|
-
frequency: storage.PropTypes.string.isRequired,
|
|
325
|
-
amountFee: storage.PropTypes.number.isRequired,
|
|
326
|
-
amountFeeString: storage.PropTypes.string.isRequired,
|
|
327
|
-
amountCharged: storage.PropTypes.number.isRequired,
|
|
328
|
-
amountChargedString: storage.PropTypes.string.isRequired,
|
|
329
|
-
strategy: storage.PropTypes.string.isRequired
|
|
330
|
-
}).isRequired,
|
|
331
|
-
features: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
332
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
333
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
334
|
-
description: storage.PropTypes.string.isRequired
|
|
335
|
-
}).isRequired).isRequired,
|
|
336
|
-
phasedOut: storage.PropTypes.string.isRequired,
|
|
337
|
-
created: storage.PropTypes.string.isRequired,
|
|
338
|
-
modified: storage.PropTypes.string.isRequired
|
|
339
|
-
};
|
|
340
|
-
var bpfrpt_proptype_ProductsResponse = {
|
|
341
|
-
meta: function meta() {
|
|
342
|
-
return (typeof bpfrpt_proptype_PaginationMeta === "function" ? bpfrpt_proptype_PaginationMeta.isRequired ? bpfrpt_proptype_PaginationMeta.isRequired : bpfrpt_proptype_PaginationMeta : storage.PropTypes.shape(bpfrpt_proptype_PaginationMeta).isRequired).apply(this, arguments);
|
|
343
|
-
},
|
|
344
|
-
items: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
345
|
-
_id: storage.PropTypes.string.isRequired,
|
|
346
|
-
organisationId: storage.PropTypes.string.isRequired,
|
|
347
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
348
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
349
|
-
description: storage.PropTypes.string.isRequired,
|
|
350
|
-
defaultBilling: storage.PropTypes.shape({
|
|
351
|
-
currencyCode: storage.PropTypes.string.isRequired,
|
|
352
|
-
frequency: storage.PropTypes.string.isRequired,
|
|
353
|
-
amountFee: storage.PropTypes.number.isRequired,
|
|
354
|
-
amountFeeString: storage.PropTypes.string.isRequired,
|
|
355
|
-
amountCharged: storage.PropTypes.number.isRequired,
|
|
356
|
-
amountChargedString: storage.PropTypes.string.isRequired,
|
|
357
|
-
strategy: storage.PropTypes.string.isRequired
|
|
358
|
-
}).isRequired,
|
|
359
|
-
features: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
360
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
361
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
362
|
-
description: storage.PropTypes.string.isRequired
|
|
363
|
-
}).isRequired).isRequired,
|
|
364
|
-
phasedOut: storage.PropTypes.string.isRequired,
|
|
365
|
-
created: storage.PropTypes.string.isRequired,
|
|
366
|
-
modified: storage.PropTypes.string.isRequired
|
|
367
|
-
}).isRequired).isRequired
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
var bpfrpt_proptype_GetProfessionalCategoriesQuery = {
|
|
371
|
-
searchText: storage.PropTypes.string
|
|
372
|
-
};
|
|
373
|
-
var bpfrpt_proptype_ProfessionalCategoryResponse = {
|
|
374
|
-
_id: storage.PropTypes.string.isRequired,
|
|
375
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
376
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
377
|
-
description: storage.PropTypes.string.isRequired,
|
|
378
|
-
created: storage.PropTypes.string.isRequired,
|
|
379
|
-
modified: storage.PropTypes.string.isRequired
|
|
380
|
-
};
|
|
381
|
-
var bpfrpt_proptype_ProfessionalCategoriesResponse = {
|
|
382
|
-
meta: function meta() {
|
|
383
|
-
return (typeof bpfrpt_proptype_PaginationMeta === "function" ? bpfrpt_proptype_PaginationMeta.isRequired ? bpfrpt_proptype_PaginationMeta.isRequired : bpfrpt_proptype_PaginationMeta : storage.PropTypes.shape(bpfrpt_proptype_PaginationMeta).isRequired).apply(this, arguments);
|
|
384
|
-
},
|
|
385
|
-
items: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
386
|
-
_id: storage.PropTypes.string.isRequired,
|
|
387
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
388
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
389
|
-
description: storage.PropTypes.string.isRequired,
|
|
390
|
-
created: storage.PropTypes.string.isRequired,
|
|
391
|
-
modified: storage.PropTypes.string.isRequired
|
|
392
|
-
}).isRequired).isRequired
|
|
393
|
-
};
|
|
394
|
-
|
|
395
|
-
var bpfrpt_proptype_GetSpecialtiesQuery = {
|
|
396
|
-
professionalCategoryId: storage.PropTypes.string,
|
|
397
|
-
searchText: storage.PropTypes.string
|
|
398
|
-
};
|
|
399
|
-
var bpfrpt_proptype_SpecialtyResponse = {
|
|
400
|
-
_id: storage.PropTypes.string.isRequired,
|
|
401
|
-
professionalCategoryId: storage.PropTypes.string.isRequired,
|
|
402
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
403
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
404
|
-
description: storage.PropTypes.string.isRequired,
|
|
405
|
-
created: storage.PropTypes.string.isRequired,
|
|
406
|
-
modified: storage.PropTypes.string.isRequired
|
|
407
|
-
};
|
|
408
|
-
var bpfrpt_proptype_SpecialtiesResponse = {
|
|
409
|
-
meta: function meta() {
|
|
410
|
-
return (typeof bpfrpt_proptype_PaginationMeta === "function" ? bpfrpt_proptype_PaginationMeta.isRequired ? bpfrpt_proptype_PaginationMeta.isRequired : bpfrpt_proptype_PaginationMeta : storage.PropTypes.shape(bpfrpt_proptype_PaginationMeta).isRequired).apply(this, arguments);
|
|
411
|
-
},
|
|
412
|
-
items: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
413
|
-
_id: storage.PropTypes.string.isRequired,
|
|
414
|
-
professionalCategoryId: storage.PropTypes.string.isRequired,
|
|
415
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
416
|
-
displayName: storage.PropTypes.string.isRequired,
|
|
417
|
-
description: storage.PropTypes.string.isRequired,
|
|
418
|
-
created: storage.PropTypes.string.isRequired,
|
|
419
|
-
modified: storage.PropTypes.string.isRequired
|
|
420
|
-
}).isRequired).isRequired
|
|
421
|
-
};
|
|
422
|
-
|
|
423
|
-
var bpfrpt_proptype_CreateBusinessSubscriptionBody = {
|
|
424
|
-
productId: storage.PropTypes.string.isRequired,
|
|
425
|
-
paymentMethodId: storage.PropTypes.string.isRequired
|
|
426
|
-
};
|
|
427
|
-
var bpfrpt_proptype_UpdateBusinessSubscriptionBody = {
|
|
428
|
-
paymentMethodId: storage.PropTypes.string,
|
|
429
|
-
promotionCode: storage.PropTypes.string
|
|
430
|
-
};
|
|
431
|
-
var bpfrpt_proptype_SubscriptionResponse = {
|
|
432
|
-
_id: storage.PropTypes.string.isRequired,
|
|
433
|
-
organisationId: storage.PropTypes.string.isRequired,
|
|
434
|
-
businessId: storage.PropTypes.string.isRequired,
|
|
435
|
-
product: storage.PropTypes.shape({
|
|
436
|
-
_id: storage.PropTypes.string.isRequired,
|
|
437
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
438
|
-
displayName: storage.PropTypes.string.isRequired
|
|
439
|
-
}).isRequired,
|
|
440
|
-
paymentMethod: storage.PropTypes.shape({
|
|
441
|
-
_id: storage.PropTypes.string.isRequired,
|
|
442
|
-
methodType: storage.PropTypes.string.isRequired,
|
|
443
|
-
source: storage.PropTypes.string.isRequired,
|
|
444
|
-
cardType: storage.PropTypes.string.isRequired,
|
|
445
|
-
lastFour: storage.PropTypes.string.isRequired
|
|
446
|
-
}).isRequired,
|
|
447
|
-
startDate: storage.PropTypes.string.isRequired,
|
|
448
|
-
endDate: storage.PropTypes.string.isRequired,
|
|
449
|
-
nextBillingDate: storage.PropTypes.string.isRequired,
|
|
450
|
-
status: storage.PropTypes.string.isRequired,
|
|
451
|
-
billing: storage.PropTypes.shape({
|
|
452
|
-
currencyCode: storage.PropTypes.string.isRequired,
|
|
453
|
-
frequency: storage.PropTypes.string.isRequired,
|
|
454
|
-
amountFee: storage.PropTypes.number.isRequired,
|
|
455
|
-
amountFeeString: storage.PropTypes.string.isRequired,
|
|
456
|
-
amountCharged: storage.PropTypes.number.isRequired,
|
|
457
|
-
amountChargedString: storage.PropTypes.string.isRequired,
|
|
458
|
-
amountDiscount: storage.PropTypes.number.isRequired,
|
|
459
|
-
amountDiscountString: storage.PropTypes.string.isRequired,
|
|
460
|
-
strategy: storage.PropTypes.string.isRequired
|
|
461
|
-
}).isRequired,
|
|
462
|
-
created: storage.PropTypes.string.isRequired,
|
|
463
|
-
modified: storage.PropTypes.string.isRequired
|
|
464
|
-
};
|
|
465
|
-
var bpfrpt_proptype_SubscriptionsResponse = {
|
|
466
|
-
meta: function meta() {
|
|
467
|
-
return (typeof bpfrpt_proptype_PaginationMeta === "function" ? bpfrpt_proptype_PaginationMeta.isRequired ? bpfrpt_proptype_PaginationMeta.isRequired : bpfrpt_proptype_PaginationMeta : storage.PropTypes.shape(bpfrpt_proptype_PaginationMeta).isRequired).apply(this, arguments);
|
|
468
|
-
},
|
|
469
|
-
items: storage.PropTypes.arrayOf(storage.PropTypes.shape({
|
|
470
|
-
_id: storage.PropTypes.string.isRequired,
|
|
471
|
-
organisationId: storage.PropTypes.string.isRequired,
|
|
472
|
-
businessId: storage.PropTypes.string.isRequired,
|
|
473
|
-
product: storage.PropTypes.shape({
|
|
474
|
-
_id: storage.PropTypes.string.isRequired,
|
|
475
|
-
fullName: storage.PropTypes.string.isRequired,
|
|
476
|
-
displayName: storage.PropTypes.string.isRequired
|
|
477
|
-
}).isRequired,
|
|
478
|
-
paymentMethod: storage.PropTypes.shape({
|
|
479
|
-
_id: storage.PropTypes.string.isRequired,
|
|
480
|
-
methodType: storage.PropTypes.string.isRequired,
|
|
481
|
-
source: storage.PropTypes.string.isRequired,
|
|
482
|
-
cardType: storage.PropTypes.string.isRequired,
|
|
483
|
-
lastFour: storage.PropTypes.string.isRequired
|
|
484
|
-
}).isRequired,
|
|
485
|
-
startDate: storage.PropTypes.string.isRequired,
|
|
486
|
-
endDate: storage.PropTypes.string.isRequired,
|
|
487
|
-
nextBillingDate: storage.PropTypes.string.isRequired,
|
|
488
|
-
status: storage.PropTypes.string.isRequired,
|
|
489
|
-
billing: storage.PropTypes.shape({
|
|
490
|
-
currencyCode: storage.PropTypes.string.isRequired,
|
|
491
|
-
frequency: storage.PropTypes.string.isRequired,
|
|
492
|
-
amountFee: storage.PropTypes.number.isRequired,
|
|
493
|
-
amountFeeString: storage.PropTypes.string.isRequired,
|
|
494
|
-
amountCharged: storage.PropTypes.number.isRequired,
|
|
495
|
-
amountChargedString: storage.PropTypes.string.isRequired,
|
|
496
|
-
amountDiscount: storage.PropTypes.number.isRequired,
|
|
497
|
-
amountDiscountString: storage.PropTypes.string.isRequired,
|
|
498
|
-
strategy: storage.PropTypes.string.isRequired
|
|
499
|
-
}).isRequired,
|
|
500
|
-
created: storage.PropTypes.string.isRequired,
|
|
501
|
-
modified: storage.PropTypes.string.isRequired
|
|
502
|
-
}).isRequired).isRequired
|
|
503
|
-
};
|
|
504
|
-
|
|
505
|
-
var _bpfrpt_proptype_Pagi;
|
|
506
|
-
var bpfrpt_proptype_MedipassRequestOpts = {
|
|
507
|
-
baseUrl: storage.PropTypes.string,
|
|
508
|
-
hyperMediaEndpoint: storage.PropTypes.string,
|
|
509
|
-
path: storage.PropTypes.string,
|
|
510
|
-
requestConfig: storage.PropTypes.object,
|
|
511
|
-
apiName: storage.PropTypes.string,
|
|
512
|
-
asSuperAdmin: storage.PropTypes.bool,
|
|
513
|
-
getFullError: storage.PropTypes.bool,
|
|
514
|
-
getFullResponse: storage.PropTypes.bool,
|
|
515
|
-
tokenType: storage.PropTypes.string,
|
|
516
|
-
ver: storage.PropTypes.string
|
|
517
|
-
};
|
|
518
|
-
var bpfrpt_proptype_PaginationMeta = (_bpfrpt_proptype_Pagi = {
|
|
519
|
-
count: storage.PropTypes.number.isRequired,
|
|
520
|
-
totalCount: storage.PropTypes.number.isRequired,
|
|
521
|
-
pageCount: storage.PropTypes.number.isRequired,
|
|
522
|
-
self: storage.PropTypes.string,
|
|
523
|
-
previous: storage.PropTypes.string,
|
|
524
|
-
next: storage.PropTypes.string
|
|
525
|
-
}, _bpfrpt_proptype_Pagi["previous"] = storage.PropTypes.string, _bpfrpt_proptype_Pagi.first = storage.PropTypes.string, _bpfrpt_proptype_Pagi.last = storage.PropTypes.string, _bpfrpt_proptype_Pagi);
|
|
526
|
-
var bpfrpt_proptype_PaginatedQuery = {
|
|
527
|
-
limit: storage.PropTypes.number,
|
|
528
|
-
page: storage.PropTypes.number
|
|
529
|
-
};
|
|
530
|
-
var bpfrpt_proptype_SetupOpts = {
|
|
531
|
-
baseUrls: storage.PropTypes.object,
|
|
532
|
-
defaultVersion: storage.PropTypes.string,
|
|
533
|
-
appId: storage.PropTypes.string,
|
|
534
|
-
apiVer: storage.PropTypes.string,
|
|
535
|
-
apiVersions: storage.PropTypes.object,
|
|
536
|
-
env: storage.PropTypes.string
|
|
537
|
-
};
|
|
538
|
-
|
|
539
41
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
540
42
|
|
|
541
43
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
542
44
|
var DEFAULT_API_NAME = 'core';
|
|
543
45
|
|
|
544
46
|
var getBaseUrl = function getBaseUrl(apiName, requestOpts) {
|
|
545
|
-
return requestOpts.baseUrl || _get(
|
|
47
|
+
return requestOpts.baseUrl || _get(sdkClient, "baseUrls[" + apiName + "]");
|
|
546
48
|
};
|
|
547
49
|
|
|
548
50
|
var getVersion = function getVersion(apiName, requestOpts) {
|
|
549
|
-
return requestOpts.ver || _get(
|
|
51
|
+
return requestOpts.ver || _get(sdkClient, "apiVersions[" + apiName + "]") || sdkClient.defaultVersion;
|
|
550
52
|
};
|
|
551
53
|
|
|
552
54
|
var request = /*#__PURE__*/(function () {
|
|
@@ -565,7 +67,7 @@ var request = /*#__PURE__*/(function () {
|
|
|
565
67
|
baseUrl = getBaseUrl(apiName, medipassRequestOpts);
|
|
566
68
|
_context.prev = 4;
|
|
567
69
|
_context.next = 7;
|
|
568
|
-
return
|
|
70
|
+
return sdkClient.axios( // $FlowFixMe
|
|
569
71
|
medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread({}, axiosRequestOpts, {}, medipassRequestOpts.requestConfig));
|
|
570
72
|
|
|
571
73
|
case 7:
|
|
@@ -959,10 +461,12 @@ var requestPasswordReset = /*#__PURE__*/function () {
|
|
|
959
461
|
};
|
|
960
462
|
|
|
961
463
|
if (email) {
|
|
464
|
+
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
962
465
|
data = _objectSpread$1({}, data, {
|
|
963
466
|
email: email
|
|
964
467
|
});
|
|
965
468
|
} else if (accountId) {
|
|
469
|
+
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
966
470
|
data = _objectSpread$1({}, data, {
|
|
967
471
|
accountId: accountId
|
|
968
472
|
});
|
|
@@ -1012,10 +516,12 @@ var requestMobileReset = /*#__PURE__*/function () {
|
|
|
1012
516
|
};
|
|
1013
517
|
|
|
1014
518
|
if (email) {
|
|
519
|
+
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
1015
520
|
data = _objectSpread$1({}, data, {
|
|
1016
521
|
email: email
|
|
1017
522
|
});
|
|
1018
523
|
} else if (accountId) {
|
|
524
|
+
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
1019
525
|
data = _objectSpread$1({}, data, {
|
|
1020
526
|
accountId: accountId
|
|
1021
527
|
});
|
|
@@ -1374,8 +880,8 @@ var getAccount = /*#__PURE__*/function () {
|
|
|
1374
880
|
case 4:
|
|
1375
881
|
account = _context18.sent;
|
|
1376
882
|
|
|
1377
|
-
if (accountId === _get(
|
|
1378
|
-
|
|
883
|
+
if (accountId === _get(sdkClient, 'account._id')) {
|
|
884
|
+
sdkClient.setAccount(account);
|
|
1379
885
|
}
|
|
1380
886
|
|
|
1381
887
|
return _context18.abrupt("return", account);
|
|
@@ -1817,8 +1323,8 @@ var updateAccount = /*#__PURE__*/function () {
|
|
|
1817
1323
|
case 4:
|
|
1818
1324
|
account = _context29.sent;
|
|
1819
1325
|
|
|
1820
|
-
if (accountId === _get(
|
|
1821
|
-
|
|
1326
|
+
if (accountId === _get(sdkClient, 'account._id')) {
|
|
1327
|
+
sdkClient.setAccount(account);
|
|
1822
1328
|
}
|
|
1823
1329
|
|
|
1824
1330
|
return _context29.abrupt("return", account);
|
|
@@ -2829,8 +2335,8 @@ var getMember = /*#__PURE__*/function () {
|
|
|
2829
2335
|
case 4:
|
|
2830
2336
|
member = _context13.sent;
|
|
2831
2337
|
|
|
2832
|
-
if (memberId === _get(
|
|
2833
|
-
|
|
2338
|
+
if (memberId === _get(sdkClient, 'member._id')) {
|
|
2339
|
+
sdkClient.setMember(member);
|
|
2834
2340
|
}
|
|
2835
2341
|
|
|
2836
2342
|
return _context13.abrupt("return", member);
|
|
@@ -2879,8 +2385,8 @@ var updateMember = /*#__PURE__*/function () {
|
|
|
2879
2385
|
case 4:
|
|
2880
2386
|
member = _context14.sent;
|
|
2881
2387
|
|
|
2882
|
-
if (memberId === _get(
|
|
2883
|
-
|
|
2388
|
+
if (memberId === _get(sdkClient, 'member._id')) {
|
|
2389
|
+
sdkClient.setMember(member);
|
|
2884
2390
|
}
|
|
2885
2391
|
|
|
2886
2392
|
return _context14.abrupt("return", member);
|
|
@@ -2944,8 +2450,8 @@ var setupAccountResources = /*#__PURE__*/function () {
|
|
|
2944
2450
|
while (1) {
|
|
2945
2451
|
switch (_context.prev = _context.next) {
|
|
2946
2452
|
case 0:
|
|
2947
|
-
storage.
|
|
2948
|
-
|
|
2453
|
+
storage.default.onboardingStatus.remove();
|
|
2454
|
+
sdkClient.setAccount(account); // Check if the account has a member attached to it.
|
|
2949
2455
|
|
|
2950
2456
|
ownerMemberId = account.ownerMemberId;
|
|
2951
2457
|
|
|
@@ -2959,7 +2465,7 @@ var setupAccountResources = /*#__PURE__*/function () {
|
|
|
2959
2465
|
|
|
2960
2466
|
case 6:
|
|
2961
2467
|
member = _context.sent;
|
|
2962
|
-
|
|
2468
|
+
sdkClient.setMember(member);
|
|
2963
2469
|
return _context.abrupt("return", _objectSpread$6({}, account, {
|
|
2964
2470
|
_member: member
|
|
2965
2471
|
}));
|
|
@@ -3010,6 +2516,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3010
2516
|
}, body);
|
|
3011
2517
|
|
|
3012
2518
|
if (password) {
|
|
2519
|
+
// @ts-expect-error TS(2339): Property 'password' does not exist on type '{ emai... Remove this comment to see the full error message
|
|
3013
2520
|
data.password = password;
|
|
3014
2521
|
} // $FlowFixMe
|
|
3015
2522
|
|
|
@@ -3032,15 +2539,15 @@ var login = /*#__PURE__*/function () {
|
|
|
3032
2539
|
break;
|
|
3033
2540
|
}
|
|
3034
2541
|
|
|
3035
|
-
|
|
2542
|
+
sdkClient.clearTokens();
|
|
3036
2543
|
throw {
|
|
3037
2544
|
response: 'You need to be a super admin to log in!'
|
|
3038
2545
|
};
|
|
3039
2546
|
|
|
3040
2547
|
case 11:
|
|
3041
2548
|
if (isSuperAdmin) {
|
|
3042
|
-
|
|
3043
|
-
storage.
|
|
2549
|
+
sdkClient.isSuperAdmin = isSuperAdmin;
|
|
2550
|
+
storage.default.set('isSuperAdmin', isSuperAdmin);
|
|
3044
2551
|
}
|
|
3045
2552
|
|
|
3046
2553
|
_context2.next = 14;
|
|
@@ -3075,9 +2582,9 @@ var loginWithToken = /*#__PURE__*/function () {
|
|
|
3075
2582
|
while (1) {
|
|
3076
2583
|
switch (_context3.prev = _context3.next) {
|
|
3077
2584
|
case 0:
|
|
3078
|
-
|
|
2585
|
+
sdkClient.setToken(token);
|
|
3079
2586
|
_context3.next = 3;
|
|
3080
|
-
return
|
|
2587
|
+
return sdkClient.accounts.getAccount(accountId);
|
|
3081
2588
|
|
|
3082
2589
|
case 3:
|
|
3083
2590
|
account = _context3.sent;
|
|
@@ -3160,7 +2667,7 @@ var logout = /*#__PURE__*/function () {
|
|
|
3160
2667
|
|
|
3161
2668
|
case 2:
|
|
3162
2669
|
res = _context5.sent;
|
|
3163
|
-
|
|
2670
|
+
sdkClient.removeStorage();
|
|
3164
2671
|
return _context5.abrupt("return", res);
|
|
3165
2672
|
|
|
3166
2673
|
case 5:
|
|
@@ -3375,7 +2882,7 @@ var createShortLivedToken = /*#__PURE__*/function () {
|
|
|
3375
2882
|
doesParamExist.default({
|
|
3376
2883
|
apiKey: apiKey
|
|
3377
2884
|
}, opts.hyperMediaEndpoint);
|
|
3378
|
-
|
|
2885
|
+
sdkClient.setToken("Bearer " + apiKey);
|
|
3379
2886
|
_context10.next = 5;
|
|
3380
2887
|
return request(_objectSpread$6({}, opts, {
|
|
3381
2888
|
path: PATH__AUTH_TOKEN
|
|
@@ -4550,8 +4057,8 @@ var registerDevice = /*#__PURE__*/function () {
|
|
|
4550
4057
|
|
|
4551
4058
|
case 6:
|
|
4552
4059
|
data = _context.sent;
|
|
4553
|
-
|
|
4554
|
-
storage.
|
|
4060
|
+
sdkClient.device = data;
|
|
4061
|
+
storage.default.set('device', data);
|
|
4555
4062
|
return _context.abrupt("return", data);
|
|
4556
4063
|
|
|
4557
4064
|
case 10:
|
|
@@ -4570,7 +4077,7 @@ var registerDevice = /*#__PURE__*/function () {
|
|
|
4570
4077
|
});
|
|
4571
4078
|
|
|
4572
4079
|
case 17:
|
|
4573
|
-
_data =
|
|
4080
|
+
_data = sdkClient.device;
|
|
4574
4081
|
|
|
4575
4082
|
case 18:
|
|
4576
4083
|
if (!_data) {
|
|
@@ -4604,7 +4111,7 @@ var getDeviceId = /*#__PURE__*/function () {
|
|
|
4604
4111
|
while (1) {
|
|
4605
4112
|
switch (_context2.prev = _context2.next) {
|
|
4606
4113
|
case 0:
|
|
4607
|
-
device =
|
|
4114
|
+
device = sdkClient.device || storage.default.get('device');
|
|
4608
4115
|
|
|
4609
4116
|
if (!(!device || !device.deviceId)) {
|
|
4610
4117
|
_context2.next = 6;
|
|
@@ -6781,6 +6288,7 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6781
6288
|
case 0:
|
|
6782
6289
|
if (opts === void 0) {
|
|
6783
6290
|
opts = {
|
|
6291
|
+
// @ts-expect-error TS(2322): Type '{ trustedProviders: boolean; }' is not assig... Remove this comment to see the full error message
|
|
6784
6292
|
trustedProviders: true
|
|
6785
6293
|
};
|
|
6786
6294
|
}
|
|
@@ -6866,6 +6374,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
6866
6374
|
|
|
6867
6375
|
if (opts === void 0) {
|
|
6868
6376
|
opts = {
|
|
6377
|
+
// @ts-expect-error TS(2322): Type '{ trustedProviders: boolean; }' is not assig... Remove this comment to see the full error message
|
|
6869
6378
|
trustedProviders: true
|
|
6870
6379
|
};
|
|
6871
6380
|
}
|
|
@@ -6913,6 +6422,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
6913
6422
|
|
|
6914
6423
|
if (opts === void 0) {
|
|
6915
6424
|
opts = {
|
|
6425
|
+
// @ts-expect-error TS(2322): Type '{ trustedProviders: boolean; }' is not assig... Remove this comment to see the full error message
|
|
6916
6426
|
trustedProviders: true
|
|
6917
6427
|
};
|
|
6918
6428
|
}
|
|
@@ -7033,7 +6543,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
7033
6543
|
opts = {};
|
|
7034
6544
|
}
|
|
7035
6545
|
|
|
7036
|
-
accountId =
|
|
6546
|
+
accountId = sdkClient.accountId || '';
|
|
7037
6547
|
doesParamExist.default({
|
|
7038
6548
|
accountId: accountId
|
|
7039
6549
|
}, opts.hyperMediaEndpoint);
|
|
@@ -7343,7 +6853,7 @@ var getMedicareHealthFund = /*#__PURE__*/function () {
|
|
|
7343
6853
|
}
|
|
7344
6854
|
|
|
7345
6855
|
_context9.next = 3;
|
|
7346
|
-
return
|
|
6856
|
+
return sdkClient.funders.getFunders(opts);
|
|
7347
6857
|
|
|
7348
6858
|
case 3:
|
|
7349
6859
|
funders = _context9.sent;
|
|
@@ -7463,7 +6973,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
7463
6973
|
|
|
7464
6974
|
if (opts === void 0) {
|
|
7465
6975
|
opts = {
|
|
7466
|
-
ver:
|
|
6976
|
+
ver: sdkClient.defaultVersion
|
|
7467
6977
|
};
|
|
7468
6978
|
}
|
|
7469
6979
|
|
|
@@ -7505,7 +7015,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
7505
7015
|
|
|
7506
7016
|
if (opts === void 0) {
|
|
7507
7017
|
opts = {
|
|
7508
|
-
ver:
|
|
7018
|
+
ver: sdkClient.defaultVersion
|
|
7509
7019
|
};
|
|
7510
7020
|
}
|
|
7511
7021
|
|
|
@@ -8431,7 +7941,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
8431
7941
|
case 0:
|
|
8432
7942
|
if (opts === void 0) {
|
|
8433
7943
|
opts = {
|
|
8434
|
-
ver:
|
|
7944
|
+
ver: sdkClient.defaultVersion
|
|
8435
7945
|
};
|
|
8436
7946
|
}
|
|
8437
7947
|
|
|
@@ -8474,7 +7984,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
8474
7984
|
|
|
8475
7985
|
if (opts === void 0) {
|
|
8476
7986
|
opts = {
|
|
8477
|
-
ver:
|
|
7987
|
+
ver: sdkClient.defaultVersion
|
|
8478
7988
|
};
|
|
8479
7989
|
}
|
|
8480
7990
|
|
|
@@ -8511,7 +8021,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
8511
8021
|
case 0:
|
|
8512
8022
|
if (opts === void 0) {
|
|
8513
8023
|
opts = {
|
|
8514
|
-
ver:
|
|
8024
|
+
ver: sdkClient.defaultVersion
|
|
8515
8025
|
};
|
|
8516
8026
|
}
|
|
8517
8027
|
|
|
@@ -10889,7 +10399,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10889
10399
|
break;
|
|
10890
10400
|
}
|
|
10891
10401
|
|
|
10892
|
-
//
|
|
10402
|
+
// @ts-expect-error TS(2304): Cannot find name 'HostedForm'.
|
|
10893
10403
|
paymentSession = HostedForm; // eslint-disable-line no-undef
|
|
10894
10404
|
|
|
10895
10405
|
if (paymentSession) {
|
|
@@ -11045,7 +10555,8 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
11045
10555
|
label: 'Medipass Payment',
|
|
11046
10556
|
amount: amount.replace('$', '')
|
|
11047
10557
|
}
|
|
11048
|
-
});
|
|
10558
|
+
}); // @ts-expect-error TS(2339): Property 'ApplePaySession' does not exist on type ... Remove this comment to see the full error message
|
|
10559
|
+
|
|
11049
10560
|
_context20.next = 69;
|
|
11050
10561
|
return window.ApplePaySession.canMakePaymentsWithActiveCard(applePayInstance.merchantIdentifier);
|
|
11051
10562
|
|
|
@@ -13672,7 +13183,7 @@ var addPaymentMethodToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13672
13183
|
}
|
|
13673
13184
|
|
|
13674
13185
|
_context16.next = 7;
|
|
13675
|
-
return
|
|
13186
|
+
return sdkClient.payments.getNonce({
|
|
13676
13187
|
cardNumber: data.cardNumber,
|
|
13677
13188
|
expiry: data.expiry,
|
|
13678
13189
|
cvc: data.cvc,
|
|
@@ -13690,7 +13201,7 @@ var addPaymentMethodToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13690
13201
|
}
|
|
13691
13202
|
|
|
13692
13203
|
_context16.next = 13;
|
|
13693
|
-
return
|
|
13204
|
+
return sdkClient.payments.createAccountPaymentMethod(selfCheckoutSession.accountId, nonce, source, opts);
|
|
13694
13205
|
|
|
13695
13206
|
case 13:
|
|
13696
13207
|
paymentMethod = _context16.sent;
|
|
@@ -13732,7 +13243,7 @@ var addPaymentMethodToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13732
13243
|
}
|
|
13733
13244
|
|
|
13734
13245
|
_context16.next = 28;
|
|
13735
|
-
return
|
|
13246
|
+
return sdkClient.payments.getAccountPaymentMethods(selfCheckoutSession.accountId, opts);
|
|
13736
13247
|
|
|
13737
13248
|
case 28:
|
|
13738
13249
|
paymentMethods = _context16.sent;
|
|
@@ -13796,10 +13307,10 @@ var addMemberToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13796
13307
|
_body = body, _body$data2 = _body.data, data = _body$data2 === void 0 ? {} : _body$data2, _body$selfCheckoutSes = _body.selfCheckoutSession, selfCheckoutSession = _body$selfCheckoutSes === void 0 ? {} : _body$selfCheckoutSes;
|
|
13797
13308
|
requestBody = {}; // If a member exists and there isn't already one attached to the self checkout session, then attach the member.
|
|
13798
13309
|
|
|
13799
|
-
if (_get(
|
|
13310
|
+
if (_get(sdkClient, 'member._id') && !_get(selfCheckoutSession, 'member._id')) {
|
|
13800
13311
|
requestBody = {
|
|
13801
13312
|
member: {
|
|
13802
|
-
_id: _get(
|
|
13313
|
+
_id: _get(sdkClient, 'member._id')
|
|
13803
13314
|
}
|
|
13804
13315
|
};
|
|
13805
13316
|
} else {
|
|
@@ -13857,7 +13368,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13857
13368
|
|
|
13858
13369
|
_body$data3 = body.data, data = _body$data3 === void 0 ? {} : _body$data3, funder = body.funder, selfCheckoutSession = body.selfCheckoutSession;
|
|
13859
13370
|
isExistingAccount = selfCheckoutSession.accountId;
|
|
13860
|
-
memberId = _get(selfCheckoutSession, 'member._id') || _get(
|
|
13371
|
+
memberId = _get(selfCheckoutSession, 'member._id') || _get(sdkClient, 'member._id');
|
|
13861
13372
|
healthFund = data.healthFund;
|
|
13862
13373
|
|
|
13863
13374
|
if (!funders$1.isMedicare(funder.code)) {
|
|
@@ -13866,7 +13377,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13866
13377
|
}
|
|
13867
13378
|
|
|
13868
13379
|
_context18.next = 8;
|
|
13869
|
-
return
|
|
13380
|
+
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$V({}, opts, {
|
|
13870
13381
|
requestConfig: {
|
|
13871
13382
|
tokenType: 'session'
|
|
13872
13383
|
}
|
|
@@ -13882,7 +13393,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13882
13393
|
}
|
|
13883
13394
|
|
|
13884
13395
|
_context18.next = 12;
|
|
13885
|
-
return
|
|
13396
|
+
return sdkClient.healthFundAccounts.getMembersHealthFundAccounts(memberId, {
|
|
13886
13397
|
funderId: _get(funder, '_id')
|
|
13887
13398
|
}, opts);
|
|
13888
13399
|
|
|
@@ -13913,11 +13424,11 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13913
13424
|
}
|
|
13914
13425
|
|
|
13915
13426
|
_context18.next = 21;
|
|
13916
|
-
return
|
|
13427
|
+
return sdkClient.healthFundAccounts.deleteMembersHealthFundAccount(memberId, healthFundAccountId, opts);
|
|
13917
13428
|
|
|
13918
13429
|
case 21:
|
|
13919
13430
|
_context18.next = 23;
|
|
13920
|
-
return
|
|
13431
|
+
return sdkClient.healthFundAccounts.createMembersHealthFundAccount(memberId, healthFundAccountRequestBody, opts);
|
|
13921
13432
|
|
|
13922
13433
|
case 23:
|
|
13923
13434
|
healthFundAccount = _context18.sent;
|
|
@@ -13966,7 +13477,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13966
13477
|
}
|
|
13967
13478
|
|
|
13968
13479
|
_context18.next = 38;
|
|
13969
|
-
return
|
|
13480
|
+
return sdkClient.healthFundAccounts.getMembersHealthFundAccount(memberId, healthFundAccountId, opts);
|
|
13970
13481
|
|
|
13971
13482
|
case 38:
|
|
13972
13483
|
healthFundAccount = _context18.sent;
|
|
@@ -21023,14 +20534,14 @@ function _objectSpread$1a(target) { for (var i = 1; i < arguments.length; i++) {
|
|
|
21023
20534
|
*/
|
|
21024
20535
|
|
|
21025
20536
|
var getCurrentAppVersion = function getCurrentAppVersion() {
|
|
21026
|
-
return _get(
|
|
20537
|
+
return _get(sdkClient, 'appVersion');
|
|
21027
20538
|
};
|
|
21028
20539
|
/**
|
|
21029
20540
|
* Set current app version
|
|
21030
20541
|
*/
|
|
21031
20542
|
|
|
21032
20543
|
var setCurrentAppVersion = function setCurrentAppVersion(version) {
|
|
21033
|
-
|
|
20544
|
+
sdkClient.appVersion = version;
|
|
21034
20545
|
};
|
|
21035
20546
|
/**
|
|
21036
20547
|
* Fetch latest app version
|
|
@@ -21081,6 +20592,7 @@ var fetchLatestAppVersion = /*#__PURE__*/function () {
|
|
|
21081
20592
|
/**
|
|
21082
20593
|
* Fetch minimum app version
|
|
21083
20594
|
*/
|
|
20595
|
+
// @ts-expect-error TS(1064): The return type of an async function or method mus... Remove this comment to see the full error message
|
|
21084
20596
|
|
|
21085
20597
|
var fetchMinimumAppVerson = /*#__PURE__*/function () {
|
|
21086
20598
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
@@ -21091,7 +20603,7 @@ var fetchMinimumAppVerson = /*#__PURE__*/function () {
|
|
|
21091
20603
|
case 0:
|
|
21092
20604
|
_context2.prev = 0;
|
|
21093
20605
|
_context2.next = 3;
|
|
21094
|
-
return
|
|
20606
|
+
return sdkClient.applications.getSelfApplication();
|
|
21095
20607
|
|
|
21096
20608
|
case 3:
|
|
21097
20609
|
res = _context2.sent;
|
|
@@ -21118,6 +20630,7 @@ var fetchMinimumAppVerson = /*#__PURE__*/function () {
|
|
|
21118
20630
|
* Check app version
|
|
21119
20631
|
* Checks if the app is up-to-date
|
|
21120
20632
|
*/
|
|
20633
|
+
// @ts-expect-error TS(1064): The return type of an async function or method mus... Remove this comment to see the full error message
|
|
21121
20634
|
|
|
21122
20635
|
var checkAppVersion = /*#__PURE__*/function () {
|
|
21123
20636
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
@@ -21202,6 +20715,7 @@ var versions = /*#__PURE__*/Object.freeze({
|
|
|
21202
20715
|
function ownKeys$1b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21203
20716
|
|
|
21204
20717
|
function _objectSpread$1b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1b(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20718
|
+
|
|
21205
20719
|
function parseProfessions(_x, _x2) {
|
|
21206
20720
|
return _parseProfessions.apply(this, arguments);
|
|
21207
20721
|
}
|
|
@@ -21227,13 +20741,15 @@ function _parseProfessions() {
|
|
|
21227
20741
|
uniqueSpecialtyIds = _uniq(specialtyIds).filter(Boolean);
|
|
21228
20742
|
specialtyIdsString = uniqueSpecialtyIds.join(',');
|
|
21229
20743
|
_context.next = 10;
|
|
21230
|
-
return Promise.all([professionalCategoryIdsString ?
|
|
20744
|
+
return Promise.all([professionalCategoryIdsString ? sdkClient.professionalCategories.getProfessionalCategories({
|
|
20745
|
+
// @ts-expect-error TS(2345): Argument of type '{ professionalCategoryIds: strin... Remove this comment to see the full error message
|
|
21231
20746
|
professionalCategoryIds: professionalCategoryIdsString,
|
|
21232
20747
|
limit: 99
|
|
21233
|
-
}) : undefined, specialtyIdsString ?
|
|
20748
|
+
}) : undefined, specialtyIdsString ? sdkClient.specialties.getSpecialties({
|
|
20749
|
+
// @ts-expect-error TS(2345): Argument of type '{ specialtyIds: string; limit: n... Remove this comment to see the full error message
|
|
21234
20750
|
specialtyIds: specialtyIdsString,
|
|
21235
20751
|
limit: 99
|
|
21236
|
-
}) : undefined, providerRegistrationTypes ? providerRegistrationTypes :
|
|
20752
|
+
}) : undefined, providerRegistrationTypes ? providerRegistrationTypes : sdkClient.providerRegistrationTypes.getProviderRegistrationTypes({
|
|
21237
20753
|
limit: 99
|
|
21238
20754
|
})]);
|
|
21239
20755
|
|
|
@@ -21246,12 +20762,14 @@ function _parseProfessions() {
|
|
|
21246
20762
|
var _objectSpread2;
|
|
21247
20763
|
|
|
21248
20764
|
return _objectSpread$1b({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
21249
|
-
}, {}
|
|
20765
|
+
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
20766
|
+
{});
|
|
21250
20767
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
21251
20768
|
var _objectSpread3;
|
|
21252
20769
|
|
|
21253
20770
|
return _objectSpread$1b({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
21254
|
-
}, {}
|
|
20771
|
+
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
20772
|
+
{});
|
|
21255
20773
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
21256
20774
|
var _objectSpread4;
|
|
21257
20775
|
|
|
@@ -21312,7 +20830,7 @@ var getSelfApplicationCached = /*#__PURE__*/function () {
|
|
|
21312
20830
|
_context.prev = 3;
|
|
21313
20831
|
_getSelfApplicationCacheInProgress = true;
|
|
21314
20832
|
_context.next = 7;
|
|
21315
|
-
return
|
|
20833
|
+
return sdkClient.applications.getSelfApplication();
|
|
21316
20834
|
|
|
21317
20835
|
case 7:
|
|
21318
20836
|
_getSelfApplicationCache = _context.sent;
|
|
@@ -21401,28 +20919,28 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
21401
20919
|
}, {});
|
|
21402
20920
|
};
|
|
21403
20921
|
|
|
21404
|
-
var
|
|
21405
|
-
account: storage.
|
|
21406
|
-
accountId: storage.
|
|
20922
|
+
var sdkClient = {
|
|
20923
|
+
account: storage.default.get('account'),
|
|
20924
|
+
accountId: storage.default.get('accountId'),
|
|
21407
20925
|
apiVersions: API_VERSIONS,
|
|
21408
20926
|
appId: APP_ID,
|
|
21409
|
-
appVersion: storage.
|
|
20927
|
+
appVersion: storage.default.get('appVersion'),
|
|
21410
20928
|
apiVer: API_VER,
|
|
21411
20929
|
axios: axios.create(),
|
|
21412
20930
|
baseUrls: undefined,
|
|
21413
20931
|
defaultVersion: DEFAULT_VERSION,
|
|
21414
|
-
device: storage.
|
|
20932
|
+
device: storage.default.get('device'),
|
|
21415
20933
|
env: DEFAULT_ENV,
|
|
21416
20934
|
hasInit: false,
|
|
21417
|
-
intercomHash: storage.
|
|
21418
|
-
isSuperAdmin: storage.
|
|
20935
|
+
intercomHash: storage.default.get('intercomHash'),
|
|
20936
|
+
isSuperAdmin: storage.default.get('isSuperAdmin'),
|
|
21419
20937
|
isAnalyticsInitialised: false,
|
|
21420
|
-
member: storage.
|
|
20938
|
+
member: storage.default.get('member'),
|
|
21421
20939
|
region: undefined,
|
|
21422
20940
|
requestInterceptor: undefined,
|
|
21423
20941
|
requestInterceptorSuccess: undefined,
|
|
21424
|
-
sdkVersion: storage.
|
|
21425
|
-
tokens: storage.
|
|
20942
|
+
sdkVersion: storage.default.get('sdkVersion'),
|
|
20943
|
+
tokens: storage.default.get('tokens', {
|
|
21426
20944
|
storeType: 'session'
|
|
21427
20945
|
}) || {
|
|
21428
20946
|
account: null,
|
|
@@ -21510,13 +21028,14 @@ var sdk = {
|
|
|
21510
21028
|
professionsUtils: professionsUtils,
|
|
21511
21029
|
staffUtils: staffUtils,
|
|
21512
21030
|
applicationUtils: applicationUtils,
|
|
21513
|
-
storage: storage.
|
|
21031
|
+
storage: storage.default,
|
|
21514
21032
|
|
|
21515
21033
|
/**
|
|
21516
21034
|
* Setup the Medipass SDK
|
|
21517
21035
|
* @param {String} env - The environment that the SDK will point to
|
|
21518
21036
|
* @param {?Object} opts - Additional setup options
|
|
21519
21037
|
*/
|
|
21038
|
+
// @ts-expect-error TS(1015): Parameter cannot have question mark and initialize... Remove this comment to see the full error message
|
|
21520
21039
|
setup: function setup(env, opts) {
|
|
21521
21040
|
if (opts === void 0) {
|
|
21522
21041
|
opts = {};
|
|
@@ -21559,6 +21078,7 @@ var sdk = {
|
|
|
21559
21078
|
* Check if the token is valid and the client is logged in
|
|
21560
21079
|
* @return {Boolean} hasValidSession
|
|
21561
21080
|
*/
|
|
21081
|
+
// @ts-expect-error TS(1015): Parameter cannot have question mark and initialize... Remove this comment to see the full error message
|
|
21562
21082
|
hasValidSession: function hasValidSession(tokenType) {
|
|
21563
21083
|
if (tokenType === void 0) {
|
|
21564
21084
|
tokenType = 'account';
|
|
@@ -21571,6 +21091,7 @@ var sdk = {
|
|
|
21571
21091
|
* Check if the token has expired
|
|
21572
21092
|
* @return {Boolean} hasSessionExpired
|
|
21573
21093
|
*/
|
|
21094
|
+
// @ts-expect-error TS(1015): Parameter cannot have question mark and initialize... Remove this comment to see the full error message
|
|
21574
21095
|
hasSessionExpired: function hasSessionExpired(tokenType) {
|
|
21575
21096
|
if (tokenType === void 0) {
|
|
21576
21097
|
tokenType = 'account';
|
|
@@ -21665,7 +21186,7 @@ var sdk = {
|
|
|
21665
21186
|
|
|
21666
21187
|
if (response.headers && response.headers[HEADER__INTERCOM_HASH]) {
|
|
21667
21188
|
_this2.intercomHash = response.headers[HEADER__INTERCOM_HASH];
|
|
21668
|
-
storage.
|
|
21189
|
+
storage.default.set('intercomHash', _this2.intercomHash);
|
|
21669
21190
|
}
|
|
21670
21191
|
|
|
21671
21192
|
if (_this2.responseInterceptorSuccess) {
|
|
@@ -21686,7 +21207,7 @@ var sdk = {
|
|
|
21686
21207
|
account: null,
|
|
21687
21208
|
session: null
|
|
21688
21209
|
};
|
|
21689
|
-
storage.
|
|
21210
|
+
storage.default.remove('tokens');
|
|
21690
21211
|
},
|
|
21691
21212
|
isImpersonating: function isImpersonating() {
|
|
21692
21213
|
var _jwtDecode = jwtDecode(this.tokens.account),
|
|
@@ -21694,6 +21215,7 @@ var sdk = {
|
|
|
21694
21215
|
|
|
21695
21216
|
return Boolean(imp);
|
|
21696
21217
|
},
|
|
21218
|
+
// @ts-expect-error TS(1015): Parameter cannot have question mark and initialize... Remove this comment to see the full error message
|
|
21697
21219
|
getTokenExpiry: function getTokenExpiry(tokenType) {
|
|
21698
21220
|
if (tokenType === void 0) {
|
|
21699
21221
|
tokenType = 'account';
|
|
@@ -21701,6 +21223,7 @@ var sdk = {
|
|
|
21701
21223
|
|
|
21702
21224
|
return jwtDecode(this.tokens[tokenType]).exp;
|
|
21703
21225
|
},
|
|
21226
|
+
// @ts-expect-error TS(1015): Parameter cannot have question mark and initialize... Remove this comment to see the full error message
|
|
21704
21227
|
setToken: function setToken(token, tokenType) {
|
|
21705
21228
|
var _Object$assign;
|
|
21706
21229
|
|
|
@@ -21709,18 +21232,18 @@ var sdk = {
|
|
|
21709
21232
|
}
|
|
21710
21233
|
|
|
21711
21234
|
this.tokens[tokenType] = token;
|
|
21712
|
-
storage.
|
|
21235
|
+
storage.default.set('tokens', Object.assign({}, this.tokens, (_Object$assign = {}, _Object$assign[tokenType] = token, _Object$assign)), {
|
|
21713
21236
|
storeType: 'session'
|
|
21714
21237
|
});
|
|
21715
21238
|
},
|
|
21716
21239
|
setAccount: function setAccount(account) {
|
|
21717
|
-
storage.
|
|
21240
|
+
storage.default.set('accountId', account._id);
|
|
21718
21241
|
this.accountId = account._id;
|
|
21719
|
-
storage.
|
|
21242
|
+
storage.default.set('account', account);
|
|
21720
21243
|
this.account = account;
|
|
21721
21244
|
},
|
|
21722
21245
|
setMember: function setMember(member) {
|
|
21723
|
-
storage.
|
|
21246
|
+
storage.default.set('member', member);
|
|
21724
21247
|
this.member = member;
|
|
21725
21248
|
},
|
|
21726
21249
|
setRegion: function setRegion(region) {
|
|
@@ -21735,7 +21258,7 @@ var sdk = {
|
|
|
21735
21258
|
});
|
|
21736
21259
|
}
|
|
21737
21260
|
|
|
21738
|
-
storage.
|
|
21261
|
+
storage.default.set('region', region);
|
|
21739
21262
|
},
|
|
21740
21263
|
|
|
21741
21264
|
/**
|
|
@@ -21753,7 +21276,7 @@ var sdk = {
|
|
|
21753
21276
|
this.intercomHash = null;
|
|
21754
21277
|
this.isSuperAdmin = null;
|
|
21755
21278
|
this.member = null;
|
|
21756
|
-
storage.
|
|
21279
|
+
storage.default.clearAll();
|
|
21757
21280
|
},
|
|
21758
21281
|
setIsAnalyticsInitialised: function setIsAnalyticsInitialised(isInitialised) {
|
|
21759
21282
|
this.isAnalyticsInitialised = isInitialised;
|
|
@@ -21791,11 +21314,13 @@ function _parseProviderSet() {
|
|
|
21791
21314
|
practices = [];
|
|
21792
21315
|
_context.next = 5;
|
|
21793
21316
|
return Promise.all(uniquePracticeIds.map(function (practiceId) {
|
|
21794
|
-
return
|
|
21795
|
-
|
|
21796
|
-
|
|
21797
|
-
|
|
21798
|
-
|
|
21317
|
+
return (// @ts-expect-error TS(2345): Argument of type 'unknown' is not assignable to pa... Remove this comment to see the full error message
|
|
21318
|
+
sdkClient.practices.getBusinessPractice(businessId, practiceId).catch(function () {
|
|
21319
|
+
return {
|
|
21320
|
+
_id: practiceId
|
|
21321
|
+
};
|
|
21322
|
+
})
|
|
21323
|
+
);
|
|
21799
21324
|
}));
|
|
21800
21325
|
|
|
21801
21326
|
case 5:
|
|
@@ -21836,7 +21361,9 @@ function _parseProviderSet() {
|
|
|
21836
21361
|
uniqueProviderNumberTypeIds = _uniq(providerNumberTypeIds).filter(Boolean);
|
|
21837
21362
|
_context2.next = 6;
|
|
21838
21363
|
return Promise.all(uniqueProviderNumberTypeIds.map(function (providerNumberTypeId) {
|
|
21839
|
-
return
|
|
21364
|
+
return (// @ts-expect-error TS(2345): Argument of type 'unknown' is not assignable to pa... Remove this comment to see the full error message
|
|
21365
|
+
sdkClient.providerNumberTypes.getProviderNumberType(providerNumberTypeId)
|
|
21366
|
+
);
|
|
21840
21367
|
}));
|
|
21841
21368
|
|
|
21842
21369
|
case 6:
|
|
@@ -21857,7 +21384,7 @@ function _parseProviderSet() {
|
|
|
21857
21384
|
}();
|
|
21858
21385
|
|
|
21859
21386
|
_context3.next = 5;
|
|
21860
|
-
return Promise.all([funders ? funders :
|
|
21387
|
+
return Promise.all([funders ? funders : sdkClient.funders.getFunders(), fetchPractices(), // providerSet is in the same shape as professions, so let's just use that func.
|
|
21861
21388
|
parseProfessions(providerSet, {
|
|
21862
21389
|
providerRegistrationTypes: providerRegistrationTypes
|
|
21863
21390
|
}), parseProviderNumberType ? fetchProviderNumberTypes() : []]);
|
|
@@ -21936,6 +21463,7 @@ function _parseProviderRegistrations() {
|
|
|
21936
21463
|
return _parseProviderRegistrations.apply(this, arguments);
|
|
21937
21464
|
}
|
|
21938
21465
|
|
|
21466
|
+
exports.regions = regions.regions;
|
|
21939
21467
|
exports.API_VER = API_VER;
|
|
21940
21468
|
exports.API_VERSIONS = API_VERSIONS;
|
|
21941
21469
|
exports.APP_ID = APP_ID;
|
|
@@ -21956,11 +21484,16 @@ exports.PATH__MEDICARE_VERIFY = PATH__MEDICARE_VERIFY;
|
|
|
21956
21484
|
exports.PATH__REF_SOURCES = PATH__REF_SOURCES;
|
|
21957
21485
|
exports._isTokenExpired = _isTokenExpired;
|
|
21958
21486
|
exports.acceptInvite = acceptInvite;
|
|
21487
|
+
exports.accounts = accounts;
|
|
21488
|
+
exports.actions = actions;
|
|
21959
21489
|
exports.addBeneficialOwner = addBeneficialOwner;
|
|
21960
21490
|
exports.addHealthFundAccountToSelfCheckoutSession = addHealthFundAccountToSelfCheckoutSession;
|
|
21961
21491
|
exports.addMemberToSelfCheckoutSession = addMemberToSelfCheckoutSession;
|
|
21962
21492
|
exports.addPaymentMethodToSelfCheckoutSession = addPaymentMethodToSelfCheckoutSession;
|
|
21963
21493
|
exports.addTransactionNote = addTransactionNote;
|
|
21494
|
+
exports.apiKeys = apiKeys;
|
|
21495
|
+
exports.applicationUtils = applicationUtils;
|
|
21496
|
+
exports.applications = applications;
|
|
21964
21497
|
exports.applyForBusinessForm = applyForBusinessForm;
|
|
21965
21498
|
exports.approve = approve;
|
|
21966
21499
|
exports.approveClaim = approveClaim;
|
|
@@ -21971,6 +21504,13 @@ exports.assignHealthFundDocumentToMe = assignHealthFundDocumentToMe;
|
|
|
21971
21504
|
exports.assignHealthFundTransactionToSelf = assignHealthFundTransactionToSelf;
|
|
21972
21505
|
exports.assignHealthFundTransactions = assignHealthFundTransactions;
|
|
21973
21506
|
exports.assignTransactionToSelf = assignTransactionToSelf;
|
|
21507
|
+
exports.attachments = attachments;
|
|
21508
|
+
exports.auth = auth;
|
|
21509
|
+
exports.aws = aws;
|
|
21510
|
+
exports.bulkSubmits = bulkSubmits;
|
|
21511
|
+
exports.bulkUploads = bulkUploads;
|
|
21512
|
+
exports.businessProfiles = businessProfiles;
|
|
21513
|
+
exports.businesses = businesses;
|
|
21974
21514
|
exports.cancel = cancel;
|
|
21975
21515
|
exports.cancel$1 = cancel$1;
|
|
21976
21516
|
exports.cancelBusinessDocument = cancelBusinessDocument;
|
|
@@ -21986,6 +21526,7 @@ exports.checkDupe = checkDupe;
|
|
|
21986
21526
|
exports.checkDupe$1 = checkDupe$1;
|
|
21987
21527
|
exports.checkRNAExists = checkRNAExists;
|
|
21988
21528
|
exports.checkStaffMemberEmailExists = checkStaffMemberEmailExists;
|
|
21529
|
+
exports.claimItems = claimItems;
|
|
21989
21530
|
exports.clonePracticeIntoBusiness = clonePracticeIntoBusiness;
|
|
21990
21531
|
exports.cloneStaffMemberIntoBusiness = cloneStaffMemberIntoBusiness;
|
|
21991
21532
|
exports.completeQuote = completeQuote;
|
|
@@ -22088,13 +21629,24 @@ exports.deleteTransaction = deleteTransaction;
|
|
|
22088
21629
|
exports.deleteTransactionNote = deleteTransactionNote;
|
|
22089
21630
|
exports.deleteTransactionTag = deleteTransactionTag;
|
|
22090
21631
|
exports.deployService = deployService;
|
|
21632
|
+
exports.devices = devices;
|
|
22091
21633
|
exports.disableAccount = disableAccount;
|
|
22092
21634
|
exports.discoverMember = discoverMember;
|
|
22093
21635
|
exports.discoverMember$1 = discoverMember$1;
|
|
21636
|
+
exports.docAccounts = docAccounts;
|
|
21637
|
+
exports.documents = documents;
|
|
22094
21638
|
exports.emailBusinessOnboardingQuestions = emailBusinessOnboardingQuestions;
|
|
21639
|
+
exports.emails = emails;
|
|
22095
21640
|
exports.enableAccount = enableAccount;
|
|
22096
21641
|
exports.fetchLatestAppVersion = fetchLatestAppVersion;
|
|
22097
21642
|
exports.fetchMinimumAppVerson = fetchMinimumAppVerson;
|
|
21643
|
+
exports.formApplicationTemplates = formApplicationTemplates;
|
|
21644
|
+
exports.formApplications = formApplications;
|
|
21645
|
+
exports.forms = forms;
|
|
21646
|
+
exports.funderServices = funderServices;
|
|
21647
|
+
exports.funderSettings = funderSettings;
|
|
21648
|
+
exports.funders = funders;
|
|
21649
|
+
exports.futures = futures;
|
|
22098
21650
|
exports.generateAuthy = generateAuthy;
|
|
22099
21651
|
exports.generateDocumentEmailTemplate = generateDocumentEmailTemplate;
|
|
22100
21652
|
exports.generateEmailTemplate = generateEmailTemplate;
|
|
@@ -22331,10 +21883,14 @@ exports.getTriggers = getTriggers;
|
|
|
22331
21883
|
exports.getTrustDocumentUploadUrl = getTrustDocumentUploadUrl;
|
|
22332
21884
|
exports.grantBusinessPracticeStaffRole = grantBusinessPracticeStaffRole;
|
|
22333
21885
|
exports.grantBusinessStaffRole = grantBusinessStaffRole;
|
|
21886
|
+
exports.healthFundAccounts = healthFundAccounts;
|
|
22334
21887
|
exports.healthFundDocumentEmail = healthFundDocumentEmail;
|
|
22335
21888
|
exports.healthFundEmailSections = healthFundEmailSections;
|
|
22336
21889
|
exports.healthFundEmailTemplates = healthFundEmailTemplates;
|
|
21890
|
+
exports.healthFundSettings = healthFundSettings;
|
|
22337
21891
|
exports.healthFundTransactionEmail = healthFundTransactionEmail;
|
|
21892
|
+
exports.healthfunds = healthfunds;
|
|
21893
|
+
exports.icdItems = icdItems;
|
|
22338
21894
|
exports.impersonate = impersonate;
|
|
22339
21895
|
exports.importBusinessPMSPractice = importBusinessPMSPractice;
|
|
22340
21896
|
exports.importBusinessPMSService = importBusinessPMSService;
|
|
@@ -22344,18 +21900,32 @@ exports.inviteBusinessStaffMember = inviteBusinessStaffMember;
|
|
|
22344
21900
|
exports.inviteHealthFundAccount = inviteHealthFundAccount;
|
|
22345
21901
|
exports.inviteMember = inviteMember;
|
|
22346
21902
|
exports.inviteNewBusinessStaffMember = inviteNewBusinessStaffMember;
|
|
21903
|
+
exports.invoiceScans = invoiceScans;
|
|
21904
|
+
exports.jhcs = jhcs;
|
|
21905
|
+
exports.kyc = kyc;
|
|
22347
21906
|
exports.linkBusinessProfile = linkBusinessProfile;
|
|
22348
21907
|
exports.linkPracticeProfile = linkPracticeProfile;
|
|
22349
21908
|
exports.linkStaffProfile = linkStaffProfile;
|
|
22350
21909
|
exports.login = login;
|
|
22351
21910
|
exports.loginWithToken = loginWithToken;
|
|
22352
21911
|
exports.logout = logout;
|
|
21912
|
+
exports.logs = logs;
|
|
21913
|
+
exports.members = members;
|
|
21914
|
+
exports.messageMappings = messageMappings;
|
|
21915
|
+
exports.minions = minions;
|
|
21916
|
+
exports.modalities = modalities;
|
|
21917
|
+
exports.notes = notes;
|
|
22353
21918
|
exports.notifyPartnerAccount = notifyPartnerAccount;
|
|
22354
21919
|
exports.oldVerifyDVA = oldVerifyDVA;
|
|
21920
|
+
exports.onboardingApplications = onboardingApplications;
|
|
21921
|
+
exports.onboardingRequests = onboardingRequests;
|
|
21922
|
+
exports.ops = ops;
|
|
21923
|
+
exports.organisations = organisations;
|
|
22355
21924
|
exports.parkHealthFundDocument = parkHealthFundDocument;
|
|
22356
21925
|
exports.parseProfessions = parseProfessions;
|
|
22357
21926
|
exports.parseProviderRegistrations = parseProviderRegistrations;
|
|
22358
21927
|
exports.parseProviderSet = parseProviderSet;
|
|
21928
|
+
exports.partners = partners;
|
|
22359
21929
|
exports.pathApiKeyByApiKeyId = pathApiKeyByApiKeyId;
|
|
22360
21930
|
exports.pathApiKeysByBusinessId = pathApiKeysByBusinessId;
|
|
22361
21931
|
exports.pathBusinessAddBeneficialOwner = pathBusinessAddBeneficialOwner;
|
|
@@ -22484,9 +22054,23 @@ exports.pathUnlinkStaffProfile = pathUnlinkStaffProfile;
|
|
|
22484
22054
|
exports.pathUpdatePracticeRepresentative = pathUpdatePracticeRepresentative;
|
|
22485
22055
|
exports.pathUploadUrlByBusinessId = pathUploadUrlByBusinessId;
|
|
22486
22056
|
exports.pathVerifyEclipse = pathVerifyEclipse;
|
|
22057
|
+
exports.patients = patients;
|
|
22487
22058
|
exports.pay = pay;
|
|
22059
|
+
exports.payments = payments;
|
|
22060
|
+
exports.pms = pms;
|
|
22061
|
+
exports.practiceProfiles = practiceProfiles;
|
|
22062
|
+
exports.practiceTypes = practiceTypes;
|
|
22063
|
+
exports.practices = practices;
|
|
22064
|
+
exports.products = products;
|
|
22065
|
+
exports.professionalCategories = professionalCategories;
|
|
22066
|
+
exports.professionsUtils = professionsUtils;
|
|
22067
|
+
exports.providerNumberTypes = providerNumberTypes;
|
|
22068
|
+
exports.providerRegistrationTypes = providerRegistrationTypes;
|
|
22069
|
+
exports.providerRequests = providerRequests;
|
|
22070
|
+
exports.providerTypes = providerTypes;
|
|
22488
22071
|
exports.publishHealthFundForm = publishHealthFundForm;
|
|
22489
22072
|
exports.reconcileClaim = reconcileClaim;
|
|
22073
|
+
exports.refSources = refSources;
|
|
22490
22074
|
exports.refund = refund;
|
|
22491
22075
|
exports.refundByBusiness = refundByBusiness;
|
|
22492
22076
|
exports.refundPayment = refundPayment;
|
|
@@ -22515,12 +22099,17 @@ exports.resetTerminal = resetTerminal;
|
|
|
22515
22099
|
exports.resumeComplexVerification = resumeComplexVerification;
|
|
22516
22100
|
exports.revokeBusinessPracticeStaffRole = revokeBusinessPracticeStaffRole;
|
|
22517
22101
|
exports.revokeBusinessStaffRole = revokeBusinessStaffRole;
|
|
22102
|
+
exports.risk = risk;
|
|
22103
|
+
exports.rnas = rnas;
|
|
22104
|
+
exports.roles = roles;
|
|
22518
22105
|
exports.saveClaimDetails = saveClaimDetails;
|
|
22519
22106
|
exports.saveDraft = saveDraft;
|
|
22520
22107
|
exports.scanClaimFile = scanClaimFile;
|
|
22521
22108
|
exports.scoreAndSaveTransaction = scoreAndSaveTransaction;
|
|
22522
|
-
exports.sdk =
|
|
22109
|
+
exports.sdk = sdkClient;
|
|
22110
|
+
exports.sdkClient = sdkClient;
|
|
22523
22111
|
exports.searchOnboardingPractices = searchOnboardingPractices;
|
|
22112
|
+
exports.selfCheckoutSessions = selfCheckoutSessions;
|
|
22524
22113
|
exports.sendBusinessEmail = sendBusinessEmail;
|
|
22525
22114
|
exports.sendEmailPackage = sendEmailPackage;
|
|
22526
22115
|
exports.sendProcessingRequest = sendProcessingRequest;
|
|
@@ -22528,8 +22117,16 @@ exports.sendProcessingRequest$1 = sendProcessingRequest$1;
|
|
|
22528
22117
|
exports.sendReceipt = sendReceipt;
|
|
22529
22118
|
exports.sendReceipt$1 = sendReceipt$1;
|
|
22530
22119
|
exports.sendWorkerMessage = sendWorkerMessage;
|
|
22120
|
+
exports.services = services;
|
|
22531
22121
|
exports.setCurrentAppVersion = setCurrentAppVersion;
|
|
22122
|
+
exports.settlements = settlements;
|
|
22532
22123
|
exports.signUp = signUp;
|
|
22124
|
+
exports.signUp$1 = signUp$1;
|
|
22125
|
+
exports.specialties = specialties;
|
|
22126
|
+
exports.staff = staff;
|
|
22127
|
+
exports.staffProfiles = staffProfiles;
|
|
22128
|
+
exports.staffUtils = staffUtils;
|
|
22129
|
+
exports.statistics = statistics;
|
|
22533
22130
|
exports.submit = submit;
|
|
22534
22131
|
exports.submitClaim = submitClaim;
|
|
22535
22132
|
exports.submitDraftInvoices = submitDraftInvoices;
|
|
@@ -22538,11 +22135,16 @@ exports.submitOnboardingRequest = submitOnboardingRequest;
|
|
|
22538
22135
|
exports.submitPracticeOnboardingApplication = submitPracticeOnboardingApplication;
|
|
22539
22136
|
exports.submitTransactionBridgeClaim = submitTransactionBridgeClaim;
|
|
22540
22137
|
exports.submitTransactionBridgePayment = submitTransactionBridgePayment;
|
|
22138
|
+
exports.subscriptions = subscriptions;
|
|
22541
22139
|
exports.terminalCancellation = terminalCancellation;
|
|
22542
22140
|
exports.terminalInput = terminalInput;
|
|
22141
|
+
exports.terminals = terminals;
|
|
22543
22142
|
exports.transactionEmailPackage = transactionEmailPackage;
|
|
22544
22143
|
exports.transactionEmailPackages = transactionEmailPackages;
|
|
22144
|
+
exports.transactionExport = transactionExport;
|
|
22145
|
+
exports.transactions = transactions;
|
|
22545
22146
|
exports.triggerBridge = triggerBridge;
|
|
22147
|
+
exports.triggers = triggers;
|
|
22546
22148
|
exports.unarchive = unarchive;
|
|
22547
22149
|
exports.unlinkBusinessProfile = unlinkBusinessProfile;
|
|
22548
22150
|
exports.unlinkPracticeProfile = unlinkPracticeProfile;
|
|
@@ -22600,6 +22202,8 @@ exports.uploadInvoiceScanToS3 = uploadInvoiceScanToS3;
|
|
|
22600
22202
|
exports.uploadKycTrustDocumentToS3 = uploadKycTrustDocumentToS3;
|
|
22601
22203
|
exports.uploadScannedApplicationToS3 = uploadScannedApplicationToS3;
|
|
22602
22204
|
exports.validateTransaction = validateTransaction;
|
|
22205
|
+
exports.vendors = vendors;
|
|
22206
|
+
exports.verify = verify;
|
|
22603
22207
|
exports.verifyAccount = verifyAccount;
|
|
22604
22208
|
exports.verifyAuthy = verifyAuthy;
|
|
22605
22209
|
exports.verifyBusinessBeneficialOwner = verifyBusinessBeneficialOwner;
|
|
@@ -22615,3 +22219,6 @@ exports.verifyMember = verifyMember;
|
|
|
22615
22219
|
exports.verifyPartnerAccount = verifyPartnerAccount;
|
|
22616
22220
|
exports.verifyPracticeKyc = verifyPracticeKyc;
|
|
22617
22221
|
exports.verifyStaffMember = verifyStaffMember;
|
|
22222
|
+
exports.versions = versions;
|
|
22223
|
+
exports.workers = workers;
|
|
22224
|
+
exports.workflowExceptions = workflowExceptions;
|