@medipass/web-sdk 11.42.1-feature-add-suspend-modal-to-invoice.0 → 11.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +9 -1
- package/lib/resources/__tests__/filter-option.test.d.ts +1 -0
- package/lib/resources/accounts.js +2 -1
- package/lib/resources/actions.js +2 -1
- package/lib/resources/api-keys.js +2 -1
- package/lib/resources/applications.js +2 -1
- package/lib/resources/attachments.js +2 -1
- package/lib/resources/auth.js +2 -1
- package/lib/resources/bulk-submits.js +2 -1
- package/lib/resources/bulk-uploads.js +2 -1
- package/lib/resources/business-profiles.js +2 -1
- package/lib/resources/businesses.d.ts +15 -1
- package/lib/resources/businesses.js +4 -1
- package/lib/resources/claim-items.js +2 -1
- package/lib/resources/devices.js +2 -1
- package/lib/resources/doc-accounts.js +2 -1
- package/lib/resources/documents.js +2 -1
- package/lib/resources/emails.js +2 -1
- package/lib/resources/filter-options.d.ts +8 -0
- package/lib/resources/filter-options.js +50 -0
- package/lib/resources/form-application-templates.js +2 -1
- package/lib/resources/form-applications.js +2 -1
- package/lib/resources/forms.js +2 -1
- package/lib/resources/funder-services.js +2 -1
- package/lib/resources/funder-settings.js +2 -1
- package/lib/resources/funder-values.js +2 -1
- package/lib/resources/funders.js +2 -1
- package/lib/resources/futures.js +2 -1
- package/lib/resources/health-fund-accounts.js +2 -1
- package/lib/resources/health-fund-settings.js +2 -1
- package/lib/resources/healthfunds.js +2 -1
- package/lib/resources/icditems.js +2 -1
- package/lib/resources/invoice-scans.js +2 -1
- package/lib/resources/jhcs.js +2 -1
- package/lib/resources/kyc.js +2 -1
- package/lib/resources/logs.js +2 -1
- package/lib/resources/members.js +2 -1
- package/lib/resources/message-mappings.js +2 -1
- package/lib/resources/minions.js +2 -1
- package/lib/resources/modalities.js +2 -1
- package/lib/resources/notes.js +2 -1
- package/lib/resources/onboarding-applications.js +2 -1
- package/lib/resources/onboarding-requests.js +2 -1
- package/lib/resources/ops.js +2 -1
- package/lib/resources/organisations.js +2 -1
- package/lib/resources/partners.js +2 -1
- package/lib/resources/patients.js +2 -1
- package/lib/resources/payments.js +2 -1
- package/lib/resources/pms.js +2 -1
- package/lib/resources/practice-profiles.js +2 -1
- package/lib/resources/practice-types.js +2 -1
- package/lib/resources/practices.js +2 -1
- package/lib/resources/products.js +2 -1
- package/lib/resources/professional-categories.js +2 -1
- package/lib/resources/provider-number-types.js +2 -1
- package/lib/resources/provider-registration-types.js +2 -1
- package/lib/resources/provider-requests.js +2 -1
- package/lib/resources/provider-types.js +2 -1
- package/lib/resources/ref-sources.js +2 -1
- package/lib/resources/risk.js +2 -1
- package/lib/resources/rnas.js +2 -1
- package/lib/resources/roles.js +2 -1
- package/lib/resources/self-checkout-sessions.js +2 -1
- package/lib/resources/services.js +2 -1
- package/lib/resources/settlements.js +2 -1
- package/lib/resources/sign-up.js +2 -1
- package/lib/resources/specialties.js +2 -1
- package/lib/resources/staff-profiles.js +2 -1
- package/lib/resources/staff.js +2 -1
- package/lib/resources/statistics.js +2 -1
- package/lib/resources/subscriptions.js +2 -1
- package/lib/resources/terminals.js +2 -1
- package/lib/resources/transaction-export.js +2 -1
- package/lib/resources/transactions.js +2 -1
- package/lib/resources/triggers.js +2 -1
- package/lib/resources/vendors.js +2 -1
- package/lib/resources/verify.js +2 -1
- package/lib/resources/workers.js +2 -1
- package/lib/resources/workflow-exceptions.js +2 -1
- package/lib/services/aws.js +2 -1
- package/lib/services/version.js +2 -1
- package/lib/{staff-0b32af48.js → staff-b3441231.js} +655 -543
- package/lib/types/business.d.ts +129 -0
- package/lib/types/business.js +2 -0
- package/lib/types/filter-option.d.ts +12 -0
- package/lib/types/filter-option.js +8 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +12 -0
- package/lib/utils/application.js +2 -1
- package/lib/utils/professions.js +2 -1
- package/lib/utils/request.js +2 -1
- package/lib/utils/staff.js +2 -1
- package/package.json +3 -3
|
@@ -26,6 +26,7 @@ var braintreeGooglePayment = _interopDefault(require('braintree-web/google-payme
|
|
|
26
26
|
var braintreeApplePay = _interopDefault(require('braintree-web/apple-pay'));
|
|
27
27
|
var pify = _interopDefault(require('@medipass/pify'));
|
|
28
28
|
var env = _interopDefault(require('@medipass/utils/get-env'));
|
|
29
|
+
var filterOption = require('./types/filter-option.js');
|
|
29
30
|
var funders$1 = require('@medipass/utils/funders');
|
|
30
31
|
var compareVersions = _interopDefault(require('compare-versions'));
|
|
31
32
|
var index = require('./utils/base-urls/index.js');
|
|
@@ -3364,6 +3365,14 @@ var pathDisableBusiness = function pathDisableBusiness(businessId) {
|
|
|
3364
3365
|
var pathEnableBusiness = function pathEnableBusiness(businessId) {
|
|
3365
3366
|
return "/businesses/" + businessId + "/reenable";
|
|
3366
3367
|
};
|
|
3368
|
+
|
|
3369
|
+
var pathSuspendBusiness = function pathSuspendBusiness(businessId) {
|
|
3370
|
+
return "/businesses/" + businessId + "/suspend";
|
|
3371
|
+
};
|
|
3372
|
+
|
|
3373
|
+
var pathUnsuspendBusiness = function pathUnsuspendBusiness(businessId) {
|
|
3374
|
+
return "/businesses/" + businessId + "/unsuspend";
|
|
3375
|
+
};
|
|
3367
3376
|
/**
|
|
3368
3377
|
* Create businesses
|
|
3369
3378
|
* @param {Object} body - Request body
|
|
@@ -3658,6 +3667,28 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
|
|
|
3658
3667
|
data: body
|
|
3659
3668
|
});
|
|
3660
3669
|
};
|
|
3670
|
+
/**
|
|
3671
|
+
* Unsuspend business
|
|
3672
|
+
* @param {String} businessId - Business ID
|
|
3673
|
+
* @param {Object} body - Request body
|
|
3674
|
+
* @param {Object} opts - Additional options
|
|
3675
|
+
*/
|
|
3676
|
+
|
|
3677
|
+
var unsuspendBusiness = function unsuspendBusiness(businessId, body, opts) {
|
|
3678
|
+
if (opts === void 0) {
|
|
3679
|
+
opts = {};
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
doesParamExist.default({
|
|
3683
|
+
businessId: businessId
|
|
3684
|
+
}, opts.hyperMediaEndpoint);
|
|
3685
|
+
return request(_objectSpread$b({}, opts, {
|
|
3686
|
+
path: pathUnsuspendBusiness(businessId)
|
|
3687
|
+
}), {
|
|
3688
|
+
method: 'post',
|
|
3689
|
+
data: body
|
|
3690
|
+
});
|
|
3691
|
+
};
|
|
3661
3692
|
/**
|
|
3662
3693
|
* Verify Medicare
|
|
3663
3694
|
* @param {String} businessId - Business ID
|
|
@@ -3838,6 +3869,28 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
|
|
|
3838
3869
|
data: body
|
|
3839
3870
|
});
|
|
3840
3871
|
};
|
|
3872
|
+
/**
|
|
3873
|
+
* Suspend business
|
|
3874
|
+
* @param {String} businessId - Business ID
|
|
3875
|
+
* @param {Object} body - Request body
|
|
3876
|
+
* @param {Object} opts - Additional options
|
|
3877
|
+
*/
|
|
3878
|
+
|
|
3879
|
+
var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
3880
|
+
if (opts === void 0) {
|
|
3881
|
+
opts = {};
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
doesParamExist.default({
|
|
3885
|
+
businessId: businessId
|
|
3886
|
+
}, opts.hyperMediaEndpoint);
|
|
3887
|
+
return request(_objectSpread$b({}, opts, {
|
|
3888
|
+
path: pathSuspendBusiness(businessId)
|
|
3889
|
+
}), {
|
|
3890
|
+
method: 'post',
|
|
3891
|
+
data: body
|
|
3892
|
+
});
|
|
3893
|
+
};
|
|
3841
3894
|
|
|
3842
3895
|
var businesses = /*#__PURE__*/Object.freeze({
|
|
3843
3896
|
__proto__: null,
|
|
@@ -3854,6 +3907,7 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
3854
3907
|
getAccountsBusinesses: getAccountsBusinesses,
|
|
3855
3908
|
getOrganisationBusinesses: getOrganisationBusinesses,
|
|
3856
3909
|
updateBusiness: updateBusiness,
|
|
3910
|
+
unsuspendBusiness: unsuspendBusiness,
|
|
3857
3911
|
verifyMedicare: verifyMedicare,
|
|
3858
3912
|
oldVerifyDVA: oldVerifyDVA,
|
|
3859
3913
|
verifyDVA: verifyDVA,
|
|
@@ -3861,7 +3915,8 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
3861
3915
|
verifyComcare: verifyComcare,
|
|
3862
3916
|
createSupportNote: createSupportNote,
|
|
3863
3917
|
getBsbDetails: getBsbDetails,
|
|
3864
|
-
sendBusinessEmail: sendBusinessEmail
|
|
3918
|
+
sendBusinessEmail: sendBusinessEmail,
|
|
3919
|
+
suspendBusiness: suspendBusiness
|
|
3865
3920
|
});
|
|
3866
3921
|
|
|
3867
3922
|
function ownKeys$c(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; }
|
|
@@ -4881,6 +4936,51 @@ var emails = /*#__PURE__*/Object.freeze({
|
|
|
4881
4936
|
function ownKeys$h(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; }
|
|
4882
4937
|
|
|
4883
4938
|
function _objectSpread$h(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$h(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$h(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4939
|
+
var pathFilterOptions = function pathFilterOptions(businessId) {
|
|
4940
|
+
return "/businesses/" + businessId + "/filteroptions";
|
|
4941
|
+
};
|
|
4942
|
+
var getBusinessFilterOptions = /*#__PURE__*/function () {
|
|
4943
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(businessId, query, opts) {
|
|
4944
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4945
|
+
while (1) {
|
|
4946
|
+
switch (_context.prev = _context.next) {
|
|
4947
|
+
case 0:
|
|
4948
|
+
if (opts === void 0) {
|
|
4949
|
+
opts = {};
|
|
4950
|
+
}
|
|
4951
|
+
|
|
4952
|
+
doesParamExist.default({
|
|
4953
|
+
businessId: businessId
|
|
4954
|
+
}, opts.hyperMediaEndpoint);
|
|
4955
|
+
return _context.abrupt("return", request(_objectSpread$h({}, opts, {
|
|
4956
|
+
path: pathFilterOptions(businessId)
|
|
4957
|
+
}), {
|
|
4958
|
+
method: 'get',
|
|
4959
|
+
params: query
|
|
4960
|
+
}));
|
|
4961
|
+
|
|
4962
|
+
case 3:
|
|
4963
|
+
case "end":
|
|
4964
|
+
return _context.stop();
|
|
4965
|
+
}
|
|
4966
|
+
}
|
|
4967
|
+
}, _callee);
|
|
4968
|
+
}));
|
|
4969
|
+
|
|
4970
|
+
return function getBusinessFilterOptions(_x, _x2, _x3) {
|
|
4971
|
+
return _ref.apply(this, arguments);
|
|
4972
|
+
};
|
|
4973
|
+
}();
|
|
4974
|
+
|
|
4975
|
+
var filterOptions = /*#__PURE__*/Object.freeze({
|
|
4976
|
+
__proto__: null,
|
|
4977
|
+
pathFilterOptions: pathFilterOptions,
|
|
4978
|
+
getBusinessFilterOptions: getBusinessFilterOptions
|
|
4979
|
+
});
|
|
4980
|
+
|
|
4981
|
+
function ownKeys$i(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; }
|
|
4982
|
+
|
|
4983
|
+
function _objectSpread$i(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$i(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$i(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4884
4984
|
var pathBusinessFormApplicationTemplate = function pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId) {
|
|
4885
4985
|
return "/businesses/" + businessId + "/forms/" + formId + "/formapplicationtemplates/" + formApplicationTemplateId;
|
|
4886
4986
|
};
|
|
@@ -4906,7 +5006,7 @@ var getBusinessFormApplicationTemplate = function getBusinessFormApplicationTemp
|
|
|
4906
5006
|
formId: formId,
|
|
4907
5007
|
formApplicationTemplateId: formApplicationTemplateId
|
|
4908
5008
|
}, opts.hyperMediaEndpoint);
|
|
4909
|
-
return request(_objectSpread$
|
|
5009
|
+
return request(_objectSpread$i({}, opts, {
|
|
4910
5010
|
path: pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId)
|
|
4911
5011
|
}), {
|
|
4912
5012
|
method: 'get'
|
|
@@ -4929,7 +5029,7 @@ var getHealthFundFormApplicationTemplate = function getHealthFundFormApplication
|
|
|
4929
5029
|
healthFundId: healthFundId,
|
|
4930
5030
|
formApplicationTemplateId: formApplicationTemplateId
|
|
4931
5031
|
}, opts.hyperMediaEndpoint);
|
|
4932
|
-
return request(_objectSpread$
|
|
5032
|
+
return request(_objectSpread$i({}, opts, {
|
|
4933
5033
|
path: pathHealthFundFormApplicationTemplate(healthFundId, formApplicationTemplateId)
|
|
4934
5034
|
}), {
|
|
4935
5035
|
method: 'get'
|
|
@@ -4944,9 +5044,9 @@ var formApplicationTemplates = /*#__PURE__*/Object.freeze({
|
|
|
4944
5044
|
getHealthFundFormApplicationTemplate: getHealthFundFormApplicationTemplate
|
|
4945
5045
|
});
|
|
4946
5046
|
|
|
4947
|
-
function ownKeys$
|
|
5047
|
+
function ownKeys$j(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; }
|
|
4948
5048
|
|
|
4949
|
-
function _objectSpread$
|
|
5049
|
+
function _objectSpread$j(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$j(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$j(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4950
5050
|
var pathBusinessFormApplication = function pathBusinessFormApplication(businessId, formApplicationId) {
|
|
4951
5051
|
return "/businesses/" + businessId + "/formapplications/" + formApplicationId;
|
|
4952
5052
|
};
|
|
@@ -4973,7 +5073,7 @@ var getBusinessFormApplication = function getBusinessFormApplication(businessId,
|
|
|
4973
5073
|
businessId: businessId,
|
|
4974
5074
|
formApplicationId: formApplicationId
|
|
4975
5075
|
}, opts.hyperMediaEndpoint);
|
|
4976
|
-
return request(_objectSpread$
|
|
5076
|
+
return request(_objectSpread$j({}, opts, {
|
|
4977
5077
|
path: pathBusinessFormApplication(businessId, formApplicationId)
|
|
4978
5078
|
}), {
|
|
4979
5079
|
method: 'get'
|
|
@@ -4996,7 +5096,7 @@ var getHealthFundFormApplication = function getHealthFundFormApplication(healthF
|
|
|
4996
5096
|
healthFundId: healthFundId,
|
|
4997
5097
|
formApplicationId: formApplicationId
|
|
4998
5098
|
}, opts.hyperMediaEndpoint);
|
|
4999
|
-
return request(_objectSpread$
|
|
5099
|
+
return request(_objectSpread$j({}, opts, {
|
|
5000
5100
|
path: pathHealthFundFormApplication(healthFundId, formApplicationId)
|
|
5001
5101
|
}), {
|
|
5002
5102
|
method: 'get'
|
|
@@ -5023,7 +5123,7 @@ var updatePracticeRepresentative = /*#__PURE__*/function () {
|
|
|
5023
5123
|
healthFundId: healthFundId,
|
|
5024
5124
|
formApplicationId: formApplicationId
|
|
5025
5125
|
}, opts.hyperMediaEndpoint);
|
|
5026
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5126
|
+
return _context.abrupt("return", request(_objectSpread$j({}, opts, {
|
|
5027
5127
|
path: pathUpdatePracticeRepresentative(healthFundId, formApplicationId)
|
|
5028
5128
|
}), {
|
|
5029
5129
|
method: 'put',
|
|
@@ -5053,9 +5153,9 @@ var formApplications = /*#__PURE__*/Object.freeze({
|
|
|
5053
5153
|
updatePracticeRepresentative: updatePracticeRepresentative
|
|
5054
5154
|
});
|
|
5055
5155
|
|
|
5056
|
-
function ownKeys$
|
|
5156
|
+
function ownKeys$k(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; }
|
|
5057
5157
|
|
|
5058
|
-
function _objectSpread$
|
|
5158
|
+
function _objectSpread$k(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$k(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5059
5159
|
var pathBusinessForm = function pathBusinessForm(businessId, formId) {
|
|
5060
5160
|
return "/businesses/" + businessId + "/forms/" + formId;
|
|
5061
5161
|
};
|
|
@@ -5100,7 +5200,7 @@ var applyForBusinessForm = function applyForBusinessForm(businessId, formId, bod
|
|
|
5100
5200
|
businessId: businessId,
|
|
5101
5201
|
formId: formId
|
|
5102
5202
|
}, opts.hyperMediaEndpoint);
|
|
5103
|
-
return request(_objectSpread$
|
|
5203
|
+
return request(_objectSpread$k({}, opts, {
|
|
5104
5204
|
path: pathBusinessFormApplications(businessId, formId)
|
|
5105
5205
|
}), {
|
|
5106
5206
|
method: 'post',
|
|
@@ -5122,7 +5222,7 @@ var createHealthFundForm = function createHealthFundForm(healthFundId, body, opt
|
|
|
5122
5222
|
doesParamExist.default({
|
|
5123
5223
|
healthFundId: healthFundId
|
|
5124
5224
|
}, opts.hyperMediaEndpoint);
|
|
5125
|
-
return request(_objectSpread$
|
|
5225
|
+
return request(_objectSpread$k({}, opts, {
|
|
5126
5226
|
path: pathHealthFundForms(healthFundId)
|
|
5127
5227
|
}), {
|
|
5128
5228
|
method: 'post',
|
|
@@ -5145,7 +5245,7 @@ var deleteHealthFundForm = function deleteHealthFundForm(healthFundId, formId, o
|
|
|
5145
5245
|
healthFundId: healthFundId,
|
|
5146
5246
|
formId: formId
|
|
5147
5247
|
}, opts.hyperMediaEndpoint);
|
|
5148
|
-
return request(_objectSpread$
|
|
5248
|
+
return request(_objectSpread$k({}, opts, {
|
|
5149
5249
|
path: pathHealthFundForm(healthFundId, formId)
|
|
5150
5250
|
}), {
|
|
5151
5251
|
method: 'delete'
|
|
@@ -5168,7 +5268,7 @@ var getBusinessForm = function getBusinessForm(businessId, formId, opts) {
|
|
|
5168
5268
|
businessId: businessId,
|
|
5169
5269
|
formId: formId
|
|
5170
5270
|
}, opts.hyperMediaEndpoint);
|
|
5171
|
-
return request(_objectSpread$
|
|
5271
|
+
return request(_objectSpread$k({}, opts, {
|
|
5172
5272
|
path: pathBusinessForm(businessId, formId)
|
|
5173
5273
|
}), {
|
|
5174
5274
|
method: 'get'
|
|
@@ -5193,7 +5293,7 @@ var getHealthFundForms = function getHealthFundForms(healthFundId, query, opts)
|
|
|
5193
5293
|
doesParamExist.default({
|
|
5194
5294
|
healthFundId: healthFundId
|
|
5195
5295
|
}, opts.hyperMediaEndpoint);
|
|
5196
|
-
return request(_objectSpread$
|
|
5296
|
+
return request(_objectSpread$k({}, opts, {
|
|
5197
5297
|
path: pathHealthFundForms(healthFundId)
|
|
5198
5298
|
}), {
|
|
5199
5299
|
method: 'get',
|
|
@@ -5216,7 +5316,7 @@ var getHealthFundForm = function getHealthFundForm(healthFundId, formId, opts) {
|
|
|
5216
5316
|
healthFundId: healthFundId,
|
|
5217
5317
|
formId: formId
|
|
5218
5318
|
}, opts.hyperMediaEndpoint);
|
|
5219
|
-
return request(_objectSpread$
|
|
5319
|
+
return request(_objectSpread$k({}, opts, {
|
|
5220
5320
|
path: pathHealthFundForm(healthFundId, formId)
|
|
5221
5321
|
}), {
|
|
5222
5322
|
method: 'get'
|
|
@@ -5241,7 +5341,7 @@ var getHealthFundFormUploadUrl = function getHealthFundFormUploadUrl(healthFundI
|
|
|
5241
5341
|
contentType: contentType,
|
|
5242
5342
|
fileName: fileName
|
|
5243
5343
|
}, opts.hyperMediaEndpoint);
|
|
5244
|
-
return request(_objectSpread$
|
|
5344
|
+
return request(_objectSpread$k({}, opts, {
|
|
5245
5345
|
path: pathHealthFundFormUploadUrl(healthFundId)
|
|
5246
5346
|
}), {
|
|
5247
5347
|
method: 'get',
|
|
@@ -5264,7 +5364,7 @@ var publishHealthFundForm = function publishHealthFundForm(healthFundId, formId,
|
|
|
5264
5364
|
healthFundId: healthFundId,
|
|
5265
5365
|
formId: formId
|
|
5266
5366
|
}, opts.hyperMediaEndpoint);
|
|
5267
|
-
return request(_objectSpread$
|
|
5367
|
+
return request(_objectSpread$k({}, opts, {
|
|
5268
5368
|
path: pathHealthFundFormPublish(healthFundId, formId)
|
|
5269
5369
|
}), {
|
|
5270
5370
|
method: 'post'
|
|
@@ -5287,7 +5387,7 @@ var updateHealthFundForm = function updateHealthFundForm(healthFundId, formId, b
|
|
|
5287
5387
|
healthFundId: healthFundId,
|
|
5288
5388
|
formId: formId
|
|
5289
5389
|
}, opts.hyperMediaEndpoint);
|
|
5290
|
-
return request(_objectSpread$
|
|
5390
|
+
return request(_objectSpread$k({}, opts, {
|
|
5291
5391
|
path: pathHealthFundForm(healthFundId, formId)
|
|
5292
5392
|
}), {
|
|
5293
5393
|
method: 'put',
|
|
@@ -5310,7 +5410,7 @@ var unpublishHealthFundForm = function unpublishHealthFundForm(healthFundId, for
|
|
|
5310
5410
|
healthFundId: healthFundId,
|
|
5311
5411
|
formId: formId
|
|
5312
5412
|
}, opts.hyperMediaEndpoint);
|
|
5313
|
-
return request(_objectSpread$
|
|
5413
|
+
return request(_objectSpread$k({}, opts, {
|
|
5314
5414
|
path: pathHealthFundFormUnpublish(healthFundId, formId)
|
|
5315
5415
|
}), {
|
|
5316
5416
|
method: 'post'
|
|
@@ -5334,7 +5434,7 @@ var getLatestApprovedDocument = function getLatestApprovedDocument(businessId, p
|
|
|
5334
5434
|
practiceId: practiceId,
|
|
5335
5435
|
formId: formId
|
|
5336
5436
|
}, opts.hyperMediaEndpoint);
|
|
5337
|
-
return request(_objectSpread$
|
|
5437
|
+
return request(_objectSpread$k({}, opts, {
|
|
5338
5438
|
path: pathGetLatestApprovedDocument(businessId, practiceId, formId)
|
|
5339
5439
|
}), {
|
|
5340
5440
|
method: 'get'
|
|
@@ -5359,7 +5459,7 @@ var getManualFormUploadUrl = function getManualFormUploadUrl(businessId, practic
|
|
|
5359
5459
|
practiceId: practiceId,
|
|
5360
5460
|
formId: formId
|
|
5361
5461
|
}, opts.hyperMediaEndpoint);
|
|
5362
|
-
return request(_objectSpread$
|
|
5462
|
+
return request(_objectSpread$k({}, opts, {
|
|
5363
5463
|
path: pathGetManualFormUploadUrl(businessId, practiceId, formId)
|
|
5364
5464
|
}), {
|
|
5365
5465
|
method: 'get',
|
|
@@ -5392,9 +5492,9 @@ var forms = /*#__PURE__*/Object.freeze({
|
|
|
5392
5492
|
getManualFormUploadUrl: getManualFormUploadUrl
|
|
5393
5493
|
});
|
|
5394
5494
|
|
|
5395
|
-
function ownKeys$
|
|
5495
|
+
function ownKeys$l(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; }
|
|
5396
5496
|
|
|
5397
|
-
function _objectSpread$
|
|
5497
|
+
function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$l(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5398
5498
|
var PATH__FUNDERS = '/funders';
|
|
5399
5499
|
var pathFunder = function pathFunder(funderId) {
|
|
5400
5500
|
return "/funders/" + funderId;
|
|
@@ -5404,7 +5504,7 @@ var getFunders = function getFunders(opts) {
|
|
|
5404
5504
|
opts = {};
|
|
5405
5505
|
}
|
|
5406
5506
|
|
|
5407
|
-
return request(_objectSpread$
|
|
5507
|
+
return request(_objectSpread$l({}, opts, {
|
|
5408
5508
|
path: PATH__FUNDERS
|
|
5409
5509
|
}), {
|
|
5410
5510
|
method: 'get'
|
|
@@ -5415,7 +5515,7 @@ var getFunder = function getFunder(funderId, opts) {
|
|
|
5415
5515
|
opts = {};
|
|
5416
5516
|
}
|
|
5417
5517
|
|
|
5418
|
-
return request(_objectSpread$
|
|
5518
|
+
return request(_objectSpread$l({}, opts, {
|
|
5419
5519
|
path: pathFunder(funderId)
|
|
5420
5520
|
}), {
|
|
5421
5521
|
method: 'get'
|
|
@@ -5430,9 +5530,9 @@ var funders = /*#__PURE__*/Object.freeze({
|
|
|
5430
5530
|
getFunder: getFunder
|
|
5431
5531
|
});
|
|
5432
5532
|
|
|
5433
|
-
function ownKeys$
|
|
5533
|
+
function ownKeys$m(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; }
|
|
5434
5534
|
|
|
5435
|
-
function _objectSpread$
|
|
5535
|
+
function _objectSpread$m(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$m(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$m(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5436
5536
|
var pathVerifyEclipse = function pathVerifyEclipse() {
|
|
5437
5537
|
return "/eclipse/opvw";
|
|
5438
5538
|
};
|
|
@@ -5450,7 +5550,7 @@ var verifyEclipse = function verifyEclipse(body, opts) {
|
|
|
5450
5550
|
doesParamExist.default({
|
|
5451
5551
|
body: body
|
|
5452
5552
|
}, opts.hyperMediaEndpoint);
|
|
5453
|
-
return request(_objectSpread$
|
|
5553
|
+
return request(_objectSpread$m({}, opts, {
|
|
5454
5554
|
path: pathVerifyEclipse()
|
|
5455
5555
|
}), {
|
|
5456
5556
|
method: 'post',
|
|
@@ -5464,9 +5564,9 @@ var funderServices = /*#__PURE__*/Object.freeze({
|
|
|
5464
5564
|
verifyEclipse: verifyEclipse
|
|
5465
5565
|
});
|
|
5466
5566
|
|
|
5467
|
-
function ownKeys$
|
|
5567
|
+
function ownKeys$n(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; }
|
|
5468
5568
|
|
|
5469
|
-
function _objectSpread$
|
|
5569
|
+
function _objectSpread$n(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$n(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$n(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5470
5570
|
var pathFunderSettings = function pathFunderSettings(businessId) {
|
|
5471
5571
|
return "/businesses/" + businessId + "/fundersettings";
|
|
5472
5572
|
};
|
|
@@ -5485,7 +5585,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
|
|
|
5485
5585
|
doesParamExist.default({
|
|
5486
5586
|
businessId: businessId
|
|
5487
5587
|
}, opts.hyperMediaEndpoint);
|
|
5488
|
-
return request(_objectSpread$
|
|
5588
|
+
return request(_objectSpread$n({}, opts, {
|
|
5489
5589
|
path: pathFunderSettings(businessId)
|
|
5490
5590
|
}), {
|
|
5491
5591
|
method: 'get',
|
|
@@ -5501,7 +5601,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
|
|
|
5501
5601
|
businessId: businessId,
|
|
5502
5602
|
funderSettingsId: funderSettingsId
|
|
5503
5603
|
}, opts.hyperMediaEndpoint);
|
|
5504
|
-
return request(_objectSpread$
|
|
5604
|
+
return request(_objectSpread$n({}, opts, {
|
|
5505
5605
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5506
5606
|
}), {
|
|
5507
5607
|
method: 'get'
|
|
@@ -5516,7 +5616,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
|
|
|
5516
5616
|
businessId: businessId,
|
|
5517
5617
|
funderSettingsId: funderSettingsId
|
|
5518
5618
|
}, opts.hyperMediaEndpoint);
|
|
5519
|
-
return request(_objectSpread$
|
|
5619
|
+
return request(_objectSpread$n({}, opts, {
|
|
5520
5620
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5521
5621
|
}), {
|
|
5522
5622
|
method: 'put',
|
|
@@ -5531,7 +5631,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
|
|
|
5531
5631
|
doesParamExist.default({
|
|
5532
5632
|
businessId: businessId
|
|
5533
5633
|
}, opts.hyperMediaEndpoint);
|
|
5534
|
-
return request(_objectSpread$
|
|
5634
|
+
return request(_objectSpread$n({}, opts, {
|
|
5535
5635
|
path: pathFunderSettings(businessId)
|
|
5536
5636
|
}), {
|
|
5537
5637
|
method: 'post',
|
|
@@ -5547,7 +5647,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
|
|
|
5547
5647
|
businessId: businessId,
|
|
5548
5648
|
funderSettingsId: funderSettingsId
|
|
5549
5649
|
}, opts.hyperMediaEndpoint);
|
|
5550
|
-
return request(_objectSpread$
|
|
5650
|
+
return request(_objectSpread$n({}, opts, {
|
|
5551
5651
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5552
5652
|
}), {
|
|
5553
5653
|
method: 'delete'
|
|
@@ -5565,9 +5665,9 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
5565
5665
|
deleteBusinesFunderSettings: deleteBusinesFunderSettings
|
|
5566
5666
|
});
|
|
5567
5667
|
|
|
5568
|
-
function ownKeys$
|
|
5668
|
+
function ownKeys$o(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; }
|
|
5569
5669
|
|
|
5570
|
-
function _objectSpread$
|
|
5670
|
+
function _objectSpread$o(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$o(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$o(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5571
5671
|
var pathFunderValues = function pathFunderValues(businessId) {
|
|
5572
5672
|
return "/businesses/" + businessId + "/fundervalues";
|
|
5573
5673
|
};
|
|
@@ -5587,7 +5687,7 @@ var getBusinessFunderValues = /*#__PURE__*/function () {
|
|
|
5587
5687
|
doesParamExist.default({
|
|
5588
5688
|
businessId: businessId
|
|
5589
5689
|
}, opts.hyperMediaEndpoint);
|
|
5590
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5690
|
+
return _context.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
5591
5691
|
path: pathFunderValues(businessId)
|
|
5592
5692
|
}), {
|
|
5593
5693
|
method: 'get',
|
|
@@ -5615,7 +5715,7 @@ var getBusinessFunderValueById = function getBusinessFunderValueById(businessId,
|
|
|
5615
5715
|
businessId: businessId,
|
|
5616
5716
|
funderValueId: funderValueId
|
|
5617
5717
|
}, opts.hyperMediaEndpoint);
|
|
5618
|
-
return request(_objectSpread$
|
|
5718
|
+
return request(_objectSpread$o({}, opts, {
|
|
5619
5719
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
5620
5720
|
}), {
|
|
5621
5721
|
method: 'get'
|
|
@@ -5629,7 +5729,7 @@ var createBusinessFunderValue = function createBusinessFunderValue(businessId, b
|
|
|
5629
5729
|
doesParamExist.default({
|
|
5630
5730
|
businessId: businessId
|
|
5631
5731
|
}, opts.hyperMediaEndpoint);
|
|
5632
|
-
return request(_objectSpread$
|
|
5732
|
+
return request(_objectSpread$o({}, opts, {
|
|
5633
5733
|
path: pathFunderValues(businessId)
|
|
5634
5734
|
}), {
|
|
5635
5735
|
method: 'post',
|
|
@@ -5645,7 +5745,7 @@ var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, f
|
|
|
5645
5745
|
businessId: businessId,
|
|
5646
5746
|
funderValueId: funderValueId
|
|
5647
5747
|
}, opts.hyperMediaEndpoint);
|
|
5648
|
-
return request(_objectSpread$
|
|
5748
|
+
return request(_objectSpread$o({}, opts, {
|
|
5649
5749
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
5650
5750
|
}), {
|
|
5651
5751
|
method: 'put',
|
|
@@ -5661,7 +5761,7 @@ var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, f
|
|
|
5661
5761
|
businessId: businessId,
|
|
5662
5762
|
funderValueId: funderValueId
|
|
5663
5763
|
}, opts.hyperMediaEndpoint);
|
|
5664
|
-
return request(_objectSpread$
|
|
5764
|
+
return request(_objectSpread$o({}, opts, {
|
|
5665
5765
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
5666
5766
|
}), {
|
|
5667
5767
|
method: 'delete'
|
|
@@ -5679,9 +5779,9 @@ var funderValues = /*#__PURE__*/Object.freeze({
|
|
|
5679
5779
|
deleteBusinessFunderValue: deleteBusinessFunderValue
|
|
5680
5780
|
});
|
|
5681
5781
|
|
|
5682
|
-
function ownKeys$
|
|
5782
|
+
function ownKeys$p(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; }
|
|
5683
5783
|
|
|
5684
|
-
function _objectSpread$
|
|
5784
|
+
function _objectSpread$p(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$p(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$p(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5685
5785
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
5686
5786
|
return "/businesses/" + businessId + "/futures";
|
|
5687
5787
|
};
|
|
@@ -5727,7 +5827,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
5727
5827
|
doesParamExist.default({
|
|
5728
5828
|
businessId: businessId
|
|
5729
5829
|
}, opts.hyperMediaEndpoint);
|
|
5730
|
-
return request(_objectSpread$
|
|
5830
|
+
return request(_objectSpread$p({}, opts, {
|
|
5731
5831
|
path: pathBusinessHolds(businessId)
|
|
5732
5832
|
}), {
|
|
5733
5833
|
method: 'post',
|
|
@@ -5749,7 +5849,7 @@ var createBusinessInstalmentPlan = function createBusinessInstalmentPlan(busines
|
|
|
5749
5849
|
doesParamExist.default({
|
|
5750
5850
|
businessId: businessId
|
|
5751
5851
|
}, opts.hyperMediaEndpoint);
|
|
5752
|
-
return request(_objectSpread$
|
|
5852
|
+
return request(_objectSpread$p({}, opts, {
|
|
5753
5853
|
path: pathBusinessInstalmentPlans(businessId)
|
|
5754
5854
|
}), {
|
|
5755
5855
|
method: 'post',
|
|
@@ -5770,7 +5870,7 @@ var cancel = function cancel(futureId, opts) {
|
|
|
5770
5870
|
doesParamExist.default({
|
|
5771
5871
|
futureId: futureId
|
|
5772
5872
|
}, opts.hyperMediaEndpoint);
|
|
5773
|
-
return request(_objectSpread$
|
|
5873
|
+
return request(_objectSpread$p({}, opts, {
|
|
5774
5874
|
path: pathCancels(futureId)
|
|
5775
5875
|
}), {
|
|
5776
5876
|
method: 'post'
|
|
@@ -5791,7 +5891,7 @@ var getBusinessFutures = function getBusinessFutures(businessId, query, opts) {
|
|
|
5791
5891
|
doesParamExist.default({
|
|
5792
5892
|
businessId: businessId
|
|
5793
5893
|
}, opts.hyperMediaEndpoint);
|
|
5794
|
-
return request(_objectSpread$
|
|
5894
|
+
return request(_objectSpread$p({}, opts, {
|
|
5795
5895
|
path: pathBusinessFutures(businessId)
|
|
5796
5896
|
}), {
|
|
5797
5897
|
method: 'get',
|
|
@@ -5814,7 +5914,7 @@ var getBusinessFuture = function getBusinessFuture(businessId, futureId, opts) {
|
|
|
5814
5914
|
businessId: businessId,
|
|
5815
5915
|
futureId: futureId
|
|
5816
5916
|
}, opts.hyperMediaEndpoint);
|
|
5817
|
-
return request(_objectSpread$
|
|
5917
|
+
return request(_objectSpread$p({}, opts, {
|
|
5818
5918
|
path: pathBusinessFuture(businessId, futureId)
|
|
5819
5919
|
}), {
|
|
5820
5920
|
method: 'get'
|
|
@@ -5834,7 +5934,7 @@ var getFuture = function getFuture(futureId, opts) {
|
|
|
5834
5934
|
doesParamExist.default({
|
|
5835
5935
|
futureId: futureId
|
|
5836
5936
|
}, opts.hyperMediaEndpoint);
|
|
5837
|
-
return request(_objectSpread$
|
|
5937
|
+
return request(_objectSpread$p({}, opts, {
|
|
5838
5938
|
path: pathFuture(futureId)
|
|
5839
5939
|
}), {
|
|
5840
5940
|
method: 'get'
|
|
@@ -5859,7 +5959,7 @@ var getPaymentLink = /*#__PURE__*/function () {
|
|
|
5859
5959
|
doesParamExist.default({
|
|
5860
5960
|
futureId: futureId
|
|
5861
5961
|
}, opts.hyperMediaEndpoint);
|
|
5862
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5962
|
+
return _context.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
5863
5963
|
path: pathPaymentLink(futureId)
|
|
5864
5964
|
}), {
|
|
5865
5965
|
method: 'get'
|
|
@@ -5892,7 +5992,7 @@ var sendProcessingRequest = function sendProcessingRequest(futureId, body, opts)
|
|
|
5892
5992
|
doesParamExist.default({
|
|
5893
5993
|
futureId: futureId
|
|
5894
5994
|
}, opts.hyperMediaEndpoint);
|
|
5895
|
-
return request(_objectSpread$
|
|
5995
|
+
return request(_objectSpread$p({}, opts, {
|
|
5896
5996
|
path: pathProcessingRequests(futureId)
|
|
5897
5997
|
}), {
|
|
5898
5998
|
method: 'post',
|
|
@@ -5914,7 +6014,7 @@ var submit = function submit(futureId, body, opts) {
|
|
|
5914
6014
|
doesParamExist.default({
|
|
5915
6015
|
futureId: futureId
|
|
5916
6016
|
}, opts.hyperMediaEndpoint);
|
|
5917
|
-
return request(_objectSpread$
|
|
6017
|
+
return request(_objectSpread$p({}, opts, {
|
|
5918
6018
|
path: pathSubmits(futureId)
|
|
5919
6019
|
}), {
|
|
5920
6020
|
method: 'post',
|
|
@@ -5936,7 +6036,7 @@ var update = function update(futureId, body, opts) {
|
|
|
5936
6036
|
doesParamExist.default({
|
|
5937
6037
|
futureId: futureId
|
|
5938
6038
|
}, opts.hyperMediaEndpoint);
|
|
5939
|
-
return request(_objectSpread$
|
|
6039
|
+
return request(_objectSpread$p({}, opts, {
|
|
5940
6040
|
path: pathFuture(futureId)
|
|
5941
6041
|
}), {
|
|
5942
6042
|
method: 'put',
|
|
@@ -5958,7 +6058,7 @@ var sendReceipt = function sendReceipt(futureId, body, opts) {
|
|
|
5958
6058
|
doesParamExist.default({
|
|
5959
6059
|
futureId: futureId
|
|
5960
6060
|
}, opts.hyperMediaEndpoint);
|
|
5961
|
-
return request(_objectSpread$
|
|
6061
|
+
return request(_objectSpread$p({}, opts, {
|
|
5962
6062
|
path: pathSendReceipt(futureId)
|
|
5963
6063
|
}), {
|
|
5964
6064
|
method: 'post',
|
|
@@ -5991,9 +6091,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
5991
6091
|
sendReceipt: sendReceipt
|
|
5992
6092
|
});
|
|
5993
6093
|
|
|
5994
|
-
function ownKeys$
|
|
6094
|
+
function ownKeys$q(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; }
|
|
5995
6095
|
|
|
5996
|
-
function _objectSpread$
|
|
6096
|
+
function _objectSpread$q(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$q(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5997
6097
|
|
|
5998
6098
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
5999
6099
|
return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts";
|
|
@@ -6031,7 +6131,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6031
6131
|
doesParamExist.default({
|
|
6032
6132
|
memberId: memberId
|
|
6033
6133
|
}, opts.hyperMediaEndpoint);
|
|
6034
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6134
|
+
return _context.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6035
6135
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
6036
6136
|
}), {
|
|
6037
6137
|
method: 'post',
|
|
@@ -6072,7 +6172,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6072
6172
|
businessId: businessId,
|
|
6073
6173
|
patientId: patientId
|
|
6074
6174
|
}, opts.hyperMediaEndpoint);
|
|
6075
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6175
|
+
return _context2.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6076
6176
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6077
6177
|
}), {
|
|
6078
6178
|
method: 'post',
|
|
@@ -6112,7 +6212,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6112
6212
|
memberId: memberId,
|
|
6113
6213
|
healthFundAccountId: healthFundAccountId
|
|
6114
6214
|
}, opts.hyperMediaEndpoint);
|
|
6115
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6215
|
+
return _context3.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6116
6216
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6117
6217
|
}), {
|
|
6118
6218
|
method: 'delete'
|
|
@@ -6153,7 +6253,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6153
6253
|
patientId: patientId,
|
|
6154
6254
|
healthFundAccountId: healthFundAccountId
|
|
6155
6255
|
}, opts.hyperMediaEndpoint);
|
|
6156
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6256
|
+
return _context4.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6157
6257
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6158
6258
|
}), {
|
|
6159
6259
|
method: 'delete'
|
|
@@ -6191,7 +6291,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6191
6291
|
doesParamExist.default({
|
|
6192
6292
|
memberId: memberId
|
|
6193
6293
|
}, opts.hyperMediaEndpoint);
|
|
6194
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6294
|
+
return _context5.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6195
6295
|
path: pathMemberHealthFundAccounts(memberId)
|
|
6196
6296
|
}), {
|
|
6197
6297
|
method: 'get',
|
|
@@ -6232,7 +6332,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6232
6332
|
businessId: businessId,
|
|
6233
6333
|
patientId: patientId
|
|
6234
6334
|
}, opts.hyperMediaEndpoint);
|
|
6235
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6335
|
+
return _context6.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6236
6336
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6237
6337
|
}), {
|
|
6238
6338
|
method: 'get',
|
|
@@ -6272,7 +6372,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6272
6372
|
memberId: memberId,
|
|
6273
6373
|
healthFundAccountId: healthFundAccountId
|
|
6274
6374
|
}, opts.hyperMediaEndpoint);
|
|
6275
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6375
|
+
return _context7.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6276
6376
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
6277
6377
|
}), {
|
|
6278
6378
|
method: 'get'
|
|
@@ -6313,7 +6413,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6313
6413
|
patientId: patientId,
|
|
6314
6414
|
healthFundAccountId: healthFundAccountId
|
|
6315
6415
|
}, opts.hyperMediaEndpoint);
|
|
6316
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6416
|
+
return _context8.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6317
6417
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6318
6418
|
}), {
|
|
6319
6419
|
method: 'get'
|
|
@@ -6353,7 +6453,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6353
6453
|
memberId: memberId,
|
|
6354
6454
|
healthFundAccountId: healthFundAccountId
|
|
6355
6455
|
}, opts.hyperMediaEndpoint);
|
|
6356
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6456
|
+
return _context9.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6357
6457
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6358
6458
|
}), {
|
|
6359
6459
|
method: 'put',
|
|
@@ -6396,7 +6496,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6396
6496
|
patientId: patientId,
|
|
6397
6497
|
healthFundAccountId: healthFundAccountId
|
|
6398
6498
|
}, opts.hyperMediaEndpoint);
|
|
6399
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6499
|
+
return _context10.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6400
6500
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6401
6501
|
}), {
|
|
6402
6502
|
method: 'put',
|
|
@@ -6430,9 +6530,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
6430
6530
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
6431
6531
|
});
|
|
6432
6532
|
|
|
6433
|
-
function ownKeys$
|
|
6533
|
+
function ownKeys$r(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; }
|
|
6434
6534
|
|
|
6435
|
-
function _objectSpread$
|
|
6535
|
+
function _objectSpread$r(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$r(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$r(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6436
6536
|
|
|
6437
6537
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
6438
6538
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/healthfundsettings";
|
|
@@ -6469,11 +6569,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6469
6569
|
doesParamExist.default({
|
|
6470
6570
|
healthFundId: healthFundId
|
|
6471
6571
|
}, opts.hyperMediaEndpoint);
|
|
6472
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6572
|
+
return _context.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6473
6573
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
6474
6574
|
}), {
|
|
6475
6575
|
method: 'post',
|
|
6476
|
-
data: _objectSpread$
|
|
6576
|
+
data: _objectSpread$r({
|
|
6477
6577
|
enabled: true
|
|
6478
6578
|
}, body)
|
|
6479
6579
|
}));
|
|
@@ -6510,7 +6610,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6510
6610
|
doesParamExist.default({
|
|
6511
6611
|
healthFundId: healthFundId
|
|
6512
6612
|
}, opts.hyperMediaEndpoint);
|
|
6513
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6613
|
+
return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6514
6614
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6515
6615
|
}), {
|
|
6516
6616
|
method: 'delete'
|
|
@@ -6555,7 +6655,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
6555
6655
|
doesParamExist.default({
|
|
6556
6656
|
healthFundId: healthFundId
|
|
6557
6657
|
}, opts.hyperMediaEndpoint);
|
|
6558
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6658
|
+
return _context3.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6559
6659
|
path: pathHealthFundSettings(healthFundId)
|
|
6560
6660
|
}), {
|
|
6561
6661
|
method: 'get',
|
|
@@ -6605,7 +6705,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
6605
6705
|
practiceId: practiceId,
|
|
6606
6706
|
staffId: staffId
|
|
6607
6707
|
}, opts.hyperMediaEndpoint);
|
|
6608
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6708
|
+
return _context4.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6609
6709
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
6610
6710
|
}), {
|
|
6611
6711
|
method: 'get',
|
|
@@ -6646,7 +6746,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6646
6746
|
healthFundId: healthFundId,
|
|
6647
6747
|
healthFundSettingId: healthFundSettingId
|
|
6648
6748
|
}, opts.hyperMediaEndpoint);
|
|
6649
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6749
|
+
return _context5.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6650
6750
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6651
6751
|
}), {
|
|
6652
6752
|
method: 'put',
|
|
@@ -6675,9 +6775,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
6675
6775
|
updateHealthFundSetting: updateHealthFundSetting
|
|
6676
6776
|
});
|
|
6677
6777
|
|
|
6678
|
-
function ownKeys$
|
|
6778
|
+
function ownKeys$s(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; }
|
|
6679
6779
|
|
|
6680
|
-
function _objectSpread$
|
|
6780
|
+
function _objectSpread$s(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$s(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$s(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6681
6781
|
var PATH__HEALTH_FUNDS = '/healthfunds';
|
|
6682
6782
|
|
|
6683
6783
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -6720,7 +6820,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
6720
6820
|
doesParamExist.default({
|
|
6721
6821
|
accountId: accountId
|
|
6722
6822
|
}, opts.hyperMediaEndpoint);
|
|
6723
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6823
|
+
return _context.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
6724
6824
|
path: pathHealthFundsByAccountId(accountId)
|
|
6725
6825
|
}), {
|
|
6726
6826
|
method: 'get'
|
|
@@ -6762,7 +6862,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
6762
6862
|
doesParamExist.default({
|
|
6763
6863
|
businessId: businessId
|
|
6764
6864
|
}, opts.hyperMediaEndpoint);
|
|
6765
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6865
|
+
return _context2.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
6766
6866
|
path: pathBusinessHealthFunds(businessId)
|
|
6767
6867
|
}), {
|
|
6768
6868
|
method: 'get',
|
|
@@ -6797,7 +6897,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
6797
6897
|
opts = {};
|
|
6798
6898
|
}
|
|
6799
6899
|
|
|
6800
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6900
|
+
return _context3.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
6801
6901
|
path: PATH__HEALTH_FUNDS
|
|
6802
6902
|
}), {
|
|
6803
6903
|
method: 'get',
|
|
@@ -6841,7 +6941,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
6841
6941
|
doesParamExist.default({
|
|
6842
6942
|
organisationId: organisationId
|
|
6843
6943
|
}, opts.hyperMediaEndpoint);
|
|
6844
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6944
|
+
return _context4.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
6845
6945
|
path: pathOrganisationHealthFunds(organisationId)
|
|
6846
6946
|
}), {
|
|
6847
6947
|
method: 'get',
|
|
@@ -6877,7 +6977,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
6877
6977
|
opts = {};
|
|
6878
6978
|
}
|
|
6879
6979
|
|
|
6880
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6980
|
+
return _context5.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
6881
6981
|
path: PATH__HEALTH_FUNDS
|
|
6882
6982
|
}), {
|
|
6883
6983
|
method: 'post',
|
|
@@ -6915,7 +7015,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
6915
7015
|
doesParamExist.default({
|
|
6916
7016
|
healthFundId: healthFundId
|
|
6917
7017
|
}, opts.hyperMediaEndpoint);
|
|
6918
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
7018
|
+
return _context6.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
6919
7019
|
path: pathHealthFund(healthFundId)
|
|
6920
7020
|
}), {
|
|
6921
7021
|
method: 'get'
|
|
@@ -6953,7 +7053,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
6953
7053
|
doesParamExist.default({
|
|
6954
7054
|
healthFundId: healthFundId
|
|
6955
7055
|
}, opts.hyperMediaEndpoint);
|
|
6956
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
7056
|
+
return _context7.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
6957
7057
|
path: pathHealthFund(healthFundId)
|
|
6958
7058
|
}), {
|
|
6959
7059
|
method: 'put',
|
|
@@ -6991,7 +7091,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
6991
7091
|
doesParamExist.default({
|
|
6992
7092
|
healthFundId: healthFundId
|
|
6993
7093
|
}, opts.hyperMediaEndpoint);
|
|
6994
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
7094
|
+
return _context8.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
6995
7095
|
path: pathHealthFund(healthFundId)
|
|
6996
7096
|
}), {
|
|
6997
7097
|
method: 'delete'
|
|
@@ -7084,7 +7184,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
7084
7184
|
healthFundId: healthFundId,
|
|
7085
7185
|
body: body
|
|
7086
7186
|
}, opts.hyperMediaEndpoint);
|
|
7087
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7187
|
+
return _context10.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7088
7188
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
7089
7189
|
}), {
|
|
7090
7190
|
method: 'post',
|
|
@@ -7119,9 +7219,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
7119
7219
|
verifyMember: verifyMember
|
|
7120
7220
|
});
|
|
7121
7221
|
|
|
7122
|
-
function ownKeys$
|
|
7222
|
+
function ownKeys$t(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; }
|
|
7123
7223
|
|
|
7124
|
-
function _objectSpread$
|
|
7224
|
+
function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$t(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7125
7225
|
var pathICDItems = '/icditems';
|
|
7126
7226
|
|
|
7127
7227
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -7150,7 +7250,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
7150
7250
|
};
|
|
7151
7251
|
}
|
|
7152
7252
|
|
|
7153
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7253
|
+
return _context.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
7154
7254
|
path: pathICDItems
|
|
7155
7255
|
}), {
|
|
7156
7256
|
method: 'get',
|
|
@@ -7195,7 +7295,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
7195
7295
|
doesParamExist.default({
|
|
7196
7296
|
modalityId: modalityId
|
|
7197
7297
|
}, opts.hyperMediaEndpoint);
|
|
7198
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7298
|
+
return _context2.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
7199
7299
|
path: pathModalityICDItems(modalityId)
|
|
7200
7300
|
}), {
|
|
7201
7301
|
method: 'get',
|
|
@@ -7221,9 +7321,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
7221
7321
|
getModalityICDItems: getModalityICDItems
|
|
7222
7322
|
});
|
|
7223
7323
|
|
|
7224
|
-
function ownKeys$
|
|
7324
|
+
function ownKeys$u(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; }
|
|
7225
7325
|
|
|
7226
|
-
function _objectSpread$
|
|
7326
|
+
function _objectSpread$u(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$u(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$u(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7227
7327
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
7228
7328
|
return "/businesses/" + businessId + "/invoicescans";
|
|
7229
7329
|
};
|
|
@@ -7253,7 +7353,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
7253
7353
|
doesParamExist.default({
|
|
7254
7354
|
businessId: businessId
|
|
7255
7355
|
}, opts.hyperMediaEndpoint);
|
|
7256
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7356
|
+
return _context.abrupt("return", request(_objectSpread$u({}, opts, {
|
|
7257
7357
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
7258
7358
|
}), {
|
|
7259
7359
|
method: 'post',
|
|
@@ -7294,7 +7394,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
7294
7394
|
businessId: businessId,
|
|
7295
7395
|
invoiceScanId: invoiceScanId
|
|
7296
7396
|
}, opts.hyperMediaEndpoint);
|
|
7297
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7397
|
+
return _context2.abrupt("return", request(_objectSpread$u({}, opts, {
|
|
7298
7398
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
7299
7399
|
}), {
|
|
7300
7400
|
method: 'get'
|
|
@@ -7327,7 +7427,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
7327
7427
|
doesParamExist.default({
|
|
7328
7428
|
businessId: businessId
|
|
7329
7429
|
}, opts.hyperMediaEndpoint);
|
|
7330
|
-
return request(_objectSpread$
|
|
7430
|
+
return request(_objectSpread$u({}, opts, {
|
|
7331
7431
|
path: pathUploadUrlByBusinessId(businessId)
|
|
7332
7432
|
}), {
|
|
7333
7433
|
method: 'get',
|
|
@@ -7345,9 +7445,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
7345
7445
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
7346
7446
|
});
|
|
7347
7447
|
|
|
7348
|
-
function ownKeys$
|
|
7448
|
+
function ownKeys$v(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; }
|
|
7349
7449
|
|
|
7350
|
-
function _objectSpread$
|
|
7450
|
+
function _objectSpread$v(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$v(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$v(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7351
7451
|
var PATH__JHCS = "/jointhealthcentres";
|
|
7352
7452
|
var pathJHC = function pathJHC(jhcId) {
|
|
7353
7453
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -7360,7 +7460,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
7360
7460
|
doesParamExist.default({
|
|
7361
7461
|
jhcId: jhcId
|
|
7362
7462
|
}, opts.hyperMediaEndpoint);
|
|
7363
|
-
return request(_objectSpread$
|
|
7463
|
+
return request(_objectSpread$v({}, opts, {
|
|
7364
7464
|
path: pathJHC(jhcId)
|
|
7365
7465
|
}), {
|
|
7366
7466
|
method: 'get'
|
|
@@ -7371,7 +7471,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
7371
7471
|
opts = {};
|
|
7372
7472
|
}
|
|
7373
7473
|
|
|
7374
|
-
return request(_objectSpread$
|
|
7474
|
+
return request(_objectSpread$v({}, opts, {
|
|
7375
7475
|
path: PATH__JHCS
|
|
7376
7476
|
}), {
|
|
7377
7477
|
method: 'get',
|
|
@@ -7387,9 +7487,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
7387
7487
|
getJHCs: getJHCs
|
|
7388
7488
|
});
|
|
7389
7489
|
|
|
7390
|
-
function ownKeys$
|
|
7490
|
+
function ownKeys$w(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; }
|
|
7391
7491
|
|
|
7392
|
-
function _objectSpread$
|
|
7492
|
+
function _objectSpread$w(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$w(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$w(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7393
7493
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
7394
7494
|
return "/businesses/" + businessId + "/kyc";
|
|
7395
7495
|
};
|
|
@@ -7443,7 +7543,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
7443
7543
|
doesParamExist.default({
|
|
7444
7544
|
businessId: businessId
|
|
7445
7545
|
}, opts.hyperMediaEndpoint);
|
|
7446
|
-
return request(_objectSpread$
|
|
7546
|
+
return request(_objectSpread$w({}, opts, {
|
|
7447
7547
|
path: pathBusinessKyc(businessId)
|
|
7448
7548
|
}), {
|
|
7449
7549
|
method: 'get'
|
|
@@ -7465,7 +7565,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
7465
7565
|
businessId: businessId,
|
|
7466
7566
|
practiceId: practiceId
|
|
7467
7567
|
}, opts.hyperMediaEndpoint);
|
|
7468
|
-
return request(_objectSpread$
|
|
7568
|
+
return request(_objectSpread$w({}, opts, {
|
|
7469
7569
|
path: pathPracticeKyc(businessId, practiceId)
|
|
7470
7570
|
}), {
|
|
7471
7571
|
method: 'get'
|
|
@@ -7486,7 +7586,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
7486
7586
|
doesParamExist.default({
|
|
7487
7587
|
businessId: businessId
|
|
7488
7588
|
}, opts.hyperMediaEndpoint);
|
|
7489
|
-
return request(_objectSpread$
|
|
7589
|
+
return request(_objectSpread$w({}, opts, {
|
|
7490
7590
|
path: pathBusinessKyc(businessId)
|
|
7491
7591
|
}), {
|
|
7492
7592
|
method: 'put',
|
|
@@ -7508,7 +7608,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
7508
7608
|
doesParamExist.default({
|
|
7509
7609
|
businessId: businessId
|
|
7510
7610
|
}, opts.hyperMediaEndpoint);
|
|
7511
|
-
return request(_objectSpread$
|
|
7611
|
+
return request(_objectSpread$w({}, opts, {
|
|
7512
7612
|
path: pathBusinessCbo(businessId)
|
|
7513
7613
|
}), {
|
|
7514
7614
|
method: 'get',
|
|
@@ -7529,7 +7629,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
7529
7629
|
doesParamExist.default({
|
|
7530
7630
|
businessId: businessId
|
|
7531
7631
|
}, opts.hyperMediaEndpoint);
|
|
7532
|
-
return request(_objectSpread$
|
|
7632
|
+
return request(_objectSpread$w({}, opts, {
|
|
7533
7633
|
path: pathBusinessKycVerify(businessId)
|
|
7534
7634
|
}), {
|
|
7535
7635
|
method: 'post'
|
|
@@ -7551,7 +7651,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
7551
7651
|
businessId: businessId,
|
|
7552
7652
|
practiceId: practiceId
|
|
7553
7653
|
}, opts.hyperMediaEndpoint);
|
|
7554
|
-
return request(_objectSpread$
|
|
7654
|
+
return request(_objectSpread$w({}, opts, {
|
|
7555
7655
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
7556
7656
|
}), {
|
|
7557
7657
|
method: 'post',
|
|
@@ -7572,7 +7672,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
7572
7672
|
doesParamExist.default({
|
|
7573
7673
|
businessId: businessId
|
|
7574
7674
|
}, opts.hyperMediaEndpoint);
|
|
7575
|
-
return request(_objectSpread$
|
|
7675
|
+
return request(_objectSpread$w({}, opts, {
|
|
7576
7676
|
path: pathBusinessKycUnverify(businessId)
|
|
7577
7677
|
}), {
|
|
7578
7678
|
method: 'post'
|
|
@@ -7594,7 +7694,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
7594
7694
|
businessId: businessId,
|
|
7595
7695
|
practiceId: practiceId
|
|
7596
7696
|
}, opts.hyperMediaEndpoint);
|
|
7597
|
-
return request(_objectSpread$
|
|
7697
|
+
return request(_objectSpread$w({}, opts, {
|
|
7598
7698
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
7599
7699
|
}), {
|
|
7600
7700
|
method: 'post'
|
|
@@ -7615,7 +7715,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
7615
7715
|
doesParamExist.default({
|
|
7616
7716
|
businessId: businessId
|
|
7617
7717
|
}, opts.hyperMediaEndpoint);
|
|
7618
|
-
return request(_objectSpread$
|
|
7718
|
+
return request(_objectSpread$w({}, opts, {
|
|
7619
7719
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
7620
7720
|
}), {
|
|
7621
7721
|
method: 'post',
|
|
@@ -7637,7 +7737,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
7637
7737
|
doesParamExist.default({
|
|
7638
7738
|
businessId: businessId
|
|
7639
7739
|
}, opts.hyperMediaEndpoint);
|
|
7640
|
-
return request(_objectSpread$
|
|
7740
|
+
return request(_objectSpread$w({}, opts, {
|
|
7641
7741
|
path: pathRequestVerificationSupport(businessId)
|
|
7642
7742
|
}), {
|
|
7643
7743
|
method: 'post',
|
|
@@ -7659,7 +7759,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
7659
7759
|
doesParamExist.default({
|
|
7660
7760
|
businessId: businessId
|
|
7661
7761
|
}, opts.hyperMediaEndpoint);
|
|
7662
|
-
return request(_objectSpread$
|
|
7762
|
+
return request(_objectSpread$w({}, opts, {
|
|
7663
7763
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
7664
7764
|
}), {
|
|
7665
7765
|
method: 'post',
|
|
@@ -7682,7 +7782,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
7682
7782
|
doesParamExist.default({
|
|
7683
7783
|
businessId: businessId
|
|
7684
7784
|
}, opts.hyperMediaEndpoint);
|
|
7685
|
-
return request(_objectSpread$
|
|
7785
|
+
return request(_objectSpread$w({}, opts, {
|
|
7686
7786
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
7687
7787
|
}), {
|
|
7688
7788
|
method: 'delete'
|
|
@@ -7702,7 +7802,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
7702
7802
|
doesParamExist.default({
|
|
7703
7803
|
businessId: businessId
|
|
7704
7804
|
}, opts.hyperMediaEndpoint);
|
|
7705
|
-
return request(_objectSpread$
|
|
7805
|
+
return request(_objectSpread$w({}, opts, {
|
|
7706
7806
|
path: pathResumeComplexVerification(businessId)
|
|
7707
7807
|
}), {
|
|
7708
7808
|
method: 'post'
|
|
@@ -7723,7 +7823,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
7723
7823
|
doesParamExist.default({
|
|
7724
7824
|
businessId: businessId
|
|
7725
7825
|
}, opts.hyperMediaEndpoint);
|
|
7726
|
-
return request(_objectSpread$
|
|
7826
|
+
return request(_objectSpread$w({}, opts, {
|
|
7727
7827
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
7728
7828
|
}), {
|
|
7729
7829
|
method: 'get',
|
|
@@ -7762,9 +7862,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
7762
7862
|
getTrustDocumentUploadUrl: getTrustDocumentUploadUrl
|
|
7763
7863
|
});
|
|
7764
7864
|
|
|
7765
|
-
function ownKeys$
|
|
7865
|
+
function ownKeys$x(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; }
|
|
7766
7866
|
|
|
7767
|
-
function _objectSpread$
|
|
7867
|
+
function _objectSpread$x(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$x(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$x(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7768
7868
|
var pathLog = function pathLog() {
|
|
7769
7869
|
return "/logs";
|
|
7770
7870
|
};
|
|
@@ -7782,7 +7882,7 @@ var createLog = function createLog(body, opts) {
|
|
|
7782
7882
|
opts = {};
|
|
7783
7883
|
}
|
|
7784
7884
|
|
|
7785
|
-
return request(_objectSpread$
|
|
7885
|
+
return request(_objectSpread$x({}, opts, {
|
|
7786
7886
|
path: pathLog()
|
|
7787
7887
|
}), {
|
|
7788
7888
|
method: 'post',
|
|
@@ -7804,7 +7904,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
7804
7904
|
doesParamExist.default({
|
|
7805
7905
|
businessId: businessId
|
|
7806
7906
|
});
|
|
7807
|
-
return request(_objectSpread$
|
|
7907
|
+
return request(_objectSpread$x({}, opts, {
|
|
7808
7908
|
path: pathBusinessLog(businessId)
|
|
7809
7909
|
}), {
|
|
7810
7910
|
method: 'post',
|
|
@@ -7820,9 +7920,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
7820
7920
|
createBusinessLog: createBusinessLog
|
|
7821
7921
|
});
|
|
7822
7922
|
|
|
7823
|
-
function ownKeys$
|
|
7923
|
+
function ownKeys$y(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; }
|
|
7824
7924
|
|
|
7825
|
-
function _objectSpread$
|
|
7925
|
+
function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$y(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7826
7926
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
7827
7927
|
return "/businesses/" + businessId + "/messagemappings";
|
|
7828
7928
|
};
|
|
@@ -7841,7 +7941,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
7841
7941
|
doesParamExist.default({
|
|
7842
7942
|
businessId: businessId
|
|
7843
7943
|
}, opts.hyperMediaEndpoint);
|
|
7844
|
-
return request(_objectSpread$
|
|
7944
|
+
return request(_objectSpread$y({}, opts, {
|
|
7845
7945
|
path: pathBusinessMessageMappings(businessId)
|
|
7846
7946
|
}), {
|
|
7847
7947
|
method: 'get',
|
|
@@ -7855,9 +7955,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
7855
7955
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
7856
7956
|
});
|
|
7857
7957
|
|
|
7858
|
-
function ownKeys$
|
|
7958
|
+
function ownKeys$z(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; }
|
|
7859
7959
|
|
|
7860
|
-
function _objectSpread$
|
|
7960
|
+
function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$z(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7861
7961
|
|
|
7862
7962
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
7863
7963
|
return "/healthfunds/" + healthFundId + "/minions";
|
|
@@ -7894,12 +7994,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7894
7994
|
triggerId: triggerId,
|
|
7895
7995
|
actionId: actionId
|
|
7896
7996
|
}, opts.hyperMediaEndpoint);
|
|
7897
|
-
data = _objectSpread$
|
|
7997
|
+
data = _objectSpread$z({
|
|
7898
7998
|
name: name,
|
|
7899
7999
|
triggerId: triggerId,
|
|
7900
8000
|
actionId: actionId
|
|
7901
8001
|
}, body);
|
|
7902
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8002
|
+
return _context.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
7903
8003
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7904
8004
|
}), {
|
|
7905
8005
|
method: 'post',
|
|
@@ -7939,7 +8039,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
7939
8039
|
opts = {};
|
|
7940
8040
|
}
|
|
7941
8041
|
|
|
7942
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8042
|
+
return _context2.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
7943
8043
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7944
8044
|
}), {
|
|
7945
8045
|
method: 'get',
|
|
@@ -7979,7 +8079,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7979
8079
|
healthFundId: healthFundId,
|
|
7980
8080
|
minionId: minionId
|
|
7981
8081
|
}, opts.hyperMediaEndpoint);
|
|
7982
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8082
|
+
return _context3.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
7983
8083
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
7984
8084
|
}), {
|
|
7985
8085
|
method: 'get'
|
|
@@ -8019,7 +8119,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8019
8119
|
healthFundId: healthFundId,
|
|
8020
8120
|
minionId: minionId
|
|
8021
8121
|
}, opts.hyperMediaEndpoint);
|
|
8022
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
8122
|
+
return _context4.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8023
8123
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8024
8124
|
}), {
|
|
8025
8125
|
method: 'put',
|
|
@@ -8059,7 +8159,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8059
8159
|
healthFundId: healthFundId,
|
|
8060
8160
|
minionId: minionId
|
|
8061
8161
|
}, opts.hyperMediaEndpoint);
|
|
8062
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
8162
|
+
return _context5.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8063
8163
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8064
8164
|
}), {
|
|
8065
8165
|
method: 'delete'
|
|
@@ -8087,9 +8187,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
8087
8187
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
8088
8188
|
});
|
|
8089
8189
|
|
|
8090
|
-
function ownKeys$
|
|
8190
|
+
function ownKeys$A(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; }
|
|
8091
8191
|
|
|
8092
|
-
function _objectSpread$
|
|
8192
|
+
function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$A(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8093
8193
|
var PATH__MODALITIES = '/modalities';
|
|
8094
8194
|
|
|
8095
8195
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -8121,7 +8221,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
8121
8221
|
doesParamExist.default({
|
|
8122
8222
|
businessId: businessId
|
|
8123
8223
|
}, opts.hyperMediaEndpoint);
|
|
8124
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8224
|
+
return _context.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
8125
8225
|
path: pathBusinessModalities(businessId)
|
|
8126
8226
|
}), {
|
|
8127
8227
|
method: 'get'
|
|
@@ -8161,7 +8261,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
8161
8261
|
};
|
|
8162
8262
|
}
|
|
8163
8263
|
|
|
8164
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8264
|
+
return _context2.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
8165
8265
|
path: PATH__MODALITIES
|
|
8166
8266
|
}), {
|
|
8167
8267
|
method: 'get',
|
|
@@ -8198,7 +8298,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
8198
8298
|
};
|
|
8199
8299
|
}
|
|
8200
8300
|
|
|
8201
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8301
|
+
return _context3.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
8202
8302
|
path: pathModality(modalityId)
|
|
8203
8303
|
}), {
|
|
8204
8304
|
method: 'get'
|
|
@@ -8224,9 +8324,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
8224
8324
|
getModality: getModality
|
|
8225
8325
|
});
|
|
8226
8326
|
|
|
8227
|
-
function ownKeys$
|
|
8327
|
+
function ownKeys$B(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; }
|
|
8228
8328
|
|
|
8229
|
-
function _objectSpread$
|
|
8329
|
+
function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$B(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8230
8330
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
8231
8331
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
8232
8332
|
};
|
|
@@ -8254,7 +8354,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
8254
8354
|
healthFundId: healthFundId,
|
|
8255
8355
|
documentId: documentId
|
|
8256
8356
|
}, opts.hyperMediaEndpoint);
|
|
8257
|
-
return request(_objectSpread$
|
|
8357
|
+
return request(_objectSpread$B({}, opts, {
|
|
8258
8358
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8259
8359
|
}), {
|
|
8260
8360
|
method: 'post',
|
|
@@ -8270,7 +8370,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
8270
8370
|
healthFundId: healthFundId,
|
|
8271
8371
|
documentId: documentId
|
|
8272
8372
|
}, opts.hyperMediaEndpoint);
|
|
8273
|
-
return request(_objectSpread$
|
|
8373
|
+
return request(_objectSpread$B({}, opts, {
|
|
8274
8374
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8275
8375
|
}), {
|
|
8276
8376
|
method: 'get'
|
|
@@ -8285,7 +8385,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
8285
8385
|
healthFundId: healthFundId,
|
|
8286
8386
|
transactionId: transactionId
|
|
8287
8387
|
}, opts.hyperMediaEndpoint);
|
|
8288
|
-
return request(_objectSpread$
|
|
8388
|
+
return request(_objectSpread$B({}, opts, {
|
|
8289
8389
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
8290
8390
|
}), {
|
|
8291
8391
|
method: 'get'
|
|
@@ -8300,7 +8400,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
8300
8400
|
healthFundId: healthFundId,
|
|
8301
8401
|
noteId: noteId
|
|
8302
8402
|
}, opts.hyperMediaEndpoint);
|
|
8303
|
-
return request(_objectSpread$
|
|
8403
|
+
return request(_objectSpread$B({}, opts, {
|
|
8304
8404
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8305
8405
|
}), {
|
|
8306
8406
|
method: 'get'
|
|
@@ -8314,7 +8414,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
8314
8414
|
doesParamExist.default({
|
|
8315
8415
|
transactionId: transactionId
|
|
8316
8416
|
}, opts.hyperMediaEndpoint);
|
|
8317
|
-
return request(_objectSpread$
|
|
8417
|
+
return request(_objectSpread$B({}, opts, {
|
|
8318
8418
|
path: pathTransactionNotes(transactionId)
|
|
8319
8419
|
}), {
|
|
8320
8420
|
method: 'get',
|
|
@@ -8330,7 +8430,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
8330
8430
|
businessId: businessId,
|
|
8331
8431
|
transactionId: transactionId
|
|
8332
8432
|
}, opts.hyperMediaEndpoint);
|
|
8333
|
-
return request(_objectSpread$
|
|
8433
|
+
return request(_objectSpread$B({}, opts, {
|
|
8334
8434
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
8335
8435
|
}), {
|
|
8336
8436
|
method: 'get'
|
|
@@ -8344,7 +8444,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
8344
8444
|
doesParamExist.default({
|
|
8345
8445
|
transactionId: transactionId
|
|
8346
8446
|
}, opts.hyperMediaEndpoint);
|
|
8347
|
-
return request(_objectSpread$
|
|
8447
|
+
return request(_objectSpread$B({}, opts, {
|
|
8348
8448
|
path: pathTransactionNotes(transactionId)
|
|
8349
8449
|
}), {
|
|
8350
8450
|
method: 'post',
|
|
@@ -8360,7 +8460,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
8360
8460
|
transactionId: transactionId,
|
|
8361
8461
|
transactionNoteId: transactionNoteId
|
|
8362
8462
|
}, opts.hyperMediaEndpoint);
|
|
8363
|
-
return request(_objectSpread$
|
|
8463
|
+
return request(_objectSpread$B({}, opts, {
|
|
8364
8464
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
8365
8465
|
}), {
|
|
8366
8466
|
method: 'delete'
|
|
@@ -8375,7 +8475,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
8375
8475
|
healthFundId: healthFundId,
|
|
8376
8476
|
noteId: noteId
|
|
8377
8477
|
}, opts.hyperMediaEndpoint);
|
|
8378
|
-
return request(_objectSpread$
|
|
8478
|
+
return request(_objectSpread$B({}, opts, {
|
|
8379
8479
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8380
8480
|
}), {
|
|
8381
8481
|
method: 'put',
|
|
@@ -8391,7 +8491,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
8391
8491
|
healthFundId: healthFundId,
|
|
8392
8492
|
noteId: noteId
|
|
8393
8493
|
}, opts.hyperMediaEndpoint);
|
|
8394
|
-
return request(_objectSpread$
|
|
8494
|
+
return request(_objectSpread$B({}, opts, {
|
|
8395
8495
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8396
8496
|
}), {
|
|
8397
8497
|
method: 'delete'
|
|
@@ -8418,9 +8518,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
8418
8518
|
deleteHealthFundNote: deleteHealthFundNote
|
|
8419
8519
|
});
|
|
8420
8520
|
|
|
8421
|
-
function ownKeys$
|
|
8521
|
+
function ownKeys$C(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; }
|
|
8422
8522
|
|
|
8423
|
-
function _objectSpread$
|
|
8523
|
+
function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$C(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8424
8524
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
8425
8525
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
8426
8526
|
};
|
|
@@ -8451,7 +8551,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
8451
8551
|
doesParamExist.default({
|
|
8452
8552
|
practiceId: practiceId
|
|
8453
8553
|
});
|
|
8454
|
-
return request(_objectSpread$
|
|
8554
|
+
return request(_objectSpread$C({}, opts, {
|
|
8455
8555
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
8456
8556
|
}), {
|
|
8457
8557
|
method: 'post',
|
|
@@ -8484,7 +8584,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
8484
8584
|
businessId: businessId,
|
|
8485
8585
|
practiceId: practiceId
|
|
8486
8586
|
}, opts.hyperMediaEndpoint);
|
|
8487
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8587
|
+
return _context.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
8488
8588
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
8489
8589
|
}), {
|
|
8490
8590
|
method: 'get',
|
|
@@ -8518,7 +8618,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
8518
8618
|
doesParamExist.default({
|
|
8519
8619
|
businessId: businessId
|
|
8520
8620
|
});
|
|
8521
|
-
return request(_objectSpread$
|
|
8621
|
+
return request(_objectSpread$C({}, opts, {
|
|
8522
8622
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8523
8623
|
}), {
|
|
8524
8624
|
method: 'get',
|
|
@@ -8538,7 +8638,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
8538
8638
|
doesParamExist.default({
|
|
8539
8639
|
businessId: businessId
|
|
8540
8640
|
});
|
|
8541
|
-
return request(_objectSpread$
|
|
8641
|
+
return request(_objectSpread$C({}, opts, {
|
|
8542
8642
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8543
8643
|
}), {
|
|
8544
8644
|
method: 'post',
|
|
@@ -8558,7 +8658,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
8558
8658
|
doesParamExist.default({
|
|
8559
8659
|
businessId: businessId
|
|
8560
8660
|
});
|
|
8561
|
-
return request(_objectSpread$
|
|
8661
|
+
return request(_objectSpread$C({}, opts, {
|
|
8562
8662
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8563
8663
|
}), {
|
|
8564
8664
|
method: 'put',
|
|
@@ -8582,7 +8682,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
8582
8682
|
staffId: staffId,
|
|
8583
8683
|
providerSetItemId: providerSetItemId
|
|
8584
8684
|
});
|
|
8585
|
-
return request(_objectSpread$
|
|
8685
|
+
return request(_objectSpread$C({}, opts, {
|
|
8586
8686
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
8587
8687
|
}), {
|
|
8588
8688
|
method: 'post',
|
|
@@ -8604,7 +8704,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
8604
8704
|
doesParamExist.default({
|
|
8605
8705
|
businessId: businessId
|
|
8606
8706
|
});
|
|
8607
|
-
return request(_objectSpread$
|
|
8707
|
+
return request(_objectSpread$C({}, opts, {
|
|
8608
8708
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
8609
8709
|
}), {
|
|
8610
8710
|
method: 'get',
|
|
@@ -8628,9 +8728,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
8628
8728
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
8629
8729
|
});
|
|
8630
8730
|
|
|
8631
|
-
function ownKeys$
|
|
8731
|
+
function ownKeys$D(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; }
|
|
8632
8732
|
|
|
8633
|
-
function _objectSpread$
|
|
8733
|
+
function _objectSpread$D(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$D(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$D(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8634
8734
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
8635
8735
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
8636
8736
|
};
|
|
@@ -8662,7 +8762,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
8662
8762
|
doesParamExist.default({
|
|
8663
8763
|
onboardingRequestId: onboardingRequestId
|
|
8664
8764
|
}, opts.hyperMediaEndpoint);
|
|
8665
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8765
|
+
return _context.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
8666
8766
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8667
8767
|
}), {
|
|
8668
8768
|
method: 'get'
|
|
@@ -8704,7 +8804,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
8704
8804
|
doesParamExist.default({
|
|
8705
8805
|
businessId: businessId
|
|
8706
8806
|
}, opts.hyperMediaEndpoint);
|
|
8707
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8807
|
+
return _context2.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
8708
8808
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8709
8809
|
}), {
|
|
8710
8810
|
method: 'get',
|
|
@@ -8736,7 +8836,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
8736
8836
|
doesParamExist.default({
|
|
8737
8837
|
businessId: businessId
|
|
8738
8838
|
});
|
|
8739
|
-
return request(_objectSpread$
|
|
8839
|
+
return request(_objectSpread$D({}, opts, {
|
|
8740
8840
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8741
8841
|
}), {
|
|
8742
8842
|
method: 'post',
|
|
@@ -8756,7 +8856,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
8756
8856
|
doesParamExist.default({
|
|
8757
8857
|
onboardingRequestId: onboardingRequestId
|
|
8758
8858
|
});
|
|
8759
|
-
return request(_objectSpread$
|
|
8859
|
+
return request(_objectSpread$D({}, opts, {
|
|
8760
8860
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
8761
8861
|
}), {
|
|
8762
8862
|
method: 'post',
|
|
@@ -8777,7 +8877,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
8777
8877
|
doesParamExist.default({
|
|
8778
8878
|
onboardingRequestId: onboardingRequestId
|
|
8779
8879
|
});
|
|
8780
|
-
return request(_objectSpread$
|
|
8880
|
+
return request(_objectSpread$D({}, opts, {
|
|
8781
8881
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
8782
8882
|
}), {
|
|
8783
8883
|
method: 'put',
|
|
@@ -8797,7 +8897,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
8797
8897
|
doesParamExist.default({
|
|
8798
8898
|
onboardingRequestId: onboardingRequestId
|
|
8799
8899
|
});
|
|
8800
|
-
return request(_objectSpread$
|
|
8900
|
+
return request(_objectSpread$D({}, opts, {
|
|
8801
8901
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8802
8902
|
}), {
|
|
8803
8903
|
method: 'delete',
|
|
@@ -8819,9 +8919,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
8819
8919
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
8820
8920
|
});
|
|
8821
8921
|
|
|
8822
|
-
function ownKeys$
|
|
8922
|
+
function ownKeys$E(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; }
|
|
8823
8923
|
|
|
8824
|
-
function _objectSpread$
|
|
8924
|
+
function _objectSpread$E(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$E(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8825
8925
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
8826
8926
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
8827
8927
|
var PATH__OPS_DECRTPT = '/ops/decrypt';
|
|
@@ -8854,13 +8954,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
8854
8954
|
type: type
|
|
8855
8955
|
}, opts.hyperMediaEndpoint);
|
|
8856
8956
|
|
|
8857
|
-
var data = _objectSpread$
|
|
8957
|
+
var data = _objectSpread$E({
|
|
8858
8958
|
fullName: fullName,
|
|
8859
8959
|
displayName: displayName,
|
|
8860
8960
|
type: type
|
|
8861
8961
|
}, body);
|
|
8862
8962
|
|
|
8863
|
-
return request(_objectSpread$
|
|
8963
|
+
return request(_objectSpread$E({}, opts, {
|
|
8864
8964
|
path: PATH__OPS_SERVICES
|
|
8865
8965
|
}), {
|
|
8866
8966
|
method: 'post',
|
|
@@ -8881,7 +8981,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
8881
8981
|
doesParamExist.default({
|
|
8882
8982
|
serviceId: serviceId
|
|
8883
8983
|
}, opts.hyperMediaEndpoint);
|
|
8884
|
-
return request(_objectSpread$
|
|
8984
|
+
return request(_objectSpread$E({}, opts, {
|
|
8885
8985
|
path: pathOpsService(serviceId)
|
|
8886
8986
|
}), {
|
|
8887
8987
|
method: 'delete'
|
|
@@ -8901,7 +9001,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
8901
9001
|
doesParamExist.default({
|
|
8902
9002
|
serviceId: serviceId
|
|
8903
9003
|
}, opts.hyperMediaEndpoint);
|
|
8904
|
-
return request(_objectSpread$
|
|
9004
|
+
return request(_objectSpread$E({}, opts, {
|
|
8905
9005
|
path: PATH__OPS_DEPLOYMENTS
|
|
8906
9006
|
}), {
|
|
8907
9007
|
method: 'post',
|
|
@@ -8925,7 +9025,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
8925
9025
|
opts = {};
|
|
8926
9026
|
}
|
|
8927
9027
|
|
|
8928
|
-
return request(_objectSpread$
|
|
9028
|
+
return request(_objectSpread$E({}, opts, {
|
|
8929
9029
|
path: PATH__OPS_DEPLOYMENTS
|
|
8930
9030
|
}), {
|
|
8931
9031
|
method: 'get',
|
|
@@ -8946,7 +9046,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
8946
9046
|
doesParamExist.default({
|
|
8947
9047
|
deploymentId: deploymentId
|
|
8948
9048
|
}, opts.hyperMediaEndpoint);
|
|
8949
|
-
return request(_objectSpread$
|
|
9049
|
+
return request(_objectSpread$E({}, opts, {
|
|
8950
9050
|
path: pathOpsDeployment(deploymentId)
|
|
8951
9051
|
}), {
|
|
8952
9052
|
method: 'get'
|
|
@@ -8967,7 +9067,7 @@ var getServices = function getServices(query, opts) {
|
|
|
8967
9067
|
opts = {};
|
|
8968
9068
|
}
|
|
8969
9069
|
|
|
8970
|
-
return request(_objectSpread$
|
|
9070
|
+
return request(_objectSpread$E({}, opts, {
|
|
8971
9071
|
path: PATH__OPS_SERVICES
|
|
8972
9072
|
}), {
|
|
8973
9073
|
method: 'get',
|
|
@@ -8988,7 +9088,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
8988
9088
|
doesParamExist.default({
|
|
8989
9089
|
serviceId: serviceId
|
|
8990
9090
|
}, opts.hyperMediaEndpoint);
|
|
8991
|
-
return request(_objectSpread$
|
|
9091
|
+
return request(_objectSpread$E({}, opts, {
|
|
8992
9092
|
path: pathOpsService(serviceId)
|
|
8993
9093
|
}), {
|
|
8994
9094
|
method: 'get'
|
|
@@ -9009,7 +9109,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
9009
9109
|
doesParamExist.default({
|
|
9010
9110
|
serviceId: serviceId
|
|
9011
9111
|
}, opts.hyperMediaEndpoint);
|
|
9012
|
-
return request(_objectSpread$
|
|
9112
|
+
return request(_objectSpread$E({}, opts, {
|
|
9013
9113
|
path: pathOpsService(serviceId)
|
|
9014
9114
|
}), {
|
|
9015
9115
|
method: 'put',
|
|
@@ -9031,7 +9131,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
9031
9131
|
doesParamExist.default({
|
|
9032
9132
|
serviceId: serviceId
|
|
9033
9133
|
}, opts.hyperMediaEndpoint);
|
|
9034
|
-
return request(_objectSpread$
|
|
9134
|
+
return request(_objectSpread$E({}, opts, {
|
|
9035
9135
|
path: PATH__OPS_DECRTPT
|
|
9036
9136
|
}), {
|
|
9037
9137
|
method: 'post',
|
|
@@ -9052,9 +9152,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
9052
9152
|
decrypt: decrypt
|
|
9053
9153
|
});
|
|
9054
9154
|
|
|
9055
|
-
function ownKeys$
|
|
9155
|
+
function ownKeys$F(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; }
|
|
9056
9156
|
|
|
9057
|
-
function _objectSpread$
|
|
9157
|
+
function _objectSpread$F(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$F(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9058
9158
|
var PATH__ORGANISATIONS = '/organisations';
|
|
9059
9159
|
/**
|
|
9060
9160
|
* Get organisations
|
|
@@ -9071,7 +9171,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
9071
9171
|
opts = {};
|
|
9072
9172
|
}
|
|
9073
9173
|
|
|
9074
|
-
return request(_objectSpread$
|
|
9174
|
+
return request(_objectSpread$F({}, opts, {
|
|
9075
9175
|
path: PATH__ORGANISATIONS
|
|
9076
9176
|
}), {
|
|
9077
9177
|
method: 'get',
|
|
@@ -9084,9 +9184,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
9084
9184
|
getOrganisations: getOrganisations
|
|
9085
9185
|
});
|
|
9086
9186
|
|
|
9087
|
-
function ownKeys$
|
|
9187
|
+
function ownKeys$G(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; }
|
|
9088
9188
|
|
|
9089
|
-
function _objectSpread$
|
|
9189
|
+
function _objectSpread$G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$G(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9090
9190
|
var PATH__PARTNERS = '/partners';
|
|
9091
9191
|
|
|
9092
9192
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -9125,7 +9225,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
9125
9225
|
opts = {};
|
|
9126
9226
|
}
|
|
9127
9227
|
|
|
9128
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9228
|
+
return _context.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9129
9229
|
path: PATH__PARTNERS
|
|
9130
9230
|
}), {
|
|
9131
9231
|
method: 'get',
|
|
@@ -9163,7 +9263,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
9163
9263
|
doesParamExist.default({
|
|
9164
9264
|
partnerId: partnerId
|
|
9165
9265
|
}, opts.hyperMediaEndpoint);
|
|
9166
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9266
|
+
return _context2.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9167
9267
|
path: pathPartner(partnerId)
|
|
9168
9268
|
}), {
|
|
9169
9269
|
method: 'get'
|
|
@@ -9201,7 +9301,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
9201
9301
|
doesParamExist.default({
|
|
9202
9302
|
partnerId: partnerId
|
|
9203
9303
|
}, opts.hyperMediaEndpoint);
|
|
9204
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9304
|
+
return _context3.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9205
9305
|
path: pathPartner(partnerId)
|
|
9206
9306
|
}), {
|
|
9207
9307
|
method: 'put',
|
|
@@ -9242,10 +9342,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
9242
9342
|
doesParamExist.default({
|
|
9243
9343
|
partnerId: partnerId
|
|
9244
9344
|
}, opts.hyperMediaEndpoint);
|
|
9245
|
-
data = _objectSpread$
|
|
9345
|
+
data = _objectSpread$G({
|
|
9246
9346
|
fullNameId: fullNameId
|
|
9247
9347
|
}, body);
|
|
9248
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9348
|
+
return _context4.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9249
9349
|
path: pathPartnerPractices(partnerId)
|
|
9250
9350
|
}), {
|
|
9251
9351
|
method: 'put',
|
|
@@ -9289,10 +9389,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
9289
9389
|
practiceId: practiceId,
|
|
9290
9390
|
providerNumberId: providerNumberId
|
|
9291
9391
|
}, opts.hyperMediaEndpoint);
|
|
9292
|
-
data = _objectSpread$
|
|
9392
|
+
data = _objectSpread$G({
|
|
9293
9393
|
providerNumberId: providerNumberId
|
|
9294
9394
|
}, body);
|
|
9295
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9395
|
+
return _context5.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9296
9396
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
9297
9397
|
}), {
|
|
9298
9398
|
method: 'put',
|
|
@@ -9335,7 +9435,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9335
9435
|
doesParamExist.default({
|
|
9336
9436
|
accountId: accountId
|
|
9337
9437
|
}, opts.hyperMediaEndpoint);
|
|
9338
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9438
|
+
return _context6.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9339
9439
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
9340
9440
|
}), {
|
|
9341
9441
|
method: 'post',
|
|
@@ -9375,7 +9475,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9375
9475
|
doesParamExist.default({
|
|
9376
9476
|
accountId: accountId
|
|
9377
9477
|
}, opts.hyperMediaEndpoint);
|
|
9378
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9478
|
+
return _context7.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9379
9479
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
9380
9480
|
}), {
|
|
9381
9481
|
method: 'post'
|
|
@@ -9405,9 +9505,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
9405
9505
|
notifyPartnerAccount: notifyPartnerAccount
|
|
9406
9506
|
});
|
|
9407
9507
|
|
|
9408
|
-
function ownKeys$
|
|
9508
|
+
function ownKeys$H(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; }
|
|
9409
9509
|
|
|
9410
|
-
function _objectSpread$
|
|
9510
|
+
function _objectSpread$H(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$H(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$H(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9411
9511
|
|
|
9412
9512
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
9413
9513
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -9442,7 +9542,7 @@ var requestUpdatePatientPaymentMethod = function requestUpdatePatientPaymentMeth
|
|
|
9442
9542
|
businessId: businessId,
|
|
9443
9543
|
patientId: patientId
|
|
9444
9544
|
}, opts.hyperMediaEndpoint);
|
|
9445
|
-
return request(_objectSpread$
|
|
9545
|
+
return request(_objectSpread$H({}, opts, {
|
|
9446
9546
|
path: pathRequestUpdatePatientPaymentMethod(businessId, patientId)
|
|
9447
9547
|
}), {
|
|
9448
9548
|
method: 'post',
|
|
@@ -9469,7 +9569,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
9469
9569
|
doesParamExist.default({
|
|
9470
9570
|
businessId: businessId
|
|
9471
9571
|
}, opts.hyperMediaEndpoint);
|
|
9472
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9572
|
+
return _context.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9473
9573
|
path: pathBusinessPatients(businessId)
|
|
9474
9574
|
}), {
|
|
9475
9575
|
method: 'post',
|
|
@@ -9512,7 +9612,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
9512
9612
|
doesParamExist.default({
|
|
9513
9613
|
businessId: businessId
|
|
9514
9614
|
}, opts.hyperMediaEndpoint);
|
|
9515
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9615
|
+
return _context2.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9516
9616
|
path: pathBusinessPatients(businessId)
|
|
9517
9617
|
}), {
|
|
9518
9618
|
method: 'get',
|
|
@@ -9551,7 +9651,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
9551
9651
|
doesParamExist.default({
|
|
9552
9652
|
businessId: businessId
|
|
9553
9653
|
}, opts.hyperMediaEndpoint);
|
|
9554
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9654
|
+
return _context3.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9555
9655
|
path: pathBusinessPatient(businessId, patientId)
|
|
9556
9656
|
}), {
|
|
9557
9657
|
method: 'get'
|
|
@@ -9590,7 +9690,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
9590
9690
|
businessId: businessId,
|
|
9591
9691
|
refId: refId
|
|
9592
9692
|
}, opts.hyperMediaEndpoint);
|
|
9593
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9693
|
+
return _context4.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9594
9694
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
9595
9695
|
}), {
|
|
9596
9696
|
method: 'get'
|
|
@@ -9629,7 +9729,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
9629
9729
|
doesParamExist.default({
|
|
9630
9730
|
businessId: businessId
|
|
9631
9731
|
}, opts.hyperMediaEndpoint);
|
|
9632
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9732
|
+
return _context5.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9633
9733
|
path: pathBusinessPatient(businessId, patientId)
|
|
9634
9734
|
}), {
|
|
9635
9735
|
method: 'put',
|
|
@@ -9668,7 +9768,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
9668
9768
|
doesParamExist.default({
|
|
9669
9769
|
businessId: businessId
|
|
9670
9770
|
}, opts.hyperMediaEndpoint);
|
|
9671
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9771
|
+
return _context6.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9672
9772
|
path: pathBusinessPatient(businessId, patientId)
|
|
9673
9773
|
}), {
|
|
9674
9774
|
method: 'delete'
|
|
@@ -9698,9 +9798,9 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
9698
9798
|
deleteBusinessPatient: deleteBusinessPatient
|
|
9699
9799
|
});
|
|
9700
9800
|
|
|
9701
|
-
function ownKeys$
|
|
9801
|
+
function ownKeys$I(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; }
|
|
9702
9802
|
|
|
9703
|
-
function _objectSpread$
|
|
9803
|
+
function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9704
9804
|
var PATH__PAYMENTS = '/payments';
|
|
9705
9805
|
|
|
9706
9806
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -9765,7 +9865,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9765
9865
|
nonce: nonce,
|
|
9766
9866
|
source: source
|
|
9767
9867
|
}, opts.hyperMediaEndpoint);
|
|
9768
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9868
|
+
return _context.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9769
9869
|
path: pathAccountPaymentMethods(accountId)
|
|
9770
9870
|
}), {
|
|
9771
9871
|
method: 'post',
|
|
@@ -9809,7 +9909,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9809
9909
|
nonce: nonce,
|
|
9810
9910
|
source: source
|
|
9811
9911
|
}, opts.hyperMediaEndpoint);
|
|
9812
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9912
|
+
return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9813
9913
|
path: pathBusinessPaymentMethods(businessId)
|
|
9814
9914
|
}), {
|
|
9815
9915
|
method: 'post',
|
|
@@ -9855,7 +9955,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9855
9955
|
nonce: nonce,
|
|
9856
9956
|
source: source
|
|
9857
9957
|
}, opts.hyperMediaEndpoint);
|
|
9858
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9958
|
+
return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9859
9959
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9860
9960
|
}), {
|
|
9861
9961
|
method: 'post',
|
|
@@ -9899,7 +9999,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9899
9999
|
accountId: accountId,
|
|
9900
10000
|
paymentMethodId: paymentMethodId
|
|
9901
10001
|
}, opts.hyperMediaEndpoint);
|
|
9902
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10002
|
+
return _context4.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9903
10003
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
9904
10004
|
}), {
|
|
9905
10005
|
method: 'delete'
|
|
@@ -9939,7 +10039,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9939
10039
|
businessId: businessId,
|
|
9940
10040
|
paymentMethodId: paymentMethodId
|
|
9941
10041
|
}, opts.hyperMediaEndpoint);
|
|
9942
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10042
|
+
return _context5.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9943
10043
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
9944
10044
|
}), {
|
|
9945
10045
|
method: 'delete'
|
|
@@ -9981,7 +10081,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9981
10081
|
patientId: patientId,
|
|
9982
10082
|
paymentMethodId: paymentMethodId
|
|
9983
10083
|
}, opts.hyperMediaEndpoint);
|
|
9984
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
10084
|
+
return _context6.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9985
10085
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
9986
10086
|
}), {
|
|
9987
10087
|
method: 'delete'
|
|
@@ -10019,7 +10119,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
10019
10119
|
doesParamExist.default({
|
|
10020
10120
|
accountId: accountId
|
|
10021
10121
|
}, opts.hyperMediaEndpoint);
|
|
10022
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
10122
|
+
return _context7.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10023
10123
|
path: pathAccountPaymentMethods(accountId)
|
|
10024
10124
|
}), {
|
|
10025
10125
|
method: 'get'
|
|
@@ -10057,7 +10157,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
10057
10157
|
doesParamExist.default({
|
|
10058
10158
|
businessId: businessId
|
|
10059
10159
|
}, opts.hyperMediaEndpoint);
|
|
10060
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
10160
|
+
return _context8.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10061
10161
|
path: pathBusinessPaymentMethods(businessId)
|
|
10062
10162
|
}), {
|
|
10063
10163
|
method: 'get'
|
|
@@ -10096,7 +10196,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
10096
10196
|
businessId: businessId,
|
|
10097
10197
|
patientId: patientId
|
|
10098
10198
|
}, opts.hyperMediaEndpoint);
|
|
10099
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
10199
|
+
return _context9.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10100
10200
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
10101
10201
|
}), {
|
|
10102
10202
|
method: 'get'
|
|
@@ -10136,7 +10236,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
|
|
|
10136
10236
|
businessId: businessId,
|
|
10137
10237
|
refId: refId
|
|
10138
10238
|
}, opts.hyperMediaEndpoint);
|
|
10139
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
10239
|
+
return _context10.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10140
10240
|
path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
|
|
10141
10241
|
}), {
|
|
10142
10242
|
method: 'get'
|
|
@@ -10176,7 +10276,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10176
10276
|
accountId: accountId,
|
|
10177
10277
|
paymentMethodId: paymentMethodId
|
|
10178
10278
|
}, opts.hyperMediaEndpoint);
|
|
10179
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
10279
|
+
return _context11.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10180
10280
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10181
10281
|
}), {
|
|
10182
10282
|
method: 'get'
|
|
@@ -10216,7 +10316,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10216
10316
|
businessId: businessId,
|
|
10217
10317
|
paymentMethodId: paymentMethodId
|
|
10218
10318
|
}, opts.hyperMediaEndpoint);
|
|
10219
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
10319
|
+
return _context12.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10220
10320
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10221
10321
|
}), {
|
|
10222
10322
|
method: 'get'
|
|
@@ -10258,7 +10358,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10258
10358
|
patientId: patientId,
|
|
10259
10359
|
paymentMethodId: paymentMethodId
|
|
10260
10360
|
}, opts.hyperMediaEndpoint);
|
|
10261
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
10361
|
+
return _context13.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10262
10362
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10263
10363
|
}), {
|
|
10264
10364
|
method: 'get'
|
|
@@ -10298,7 +10398,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
10298
10398
|
businessId: businessId,
|
|
10299
10399
|
source: source
|
|
10300
10400
|
}, opts.hyperMediaEndpoint);
|
|
10301
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
10401
|
+
return _context14.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10302
10402
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
10303
10403
|
}), {
|
|
10304
10404
|
method: 'get',
|
|
@@ -10341,7 +10441,7 @@ var getBusinessPaymentClientToken = /*#__PURE__*/function () {
|
|
|
10341
10441
|
businessId: businessId,
|
|
10342
10442
|
patientId: patientId
|
|
10343
10443
|
}, opts.hyperMediaEndpoint);
|
|
10344
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
10444
|
+
return _context15.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10345
10445
|
path: pathBusinessPaymentClientToken(businessId, patientId)
|
|
10346
10446
|
}), {
|
|
10347
10447
|
method: 'get'
|
|
@@ -10379,7 +10479,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
10379
10479
|
doesParamExist.default({
|
|
10380
10480
|
businessId: businessId
|
|
10381
10481
|
}, opts.hyperMediaEndpoint);
|
|
10382
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
10482
|
+
return _context16.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10383
10483
|
path: pathBusinessSalesClientToken(businessId)
|
|
10384
10484
|
}), {
|
|
10385
10485
|
method: 'get'
|
|
@@ -10419,7 +10519,7 @@ var getClientToken = /*#__PURE__*/function () {
|
|
|
10419
10519
|
doesParamExist.default({
|
|
10420
10520
|
source: source
|
|
10421
10521
|
}, opts.hyperMediaEndpoint);
|
|
10422
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
10522
|
+
return _context17.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10423
10523
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
10424
10524
|
}), {
|
|
10425
10525
|
method: 'get',
|
|
@@ -10463,7 +10563,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10463
10563
|
accountId: accountId,
|
|
10464
10564
|
paymentMethodId: paymentMethodId
|
|
10465
10565
|
}, opts.hyperMediaEndpoint);
|
|
10466
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
10566
|
+
return _context18.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10467
10567
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10468
10568
|
}), {
|
|
10469
10569
|
data: body,
|
|
@@ -10504,7 +10604,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10504
10604
|
businessId: businessId,
|
|
10505
10605
|
paymentMethodId: paymentMethodId
|
|
10506
10606
|
}, opts.hyperMediaEndpoint);
|
|
10507
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
10607
|
+
return _context19.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10508
10608
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10509
10609
|
}), {
|
|
10510
10610
|
data: body,
|
|
@@ -10546,7 +10646,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10546
10646
|
patientId: patientId,
|
|
10547
10647
|
paymentMethodId: paymentMethodId
|
|
10548
10648
|
}, opts.hyperMediaEndpoint);
|
|
10549
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
10649
|
+
return _context20.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10550
10650
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10551
10651
|
}), {
|
|
10552
10652
|
data: body,
|
|
@@ -10696,7 +10796,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10696
10796
|
throw new Error(getPaymentGatewayError(updateSessionResponse));
|
|
10697
10797
|
|
|
10698
10798
|
case 38:
|
|
10699
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10799
|
+
return _context21.abrupt("return", _objectSpread$I({}, clientToken, {
|
|
10700
10800
|
nonce: clientToken.clientToken,
|
|
10701
10801
|
sourceResponse: updateSessionResponse
|
|
10702
10802
|
}));
|
|
@@ -10739,7 +10839,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10739
10839
|
|
|
10740
10840
|
case 47:
|
|
10741
10841
|
sourceResponse = _context21.sent;
|
|
10742
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10842
|
+
return _context21.abrupt("return", _objectSpread$I({}, clientToken, {
|
|
10743
10843
|
nonce: _get(sourceResponse, 'creditCards[0].nonce'),
|
|
10744
10844
|
sourceResponse: sourceResponse
|
|
10745
10845
|
}));
|
|
@@ -10796,7 +10896,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10796
10896
|
|
|
10797
10897
|
case 66:
|
|
10798
10898
|
sourceResponse = _context21.sent;
|
|
10799
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10899
|
+
return _context21.abrupt("return", _objectSpread$I({}, clientToken, {
|
|
10800
10900
|
nonce: sourceResponse.nonce,
|
|
10801
10901
|
sourceResponse: sourceResponse
|
|
10802
10902
|
}));
|
|
@@ -10826,7 +10926,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10826
10926
|
|
|
10827
10927
|
case 75:
|
|
10828
10928
|
canMakeApplePayment = _context21.sent;
|
|
10829
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10929
|
+
return _context21.abrupt("return", _objectSpread$I({}, clientToken, {
|
|
10830
10930
|
applePayInstance: applePayInstance,
|
|
10831
10931
|
canMakeApplePayment: canMakeApplePayment,
|
|
10832
10932
|
paymentRequest: paymentRequest
|
|
@@ -10874,9 +10974,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
10874
10974
|
getNonce: getNonce
|
|
10875
10975
|
});
|
|
10876
10976
|
|
|
10877
|
-
function ownKeys$
|
|
10977
|
+
function ownKeys$J(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; }
|
|
10878
10978
|
|
|
10879
|
-
function _objectSpread$
|
|
10979
|
+
function _objectSpread$J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$J(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10880
10980
|
|
|
10881
10981
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
10882
10982
|
return "/businesses/" + businessId + "/pmspractices";
|
|
@@ -10914,7 +11014,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
10914
11014
|
doesParamExist.default({
|
|
10915
11015
|
businessId: businessId
|
|
10916
11016
|
}, opts.hyperMediaEndpoint);
|
|
10917
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11017
|
+
return _context.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
10918
11018
|
path: pathBusinessPmsPractices(businessId)
|
|
10919
11019
|
}), {
|
|
10920
11020
|
method: 'get',
|
|
@@ -10957,7 +11057,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
10957
11057
|
doesParamExist.default({
|
|
10958
11058
|
businessId: businessId
|
|
10959
11059
|
}, opts.hyperMediaEndpoint);
|
|
10960
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11060
|
+
return _context2.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
10961
11061
|
path: pathBusinessPmsServices(businessId)
|
|
10962
11062
|
}), {
|
|
10963
11063
|
method: 'get',
|
|
@@ -11000,7 +11100,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
11000
11100
|
doesParamExist.default({
|
|
11001
11101
|
businessId: businessId
|
|
11002
11102
|
}, opts.hyperMediaEndpoint);
|
|
11003
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11103
|
+
return _context3.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11004
11104
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
11005
11105
|
}), {
|
|
11006
11106
|
method: 'get',
|
|
@@ -11039,7 +11139,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
11039
11139
|
doesParamExist.default({
|
|
11040
11140
|
businessId: businessId
|
|
11041
11141
|
}, opts.hyperMediaEndpoint);
|
|
11042
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11142
|
+
return _context4.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11043
11143
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
11044
11144
|
}), {
|
|
11045
11145
|
method: 'post',
|
|
@@ -11078,7 +11178,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
11078
11178
|
doesParamExist.default({
|
|
11079
11179
|
businessId: businessId
|
|
11080
11180
|
}, opts.hyperMediaEndpoint);
|
|
11081
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11181
|
+
return _context5.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11082
11182
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
11083
11183
|
}), {
|
|
11084
11184
|
method: 'post',
|
|
@@ -11117,7 +11217,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
11117
11217
|
doesParamExist.default({
|
|
11118
11218
|
businessId: businessId
|
|
11119
11219
|
}, opts.hyperMediaEndpoint);
|
|
11120
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11220
|
+
return _context6.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11121
11221
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
11122
11222
|
}), {
|
|
11123
11223
|
method: 'post',
|
|
@@ -11147,9 +11247,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
11147
11247
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
11148
11248
|
});
|
|
11149
11249
|
|
|
11150
|
-
function ownKeys$
|
|
11250
|
+
function ownKeys$K(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; }
|
|
11151
11251
|
|
|
11152
|
-
function _objectSpread$
|
|
11252
|
+
function _objectSpread$K(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$K(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$K(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11153
11253
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
11154
11254
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
11155
11255
|
};
|
|
@@ -11170,7 +11270,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
11170
11270
|
doesParamExist.default({
|
|
11171
11271
|
organisationId: organisationId
|
|
11172
11272
|
}, opts.hyperMediaEndpoint);
|
|
11173
|
-
return request(_objectSpread$
|
|
11273
|
+
return request(_objectSpread$K({}, opts, {
|
|
11174
11274
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
11175
11275
|
}), {
|
|
11176
11276
|
method: 'get',
|
|
@@ -11185,7 +11285,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
11185
11285
|
doesParamExist.default({
|
|
11186
11286
|
practiceProfileId: practiceProfileId
|
|
11187
11287
|
}, opts.hyperMediaEndpoint);
|
|
11188
|
-
return request(_objectSpread$
|
|
11288
|
+
return request(_objectSpread$K({}, opts, {
|
|
11189
11289
|
path: pathPracticeProfile(practiceProfileId)
|
|
11190
11290
|
}), {
|
|
11191
11291
|
method: 'get'
|
|
@@ -11203,7 +11303,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
11203
11303
|
var body = {
|
|
11204
11304
|
practiceId: practiceId
|
|
11205
11305
|
};
|
|
11206
|
-
return request(_objectSpread$
|
|
11306
|
+
return request(_objectSpread$K({}, opts, {
|
|
11207
11307
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
11208
11308
|
}), {
|
|
11209
11309
|
method: 'put',
|
|
@@ -11218,7 +11318,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
11218
11318
|
doesParamExist.default({
|
|
11219
11319
|
practiceProfileId: practiceProfileId
|
|
11220
11320
|
}, opts.hyperMediaEndpoint);
|
|
11221
|
-
return request(_objectSpread$
|
|
11321
|
+
return request(_objectSpread$K({}, opts, {
|
|
11222
11322
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
11223
11323
|
}), {
|
|
11224
11324
|
method: 'put'
|
|
@@ -11237,9 +11337,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
11237
11337
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
11238
11338
|
});
|
|
11239
11339
|
|
|
11240
|
-
function ownKeys$
|
|
11340
|
+
function ownKeys$L(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; }
|
|
11241
11341
|
|
|
11242
|
-
function _objectSpread$
|
|
11342
|
+
function _objectSpread$L(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$L(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$L(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11243
11343
|
|
|
11244
11344
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
11245
11345
|
return "/businesses/" + businessId + "/forms/" + formId + "/practices";
|
|
@@ -11301,7 +11401,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
11301
11401
|
doesParamExist.default({
|
|
11302
11402
|
businessId: businessId
|
|
11303
11403
|
}, opts.hyperMediaEndpoint);
|
|
11304
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11404
|
+
return _context.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11305
11405
|
path: pathBusinessPractices(businessId)
|
|
11306
11406
|
}), {
|
|
11307
11407
|
method: 'post',
|
|
@@ -11340,7 +11440,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11340
11440
|
doesParamExist.default({
|
|
11341
11441
|
organisationId: organisationId
|
|
11342
11442
|
}, opts.hyperMediaEndpoint);
|
|
11343
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11443
|
+
return _context2.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11344
11444
|
path: pathOrganisationPractices(organisationId)
|
|
11345
11445
|
}), {
|
|
11346
11446
|
method: 'post',
|
|
@@ -11380,7 +11480,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
11380
11480
|
businessId: businessId,
|
|
11381
11481
|
practiceId: practiceId
|
|
11382
11482
|
}, opts.hyperMediaEndpoint);
|
|
11383
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11483
|
+
return _context3.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11384
11484
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11385
11485
|
}), {
|
|
11386
11486
|
method: 'delete'
|
|
@@ -11419,7 +11519,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11419
11519
|
organisationId: organisationId,
|
|
11420
11520
|
practiceId: practiceId
|
|
11421
11521
|
}, opts.hyperMediaEndpoint);
|
|
11422
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11522
|
+
return _context4.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11423
11523
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11424
11524
|
}), {
|
|
11425
11525
|
method: 'delete'
|
|
@@ -11458,7 +11558,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
11458
11558
|
businessId: businessId,
|
|
11459
11559
|
practiceId: practiceId
|
|
11460
11560
|
}, opts.hyperMediaEndpoint);
|
|
11461
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11561
|
+
return _context5.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11462
11562
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11463
11563
|
}), {
|
|
11464
11564
|
method: 'get'
|
|
@@ -11500,7 +11600,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
11500
11600
|
doesParamExist.default({
|
|
11501
11601
|
businessId: businessId
|
|
11502
11602
|
}, opts.hyperMediaEndpoint);
|
|
11503
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11603
|
+
return _context6.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11504
11604
|
path: pathBusinessPractices(businessId)
|
|
11505
11605
|
}), {
|
|
11506
11606
|
method: 'get',
|
|
@@ -11545,7 +11645,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
11545
11645
|
businessId: businessId,
|
|
11546
11646
|
formId: formId
|
|
11547
11647
|
}, opts.hyperMediaEndpoint);
|
|
11548
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11648
|
+
return _context7.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11549
11649
|
path: pathBusinessFormPractices(businessId, formId)
|
|
11550
11650
|
}), {
|
|
11551
11651
|
method: 'get',
|
|
@@ -11587,7 +11687,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
11587
11687
|
practiceId: practiceId,
|
|
11588
11688
|
query: query
|
|
11589
11689
|
}, opts.hyperMediaEndpoint);
|
|
11590
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11690
|
+
return _context8.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11591
11691
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
11592
11692
|
}), {
|
|
11593
11693
|
method: 'get',
|
|
@@ -11631,7 +11731,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
11631
11731
|
businessId: businessId,
|
|
11632
11732
|
staffId: staffId
|
|
11633
11733
|
}, opts.hyperMediaEndpoint);
|
|
11634
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11734
|
+
return _context9.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11635
11735
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
11636
11736
|
}), {
|
|
11637
11737
|
method: 'get',
|
|
@@ -11674,7 +11774,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
11674
11774
|
doesParamExist.default({
|
|
11675
11775
|
organisationId: organisationId
|
|
11676
11776
|
}, opts.hyperMediaEndpoint);
|
|
11677
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11777
|
+
return _context10.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11678
11778
|
path: pathOrganisationPractices(organisationId)
|
|
11679
11779
|
}), {
|
|
11680
11780
|
method: 'get',
|
|
@@ -11713,7 +11813,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
11713
11813
|
doesParamExist.default({
|
|
11714
11814
|
practiceId: practiceId
|
|
11715
11815
|
}, opts.hyperMediaEndpoint);
|
|
11716
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11816
|
+
return _context11.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11717
11817
|
path: pathPractice(practiceId)
|
|
11718
11818
|
}), {
|
|
11719
11819
|
method: 'get'
|
|
@@ -11742,7 +11842,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
11742
11842
|
opts = {};
|
|
11743
11843
|
}
|
|
11744
11844
|
|
|
11745
|
-
return request(_objectSpread$
|
|
11845
|
+
return request(_objectSpread$L({}, opts, {
|
|
11746
11846
|
path: pathPractice(practiceId) + "/verify/request"
|
|
11747
11847
|
}), {
|
|
11748
11848
|
method: 'post'
|
|
@@ -11760,7 +11860,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
11760
11860
|
opts = {};
|
|
11761
11861
|
}
|
|
11762
11862
|
|
|
11763
|
-
return request(_objectSpread$
|
|
11863
|
+
return request(_objectSpread$L({}, opts, {
|
|
11764
11864
|
path: pathPractice(practiceId) + "/access/request"
|
|
11765
11865
|
}), {
|
|
11766
11866
|
method: 'post',
|
|
@@ -11784,7 +11884,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
11784
11884
|
opts = {};
|
|
11785
11885
|
}
|
|
11786
11886
|
|
|
11787
|
-
return request(_objectSpread$
|
|
11887
|
+
return request(_objectSpread$L({}, opts, {
|
|
11788
11888
|
path: pathOnboardingPractices()
|
|
11789
11889
|
}), {
|
|
11790
11890
|
method: 'get',
|
|
@@ -11813,7 +11913,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
11813
11913
|
businessId: businessId,
|
|
11814
11914
|
practiceId: practiceId
|
|
11815
11915
|
}, opts.hyperMediaEndpoint);
|
|
11816
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11916
|
+
return _context12.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11817
11917
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11818
11918
|
}), {
|
|
11819
11919
|
method: 'put',
|
|
@@ -11854,7 +11954,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11854
11954
|
organisationId: organisationId,
|
|
11855
11955
|
practiceId: practiceId
|
|
11856
11956
|
}, opts.hyperMediaEndpoint);
|
|
11857
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11957
|
+
return _context13.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11858
11958
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11859
11959
|
}), {
|
|
11860
11960
|
method: 'put',
|
|
@@ -11886,11 +11986,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
11886
11986
|
opts = {};
|
|
11887
11987
|
}
|
|
11888
11988
|
|
|
11889
|
-
return request(_objectSpread$
|
|
11989
|
+
return request(_objectSpread$L({}, opts, {
|
|
11890
11990
|
path: pathPractice(practiceId) + "/verify"
|
|
11891
11991
|
}), {
|
|
11892
11992
|
method: 'post',
|
|
11893
|
-
data: _objectSpread$
|
|
11993
|
+
data: _objectSpread$L({}, body, {
|
|
11894
11994
|
otkCode: otkCode
|
|
11895
11995
|
})
|
|
11896
11996
|
});
|
|
@@ -11915,7 +12015,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
11915
12015
|
doesParamExist.default({
|
|
11916
12016
|
practiceId: practiceId
|
|
11917
12017
|
}, opts.hyperMediaEndpoint);
|
|
11918
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
12018
|
+
return _context14.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11919
12019
|
path: pathPractice(practiceId) + "/clone"
|
|
11920
12020
|
}), {
|
|
11921
12021
|
method: 'post',
|
|
@@ -11960,7 +12060,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
11960
12060
|
businessId: businessId,
|
|
11961
12061
|
formId: formId
|
|
11962
12062
|
}, opts.hyperMediaEndpoint);
|
|
11963
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
12063
|
+
return _context15.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11964
12064
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
11965
12065
|
}), {
|
|
11966
12066
|
method: 'get',
|
|
@@ -12003,9 +12103,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
12003
12103
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
12004
12104
|
});
|
|
12005
12105
|
|
|
12006
|
-
function ownKeys$
|
|
12106
|
+
function ownKeys$M(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; }
|
|
12007
12107
|
|
|
12008
|
-
function _objectSpread$
|
|
12108
|
+
function _objectSpread$M(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$M(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$M(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12009
12109
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
12010
12110
|
/**
|
|
12011
12111
|
* Get practice types
|
|
@@ -12022,7 +12122,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
12022
12122
|
opts = {};
|
|
12023
12123
|
}
|
|
12024
12124
|
|
|
12025
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12125
|
+
return _context.abrupt("return", request(_objectSpread$M({}, opts, {
|
|
12026
12126
|
path: PATH__PRACTICE_TYPES
|
|
12027
12127
|
}), {
|
|
12028
12128
|
method: 'get'
|
|
@@ -12046,9 +12146,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
12046
12146
|
getPracticeTypes: getPracticeTypes
|
|
12047
12147
|
});
|
|
12048
12148
|
|
|
12049
|
-
function ownKeys$
|
|
12149
|
+
function ownKeys$N(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; }
|
|
12050
12150
|
|
|
12051
|
-
function _objectSpread$
|
|
12151
|
+
function _objectSpread$N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$N(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12052
12152
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
12053
12153
|
return "/businesses/" + businessId + "/products";
|
|
12054
12154
|
};
|
|
@@ -12066,7 +12166,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
12066
12166
|
opts = {};
|
|
12067
12167
|
}
|
|
12068
12168
|
|
|
12069
|
-
return request(_objectSpread$
|
|
12169
|
+
return request(_objectSpread$N({}, opts, {
|
|
12070
12170
|
path: '/products'
|
|
12071
12171
|
}), {
|
|
12072
12172
|
method: 'get',
|
|
@@ -12088,7 +12188,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
12088
12188
|
doesParamExist.default({
|
|
12089
12189
|
businessId: businessId
|
|
12090
12190
|
});
|
|
12091
|
-
return request(_objectSpread$
|
|
12191
|
+
return request(_objectSpread$N({}, opts, {
|
|
12092
12192
|
path: pathBusinessProducts(businessId)
|
|
12093
12193
|
}), {
|
|
12094
12194
|
method: 'get',
|
|
@@ -12111,7 +12211,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
12111
12211
|
businessId: businessId,
|
|
12112
12212
|
productId: productId
|
|
12113
12213
|
});
|
|
12114
|
-
return request(_objectSpread$
|
|
12214
|
+
return request(_objectSpread$N({}, opts, {
|
|
12115
12215
|
path: pathBusinessProduct(businessId, productId)
|
|
12116
12216
|
}), {
|
|
12117
12217
|
method: 'get'
|
|
@@ -12127,9 +12227,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
12127
12227
|
getBusinessProduct: getBusinessProduct
|
|
12128
12228
|
});
|
|
12129
12229
|
|
|
12130
|
-
function ownKeys$
|
|
12230
|
+
function ownKeys$O(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; }
|
|
12131
12231
|
|
|
12132
|
-
function _objectSpread$
|
|
12232
|
+
function _objectSpread$O(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$O(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$O(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12133
12233
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
12134
12234
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
12135
12235
|
};
|
|
@@ -12148,7 +12248,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
12148
12248
|
opts = {};
|
|
12149
12249
|
}
|
|
12150
12250
|
|
|
12151
|
-
return request(_objectSpread$
|
|
12251
|
+
return request(_objectSpread$O({}, opts, {
|
|
12152
12252
|
path: pathProfessionalCategories
|
|
12153
12253
|
}), {
|
|
12154
12254
|
method: 'get',
|
|
@@ -12170,7 +12270,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
12170
12270
|
doesParamExist.default({
|
|
12171
12271
|
businessId: businessId
|
|
12172
12272
|
});
|
|
12173
|
-
return request(_objectSpread$
|
|
12273
|
+
return request(_objectSpread$O({}, opts, {
|
|
12174
12274
|
path: pathBusinessProfessionalCategories(businessId)
|
|
12175
12275
|
}), {
|
|
12176
12276
|
method: 'get',
|
|
@@ -12191,7 +12291,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
12191
12291
|
doesParamExist.default({
|
|
12192
12292
|
professionalCategoryId: professionalCategoryId
|
|
12193
12293
|
});
|
|
12194
|
-
return request(_objectSpread$
|
|
12294
|
+
return request(_objectSpread$O({}, opts, {
|
|
12195
12295
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
12196
12296
|
}), {
|
|
12197
12297
|
method: 'get'
|
|
@@ -12208,9 +12308,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
12208
12308
|
getProfessionalCategory: getProfessionalCategory
|
|
12209
12309
|
});
|
|
12210
12310
|
|
|
12211
|
-
function ownKeys$
|
|
12311
|
+
function ownKeys$P(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; }
|
|
12212
12312
|
|
|
12213
|
-
function _objectSpread$
|
|
12313
|
+
function _objectSpread$P(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$P(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12214
12314
|
|
|
12215
12315
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
12216
12316
|
return "/businesses/" + businessId + "/providerrequests";
|
|
@@ -12240,7 +12340,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
12240
12340
|
doesParamExist.default({
|
|
12241
12341
|
businessId: businessId
|
|
12242
12342
|
}, opts.hyperMediaEndpoint);
|
|
12243
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12343
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12244
12344
|
path: pathBusinessProviderRequests(businessId)
|
|
12245
12345
|
}), {
|
|
12246
12346
|
method: 'post',
|
|
@@ -12281,7 +12381,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
12281
12381
|
doesParamExist.default({
|
|
12282
12382
|
businessId: businessId
|
|
12283
12383
|
}, opts.hyperMediaEndpoint);
|
|
12284
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12384
|
+
return _context2.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12285
12385
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
12286
12386
|
}), {
|
|
12287
12387
|
method: 'post',
|
|
@@ -12309,9 +12409,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
12309
12409
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
12310
12410
|
});
|
|
12311
12411
|
|
|
12312
|
-
function ownKeys$
|
|
12412
|
+
function ownKeys$Q(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; }
|
|
12313
12413
|
|
|
12314
|
-
function _objectSpread$
|
|
12414
|
+
function _objectSpread$Q(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Q(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12315
12415
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
12316
12416
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
12317
12417
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -12332,7 +12432,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
12332
12432
|
opts = {};
|
|
12333
12433
|
}
|
|
12334
12434
|
|
|
12335
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12435
|
+
return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
12336
12436
|
path: pathGetProviderRegistrationTypes
|
|
12337
12437
|
}), {
|
|
12338
12438
|
method: 'get',
|
|
@@ -12367,7 +12467,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
12367
12467
|
opts = {};
|
|
12368
12468
|
}
|
|
12369
12469
|
|
|
12370
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12470
|
+
return _context2.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
12371
12471
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
12372
12472
|
}), {
|
|
12373
12473
|
method: 'get'
|
|
@@ -12394,9 +12494,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
12394
12494
|
getProviderRegistrationType: getProviderRegistrationType
|
|
12395
12495
|
});
|
|
12396
12496
|
|
|
12397
|
-
function ownKeys$
|
|
12497
|
+
function ownKeys$R(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; }
|
|
12398
12498
|
|
|
12399
|
-
function _objectSpread$
|
|
12499
|
+
function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$R(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12400
12500
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
12401
12501
|
return "/providernumbertypes";
|
|
12402
12502
|
};
|
|
@@ -12423,7 +12523,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
12423
12523
|
opts = {};
|
|
12424
12524
|
}
|
|
12425
12525
|
|
|
12426
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12526
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12427
12527
|
path: pathProviderNumberTypes()
|
|
12428
12528
|
}), {
|
|
12429
12529
|
method: 'get',
|
|
@@ -12461,7 +12561,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
12461
12561
|
doesParamExist.default({
|
|
12462
12562
|
providerNumberTypeId: providerNumberTypeId
|
|
12463
12563
|
}, opts.hyperMediaEndpoint);
|
|
12464
|
-
return request(_objectSpread$
|
|
12564
|
+
return request(_objectSpread$R({}, opts, {
|
|
12465
12565
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
12466
12566
|
}), {
|
|
12467
12567
|
method: 'get',
|
|
@@ -12477,9 +12577,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
12477
12577
|
getProviderNumberType: getProviderNumberType
|
|
12478
12578
|
});
|
|
12479
12579
|
|
|
12480
|
-
function ownKeys$
|
|
12580
|
+
function ownKeys$S(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; }
|
|
12481
12581
|
|
|
12482
|
-
function _objectSpread$
|
|
12582
|
+
function _objectSpread$S(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$S(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$S(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12483
12583
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
12484
12584
|
/**
|
|
12485
12585
|
* Get provider types
|
|
@@ -12496,7 +12596,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
12496
12596
|
opts = {};
|
|
12497
12597
|
}
|
|
12498
12598
|
|
|
12499
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12599
|
+
return _context.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12500
12600
|
path: PATH__PROVIDER_TYPES
|
|
12501
12601
|
}), {
|
|
12502
12602
|
method: 'get'
|
|
@@ -12520,16 +12620,16 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
12520
12620
|
getProviderTypes: getProviderTypes
|
|
12521
12621
|
});
|
|
12522
12622
|
|
|
12523
|
-
function ownKeys$
|
|
12623
|
+
function ownKeys$T(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; }
|
|
12524
12624
|
|
|
12525
|
-
function _objectSpread$
|
|
12625
|
+
function _objectSpread$T(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$T(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$T(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12526
12626
|
var PATH__REF_SOURCES = '/refsources';
|
|
12527
12627
|
var getRefSources = function getRefSources(query, opts) {
|
|
12528
12628
|
if (opts === void 0) {
|
|
12529
12629
|
opts = {};
|
|
12530
12630
|
}
|
|
12531
12631
|
|
|
12532
|
-
return request(_objectSpread$
|
|
12632
|
+
return request(_objectSpread$T({}, opts, {
|
|
12533
12633
|
path: PATH__REF_SOURCES
|
|
12534
12634
|
}), {
|
|
12535
12635
|
method: 'get',
|
|
@@ -12543,9 +12643,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
12543
12643
|
getRefSources: getRefSources
|
|
12544
12644
|
});
|
|
12545
12645
|
|
|
12546
|
-
function ownKeys$
|
|
12646
|
+
function ownKeys$U(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; }
|
|
12547
12647
|
|
|
12548
|
-
function _objectSpread$
|
|
12648
|
+
function _objectSpread$U(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$U(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$U(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12549
12649
|
var PATH__TRANSACTIONS = '/transaction';
|
|
12550
12650
|
/**
|
|
12551
12651
|
* Get risk score
|
|
@@ -12566,7 +12666,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
12566
12666
|
doesParamExist.default({
|
|
12567
12667
|
transactionId: transactionId
|
|
12568
12668
|
}, opts.hyperMediaEndpoint);
|
|
12569
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12669
|
+
return _context.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12570
12670
|
apiName: 'risk',
|
|
12571
12671
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
12572
12672
|
}), {
|
|
@@ -12601,7 +12701,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
12601
12701
|
opts = {};
|
|
12602
12702
|
}
|
|
12603
12703
|
|
|
12604
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12704
|
+
return _context2.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12605
12705
|
apiName: 'risk',
|
|
12606
12706
|
path: PATH__TRANSACTIONS
|
|
12607
12707
|
}), {
|
|
@@ -12628,9 +12728,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
12628
12728
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
12629
12729
|
});
|
|
12630
12730
|
|
|
12631
|
-
function ownKeys$
|
|
12731
|
+
function ownKeys$V(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; }
|
|
12632
12732
|
|
|
12633
|
-
function _objectSpread$
|
|
12733
|
+
function _objectSpread$V(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$V(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$V(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12634
12734
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
12635
12735
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
12636
12736
|
};
|
|
@@ -12664,7 +12764,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
12664
12764
|
doesParamExist.default({
|
|
12665
12765
|
businessId: businessId
|
|
12666
12766
|
}, opts.hyperMediaEndpoint);
|
|
12667
|
-
return request(_objectSpread$
|
|
12767
|
+
return request(_objectSpread$V({}, opts, {
|
|
12668
12768
|
path: pathBusinessesRNAs(businessId)
|
|
12669
12769
|
}), {
|
|
12670
12770
|
method: 'get',
|
|
@@ -12687,7 +12787,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
12687
12787
|
businessId: businessId,
|
|
12688
12788
|
rnaId: rnaId
|
|
12689
12789
|
}, opts.hyperMediaEndpoint);
|
|
12690
|
-
return request(_objectSpread$
|
|
12790
|
+
return request(_objectSpread$V({}, opts, {
|
|
12691
12791
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
12692
12792
|
}), {
|
|
12693
12793
|
method: 'get'
|
|
@@ -12708,7 +12808,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
12708
12808
|
doesParamExist.default({
|
|
12709
12809
|
businessId: businessId
|
|
12710
12810
|
}, opts.hyperMediaEndpoint);
|
|
12711
|
-
return request(_objectSpread$
|
|
12811
|
+
return request(_objectSpread$V({}, opts, {
|
|
12712
12812
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
12713
12813
|
}), {
|
|
12714
12814
|
method: 'get',
|
|
@@ -12723,7 +12823,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
12723
12823
|
doesParamExist.default({
|
|
12724
12824
|
healthFundId: healthFundId
|
|
12725
12825
|
}, opts.hyperMediaEndpoint);
|
|
12726
|
-
return request(_objectSpread$
|
|
12826
|
+
return request(_objectSpread$V({}, opts, {
|
|
12727
12827
|
path: pathHealthFundRNAs(healthFundId)
|
|
12728
12828
|
}), {
|
|
12729
12829
|
method: 'post',
|
|
@@ -12739,7 +12839,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
12739
12839
|
healthFundId: healthFundId,
|
|
12740
12840
|
rnaId: rnaId
|
|
12741
12841
|
}, opts.hyperMediaEndpoint);
|
|
12742
|
-
return request(_objectSpread$
|
|
12842
|
+
return request(_objectSpread$V({}, opts, {
|
|
12743
12843
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
12744
12844
|
}), {
|
|
12745
12845
|
method: 'post',
|
|
@@ -12755,7 +12855,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
12755
12855
|
healthFundId: healthFundId,
|
|
12756
12856
|
rnaId: rnaId
|
|
12757
12857
|
}, opts.hyperMediaEndpoint);
|
|
12758
|
-
return request(_objectSpread$
|
|
12858
|
+
return request(_objectSpread$V({}, opts, {
|
|
12759
12859
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
12760
12860
|
}), {
|
|
12761
12861
|
method: 'get',
|
|
@@ -12770,7 +12870,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
12770
12870
|
doesParamExist.default({
|
|
12771
12871
|
healthFundId: healthFundId
|
|
12772
12872
|
}, opts.hyperMediaEndpoint);
|
|
12773
|
-
return request(_objectSpread$
|
|
12873
|
+
return request(_objectSpread$V({}, opts, {
|
|
12774
12874
|
path: pathHealthFundRNAs(healthFundId)
|
|
12775
12875
|
}), {
|
|
12776
12876
|
method: 'get',
|
|
@@ -12787,7 +12887,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
12787
12887
|
rnaId: rnaId,
|
|
12788
12888
|
rnaAppointmentId: rnaAppointmentId
|
|
12789
12889
|
}, opts.hyperMediaEndpoint);
|
|
12790
|
-
return request(_objectSpread$
|
|
12890
|
+
return request(_objectSpread$V({}, opts, {
|
|
12791
12891
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
12792
12892
|
}), {
|
|
12793
12893
|
method: 'put',
|
|
@@ -12813,9 +12913,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
12813
12913
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
12814
12914
|
});
|
|
12815
12915
|
|
|
12816
|
-
function ownKeys$
|
|
12916
|
+
function ownKeys$W(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; }
|
|
12817
12917
|
|
|
12818
|
-
function _objectSpread$
|
|
12918
|
+
function _objectSpread$W(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$W(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$W(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12819
12919
|
var PATH__ROLES = '/roles';
|
|
12820
12920
|
/**
|
|
12821
12921
|
* Get roles
|
|
@@ -12832,7 +12932,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
12832
12932
|
opts = {};
|
|
12833
12933
|
}
|
|
12834
12934
|
|
|
12835
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12935
|
+
return _context.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12836
12936
|
path: PATH__ROLES
|
|
12837
12937
|
}), {
|
|
12838
12938
|
method: 'get'
|
|
@@ -12856,9 +12956,9 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
12856
12956
|
getRoles: getRoles
|
|
12857
12957
|
});
|
|
12858
12958
|
|
|
12859
|
-
function ownKeys$
|
|
12959
|
+
function ownKeys$X(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; }
|
|
12860
12960
|
|
|
12861
|
-
function _objectSpread$
|
|
12961
|
+
function _objectSpread$X(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$X(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$X(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12862
12962
|
var PATH__SELF_CHECKOUT_SESSIONS = '/selfcheckoutsessions';
|
|
12863
12963
|
/**
|
|
12864
12964
|
* Create a self checkout session
|
|
@@ -12876,7 +12976,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12876
12976
|
opts = {};
|
|
12877
12977
|
}
|
|
12878
12978
|
|
|
12879
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12979
|
+
return _context.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
12880
12980
|
path: PATH__SELF_CHECKOUT_SESSIONS
|
|
12881
12981
|
}), {
|
|
12882
12982
|
method: 'post',
|
|
@@ -12911,7 +13011,7 @@ var approve = /*#__PURE__*/function () {
|
|
|
12911
13011
|
opts = {};
|
|
12912
13012
|
}
|
|
12913
13013
|
|
|
12914
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13014
|
+
return _context2.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
12915
13015
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
|
|
12916
13016
|
}), {
|
|
12917
13017
|
method: 'post',
|
|
@@ -12947,7 +13047,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
12947
13047
|
opts = {};
|
|
12948
13048
|
}
|
|
12949
13049
|
|
|
12950
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
13050
|
+
return _context3.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
12951
13051
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
|
|
12952
13052
|
}), {
|
|
12953
13053
|
method: 'post',
|
|
@@ -12983,7 +13083,7 @@ var cancelSession = /*#__PURE__*/function () {
|
|
|
12983
13083
|
opts = {};
|
|
12984
13084
|
}
|
|
12985
13085
|
|
|
12986
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
13086
|
+
return _context4.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
12987
13087
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
|
|
12988
13088
|
}), {
|
|
12989
13089
|
method: 'post',
|
|
@@ -13018,7 +13118,7 @@ var createMyInvoice = /*#__PURE__*/function () {
|
|
|
13018
13118
|
opts = {};
|
|
13019
13119
|
}
|
|
13020
13120
|
|
|
13021
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
13121
|
+
return _context5.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13022
13122
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
|
|
13023
13123
|
}), {
|
|
13024
13124
|
method: 'post',
|
|
@@ -13052,7 +13152,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
|
|
|
13052
13152
|
opts = {};
|
|
13053
13153
|
}
|
|
13054
13154
|
|
|
13055
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
13155
|
+
return _context6.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13056
13156
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
|
|
13057
13157
|
}), {
|
|
13058
13158
|
method: 'post',
|
|
@@ -13092,7 +13192,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
|
|
|
13092
13192
|
nonce: nonce,
|
|
13093
13193
|
source: source
|
|
13094
13194
|
}, opts.hyperMediaEndpoint);
|
|
13095
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
13195
|
+
return _context7.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13096
13196
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13097
13197
|
}), {
|
|
13098
13198
|
method: 'post',
|
|
@@ -13130,7 +13230,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
13130
13230
|
opts = {};
|
|
13131
13231
|
}
|
|
13132
13232
|
|
|
13133
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
13233
|
+
return _context8.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13134
13234
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13135
13235
|
}), {
|
|
13136
13236
|
method: 'get',
|
|
@@ -13184,7 +13284,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
13184
13284
|
email: email,
|
|
13185
13285
|
memberId: memberId
|
|
13186
13286
|
});
|
|
13187
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
13287
|
+
return _context9.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13188
13288
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
|
|
13189
13289
|
}), {
|
|
13190
13290
|
method: 'get',
|
|
@@ -13221,7 +13321,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
13221
13321
|
opts = {};
|
|
13222
13322
|
}
|
|
13223
13323
|
|
|
13224
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13324
|
+
return _context10.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13225
13325
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
|
|
13226
13326
|
}), {
|
|
13227
13327
|
method: 'post',
|
|
@@ -13256,7 +13356,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13256
13356
|
opts = {};
|
|
13257
13357
|
}
|
|
13258
13358
|
|
|
13259
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
13359
|
+
return _context11.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13260
13360
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13261
13361
|
}), {
|
|
13262
13362
|
method: 'get',
|
|
@@ -13290,7 +13390,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
|
|
|
13290
13390
|
opts = {};
|
|
13291
13391
|
}
|
|
13292
13392
|
|
|
13293
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13393
|
+
return _context12.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13294
13394
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
|
|
13295
13395
|
}), {
|
|
13296
13396
|
method: 'get',
|
|
@@ -13324,7 +13424,7 @@ var rememberMe = /*#__PURE__*/function () {
|
|
|
13324
13424
|
opts = {};
|
|
13325
13425
|
}
|
|
13326
13426
|
|
|
13327
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13427
|
+
return _context13.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13328
13428
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
|
|
13329
13429
|
}), {
|
|
13330
13430
|
method: 'post',
|
|
@@ -13359,7 +13459,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13359
13459
|
opts = {};
|
|
13360
13460
|
}
|
|
13361
13461
|
|
|
13362
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13462
|
+
return _context14.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13363
13463
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13364
13464
|
}), {
|
|
13365
13465
|
method: 'put',
|
|
@@ -13398,7 +13498,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
13398
13498
|
doesParamExist.default({
|
|
13399
13499
|
accountId: accountId
|
|
13400
13500
|
}, opts.hyperMediaEndpoint);
|
|
13401
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13501
|
+
return _context15.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13402
13502
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
|
|
13403
13503
|
}), {
|
|
13404
13504
|
method: 'post',
|
|
@@ -13642,7 +13742,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13642
13742
|
}
|
|
13643
13743
|
|
|
13644
13744
|
_context18.next = 8;
|
|
13645
|
-
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$
|
|
13745
|
+
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$X({}, opts, {
|
|
13646
13746
|
requestConfig: {
|
|
13647
13747
|
tokenType: 'session'
|
|
13648
13748
|
}
|
|
@@ -13674,7 +13774,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13674
13774
|
break;
|
|
13675
13775
|
}
|
|
13676
13776
|
|
|
13677
|
-
healthFundAccountRequestBody = _objectSpread$
|
|
13777
|
+
healthFundAccountRequestBody = _objectSpread$X({
|
|
13678
13778
|
healthFundId: _get(healthFund, '_id')
|
|
13679
13779
|
}, data || {}); // If it's an existing account, delete their current health fund account (if any), and add the new one to their account.
|
|
13680
13780
|
|
|
@@ -13794,7 +13894,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
|
|
|
13794
13894
|
doesParamExist.default({
|
|
13795
13895
|
paymentMethodId: paymentMethodId
|
|
13796
13896
|
}, opts.hyperMediaEndpoint);
|
|
13797
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
13897
|
+
return _context19.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13798
13898
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
|
|
13799
13899
|
}), {
|
|
13800
13900
|
method: 'delete',
|
|
@@ -13837,9 +13937,9 @@ var selfCheckoutSessions = /*#__PURE__*/Object.freeze({
|
|
|
13837
13937
|
deletePaymentMethod: deletePaymentMethod
|
|
13838
13938
|
});
|
|
13839
13939
|
|
|
13840
|
-
function ownKeys$
|
|
13940
|
+
function ownKeys$Y(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; }
|
|
13841
13941
|
|
|
13842
|
-
function _objectSpread$
|
|
13942
|
+
function _objectSpread$Y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Y(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13843
13943
|
|
|
13844
13944
|
var pathBusinessServices = function pathBusinessServices(businessId) {
|
|
13845
13945
|
return "/businesses/" + businessId + "/services";
|
|
@@ -13889,7 +13989,7 @@ var createBusinessService = /*#__PURE__*/function () {
|
|
|
13889
13989
|
doesParamExist.default({
|
|
13890
13990
|
businessId: businessId
|
|
13891
13991
|
}, opts.hyperMediaEndpoint);
|
|
13892
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13992
|
+
return _context.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
13893
13993
|
path: "" + pathBusinessServices(businessId)
|
|
13894
13994
|
}), {
|
|
13895
13995
|
method: 'post',
|
|
@@ -13930,7 +14030,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13930
14030
|
businessId: businessId,
|
|
13931
14031
|
practiceId: practiceId
|
|
13932
14032
|
}, opts.hyperMediaEndpoint);
|
|
13933
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
14033
|
+
return _context2.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
13934
14034
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13935
14035
|
}), {
|
|
13936
14036
|
method: 'post',
|
|
@@ -13970,7 +14070,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
|
|
|
13970
14070
|
businessId: businessId,
|
|
13971
14071
|
serviceId: serviceId
|
|
13972
14072
|
}, opts.hyperMediaEndpoint);
|
|
13973
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
14073
|
+
return _context3.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
13974
14074
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13975
14075
|
}), {
|
|
13976
14076
|
method: 'delete'
|
|
@@ -14009,7 +14109,7 @@ var getBusinessService = /*#__PURE__*/function () {
|
|
|
14009
14109
|
businessId: businessId,
|
|
14010
14110
|
serviceId: serviceId
|
|
14011
14111
|
}, opts.hyperMediaEndpoint);
|
|
14012
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
14112
|
+
return _context4.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14013
14113
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14014
14114
|
}), {
|
|
14015
14115
|
method: 'get'
|
|
@@ -14047,7 +14147,7 @@ var getBusinessServices = /*#__PURE__*/function () {
|
|
|
14047
14147
|
doesParamExist.default({
|
|
14048
14148
|
businessId: businessId
|
|
14049
14149
|
}, opts.hyperMediaEndpoint);
|
|
14050
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
14150
|
+
return _context5.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14051
14151
|
path: "" + pathBusinessServices(businessId)
|
|
14052
14152
|
}), {
|
|
14053
14153
|
method: 'get',
|
|
@@ -14089,7 +14189,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
14089
14189
|
practiceId: practiceId,
|
|
14090
14190
|
serviceId: serviceId
|
|
14091
14191
|
}, opts.hyperMediaEndpoint);
|
|
14092
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14192
|
+
return _context6.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14093
14193
|
path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
|
|
14094
14194
|
}), {
|
|
14095
14195
|
method: 'get'
|
|
@@ -14133,7 +14233,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
|
|
|
14133
14233
|
businessId: businessId,
|
|
14134
14234
|
practiceId: practiceId
|
|
14135
14235
|
}, opts.hyperMediaEndpoint);
|
|
14136
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
14236
|
+
return _context7.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14137
14237
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
14138
14238
|
}), {
|
|
14139
14239
|
method: 'get',
|
|
@@ -14180,7 +14280,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14180
14280
|
practiceId: practiceId,
|
|
14181
14281
|
staffId: staffId
|
|
14182
14282
|
}, opts.hyperMediaEndpoint);
|
|
14183
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
14283
|
+
return _context8.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14184
14284
|
path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
|
|
14185
14285
|
}), {
|
|
14186
14286
|
method: 'get',
|
|
@@ -14229,7 +14329,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
|
|
|
14229
14329
|
staffId: staffId,
|
|
14230
14330
|
serviceId: serviceId
|
|
14231
14331
|
}, opts.hyperMediaEndpoint);
|
|
14232
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
14332
|
+
return _context9.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14233
14333
|
path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
|
|
14234
14334
|
}), {
|
|
14235
14335
|
method: 'get',
|
|
@@ -14270,7 +14370,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14270
14370
|
opts = {};
|
|
14271
14371
|
}
|
|
14272
14372
|
|
|
14273
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
14373
|
+
return _context10.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14274
14374
|
path: "" + pathBusinessStaffMemberServices(businessId, staffId)
|
|
14275
14375
|
}), {
|
|
14276
14376
|
method: 'get',
|
|
@@ -14311,7 +14411,7 @@ var updateBusinessService = /*#__PURE__*/function () {
|
|
|
14311
14411
|
businessId: businessId,
|
|
14312
14412
|
serviceId: serviceId
|
|
14313
14413
|
}, opts.hyperMediaEndpoint);
|
|
14314
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14414
|
+
return _context11.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14315
14415
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14316
14416
|
}), {
|
|
14317
14417
|
method: 'put',
|
|
@@ -14346,9 +14446,9 @@ var services = /*#__PURE__*/Object.freeze({
|
|
|
14346
14446
|
updateBusinessService: updateBusinessService
|
|
14347
14447
|
});
|
|
14348
14448
|
|
|
14349
|
-
function ownKeys$
|
|
14449
|
+
function ownKeys$Z(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; }
|
|
14350
14450
|
|
|
14351
|
-
function _objectSpread$
|
|
14451
|
+
function _objectSpread$Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Z(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14352
14452
|
|
|
14353
14453
|
var pathBusiness$1 = function pathBusiness(businessId) {
|
|
14354
14454
|
return "/businesses/" + businessId;
|
|
@@ -14373,7 +14473,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
|
|
|
14373
14473
|
doesParamExist.default({
|
|
14374
14474
|
businessId: businessId
|
|
14375
14475
|
}, opts.hyperMediaEndpoint);
|
|
14376
|
-
return request(_objectSpread$
|
|
14476
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14377
14477
|
path: pathBusiness$1(businessId) + "/settlements"
|
|
14378
14478
|
}), {
|
|
14379
14479
|
method: 'get',
|
|
@@ -14399,7 +14499,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
|
|
|
14399
14499
|
doesParamExist.default({
|
|
14400
14500
|
businessId: businessId
|
|
14401
14501
|
}, opts.hyperMediaEndpoint);
|
|
14402
|
-
return request(_objectSpread$
|
|
14502
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14403
14503
|
path: pathBusiness$1(businessId) + "/settlementsummaries"
|
|
14404
14504
|
}), {
|
|
14405
14505
|
method: 'get',
|
|
@@ -14425,7 +14525,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
|
|
|
14425
14525
|
doesParamExist.default({
|
|
14426
14526
|
businessId: businessId
|
|
14427
14527
|
}, opts.hyperMediaEndpoint);
|
|
14428
|
-
return request(_objectSpread$
|
|
14528
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14429
14529
|
path: pathBusiness$1(businessId) + "/settlementsummaries/period"
|
|
14430
14530
|
}), {
|
|
14431
14531
|
method: 'get',
|
|
@@ -14455,7 +14555,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
|
|
|
14455
14555
|
doesParamExist.default({
|
|
14456
14556
|
settlementSummaryId: settlementSummaryId
|
|
14457
14557
|
}, opts.hyperMediaEndpoint);
|
|
14458
|
-
return request(_objectSpread$
|
|
14558
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14459
14559
|
path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
|
|
14460
14560
|
}), {
|
|
14461
14561
|
method: 'get',
|
|
@@ -14481,7 +14581,7 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
|
|
|
14481
14581
|
doesParamExist.default({
|
|
14482
14582
|
businessId: businessId
|
|
14483
14583
|
}, opts.hyperMediaEndpoint);
|
|
14484
|
-
return request(_objectSpread$
|
|
14584
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14485
14585
|
path: pathBusiness$1(businessId) + "/settlementsummariessearchoptions"
|
|
14486
14586
|
}), {
|
|
14487
14587
|
method: 'get',
|
|
@@ -14498,9 +14598,9 @@ var settlements = /*#__PURE__*/Object.freeze({
|
|
|
14498
14598
|
getBusinessSettlementSummariesSearchOptions: getBusinessSettlementSummariesSearchOptions
|
|
14499
14599
|
});
|
|
14500
14600
|
|
|
14501
|
-
function ownKeys$
|
|
14601
|
+
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; }
|
|
14502
14602
|
|
|
14503
|
-
function _objectSpread$
|
|
14603
|
+
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; }
|
|
14504
14604
|
var pathBusinessSignUp = function pathBusinessSignUp() {
|
|
14505
14605
|
return '/businesses/signup';
|
|
14506
14606
|
};
|
|
@@ -14512,7 +14612,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
|
|
|
14512
14612
|
opts = {};
|
|
14513
14613
|
}
|
|
14514
14614
|
|
|
14515
|
-
return request(_objectSpread$
|
|
14615
|
+
return request(_objectSpread$_({}, opts, {
|
|
14516
14616
|
path: pathBusinessSignUp()
|
|
14517
14617
|
}), {
|
|
14518
14618
|
method: 'post',
|
|
@@ -14524,7 +14624,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
|
|
|
14524
14624
|
opts = {};
|
|
14525
14625
|
}
|
|
14526
14626
|
|
|
14527
|
-
return request(_objectSpread$
|
|
14627
|
+
return request(_objectSpread$_({}, opts, {
|
|
14528
14628
|
path: pathSignUp()
|
|
14529
14629
|
}), {
|
|
14530
14630
|
method: 'post',
|
|
@@ -14540,9 +14640,9 @@ var signUp$1 = /*#__PURE__*/Object.freeze({
|
|
|
14540
14640
|
createConsumerAccount: createConsumerAccount
|
|
14541
14641
|
});
|
|
14542
14642
|
|
|
14543
|
-
function ownKeys
|
|
14643
|
+
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; }
|
|
14544
14644
|
|
|
14545
|
-
function _objectSpread
|
|
14645
|
+
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; }
|
|
14546
14646
|
var pathBusinessSpecialties = function pathBusinessSpecialties(businessId) {
|
|
14547
14647
|
return "/businesses/" + businessId + "/specialties";
|
|
14548
14648
|
};
|
|
@@ -14561,7 +14661,7 @@ var getSpecialties = function getSpecialties(query, opts) {
|
|
|
14561
14661
|
opts = {};
|
|
14562
14662
|
}
|
|
14563
14663
|
|
|
14564
|
-
return request(_objectSpread
|
|
14664
|
+
return request(_objectSpread$$({}, opts, {
|
|
14565
14665
|
path: pathSpecialties
|
|
14566
14666
|
}), {
|
|
14567
14667
|
method: 'get',
|
|
@@ -14583,7 +14683,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
|
|
|
14583
14683
|
doesParamExist.default({
|
|
14584
14684
|
businessId: businessId
|
|
14585
14685
|
});
|
|
14586
|
-
return request(_objectSpread
|
|
14686
|
+
return request(_objectSpread$$({}, opts, {
|
|
14587
14687
|
path: pathBusinessSpecialties(businessId)
|
|
14588
14688
|
}), {
|
|
14589
14689
|
method: 'get',
|
|
@@ -14604,7 +14704,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
|
|
|
14604
14704
|
doesParamExist.default({
|
|
14605
14705
|
specialtyId: specialtyId
|
|
14606
14706
|
});
|
|
14607
|
-
return request(_objectSpread
|
|
14707
|
+
return request(_objectSpread$$({}, opts, {
|
|
14608
14708
|
path: pathSpecialty(specialtyId)
|
|
14609
14709
|
}), {
|
|
14610
14710
|
method: 'get'
|
|
@@ -14621,9 +14721,9 @@ var specialties = /*#__PURE__*/Object.freeze({
|
|
|
14621
14721
|
getSpecialty: getSpecialty
|
|
14622
14722
|
});
|
|
14623
14723
|
|
|
14624
|
-
function ownKeys
|
|
14724
|
+
function ownKeys$10(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; }
|
|
14625
14725
|
|
|
14626
|
-
function _objectSpread
|
|
14726
|
+
function _objectSpread$10(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$10(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$10(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14627
14727
|
var pathLinkStaffProfile = function pathLinkStaffProfile(staffProfileId) {
|
|
14628
14728
|
return "/staffprofiles/" + staffProfileId + "/link";
|
|
14629
14729
|
};
|
|
@@ -14644,7 +14744,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
|
|
|
14644
14744
|
doesParamExist.default({
|
|
14645
14745
|
organisationId: organisationId
|
|
14646
14746
|
}, opts.hyperMediaEndpoint);
|
|
14647
|
-
return request(_objectSpread
|
|
14747
|
+
return request(_objectSpread$10({}, opts, {
|
|
14648
14748
|
path: pathOrganisationStaffProfiles(organisationId)
|
|
14649
14749
|
}), {
|
|
14650
14750
|
method: 'get',
|
|
@@ -14659,7 +14759,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
|
|
|
14659
14759
|
doesParamExist.default({
|
|
14660
14760
|
staffProfileId: staffProfileId
|
|
14661
14761
|
}, opts.hyperMediaEndpoint);
|
|
14662
|
-
return request(_objectSpread
|
|
14762
|
+
return request(_objectSpread$10({}, opts, {
|
|
14663
14763
|
path: pathStaffProfile(staffProfileId)
|
|
14664
14764
|
}), {
|
|
14665
14765
|
method: 'get'
|
|
@@ -14677,7 +14777,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
|
|
|
14677
14777
|
var body = {
|
|
14678
14778
|
staffId: staffId
|
|
14679
14779
|
};
|
|
14680
|
-
return request(_objectSpread
|
|
14780
|
+
return request(_objectSpread$10({}, opts, {
|
|
14681
14781
|
path: pathLinkStaffProfile(staffProfileId)
|
|
14682
14782
|
}), {
|
|
14683
14783
|
method: 'put',
|
|
@@ -14692,7 +14792,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
|
|
|
14692
14792
|
doesParamExist.default({
|
|
14693
14793
|
staffProfileId: staffProfileId
|
|
14694
14794
|
}, opts.hyperMediaEndpoint);
|
|
14695
|
-
return request(_objectSpread
|
|
14795
|
+
return request(_objectSpread$10({}, opts, {
|
|
14696
14796
|
path: pathUnlinkStaffProfile(staffProfileId)
|
|
14697
14797
|
}), {
|
|
14698
14798
|
method: 'put'
|
|
@@ -14711,9 +14811,9 @@ var staffProfiles = /*#__PURE__*/Object.freeze({
|
|
|
14711
14811
|
unlinkStaffProfile: unlinkStaffProfile
|
|
14712
14812
|
});
|
|
14713
14813
|
|
|
14714
|
-
function ownKeys$
|
|
14814
|
+
function ownKeys$11(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; }
|
|
14715
14815
|
|
|
14716
|
-
function _objectSpread$
|
|
14816
|
+
function _objectSpread$11(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$11(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$11(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14717
14817
|
|
|
14718
14818
|
var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
|
|
14719
14819
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
|
|
@@ -14780,7 +14880,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14780
14880
|
doesParamExist.default({
|
|
14781
14881
|
businessId: businessId
|
|
14782
14882
|
}, opts.hyperMediaEndpoint);
|
|
14783
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
14883
|
+
return _context.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
14784
14884
|
path: pathBusinessStaff(businessId)
|
|
14785
14885
|
}), {
|
|
14786
14886
|
method: 'post',
|
|
@@ -14819,7 +14919,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
14819
14919
|
doesParamExist.default({
|
|
14820
14920
|
organisationId: organisationId
|
|
14821
14921
|
}, opts.hyperMediaEndpoint);
|
|
14822
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
14922
|
+
return _context2.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
14823
14923
|
path: pathOrganisationStaff(organisationId)
|
|
14824
14924
|
}), {
|
|
14825
14925
|
method: 'post',
|
|
@@ -14859,7 +14959,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14859
14959
|
businessId: businessId,
|
|
14860
14960
|
staffId: staffId
|
|
14861
14961
|
}, opts.hyperMediaEndpoint);
|
|
14862
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
14962
|
+
return _context3.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
14863
14963
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14864
14964
|
}), {
|
|
14865
14965
|
method: 'delete'
|
|
@@ -14898,7 +14998,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
14898
14998
|
businessId: businessId,
|
|
14899
14999
|
staffId: staffId
|
|
14900
15000
|
}, opts.hyperMediaEndpoint);
|
|
14901
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
15001
|
+
return _context4.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
14902
15002
|
path: pathBusinessStaffMember(businessId, staffId) + "/email"
|
|
14903
15003
|
}), {
|
|
14904
15004
|
method: 'delete'
|
|
@@ -14937,7 +15037,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14937
15037
|
businessId: businessId,
|
|
14938
15038
|
staffId: staffId
|
|
14939
15039
|
}, opts.hyperMediaEndpoint);
|
|
14940
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
15040
|
+
return _context5.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
14941
15041
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14942
15042
|
}), {
|
|
14943
15043
|
method: 'get'
|
|
@@ -14977,7 +15077,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
|
|
|
14977
15077
|
businessId: businessId,
|
|
14978
15078
|
staffId: staffId
|
|
14979
15079
|
}, opts.hyperMediaEndpoint);
|
|
14980
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
15080
|
+
return _context6.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
14981
15081
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
14982
15082
|
}), {
|
|
14983
15083
|
method: 'get',
|
|
@@ -15021,7 +15121,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
|
|
|
15021
15121
|
practiceId: practiceId,
|
|
15022
15122
|
staffId: staffId
|
|
15023
15123
|
}, opts.hyperMediaEndpoint);
|
|
15024
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
15124
|
+
return _context7.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15025
15125
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
|
|
15026
15126
|
}), {
|
|
15027
15127
|
method: 'get'
|
|
@@ -15067,7 +15167,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
|
|
|
15067
15167
|
practiceId: practiceId,
|
|
15068
15168
|
staffId: staffId
|
|
15069
15169
|
}, opts.hyperMediaEndpoint);
|
|
15070
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
15170
|
+
return _context8.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15071
15171
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
|
|
15072
15172
|
}), {
|
|
15073
15173
|
method: 'get',
|
|
@@ -15108,7 +15208,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15108
15208
|
businessId: businessId,
|
|
15109
15209
|
practiceId: practiceId
|
|
15110
15210
|
}, opts.hyperMediaEndpoint);
|
|
15111
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
15211
|
+
return _context9.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15112
15212
|
path: pathBusinessPracticeStaffMembers(businessId, practiceId)
|
|
15113
15213
|
}), {
|
|
15114
15214
|
method: 'get',
|
|
@@ -15151,7 +15251,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15151
15251
|
formId: formId,
|
|
15152
15252
|
practiceId: practiceId
|
|
15153
15253
|
}, opts.hyperMediaEndpoint);
|
|
15154
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
15254
|
+
return _context10.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15155
15255
|
path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
|
|
15156
15256
|
}), {
|
|
15157
15257
|
method: 'get',
|
|
@@ -15196,7 +15296,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
|
|
|
15196
15296
|
businessId: businessId,
|
|
15197
15297
|
serviceId: serviceId
|
|
15198
15298
|
}, opts.hyperMediaEndpoint);
|
|
15199
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
15299
|
+
return _context11.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15200
15300
|
path: pathBusinessServiceStaffMembers(businessId, serviceId)
|
|
15201
15301
|
}), {
|
|
15202
15302
|
method: 'get',
|
|
@@ -15233,7 +15333,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
|
|
|
15233
15333
|
doesParamExist.default({
|
|
15234
15334
|
businessId: businessId
|
|
15235
15335
|
}, opts.hyperMediaEndpoint);
|
|
15236
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
15336
|
+
return _context12.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15237
15337
|
path: pathBusinessStaff(businessId)
|
|
15238
15338
|
}), {
|
|
15239
15339
|
method: 'get',
|
|
@@ -15275,7 +15375,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
|
|
|
15275
15375
|
staffId: staffId,
|
|
15276
15376
|
contentType: contentType
|
|
15277
15377
|
}, opts.hyperMediaEndpoint);
|
|
15278
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
15378
|
+
return _context13.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15279
15379
|
path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
|
|
15280
15380
|
}), {
|
|
15281
15381
|
method: 'get',
|
|
@@ -15319,7 +15419,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
|
|
|
15319
15419
|
doesParamExist.default({
|
|
15320
15420
|
organisationId: organisationId
|
|
15321
15421
|
}, opts.hyperMediaEndpoint);
|
|
15322
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
15422
|
+
return _context14.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15323
15423
|
path: pathOrganisationStaff(organisationId)
|
|
15324
15424
|
}), {
|
|
15325
15425
|
method: 'get',
|
|
@@ -15357,7 +15457,7 @@ var getStaffMember = /*#__PURE__*/function () {
|
|
|
15357
15457
|
doesParamExist.default({
|
|
15358
15458
|
staffId: staffId
|
|
15359
15459
|
}, opts.hyperMediaEndpoint);
|
|
15360
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
15460
|
+
return _context15.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15361
15461
|
path: pathStaffMember(staffId)
|
|
15362
15462
|
}), {
|
|
15363
15463
|
method: 'get'
|
|
@@ -15399,7 +15499,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15399
15499
|
practiceId: practiceId,
|
|
15400
15500
|
staffId: staffId
|
|
15401
15501
|
}, opts.hyperMediaEndpoint);
|
|
15402
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
15502
|
+
return _context16.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15403
15503
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15404
15504
|
}), {
|
|
15405
15505
|
method: 'post',
|
|
@@ -15443,11 +15543,11 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15443
15543
|
businessId: businessId,
|
|
15444
15544
|
staffId: staffId
|
|
15445
15545
|
}, opts.hyperMediaEndpoint);
|
|
15446
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
15546
|
+
return _context17.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15447
15547
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15448
15548
|
}), {
|
|
15449
15549
|
method: 'post',
|
|
15450
|
-
data: _objectSpread$
|
|
15550
|
+
data: _objectSpread$11({
|
|
15451
15551
|
roleFullName: roleFullName
|
|
15452
15552
|
}, body)
|
|
15453
15553
|
}));
|
|
@@ -15484,7 +15584,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15484
15584
|
doesParamExist.default({
|
|
15485
15585
|
businessId: businessId
|
|
15486
15586
|
}, opts.hyperMediaEndpoint);
|
|
15487
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
15587
|
+
return _context18.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15488
15588
|
path: pathBusinessStaff(businessId) + "/invites"
|
|
15489
15589
|
}), {
|
|
15490
15590
|
method: 'post',
|
|
@@ -15529,7 +15629,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15529
15629
|
doesParamExist.default({
|
|
15530
15630
|
businessId: businessId
|
|
15531
15631
|
}, opts.hyperMediaEndpoint);
|
|
15532
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
15632
|
+
return _context19.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15533
15633
|
path: pathBusinessStaffMember(businessId, staffId) + "/invites"
|
|
15534
15634
|
}), {
|
|
15535
15635
|
method: 'post',
|
|
@@ -15572,7 +15672,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15572
15672
|
practiceId: practiceId,
|
|
15573
15673
|
staffId: staffId
|
|
15574
15674
|
}, opts.hyperMediaEndpoint);
|
|
15575
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
15675
|
+
return _context20.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15576
15676
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15577
15677
|
}), {
|
|
15578
15678
|
method: 'delete',
|
|
@@ -15616,11 +15716,11 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15616
15716
|
businessId: businessId,
|
|
15617
15717
|
staffId: staffId
|
|
15618
15718
|
}, opts.hyperMediaEndpoint);
|
|
15619
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
15719
|
+
return _context21.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15620
15720
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15621
15721
|
}), {
|
|
15622
15722
|
method: 'delete',
|
|
15623
|
-
data: _objectSpread$
|
|
15723
|
+
data: _objectSpread$11({
|
|
15624
15724
|
roleFullName: roleFullName
|
|
15625
15725
|
}, body)
|
|
15626
15726
|
}));
|
|
@@ -15659,7 +15759,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15659
15759
|
businessId: businessId,
|
|
15660
15760
|
staffId: staffId
|
|
15661
15761
|
}, opts.hyperMediaEndpoint);
|
|
15662
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
15762
|
+
return _context22.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15663
15763
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
15664
15764
|
}), {
|
|
15665
15765
|
method: 'put',
|
|
@@ -15700,7 +15800,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
15700
15800
|
businessId: businessId,
|
|
15701
15801
|
staffId: staffId
|
|
15702
15802
|
}, opts.hyperMediaEndpoint);
|
|
15703
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
15803
|
+
return _context23.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15704
15804
|
path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
|
|
15705
15805
|
}), {
|
|
15706
15806
|
method: 'post',
|
|
@@ -15741,7 +15841,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
15741
15841
|
organisationId: organisationId,
|
|
15742
15842
|
staffId: staffId
|
|
15743
15843
|
}, opts.hyperMediaEndpoint);
|
|
15744
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
15844
|
+
return _context24.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15745
15845
|
path: pathOrganisationStaffMember(organisationId, staffId)
|
|
15746
15846
|
}), {
|
|
15747
15847
|
method: 'put',
|
|
@@ -15780,7 +15880,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
|
|
|
15780
15880
|
doesParamExist.default({
|
|
15781
15881
|
staffId: staffId
|
|
15782
15882
|
}, opts.hyperMediaEndpoint);
|
|
15783
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
15883
|
+
return _context25.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15784
15884
|
path: pathStaffMember(staffId) + "/verify"
|
|
15785
15885
|
}), {
|
|
15786
15886
|
method: 'post',
|
|
@@ -15819,7 +15919,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
|
|
|
15819
15919
|
doesParamExist.default({
|
|
15820
15920
|
staffId: staffId
|
|
15821
15921
|
}, opts.hyperMediaEndpoint);
|
|
15822
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
15922
|
+
return _context26.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15823
15923
|
path: pathStaffMember(staffId) + "/clone"
|
|
15824
15924
|
}), {
|
|
15825
15925
|
method: 'post',
|
|
@@ -15853,7 +15953,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
|
|
|
15853
15953
|
doesParamExist.default({
|
|
15854
15954
|
businessId: businessId
|
|
15855
15955
|
}, opts.hyperMediaEndpoint);
|
|
15856
|
-
return request(_objectSpread$
|
|
15956
|
+
return request(_objectSpread$11({}, opts, {
|
|
15857
15957
|
path: pathBusinessStaff(businessId) + "/exists"
|
|
15858
15958
|
}), {
|
|
15859
15959
|
method: 'get',
|
|
@@ -15882,7 +15982,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15882
15982
|
businessId: businessId,
|
|
15883
15983
|
staffId: staffId
|
|
15884
15984
|
}, opts.hyperMediaEndpoint);
|
|
15885
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
15985
|
+
return _context27.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15886
15986
|
path: "" + pathProviderSetItems(businessId, staffId)
|
|
15887
15987
|
}), {
|
|
15888
15988
|
method: 'post',
|
|
@@ -15925,7 +16025,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15925
16025
|
staffId: staffId,
|
|
15926
16026
|
providerSetItemId: providerSetItemId
|
|
15927
16027
|
}, opts.hyperMediaEndpoint);
|
|
15928
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
16028
|
+
return _context28.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15929
16029
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15930
16030
|
}), {
|
|
15931
16031
|
method: 'put',
|
|
@@ -15967,7 +16067,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15967
16067
|
staffId: staffId,
|
|
15968
16068
|
providerSetItemId: providerSetItemId
|
|
15969
16069
|
}, opts.hyperMediaEndpoint);
|
|
15970
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
16070
|
+
return _context29.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15971
16071
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15972
16072
|
}), {
|
|
15973
16073
|
method: 'delete'
|
|
@@ -16000,11 +16100,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
|
|
|
16000
16100
|
doesParamExist.default({
|
|
16001
16101
|
businessId: businessId
|
|
16002
16102
|
}, opts.hyperMediaEndpoint);
|
|
16003
|
-
return request(_objectSpread$
|
|
16103
|
+
return request(_objectSpread$11({}, opts, {
|
|
16004
16104
|
path: pathProvidersStatus
|
|
16005
16105
|
}), {
|
|
16006
16106
|
method: 'get',
|
|
16007
|
-
params: _objectSpread$
|
|
16107
|
+
params: _objectSpread$11({}, query, {
|
|
16008
16108
|
businessId: businessId
|
|
16009
16109
|
})
|
|
16010
16110
|
});
|
|
@@ -16045,9 +16145,9 @@ var staff = /*#__PURE__*/Object.freeze({
|
|
|
16045
16145
|
getProvidersStatus: getProvidersStatus
|
|
16046
16146
|
});
|
|
16047
16147
|
|
|
16048
|
-
function ownKeys$
|
|
16148
|
+
function ownKeys$12(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; }
|
|
16049
16149
|
|
|
16050
|
-
function _objectSpread$
|
|
16150
|
+
function _objectSpread$12(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$12(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$12(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16051
16151
|
|
|
16052
16152
|
var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
|
|
16053
16153
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
|
|
@@ -16099,11 +16199,11 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16099
16199
|
doesParamExist.default({
|
|
16100
16200
|
healthFundId: healthFundId
|
|
16101
16201
|
}, opts.hyperMediaEndpoint);
|
|
16102
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16202
|
+
return _context.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16103
16203
|
path: pathTransactionStatsForHealthFundId(healthFundId)
|
|
16104
16204
|
}), {
|
|
16105
16205
|
method: 'get',
|
|
16106
|
-
params: _objectSpread$
|
|
16206
|
+
params: _objectSpread$12({
|
|
16107
16207
|
from: from,
|
|
16108
16208
|
to: to
|
|
16109
16209
|
}, query)
|
|
@@ -16147,11 +16247,11 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
|
|
|
16147
16247
|
doesParamExist.default({
|
|
16148
16248
|
healthFundId: healthFundId
|
|
16149
16249
|
}, opts.hyperMediaEndpoint);
|
|
16150
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16250
|
+
return _context2.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16151
16251
|
path: pathTransactionStatsCSVForHealthFundId(healthFundId)
|
|
16152
16252
|
}), {
|
|
16153
16253
|
method: 'get',
|
|
16154
|
-
params: _objectSpread$
|
|
16254
|
+
params: _objectSpread$12({
|
|
16155
16255
|
from: from,
|
|
16156
16256
|
to: to
|
|
16157
16257
|
}, query)
|
|
@@ -16195,11 +16295,11 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16195
16295
|
doesParamExist.default({
|
|
16196
16296
|
healthFundId: healthFundId
|
|
16197
16297
|
}, opts.hyperMediaEndpoint);
|
|
16198
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16298
|
+
return _context3.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16199
16299
|
path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
|
|
16200
16300
|
}), {
|
|
16201
16301
|
method: 'get',
|
|
16202
|
-
params: _objectSpread$
|
|
16302
|
+
params: _objectSpread$12({
|
|
16203
16303
|
from: from,
|
|
16204
16304
|
to: to
|
|
16205
16305
|
}, query)
|
|
@@ -16243,11 +16343,11 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
|
|
|
16243
16343
|
doesParamExist.default({
|
|
16244
16344
|
businessId: businessId
|
|
16245
16345
|
}, opts.hyperMediaEndpoint);
|
|
16246
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16346
|
+
return _context4.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16247
16347
|
path: pathTransactionStatsForBusiness(businessId)
|
|
16248
16348
|
}), {
|
|
16249
16349
|
method: 'get',
|
|
16250
|
-
params: _objectSpread$
|
|
16350
|
+
params: _objectSpread$12({
|
|
16251
16351
|
from: from,
|
|
16252
16352
|
to: to
|
|
16253
16353
|
}, query)
|
|
@@ -16293,11 +16393,11 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
|
|
|
16293
16393
|
businessId: businessId,
|
|
16294
16394
|
practiceId: practiceId
|
|
16295
16395
|
}, opts.hyperMediaEndpoint);
|
|
16296
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16396
|
+
return _context5.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16297
16397
|
path: pathTransactionStatsForPractice(businessId, practiceId)
|
|
16298
16398
|
}), {
|
|
16299
16399
|
method: 'get',
|
|
16300
|
-
params: _objectSpread$
|
|
16400
|
+
params: _objectSpread$12({
|
|
16301
16401
|
from: from,
|
|
16302
16402
|
to: to
|
|
16303
16403
|
}, query)
|
|
@@ -16341,11 +16441,11 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
|
|
|
16341
16441
|
doesParamExist.default({
|
|
16342
16442
|
organisationId: organisationId
|
|
16343
16443
|
}, opts.hyperMediaEndpoint);
|
|
16344
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16444
|
+
return _context6.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16345
16445
|
path: pathTransactionStatsForOrganisation(organisationId)
|
|
16346
16446
|
}), {
|
|
16347
16447
|
method: 'get',
|
|
16348
|
-
params: _objectSpread$
|
|
16448
|
+
params: _objectSpread$12({
|
|
16349
16449
|
from: from,
|
|
16350
16450
|
to: to
|
|
16351
16451
|
}, query)
|
|
@@ -16374,9 +16474,9 @@ var statistics = /*#__PURE__*/Object.freeze({
|
|
|
16374
16474
|
getTransactionStatsForOrganisation: getTransactionStatsForOrganisation
|
|
16375
16475
|
});
|
|
16376
16476
|
|
|
16377
|
-
function ownKeys$
|
|
16477
|
+
function ownKeys$13(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; }
|
|
16378
16478
|
|
|
16379
|
-
function _objectSpread$
|
|
16479
|
+
function _objectSpread$13(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$13(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$13(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16380
16480
|
var pathBusinessSubscriptions = function pathBusinessSubscriptions(businessId) {
|
|
16381
16481
|
return "/businesses/" + businessId + "/subscriptions";
|
|
16382
16482
|
};
|
|
@@ -16398,7 +16498,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
|
|
|
16398
16498
|
doesParamExist.default({
|
|
16399
16499
|
businessId: businessId
|
|
16400
16500
|
});
|
|
16401
|
-
return request(_objectSpread$
|
|
16501
|
+
return request(_objectSpread$13({}, opts, {
|
|
16402
16502
|
path: pathBusinessSubscriptions(businessId)
|
|
16403
16503
|
}), {
|
|
16404
16504
|
method: 'post',
|
|
@@ -16420,7 +16520,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
|
|
|
16420
16520
|
doesParamExist.default({
|
|
16421
16521
|
businessId: businessId
|
|
16422
16522
|
});
|
|
16423
|
-
return request(_objectSpread$
|
|
16523
|
+
return request(_objectSpread$13({}, opts, {
|
|
16424
16524
|
path: pathBusinessSubscriptions(businessId)
|
|
16425
16525
|
}), {
|
|
16426
16526
|
method: 'get',
|
|
@@ -16443,7 +16543,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
|
|
|
16443
16543
|
businessId: businessId,
|
|
16444
16544
|
subscriptionId: subscriptionId
|
|
16445
16545
|
});
|
|
16446
|
-
return request(_objectSpread$
|
|
16546
|
+
return request(_objectSpread$13({}, opts, {
|
|
16447
16547
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16448
16548
|
}), {
|
|
16449
16549
|
method: 'get'
|
|
@@ -16466,7 +16566,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
|
|
|
16466
16566
|
businessId: businessId,
|
|
16467
16567
|
subscriptionId: subscriptionId
|
|
16468
16568
|
});
|
|
16469
|
-
return request(_objectSpread$
|
|
16569
|
+
return request(_objectSpread$13({}, opts, {
|
|
16470
16570
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16471
16571
|
}), {
|
|
16472
16572
|
method: 'put',
|
|
@@ -16484,9 +16584,9 @@ var subscriptions = /*#__PURE__*/Object.freeze({
|
|
|
16484
16584
|
updateBusinessSubscription: updateBusinessSubscription
|
|
16485
16585
|
});
|
|
16486
16586
|
|
|
16487
|
-
function ownKeys$
|
|
16587
|
+
function ownKeys$14(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; }
|
|
16488
16588
|
|
|
16489
|
-
function _objectSpread$
|
|
16589
|
+
function _objectSpread$14(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$14(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$14(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16490
16590
|
var pathTerminalsByBusinessId = function pathTerminalsByBusinessId(businessId) {
|
|
16491
16591
|
return "/businesses/" + businessId + "/terminals";
|
|
16492
16592
|
};
|
|
@@ -16524,7 +16624,7 @@ var registerTerminal = /*#__PURE__*/function () {
|
|
|
16524
16624
|
businessId: businessId,
|
|
16525
16625
|
practiceId: practiceId
|
|
16526
16626
|
}, opts.hyperMediaEndpoint);
|
|
16527
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16627
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16528
16628
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16529
16629
|
}), {
|
|
16530
16630
|
method: 'post',
|
|
@@ -16563,7 +16663,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
|
|
|
16563
16663
|
doesParamExist.default({
|
|
16564
16664
|
businessId: businessId
|
|
16565
16665
|
}, opts.hyperMediaEndpoint);
|
|
16566
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16666
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16567
16667
|
path: pathTerminalsByBusinessId(businessId)
|
|
16568
16668
|
}), {
|
|
16569
16669
|
method: 'get',
|
|
@@ -16604,7 +16704,7 @@ var getTerminals = /*#__PURE__*/function () {
|
|
|
16604
16704
|
businessId: businessId,
|
|
16605
16705
|
practiceId: practiceId
|
|
16606
16706
|
}, opts.hyperMediaEndpoint);
|
|
16607
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16707
|
+
return _context3.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16608
16708
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16609
16709
|
}), {
|
|
16610
16710
|
method: 'get',
|
|
@@ -16647,7 +16747,7 @@ var getTerminal = /*#__PURE__*/function () {
|
|
|
16647
16747
|
practiceId: practiceId,
|
|
16648
16748
|
terminalId: terminalId
|
|
16649
16749
|
}, opts.hyperMediaEndpoint);
|
|
16650
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16750
|
+
return _context4.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16651
16751
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16652
16752
|
}), {
|
|
16653
16753
|
method: 'get'
|
|
@@ -16689,7 +16789,7 @@ var updateTerminal = /*#__PURE__*/function () {
|
|
|
16689
16789
|
practiceId: practiceId,
|
|
16690
16790
|
terminalId: terminalId
|
|
16691
16791
|
}, opts.hyperMediaEndpoint);
|
|
16692
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16792
|
+
return _context5.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16693
16793
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16694
16794
|
}), {
|
|
16695
16795
|
method: 'put',
|
|
@@ -16731,7 +16831,7 @@ var deleteTerminal = /*#__PURE__*/function () {
|
|
|
16731
16831
|
practiceId: practiceId,
|
|
16732
16832
|
terminalId: terminalId
|
|
16733
16833
|
}, opts.hyperMediaEndpoint);
|
|
16734
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16834
|
+
return _context6.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16735
16835
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16736
16836
|
}), {
|
|
16737
16837
|
method: 'delete'
|
|
@@ -16770,7 +16870,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
16770
16870
|
businessId: businessId,
|
|
16771
16871
|
practiceId: practiceId
|
|
16772
16872
|
}, opts.hyperMediaEndpoint);
|
|
16773
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
16873
|
+
return _context7.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16774
16874
|
path: pathClientTokenByPracticeId(businessId, practiceId)
|
|
16775
16875
|
}), {
|
|
16776
16876
|
method: 'get'
|
|
@@ -16812,7 +16912,7 @@ var resetTerminal = /*#__PURE__*/function () {
|
|
|
16812
16912
|
practiceId: practiceId,
|
|
16813
16913
|
terminalId: terminalId
|
|
16814
16914
|
}, opts.hyperMediaEndpoint);
|
|
16815
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
16915
|
+
return _context8.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16816
16916
|
path: pathResetTerminal(businessId, practiceId, terminalId)
|
|
16817
16917
|
}), {
|
|
16818
16918
|
method: 'post',
|
|
@@ -16849,9 +16949,9 @@ var terminals = /*#__PURE__*/Object.freeze({
|
|
|
16849
16949
|
resetTerminal: resetTerminal
|
|
16850
16950
|
});
|
|
16851
16951
|
|
|
16852
|
-
function ownKeys$
|
|
16952
|
+
function ownKeys$15(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; }
|
|
16853
16953
|
|
|
16854
|
-
function _objectSpread$
|
|
16954
|
+
function _objectSpread$15(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$15(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$15(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16855
16955
|
var pathCreateHealthFundTransactionExport = function pathCreateHealthFundTransactionExport(healthFundId) {
|
|
16856
16956
|
return "/healthfunds/" + healthFundId + "/transactionexport";
|
|
16857
16957
|
};
|
|
@@ -16878,7 +16978,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16878
16978
|
doesParamExist.default({
|
|
16879
16979
|
healthFundId: healthFundId
|
|
16880
16980
|
}, opts.hyperMediaEndpoint);
|
|
16881
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16981
|
+
return _context.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
16882
16982
|
path: pathCreateHealthFundTransactionExport(healthFundId)
|
|
16883
16983
|
}), {
|
|
16884
16984
|
method: 'post',
|
|
@@ -16923,7 +17023,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16923
17023
|
healthFundId: healthFundId,
|
|
16924
17024
|
transactionExportId: transactionExportId
|
|
16925
17025
|
}, opts.hyperMediaEndpoint);
|
|
16926
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
17026
|
+
return _context2.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
16927
17027
|
path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
|
|
16928
17028
|
}), {
|
|
16929
17029
|
method: 'get',
|
|
@@ -16951,9 +17051,9 @@ var transactionExport = /*#__PURE__*/Object.freeze({
|
|
|
16951
17051
|
getHealthFundTransactionExport: getHealthFundTransactionExport
|
|
16952
17052
|
});
|
|
16953
17053
|
|
|
16954
|
-
function ownKeys$
|
|
17054
|
+
function ownKeys$16(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; }
|
|
16955
17055
|
|
|
16956
|
-
function _objectSpread$
|
|
17056
|
+
function _objectSpread$16(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$16(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$16(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16957
17057
|
|
|
16958
17058
|
var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
|
|
16959
17059
|
return "/businesses/" + businessId + "/transactions";
|
|
@@ -17181,7 +17281,7 @@ var approveTransaction = /*#__PURE__*/function () {
|
|
|
17181
17281
|
doesParamExist.default({
|
|
17182
17282
|
transactionId: transactionId
|
|
17183
17283
|
}, opts.hyperMediaEndpoint);
|
|
17184
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
17284
|
+
return _context.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17185
17285
|
path: pathTransactionApprove(transactionId)
|
|
17186
17286
|
}), {
|
|
17187
17287
|
method: 'post',
|
|
@@ -17219,7 +17319,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
|
|
|
17219
17319
|
doesParamExist.default({
|
|
17220
17320
|
healthFundId: healthFundId
|
|
17221
17321
|
}, opts.hyperMediaEndpoint);
|
|
17222
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
17322
|
+
return _context2.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17223
17323
|
path: pathHealthFundTransactionsAssign(healthFundId)
|
|
17224
17324
|
}), {
|
|
17225
17325
|
method: 'post',
|
|
@@ -17259,7 +17359,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17259
17359
|
transactionId: transactionId,
|
|
17260
17360
|
healthFundId: healthFundId
|
|
17261
17361
|
}, opts.hyperMediaEndpoint);
|
|
17262
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
17362
|
+
return _context3.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17263
17363
|
path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
|
|
17264
17364
|
}), {
|
|
17265
17365
|
method: 'put'
|
|
@@ -17296,7 +17396,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17296
17396
|
doesParamExist.default({
|
|
17297
17397
|
transactionId: transactionId
|
|
17298
17398
|
}, opts.hyperMediaEndpoint);
|
|
17299
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
17399
|
+
return _context4.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17300
17400
|
path: pathTransactionByTransactionId(transactionId) + "/assigntome"
|
|
17301
17401
|
}), {
|
|
17302
17402
|
method: 'put'
|
|
@@ -17333,7 +17433,7 @@ var cancelTransaction = /*#__PURE__*/function () {
|
|
|
17333
17433
|
doesParamExist.default({
|
|
17334
17434
|
transactionId: transactionId
|
|
17335
17435
|
}, opts.hyperMediaEndpoint);
|
|
17336
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
17436
|
+
return _context5.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17337
17437
|
path: pathTransactionByTransactionId(transactionId) + "/cancellations"
|
|
17338
17438
|
}), {
|
|
17339
17439
|
data: body,
|
|
@@ -17373,7 +17473,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17373
17473
|
transactionId: transactionId,
|
|
17374
17474
|
businessId: businessId
|
|
17375
17475
|
}, opts.hyperMediaEndpoint);
|
|
17376
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
17476
|
+
return _context6.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17377
17477
|
path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
|
|
17378
17478
|
}), {
|
|
17379
17479
|
data: body,
|
|
@@ -17416,7 +17516,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
|
|
|
17416
17516
|
practiceId: practiceId,
|
|
17417
17517
|
staffId: staffId
|
|
17418
17518
|
}, opts.hyperMediaEndpoint);
|
|
17419
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
17519
|
+
return _context7.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17420
17520
|
path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
|
|
17421
17521
|
}), {
|
|
17422
17522
|
method: 'post',
|
|
@@ -17457,7 +17557,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
|
|
|
17457
17557
|
businessId: businessId,
|
|
17458
17558
|
practiceId: practiceId
|
|
17459
17559
|
}, opts.hyperMediaEndpoint);
|
|
17460
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
17560
|
+
return _context8.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17461
17561
|
path: pathBusinessPracticeInvoices(businessId, practiceId)
|
|
17462
17562
|
}), {
|
|
17463
17563
|
method: 'post',
|
|
@@ -17496,7 +17596,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
|
|
|
17496
17596
|
doesParamExist.default({
|
|
17497
17597
|
businessId: businessId
|
|
17498
17598
|
}, opts.hyperMediaEndpoint);
|
|
17499
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
17599
|
+
return _context9.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17500
17600
|
path: pathBusinessTransactionQuotes(businessId)
|
|
17501
17601
|
}), {
|
|
17502
17602
|
method: 'post',
|
|
@@ -17539,7 +17639,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
|
|
|
17539
17639
|
practiceId: practiceId,
|
|
17540
17640
|
staffId: staffId
|
|
17541
17641
|
}, opts.hyperMediaEndpoint);
|
|
17542
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
17642
|
+
return _context10.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17543
17643
|
path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
|
|
17544
17644
|
}), {
|
|
17545
17645
|
method: 'post',
|
|
@@ -17581,7 +17681,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17581
17681
|
doesParamExist.default({
|
|
17582
17682
|
transactionId: transactionId
|
|
17583
17683
|
}, opts.hyperMediaEndpoint);
|
|
17584
|
-
newBody = _objectSpread$
|
|
17684
|
+
newBody = _objectSpread$16({}, body);
|
|
17585
17685
|
|
|
17586
17686
|
if (source && nonce) {
|
|
17587
17687
|
newBody.payment = {
|
|
@@ -17590,7 +17690,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17590
17690
|
};
|
|
17591
17691
|
}
|
|
17592
17692
|
|
|
17593
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
17693
|
+
return _context11.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17594
17694
|
path: pathTransactionByTransactionId(transactionId) + "/payments"
|
|
17595
17695
|
}), {
|
|
17596
17696
|
method: 'post',
|
|
@@ -17629,7 +17729,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
|
|
|
17629
17729
|
doesParamExist.default({
|
|
17630
17730
|
transactionId: transactionId
|
|
17631
17731
|
}, opts.hyperMediaEndpoint);
|
|
17632
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
17732
|
+
return _context12.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17633
17733
|
path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
|
|
17634
17734
|
}), {
|
|
17635
17735
|
method: 'post',
|
|
@@ -17669,7 +17769,7 @@ var completeQuote = /*#__PURE__*/function () {
|
|
|
17669
17769
|
transactionId: transactionId,
|
|
17670
17770
|
memberId: memberId
|
|
17671
17771
|
}, opts.hyperMediaEndpoint);
|
|
17672
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
17772
|
+
return _context13.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17673
17773
|
path: pathTransactionByTransactionId(transactionId) + "/completequote"
|
|
17674
17774
|
}), {
|
|
17675
17775
|
method: 'post',
|
|
@@ -17711,7 +17811,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
|
|
|
17711
17811
|
transactionId: transactionId,
|
|
17712
17812
|
tagId: tagId
|
|
17713
17813
|
}, opts.hyperMediaEndpoint);
|
|
17714
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
17814
|
+
return _context14.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17715
17815
|
path: pathTransactionTag(transactionId, tagId)
|
|
17716
17816
|
}), {
|
|
17717
17817
|
method: 'delete'
|
|
@@ -17748,7 +17848,7 @@ var deleteTransaction = /*#__PURE__*/function () {
|
|
|
17748
17848
|
doesParamExist.default({
|
|
17749
17849
|
transactionId: transactionId
|
|
17750
17850
|
}, opts.hyperMediaEndpoint);
|
|
17751
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
17851
|
+
return _context15.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17752
17852
|
path: pathTransactionByTransactionId(transactionId)
|
|
17753
17853
|
}), {
|
|
17754
17854
|
method: 'delete'
|
|
@@ -17790,7 +17890,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
|
|
|
17790
17890
|
doesParamExist.default({
|
|
17791
17891
|
businessId: businessId
|
|
17792
17892
|
}, opts.hyperMediaEndpoint);
|
|
17793
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
17893
|
+
return _context16.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17794
17894
|
path: pathBusinessTransactions(businessId)
|
|
17795
17895
|
}), {
|
|
17796
17896
|
method: 'get',
|
|
@@ -17830,7 +17930,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17830
17930
|
businessId: businessId,
|
|
17831
17931
|
transactionId: transactionId
|
|
17832
17932
|
}, opts.hyperMediaEndpoint);
|
|
17833
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
17933
|
+
return _context17.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17834
17934
|
path: pathBusinessTransaction(businessId, transactionId)
|
|
17835
17935
|
}), {
|
|
17836
17936
|
method: 'get',
|
|
@@ -17870,7 +17970,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
|
|
|
17870
17970
|
businessId: businessId,
|
|
17871
17971
|
invoiceReference: invoiceReference
|
|
17872
17972
|
}, opts.hyperMediaEndpoint);
|
|
17873
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
17973
|
+
return _context18.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17874
17974
|
path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
|
|
17875
17975
|
}), {
|
|
17876
17976
|
method: 'get'
|
|
@@ -17909,7 +18009,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
17909
18009
|
businessId: businessId,
|
|
17910
18010
|
transactionId: transactionId
|
|
17911
18011
|
}, opts.hyperMediaEndpoint);
|
|
17912
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
18012
|
+
return _context19.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17913
18013
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
|
|
17914
18014
|
}), {
|
|
17915
18015
|
method: 'get',
|
|
@@ -17949,7 +18049,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
17949
18049
|
businessId: businessId,
|
|
17950
18050
|
transactionId: transactionId
|
|
17951
18051
|
}, opts.hyperMediaEndpoint);
|
|
17952
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
18052
|
+
return _context20.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17953
18053
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
|
|
17954
18054
|
}), {
|
|
17955
18055
|
method: 'get',
|
|
@@ -17994,7 +18094,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
|
|
|
17994
18094
|
businessId: businessId,
|
|
17995
18095
|
practiceId: practiceId
|
|
17996
18096
|
}, opts.hyperMediaEndpoint);
|
|
17997
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
18097
|
+
return _context21.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
17998
18098
|
path: pathBusinessPracticeTransactions(businessId, practiceId)
|
|
17999
18099
|
}), {
|
|
18000
18100
|
method: 'get',
|
|
@@ -18041,7 +18141,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
|
|
|
18041
18141
|
practiceId: practiceId,
|
|
18042
18142
|
staffId: staffId
|
|
18043
18143
|
}, opts.hyperMediaEndpoint);
|
|
18044
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
18144
|
+
return _context22.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18045
18145
|
path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
|
|
18046
18146
|
}), {
|
|
18047
18147
|
method: 'get',
|
|
@@ -18084,7 +18184,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
|
|
|
18084
18184
|
doesParamExist.default({
|
|
18085
18185
|
healthFundId: healthFundId
|
|
18086
18186
|
}, opts.hyperMediaEndpoint);
|
|
18087
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
18187
|
+
return _context23.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18088
18188
|
path: pathTransactionsForHealthFund(healthFundId)
|
|
18089
18189
|
}), {
|
|
18090
18190
|
method: 'get',
|
|
@@ -18124,7 +18224,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
|
|
|
18124
18224
|
healthFundId: healthFundId,
|
|
18125
18225
|
transactionId: transactionId
|
|
18126
18226
|
}, opts.hyperMediaEndpoint);
|
|
18127
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
18227
|
+
return _context24.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18128
18228
|
path: pathHealthFundTransaction(healthFundId, transactionId)
|
|
18129
18229
|
}), {
|
|
18130
18230
|
method: 'get'
|
|
@@ -18166,7 +18266,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
|
|
|
18166
18266
|
doesParamExist.default({
|
|
18167
18267
|
memberId: memberId
|
|
18168
18268
|
}, opts.hyperMediaEndpoint);
|
|
18169
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
18269
|
+
return _context25.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18170
18270
|
path: pathTransactionsByMember(memberId)
|
|
18171
18271
|
}), {
|
|
18172
18272
|
method: 'get',
|
|
@@ -18210,7 +18310,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
|
|
|
18210
18310
|
doesParamExist.default({
|
|
18211
18311
|
healthFundId: healthFundId
|
|
18212
18312
|
}, opts.hyperMediaEndpoint);
|
|
18213
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
18313
|
+
return _context26.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18214
18314
|
path: pathHealthFundMemberTransactions(healthFundId, memberId)
|
|
18215
18315
|
}), {
|
|
18216
18316
|
method: 'get',
|
|
@@ -18248,7 +18348,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
|
|
|
18248
18348
|
doesParamExist.default({
|
|
18249
18349
|
transactionId: transactionId
|
|
18250
18350
|
}, opts.hyperMediaEndpoint);
|
|
18251
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
18351
|
+
return _context27.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18252
18352
|
path: pathTransactionByTransactionId(transactionId)
|
|
18253
18353
|
}), {
|
|
18254
18354
|
method: 'get',
|
|
@@ -18287,7 +18387,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
|
|
|
18287
18387
|
doesParamExist.default({
|
|
18288
18388
|
transactionId: transactionId
|
|
18289
18389
|
}, opts.hyperMediaEndpoint);
|
|
18290
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
18390
|
+
return _context28.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18291
18391
|
path: pathTransactionByTransactionId(transactionId) + "/pdf"
|
|
18292
18392
|
}), {
|
|
18293
18393
|
method: 'post',
|
|
@@ -18329,7 +18429,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
|
|
|
18329
18429
|
claimId: claimId,
|
|
18330
18430
|
transactionId: transactionId
|
|
18331
18431
|
}, opts.hyperMediaEndpoint);
|
|
18332
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
18432
|
+
return _context29.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18333
18433
|
path: pathTransactionClaimPdf(transactionId, claimId)
|
|
18334
18434
|
}), {
|
|
18335
18435
|
method: 'post',
|
|
@@ -18368,7 +18468,7 @@ var getTransactionClaimPdfV2 = /*#__PURE__*/function () {
|
|
|
18368
18468
|
opts = {};
|
|
18369
18469
|
}
|
|
18370
18470
|
|
|
18371
|
-
return _context30.abrupt("return", request(_objectSpread$
|
|
18471
|
+
return _context30.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18372
18472
|
path: pathTransactionClaimPdfV2
|
|
18373
18473
|
}), {
|
|
18374
18474
|
method: 'post',
|
|
@@ -18408,7 +18508,7 @@ var replyToQuote = /*#__PURE__*/function () {
|
|
|
18408
18508
|
doesParamExist.default({
|
|
18409
18509
|
transactionId: transactionId
|
|
18410
18510
|
}, opts.hyperMediaEndpoint);
|
|
18411
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
18511
|
+
return _context31.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18412
18512
|
path: pathReplyQuote(transactionId)
|
|
18413
18513
|
}), {
|
|
18414
18514
|
method: 'post',
|
|
@@ -18447,7 +18547,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
18447
18547
|
doesParamExist.default({
|
|
18448
18548
|
transactionId: transactionId
|
|
18449
18549
|
}, opts.hyperMediaEndpoint);
|
|
18450
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
18550
|
+
return _context32.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18451
18551
|
path: pathTransactionSendReceipt(transactionId)
|
|
18452
18552
|
}), {
|
|
18453
18553
|
method: 'post',
|
|
@@ -18486,7 +18586,7 @@ var submitInvoice = /*#__PURE__*/function () {
|
|
|
18486
18586
|
doesParamExist.default({
|
|
18487
18587
|
transactionId: transactionId
|
|
18488
18588
|
}, opts.hyperMediaEndpoint);
|
|
18489
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
18589
|
+
return _context33.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18490
18590
|
path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
|
|
18491
18591
|
}), {
|
|
18492
18592
|
method: 'post',
|
|
@@ -18525,7 +18625,7 @@ var updateTransaction = /*#__PURE__*/function () {
|
|
|
18525
18625
|
doesParamExist.default({
|
|
18526
18626
|
transactionId: transactionId
|
|
18527
18627
|
}, opts.hyperMediaEndpoint);
|
|
18528
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
18628
|
+
return _context34.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18529
18629
|
path: pathTransactionByTransactionId(transactionId)
|
|
18530
18630
|
}), {
|
|
18531
18631
|
method: 'put',
|
|
@@ -18563,7 +18663,7 @@ var validateTransaction = /*#__PURE__*/function () {
|
|
|
18563
18663
|
doesParamExist.default({
|
|
18564
18664
|
transactionId: transactionId
|
|
18565
18665
|
}, opts.hyperMediaEndpoint);
|
|
18566
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
18666
|
+
return _context35.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18567
18667
|
path: pathValidateTransaction(transactionId)
|
|
18568
18668
|
}), {
|
|
18569
18669
|
method: 'post'
|
|
@@ -18601,7 +18701,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
|
|
|
18601
18701
|
doesParamExist.default({
|
|
18602
18702
|
transactionId: transactionId
|
|
18603
18703
|
}, opts.hyperMediaEndpoint);
|
|
18604
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
18704
|
+
return _context36.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18605
18705
|
path: pathTransactionSubmitBridgeClaim(transactionId)
|
|
18606
18706
|
}), {
|
|
18607
18707
|
method: 'post',
|
|
@@ -18640,7 +18740,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
|
|
|
18640
18740
|
doesParamExist.default({
|
|
18641
18741
|
transactionId: transactionId
|
|
18642
18742
|
}, opts.hyperMediaEndpoint);
|
|
18643
|
-
return _context37.abrupt("return", request(_objectSpread$
|
|
18743
|
+
return _context37.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18644
18744
|
path: pathTransactionSubmitBridgePayment(transactionId)
|
|
18645
18745
|
}), {
|
|
18646
18746
|
method: 'post',
|
|
@@ -18679,7 +18779,7 @@ var triggerBridge = /*#__PURE__*/function () {
|
|
|
18679
18779
|
doesParamExist.default({
|
|
18680
18780
|
transactionId: transactionId
|
|
18681
18781
|
}, opts.hyperMediaEndpoint);
|
|
18682
|
-
return _context38.abrupt("return", request(_objectSpread$
|
|
18782
|
+
return _context38.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18683
18783
|
path: pathTransactionTriggerBridge(transactionId)
|
|
18684
18784
|
}), {
|
|
18685
18785
|
method: 'post',
|
|
@@ -18718,7 +18818,7 @@ var createInvoice = /*#__PURE__*/function () {
|
|
|
18718
18818
|
doesParamExist.default({
|
|
18719
18819
|
businessId: businessId
|
|
18720
18820
|
}, opts.hyperMediaEndpoint);
|
|
18721
|
-
return _context39.abrupt("return", request(_objectSpread$
|
|
18821
|
+
return _context39.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18722
18822
|
path: pathCreateInvoice(businessId)
|
|
18723
18823
|
}), {
|
|
18724
18824
|
method: 'post',
|
|
@@ -18757,7 +18857,7 @@ var createSendClaim = /*#__PURE__*/function () {
|
|
|
18757
18857
|
doesParamExist.default({
|
|
18758
18858
|
transactionId: transactionId
|
|
18759
18859
|
}, opts.hyperMediaEndpoint);
|
|
18760
|
-
return _context40.abrupt("return", request(_objectSpread$
|
|
18860
|
+
return _context40.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18761
18861
|
path: pathCreateSendClaim(transactionId)
|
|
18762
18862
|
}), {
|
|
18763
18863
|
method: 'post',
|
|
@@ -18798,7 +18898,7 @@ var updateClaim = /*#__PURE__*/function () {
|
|
|
18798
18898
|
claimId: claimId,
|
|
18799
18899
|
transactionId: transactionId
|
|
18800
18900
|
}, opts.hyperMediaEndpoint);
|
|
18801
|
-
return _context41.abrupt("return", request(_objectSpread$
|
|
18901
|
+
return _context41.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18802
18902
|
path: pathClaim(transactionId, claimId)
|
|
18803
18903
|
}), {
|
|
18804
18904
|
method: 'put',
|
|
@@ -18836,7 +18936,7 @@ var completeTransaction = /*#__PURE__*/function () {
|
|
|
18836
18936
|
doesParamExist.default({
|
|
18837
18937
|
transactionId: transactionId
|
|
18838
18938
|
}, opts.hyperMediaEndpoint);
|
|
18839
|
-
return _context42.abrupt("return", request(_objectSpread$
|
|
18939
|
+
return _context42.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18840
18940
|
path: pathCompleteTransaction(transactionId)
|
|
18841
18941
|
}), {
|
|
18842
18942
|
method: 'post'
|
|
@@ -18875,7 +18975,7 @@ var approveClaim = /*#__PURE__*/function () {
|
|
|
18875
18975
|
doesParamExist.default({
|
|
18876
18976
|
transactionId: transactionId
|
|
18877
18977
|
}, opts.hyperMediaEndpoint);
|
|
18878
|
-
return _context43.abrupt("return", request(_objectSpread$
|
|
18978
|
+
return _context43.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18879
18979
|
path: pathApproveClaim(transactionId, claimId)
|
|
18880
18980
|
}), {
|
|
18881
18981
|
method: 'post',
|
|
@@ -18915,7 +19015,7 @@ var cancelClaim = /*#__PURE__*/function () {
|
|
|
18915
19015
|
claimId: claimId,
|
|
18916
19016
|
transactionId: transactionId
|
|
18917
19017
|
}, opts.hyperMediaEndpoint);
|
|
18918
|
-
return _context44.abrupt("return", request(_objectSpread$
|
|
19018
|
+
return _context44.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18919
19019
|
path: pathCancelClaim(transactionId, claimId)
|
|
18920
19020
|
}), {
|
|
18921
19021
|
method: 'post',
|
|
@@ -18955,7 +19055,7 @@ var submitClaim = /*#__PURE__*/function () {
|
|
|
18955
19055
|
doesParamExist.default({
|
|
18956
19056
|
transactionId: transactionId
|
|
18957
19057
|
}, opts.hyperMediaEndpoint);
|
|
18958
|
-
return _context45.abrupt("return", request(_objectSpread$
|
|
19058
|
+
return _context45.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18959
19059
|
path: pathSubmitClaim(transactionId, claimId)
|
|
18960
19060
|
}), {
|
|
18961
19061
|
method: 'post',
|
|
@@ -18995,7 +19095,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
|
|
|
18995
19095
|
claimId: claimId,
|
|
18996
19096
|
transactionId: transactionId
|
|
18997
19097
|
}, opts.hyperMediaEndpoint);
|
|
18998
|
-
return _context46.abrupt("return", request(_objectSpread$
|
|
19098
|
+
return _context46.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
18999
19099
|
path: pathSaveClaim(transactionId, claimId)
|
|
19000
19100
|
}), {
|
|
19001
19101
|
method: 'post'
|
|
@@ -19033,7 +19133,7 @@ var pay = /*#__PURE__*/function () {
|
|
|
19033
19133
|
doesParamExist.default({
|
|
19034
19134
|
transactionId: transactionId
|
|
19035
19135
|
}, opts.hyperMediaEndpoint);
|
|
19036
|
-
return _context47.abrupt("return", request(_objectSpread$
|
|
19136
|
+
return _context47.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19037
19137
|
path: pathTransactionPays(transactionId)
|
|
19038
19138
|
}), {
|
|
19039
19139
|
method: 'post',
|
|
@@ -19072,7 +19172,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
19072
19172
|
doesParamExist.default({
|
|
19073
19173
|
transactionId: transactionId
|
|
19074
19174
|
}, opts.hyperMediaEndpoint);
|
|
19075
|
-
return _context48.abrupt("return", request(_objectSpread$
|
|
19175
|
+
return _context48.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19076
19176
|
path: pathTransactionProcessingRequests(transactionId)
|
|
19077
19177
|
}), {
|
|
19078
19178
|
method: 'post',
|
|
@@ -19111,7 +19211,7 @@ var cancelInvoice = /*#__PURE__*/function () {
|
|
|
19111
19211
|
doesParamExist.default({
|
|
19112
19212
|
transactionId: transactionId
|
|
19113
19213
|
}, opts.hyperMediaEndpoint);
|
|
19114
|
-
return _context49.abrupt("return", request(_objectSpread$
|
|
19214
|
+
return _context49.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19115
19215
|
path: pathTransactionCancel(transactionId)
|
|
19116
19216
|
}), {
|
|
19117
19217
|
method: 'post',
|
|
@@ -19149,7 +19249,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
19149
19249
|
doesParamExist.default({
|
|
19150
19250
|
transactionId: transactionId
|
|
19151
19251
|
}, opts.hyperMediaEndpoint);
|
|
19152
|
-
return _context50.abrupt("return", request(_objectSpread$
|
|
19252
|
+
return _context50.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19153
19253
|
path: pathTransactionPaymentLink(transactionId)
|
|
19154
19254
|
}), {
|
|
19155
19255
|
method: 'get'
|
|
@@ -19189,7 +19289,7 @@ var refundByBusiness = /*#__PURE__*/function () {
|
|
|
19189
19289
|
businessId: businessId,
|
|
19190
19290
|
transactionId: transactionId
|
|
19191
19291
|
}, opts.hyperMediaEndpoint);
|
|
19192
|
-
return _context51.abrupt("return", request(_objectSpread$
|
|
19292
|
+
return _context51.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19193
19293
|
path: pathBusinessTransactionRefund(businessId, transactionId)
|
|
19194
19294
|
}), {
|
|
19195
19295
|
method: 'post',
|
|
@@ -19228,7 +19328,7 @@ var refund = /*#__PURE__*/function () {
|
|
|
19228
19328
|
doesParamExist.default({
|
|
19229
19329
|
transactionId: transactionId
|
|
19230
19330
|
}, opts.hyperMediaEndpoint);
|
|
19231
|
-
return _context52.abrupt("return", request(_objectSpread$
|
|
19331
|
+
return _context52.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19232
19332
|
path: pathTransactionRefund(transactionId)
|
|
19233
19333
|
}), {
|
|
19234
19334
|
method: 'post',
|
|
@@ -19267,7 +19367,7 @@ var saveDraft = /*#__PURE__*/function () {
|
|
|
19267
19367
|
doesParamExist.default({
|
|
19268
19368
|
businessId: businessId
|
|
19269
19369
|
}, opts.hyperMediaEndpoint);
|
|
19270
|
-
return _context53.abrupt("return", request(_objectSpread$
|
|
19370
|
+
return _context53.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19271
19371
|
path: pathCreateDraft(businessId)
|
|
19272
19372
|
}), {
|
|
19273
19373
|
method: 'post',
|
|
@@ -19306,7 +19406,7 @@ var convertDraft = /*#__PURE__*/function () {
|
|
|
19306
19406
|
doesParamExist.default({
|
|
19307
19407
|
transactionId: transactionId
|
|
19308
19408
|
}, opts.hyperMediaEndpoint);
|
|
19309
|
-
return _context54.abrupt("return", request(_objectSpread$
|
|
19409
|
+
return _context54.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19310
19410
|
path: pathConvertDraft(transactionId)
|
|
19311
19411
|
}), {
|
|
19312
19412
|
method: 'post',
|
|
@@ -19344,7 +19444,7 @@ var archive = /*#__PURE__*/function () {
|
|
|
19344
19444
|
doesParamExist.default({
|
|
19345
19445
|
transactionId: transactionId
|
|
19346
19446
|
}, opts.hyperMediaEndpoint);
|
|
19347
|
-
return _context55.abrupt("return", request(_objectSpread$
|
|
19447
|
+
return _context55.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19348
19448
|
path: pathTransactionArchives(transactionId)
|
|
19349
19449
|
}), {
|
|
19350
19450
|
method: 'put'
|
|
@@ -19381,7 +19481,7 @@ var unarchive = /*#__PURE__*/function () {
|
|
|
19381
19481
|
doesParamExist.default({
|
|
19382
19482
|
transactionId: transactionId
|
|
19383
19483
|
}, opts.hyperMediaEndpoint);
|
|
19384
|
-
return _context56.abrupt("return", request(_objectSpread$
|
|
19484
|
+
return _context56.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19385
19485
|
path: pathTransactionUnarchives(transactionId)
|
|
19386
19486
|
}), {
|
|
19387
19487
|
method: 'put'
|
|
@@ -19419,7 +19519,7 @@ var terminalInput = /*#__PURE__*/function () {
|
|
|
19419
19519
|
doesParamExist.default({
|
|
19420
19520
|
transactionId: transactionId
|
|
19421
19521
|
}, opts.hyperMediaEndpoint);
|
|
19422
|
-
return _context57.abrupt("return", request(_objectSpread$
|
|
19522
|
+
return _context57.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19423
19523
|
path: pathTransactionTerminalInput(transactionId)
|
|
19424
19524
|
}), {
|
|
19425
19525
|
method: 'post',
|
|
@@ -19458,7 +19558,7 @@ var terminalCancellation = /*#__PURE__*/function () {
|
|
|
19458
19558
|
doesParamExist.default({
|
|
19459
19559
|
transactionId: transactionId
|
|
19460
19560
|
}, opts.hyperMediaEndpoint);
|
|
19461
|
-
return _context58.abrupt("return", request(_objectSpread$
|
|
19561
|
+
return _context58.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19462
19562
|
path: pathTransactionTerminalCancel(transactionId)
|
|
19463
19563
|
}), {
|
|
19464
19564
|
method: 'post',
|
|
@@ -19498,7 +19598,7 @@ var refundPayment = /*#__PURE__*/function () {
|
|
|
19498
19598
|
doesParamExist.default({
|
|
19499
19599
|
transactionId: transactionId
|
|
19500
19600
|
}, opts.hyperMediaEndpoint);
|
|
19501
|
-
return _context59.abrupt("return", request(_objectSpread$
|
|
19601
|
+
return _context59.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19502
19602
|
path: pathTransactionPaymentRefund(transactionId, paymentId)
|
|
19503
19603
|
}), {
|
|
19504
19604
|
method: 'post',
|
|
@@ -19533,7 +19633,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19533
19633
|
opts = {};
|
|
19534
19634
|
}
|
|
19535
19635
|
|
|
19536
|
-
return _context60.abrupt("return", request(_objectSpread$
|
|
19636
|
+
return _context60.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19537
19637
|
path: pathCreateEclipseInPatientInvoice()
|
|
19538
19638
|
}), {
|
|
19539
19639
|
method: 'post',
|
|
@@ -19568,7 +19668,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19568
19668
|
opts = {};
|
|
19569
19669
|
}
|
|
19570
19670
|
|
|
19571
|
-
return _context61.abrupt("return", request(_objectSpread$
|
|
19671
|
+
return _context61.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19572
19672
|
path: pathCreateEclipseOverseasInvoice()
|
|
19573
19673
|
}), {
|
|
19574
19674
|
method: 'post',
|
|
@@ -19603,7 +19703,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
|
|
|
19603
19703
|
opts = {};
|
|
19604
19704
|
}
|
|
19605
19705
|
|
|
19606
|
-
return _context62.abrupt("return", request(_objectSpread$
|
|
19706
|
+
return _context62.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19607
19707
|
path: pathCreateEclipseOnlineEligibilityCheckInvoice()
|
|
19608
19708
|
}), {
|
|
19609
19709
|
method: 'post',
|
|
@@ -19643,7 +19743,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
19643
19743
|
businessId: businessId,
|
|
19644
19744
|
transactionId: transactionId
|
|
19645
19745
|
}, opts.hyperMediaEndpoint);
|
|
19646
|
-
return _context63.abrupt("return", request(_objectSpread$
|
|
19746
|
+
return _context63.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19647
19747
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
|
|
19648
19748
|
}), {
|
|
19649
19749
|
method: 'get',
|
|
@@ -19683,7 +19783,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
19683
19783
|
businessId: businessId,
|
|
19684
19784
|
transactionId: transactionId
|
|
19685
19785
|
}, opts.hyperMediaEndpoint);
|
|
19686
|
-
return _context64.abrupt("return", request(_objectSpread$
|
|
19786
|
+
return _context64.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19687
19787
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
|
|
19688
19788
|
}), {
|
|
19689
19789
|
method: 'get',
|
|
@@ -19722,7 +19822,7 @@ var reconcileClaim = /*#__PURE__*/function () {
|
|
|
19722
19822
|
doesParamExist.default({
|
|
19723
19823
|
transactionId: transactionId
|
|
19724
19824
|
}, opts.hyperMediaEndpoint);
|
|
19725
|
-
return _context65.abrupt("return", request(_objectSpread$
|
|
19825
|
+
return _context65.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19726
19826
|
path: pathReconcileClaim(transactionId, claimId)
|
|
19727
19827
|
}), {
|
|
19728
19828
|
method: 'post'
|
|
@@ -19756,7 +19856,7 @@ var saveDraftEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19756
19856
|
opts = {};
|
|
19757
19857
|
}
|
|
19758
19858
|
|
|
19759
|
-
return _context66.abrupt("return", request(_objectSpread$
|
|
19859
|
+
return _context66.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19760
19860
|
path: pathSaveDraftEclipseInPatientInvoice()
|
|
19761
19861
|
}), {
|
|
19762
19862
|
method: 'post',
|
|
@@ -19791,7 +19891,7 @@ var saveDraftEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19791
19891
|
opts = {};
|
|
19792
19892
|
}
|
|
19793
19893
|
|
|
19794
|
-
return _context67.abrupt("return", request(_objectSpread$
|
|
19894
|
+
return _context67.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19795
19895
|
path: pathSaveDraftEclipseOverseasInvoice()
|
|
19796
19896
|
}), {
|
|
19797
19897
|
method: 'post',
|
|
@@ -19882,9 +19982,9 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
19882
19982
|
saveDraftEclipseOverseasInvoice: saveDraftEclipseOverseasInvoice
|
|
19883
19983
|
});
|
|
19884
19984
|
|
|
19885
|
-
function ownKeys$
|
|
19985
|
+
function ownKeys$17(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; }
|
|
19886
19986
|
|
|
19887
|
-
function _objectSpread$
|
|
19987
|
+
function _objectSpread$17(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$17(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$17(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19888
19988
|
|
|
19889
19989
|
var pathTrigger = function pathTrigger(triggerId) {
|
|
19890
19990
|
return "/triggers/" + triggerId;
|
|
@@ -19911,7 +20011,7 @@ var getTrigger = /*#__PURE__*/function () {
|
|
|
19911
20011
|
doesParamExist.default({
|
|
19912
20012
|
triggerId: triggerId
|
|
19913
20013
|
}, opts.hyperMediaEndpoint);
|
|
19914
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
20014
|
+
return _context.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
19915
20015
|
path: pathTrigger(triggerId)
|
|
19916
20016
|
}), {
|
|
19917
20017
|
method: 'get'
|
|
@@ -19949,7 +20049,7 @@ var getTriggers = /*#__PURE__*/function () {
|
|
|
19949
20049
|
opts = {};
|
|
19950
20050
|
}
|
|
19951
20051
|
|
|
19952
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
20052
|
+
return _context2.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
19953
20053
|
path: PATH__TRIGGERS
|
|
19954
20054
|
}), {
|
|
19955
20055
|
method: 'get',
|
|
@@ -19988,7 +20088,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
|
|
|
19988
20088
|
opts = {};
|
|
19989
20089
|
}
|
|
19990
20090
|
|
|
19991
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
20091
|
+
return _context3.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
19992
20092
|
path: PATH__TRIGGER_CATEGORIES
|
|
19993
20093
|
}), {
|
|
19994
20094
|
method: 'get',
|
|
@@ -20015,9 +20115,9 @@ var triggers = /*#__PURE__*/Object.freeze({
|
|
|
20015
20115
|
getTriggerCategories: getTriggerCategories
|
|
20016
20116
|
});
|
|
20017
20117
|
|
|
20018
|
-
function ownKeys$
|
|
20118
|
+
function ownKeys$18(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; }
|
|
20019
20119
|
|
|
20020
|
-
function _objectSpread$
|
|
20120
|
+
function _objectSpread$18(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$18(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$18(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20021
20121
|
var pathHealthFundVendors = function pathHealthFundVendors(healthFundId) {
|
|
20022
20122
|
return "/healthfunds/" + healthFundId + "/vendors";
|
|
20023
20123
|
};
|
|
@@ -20033,7 +20133,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
|
|
|
20033
20133
|
healthFundId: healthFundId,
|
|
20034
20134
|
vendorId: vendorId
|
|
20035
20135
|
}, opts.hyperMediaEndpoint);
|
|
20036
|
-
return request(_objectSpread$
|
|
20136
|
+
return request(_objectSpread$18({}, opts, {
|
|
20037
20137
|
path: pathHealthFundVendor(healthFundId, vendorId)
|
|
20038
20138
|
}), {
|
|
20039
20139
|
method: 'get',
|
|
@@ -20048,7 +20148,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
|
|
|
20048
20148
|
doesParamExist.default({
|
|
20049
20149
|
healthFundId: healthFundId
|
|
20050
20150
|
}, opts.hyperMediaEndpoint);
|
|
20051
|
-
return request(_objectSpread$
|
|
20151
|
+
return request(_objectSpread$18({}, opts, {
|
|
20052
20152
|
path: pathHealthFundVendors(healthFundId)
|
|
20053
20153
|
}), {
|
|
20054
20154
|
method: 'get',
|
|
@@ -20064,9 +20164,9 @@ var vendors = /*#__PURE__*/Object.freeze({
|
|
|
20064
20164
|
getHealthFundVendors: getHealthFundVendors
|
|
20065
20165
|
});
|
|
20066
20166
|
|
|
20067
|
-
function ownKeys$
|
|
20167
|
+
function ownKeys$19(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; }
|
|
20068
20168
|
|
|
20069
|
-
function _objectSpread$
|
|
20169
|
+
function _objectSpread$19(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$19(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$19(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20070
20170
|
var PATH__MEDICARE_VERIFY = '/medicare/verify';
|
|
20071
20171
|
/**
|
|
20072
20172
|
* Verify medicare details
|
|
@@ -20084,7 +20184,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
|
|
|
20084
20184
|
opts = {};
|
|
20085
20185
|
}
|
|
20086
20186
|
|
|
20087
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
20187
|
+
return _context.abrupt("return", request(_objectSpread$19({}, opts, {
|
|
20088
20188
|
path: PATH__MEDICARE_VERIFY
|
|
20089
20189
|
}), {
|
|
20090
20190
|
method: 'POST',
|
|
@@ -20110,9 +20210,9 @@ var verify = /*#__PURE__*/Object.freeze({
|
|
|
20110
20210
|
verifyMedicare: verifyMedicare$1
|
|
20111
20211
|
});
|
|
20112
20212
|
|
|
20113
|
-
function ownKeys$
|
|
20213
|
+
function ownKeys$1a(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; }
|
|
20114
20214
|
|
|
20115
|
-
function _objectSpread$
|
|
20215
|
+
function _objectSpread$1a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1a(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20116
20216
|
var pathSendWorkerMessage = function pathSendWorkerMessage() {
|
|
20117
20217
|
return "/workers/messages";
|
|
20118
20218
|
};
|
|
@@ -20121,7 +20221,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
|
|
|
20121
20221
|
opts = {};
|
|
20122
20222
|
}
|
|
20123
20223
|
|
|
20124
|
-
return request(_objectSpread$
|
|
20224
|
+
return request(_objectSpread$1a({}, opts, {
|
|
20125
20225
|
path: pathSendWorkerMessage()
|
|
20126
20226
|
}), {
|
|
20127
20227
|
method: 'post',
|
|
@@ -20135,9 +20235,9 @@ var workers = /*#__PURE__*/Object.freeze({
|
|
|
20135
20235
|
sendWorkerMessage: sendWorkerMessage
|
|
20136
20236
|
});
|
|
20137
20237
|
|
|
20138
|
-
function ownKeys$
|
|
20238
|
+
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; }
|
|
20139
20239
|
|
|
20140
|
-
function _objectSpread$
|
|
20240
|
+
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; }
|
|
20141
20241
|
var pathHealthFundWorkflowExceptions = function pathHealthFundWorkflowExceptions(healthFundId) {
|
|
20142
20242
|
return "/healthfunds/" + healthFundId + "/workflowexceptions";
|
|
20143
20243
|
};
|
|
@@ -20149,7 +20249,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
|
|
|
20149
20249
|
doesParamExist.default({
|
|
20150
20250
|
healthFundId: healthFundId
|
|
20151
20251
|
}, opts.hyperMediaEndpoint);
|
|
20152
|
-
return request(_objectSpread$
|
|
20252
|
+
return request(_objectSpread$1b({}, opts, {
|
|
20153
20253
|
path: pathHealthFundWorkflowExceptions(healthFundId)
|
|
20154
20254
|
}), {
|
|
20155
20255
|
method: 'get',
|
|
@@ -20871,9 +20971,9 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
20871
20971
|
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
20872
20972
|
});
|
|
20873
20973
|
|
|
20874
|
-
function ownKeys$
|
|
20974
|
+
function ownKeys$1c(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; }
|
|
20875
20975
|
|
|
20876
|
-
function _objectSpread$
|
|
20976
|
+
function _objectSpread$1c(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1c(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20877
20977
|
/**
|
|
20878
20978
|
* Get current app version
|
|
20879
20979
|
*/
|
|
@@ -21015,7 +21115,7 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
21015
21115
|
break;
|
|
21016
21116
|
}
|
|
21017
21117
|
|
|
21018
|
-
return _context3.abrupt("return", _objectSpread$
|
|
21118
|
+
return _context3.abrupt("return", _objectSpread$1c({}, versions, {
|
|
21019
21119
|
requiresUpdate: true,
|
|
21020
21120
|
isForced: true
|
|
21021
21121
|
}));
|
|
@@ -21026,12 +21126,12 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
21026
21126
|
break;
|
|
21027
21127
|
}
|
|
21028
21128
|
|
|
21029
|
-
return _context3.abrupt("return", _objectSpread$
|
|
21129
|
+
return _context3.abrupt("return", _objectSpread$1c({}, versions, {
|
|
21030
21130
|
requiresUpdate: true
|
|
21031
21131
|
}));
|
|
21032
21132
|
|
|
21033
21133
|
case 14:
|
|
21034
|
-
return _context3.abrupt("return", _objectSpread$
|
|
21134
|
+
return _context3.abrupt("return", _objectSpread$1c({}, versions, {
|
|
21035
21135
|
requiresUpdate: false
|
|
21036
21136
|
}));
|
|
21037
21137
|
|
|
@@ -21133,9 +21233,9 @@ var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
|
21133
21233
|
getSelfApplicationCached: getSelfApplicationCached
|
|
21134
21234
|
});
|
|
21135
21235
|
|
|
21136
|
-
function ownKeys$
|
|
21236
|
+
function ownKeys$1d(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; }
|
|
21137
21237
|
|
|
21138
|
-
function _objectSpread$
|
|
21238
|
+
function _objectSpread$1d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1d(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21139
21239
|
|
|
21140
21240
|
function parseProfessions(_x, _x2) {
|
|
21141
21241
|
return _parseProfessions.apply(this, arguments);
|
|
@@ -21182,19 +21282,19 @@ function _parseProfessions() {
|
|
|
21182
21282
|
professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
|
|
21183
21283
|
var _objectSpread2;
|
|
21184
21284
|
|
|
21185
|
-
return _objectSpread$
|
|
21285
|
+
return _objectSpread$1d({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
21186
21286
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
21187
21287
|
{});
|
|
21188
21288
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
21189
21289
|
var _objectSpread3;
|
|
21190
21290
|
|
|
21191
|
-
return _objectSpread$
|
|
21291
|
+
return _objectSpread$1d({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
21192
21292
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
21193
21293
|
{});
|
|
21194
21294
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
21195
21295
|
var _objectSpread4;
|
|
21196
21296
|
|
|
21197
|
-
return _objectSpread$
|
|
21297
|
+
return _objectSpread$1d({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
|
|
21198
21298
|
}, {});
|
|
21199
21299
|
newProfessions = professions.map(function (registration) {
|
|
21200
21300
|
var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
|
|
@@ -21225,9 +21325,9 @@ var professionsUtils = /*#__PURE__*/Object.freeze({
|
|
|
21225
21325
|
parseProfessions: parseProfessions
|
|
21226
21326
|
});
|
|
21227
21327
|
|
|
21228
|
-
function ownKeys$
|
|
21328
|
+
function ownKeys$1e(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; }
|
|
21229
21329
|
|
|
21230
|
-
function _objectSpread$
|
|
21330
|
+
function _objectSpread$1e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1e(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21231
21331
|
var APP_ID = 'web-application';
|
|
21232
21332
|
var API_VER = '0.82.0';
|
|
21233
21333
|
var API_VERSIONS = {
|
|
@@ -21260,7 +21360,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
21260
21360
|
return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
|
|
21261
21361
|
var _objectSpread2;
|
|
21262
21362
|
|
|
21263
|
-
return _objectSpread$
|
|
21363
|
+
return _objectSpread$1e({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
|
|
21264
21364
|
}, {});
|
|
21265
21365
|
};
|
|
21266
21366
|
|
|
@@ -21307,6 +21407,7 @@ var sdkClient = {
|
|
|
21307
21407
|
docAccounts: docAccounts,
|
|
21308
21408
|
documents: documents,
|
|
21309
21409
|
emails: emails,
|
|
21410
|
+
filterOptions: filterOptions,
|
|
21310
21411
|
formApplicationTemplates: formApplicationTemplates,
|
|
21311
21412
|
formApplications: formApplications,
|
|
21312
21413
|
forms: forms,
|
|
@@ -21395,7 +21496,7 @@ var sdkClient = {
|
|
|
21395
21496
|
this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
|
|
21396
21497
|
}
|
|
21397
21498
|
|
|
21398
|
-
this.setConfig(_objectSpread$
|
|
21499
|
+
this.setConfig(_objectSpread$1e({}, opts, {
|
|
21399
21500
|
env: env
|
|
21400
21501
|
}));
|
|
21401
21502
|
this.hasInit = true; // Setup request/response interceptors
|
|
@@ -21629,9 +21730,9 @@ var sdkClient = {
|
|
|
21629
21730
|
}
|
|
21630
21731
|
};
|
|
21631
21732
|
|
|
21632
|
-
function ownKeys$
|
|
21733
|
+
function ownKeys$1f(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; }
|
|
21633
21734
|
|
|
21634
|
-
function _objectSpread$
|
|
21735
|
+
function _objectSpread$1f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1f(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21635
21736
|
function parseProviderSet(_x, _x2) {
|
|
21636
21737
|
return _parseProviderSet.apply(this, arguments);
|
|
21637
21738
|
}
|
|
@@ -21744,20 +21845,20 @@ function _parseProviderSet() {
|
|
|
21744
21845
|
fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
|
|
21745
21846
|
var _objectSpread2;
|
|
21746
21847
|
|
|
21747
|
-
return _objectSpread$
|
|
21848
|
+
return _objectSpread$1f({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
|
|
21748
21849
|
}, {});
|
|
21749
21850
|
practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
|
|
21750
21851
|
var _objectSpread3;
|
|
21751
21852
|
|
|
21752
|
-
return _objectSpread$
|
|
21853
|
+
return _objectSpread$1f({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
|
|
21753
21854
|
}, {});
|
|
21754
21855
|
providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
|
|
21755
21856
|
var _objectSpread4;
|
|
21756
21857
|
|
|
21757
|
-
return _objectSpread$
|
|
21858
|
+
return _objectSpread$1f({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
|
|
21758
21859
|
}, {});
|
|
21759
21860
|
newProviderSet = providerSet.map(function (providerData, i) {
|
|
21760
|
-
return _objectSpread$
|
|
21861
|
+
return _objectSpread$1f({}, providerData, {}, providerRegistrations[i], {
|
|
21761
21862
|
practice: practicesMap[providerData.practiceId],
|
|
21762
21863
|
funder: fundersMap[providerData.funderId]
|
|
21763
21864
|
}, parseProviderNumberType && {
|
|
@@ -21809,6 +21910,12 @@ function _parseProviderRegistrations() {
|
|
|
21809
21910
|
return _parseProviderRegistrations.apply(this, arguments);
|
|
21810
21911
|
}
|
|
21811
21912
|
|
|
21913
|
+
Object.defineProperty(exports, 'FilterGroup', {
|
|
21914
|
+
enumerable: true,
|
|
21915
|
+
get: function () {
|
|
21916
|
+
return filterOption.FilterGroup;
|
|
21917
|
+
}
|
|
21918
|
+
});
|
|
21812
21919
|
exports.regions = regions.regions;
|
|
21813
21920
|
exports.API_VER = API_VER;
|
|
21814
21921
|
exports.API_VERSIONS = API_VERSIONS;
|
|
@@ -21990,6 +22097,7 @@ exports.enableAccount = enableAccount;
|
|
|
21990
22097
|
exports.enableBusiness = enableBusiness;
|
|
21991
22098
|
exports.fetchLatestAppVersion = fetchLatestAppVersion;
|
|
21992
22099
|
exports.fetchMinimumAppVerson = fetchMinimumAppVerson;
|
|
22100
|
+
exports.filterOptions = filterOptions;
|
|
21993
22101
|
exports.formApplicationTemplates = formApplicationTemplates;
|
|
21994
22102
|
exports.formApplications = formApplications;
|
|
21995
22103
|
exports.forms = forms;
|
|
@@ -22030,6 +22138,7 @@ exports.getBusinessDocument = getBusinessDocument;
|
|
|
22030
22138
|
exports.getBusinessDocuments = getBusinessDocuments;
|
|
22031
22139
|
exports.getBusinessEclipseTransactionPaymentReport = getBusinessEclipseTransactionPaymentReport;
|
|
22032
22140
|
exports.getBusinessEclipseTransactionProcessingReport = getBusinessEclipseTransactionProcessingReport;
|
|
22141
|
+
exports.getBusinessFilterOptions = getBusinessFilterOptions;
|
|
22033
22142
|
exports.getBusinessForm = getBusinessForm;
|
|
22034
22143
|
exports.getBusinessFormApplication = getBusinessFormApplication;
|
|
22035
22144
|
exports.getBusinessFormApplicationTemplate = getBusinessFormApplicationTemplate;
|
|
@@ -22320,6 +22429,7 @@ exports.pathBusinessesRNAs = pathBusinessesRNAs;
|
|
|
22320
22429
|
exports.pathCancels = pathCancels;
|
|
22321
22430
|
exports.pathClientTokenByPracticeId = pathClientTokenByPracticeId;
|
|
22322
22431
|
exports.pathCreateHealthFundTransactionExport = pathCreateHealthFundTransactionExport;
|
|
22432
|
+
exports.pathFilterOptions = pathFilterOptions;
|
|
22323
22433
|
exports.pathFunder = pathFunder;
|
|
22324
22434
|
exports.pathFunderSettings = pathFunderSettings;
|
|
22325
22435
|
exports.pathFunderSettingsById = pathFunderSettingsById;
|
|
@@ -22495,6 +22605,7 @@ exports.submitPracticeOnboardingApplication = submitPracticeOnboardingApplicatio
|
|
|
22495
22605
|
exports.submitTransactionBridgeClaim = submitTransactionBridgeClaim;
|
|
22496
22606
|
exports.submitTransactionBridgePayment = submitTransactionBridgePayment;
|
|
22497
22607
|
exports.subscriptions = subscriptions;
|
|
22608
|
+
exports.suspendBusiness = suspendBusiness;
|
|
22498
22609
|
exports.terminalCancellation = terminalCancellation;
|
|
22499
22610
|
exports.terminalInput = terminalInput;
|
|
22500
22611
|
exports.terminals = terminals;
|
|
@@ -22509,6 +22620,7 @@ exports.unlinkBusinessProfile = unlinkBusinessProfile;
|
|
|
22509
22620
|
exports.unlinkPracticeProfile = unlinkPracticeProfile;
|
|
22510
22621
|
exports.unlinkStaffProfile = unlinkStaffProfile;
|
|
22511
22622
|
exports.unpublishHealthFundForm = unpublishHealthFundForm;
|
|
22623
|
+
exports.unsuspendBusiness = unsuspendBusiness;
|
|
22512
22624
|
exports.unverifyBusinessKyc = unverifyBusinessKyc;
|
|
22513
22625
|
exports.unverifyPracticeKyc = unverifyPracticeKyc;
|
|
22514
22626
|
exports.update = update;
|