@medipass/web-sdk 11.40.5 → 11.40.6-feature-eclipse-business-settings.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/lib/index.d.ts +5 -3
- package/lib/index.js +3 -2
- package/lib/resources/accounts.js +2 -2
- package/lib/resources/actions.js +2 -2
- package/lib/resources/api-keys.js +2 -2
- package/lib/resources/applications.js +2 -2
- package/lib/resources/attachments.js +2 -2
- package/lib/resources/auth.js +2 -2
- package/lib/resources/bulk-submits.js +2 -2
- package/lib/resources/bulk-uploads.js +2 -2
- package/lib/resources/business-profiles.js +2 -2
- package/lib/resources/businesses.js +2 -2
- package/lib/resources/claim-items.js +2 -2
- package/lib/resources/devices.js +2 -2
- package/lib/resources/doc-accounts.js +2 -2
- package/lib/resources/documents.js +2 -2
- package/lib/resources/emails.js +2 -2
- package/lib/resources/form-application-templates.js +2 -2
- package/lib/resources/form-applications.js +2 -2
- package/lib/resources/forms.js +2 -2
- package/lib/resources/funder-services.js +2 -2
- package/lib/resources/funder-settings.js +2 -2
- package/lib/resources/funder-values.d.ts +22 -0
- package/lib/resources/funder-values.js +54 -0
- package/lib/resources/funders.js +2 -2
- package/lib/resources/futures.js +2 -2
- package/lib/resources/health-fund-accounts.js +2 -2
- package/lib/resources/health-fund-settings.js +2 -2
- package/lib/resources/healthfunds.js +2 -2
- package/lib/resources/icditems.js +2 -2
- package/lib/resources/invoice-scans.js +2 -2
- package/lib/resources/jhcs.js +2 -2
- package/lib/resources/kyc.js +2 -2
- package/lib/resources/logs.js +2 -2
- package/lib/resources/members.js +2 -2
- package/lib/resources/message-mappings.js +2 -2
- package/lib/resources/minions.js +2 -2
- package/lib/resources/modalities.js +2 -2
- package/lib/resources/notes.js +2 -2
- package/lib/resources/onboarding-applications.js +2 -2
- package/lib/resources/onboarding-requests.js +2 -2
- package/lib/resources/ops.js +2 -2
- package/lib/resources/organisations.js +2 -2
- package/lib/resources/partners.js +2 -2
- package/lib/resources/patients.js +2 -2
- package/lib/resources/payments.js +2 -2
- package/lib/resources/pms.js +2 -2
- package/lib/resources/practice-profiles.js +2 -2
- package/lib/resources/practice-types.js +2 -2
- package/lib/resources/practices.js +2 -2
- package/lib/resources/products.js +2 -2
- package/lib/resources/professional-categories.js +2 -2
- package/lib/resources/provider-number-types.js +2 -2
- package/lib/resources/provider-registration-types.js +2 -2
- package/lib/resources/provider-requests.js +2 -2
- package/lib/resources/provider-types.js +2 -2
- package/lib/resources/ref-sources.js +2 -2
- package/lib/resources/risk.js +2 -2
- package/lib/resources/rnas.js +2 -2
- package/lib/resources/roles.js +2 -2
- package/lib/resources/self-checkout-sessions.js +2 -2
- package/lib/resources/services.js +2 -2
- package/lib/resources/settlements.js +2 -2
- package/lib/resources/sign-up.js +2 -2
- package/lib/resources/specialties.js +2 -2
- package/lib/resources/staff-profiles.js +2 -2
- package/lib/resources/staff.js +2 -2
- package/lib/resources/statistics.js +2 -2
- package/lib/resources/subscriptions.js +2 -2
- package/lib/resources/terminals.js +2 -2
- package/lib/resources/transaction-export.js +2 -2
- package/lib/resources/transactions.js +2 -2
- package/lib/resources/triggers.js +2 -2
- package/lib/resources/vendors.js +2 -2
- package/lib/resources/verify.js +2 -2
- package/lib/resources/workers.js +2 -2
- package/lib/resources/workflow-exceptions.js +2 -2
- package/lib/services/aws.js +2 -2
- package/lib/services/version.js +2 -2
- package/lib/{staff-0ea83917.js → staff-f44dc618.js} +696 -573
- package/lib/types/funder-value.d.ts +15 -0
- package/lib/types/funder-value.js +2 -0
- package/lib/types/index.d.ts +5 -0
- package/lib/utils/application.js +2 -2
- package/lib/utils/professions.js +2 -2
- package/lib/utils/request.js +2 -2
- package/lib/utils/staff.js +2 -2
- package/package.json +2 -2
|
@@ -29,8 +29,8 @@ var env = _interopDefault(require('@medipass/utils/get-env'));
|
|
|
29
29
|
var funders$1 = require('@medipass/utils/funders');
|
|
30
30
|
var compareVersions = _interopDefault(require('compare-versions'));
|
|
31
31
|
var index = require('./utils/base-urls/index.js');
|
|
32
|
-
var regions = require('./regions-a0a28864.js');
|
|
33
32
|
var _flatten = _interopDefault(require('lodash/flatten'));
|
|
33
|
+
var regions = require('./regions-a0a28864.js');
|
|
34
34
|
|
|
35
35
|
var staffUtils = /*#__PURE__*/Object.freeze({
|
|
36
36
|
__proto__: null,
|
|
@@ -5568,6 +5568,120 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
5568
5568
|
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; }
|
|
5569
5569
|
|
|
5570
5570
|
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; }
|
|
5571
|
+
var pathFunderValues = function pathFunderValues(businessId) {
|
|
5572
|
+
return "/businesses/" + businessId + "/fundervalues";
|
|
5573
|
+
};
|
|
5574
|
+
var pathFunderValuesById = function pathFunderValuesById(businessId, funderValueId) {
|
|
5575
|
+
return "/businesses/" + businessId + "/fundervalues/" + funderValueId;
|
|
5576
|
+
};
|
|
5577
|
+
var getBusinessFunderValues = /*#__PURE__*/function () {
|
|
5578
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(businessId, query, opts) {
|
|
5579
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
5580
|
+
while (1) {
|
|
5581
|
+
switch (_context.prev = _context.next) {
|
|
5582
|
+
case 0:
|
|
5583
|
+
if (opts === void 0) {
|
|
5584
|
+
opts = {};
|
|
5585
|
+
}
|
|
5586
|
+
|
|
5587
|
+
doesParamExist.default({
|
|
5588
|
+
businessId: businessId
|
|
5589
|
+
}, opts.hyperMediaEndpoint);
|
|
5590
|
+
return _context.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
5591
|
+
path: pathFunderValues(businessId)
|
|
5592
|
+
}), {
|
|
5593
|
+
method: 'get',
|
|
5594
|
+
params: query
|
|
5595
|
+
}));
|
|
5596
|
+
|
|
5597
|
+
case 3:
|
|
5598
|
+
case "end":
|
|
5599
|
+
return _context.stop();
|
|
5600
|
+
}
|
|
5601
|
+
}
|
|
5602
|
+
}, _callee);
|
|
5603
|
+
}));
|
|
5604
|
+
|
|
5605
|
+
return function getBusinessFunderValues(_x, _x2, _x3) {
|
|
5606
|
+
return _ref.apply(this, arguments);
|
|
5607
|
+
};
|
|
5608
|
+
}();
|
|
5609
|
+
var getBusinessFunderValueById = function getBusinessFunderValueById(businessId, funderValueId, opts) {
|
|
5610
|
+
if (opts === void 0) {
|
|
5611
|
+
opts = {};
|
|
5612
|
+
}
|
|
5613
|
+
|
|
5614
|
+
doesParamExist.default({
|
|
5615
|
+
businessId: businessId,
|
|
5616
|
+
funderValueId: funderValueId
|
|
5617
|
+
}, opts.hyperMediaEndpoint);
|
|
5618
|
+
return request(_objectSpread$n({}, opts, {
|
|
5619
|
+
path: pathFunderValuesById(businessId, funderValueId)
|
|
5620
|
+
}), {
|
|
5621
|
+
method: 'get'
|
|
5622
|
+
});
|
|
5623
|
+
};
|
|
5624
|
+
var createBusinessFunderValue = function createBusinessFunderValue(businessId, body, opts) {
|
|
5625
|
+
if (opts === void 0) {
|
|
5626
|
+
opts = {};
|
|
5627
|
+
}
|
|
5628
|
+
|
|
5629
|
+
doesParamExist.default({
|
|
5630
|
+
businessId: businessId
|
|
5631
|
+
}, opts.hyperMediaEndpoint);
|
|
5632
|
+
return request(_objectSpread$n({}, opts, {
|
|
5633
|
+
path: pathFunderValues(businessId)
|
|
5634
|
+
}), {
|
|
5635
|
+
method: 'post',
|
|
5636
|
+
data: body
|
|
5637
|
+
});
|
|
5638
|
+
};
|
|
5639
|
+
var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, funderValueId, body, opts) {
|
|
5640
|
+
if (opts === void 0) {
|
|
5641
|
+
opts = {};
|
|
5642
|
+
}
|
|
5643
|
+
|
|
5644
|
+
doesParamExist.default({
|
|
5645
|
+
businessId: businessId,
|
|
5646
|
+
funderValueId: funderValueId
|
|
5647
|
+
}, opts.hyperMediaEndpoint);
|
|
5648
|
+
return request(_objectSpread$n({}, opts, {
|
|
5649
|
+
path: pathFunderValuesById(businessId, funderValueId)
|
|
5650
|
+
}), {
|
|
5651
|
+
method: 'put',
|
|
5652
|
+
data: body
|
|
5653
|
+
});
|
|
5654
|
+
};
|
|
5655
|
+
var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, funderValueId, opts) {
|
|
5656
|
+
if (opts === void 0) {
|
|
5657
|
+
opts = {};
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
doesParamExist.default({
|
|
5661
|
+
businessId: businessId,
|
|
5662
|
+
funderValueId: funderValueId
|
|
5663
|
+
}, opts.hyperMediaEndpoint);
|
|
5664
|
+
return request(_objectSpread$n({}, opts, {
|
|
5665
|
+
path: pathFunderValuesById(businessId, funderValueId)
|
|
5666
|
+
}), {
|
|
5667
|
+
method: 'delete'
|
|
5668
|
+
});
|
|
5669
|
+
};
|
|
5670
|
+
|
|
5671
|
+
var funderValues = /*#__PURE__*/Object.freeze({
|
|
5672
|
+
__proto__: null,
|
|
5673
|
+
pathFunderValues: pathFunderValues,
|
|
5674
|
+
pathFunderValuesById: pathFunderValuesById,
|
|
5675
|
+
getBusinessFunderValues: getBusinessFunderValues,
|
|
5676
|
+
getBusinessFunderValueById: getBusinessFunderValueById,
|
|
5677
|
+
createBusinessFunderValue: createBusinessFunderValue,
|
|
5678
|
+
updateBusinessFunderValue: updateBusinessFunderValue,
|
|
5679
|
+
deleteBusinessFunderValue: deleteBusinessFunderValue
|
|
5680
|
+
});
|
|
5681
|
+
|
|
5682
|
+
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; }
|
|
5683
|
+
|
|
5684
|
+
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
5685
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
5572
5686
|
return "/businesses/" + businessId + "/futures";
|
|
5573
5687
|
};
|
|
@@ -5613,7 +5727,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
5613
5727
|
doesParamExist.default({
|
|
5614
5728
|
businessId: businessId
|
|
5615
5729
|
}, opts.hyperMediaEndpoint);
|
|
5616
|
-
return request(_objectSpread$
|
|
5730
|
+
return request(_objectSpread$o({}, opts, {
|
|
5617
5731
|
path: pathBusinessHolds(businessId)
|
|
5618
5732
|
}), {
|
|
5619
5733
|
method: 'post',
|
|
@@ -5635,7 +5749,7 @@ var createBusinessInstalmentPlan = function createBusinessInstalmentPlan(busines
|
|
|
5635
5749
|
doesParamExist.default({
|
|
5636
5750
|
businessId: businessId
|
|
5637
5751
|
}, opts.hyperMediaEndpoint);
|
|
5638
|
-
return request(_objectSpread$
|
|
5752
|
+
return request(_objectSpread$o({}, opts, {
|
|
5639
5753
|
path: pathBusinessInstalmentPlans(businessId)
|
|
5640
5754
|
}), {
|
|
5641
5755
|
method: 'post',
|
|
@@ -5656,7 +5770,7 @@ var cancel = function cancel(futureId, opts) {
|
|
|
5656
5770
|
doesParamExist.default({
|
|
5657
5771
|
futureId: futureId
|
|
5658
5772
|
}, opts.hyperMediaEndpoint);
|
|
5659
|
-
return request(_objectSpread$
|
|
5773
|
+
return request(_objectSpread$o({}, opts, {
|
|
5660
5774
|
path: pathCancels(futureId)
|
|
5661
5775
|
}), {
|
|
5662
5776
|
method: 'post'
|
|
@@ -5677,7 +5791,7 @@ var getBusinessFutures = function getBusinessFutures(businessId, query, opts) {
|
|
|
5677
5791
|
doesParamExist.default({
|
|
5678
5792
|
businessId: businessId
|
|
5679
5793
|
}, opts.hyperMediaEndpoint);
|
|
5680
|
-
return request(_objectSpread$
|
|
5794
|
+
return request(_objectSpread$o({}, opts, {
|
|
5681
5795
|
path: pathBusinessFutures(businessId)
|
|
5682
5796
|
}), {
|
|
5683
5797
|
method: 'get',
|
|
@@ -5700,7 +5814,7 @@ var getBusinessFuture = function getBusinessFuture(businessId, futureId, opts) {
|
|
|
5700
5814
|
businessId: businessId,
|
|
5701
5815
|
futureId: futureId
|
|
5702
5816
|
}, opts.hyperMediaEndpoint);
|
|
5703
|
-
return request(_objectSpread$
|
|
5817
|
+
return request(_objectSpread$o({}, opts, {
|
|
5704
5818
|
path: pathBusinessFuture(businessId, futureId)
|
|
5705
5819
|
}), {
|
|
5706
5820
|
method: 'get'
|
|
@@ -5720,7 +5834,7 @@ var getFuture = function getFuture(futureId, opts) {
|
|
|
5720
5834
|
doesParamExist.default({
|
|
5721
5835
|
futureId: futureId
|
|
5722
5836
|
}, opts.hyperMediaEndpoint);
|
|
5723
|
-
return request(_objectSpread$
|
|
5837
|
+
return request(_objectSpread$o({}, opts, {
|
|
5724
5838
|
path: pathFuture(futureId)
|
|
5725
5839
|
}), {
|
|
5726
5840
|
method: 'get'
|
|
@@ -5745,7 +5859,7 @@ var getPaymentLink = /*#__PURE__*/function () {
|
|
|
5745
5859
|
doesParamExist.default({
|
|
5746
5860
|
futureId: futureId
|
|
5747
5861
|
}, opts.hyperMediaEndpoint);
|
|
5748
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5862
|
+
return _context.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
5749
5863
|
path: pathPaymentLink(futureId)
|
|
5750
5864
|
}), {
|
|
5751
5865
|
method: 'get'
|
|
@@ -5778,7 +5892,7 @@ var sendProcessingRequest = function sendProcessingRequest(futureId, body, opts)
|
|
|
5778
5892
|
doesParamExist.default({
|
|
5779
5893
|
futureId: futureId
|
|
5780
5894
|
}, opts.hyperMediaEndpoint);
|
|
5781
|
-
return request(_objectSpread$
|
|
5895
|
+
return request(_objectSpread$o({}, opts, {
|
|
5782
5896
|
path: pathProcessingRequests(futureId)
|
|
5783
5897
|
}), {
|
|
5784
5898
|
method: 'post',
|
|
@@ -5800,7 +5914,7 @@ var submit = function submit(futureId, body, opts) {
|
|
|
5800
5914
|
doesParamExist.default({
|
|
5801
5915
|
futureId: futureId
|
|
5802
5916
|
}, opts.hyperMediaEndpoint);
|
|
5803
|
-
return request(_objectSpread$
|
|
5917
|
+
return request(_objectSpread$o({}, opts, {
|
|
5804
5918
|
path: pathSubmits(futureId)
|
|
5805
5919
|
}), {
|
|
5806
5920
|
method: 'post',
|
|
@@ -5822,7 +5936,7 @@ var update = function update(futureId, body, opts) {
|
|
|
5822
5936
|
doesParamExist.default({
|
|
5823
5937
|
futureId: futureId
|
|
5824
5938
|
}, opts.hyperMediaEndpoint);
|
|
5825
|
-
return request(_objectSpread$
|
|
5939
|
+
return request(_objectSpread$o({}, opts, {
|
|
5826
5940
|
path: pathFuture(futureId)
|
|
5827
5941
|
}), {
|
|
5828
5942
|
method: 'put',
|
|
@@ -5844,7 +5958,7 @@ var sendReceipt = function sendReceipt(futureId, body, opts) {
|
|
|
5844
5958
|
doesParamExist.default({
|
|
5845
5959
|
futureId: futureId
|
|
5846
5960
|
}, opts.hyperMediaEndpoint);
|
|
5847
|
-
return request(_objectSpread$
|
|
5961
|
+
return request(_objectSpread$o({}, opts, {
|
|
5848
5962
|
path: pathSendReceipt(futureId)
|
|
5849
5963
|
}), {
|
|
5850
5964
|
method: 'post',
|
|
@@ -5877,9 +5991,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
5877
5991
|
sendReceipt: sendReceipt
|
|
5878
5992
|
});
|
|
5879
5993
|
|
|
5880
|
-
function ownKeys$
|
|
5994
|
+
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; }
|
|
5881
5995
|
|
|
5882
|
-
function _objectSpread$
|
|
5996
|
+
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; }
|
|
5883
5997
|
|
|
5884
5998
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
5885
5999
|
return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts";
|
|
@@ -5917,7 +6031,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
5917
6031
|
doesParamExist.default({
|
|
5918
6032
|
memberId: memberId
|
|
5919
6033
|
}, opts.hyperMediaEndpoint);
|
|
5920
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6034
|
+
return _context.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
5921
6035
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
5922
6036
|
}), {
|
|
5923
6037
|
method: 'post',
|
|
@@ -5958,7 +6072,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
5958
6072
|
businessId: businessId,
|
|
5959
6073
|
patientId: patientId
|
|
5960
6074
|
}, opts.hyperMediaEndpoint);
|
|
5961
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6075
|
+
return _context2.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
5962
6076
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
5963
6077
|
}), {
|
|
5964
6078
|
method: 'post',
|
|
@@ -5998,7 +6112,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
5998
6112
|
memberId: memberId,
|
|
5999
6113
|
healthFundAccountId: healthFundAccountId
|
|
6000
6114
|
}, opts.hyperMediaEndpoint);
|
|
6001
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6115
|
+
return _context3.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6002
6116
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6003
6117
|
}), {
|
|
6004
6118
|
method: 'delete'
|
|
@@ -6039,7 +6153,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6039
6153
|
patientId: patientId,
|
|
6040
6154
|
healthFundAccountId: healthFundAccountId
|
|
6041
6155
|
}, opts.hyperMediaEndpoint);
|
|
6042
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6156
|
+
return _context4.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6043
6157
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6044
6158
|
}), {
|
|
6045
6159
|
method: 'delete'
|
|
@@ -6077,7 +6191,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6077
6191
|
doesParamExist.default({
|
|
6078
6192
|
memberId: memberId
|
|
6079
6193
|
}, opts.hyperMediaEndpoint);
|
|
6080
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6194
|
+
return _context5.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6081
6195
|
path: pathMemberHealthFundAccounts(memberId)
|
|
6082
6196
|
}), {
|
|
6083
6197
|
method: 'get',
|
|
@@ -6118,7 +6232,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6118
6232
|
businessId: businessId,
|
|
6119
6233
|
patientId: patientId
|
|
6120
6234
|
}, opts.hyperMediaEndpoint);
|
|
6121
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6235
|
+
return _context6.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6122
6236
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6123
6237
|
}), {
|
|
6124
6238
|
method: 'get',
|
|
@@ -6158,7 +6272,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6158
6272
|
memberId: memberId,
|
|
6159
6273
|
healthFundAccountId: healthFundAccountId
|
|
6160
6274
|
}, opts.hyperMediaEndpoint);
|
|
6161
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6275
|
+
return _context7.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6162
6276
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
6163
6277
|
}), {
|
|
6164
6278
|
method: 'get'
|
|
@@ -6199,7 +6313,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6199
6313
|
patientId: patientId,
|
|
6200
6314
|
healthFundAccountId: healthFundAccountId
|
|
6201
6315
|
}, opts.hyperMediaEndpoint);
|
|
6202
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6316
|
+
return _context8.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6203
6317
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6204
6318
|
}), {
|
|
6205
6319
|
method: 'get'
|
|
@@ -6239,7 +6353,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6239
6353
|
memberId: memberId,
|
|
6240
6354
|
healthFundAccountId: healthFundAccountId
|
|
6241
6355
|
}, opts.hyperMediaEndpoint);
|
|
6242
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6356
|
+
return _context9.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6243
6357
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6244
6358
|
}), {
|
|
6245
6359
|
method: 'put',
|
|
@@ -6282,7 +6396,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6282
6396
|
patientId: patientId,
|
|
6283
6397
|
healthFundAccountId: healthFundAccountId
|
|
6284
6398
|
}, opts.hyperMediaEndpoint);
|
|
6285
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6399
|
+
return _context10.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6286
6400
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6287
6401
|
}), {
|
|
6288
6402
|
method: 'put',
|
|
@@ -6316,9 +6430,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
6316
6430
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
6317
6431
|
});
|
|
6318
6432
|
|
|
6319
|
-
function ownKeys$
|
|
6433
|
+
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; }
|
|
6320
6434
|
|
|
6321
|
-
function _objectSpread$
|
|
6435
|
+
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; }
|
|
6322
6436
|
|
|
6323
6437
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
6324
6438
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/healthfundsettings";
|
|
@@ -6355,11 +6469,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6355
6469
|
doesParamExist.default({
|
|
6356
6470
|
healthFundId: healthFundId
|
|
6357
6471
|
}, opts.hyperMediaEndpoint);
|
|
6358
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6472
|
+
return _context.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6359
6473
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
6360
6474
|
}), {
|
|
6361
6475
|
method: 'post',
|
|
6362
|
-
data: _objectSpread$
|
|
6476
|
+
data: _objectSpread$q({
|
|
6363
6477
|
enabled: true
|
|
6364
6478
|
}, body)
|
|
6365
6479
|
}));
|
|
@@ -6396,7 +6510,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6396
6510
|
doesParamExist.default({
|
|
6397
6511
|
healthFundId: healthFundId
|
|
6398
6512
|
}, opts.hyperMediaEndpoint);
|
|
6399
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6513
|
+
return _context2.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6400
6514
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6401
6515
|
}), {
|
|
6402
6516
|
method: 'delete'
|
|
@@ -6441,7 +6555,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
6441
6555
|
doesParamExist.default({
|
|
6442
6556
|
healthFundId: healthFundId
|
|
6443
6557
|
}, opts.hyperMediaEndpoint);
|
|
6444
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6558
|
+
return _context3.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6445
6559
|
path: pathHealthFundSettings(healthFundId)
|
|
6446
6560
|
}), {
|
|
6447
6561
|
method: 'get',
|
|
@@ -6491,7 +6605,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
6491
6605
|
practiceId: practiceId,
|
|
6492
6606
|
staffId: staffId
|
|
6493
6607
|
}, opts.hyperMediaEndpoint);
|
|
6494
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6608
|
+
return _context4.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6495
6609
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
6496
6610
|
}), {
|
|
6497
6611
|
method: 'get',
|
|
@@ -6532,7 +6646,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6532
6646
|
healthFundId: healthFundId,
|
|
6533
6647
|
healthFundSettingId: healthFundSettingId
|
|
6534
6648
|
}, opts.hyperMediaEndpoint);
|
|
6535
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6649
|
+
return _context5.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6536
6650
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6537
6651
|
}), {
|
|
6538
6652
|
method: 'put',
|
|
@@ -6561,9 +6675,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
6561
6675
|
updateHealthFundSetting: updateHealthFundSetting
|
|
6562
6676
|
});
|
|
6563
6677
|
|
|
6564
|
-
function ownKeys$
|
|
6678
|
+
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; }
|
|
6565
6679
|
|
|
6566
|
-
function _objectSpread$
|
|
6680
|
+
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; }
|
|
6567
6681
|
var PATH__HEALTH_FUNDS = '/healthfunds';
|
|
6568
6682
|
|
|
6569
6683
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -6606,7 +6720,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
6606
6720
|
doesParamExist.default({
|
|
6607
6721
|
accountId: accountId
|
|
6608
6722
|
}, opts.hyperMediaEndpoint);
|
|
6609
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6723
|
+
return _context.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6610
6724
|
path: pathHealthFundsByAccountId(accountId)
|
|
6611
6725
|
}), {
|
|
6612
6726
|
method: 'get'
|
|
@@ -6648,7 +6762,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
6648
6762
|
doesParamExist.default({
|
|
6649
6763
|
businessId: businessId
|
|
6650
6764
|
}, opts.hyperMediaEndpoint);
|
|
6651
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6765
|
+
return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6652
6766
|
path: pathBusinessHealthFunds(businessId)
|
|
6653
6767
|
}), {
|
|
6654
6768
|
method: 'get',
|
|
@@ -6683,7 +6797,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
6683
6797
|
opts = {};
|
|
6684
6798
|
}
|
|
6685
6799
|
|
|
6686
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6800
|
+
return _context3.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6687
6801
|
path: PATH__HEALTH_FUNDS
|
|
6688
6802
|
}), {
|
|
6689
6803
|
method: 'get',
|
|
@@ -6727,7 +6841,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
6727
6841
|
doesParamExist.default({
|
|
6728
6842
|
organisationId: organisationId
|
|
6729
6843
|
}, opts.hyperMediaEndpoint);
|
|
6730
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6844
|
+
return _context4.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6731
6845
|
path: pathOrganisationHealthFunds(organisationId)
|
|
6732
6846
|
}), {
|
|
6733
6847
|
method: 'get',
|
|
@@ -6763,7 +6877,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
6763
6877
|
opts = {};
|
|
6764
6878
|
}
|
|
6765
6879
|
|
|
6766
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6880
|
+
return _context5.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6767
6881
|
path: PATH__HEALTH_FUNDS
|
|
6768
6882
|
}), {
|
|
6769
6883
|
method: 'post',
|
|
@@ -6801,7 +6915,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
6801
6915
|
doesParamExist.default({
|
|
6802
6916
|
healthFundId: healthFundId
|
|
6803
6917
|
}, opts.hyperMediaEndpoint);
|
|
6804
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6918
|
+
return _context6.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6805
6919
|
path: pathHealthFund(healthFundId)
|
|
6806
6920
|
}), {
|
|
6807
6921
|
method: 'get'
|
|
@@ -6839,7 +6953,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
6839
6953
|
doesParamExist.default({
|
|
6840
6954
|
healthFundId: healthFundId
|
|
6841
6955
|
}, opts.hyperMediaEndpoint);
|
|
6842
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6956
|
+
return _context7.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6843
6957
|
path: pathHealthFund(healthFundId)
|
|
6844
6958
|
}), {
|
|
6845
6959
|
method: 'put',
|
|
@@ -6877,7 +6991,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
6877
6991
|
doesParamExist.default({
|
|
6878
6992
|
healthFundId: healthFundId
|
|
6879
6993
|
}, opts.hyperMediaEndpoint);
|
|
6880
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6994
|
+
return _context8.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6881
6995
|
path: pathHealthFund(healthFundId)
|
|
6882
6996
|
}), {
|
|
6883
6997
|
method: 'delete'
|
|
@@ -6970,7 +7084,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
6970
7084
|
healthFundId: healthFundId,
|
|
6971
7085
|
body: body
|
|
6972
7086
|
}, opts.hyperMediaEndpoint);
|
|
6973
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7087
|
+
return _context10.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6974
7088
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
6975
7089
|
}), {
|
|
6976
7090
|
method: 'post',
|
|
@@ -7005,9 +7119,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
7005
7119
|
verifyMember: verifyMember
|
|
7006
7120
|
});
|
|
7007
7121
|
|
|
7008
|
-
function ownKeys$
|
|
7122
|
+
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; }
|
|
7009
7123
|
|
|
7010
|
-
function _objectSpread$
|
|
7124
|
+
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; }
|
|
7011
7125
|
var pathICDItems = '/icditems';
|
|
7012
7126
|
|
|
7013
7127
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -7036,7 +7150,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
7036
7150
|
};
|
|
7037
7151
|
}
|
|
7038
7152
|
|
|
7039
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7153
|
+
return _context.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7040
7154
|
path: pathICDItems
|
|
7041
7155
|
}), {
|
|
7042
7156
|
method: 'get',
|
|
@@ -7081,7 +7195,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
7081
7195
|
doesParamExist.default({
|
|
7082
7196
|
modalityId: modalityId
|
|
7083
7197
|
}, opts.hyperMediaEndpoint);
|
|
7084
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7198
|
+
return _context2.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7085
7199
|
path: pathModalityICDItems(modalityId)
|
|
7086
7200
|
}), {
|
|
7087
7201
|
method: 'get',
|
|
@@ -7107,9 +7221,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
7107
7221
|
getModalityICDItems: getModalityICDItems
|
|
7108
7222
|
});
|
|
7109
7223
|
|
|
7110
|
-
function ownKeys$
|
|
7224
|
+
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; }
|
|
7111
7225
|
|
|
7112
|
-
function _objectSpread$
|
|
7226
|
+
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; }
|
|
7113
7227
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
7114
7228
|
return "/businesses/" + businessId + "/invoicescans";
|
|
7115
7229
|
};
|
|
@@ -7139,7 +7253,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
7139
7253
|
doesParamExist.default({
|
|
7140
7254
|
businessId: businessId
|
|
7141
7255
|
}, opts.hyperMediaEndpoint);
|
|
7142
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7256
|
+
return _context.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
7143
7257
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
7144
7258
|
}), {
|
|
7145
7259
|
method: 'post',
|
|
@@ -7180,7 +7294,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
7180
7294
|
businessId: businessId,
|
|
7181
7295
|
invoiceScanId: invoiceScanId
|
|
7182
7296
|
}, opts.hyperMediaEndpoint);
|
|
7183
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7297
|
+
return _context2.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
7184
7298
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
7185
7299
|
}), {
|
|
7186
7300
|
method: 'get'
|
|
@@ -7213,7 +7327,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
7213
7327
|
doesParamExist.default({
|
|
7214
7328
|
businessId: businessId
|
|
7215
7329
|
}, opts.hyperMediaEndpoint);
|
|
7216
|
-
return request(_objectSpread$
|
|
7330
|
+
return request(_objectSpread$t({}, opts, {
|
|
7217
7331
|
path: pathUploadUrlByBusinessId(businessId)
|
|
7218
7332
|
}), {
|
|
7219
7333
|
method: 'get',
|
|
@@ -7231,9 +7345,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
7231
7345
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
7232
7346
|
});
|
|
7233
7347
|
|
|
7234
|
-
function ownKeys$
|
|
7348
|
+
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; }
|
|
7235
7349
|
|
|
7236
|
-
function _objectSpread$
|
|
7350
|
+
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; }
|
|
7237
7351
|
var PATH__JHCS = "/jointhealthcentres";
|
|
7238
7352
|
var pathJHC = function pathJHC(jhcId) {
|
|
7239
7353
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -7246,7 +7360,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
7246
7360
|
doesParamExist.default({
|
|
7247
7361
|
jhcId: jhcId
|
|
7248
7362
|
}, opts.hyperMediaEndpoint);
|
|
7249
|
-
return request(_objectSpread$
|
|
7363
|
+
return request(_objectSpread$u({}, opts, {
|
|
7250
7364
|
path: pathJHC(jhcId)
|
|
7251
7365
|
}), {
|
|
7252
7366
|
method: 'get'
|
|
@@ -7257,7 +7371,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
7257
7371
|
opts = {};
|
|
7258
7372
|
}
|
|
7259
7373
|
|
|
7260
|
-
return request(_objectSpread$
|
|
7374
|
+
return request(_objectSpread$u({}, opts, {
|
|
7261
7375
|
path: PATH__JHCS
|
|
7262
7376
|
}), {
|
|
7263
7377
|
method: 'get',
|
|
@@ -7273,9 +7387,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
7273
7387
|
getJHCs: getJHCs
|
|
7274
7388
|
});
|
|
7275
7389
|
|
|
7276
|
-
function ownKeys$
|
|
7390
|
+
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; }
|
|
7277
7391
|
|
|
7278
|
-
function _objectSpread$
|
|
7392
|
+
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; }
|
|
7279
7393
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
7280
7394
|
return "/businesses/" + businessId + "/kyc";
|
|
7281
7395
|
};
|
|
@@ -7329,7 +7443,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
7329
7443
|
doesParamExist.default({
|
|
7330
7444
|
businessId: businessId
|
|
7331
7445
|
}, opts.hyperMediaEndpoint);
|
|
7332
|
-
return request(_objectSpread$
|
|
7446
|
+
return request(_objectSpread$v({}, opts, {
|
|
7333
7447
|
path: pathBusinessKyc(businessId)
|
|
7334
7448
|
}), {
|
|
7335
7449
|
method: 'get'
|
|
@@ -7351,7 +7465,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
7351
7465
|
businessId: businessId,
|
|
7352
7466
|
practiceId: practiceId
|
|
7353
7467
|
}, opts.hyperMediaEndpoint);
|
|
7354
|
-
return request(_objectSpread$
|
|
7468
|
+
return request(_objectSpread$v({}, opts, {
|
|
7355
7469
|
path: pathPracticeKyc(businessId, practiceId)
|
|
7356
7470
|
}), {
|
|
7357
7471
|
method: 'get'
|
|
@@ -7372,7 +7486,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
7372
7486
|
doesParamExist.default({
|
|
7373
7487
|
businessId: businessId
|
|
7374
7488
|
}, opts.hyperMediaEndpoint);
|
|
7375
|
-
return request(_objectSpread$
|
|
7489
|
+
return request(_objectSpread$v({}, opts, {
|
|
7376
7490
|
path: pathBusinessKyc(businessId)
|
|
7377
7491
|
}), {
|
|
7378
7492
|
method: 'put',
|
|
@@ -7394,7 +7508,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
7394
7508
|
doesParamExist.default({
|
|
7395
7509
|
businessId: businessId
|
|
7396
7510
|
}, opts.hyperMediaEndpoint);
|
|
7397
|
-
return request(_objectSpread$
|
|
7511
|
+
return request(_objectSpread$v({}, opts, {
|
|
7398
7512
|
path: pathBusinessCbo(businessId)
|
|
7399
7513
|
}), {
|
|
7400
7514
|
method: 'get',
|
|
@@ -7415,7 +7529,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
7415
7529
|
doesParamExist.default({
|
|
7416
7530
|
businessId: businessId
|
|
7417
7531
|
}, opts.hyperMediaEndpoint);
|
|
7418
|
-
return request(_objectSpread$
|
|
7532
|
+
return request(_objectSpread$v({}, opts, {
|
|
7419
7533
|
path: pathBusinessKycVerify(businessId)
|
|
7420
7534
|
}), {
|
|
7421
7535
|
method: 'post'
|
|
@@ -7437,7 +7551,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
7437
7551
|
businessId: businessId,
|
|
7438
7552
|
practiceId: practiceId
|
|
7439
7553
|
}, opts.hyperMediaEndpoint);
|
|
7440
|
-
return request(_objectSpread$
|
|
7554
|
+
return request(_objectSpread$v({}, opts, {
|
|
7441
7555
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
7442
7556
|
}), {
|
|
7443
7557
|
method: 'post',
|
|
@@ -7458,7 +7572,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
7458
7572
|
doesParamExist.default({
|
|
7459
7573
|
businessId: businessId
|
|
7460
7574
|
}, opts.hyperMediaEndpoint);
|
|
7461
|
-
return request(_objectSpread$
|
|
7575
|
+
return request(_objectSpread$v({}, opts, {
|
|
7462
7576
|
path: pathBusinessKycUnverify(businessId)
|
|
7463
7577
|
}), {
|
|
7464
7578
|
method: 'post'
|
|
@@ -7480,7 +7594,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
7480
7594
|
businessId: businessId,
|
|
7481
7595
|
practiceId: practiceId
|
|
7482
7596
|
}, opts.hyperMediaEndpoint);
|
|
7483
|
-
return request(_objectSpread$
|
|
7597
|
+
return request(_objectSpread$v({}, opts, {
|
|
7484
7598
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
7485
7599
|
}), {
|
|
7486
7600
|
method: 'post'
|
|
@@ -7501,7 +7615,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
7501
7615
|
doesParamExist.default({
|
|
7502
7616
|
businessId: businessId
|
|
7503
7617
|
}, opts.hyperMediaEndpoint);
|
|
7504
|
-
return request(_objectSpread$
|
|
7618
|
+
return request(_objectSpread$v({}, opts, {
|
|
7505
7619
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
7506
7620
|
}), {
|
|
7507
7621
|
method: 'post',
|
|
@@ -7523,7 +7637,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
7523
7637
|
doesParamExist.default({
|
|
7524
7638
|
businessId: businessId
|
|
7525
7639
|
}, opts.hyperMediaEndpoint);
|
|
7526
|
-
return request(_objectSpread$
|
|
7640
|
+
return request(_objectSpread$v({}, opts, {
|
|
7527
7641
|
path: pathRequestVerificationSupport(businessId)
|
|
7528
7642
|
}), {
|
|
7529
7643
|
method: 'post',
|
|
@@ -7545,7 +7659,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
7545
7659
|
doesParamExist.default({
|
|
7546
7660
|
businessId: businessId
|
|
7547
7661
|
}, opts.hyperMediaEndpoint);
|
|
7548
|
-
return request(_objectSpread$
|
|
7662
|
+
return request(_objectSpread$v({}, opts, {
|
|
7549
7663
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
7550
7664
|
}), {
|
|
7551
7665
|
method: 'post',
|
|
@@ -7568,7 +7682,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
7568
7682
|
doesParamExist.default({
|
|
7569
7683
|
businessId: businessId
|
|
7570
7684
|
}, opts.hyperMediaEndpoint);
|
|
7571
|
-
return request(_objectSpread$
|
|
7685
|
+
return request(_objectSpread$v({}, opts, {
|
|
7572
7686
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
7573
7687
|
}), {
|
|
7574
7688
|
method: 'delete'
|
|
@@ -7588,7 +7702,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
7588
7702
|
doesParamExist.default({
|
|
7589
7703
|
businessId: businessId
|
|
7590
7704
|
}, opts.hyperMediaEndpoint);
|
|
7591
|
-
return request(_objectSpread$
|
|
7705
|
+
return request(_objectSpread$v({}, opts, {
|
|
7592
7706
|
path: pathResumeComplexVerification(businessId)
|
|
7593
7707
|
}), {
|
|
7594
7708
|
method: 'post'
|
|
@@ -7609,7 +7723,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
7609
7723
|
doesParamExist.default({
|
|
7610
7724
|
businessId: businessId
|
|
7611
7725
|
}, opts.hyperMediaEndpoint);
|
|
7612
|
-
return request(_objectSpread$
|
|
7726
|
+
return request(_objectSpread$v({}, opts, {
|
|
7613
7727
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
7614
7728
|
}), {
|
|
7615
7729
|
method: 'get',
|
|
@@ -7648,9 +7762,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
7648
7762
|
getTrustDocumentUploadUrl: getTrustDocumentUploadUrl
|
|
7649
7763
|
});
|
|
7650
7764
|
|
|
7651
|
-
function ownKeys$
|
|
7765
|
+
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; }
|
|
7652
7766
|
|
|
7653
|
-
function _objectSpread$
|
|
7767
|
+
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; }
|
|
7654
7768
|
var pathLog = function pathLog() {
|
|
7655
7769
|
return "/logs";
|
|
7656
7770
|
};
|
|
@@ -7668,7 +7782,7 @@ var createLog = function createLog(body, opts) {
|
|
|
7668
7782
|
opts = {};
|
|
7669
7783
|
}
|
|
7670
7784
|
|
|
7671
|
-
return request(_objectSpread$
|
|
7785
|
+
return request(_objectSpread$w({}, opts, {
|
|
7672
7786
|
path: pathLog()
|
|
7673
7787
|
}), {
|
|
7674
7788
|
method: 'post',
|
|
@@ -7690,7 +7804,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
7690
7804
|
doesParamExist.default({
|
|
7691
7805
|
businessId: businessId
|
|
7692
7806
|
});
|
|
7693
|
-
return request(_objectSpread$
|
|
7807
|
+
return request(_objectSpread$w({}, opts, {
|
|
7694
7808
|
path: pathBusinessLog(businessId)
|
|
7695
7809
|
}), {
|
|
7696
7810
|
method: 'post',
|
|
@@ -7706,9 +7820,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
7706
7820
|
createBusinessLog: createBusinessLog
|
|
7707
7821
|
});
|
|
7708
7822
|
|
|
7709
|
-
function ownKeys$
|
|
7823
|
+
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; }
|
|
7710
7824
|
|
|
7711
|
-
function _objectSpread$
|
|
7825
|
+
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; }
|
|
7712
7826
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
7713
7827
|
return "/businesses/" + businessId + "/messagemappings";
|
|
7714
7828
|
};
|
|
@@ -7727,7 +7841,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
7727
7841
|
doesParamExist.default({
|
|
7728
7842
|
businessId: businessId
|
|
7729
7843
|
}, opts.hyperMediaEndpoint);
|
|
7730
|
-
return request(_objectSpread$
|
|
7844
|
+
return request(_objectSpread$x({}, opts, {
|
|
7731
7845
|
path: pathBusinessMessageMappings(businessId)
|
|
7732
7846
|
}), {
|
|
7733
7847
|
method: 'get',
|
|
@@ -7741,9 +7855,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
7741
7855
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
7742
7856
|
});
|
|
7743
7857
|
|
|
7744
|
-
function ownKeys$
|
|
7858
|
+
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; }
|
|
7745
7859
|
|
|
7746
|
-
function _objectSpread$
|
|
7860
|
+
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; }
|
|
7747
7861
|
|
|
7748
7862
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
7749
7863
|
return "/healthfunds/" + healthFundId + "/minions";
|
|
@@ -7780,12 +7894,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7780
7894
|
triggerId: triggerId,
|
|
7781
7895
|
actionId: actionId
|
|
7782
7896
|
}, opts.hyperMediaEndpoint);
|
|
7783
|
-
data = _objectSpread$
|
|
7897
|
+
data = _objectSpread$y({
|
|
7784
7898
|
name: name,
|
|
7785
7899
|
triggerId: triggerId,
|
|
7786
7900
|
actionId: actionId
|
|
7787
7901
|
}, body);
|
|
7788
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7902
|
+
return _context.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7789
7903
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7790
7904
|
}), {
|
|
7791
7905
|
method: 'post',
|
|
@@ -7825,7 +7939,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
7825
7939
|
opts = {};
|
|
7826
7940
|
}
|
|
7827
7941
|
|
|
7828
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7942
|
+
return _context2.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7829
7943
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7830
7944
|
}), {
|
|
7831
7945
|
method: 'get',
|
|
@@ -7865,7 +7979,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7865
7979
|
healthFundId: healthFundId,
|
|
7866
7980
|
minionId: minionId
|
|
7867
7981
|
}, opts.hyperMediaEndpoint);
|
|
7868
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7982
|
+
return _context3.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7869
7983
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
7870
7984
|
}), {
|
|
7871
7985
|
method: 'get'
|
|
@@ -7905,7 +8019,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7905
8019
|
healthFundId: healthFundId,
|
|
7906
8020
|
minionId: minionId
|
|
7907
8021
|
}, opts.hyperMediaEndpoint);
|
|
7908
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
8022
|
+
return _context4.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7909
8023
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
7910
8024
|
}), {
|
|
7911
8025
|
method: 'put',
|
|
@@ -7945,7 +8059,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7945
8059
|
healthFundId: healthFundId,
|
|
7946
8060
|
minionId: minionId
|
|
7947
8061
|
}, opts.hyperMediaEndpoint);
|
|
7948
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
8062
|
+
return _context5.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7949
8063
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
7950
8064
|
}), {
|
|
7951
8065
|
method: 'delete'
|
|
@@ -7973,9 +8087,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
7973
8087
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
7974
8088
|
});
|
|
7975
8089
|
|
|
7976
|
-
function ownKeys$
|
|
8090
|
+
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; }
|
|
7977
8091
|
|
|
7978
|
-
function _objectSpread$
|
|
8092
|
+
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; }
|
|
7979
8093
|
var PATH__MODALITIES = '/modalities';
|
|
7980
8094
|
|
|
7981
8095
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -8007,7 +8121,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
8007
8121
|
doesParamExist.default({
|
|
8008
8122
|
businessId: businessId
|
|
8009
8123
|
}, opts.hyperMediaEndpoint);
|
|
8010
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8124
|
+
return _context.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8011
8125
|
path: pathBusinessModalities(businessId)
|
|
8012
8126
|
}), {
|
|
8013
8127
|
method: 'get'
|
|
@@ -8047,7 +8161,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
8047
8161
|
};
|
|
8048
8162
|
}
|
|
8049
8163
|
|
|
8050
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8164
|
+
return _context2.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8051
8165
|
path: PATH__MODALITIES
|
|
8052
8166
|
}), {
|
|
8053
8167
|
method: 'get',
|
|
@@ -8084,7 +8198,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
8084
8198
|
};
|
|
8085
8199
|
}
|
|
8086
8200
|
|
|
8087
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8201
|
+
return _context3.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8088
8202
|
path: pathModality(modalityId)
|
|
8089
8203
|
}), {
|
|
8090
8204
|
method: 'get'
|
|
@@ -8110,9 +8224,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
8110
8224
|
getModality: getModality
|
|
8111
8225
|
});
|
|
8112
8226
|
|
|
8113
|
-
function ownKeys$
|
|
8227
|
+
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; }
|
|
8114
8228
|
|
|
8115
|
-
function _objectSpread$
|
|
8229
|
+
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; }
|
|
8116
8230
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
8117
8231
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
8118
8232
|
};
|
|
@@ -8140,7 +8254,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
8140
8254
|
healthFundId: healthFundId,
|
|
8141
8255
|
documentId: documentId
|
|
8142
8256
|
}, opts.hyperMediaEndpoint);
|
|
8143
|
-
return request(_objectSpread$
|
|
8257
|
+
return request(_objectSpread$A({}, opts, {
|
|
8144
8258
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8145
8259
|
}), {
|
|
8146
8260
|
method: 'post',
|
|
@@ -8156,7 +8270,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
8156
8270
|
healthFundId: healthFundId,
|
|
8157
8271
|
documentId: documentId
|
|
8158
8272
|
}, opts.hyperMediaEndpoint);
|
|
8159
|
-
return request(_objectSpread$
|
|
8273
|
+
return request(_objectSpread$A({}, opts, {
|
|
8160
8274
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8161
8275
|
}), {
|
|
8162
8276
|
method: 'get'
|
|
@@ -8171,7 +8285,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
8171
8285
|
healthFundId: healthFundId,
|
|
8172
8286
|
transactionId: transactionId
|
|
8173
8287
|
}, opts.hyperMediaEndpoint);
|
|
8174
|
-
return request(_objectSpread$
|
|
8288
|
+
return request(_objectSpread$A({}, opts, {
|
|
8175
8289
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
8176
8290
|
}), {
|
|
8177
8291
|
method: 'get'
|
|
@@ -8186,7 +8300,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
8186
8300
|
healthFundId: healthFundId,
|
|
8187
8301
|
noteId: noteId
|
|
8188
8302
|
}, opts.hyperMediaEndpoint);
|
|
8189
|
-
return request(_objectSpread$
|
|
8303
|
+
return request(_objectSpread$A({}, opts, {
|
|
8190
8304
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8191
8305
|
}), {
|
|
8192
8306
|
method: 'get'
|
|
@@ -8200,7 +8314,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
8200
8314
|
doesParamExist.default({
|
|
8201
8315
|
transactionId: transactionId
|
|
8202
8316
|
}, opts.hyperMediaEndpoint);
|
|
8203
|
-
return request(_objectSpread$
|
|
8317
|
+
return request(_objectSpread$A({}, opts, {
|
|
8204
8318
|
path: pathTransactionNotes(transactionId)
|
|
8205
8319
|
}), {
|
|
8206
8320
|
method: 'get',
|
|
@@ -8216,7 +8330,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
8216
8330
|
businessId: businessId,
|
|
8217
8331
|
transactionId: transactionId
|
|
8218
8332
|
}, opts.hyperMediaEndpoint);
|
|
8219
|
-
return request(_objectSpread$
|
|
8333
|
+
return request(_objectSpread$A({}, opts, {
|
|
8220
8334
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
8221
8335
|
}), {
|
|
8222
8336
|
method: 'get'
|
|
@@ -8230,7 +8344,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
8230
8344
|
doesParamExist.default({
|
|
8231
8345
|
transactionId: transactionId
|
|
8232
8346
|
}, opts.hyperMediaEndpoint);
|
|
8233
|
-
return request(_objectSpread$
|
|
8347
|
+
return request(_objectSpread$A({}, opts, {
|
|
8234
8348
|
path: pathTransactionNotes(transactionId)
|
|
8235
8349
|
}), {
|
|
8236
8350
|
method: 'post',
|
|
@@ -8246,7 +8360,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
8246
8360
|
transactionId: transactionId,
|
|
8247
8361
|
transactionNoteId: transactionNoteId
|
|
8248
8362
|
}, opts.hyperMediaEndpoint);
|
|
8249
|
-
return request(_objectSpread$
|
|
8363
|
+
return request(_objectSpread$A({}, opts, {
|
|
8250
8364
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
8251
8365
|
}), {
|
|
8252
8366
|
method: 'delete'
|
|
@@ -8261,7 +8375,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
8261
8375
|
healthFundId: healthFundId,
|
|
8262
8376
|
noteId: noteId
|
|
8263
8377
|
}, opts.hyperMediaEndpoint);
|
|
8264
|
-
return request(_objectSpread$
|
|
8378
|
+
return request(_objectSpread$A({}, opts, {
|
|
8265
8379
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8266
8380
|
}), {
|
|
8267
8381
|
method: 'put',
|
|
@@ -8277,7 +8391,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
8277
8391
|
healthFundId: healthFundId,
|
|
8278
8392
|
noteId: noteId
|
|
8279
8393
|
}, opts.hyperMediaEndpoint);
|
|
8280
|
-
return request(_objectSpread$
|
|
8394
|
+
return request(_objectSpread$A({}, opts, {
|
|
8281
8395
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8282
8396
|
}), {
|
|
8283
8397
|
method: 'delete'
|
|
@@ -8304,9 +8418,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
8304
8418
|
deleteHealthFundNote: deleteHealthFundNote
|
|
8305
8419
|
});
|
|
8306
8420
|
|
|
8307
|
-
function ownKeys$
|
|
8421
|
+
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; }
|
|
8308
8422
|
|
|
8309
|
-
function _objectSpread$
|
|
8423
|
+
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; }
|
|
8310
8424
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
8311
8425
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
8312
8426
|
};
|
|
@@ -8337,7 +8451,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
8337
8451
|
doesParamExist.default({
|
|
8338
8452
|
practiceId: practiceId
|
|
8339
8453
|
});
|
|
8340
|
-
return request(_objectSpread$
|
|
8454
|
+
return request(_objectSpread$B({}, opts, {
|
|
8341
8455
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
8342
8456
|
}), {
|
|
8343
8457
|
method: 'post',
|
|
@@ -8370,7 +8484,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
8370
8484
|
businessId: businessId,
|
|
8371
8485
|
practiceId: practiceId
|
|
8372
8486
|
}, opts.hyperMediaEndpoint);
|
|
8373
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8487
|
+
return _context.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
8374
8488
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
8375
8489
|
}), {
|
|
8376
8490
|
method: 'get',
|
|
@@ -8404,7 +8518,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
8404
8518
|
doesParamExist.default({
|
|
8405
8519
|
businessId: businessId
|
|
8406
8520
|
});
|
|
8407
|
-
return request(_objectSpread$
|
|
8521
|
+
return request(_objectSpread$B({}, opts, {
|
|
8408
8522
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8409
8523
|
}), {
|
|
8410
8524
|
method: 'get',
|
|
@@ -8424,7 +8538,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
8424
8538
|
doesParamExist.default({
|
|
8425
8539
|
businessId: businessId
|
|
8426
8540
|
});
|
|
8427
|
-
return request(_objectSpread$
|
|
8541
|
+
return request(_objectSpread$B({}, opts, {
|
|
8428
8542
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8429
8543
|
}), {
|
|
8430
8544
|
method: 'post',
|
|
@@ -8444,7 +8558,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
8444
8558
|
doesParamExist.default({
|
|
8445
8559
|
businessId: businessId
|
|
8446
8560
|
});
|
|
8447
|
-
return request(_objectSpread$
|
|
8561
|
+
return request(_objectSpread$B({}, opts, {
|
|
8448
8562
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8449
8563
|
}), {
|
|
8450
8564
|
method: 'put',
|
|
@@ -8468,7 +8582,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
8468
8582
|
staffId: staffId,
|
|
8469
8583
|
providerSetItemId: providerSetItemId
|
|
8470
8584
|
});
|
|
8471
|
-
return request(_objectSpread$
|
|
8585
|
+
return request(_objectSpread$B({}, opts, {
|
|
8472
8586
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
8473
8587
|
}), {
|
|
8474
8588
|
method: 'post',
|
|
@@ -8490,7 +8604,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
8490
8604
|
doesParamExist.default({
|
|
8491
8605
|
businessId: businessId
|
|
8492
8606
|
});
|
|
8493
|
-
return request(_objectSpread$
|
|
8607
|
+
return request(_objectSpread$B({}, opts, {
|
|
8494
8608
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
8495
8609
|
}), {
|
|
8496
8610
|
method: 'get',
|
|
@@ -8514,9 +8628,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
8514
8628
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
8515
8629
|
});
|
|
8516
8630
|
|
|
8517
|
-
function ownKeys$
|
|
8631
|
+
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; }
|
|
8518
8632
|
|
|
8519
|
-
function _objectSpread$
|
|
8633
|
+
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; }
|
|
8520
8634
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
8521
8635
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
8522
8636
|
};
|
|
@@ -8548,7 +8662,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
8548
8662
|
doesParamExist.default({
|
|
8549
8663
|
onboardingRequestId: onboardingRequestId
|
|
8550
8664
|
}, opts.hyperMediaEndpoint);
|
|
8551
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8665
|
+
return _context.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
8552
8666
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8553
8667
|
}), {
|
|
8554
8668
|
method: 'get'
|
|
@@ -8590,7 +8704,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
8590
8704
|
doesParamExist.default({
|
|
8591
8705
|
businessId: businessId
|
|
8592
8706
|
}, opts.hyperMediaEndpoint);
|
|
8593
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8707
|
+
return _context2.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
8594
8708
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8595
8709
|
}), {
|
|
8596
8710
|
method: 'get',
|
|
@@ -8622,7 +8736,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
8622
8736
|
doesParamExist.default({
|
|
8623
8737
|
businessId: businessId
|
|
8624
8738
|
});
|
|
8625
|
-
return request(_objectSpread$
|
|
8739
|
+
return request(_objectSpread$C({}, opts, {
|
|
8626
8740
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8627
8741
|
}), {
|
|
8628
8742
|
method: 'post',
|
|
@@ -8642,7 +8756,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
8642
8756
|
doesParamExist.default({
|
|
8643
8757
|
onboardingRequestId: onboardingRequestId
|
|
8644
8758
|
});
|
|
8645
|
-
return request(_objectSpread$
|
|
8759
|
+
return request(_objectSpread$C({}, opts, {
|
|
8646
8760
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
8647
8761
|
}), {
|
|
8648
8762
|
method: 'post',
|
|
@@ -8663,7 +8777,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
8663
8777
|
doesParamExist.default({
|
|
8664
8778
|
onboardingRequestId: onboardingRequestId
|
|
8665
8779
|
});
|
|
8666
|
-
return request(_objectSpread$
|
|
8780
|
+
return request(_objectSpread$C({}, opts, {
|
|
8667
8781
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
8668
8782
|
}), {
|
|
8669
8783
|
method: 'put',
|
|
@@ -8683,7 +8797,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
8683
8797
|
doesParamExist.default({
|
|
8684
8798
|
onboardingRequestId: onboardingRequestId
|
|
8685
8799
|
});
|
|
8686
|
-
return request(_objectSpread$
|
|
8800
|
+
return request(_objectSpread$C({}, opts, {
|
|
8687
8801
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8688
8802
|
}), {
|
|
8689
8803
|
method: 'delete',
|
|
@@ -8705,9 +8819,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
8705
8819
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
8706
8820
|
});
|
|
8707
8821
|
|
|
8708
|
-
function ownKeys$
|
|
8822
|
+
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; }
|
|
8709
8823
|
|
|
8710
|
-
function _objectSpread$
|
|
8824
|
+
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; }
|
|
8711
8825
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
8712
8826
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
8713
8827
|
var PATH__OPS_DECRTPT = '/ops/decrypt';
|
|
@@ -8740,13 +8854,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
8740
8854
|
type: type
|
|
8741
8855
|
}, opts.hyperMediaEndpoint);
|
|
8742
8856
|
|
|
8743
|
-
var data = _objectSpread$
|
|
8857
|
+
var data = _objectSpread$D({
|
|
8744
8858
|
fullName: fullName,
|
|
8745
8859
|
displayName: displayName,
|
|
8746
8860
|
type: type
|
|
8747
8861
|
}, body);
|
|
8748
8862
|
|
|
8749
|
-
return request(_objectSpread$
|
|
8863
|
+
return request(_objectSpread$D({}, opts, {
|
|
8750
8864
|
path: PATH__OPS_SERVICES
|
|
8751
8865
|
}), {
|
|
8752
8866
|
method: 'post',
|
|
@@ -8767,7 +8881,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
8767
8881
|
doesParamExist.default({
|
|
8768
8882
|
serviceId: serviceId
|
|
8769
8883
|
}, opts.hyperMediaEndpoint);
|
|
8770
|
-
return request(_objectSpread$
|
|
8884
|
+
return request(_objectSpread$D({}, opts, {
|
|
8771
8885
|
path: pathOpsService(serviceId)
|
|
8772
8886
|
}), {
|
|
8773
8887
|
method: 'delete'
|
|
@@ -8787,7 +8901,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
8787
8901
|
doesParamExist.default({
|
|
8788
8902
|
serviceId: serviceId
|
|
8789
8903
|
}, opts.hyperMediaEndpoint);
|
|
8790
|
-
return request(_objectSpread$
|
|
8904
|
+
return request(_objectSpread$D({}, opts, {
|
|
8791
8905
|
path: PATH__OPS_DEPLOYMENTS
|
|
8792
8906
|
}), {
|
|
8793
8907
|
method: 'post',
|
|
@@ -8811,7 +8925,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
8811
8925
|
opts = {};
|
|
8812
8926
|
}
|
|
8813
8927
|
|
|
8814
|
-
return request(_objectSpread$
|
|
8928
|
+
return request(_objectSpread$D({}, opts, {
|
|
8815
8929
|
path: PATH__OPS_DEPLOYMENTS
|
|
8816
8930
|
}), {
|
|
8817
8931
|
method: 'get',
|
|
@@ -8832,7 +8946,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
8832
8946
|
doesParamExist.default({
|
|
8833
8947
|
deploymentId: deploymentId
|
|
8834
8948
|
}, opts.hyperMediaEndpoint);
|
|
8835
|
-
return request(_objectSpread$
|
|
8949
|
+
return request(_objectSpread$D({}, opts, {
|
|
8836
8950
|
path: pathOpsDeployment(deploymentId)
|
|
8837
8951
|
}), {
|
|
8838
8952
|
method: 'get'
|
|
@@ -8853,7 +8967,7 @@ var getServices = function getServices(query, opts) {
|
|
|
8853
8967
|
opts = {};
|
|
8854
8968
|
}
|
|
8855
8969
|
|
|
8856
|
-
return request(_objectSpread$
|
|
8970
|
+
return request(_objectSpread$D({}, opts, {
|
|
8857
8971
|
path: PATH__OPS_SERVICES
|
|
8858
8972
|
}), {
|
|
8859
8973
|
method: 'get',
|
|
@@ -8874,7 +8988,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
8874
8988
|
doesParamExist.default({
|
|
8875
8989
|
serviceId: serviceId
|
|
8876
8990
|
}, opts.hyperMediaEndpoint);
|
|
8877
|
-
return request(_objectSpread$
|
|
8991
|
+
return request(_objectSpread$D({}, opts, {
|
|
8878
8992
|
path: pathOpsService(serviceId)
|
|
8879
8993
|
}), {
|
|
8880
8994
|
method: 'get'
|
|
@@ -8895,7 +9009,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
8895
9009
|
doesParamExist.default({
|
|
8896
9010
|
serviceId: serviceId
|
|
8897
9011
|
}, opts.hyperMediaEndpoint);
|
|
8898
|
-
return request(_objectSpread$
|
|
9012
|
+
return request(_objectSpread$D({}, opts, {
|
|
8899
9013
|
path: pathOpsService(serviceId)
|
|
8900
9014
|
}), {
|
|
8901
9015
|
method: 'put',
|
|
@@ -8917,7 +9031,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
8917
9031
|
doesParamExist.default({
|
|
8918
9032
|
serviceId: serviceId
|
|
8919
9033
|
}, opts.hyperMediaEndpoint);
|
|
8920
|
-
return request(_objectSpread$
|
|
9034
|
+
return request(_objectSpread$D({}, opts, {
|
|
8921
9035
|
path: PATH__OPS_DECRTPT
|
|
8922
9036
|
}), {
|
|
8923
9037
|
method: 'post',
|
|
@@ -8938,9 +9052,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
8938
9052
|
decrypt: decrypt
|
|
8939
9053
|
});
|
|
8940
9054
|
|
|
8941
|
-
function ownKeys$
|
|
9055
|
+
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; }
|
|
8942
9056
|
|
|
8943
|
-
function _objectSpread$
|
|
9057
|
+
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; }
|
|
8944
9058
|
var PATH__ORGANISATIONS = '/organisations';
|
|
8945
9059
|
/**
|
|
8946
9060
|
* Get organisations
|
|
@@ -8957,7 +9071,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
8957
9071
|
opts = {};
|
|
8958
9072
|
}
|
|
8959
9073
|
|
|
8960
|
-
return request(_objectSpread$
|
|
9074
|
+
return request(_objectSpread$E({}, opts, {
|
|
8961
9075
|
path: PATH__ORGANISATIONS
|
|
8962
9076
|
}), {
|
|
8963
9077
|
method: 'get',
|
|
@@ -8970,9 +9084,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
8970
9084
|
getOrganisations: getOrganisations
|
|
8971
9085
|
});
|
|
8972
9086
|
|
|
8973
|
-
function ownKeys$
|
|
9087
|
+
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; }
|
|
8974
9088
|
|
|
8975
|
-
function _objectSpread$
|
|
9089
|
+
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; }
|
|
8976
9090
|
var PATH__PARTNERS = '/partners';
|
|
8977
9091
|
|
|
8978
9092
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -9011,7 +9125,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
9011
9125
|
opts = {};
|
|
9012
9126
|
}
|
|
9013
9127
|
|
|
9014
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9128
|
+
return _context.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9015
9129
|
path: PATH__PARTNERS
|
|
9016
9130
|
}), {
|
|
9017
9131
|
method: 'get',
|
|
@@ -9049,7 +9163,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
9049
9163
|
doesParamExist.default({
|
|
9050
9164
|
partnerId: partnerId
|
|
9051
9165
|
}, opts.hyperMediaEndpoint);
|
|
9052
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9166
|
+
return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9053
9167
|
path: pathPartner(partnerId)
|
|
9054
9168
|
}), {
|
|
9055
9169
|
method: 'get'
|
|
@@ -9087,7 +9201,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
9087
9201
|
doesParamExist.default({
|
|
9088
9202
|
partnerId: partnerId
|
|
9089
9203
|
}, opts.hyperMediaEndpoint);
|
|
9090
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9204
|
+
return _context3.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9091
9205
|
path: pathPartner(partnerId)
|
|
9092
9206
|
}), {
|
|
9093
9207
|
method: 'put',
|
|
@@ -9128,10 +9242,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
9128
9242
|
doesParamExist.default({
|
|
9129
9243
|
partnerId: partnerId
|
|
9130
9244
|
}, opts.hyperMediaEndpoint);
|
|
9131
|
-
data = _objectSpread$
|
|
9245
|
+
data = _objectSpread$F({
|
|
9132
9246
|
fullNameId: fullNameId
|
|
9133
9247
|
}, body);
|
|
9134
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9248
|
+
return _context4.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9135
9249
|
path: pathPartnerPractices(partnerId)
|
|
9136
9250
|
}), {
|
|
9137
9251
|
method: 'put',
|
|
@@ -9175,10 +9289,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
9175
9289
|
practiceId: practiceId,
|
|
9176
9290
|
providerNumberId: providerNumberId
|
|
9177
9291
|
}, opts.hyperMediaEndpoint);
|
|
9178
|
-
data = _objectSpread$
|
|
9292
|
+
data = _objectSpread$F({
|
|
9179
9293
|
providerNumberId: providerNumberId
|
|
9180
9294
|
}, body);
|
|
9181
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9295
|
+
return _context5.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9182
9296
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
9183
9297
|
}), {
|
|
9184
9298
|
method: 'put',
|
|
@@ -9221,7 +9335,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9221
9335
|
doesParamExist.default({
|
|
9222
9336
|
accountId: accountId
|
|
9223
9337
|
}, opts.hyperMediaEndpoint);
|
|
9224
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9338
|
+
return _context6.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9225
9339
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
9226
9340
|
}), {
|
|
9227
9341
|
method: 'post',
|
|
@@ -9261,7 +9375,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9261
9375
|
doesParamExist.default({
|
|
9262
9376
|
accountId: accountId
|
|
9263
9377
|
}, opts.hyperMediaEndpoint);
|
|
9264
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9378
|
+
return _context7.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9265
9379
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
9266
9380
|
}), {
|
|
9267
9381
|
method: 'post'
|
|
@@ -9291,9 +9405,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
9291
9405
|
notifyPartnerAccount: notifyPartnerAccount
|
|
9292
9406
|
});
|
|
9293
9407
|
|
|
9294
|
-
function ownKeys$
|
|
9408
|
+
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; }
|
|
9295
9409
|
|
|
9296
|
-
function _objectSpread$
|
|
9410
|
+
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; }
|
|
9297
9411
|
|
|
9298
9412
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
9299
9413
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -9327,7 +9441,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
9327
9441
|
doesParamExist.default({
|
|
9328
9442
|
businessId: businessId
|
|
9329
9443
|
}, opts.hyperMediaEndpoint);
|
|
9330
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9444
|
+
return _context.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9331
9445
|
path: pathBusinessPatients(businessId)
|
|
9332
9446
|
}), {
|
|
9333
9447
|
method: 'post',
|
|
@@ -9370,7 +9484,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
9370
9484
|
doesParamExist.default({
|
|
9371
9485
|
businessId: businessId
|
|
9372
9486
|
}, opts.hyperMediaEndpoint);
|
|
9373
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9487
|
+
return _context2.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9374
9488
|
path: pathBusinessPatients(businessId)
|
|
9375
9489
|
}), {
|
|
9376
9490
|
method: 'get',
|
|
@@ -9409,7 +9523,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
9409
9523
|
doesParamExist.default({
|
|
9410
9524
|
businessId: businessId
|
|
9411
9525
|
}, opts.hyperMediaEndpoint);
|
|
9412
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9526
|
+
return _context3.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9413
9527
|
path: pathBusinessPatient(businessId, patientId)
|
|
9414
9528
|
}), {
|
|
9415
9529
|
method: 'get'
|
|
@@ -9448,7 +9562,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
9448
9562
|
businessId: businessId,
|
|
9449
9563
|
refId: refId
|
|
9450
9564
|
}, opts.hyperMediaEndpoint);
|
|
9451
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9565
|
+
return _context4.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9452
9566
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
9453
9567
|
}), {
|
|
9454
9568
|
method: 'get'
|
|
@@ -9487,7 +9601,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
9487
9601
|
doesParamExist.default({
|
|
9488
9602
|
businessId: businessId
|
|
9489
9603
|
}, opts.hyperMediaEndpoint);
|
|
9490
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9604
|
+
return _context5.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9491
9605
|
path: pathBusinessPatient(businessId, patientId)
|
|
9492
9606
|
}), {
|
|
9493
9607
|
method: 'put',
|
|
@@ -9526,7 +9640,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
9526
9640
|
doesParamExist.default({
|
|
9527
9641
|
businessId: businessId
|
|
9528
9642
|
}, opts.hyperMediaEndpoint);
|
|
9529
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9643
|
+
return _context6.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9530
9644
|
path: pathBusinessPatient(businessId, patientId)
|
|
9531
9645
|
}), {
|
|
9532
9646
|
method: 'delete'
|
|
@@ -9555,9 +9669,9 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
9555
9669
|
deleteBusinessPatient: deleteBusinessPatient
|
|
9556
9670
|
});
|
|
9557
9671
|
|
|
9558
|
-
function ownKeys$
|
|
9672
|
+
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; }
|
|
9559
9673
|
|
|
9560
|
-
function _objectSpread$
|
|
9674
|
+
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; }
|
|
9561
9675
|
var PATH__PAYMENTS = '/payments';
|
|
9562
9676
|
|
|
9563
9677
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -9618,7 +9732,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9618
9732
|
nonce: nonce,
|
|
9619
9733
|
source: source
|
|
9620
9734
|
}, opts.hyperMediaEndpoint);
|
|
9621
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9735
|
+
return _context.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9622
9736
|
path: pathAccountPaymentMethods(accountId)
|
|
9623
9737
|
}), {
|
|
9624
9738
|
method: 'post',
|
|
@@ -9662,7 +9776,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9662
9776
|
nonce: nonce,
|
|
9663
9777
|
source: source
|
|
9664
9778
|
}, opts.hyperMediaEndpoint);
|
|
9665
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9779
|
+
return _context2.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9666
9780
|
path: pathBusinessPaymentMethods(businessId)
|
|
9667
9781
|
}), {
|
|
9668
9782
|
method: 'post',
|
|
@@ -9708,7 +9822,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9708
9822
|
nonce: nonce,
|
|
9709
9823
|
source: source
|
|
9710
9824
|
}, opts.hyperMediaEndpoint);
|
|
9711
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9825
|
+
return _context3.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9712
9826
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9713
9827
|
}), {
|
|
9714
9828
|
method: 'post',
|
|
@@ -9752,7 +9866,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9752
9866
|
accountId: accountId,
|
|
9753
9867
|
paymentMethodId: paymentMethodId
|
|
9754
9868
|
}, opts.hyperMediaEndpoint);
|
|
9755
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9869
|
+
return _context4.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9756
9870
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
9757
9871
|
}), {
|
|
9758
9872
|
method: 'delete'
|
|
@@ -9792,7 +9906,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9792
9906
|
businessId: businessId,
|
|
9793
9907
|
paymentMethodId: paymentMethodId
|
|
9794
9908
|
}, opts.hyperMediaEndpoint);
|
|
9795
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9909
|
+
return _context5.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9796
9910
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
9797
9911
|
}), {
|
|
9798
9912
|
method: 'delete'
|
|
@@ -9834,7 +9948,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9834
9948
|
patientId: patientId,
|
|
9835
9949
|
paymentMethodId: paymentMethodId
|
|
9836
9950
|
}, opts.hyperMediaEndpoint);
|
|
9837
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9951
|
+
return _context6.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9838
9952
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
9839
9953
|
}), {
|
|
9840
9954
|
method: 'delete'
|
|
@@ -9872,7 +9986,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
9872
9986
|
doesParamExist.default({
|
|
9873
9987
|
accountId: accountId
|
|
9874
9988
|
}, opts.hyperMediaEndpoint);
|
|
9875
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9989
|
+
return _context7.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9876
9990
|
path: pathAccountPaymentMethods(accountId)
|
|
9877
9991
|
}), {
|
|
9878
9992
|
method: 'get'
|
|
@@ -9910,7 +10024,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
9910
10024
|
doesParamExist.default({
|
|
9911
10025
|
businessId: businessId
|
|
9912
10026
|
}, opts.hyperMediaEndpoint);
|
|
9913
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
10027
|
+
return _context8.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9914
10028
|
path: pathBusinessPaymentMethods(businessId)
|
|
9915
10029
|
}), {
|
|
9916
10030
|
method: 'get'
|
|
@@ -9949,7 +10063,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
9949
10063
|
businessId: businessId,
|
|
9950
10064
|
patientId: patientId
|
|
9951
10065
|
}, opts.hyperMediaEndpoint);
|
|
9952
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
10066
|
+
return _context9.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9953
10067
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9954
10068
|
}), {
|
|
9955
10069
|
method: 'get'
|
|
@@ -9989,7 +10103,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
|
|
|
9989
10103
|
businessId: businessId,
|
|
9990
10104
|
refId: refId
|
|
9991
10105
|
}, opts.hyperMediaEndpoint);
|
|
9992
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
10106
|
+
return _context10.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9993
10107
|
path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
|
|
9994
10108
|
}), {
|
|
9995
10109
|
method: 'get'
|
|
@@ -10029,7 +10143,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10029
10143
|
accountId: accountId,
|
|
10030
10144
|
paymentMethodId: paymentMethodId
|
|
10031
10145
|
}, opts.hyperMediaEndpoint);
|
|
10032
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
10146
|
+
return _context11.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10033
10147
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10034
10148
|
}), {
|
|
10035
10149
|
method: 'get'
|
|
@@ -10069,7 +10183,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10069
10183
|
businessId: businessId,
|
|
10070
10184
|
paymentMethodId: paymentMethodId
|
|
10071
10185
|
}, opts.hyperMediaEndpoint);
|
|
10072
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
10186
|
+
return _context12.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10073
10187
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10074
10188
|
}), {
|
|
10075
10189
|
method: 'get'
|
|
@@ -10111,7 +10225,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10111
10225
|
patientId: patientId,
|
|
10112
10226
|
paymentMethodId: paymentMethodId
|
|
10113
10227
|
}, opts.hyperMediaEndpoint);
|
|
10114
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
10228
|
+
return _context13.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10115
10229
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10116
10230
|
}), {
|
|
10117
10231
|
method: 'get'
|
|
@@ -10151,7 +10265,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
10151
10265
|
businessId: businessId,
|
|
10152
10266
|
source: source
|
|
10153
10267
|
}, opts.hyperMediaEndpoint);
|
|
10154
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
10268
|
+
return _context14.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10155
10269
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
10156
10270
|
}), {
|
|
10157
10271
|
method: 'get',
|
|
@@ -10192,7 +10306,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
10192
10306
|
doesParamExist.default({
|
|
10193
10307
|
businessId: businessId
|
|
10194
10308
|
}, opts.hyperMediaEndpoint);
|
|
10195
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
10309
|
+
return _context15.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10196
10310
|
path: pathBusinessSalesClientToken(businessId)
|
|
10197
10311
|
}), {
|
|
10198
10312
|
method: 'get'
|
|
@@ -10232,7 +10346,7 @@ var getClientToken = /*#__PURE__*/function () {
|
|
|
10232
10346
|
doesParamExist.default({
|
|
10233
10347
|
source: source
|
|
10234
10348
|
}, opts.hyperMediaEndpoint);
|
|
10235
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
10349
|
+
return _context16.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10236
10350
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
10237
10351
|
}), {
|
|
10238
10352
|
method: 'get',
|
|
@@ -10276,7 +10390,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10276
10390
|
accountId: accountId,
|
|
10277
10391
|
paymentMethodId: paymentMethodId
|
|
10278
10392
|
}, opts.hyperMediaEndpoint);
|
|
10279
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
10393
|
+
return _context17.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10280
10394
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10281
10395
|
}), {
|
|
10282
10396
|
data: body,
|
|
@@ -10317,7 +10431,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10317
10431
|
businessId: businessId,
|
|
10318
10432
|
paymentMethodId: paymentMethodId
|
|
10319
10433
|
}, opts.hyperMediaEndpoint);
|
|
10320
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
10434
|
+
return _context18.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10321
10435
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10322
10436
|
}), {
|
|
10323
10437
|
data: body,
|
|
@@ -10359,7 +10473,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10359
10473
|
patientId: patientId,
|
|
10360
10474
|
paymentMethodId: paymentMethodId
|
|
10361
10475
|
}, opts.hyperMediaEndpoint);
|
|
10362
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
10476
|
+
return _context19.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10363
10477
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10364
10478
|
}), {
|
|
10365
10479
|
data: body,
|
|
@@ -10491,7 +10605,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10491
10605
|
throw new Error(getPaymentGatewayError(updateSessionResponse));
|
|
10492
10606
|
|
|
10493
10607
|
case 32:
|
|
10494
|
-
return _context20.abrupt("return", _objectSpread$
|
|
10608
|
+
return _context20.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10495
10609
|
nonce: clientToken.clientToken,
|
|
10496
10610
|
sourceResponse: updateSessionResponse
|
|
10497
10611
|
}));
|
|
@@ -10534,7 +10648,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10534
10648
|
|
|
10535
10649
|
case 41:
|
|
10536
10650
|
sourceResponse = _context20.sent;
|
|
10537
|
-
return _context20.abrupt("return", _objectSpread$
|
|
10651
|
+
return _context20.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10538
10652
|
nonce: _get(sourceResponse, 'creditCards[0].nonce'),
|
|
10539
10653
|
sourceResponse: sourceResponse
|
|
10540
10654
|
}));
|
|
@@ -10591,7 +10705,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10591
10705
|
|
|
10592
10706
|
case 60:
|
|
10593
10707
|
sourceResponse = _context20.sent;
|
|
10594
|
-
return _context20.abrupt("return", _objectSpread$
|
|
10708
|
+
return _context20.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10595
10709
|
nonce: sourceResponse.nonce,
|
|
10596
10710
|
sourceResponse: sourceResponse
|
|
10597
10711
|
}));
|
|
@@ -10621,7 +10735,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10621
10735
|
|
|
10622
10736
|
case 69:
|
|
10623
10737
|
canMakeApplePayment = _context20.sent;
|
|
10624
|
-
return _context20.abrupt("return", _objectSpread$
|
|
10738
|
+
return _context20.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10625
10739
|
applePayInstance: applePayInstance,
|
|
10626
10740
|
canMakeApplePayment: canMakeApplePayment,
|
|
10627
10741
|
paymentRequest: paymentRequest
|
|
@@ -10668,9 +10782,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
10668
10782
|
getNonce: getNonce
|
|
10669
10783
|
});
|
|
10670
10784
|
|
|
10671
|
-
function ownKeys$
|
|
10785
|
+
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; }
|
|
10672
10786
|
|
|
10673
|
-
function _objectSpread$
|
|
10787
|
+
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; }
|
|
10674
10788
|
|
|
10675
10789
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
10676
10790
|
return "/businesses/" + businessId + "/pmspractices";
|
|
@@ -10708,7 +10822,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
10708
10822
|
doesParamExist.default({
|
|
10709
10823
|
businessId: businessId
|
|
10710
10824
|
}, opts.hyperMediaEndpoint);
|
|
10711
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10825
|
+
return _context.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10712
10826
|
path: pathBusinessPmsPractices(businessId)
|
|
10713
10827
|
}), {
|
|
10714
10828
|
method: 'get',
|
|
@@ -10751,7 +10865,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
10751
10865
|
doesParamExist.default({
|
|
10752
10866
|
businessId: businessId
|
|
10753
10867
|
}, opts.hyperMediaEndpoint);
|
|
10754
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10868
|
+
return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10755
10869
|
path: pathBusinessPmsServices(businessId)
|
|
10756
10870
|
}), {
|
|
10757
10871
|
method: 'get',
|
|
@@ -10794,7 +10908,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
10794
10908
|
doesParamExist.default({
|
|
10795
10909
|
businessId: businessId
|
|
10796
10910
|
}, opts.hyperMediaEndpoint);
|
|
10797
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
10911
|
+
return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10798
10912
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
10799
10913
|
}), {
|
|
10800
10914
|
method: 'get',
|
|
@@ -10833,7 +10947,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
10833
10947
|
doesParamExist.default({
|
|
10834
10948
|
businessId: businessId
|
|
10835
10949
|
}, opts.hyperMediaEndpoint);
|
|
10836
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10950
|
+
return _context4.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10837
10951
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
10838
10952
|
}), {
|
|
10839
10953
|
method: 'post',
|
|
@@ -10872,7 +10986,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
10872
10986
|
doesParamExist.default({
|
|
10873
10987
|
businessId: businessId
|
|
10874
10988
|
}, opts.hyperMediaEndpoint);
|
|
10875
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10989
|
+
return _context5.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10876
10990
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
10877
10991
|
}), {
|
|
10878
10992
|
method: 'post',
|
|
@@ -10911,7 +11025,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
10911
11025
|
doesParamExist.default({
|
|
10912
11026
|
businessId: businessId
|
|
10913
11027
|
}, opts.hyperMediaEndpoint);
|
|
10914
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11028
|
+
return _context6.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10915
11029
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
10916
11030
|
}), {
|
|
10917
11031
|
method: 'post',
|
|
@@ -10941,9 +11055,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
10941
11055
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
10942
11056
|
});
|
|
10943
11057
|
|
|
10944
|
-
function ownKeys$
|
|
11058
|
+
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; }
|
|
10945
11059
|
|
|
10946
|
-
function _objectSpread$
|
|
11060
|
+
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; }
|
|
10947
11061
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
10948
11062
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
10949
11063
|
};
|
|
@@ -10964,7 +11078,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
10964
11078
|
doesParamExist.default({
|
|
10965
11079
|
organisationId: organisationId
|
|
10966
11080
|
}, opts.hyperMediaEndpoint);
|
|
10967
|
-
return request(_objectSpread$
|
|
11081
|
+
return request(_objectSpread$J({}, opts, {
|
|
10968
11082
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
10969
11083
|
}), {
|
|
10970
11084
|
method: 'get',
|
|
@@ -10979,7 +11093,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
10979
11093
|
doesParamExist.default({
|
|
10980
11094
|
practiceProfileId: practiceProfileId
|
|
10981
11095
|
}, opts.hyperMediaEndpoint);
|
|
10982
|
-
return request(_objectSpread$
|
|
11096
|
+
return request(_objectSpread$J({}, opts, {
|
|
10983
11097
|
path: pathPracticeProfile(practiceProfileId)
|
|
10984
11098
|
}), {
|
|
10985
11099
|
method: 'get'
|
|
@@ -10997,7 +11111,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
10997
11111
|
var body = {
|
|
10998
11112
|
practiceId: practiceId
|
|
10999
11113
|
};
|
|
11000
|
-
return request(_objectSpread$
|
|
11114
|
+
return request(_objectSpread$J({}, opts, {
|
|
11001
11115
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
11002
11116
|
}), {
|
|
11003
11117
|
method: 'put',
|
|
@@ -11012,7 +11126,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
11012
11126
|
doesParamExist.default({
|
|
11013
11127
|
practiceProfileId: practiceProfileId
|
|
11014
11128
|
}, opts.hyperMediaEndpoint);
|
|
11015
|
-
return request(_objectSpread$
|
|
11129
|
+
return request(_objectSpread$J({}, opts, {
|
|
11016
11130
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
11017
11131
|
}), {
|
|
11018
11132
|
method: 'put'
|
|
@@ -11031,9 +11145,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
11031
11145
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
11032
11146
|
});
|
|
11033
11147
|
|
|
11034
|
-
function ownKeys$
|
|
11148
|
+
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; }
|
|
11035
11149
|
|
|
11036
|
-
function _objectSpread$
|
|
11150
|
+
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; }
|
|
11037
11151
|
|
|
11038
11152
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
11039
11153
|
return "/businesses/" + businessId + "/forms/" + formId + "/practices";
|
|
@@ -11095,7 +11209,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
11095
11209
|
doesParamExist.default({
|
|
11096
11210
|
businessId: businessId
|
|
11097
11211
|
}, opts.hyperMediaEndpoint);
|
|
11098
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11212
|
+
return _context.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11099
11213
|
path: pathBusinessPractices(businessId)
|
|
11100
11214
|
}), {
|
|
11101
11215
|
method: 'post',
|
|
@@ -11134,7 +11248,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11134
11248
|
doesParamExist.default({
|
|
11135
11249
|
organisationId: organisationId
|
|
11136
11250
|
}, opts.hyperMediaEndpoint);
|
|
11137
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11251
|
+
return _context2.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11138
11252
|
path: pathOrganisationPractices(organisationId)
|
|
11139
11253
|
}), {
|
|
11140
11254
|
method: 'post',
|
|
@@ -11174,7 +11288,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
11174
11288
|
businessId: businessId,
|
|
11175
11289
|
practiceId: practiceId
|
|
11176
11290
|
}, opts.hyperMediaEndpoint);
|
|
11177
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11291
|
+
return _context3.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11178
11292
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11179
11293
|
}), {
|
|
11180
11294
|
method: 'delete'
|
|
@@ -11213,7 +11327,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11213
11327
|
organisationId: organisationId,
|
|
11214
11328
|
practiceId: practiceId
|
|
11215
11329
|
}, opts.hyperMediaEndpoint);
|
|
11216
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11330
|
+
return _context4.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11217
11331
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11218
11332
|
}), {
|
|
11219
11333
|
method: 'delete'
|
|
@@ -11252,7 +11366,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
11252
11366
|
businessId: businessId,
|
|
11253
11367
|
practiceId: practiceId
|
|
11254
11368
|
}, opts.hyperMediaEndpoint);
|
|
11255
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11369
|
+
return _context5.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11256
11370
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11257
11371
|
}), {
|
|
11258
11372
|
method: 'get'
|
|
@@ -11294,7 +11408,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
11294
11408
|
doesParamExist.default({
|
|
11295
11409
|
businessId: businessId
|
|
11296
11410
|
}, opts.hyperMediaEndpoint);
|
|
11297
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11411
|
+
return _context6.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11298
11412
|
path: pathBusinessPractices(businessId)
|
|
11299
11413
|
}), {
|
|
11300
11414
|
method: 'get',
|
|
@@ -11339,7 +11453,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
11339
11453
|
businessId: businessId,
|
|
11340
11454
|
formId: formId
|
|
11341
11455
|
}, opts.hyperMediaEndpoint);
|
|
11342
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11456
|
+
return _context7.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11343
11457
|
path: pathBusinessFormPractices(businessId, formId)
|
|
11344
11458
|
}), {
|
|
11345
11459
|
method: 'get',
|
|
@@ -11381,7 +11495,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
11381
11495
|
practiceId: practiceId,
|
|
11382
11496
|
query: query
|
|
11383
11497
|
}, opts.hyperMediaEndpoint);
|
|
11384
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11498
|
+
return _context8.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11385
11499
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
11386
11500
|
}), {
|
|
11387
11501
|
method: 'get',
|
|
@@ -11425,7 +11539,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
11425
11539
|
businessId: businessId,
|
|
11426
11540
|
staffId: staffId
|
|
11427
11541
|
}, opts.hyperMediaEndpoint);
|
|
11428
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11542
|
+
return _context9.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11429
11543
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
11430
11544
|
}), {
|
|
11431
11545
|
method: 'get',
|
|
@@ -11468,7 +11582,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
11468
11582
|
doesParamExist.default({
|
|
11469
11583
|
organisationId: organisationId
|
|
11470
11584
|
}, opts.hyperMediaEndpoint);
|
|
11471
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11585
|
+
return _context10.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11472
11586
|
path: pathOrganisationPractices(organisationId)
|
|
11473
11587
|
}), {
|
|
11474
11588
|
method: 'get',
|
|
@@ -11507,7 +11621,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
11507
11621
|
doesParamExist.default({
|
|
11508
11622
|
practiceId: practiceId
|
|
11509
11623
|
}, opts.hyperMediaEndpoint);
|
|
11510
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11624
|
+
return _context11.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11511
11625
|
path: pathPractice(practiceId)
|
|
11512
11626
|
}), {
|
|
11513
11627
|
method: 'get'
|
|
@@ -11536,7 +11650,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
11536
11650
|
opts = {};
|
|
11537
11651
|
}
|
|
11538
11652
|
|
|
11539
|
-
return request(_objectSpread$
|
|
11653
|
+
return request(_objectSpread$K({}, opts, {
|
|
11540
11654
|
path: pathPractice(practiceId) + "/verify/request"
|
|
11541
11655
|
}), {
|
|
11542
11656
|
method: 'post'
|
|
@@ -11554,7 +11668,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
11554
11668
|
opts = {};
|
|
11555
11669
|
}
|
|
11556
11670
|
|
|
11557
|
-
return request(_objectSpread$
|
|
11671
|
+
return request(_objectSpread$K({}, opts, {
|
|
11558
11672
|
path: pathPractice(practiceId) + "/access/request"
|
|
11559
11673
|
}), {
|
|
11560
11674
|
method: 'post',
|
|
@@ -11578,7 +11692,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
11578
11692
|
opts = {};
|
|
11579
11693
|
}
|
|
11580
11694
|
|
|
11581
|
-
return request(_objectSpread$
|
|
11695
|
+
return request(_objectSpread$K({}, opts, {
|
|
11582
11696
|
path: pathOnboardingPractices()
|
|
11583
11697
|
}), {
|
|
11584
11698
|
method: 'get',
|
|
@@ -11607,7 +11721,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
11607
11721
|
businessId: businessId,
|
|
11608
11722
|
practiceId: practiceId
|
|
11609
11723
|
}, opts.hyperMediaEndpoint);
|
|
11610
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11724
|
+
return _context12.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11611
11725
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11612
11726
|
}), {
|
|
11613
11727
|
method: 'put',
|
|
@@ -11648,7 +11762,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11648
11762
|
organisationId: organisationId,
|
|
11649
11763
|
practiceId: practiceId
|
|
11650
11764
|
}, opts.hyperMediaEndpoint);
|
|
11651
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11765
|
+
return _context13.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11652
11766
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11653
11767
|
}), {
|
|
11654
11768
|
method: 'put',
|
|
@@ -11680,11 +11794,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
11680
11794
|
opts = {};
|
|
11681
11795
|
}
|
|
11682
11796
|
|
|
11683
|
-
return request(_objectSpread$
|
|
11797
|
+
return request(_objectSpread$K({}, opts, {
|
|
11684
11798
|
path: pathPractice(practiceId) + "/verify"
|
|
11685
11799
|
}), {
|
|
11686
11800
|
method: 'post',
|
|
11687
|
-
data: _objectSpread$
|
|
11801
|
+
data: _objectSpread$K({}, body, {
|
|
11688
11802
|
otkCode: otkCode
|
|
11689
11803
|
})
|
|
11690
11804
|
});
|
|
@@ -11709,7 +11823,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
11709
11823
|
doesParamExist.default({
|
|
11710
11824
|
practiceId: practiceId
|
|
11711
11825
|
}, opts.hyperMediaEndpoint);
|
|
11712
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
11826
|
+
return _context14.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11713
11827
|
path: pathPractice(practiceId) + "/clone"
|
|
11714
11828
|
}), {
|
|
11715
11829
|
method: 'post',
|
|
@@ -11754,7 +11868,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
11754
11868
|
businessId: businessId,
|
|
11755
11869
|
formId: formId
|
|
11756
11870
|
}, opts.hyperMediaEndpoint);
|
|
11757
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
11871
|
+
return _context15.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11758
11872
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
11759
11873
|
}), {
|
|
11760
11874
|
method: 'get',
|
|
@@ -11797,9 +11911,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
11797
11911
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
11798
11912
|
});
|
|
11799
11913
|
|
|
11800
|
-
function ownKeys$
|
|
11914
|
+
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; }
|
|
11801
11915
|
|
|
11802
|
-
function _objectSpread$
|
|
11916
|
+
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; }
|
|
11803
11917
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
11804
11918
|
/**
|
|
11805
11919
|
* Get practice types
|
|
@@ -11816,7 +11930,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
11816
11930
|
opts = {};
|
|
11817
11931
|
}
|
|
11818
11932
|
|
|
11819
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11933
|
+
return _context.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11820
11934
|
path: PATH__PRACTICE_TYPES
|
|
11821
11935
|
}), {
|
|
11822
11936
|
method: 'get'
|
|
@@ -11840,9 +11954,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
11840
11954
|
getPracticeTypes: getPracticeTypes
|
|
11841
11955
|
});
|
|
11842
11956
|
|
|
11843
|
-
function ownKeys$
|
|
11957
|
+
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; }
|
|
11844
11958
|
|
|
11845
|
-
function _objectSpread$
|
|
11959
|
+
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; }
|
|
11846
11960
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
11847
11961
|
return "/businesses/" + businessId + "/products";
|
|
11848
11962
|
};
|
|
@@ -11860,7 +11974,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
11860
11974
|
opts = {};
|
|
11861
11975
|
}
|
|
11862
11976
|
|
|
11863
|
-
return request(_objectSpread$
|
|
11977
|
+
return request(_objectSpread$M({}, opts, {
|
|
11864
11978
|
path: '/products'
|
|
11865
11979
|
}), {
|
|
11866
11980
|
method: 'get',
|
|
@@ -11882,7 +11996,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
11882
11996
|
doesParamExist.default({
|
|
11883
11997
|
businessId: businessId
|
|
11884
11998
|
});
|
|
11885
|
-
return request(_objectSpread$
|
|
11999
|
+
return request(_objectSpread$M({}, opts, {
|
|
11886
12000
|
path: pathBusinessProducts(businessId)
|
|
11887
12001
|
}), {
|
|
11888
12002
|
method: 'get',
|
|
@@ -11905,7 +12019,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
11905
12019
|
businessId: businessId,
|
|
11906
12020
|
productId: productId
|
|
11907
12021
|
});
|
|
11908
|
-
return request(_objectSpread$
|
|
12022
|
+
return request(_objectSpread$M({}, opts, {
|
|
11909
12023
|
path: pathBusinessProduct(businessId, productId)
|
|
11910
12024
|
}), {
|
|
11911
12025
|
method: 'get'
|
|
@@ -11921,9 +12035,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
11921
12035
|
getBusinessProduct: getBusinessProduct
|
|
11922
12036
|
});
|
|
11923
12037
|
|
|
11924
|
-
function ownKeys$
|
|
12038
|
+
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; }
|
|
11925
12039
|
|
|
11926
|
-
function _objectSpread$
|
|
12040
|
+
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; }
|
|
11927
12041
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
11928
12042
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
11929
12043
|
};
|
|
@@ -11942,7 +12056,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
11942
12056
|
opts = {};
|
|
11943
12057
|
}
|
|
11944
12058
|
|
|
11945
|
-
return request(_objectSpread$
|
|
12059
|
+
return request(_objectSpread$N({}, opts, {
|
|
11946
12060
|
path: pathProfessionalCategories
|
|
11947
12061
|
}), {
|
|
11948
12062
|
method: 'get',
|
|
@@ -11964,7 +12078,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
11964
12078
|
doesParamExist.default({
|
|
11965
12079
|
businessId: businessId
|
|
11966
12080
|
});
|
|
11967
|
-
return request(_objectSpread$
|
|
12081
|
+
return request(_objectSpread$N({}, opts, {
|
|
11968
12082
|
path: pathBusinessProfessionalCategories(businessId)
|
|
11969
12083
|
}), {
|
|
11970
12084
|
method: 'get',
|
|
@@ -11985,7 +12099,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
11985
12099
|
doesParamExist.default({
|
|
11986
12100
|
professionalCategoryId: professionalCategoryId
|
|
11987
12101
|
});
|
|
11988
|
-
return request(_objectSpread$
|
|
12102
|
+
return request(_objectSpread$N({}, opts, {
|
|
11989
12103
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
11990
12104
|
}), {
|
|
11991
12105
|
method: 'get'
|
|
@@ -12002,9 +12116,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
12002
12116
|
getProfessionalCategory: getProfessionalCategory
|
|
12003
12117
|
});
|
|
12004
12118
|
|
|
12005
|
-
function ownKeys$
|
|
12119
|
+
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; }
|
|
12006
12120
|
|
|
12007
|
-
function _objectSpread$
|
|
12121
|
+
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; }
|
|
12008
12122
|
|
|
12009
12123
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
12010
12124
|
return "/businesses/" + businessId + "/providerrequests";
|
|
@@ -12034,7 +12148,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
12034
12148
|
doesParamExist.default({
|
|
12035
12149
|
businessId: businessId
|
|
12036
12150
|
}, opts.hyperMediaEndpoint);
|
|
12037
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12151
|
+
return _context.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12038
12152
|
path: pathBusinessProviderRequests(businessId)
|
|
12039
12153
|
}), {
|
|
12040
12154
|
method: 'post',
|
|
@@ -12075,7 +12189,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
12075
12189
|
doesParamExist.default({
|
|
12076
12190
|
businessId: businessId
|
|
12077
12191
|
}, opts.hyperMediaEndpoint);
|
|
12078
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12192
|
+
return _context2.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12079
12193
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
12080
12194
|
}), {
|
|
12081
12195
|
method: 'post',
|
|
@@ -12103,9 +12217,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
12103
12217
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
12104
12218
|
});
|
|
12105
12219
|
|
|
12106
|
-
function ownKeys$
|
|
12220
|
+
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; }
|
|
12107
12221
|
|
|
12108
|
-
function _objectSpread$
|
|
12222
|
+
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; }
|
|
12109
12223
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
12110
12224
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
12111
12225
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -12126,7 +12240,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
12126
12240
|
opts = {};
|
|
12127
12241
|
}
|
|
12128
12242
|
|
|
12129
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12243
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12130
12244
|
path: pathGetProviderRegistrationTypes
|
|
12131
12245
|
}), {
|
|
12132
12246
|
method: 'get',
|
|
@@ -12161,7 +12275,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
12161
12275
|
opts = {};
|
|
12162
12276
|
}
|
|
12163
12277
|
|
|
12164
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12278
|
+
return _context2.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12165
12279
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
12166
12280
|
}), {
|
|
12167
12281
|
method: 'get'
|
|
@@ -12188,9 +12302,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
12188
12302
|
getProviderRegistrationType: getProviderRegistrationType
|
|
12189
12303
|
});
|
|
12190
12304
|
|
|
12191
|
-
function ownKeys$
|
|
12305
|
+
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; }
|
|
12192
12306
|
|
|
12193
|
-
function _objectSpread$
|
|
12307
|
+
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; }
|
|
12194
12308
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
12195
12309
|
return "/providernumbertypes";
|
|
12196
12310
|
};
|
|
@@ -12217,7 +12331,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
12217
12331
|
opts = {};
|
|
12218
12332
|
}
|
|
12219
12333
|
|
|
12220
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12334
|
+
return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
12221
12335
|
path: pathProviderNumberTypes()
|
|
12222
12336
|
}), {
|
|
12223
12337
|
method: 'get',
|
|
@@ -12255,7 +12369,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
12255
12369
|
doesParamExist.default({
|
|
12256
12370
|
providerNumberTypeId: providerNumberTypeId
|
|
12257
12371
|
}, opts.hyperMediaEndpoint);
|
|
12258
|
-
return request(_objectSpread$
|
|
12372
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12259
12373
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
12260
12374
|
}), {
|
|
12261
12375
|
method: 'get',
|
|
@@ -12271,9 +12385,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
12271
12385
|
getProviderNumberType: getProviderNumberType
|
|
12272
12386
|
});
|
|
12273
12387
|
|
|
12274
|
-
function ownKeys$
|
|
12388
|
+
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; }
|
|
12275
12389
|
|
|
12276
|
-
function _objectSpread$
|
|
12390
|
+
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; }
|
|
12277
12391
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
12278
12392
|
/**
|
|
12279
12393
|
* Get provider types
|
|
@@ -12290,7 +12404,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
12290
12404
|
opts = {};
|
|
12291
12405
|
}
|
|
12292
12406
|
|
|
12293
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12407
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12294
12408
|
path: PATH__PROVIDER_TYPES
|
|
12295
12409
|
}), {
|
|
12296
12410
|
method: 'get'
|
|
@@ -12314,16 +12428,16 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
12314
12428
|
getProviderTypes: getProviderTypes
|
|
12315
12429
|
});
|
|
12316
12430
|
|
|
12317
|
-
function ownKeys$
|
|
12431
|
+
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; }
|
|
12318
12432
|
|
|
12319
|
-
function _objectSpread$
|
|
12433
|
+
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; }
|
|
12320
12434
|
var PATH__REF_SOURCES = '/refsources';
|
|
12321
12435
|
var getRefSources = function getRefSources(query, opts) {
|
|
12322
12436
|
if (opts === void 0) {
|
|
12323
12437
|
opts = {};
|
|
12324
12438
|
}
|
|
12325
12439
|
|
|
12326
|
-
return request(_objectSpread$
|
|
12440
|
+
return request(_objectSpread$S({}, opts, {
|
|
12327
12441
|
path: PATH__REF_SOURCES
|
|
12328
12442
|
}), {
|
|
12329
12443
|
method: 'get',
|
|
@@ -12337,9 +12451,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
12337
12451
|
getRefSources: getRefSources
|
|
12338
12452
|
});
|
|
12339
12453
|
|
|
12340
|
-
function ownKeys$
|
|
12454
|
+
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; }
|
|
12341
12455
|
|
|
12342
|
-
function _objectSpread$
|
|
12456
|
+
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; }
|
|
12343
12457
|
var PATH__TRANSACTIONS = '/transaction';
|
|
12344
12458
|
/**
|
|
12345
12459
|
* Get risk score
|
|
@@ -12360,7 +12474,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
12360
12474
|
doesParamExist.default({
|
|
12361
12475
|
transactionId: transactionId
|
|
12362
12476
|
}, opts.hyperMediaEndpoint);
|
|
12363
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12477
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
12364
12478
|
apiName: 'risk',
|
|
12365
12479
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
12366
12480
|
}), {
|
|
@@ -12395,7 +12509,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
12395
12509
|
opts = {};
|
|
12396
12510
|
}
|
|
12397
12511
|
|
|
12398
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12512
|
+
return _context2.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
12399
12513
|
apiName: 'risk',
|
|
12400
12514
|
path: PATH__TRANSACTIONS
|
|
12401
12515
|
}), {
|
|
@@ -12422,9 +12536,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
12422
12536
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
12423
12537
|
});
|
|
12424
12538
|
|
|
12425
|
-
function ownKeys$
|
|
12539
|
+
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; }
|
|
12426
12540
|
|
|
12427
|
-
function _objectSpread$
|
|
12541
|
+
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; }
|
|
12428
12542
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
12429
12543
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
12430
12544
|
};
|
|
@@ -12458,7 +12572,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
12458
12572
|
doesParamExist.default({
|
|
12459
12573
|
businessId: businessId
|
|
12460
12574
|
}, opts.hyperMediaEndpoint);
|
|
12461
|
-
return request(_objectSpread$
|
|
12575
|
+
return request(_objectSpread$U({}, opts, {
|
|
12462
12576
|
path: pathBusinessesRNAs(businessId)
|
|
12463
12577
|
}), {
|
|
12464
12578
|
method: 'get',
|
|
@@ -12481,7 +12595,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
12481
12595
|
businessId: businessId,
|
|
12482
12596
|
rnaId: rnaId
|
|
12483
12597
|
}, opts.hyperMediaEndpoint);
|
|
12484
|
-
return request(_objectSpread$
|
|
12598
|
+
return request(_objectSpread$U({}, opts, {
|
|
12485
12599
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
12486
12600
|
}), {
|
|
12487
12601
|
method: 'get'
|
|
@@ -12502,7 +12616,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
12502
12616
|
doesParamExist.default({
|
|
12503
12617
|
businessId: businessId
|
|
12504
12618
|
}, opts.hyperMediaEndpoint);
|
|
12505
|
-
return request(_objectSpread$
|
|
12619
|
+
return request(_objectSpread$U({}, opts, {
|
|
12506
12620
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
12507
12621
|
}), {
|
|
12508
12622
|
method: 'get',
|
|
@@ -12517,7 +12631,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
12517
12631
|
doesParamExist.default({
|
|
12518
12632
|
healthFundId: healthFundId
|
|
12519
12633
|
}, opts.hyperMediaEndpoint);
|
|
12520
|
-
return request(_objectSpread$
|
|
12634
|
+
return request(_objectSpread$U({}, opts, {
|
|
12521
12635
|
path: pathHealthFundRNAs(healthFundId)
|
|
12522
12636
|
}), {
|
|
12523
12637
|
method: 'post',
|
|
@@ -12533,7 +12647,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
12533
12647
|
healthFundId: healthFundId,
|
|
12534
12648
|
rnaId: rnaId
|
|
12535
12649
|
}, opts.hyperMediaEndpoint);
|
|
12536
|
-
return request(_objectSpread$
|
|
12650
|
+
return request(_objectSpread$U({}, opts, {
|
|
12537
12651
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
12538
12652
|
}), {
|
|
12539
12653
|
method: 'post',
|
|
@@ -12549,7 +12663,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
12549
12663
|
healthFundId: healthFundId,
|
|
12550
12664
|
rnaId: rnaId
|
|
12551
12665
|
}, opts.hyperMediaEndpoint);
|
|
12552
|
-
return request(_objectSpread$
|
|
12666
|
+
return request(_objectSpread$U({}, opts, {
|
|
12553
12667
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
12554
12668
|
}), {
|
|
12555
12669
|
method: 'get',
|
|
@@ -12564,7 +12678,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
12564
12678
|
doesParamExist.default({
|
|
12565
12679
|
healthFundId: healthFundId
|
|
12566
12680
|
}, opts.hyperMediaEndpoint);
|
|
12567
|
-
return request(_objectSpread$
|
|
12681
|
+
return request(_objectSpread$U({}, opts, {
|
|
12568
12682
|
path: pathHealthFundRNAs(healthFundId)
|
|
12569
12683
|
}), {
|
|
12570
12684
|
method: 'get',
|
|
@@ -12581,7 +12695,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
12581
12695
|
rnaId: rnaId,
|
|
12582
12696
|
rnaAppointmentId: rnaAppointmentId
|
|
12583
12697
|
}, opts.hyperMediaEndpoint);
|
|
12584
|
-
return request(_objectSpread$
|
|
12698
|
+
return request(_objectSpread$U({}, opts, {
|
|
12585
12699
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
12586
12700
|
}), {
|
|
12587
12701
|
method: 'put',
|
|
@@ -12607,9 +12721,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
12607
12721
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
12608
12722
|
});
|
|
12609
12723
|
|
|
12610
|
-
function ownKeys$
|
|
12724
|
+
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; }
|
|
12611
12725
|
|
|
12612
|
-
function _objectSpread$
|
|
12726
|
+
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; }
|
|
12613
12727
|
var PATH__ROLES = '/roles';
|
|
12614
12728
|
/**
|
|
12615
12729
|
* Get roles
|
|
@@ -12626,7 +12740,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
12626
12740
|
opts = {};
|
|
12627
12741
|
}
|
|
12628
12742
|
|
|
12629
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12743
|
+
return _context.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
12630
12744
|
path: PATH__ROLES
|
|
12631
12745
|
}), {
|
|
12632
12746
|
method: 'get'
|
|
@@ -12650,9 +12764,9 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
12650
12764
|
getRoles: getRoles
|
|
12651
12765
|
});
|
|
12652
12766
|
|
|
12653
|
-
function ownKeys$
|
|
12767
|
+
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; }
|
|
12654
12768
|
|
|
12655
|
-
function _objectSpread$
|
|
12769
|
+
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; }
|
|
12656
12770
|
var PATH__SELF_CHECKOUT_SESSIONS = '/selfcheckoutsessions';
|
|
12657
12771
|
/**
|
|
12658
12772
|
* Create a self checkout session
|
|
@@ -12670,7 +12784,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12670
12784
|
opts = {};
|
|
12671
12785
|
}
|
|
12672
12786
|
|
|
12673
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12787
|
+
return _context.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12674
12788
|
path: PATH__SELF_CHECKOUT_SESSIONS
|
|
12675
12789
|
}), {
|
|
12676
12790
|
method: 'post',
|
|
@@ -12705,7 +12819,7 @@ var approve = /*#__PURE__*/function () {
|
|
|
12705
12819
|
opts = {};
|
|
12706
12820
|
}
|
|
12707
12821
|
|
|
12708
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12822
|
+
return _context2.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12709
12823
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
|
|
12710
12824
|
}), {
|
|
12711
12825
|
method: 'post',
|
|
@@ -12741,7 +12855,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
12741
12855
|
opts = {};
|
|
12742
12856
|
}
|
|
12743
12857
|
|
|
12744
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12858
|
+
return _context3.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12745
12859
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
|
|
12746
12860
|
}), {
|
|
12747
12861
|
method: 'post',
|
|
@@ -12777,7 +12891,7 @@ var cancelSession = /*#__PURE__*/function () {
|
|
|
12777
12891
|
opts = {};
|
|
12778
12892
|
}
|
|
12779
12893
|
|
|
12780
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12894
|
+
return _context4.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12781
12895
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
|
|
12782
12896
|
}), {
|
|
12783
12897
|
method: 'post',
|
|
@@ -12812,7 +12926,7 @@ var createMyInvoice = /*#__PURE__*/function () {
|
|
|
12812
12926
|
opts = {};
|
|
12813
12927
|
}
|
|
12814
12928
|
|
|
12815
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
12929
|
+
return _context5.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12816
12930
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
|
|
12817
12931
|
}), {
|
|
12818
12932
|
method: 'post',
|
|
@@ -12846,7 +12960,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
|
|
|
12846
12960
|
opts = {};
|
|
12847
12961
|
}
|
|
12848
12962
|
|
|
12849
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
12963
|
+
return _context6.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12850
12964
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
|
|
12851
12965
|
}), {
|
|
12852
12966
|
method: 'post',
|
|
@@ -12886,7 +13000,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
|
|
|
12886
13000
|
nonce: nonce,
|
|
12887
13001
|
source: source
|
|
12888
13002
|
}, opts.hyperMediaEndpoint);
|
|
12889
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
13003
|
+
return _context7.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12890
13004
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
12891
13005
|
}), {
|
|
12892
13006
|
method: 'post',
|
|
@@ -12924,7 +13038,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
12924
13038
|
opts = {};
|
|
12925
13039
|
}
|
|
12926
13040
|
|
|
12927
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
13041
|
+
return _context8.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12928
13042
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
12929
13043
|
}), {
|
|
12930
13044
|
method: 'get',
|
|
@@ -12978,7 +13092,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
12978
13092
|
email: email,
|
|
12979
13093
|
memberId: memberId
|
|
12980
13094
|
});
|
|
12981
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
13095
|
+
return _context9.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12982
13096
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
|
|
12983
13097
|
}), {
|
|
12984
13098
|
method: 'get',
|
|
@@ -13015,7 +13129,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
13015
13129
|
opts = {};
|
|
13016
13130
|
}
|
|
13017
13131
|
|
|
13018
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13132
|
+
return _context10.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13019
13133
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
|
|
13020
13134
|
}), {
|
|
13021
13135
|
method: 'post',
|
|
@@ -13050,7 +13164,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13050
13164
|
opts = {};
|
|
13051
13165
|
}
|
|
13052
13166
|
|
|
13053
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
13167
|
+
return _context11.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13054
13168
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13055
13169
|
}), {
|
|
13056
13170
|
method: 'get',
|
|
@@ -13084,7 +13198,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
|
|
|
13084
13198
|
opts = {};
|
|
13085
13199
|
}
|
|
13086
13200
|
|
|
13087
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13201
|
+
return _context12.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13088
13202
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
|
|
13089
13203
|
}), {
|
|
13090
13204
|
method: 'get',
|
|
@@ -13118,7 +13232,7 @@ var rememberMe = /*#__PURE__*/function () {
|
|
|
13118
13232
|
opts = {};
|
|
13119
13233
|
}
|
|
13120
13234
|
|
|
13121
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13235
|
+
return _context13.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13122
13236
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
|
|
13123
13237
|
}), {
|
|
13124
13238
|
method: 'post',
|
|
@@ -13153,7 +13267,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13153
13267
|
opts = {};
|
|
13154
13268
|
}
|
|
13155
13269
|
|
|
13156
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13270
|
+
return _context14.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13157
13271
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13158
13272
|
}), {
|
|
13159
13273
|
method: 'put',
|
|
@@ -13192,7 +13306,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
13192
13306
|
doesParamExist.default({
|
|
13193
13307
|
accountId: accountId
|
|
13194
13308
|
}, opts.hyperMediaEndpoint);
|
|
13195
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13309
|
+
return _context15.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13196
13310
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
|
|
13197
13311
|
}), {
|
|
13198
13312
|
method: 'post',
|
|
@@ -13436,7 +13550,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13436
13550
|
}
|
|
13437
13551
|
|
|
13438
13552
|
_context18.next = 8;
|
|
13439
|
-
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$
|
|
13553
|
+
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$W({}, opts, {
|
|
13440
13554
|
requestConfig: {
|
|
13441
13555
|
tokenType: 'session'
|
|
13442
13556
|
}
|
|
@@ -13468,7 +13582,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13468
13582
|
break;
|
|
13469
13583
|
}
|
|
13470
13584
|
|
|
13471
|
-
healthFundAccountRequestBody = _objectSpread$
|
|
13585
|
+
healthFundAccountRequestBody = _objectSpread$W({
|
|
13472
13586
|
healthFundId: _get(healthFund, '_id')
|
|
13473
13587
|
}, data || {}); // If it's an existing account, delete their current health fund account (if any), and add the new one to their account.
|
|
13474
13588
|
|
|
@@ -13588,7 +13702,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
|
|
|
13588
13702
|
doesParamExist.default({
|
|
13589
13703
|
paymentMethodId: paymentMethodId
|
|
13590
13704
|
}, opts.hyperMediaEndpoint);
|
|
13591
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
13705
|
+
return _context19.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13592
13706
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
|
|
13593
13707
|
}), {
|
|
13594
13708
|
method: 'delete',
|
|
@@ -13631,9 +13745,9 @@ var selfCheckoutSessions = /*#__PURE__*/Object.freeze({
|
|
|
13631
13745
|
deletePaymentMethod: deletePaymentMethod
|
|
13632
13746
|
});
|
|
13633
13747
|
|
|
13634
|
-
function ownKeys$
|
|
13748
|
+
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; }
|
|
13635
13749
|
|
|
13636
|
-
function _objectSpread$
|
|
13750
|
+
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; }
|
|
13637
13751
|
|
|
13638
13752
|
var pathBusinessServices = function pathBusinessServices(businessId) {
|
|
13639
13753
|
return "/businesses/" + businessId + "/services";
|
|
@@ -13683,7 +13797,7 @@ var createBusinessService = /*#__PURE__*/function () {
|
|
|
13683
13797
|
doesParamExist.default({
|
|
13684
13798
|
businessId: businessId
|
|
13685
13799
|
}, opts.hyperMediaEndpoint);
|
|
13686
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13800
|
+
return _context.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13687
13801
|
path: "" + pathBusinessServices(businessId)
|
|
13688
13802
|
}), {
|
|
13689
13803
|
method: 'post',
|
|
@@ -13724,7 +13838,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13724
13838
|
businessId: businessId,
|
|
13725
13839
|
practiceId: practiceId
|
|
13726
13840
|
}, opts.hyperMediaEndpoint);
|
|
13727
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13841
|
+
return _context2.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13728
13842
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13729
13843
|
}), {
|
|
13730
13844
|
method: 'post',
|
|
@@ -13764,7 +13878,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
|
|
|
13764
13878
|
businessId: businessId,
|
|
13765
13879
|
serviceId: serviceId
|
|
13766
13880
|
}, opts.hyperMediaEndpoint);
|
|
13767
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
13881
|
+
return _context3.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13768
13882
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13769
13883
|
}), {
|
|
13770
13884
|
method: 'delete'
|
|
@@ -13803,7 +13917,7 @@ var getBusinessService = /*#__PURE__*/function () {
|
|
|
13803
13917
|
businessId: businessId,
|
|
13804
13918
|
serviceId: serviceId
|
|
13805
13919
|
}, opts.hyperMediaEndpoint);
|
|
13806
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
13920
|
+
return _context4.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13807
13921
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13808
13922
|
}), {
|
|
13809
13923
|
method: 'get'
|
|
@@ -13841,7 +13955,7 @@ var getBusinessServices = /*#__PURE__*/function () {
|
|
|
13841
13955
|
doesParamExist.default({
|
|
13842
13956
|
businessId: businessId
|
|
13843
13957
|
}, opts.hyperMediaEndpoint);
|
|
13844
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
13958
|
+
return _context5.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13845
13959
|
path: "" + pathBusinessServices(businessId)
|
|
13846
13960
|
}), {
|
|
13847
13961
|
method: 'get',
|
|
@@ -13883,7 +13997,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13883
13997
|
practiceId: practiceId,
|
|
13884
13998
|
serviceId: serviceId
|
|
13885
13999
|
}, opts.hyperMediaEndpoint);
|
|
13886
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14000
|
+
return _context6.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13887
14001
|
path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
|
|
13888
14002
|
}), {
|
|
13889
14003
|
method: 'get'
|
|
@@ -13927,7 +14041,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
|
|
|
13927
14041
|
businessId: businessId,
|
|
13928
14042
|
practiceId: practiceId
|
|
13929
14043
|
}, opts.hyperMediaEndpoint);
|
|
13930
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
14044
|
+
return _context7.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13931
14045
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13932
14046
|
}), {
|
|
13933
14047
|
method: 'get',
|
|
@@ -13974,7 +14088,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
|
|
|
13974
14088
|
practiceId: practiceId,
|
|
13975
14089
|
staffId: staffId
|
|
13976
14090
|
}, opts.hyperMediaEndpoint);
|
|
13977
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
14091
|
+
return _context8.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13978
14092
|
path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
|
|
13979
14093
|
}), {
|
|
13980
14094
|
method: 'get',
|
|
@@ -14023,7 +14137,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
|
|
|
14023
14137
|
staffId: staffId,
|
|
14024
14138
|
serviceId: serviceId
|
|
14025
14139
|
}, opts.hyperMediaEndpoint);
|
|
14026
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
14140
|
+
return _context9.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14027
14141
|
path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
|
|
14028
14142
|
}), {
|
|
14029
14143
|
method: 'get',
|
|
@@ -14064,7 +14178,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14064
14178
|
opts = {};
|
|
14065
14179
|
}
|
|
14066
14180
|
|
|
14067
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
14181
|
+
return _context10.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14068
14182
|
path: "" + pathBusinessStaffMemberServices(businessId, staffId)
|
|
14069
14183
|
}), {
|
|
14070
14184
|
method: 'get',
|
|
@@ -14105,7 +14219,7 @@ var updateBusinessService = /*#__PURE__*/function () {
|
|
|
14105
14219
|
businessId: businessId,
|
|
14106
14220
|
serviceId: serviceId
|
|
14107
14221
|
}, opts.hyperMediaEndpoint);
|
|
14108
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14222
|
+
return _context11.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14109
14223
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14110
14224
|
}), {
|
|
14111
14225
|
method: 'put',
|
|
@@ -14140,9 +14254,9 @@ var services = /*#__PURE__*/Object.freeze({
|
|
|
14140
14254
|
updateBusinessService: updateBusinessService
|
|
14141
14255
|
});
|
|
14142
14256
|
|
|
14143
|
-
function ownKeys$
|
|
14257
|
+
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; }
|
|
14144
14258
|
|
|
14145
|
-
function _objectSpread$
|
|
14259
|
+
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; }
|
|
14146
14260
|
|
|
14147
14261
|
var pathBusiness$1 = function pathBusiness(businessId) {
|
|
14148
14262
|
return "/businesses/" + businessId;
|
|
@@ -14167,7 +14281,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
|
|
|
14167
14281
|
doesParamExist.default({
|
|
14168
14282
|
businessId: businessId
|
|
14169
14283
|
}, opts.hyperMediaEndpoint);
|
|
14170
|
-
return request(_objectSpread$
|
|
14284
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14171
14285
|
path: pathBusiness$1(businessId) + "/settlements"
|
|
14172
14286
|
}), {
|
|
14173
14287
|
method: 'get',
|
|
@@ -14193,7 +14307,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
|
|
|
14193
14307
|
doesParamExist.default({
|
|
14194
14308
|
businessId: businessId
|
|
14195
14309
|
}, opts.hyperMediaEndpoint);
|
|
14196
|
-
return request(_objectSpread$
|
|
14310
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14197
14311
|
path: pathBusiness$1(businessId) + "/settlementsummaries"
|
|
14198
14312
|
}), {
|
|
14199
14313
|
method: 'get',
|
|
@@ -14219,7 +14333,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
|
|
|
14219
14333
|
doesParamExist.default({
|
|
14220
14334
|
businessId: businessId
|
|
14221
14335
|
}, opts.hyperMediaEndpoint);
|
|
14222
|
-
return request(_objectSpread$
|
|
14336
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14223
14337
|
path: pathBusiness$1(businessId) + "/settlementsummaries/period"
|
|
14224
14338
|
}), {
|
|
14225
14339
|
method: 'get',
|
|
@@ -14249,7 +14363,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
|
|
|
14249
14363
|
doesParamExist.default({
|
|
14250
14364
|
settlementSummaryId: settlementSummaryId
|
|
14251
14365
|
}, opts.hyperMediaEndpoint);
|
|
14252
|
-
return request(_objectSpread$
|
|
14366
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14253
14367
|
path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
|
|
14254
14368
|
}), {
|
|
14255
14369
|
method: 'get',
|
|
@@ -14275,7 +14389,7 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
|
|
|
14275
14389
|
doesParamExist.default({
|
|
14276
14390
|
businessId: businessId
|
|
14277
14391
|
}, opts.hyperMediaEndpoint);
|
|
14278
|
-
return request(_objectSpread$
|
|
14392
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14279
14393
|
path: pathBusiness$1(businessId) + "/settlementsummariessearchoptions"
|
|
14280
14394
|
}), {
|
|
14281
14395
|
method: 'get',
|
|
@@ -14292,9 +14406,9 @@ var settlements = /*#__PURE__*/Object.freeze({
|
|
|
14292
14406
|
getBusinessSettlementSummariesSearchOptions: getBusinessSettlementSummariesSearchOptions
|
|
14293
14407
|
});
|
|
14294
14408
|
|
|
14295
|
-
function ownKeys$
|
|
14409
|
+
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; }
|
|
14296
14410
|
|
|
14297
|
-
function _objectSpread$
|
|
14411
|
+
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; }
|
|
14298
14412
|
var pathBusinessSignUp = function pathBusinessSignUp() {
|
|
14299
14413
|
return '/businesses/signup';
|
|
14300
14414
|
};
|
|
@@ -14306,7 +14420,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
|
|
|
14306
14420
|
opts = {};
|
|
14307
14421
|
}
|
|
14308
14422
|
|
|
14309
|
-
return request(_objectSpread$
|
|
14423
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14310
14424
|
path: pathBusinessSignUp()
|
|
14311
14425
|
}), {
|
|
14312
14426
|
method: 'post',
|
|
@@ -14318,7 +14432,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
|
|
|
14318
14432
|
opts = {};
|
|
14319
14433
|
}
|
|
14320
14434
|
|
|
14321
|
-
return request(_objectSpread$
|
|
14435
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14322
14436
|
path: pathSignUp()
|
|
14323
14437
|
}), {
|
|
14324
14438
|
method: 'post',
|
|
@@ -14334,9 +14448,9 @@ var signUp$1 = /*#__PURE__*/Object.freeze({
|
|
|
14334
14448
|
createConsumerAccount: createConsumerAccount
|
|
14335
14449
|
});
|
|
14336
14450
|
|
|
14337
|
-
function ownKeys$
|
|
14451
|
+
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; }
|
|
14338
14452
|
|
|
14339
|
-
function _objectSpread$
|
|
14453
|
+
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; }
|
|
14340
14454
|
var pathBusinessSpecialties = function pathBusinessSpecialties(businessId) {
|
|
14341
14455
|
return "/businesses/" + businessId + "/specialties";
|
|
14342
14456
|
};
|
|
@@ -14355,7 +14469,7 @@ var getSpecialties = function getSpecialties(query, opts) {
|
|
|
14355
14469
|
opts = {};
|
|
14356
14470
|
}
|
|
14357
14471
|
|
|
14358
|
-
return request(_objectSpread$
|
|
14472
|
+
return request(_objectSpread$_({}, opts, {
|
|
14359
14473
|
path: pathSpecialties
|
|
14360
14474
|
}), {
|
|
14361
14475
|
method: 'get',
|
|
@@ -14377,7 +14491,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
|
|
|
14377
14491
|
doesParamExist.default({
|
|
14378
14492
|
businessId: businessId
|
|
14379
14493
|
});
|
|
14380
|
-
return request(_objectSpread$
|
|
14494
|
+
return request(_objectSpread$_({}, opts, {
|
|
14381
14495
|
path: pathBusinessSpecialties(businessId)
|
|
14382
14496
|
}), {
|
|
14383
14497
|
method: 'get',
|
|
@@ -14398,7 +14512,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
|
|
|
14398
14512
|
doesParamExist.default({
|
|
14399
14513
|
specialtyId: specialtyId
|
|
14400
14514
|
});
|
|
14401
|
-
return request(_objectSpread$
|
|
14515
|
+
return request(_objectSpread$_({}, opts, {
|
|
14402
14516
|
path: pathSpecialty(specialtyId)
|
|
14403
14517
|
}), {
|
|
14404
14518
|
method: 'get'
|
|
@@ -14415,9 +14529,9 @@ var specialties = /*#__PURE__*/Object.freeze({
|
|
|
14415
14529
|
getSpecialty: getSpecialty
|
|
14416
14530
|
});
|
|
14417
14531
|
|
|
14418
|
-
function ownKeys
|
|
14532
|
+
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; }
|
|
14419
14533
|
|
|
14420
|
-
function _objectSpread
|
|
14534
|
+
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; }
|
|
14421
14535
|
var pathLinkStaffProfile = function pathLinkStaffProfile(staffProfileId) {
|
|
14422
14536
|
return "/staffprofiles/" + staffProfileId + "/link";
|
|
14423
14537
|
};
|
|
@@ -14438,7 +14552,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
|
|
|
14438
14552
|
doesParamExist.default({
|
|
14439
14553
|
organisationId: organisationId
|
|
14440
14554
|
}, opts.hyperMediaEndpoint);
|
|
14441
|
-
return request(_objectSpread
|
|
14555
|
+
return request(_objectSpread$$({}, opts, {
|
|
14442
14556
|
path: pathOrganisationStaffProfiles(organisationId)
|
|
14443
14557
|
}), {
|
|
14444
14558
|
method: 'get',
|
|
@@ -14453,7 +14567,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
|
|
|
14453
14567
|
doesParamExist.default({
|
|
14454
14568
|
staffProfileId: staffProfileId
|
|
14455
14569
|
}, opts.hyperMediaEndpoint);
|
|
14456
|
-
return request(_objectSpread
|
|
14570
|
+
return request(_objectSpread$$({}, opts, {
|
|
14457
14571
|
path: pathStaffProfile(staffProfileId)
|
|
14458
14572
|
}), {
|
|
14459
14573
|
method: 'get'
|
|
@@ -14471,7 +14585,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
|
|
|
14471
14585
|
var body = {
|
|
14472
14586
|
staffId: staffId
|
|
14473
14587
|
};
|
|
14474
|
-
return request(_objectSpread
|
|
14588
|
+
return request(_objectSpread$$({}, opts, {
|
|
14475
14589
|
path: pathLinkStaffProfile(staffProfileId)
|
|
14476
14590
|
}), {
|
|
14477
14591
|
method: 'put',
|
|
@@ -14486,7 +14600,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
|
|
|
14486
14600
|
doesParamExist.default({
|
|
14487
14601
|
staffProfileId: staffProfileId
|
|
14488
14602
|
}, opts.hyperMediaEndpoint);
|
|
14489
|
-
return request(_objectSpread
|
|
14603
|
+
return request(_objectSpread$$({}, opts, {
|
|
14490
14604
|
path: pathUnlinkStaffProfile(staffProfileId)
|
|
14491
14605
|
}), {
|
|
14492
14606
|
method: 'put'
|
|
@@ -14505,9 +14619,9 @@ var staffProfiles = /*#__PURE__*/Object.freeze({
|
|
|
14505
14619
|
unlinkStaffProfile: unlinkStaffProfile
|
|
14506
14620
|
});
|
|
14507
14621
|
|
|
14508
|
-
function ownKeys
|
|
14622
|
+
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; }
|
|
14509
14623
|
|
|
14510
|
-
function _objectSpread
|
|
14624
|
+
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; }
|
|
14511
14625
|
|
|
14512
14626
|
var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
|
|
14513
14627
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
|
|
@@ -14574,7 +14688,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14574
14688
|
doesParamExist.default({
|
|
14575
14689
|
businessId: businessId
|
|
14576
14690
|
}, opts.hyperMediaEndpoint);
|
|
14577
|
-
return _context.abrupt("return", request(_objectSpread
|
|
14691
|
+
return _context.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14578
14692
|
path: pathBusinessStaff(businessId)
|
|
14579
14693
|
}), {
|
|
14580
14694
|
method: 'post',
|
|
@@ -14613,7 +14727,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
14613
14727
|
doesParamExist.default({
|
|
14614
14728
|
organisationId: organisationId
|
|
14615
14729
|
}, opts.hyperMediaEndpoint);
|
|
14616
|
-
return _context2.abrupt("return", request(_objectSpread
|
|
14730
|
+
return _context2.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14617
14731
|
path: pathOrganisationStaff(organisationId)
|
|
14618
14732
|
}), {
|
|
14619
14733
|
method: 'post',
|
|
@@ -14653,7 +14767,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14653
14767
|
businessId: businessId,
|
|
14654
14768
|
staffId: staffId
|
|
14655
14769
|
}, opts.hyperMediaEndpoint);
|
|
14656
|
-
return _context3.abrupt("return", request(_objectSpread
|
|
14770
|
+
return _context3.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14657
14771
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14658
14772
|
}), {
|
|
14659
14773
|
method: 'delete'
|
|
@@ -14692,7 +14806,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
14692
14806
|
businessId: businessId,
|
|
14693
14807
|
staffId: staffId
|
|
14694
14808
|
}, opts.hyperMediaEndpoint);
|
|
14695
|
-
return _context4.abrupt("return", request(_objectSpread
|
|
14809
|
+
return _context4.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14696
14810
|
path: pathBusinessStaffMember(businessId, staffId) + "/email"
|
|
14697
14811
|
}), {
|
|
14698
14812
|
method: 'delete'
|
|
@@ -14731,7 +14845,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14731
14845
|
businessId: businessId,
|
|
14732
14846
|
staffId: staffId
|
|
14733
14847
|
}, opts.hyperMediaEndpoint);
|
|
14734
|
-
return _context5.abrupt("return", request(_objectSpread
|
|
14848
|
+
return _context5.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14735
14849
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14736
14850
|
}), {
|
|
14737
14851
|
method: 'get'
|
|
@@ -14771,7 +14885,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
|
|
|
14771
14885
|
businessId: businessId,
|
|
14772
14886
|
staffId: staffId
|
|
14773
14887
|
}, opts.hyperMediaEndpoint);
|
|
14774
|
-
return _context6.abrupt("return", request(_objectSpread
|
|
14888
|
+
return _context6.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14775
14889
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
14776
14890
|
}), {
|
|
14777
14891
|
method: 'get',
|
|
@@ -14815,7 +14929,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
|
|
|
14815
14929
|
practiceId: practiceId,
|
|
14816
14930
|
staffId: staffId
|
|
14817
14931
|
}, opts.hyperMediaEndpoint);
|
|
14818
|
-
return _context7.abrupt("return", request(_objectSpread
|
|
14932
|
+
return _context7.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14819
14933
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
|
|
14820
14934
|
}), {
|
|
14821
14935
|
method: 'get'
|
|
@@ -14861,7 +14975,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
|
|
|
14861
14975
|
practiceId: practiceId,
|
|
14862
14976
|
staffId: staffId
|
|
14863
14977
|
}, opts.hyperMediaEndpoint);
|
|
14864
|
-
return _context8.abrupt("return", request(_objectSpread
|
|
14978
|
+
return _context8.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14865
14979
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
|
|
14866
14980
|
}), {
|
|
14867
14981
|
method: 'get',
|
|
@@ -14902,7 +15016,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
14902
15016
|
businessId: businessId,
|
|
14903
15017
|
practiceId: practiceId
|
|
14904
15018
|
}, opts.hyperMediaEndpoint);
|
|
14905
|
-
return _context9.abrupt("return", request(_objectSpread
|
|
15019
|
+
return _context9.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14906
15020
|
path: pathBusinessPracticeStaffMembers(businessId, practiceId)
|
|
14907
15021
|
}), {
|
|
14908
15022
|
method: 'get',
|
|
@@ -14945,7 +15059,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
14945
15059
|
formId: formId,
|
|
14946
15060
|
practiceId: practiceId
|
|
14947
15061
|
}, opts.hyperMediaEndpoint);
|
|
14948
|
-
return _context10.abrupt("return", request(_objectSpread
|
|
15062
|
+
return _context10.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14949
15063
|
path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
|
|
14950
15064
|
}), {
|
|
14951
15065
|
method: 'get',
|
|
@@ -14990,7 +15104,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
|
|
|
14990
15104
|
businessId: businessId,
|
|
14991
15105
|
serviceId: serviceId
|
|
14992
15106
|
}, opts.hyperMediaEndpoint);
|
|
14993
|
-
return _context11.abrupt("return", request(_objectSpread
|
|
15107
|
+
return _context11.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14994
15108
|
path: pathBusinessServiceStaffMembers(businessId, serviceId)
|
|
14995
15109
|
}), {
|
|
14996
15110
|
method: 'get',
|
|
@@ -15027,7 +15141,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
|
|
|
15027
15141
|
doesParamExist.default({
|
|
15028
15142
|
businessId: businessId
|
|
15029
15143
|
}, opts.hyperMediaEndpoint);
|
|
15030
|
-
return _context12.abrupt("return", request(_objectSpread
|
|
15144
|
+
return _context12.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15031
15145
|
path: pathBusinessStaff(businessId)
|
|
15032
15146
|
}), {
|
|
15033
15147
|
method: 'get',
|
|
@@ -15069,7 +15183,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
|
|
|
15069
15183
|
staffId: staffId,
|
|
15070
15184
|
contentType: contentType
|
|
15071
15185
|
}, opts.hyperMediaEndpoint);
|
|
15072
|
-
return _context13.abrupt("return", request(_objectSpread
|
|
15186
|
+
return _context13.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15073
15187
|
path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
|
|
15074
15188
|
}), {
|
|
15075
15189
|
method: 'get',
|
|
@@ -15113,7 +15227,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
|
|
|
15113
15227
|
doesParamExist.default({
|
|
15114
15228
|
organisationId: organisationId
|
|
15115
15229
|
}, opts.hyperMediaEndpoint);
|
|
15116
|
-
return _context14.abrupt("return", request(_objectSpread
|
|
15230
|
+
return _context14.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15117
15231
|
path: pathOrganisationStaff(organisationId)
|
|
15118
15232
|
}), {
|
|
15119
15233
|
method: 'get',
|
|
@@ -15151,7 +15265,7 @@ var getStaffMember = /*#__PURE__*/function () {
|
|
|
15151
15265
|
doesParamExist.default({
|
|
15152
15266
|
staffId: staffId
|
|
15153
15267
|
}, opts.hyperMediaEndpoint);
|
|
15154
|
-
return _context15.abrupt("return", request(_objectSpread
|
|
15268
|
+
return _context15.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15155
15269
|
path: pathStaffMember(staffId)
|
|
15156
15270
|
}), {
|
|
15157
15271
|
method: 'get'
|
|
@@ -15193,7 +15307,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15193
15307
|
practiceId: practiceId,
|
|
15194
15308
|
staffId: staffId
|
|
15195
15309
|
}, opts.hyperMediaEndpoint);
|
|
15196
|
-
return _context16.abrupt("return", request(_objectSpread
|
|
15310
|
+
return _context16.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15197
15311
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15198
15312
|
}), {
|
|
15199
15313
|
method: 'post',
|
|
@@ -15237,11 +15351,11 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15237
15351
|
businessId: businessId,
|
|
15238
15352
|
staffId: staffId
|
|
15239
15353
|
}, opts.hyperMediaEndpoint);
|
|
15240
|
-
return _context17.abrupt("return", request(_objectSpread
|
|
15354
|
+
return _context17.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15241
15355
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15242
15356
|
}), {
|
|
15243
15357
|
method: 'post',
|
|
15244
|
-
data: _objectSpread
|
|
15358
|
+
data: _objectSpread$10({
|
|
15245
15359
|
roleFullName: roleFullName
|
|
15246
15360
|
}, body)
|
|
15247
15361
|
}));
|
|
@@ -15278,7 +15392,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15278
15392
|
doesParamExist.default({
|
|
15279
15393
|
businessId: businessId
|
|
15280
15394
|
}, opts.hyperMediaEndpoint);
|
|
15281
|
-
return _context18.abrupt("return", request(_objectSpread
|
|
15395
|
+
return _context18.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15282
15396
|
path: pathBusinessStaff(businessId) + "/invites"
|
|
15283
15397
|
}), {
|
|
15284
15398
|
method: 'post',
|
|
@@ -15323,7 +15437,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15323
15437
|
doesParamExist.default({
|
|
15324
15438
|
businessId: businessId
|
|
15325
15439
|
}, opts.hyperMediaEndpoint);
|
|
15326
|
-
return _context19.abrupt("return", request(_objectSpread
|
|
15440
|
+
return _context19.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15327
15441
|
path: pathBusinessStaffMember(businessId, staffId) + "/invites"
|
|
15328
15442
|
}), {
|
|
15329
15443
|
method: 'post',
|
|
@@ -15366,7 +15480,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15366
15480
|
practiceId: practiceId,
|
|
15367
15481
|
staffId: staffId
|
|
15368
15482
|
}, opts.hyperMediaEndpoint);
|
|
15369
|
-
return _context20.abrupt("return", request(_objectSpread
|
|
15483
|
+
return _context20.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15370
15484
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15371
15485
|
}), {
|
|
15372
15486
|
method: 'delete',
|
|
@@ -15410,11 +15524,11 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15410
15524
|
businessId: businessId,
|
|
15411
15525
|
staffId: staffId
|
|
15412
15526
|
}, opts.hyperMediaEndpoint);
|
|
15413
|
-
return _context21.abrupt("return", request(_objectSpread
|
|
15527
|
+
return _context21.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15414
15528
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15415
15529
|
}), {
|
|
15416
15530
|
method: 'delete',
|
|
15417
|
-
data: _objectSpread
|
|
15531
|
+
data: _objectSpread$10({
|
|
15418
15532
|
roleFullName: roleFullName
|
|
15419
15533
|
}, body)
|
|
15420
15534
|
}));
|
|
@@ -15453,7 +15567,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15453
15567
|
businessId: businessId,
|
|
15454
15568
|
staffId: staffId
|
|
15455
15569
|
}, opts.hyperMediaEndpoint);
|
|
15456
|
-
return _context22.abrupt("return", request(_objectSpread
|
|
15570
|
+
return _context22.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15457
15571
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
15458
15572
|
}), {
|
|
15459
15573
|
method: 'put',
|
|
@@ -15494,7 +15608,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
15494
15608
|
businessId: businessId,
|
|
15495
15609
|
staffId: staffId
|
|
15496
15610
|
}, opts.hyperMediaEndpoint);
|
|
15497
|
-
return _context23.abrupt("return", request(_objectSpread
|
|
15611
|
+
return _context23.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15498
15612
|
path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
|
|
15499
15613
|
}), {
|
|
15500
15614
|
method: 'post',
|
|
@@ -15535,7 +15649,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
15535
15649
|
organisationId: organisationId,
|
|
15536
15650
|
staffId: staffId
|
|
15537
15651
|
}, opts.hyperMediaEndpoint);
|
|
15538
|
-
return _context24.abrupt("return", request(_objectSpread
|
|
15652
|
+
return _context24.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15539
15653
|
path: pathOrganisationStaffMember(organisationId, staffId)
|
|
15540
15654
|
}), {
|
|
15541
15655
|
method: 'put',
|
|
@@ -15574,7 +15688,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
|
|
|
15574
15688
|
doesParamExist.default({
|
|
15575
15689
|
staffId: staffId
|
|
15576
15690
|
}, opts.hyperMediaEndpoint);
|
|
15577
|
-
return _context25.abrupt("return", request(_objectSpread
|
|
15691
|
+
return _context25.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15578
15692
|
path: pathStaffMember(staffId) + "/verify"
|
|
15579
15693
|
}), {
|
|
15580
15694
|
method: 'post',
|
|
@@ -15613,7 +15727,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
|
|
|
15613
15727
|
doesParamExist.default({
|
|
15614
15728
|
staffId: staffId
|
|
15615
15729
|
}, opts.hyperMediaEndpoint);
|
|
15616
|
-
return _context26.abrupt("return", request(_objectSpread
|
|
15730
|
+
return _context26.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15617
15731
|
path: pathStaffMember(staffId) + "/clone"
|
|
15618
15732
|
}), {
|
|
15619
15733
|
method: 'post',
|
|
@@ -15647,7 +15761,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
|
|
|
15647
15761
|
doesParamExist.default({
|
|
15648
15762
|
businessId: businessId
|
|
15649
15763
|
}, opts.hyperMediaEndpoint);
|
|
15650
|
-
return request(_objectSpread
|
|
15764
|
+
return request(_objectSpread$10({}, opts, {
|
|
15651
15765
|
path: pathBusinessStaff(businessId) + "/exists"
|
|
15652
15766
|
}), {
|
|
15653
15767
|
method: 'get',
|
|
@@ -15676,7 +15790,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15676
15790
|
businessId: businessId,
|
|
15677
15791
|
staffId: staffId
|
|
15678
15792
|
}, opts.hyperMediaEndpoint);
|
|
15679
|
-
return _context27.abrupt("return", request(_objectSpread
|
|
15793
|
+
return _context27.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15680
15794
|
path: "" + pathProviderSetItems(businessId, staffId)
|
|
15681
15795
|
}), {
|
|
15682
15796
|
method: 'post',
|
|
@@ -15719,7 +15833,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15719
15833
|
staffId: staffId,
|
|
15720
15834
|
providerSetItemId: providerSetItemId
|
|
15721
15835
|
}, opts.hyperMediaEndpoint);
|
|
15722
|
-
return _context28.abrupt("return", request(_objectSpread
|
|
15836
|
+
return _context28.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15723
15837
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15724
15838
|
}), {
|
|
15725
15839
|
method: 'put',
|
|
@@ -15761,7 +15875,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15761
15875
|
staffId: staffId,
|
|
15762
15876
|
providerSetItemId: providerSetItemId
|
|
15763
15877
|
}, opts.hyperMediaEndpoint);
|
|
15764
|
-
return _context29.abrupt("return", request(_objectSpread
|
|
15878
|
+
return _context29.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15765
15879
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15766
15880
|
}), {
|
|
15767
15881
|
method: 'delete'
|
|
@@ -15794,11 +15908,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
|
|
|
15794
15908
|
doesParamExist.default({
|
|
15795
15909
|
businessId: businessId
|
|
15796
15910
|
}, opts.hyperMediaEndpoint);
|
|
15797
|
-
return request(_objectSpread
|
|
15911
|
+
return request(_objectSpread$10({}, opts, {
|
|
15798
15912
|
path: pathProvidersStatus
|
|
15799
15913
|
}), {
|
|
15800
15914
|
method: 'get',
|
|
15801
|
-
params: _objectSpread
|
|
15915
|
+
params: _objectSpread$10({}, query, {
|
|
15802
15916
|
businessId: businessId
|
|
15803
15917
|
})
|
|
15804
15918
|
});
|
|
@@ -15839,9 +15953,9 @@ var staff = /*#__PURE__*/Object.freeze({
|
|
|
15839
15953
|
getProvidersStatus: getProvidersStatus
|
|
15840
15954
|
});
|
|
15841
15955
|
|
|
15842
|
-
function ownKeys$
|
|
15956
|
+
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; }
|
|
15843
15957
|
|
|
15844
|
-
function _objectSpread$
|
|
15958
|
+
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; }
|
|
15845
15959
|
|
|
15846
15960
|
var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
|
|
15847
15961
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
|
|
@@ -15893,11 +16007,11 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
15893
16007
|
doesParamExist.default({
|
|
15894
16008
|
healthFundId: healthFundId
|
|
15895
16009
|
}, opts.hyperMediaEndpoint);
|
|
15896
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16010
|
+
return _context.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15897
16011
|
path: pathTransactionStatsForHealthFundId(healthFundId)
|
|
15898
16012
|
}), {
|
|
15899
16013
|
method: 'get',
|
|
15900
|
-
params: _objectSpread$
|
|
16014
|
+
params: _objectSpread$11({
|
|
15901
16015
|
from: from,
|
|
15902
16016
|
to: to
|
|
15903
16017
|
}, query)
|
|
@@ -15941,11 +16055,11 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
|
|
|
15941
16055
|
doesParamExist.default({
|
|
15942
16056
|
healthFundId: healthFundId
|
|
15943
16057
|
}, opts.hyperMediaEndpoint);
|
|
15944
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16058
|
+
return _context2.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15945
16059
|
path: pathTransactionStatsCSVForHealthFundId(healthFundId)
|
|
15946
16060
|
}), {
|
|
15947
16061
|
method: 'get',
|
|
15948
|
-
params: _objectSpread$
|
|
16062
|
+
params: _objectSpread$11({
|
|
15949
16063
|
from: from,
|
|
15950
16064
|
to: to
|
|
15951
16065
|
}, query)
|
|
@@ -15989,11 +16103,11 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
15989
16103
|
doesParamExist.default({
|
|
15990
16104
|
healthFundId: healthFundId
|
|
15991
16105
|
}, opts.hyperMediaEndpoint);
|
|
15992
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16106
|
+
return _context3.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15993
16107
|
path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
|
|
15994
16108
|
}), {
|
|
15995
16109
|
method: 'get',
|
|
15996
|
-
params: _objectSpread$
|
|
16110
|
+
params: _objectSpread$11({
|
|
15997
16111
|
from: from,
|
|
15998
16112
|
to: to
|
|
15999
16113
|
}, query)
|
|
@@ -16037,11 +16151,11 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
|
|
|
16037
16151
|
doesParamExist.default({
|
|
16038
16152
|
businessId: businessId
|
|
16039
16153
|
}, opts.hyperMediaEndpoint);
|
|
16040
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16154
|
+
return _context4.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16041
16155
|
path: pathTransactionStatsForBusiness(businessId)
|
|
16042
16156
|
}), {
|
|
16043
16157
|
method: 'get',
|
|
16044
|
-
params: _objectSpread$
|
|
16158
|
+
params: _objectSpread$11({
|
|
16045
16159
|
from: from,
|
|
16046
16160
|
to: to
|
|
16047
16161
|
}, query)
|
|
@@ -16087,11 +16201,11 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
|
|
|
16087
16201
|
businessId: businessId,
|
|
16088
16202
|
practiceId: practiceId
|
|
16089
16203
|
}, opts.hyperMediaEndpoint);
|
|
16090
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16204
|
+
return _context5.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16091
16205
|
path: pathTransactionStatsForPractice(businessId, practiceId)
|
|
16092
16206
|
}), {
|
|
16093
16207
|
method: 'get',
|
|
16094
|
-
params: _objectSpread$
|
|
16208
|
+
params: _objectSpread$11({
|
|
16095
16209
|
from: from,
|
|
16096
16210
|
to: to
|
|
16097
16211
|
}, query)
|
|
@@ -16135,11 +16249,11 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
|
|
|
16135
16249
|
doesParamExist.default({
|
|
16136
16250
|
organisationId: organisationId
|
|
16137
16251
|
}, opts.hyperMediaEndpoint);
|
|
16138
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16252
|
+
return _context6.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16139
16253
|
path: pathTransactionStatsForOrganisation(organisationId)
|
|
16140
16254
|
}), {
|
|
16141
16255
|
method: 'get',
|
|
16142
|
-
params: _objectSpread$
|
|
16256
|
+
params: _objectSpread$11({
|
|
16143
16257
|
from: from,
|
|
16144
16258
|
to: to
|
|
16145
16259
|
}, query)
|
|
@@ -16168,9 +16282,9 @@ var statistics = /*#__PURE__*/Object.freeze({
|
|
|
16168
16282
|
getTransactionStatsForOrganisation: getTransactionStatsForOrganisation
|
|
16169
16283
|
});
|
|
16170
16284
|
|
|
16171
|
-
function ownKeys$
|
|
16285
|
+
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; }
|
|
16172
16286
|
|
|
16173
|
-
function _objectSpread$
|
|
16287
|
+
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; }
|
|
16174
16288
|
var pathBusinessSubscriptions = function pathBusinessSubscriptions(businessId) {
|
|
16175
16289
|
return "/businesses/" + businessId + "/subscriptions";
|
|
16176
16290
|
};
|
|
@@ -16192,7 +16306,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
|
|
|
16192
16306
|
doesParamExist.default({
|
|
16193
16307
|
businessId: businessId
|
|
16194
16308
|
});
|
|
16195
|
-
return request(_objectSpread$
|
|
16309
|
+
return request(_objectSpread$12({}, opts, {
|
|
16196
16310
|
path: pathBusinessSubscriptions(businessId)
|
|
16197
16311
|
}), {
|
|
16198
16312
|
method: 'post',
|
|
@@ -16214,7 +16328,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
|
|
|
16214
16328
|
doesParamExist.default({
|
|
16215
16329
|
businessId: businessId
|
|
16216
16330
|
});
|
|
16217
|
-
return request(_objectSpread$
|
|
16331
|
+
return request(_objectSpread$12({}, opts, {
|
|
16218
16332
|
path: pathBusinessSubscriptions(businessId)
|
|
16219
16333
|
}), {
|
|
16220
16334
|
method: 'get',
|
|
@@ -16237,7 +16351,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
|
|
|
16237
16351
|
businessId: businessId,
|
|
16238
16352
|
subscriptionId: subscriptionId
|
|
16239
16353
|
});
|
|
16240
|
-
return request(_objectSpread$
|
|
16354
|
+
return request(_objectSpread$12({}, opts, {
|
|
16241
16355
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16242
16356
|
}), {
|
|
16243
16357
|
method: 'get'
|
|
@@ -16260,7 +16374,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
|
|
|
16260
16374
|
businessId: businessId,
|
|
16261
16375
|
subscriptionId: subscriptionId
|
|
16262
16376
|
});
|
|
16263
|
-
return request(_objectSpread$
|
|
16377
|
+
return request(_objectSpread$12({}, opts, {
|
|
16264
16378
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16265
16379
|
}), {
|
|
16266
16380
|
method: 'put',
|
|
@@ -16278,9 +16392,9 @@ var subscriptions = /*#__PURE__*/Object.freeze({
|
|
|
16278
16392
|
updateBusinessSubscription: updateBusinessSubscription
|
|
16279
16393
|
});
|
|
16280
16394
|
|
|
16281
|
-
function ownKeys$
|
|
16395
|
+
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; }
|
|
16282
16396
|
|
|
16283
|
-
function _objectSpread$
|
|
16397
|
+
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; }
|
|
16284
16398
|
var pathTerminalsByBusinessId = function pathTerminalsByBusinessId(businessId) {
|
|
16285
16399
|
return "/businesses/" + businessId + "/terminals";
|
|
16286
16400
|
};
|
|
@@ -16318,7 +16432,7 @@ var registerTerminal = /*#__PURE__*/function () {
|
|
|
16318
16432
|
businessId: businessId,
|
|
16319
16433
|
practiceId: practiceId
|
|
16320
16434
|
}, opts.hyperMediaEndpoint);
|
|
16321
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16435
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16322
16436
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16323
16437
|
}), {
|
|
16324
16438
|
method: 'post',
|
|
@@ -16357,7 +16471,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
|
|
|
16357
16471
|
doesParamExist.default({
|
|
16358
16472
|
businessId: businessId
|
|
16359
16473
|
}, opts.hyperMediaEndpoint);
|
|
16360
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16474
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16361
16475
|
path: pathTerminalsByBusinessId(businessId)
|
|
16362
16476
|
}), {
|
|
16363
16477
|
method: 'get',
|
|
@@ -16398,7 +16512,7 @@ var getTerminals = /*#__PURE__*/function () {
|
|
|
16398
16512
|
businessId: businessId,
|
|
16399
16513
|
practiceId: practiceId
|
|
16400
16514
|
}, opts.hyperMediaEndpoint);
|
|
16401
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16515
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16402
16516
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16403
16517
|
}), {
|
|
16404
16518
|
method: 'get',
|
|
@@ -16441,7 +16555,7 @@ var getTerminal = /*#__PURE__*/function () {
|
|
|
16441
16555
|
practiceId: practiceId,
|
|
16442
16556
|
terminalId: terminalId
|
|
16443
16557
|
}, opts.hyperMediaEndpoint);
|
|
16444
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16558
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16445
16559
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16446
16560
|
}), {
|
|
16447
16561
|
method: 'get'
|
|
@@ -16483,7 +16597,7 @@ var updateTerminal = /*#__PURE__*/function () {
|
|
|
16483
16597
|
practiceId: practiceId,
|
|
16484
16598
|
terminalId: terminalId
|
|
16485
16599
|
}, opts.hyperMediaEndpoint);
|
|
16486
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16600
|
+
return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16487
16601
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16488
16602
|
}), {
|
|
16489
16603
|
method: 'put',
|
|
@@ -16525,7 +16639,7 @@ var deleteTerminal = /*#__PURE__*/function () {
|
|
|
16525
16639
|
practiceId: practiceId,
|
|
16526
16640
|
terminalId: terminalId
|
|
16527
16641
|
}, opts.hyperMediaEndpoint);
|
|
16528
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16642
|
+
return _context6.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16529
16643
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16530
16644
|
}), {
|
|
16531
16645
|
method: 'delete'
|
|
@@ -16564,7 +16678,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
16564
16678
|
businessId: businessId,
|
|
16565
16679
|
practiceId: practiceId
|
|
16566
16680
|
}, opts.hyperMediaEndpoint);
|
|
16567
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
16681
|
+
return _context7.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16568
16682
|
path: pathClientTokenByPracticeId(businessId, practiceId)
|
|
16569
16683
|
}), {
|
|
16570
16684
|
method: 'get'
|
|
@@ -16606,7 +16720,7 @@ var resetTerminal = /*#__PURE__*/function () {
|
|
|
16606
16720
|
practiceId: practiceId,
|
|
16607
16721
|
terminalId: terminalId
|
|
16608
16722
|
}, opts.hyperMediaEndpoint);
|
|
16609
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
16723
|
+
return _context8.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16610
16724
|
path: pathResetTerminal(businessId, practiceId, terminalId)
|
|
16611
16725
|
}), {
|
|
16612
16726
|
method: 'post',
|
|
@@ -16643,9 +16757,9 @@ var terminals = /*#__PURE__*/Object.freeze({
|
|
|
16643
16757
|
resetTerminal: resetTerminal
|
|
16644
16758
|
});
|
|
16645
16759
|
|
|
16646
|
-
function ownKeys$
|
|
16760
|
+
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; }
|
|
16647
16761
|
|
|
16648
|
-
function _objectSpread$
|
|
16762
|
+
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; }
|
|
16649
16763
|
var pathCreateHealthFundTransactionExport = function pathCreateHealthFundTransactionExport(healthFundId) {
|
|
16650
16764
|
return "/healthfunds/" + healthFundId + "/transactionexport";
|
|
16651
16765
|
};
|
|
@@ -16672,7 +16786,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16672
16786
|
doesParamExist.default({
|
|
16673
16787
|
healthFundId: healthFundId
|
|
16674
16788
|
}, opts.hyperMediaEndpoint);
|
|
16675
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16789
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16676
16790
|
path: pathCreateHealthFundTransactionExport(healthFundId)
|
|
16677
16791
|
}), {
|
|
16678
16792
|
method: 'post',
|
|
@@ -16717,7 +16831,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16717
16831
|
healthFundId: healthFundId,
|
|
16718
16832
|
transactionExportId: transactionExportId
|
|
16719
16833
|
}, opts.hyperMediaEndpoint);
|
|
16720
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16834
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16721
16835
|
path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
|
|
16722
16836
|
}), {
|
|
16723
16837
|
method: 'get',
|
|
@@ -16745,9 +16859,9 @@ var transactionExport = /*#__PURE__*/Object.freeze({
|
|
|
16745
16859
|
getHealthFundTransactionExport: getHealthFundTransactionExport
|
|
16746
16860
|
});
|
|
16747
16861
|
|
|
16748
|
-
function ownKeys$
|
|
16862
|
+
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; }
|
|
16749
16863
|
|
|
16750
|
-
function _objectSpread$
|
|
16864
|
+
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; }
|
|
16751
16865
|
|
|
16752
16866
|
var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
|
|
16753
16867
|
return "/businesses/" + businessId + "/transactions";
|
|
@@ -16975,7 +17089,7 @@ var approveTransaction = /*#__PURE__*/function () {
|
|
|
16975
17089
|
doesParamExist.default({
|
|
16976
17090
|
transactionId: transactionId
|
|
16977
17091
|
}, opts.hyperMediaEndpoint);
|
|
16978
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
17092
|
+
return _context.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
16979
17093
|
path: pathTransactionApprove(transactionId)
|
|
16980
17094
|
}), {
|
|
16981
17095
|
method: 'post',
|
|
@@ -17013,7 +17127,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
|
|
|
17013
17127
|
doesParamExist.default({
|
|
17014
17128
|
healthFundId: healthFundId
|
|
17015
17129
|
}, opts.hyperMediaEndpoint);
|
|
17016
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
17130
|
+
return _context2.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17017
17131
|
path: pathHealthFundTransactionsAssign(healthFundId)
|
|
17018
17132
|
}), {
|
|
17019
17133
|
method: 'post',
|
|
@@ -17053,7 +17167,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17053
17167
|
transactionId: transactionId,
|
|
17054
17168
|
healthFundId: healthFundId
|
|
17055
17169
|
}, opts.hyperMediaEndpoint);
|
|
17056
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
17170
|
+
return _context3.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17057
17171
|
path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
|
|
17058
17172
|
}), {
|
|
17059
17173
|
method: 'put'
|
|
@@ -17090,7 +17204,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17090
17204
|
doesParamExist.default({
|
|
17091
17205
|
transactionId: transactionId
|
|
17092
17206
|
}, opts.hyperMediaEndpoint);
|
|
17093
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
17207
|
+
return _context4.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17094
17208
|
path: pathTransactionByTransactionId(transactionId) + "/assigntome"
|
|
17095
17209
|
}), {
|
|
17096
17210
|
method: 'put'
|
|
@@ -17127,7 +17241,7 @@ var cancelTransaction = /*#__PURE__*/function () {
|
|
|
17127
17241
|
doesParamExist.default({
|
|
17128
17242
|
transactionId: transactionId
|
|
17129
17243
|
}, opts.hyperMediaEndpoint);
|
|
17130
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
17244
|
+
return _context5.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17131
17245
|
path: pathTransactionByTransactionId(transactionId) + "/cancellations"
|
|
17132
17246
|
}), {
|
|
17133
17247
|
data: body,
|
|
@@ -17167,7 +17281,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17167
17281
|
transactionId: transactionId,
|
|
17168
17282
|
businessId: businessId
|
|
17169
17283
|
}, opts.hyperMediaEndpoint);
|
|
17170
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
17284
|
+
return _context6.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17171
17285
|
path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
|
|
17172
17286
|
}), {
|
|
17173
17287
|
data: body,
|
|
@@ -17210,7 +17324,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
|
|
|
17210
17324
|
practiceId: practiceId,
|
|
17211
17325
|
staffId: staffId
|
|
17212
17326
|
}, opts.hyperMediaEndpoint);
|
|
17213
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
17327
|
+
return _context7.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17214
17328
|
path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
|
|
17215
17329
|
}), {
|
|
17216
17330
|
method: 'post',
|
|
@@ -17251,7 +17365,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
|
|
|
17251
17365
|
businessId: businessId,
|
|
17252
17366
|
practiceId: practiceId
|
|
17253
17367
|
}, opts.hyperMediaEndpoint);
|
|
17254
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
17368
|
+
return _context8.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17255
17369
|
path: pathBusinessPracticeInvoices(businessId, practiceId)
|
|
17256
17370
|
}), {
|
|
17257
17371
|
method: 'post',
|
|
@@ -17290,7 +17404,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
|
|
|
17290
17404
|
doesParamExist.default({
|
|
17291
17405
|
businessId: businessId
|
|
17292
17406
|
}, opts.hyperMediaEndpoint);
|
|
17293
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
17407
|
+
return _context9.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17294
17408
|
path: pathBusinessTransactionQuotes(businessId)
|
|
17295
17409
|
}), {
|
|
17296
17410
|
method: 'post',
|
|
@@ -17333,7 +17447,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
|
|
|
17333
17447
|
practiceId: practiceId,
|
|
17334
17448
|
staffId: staffId
|
|
17335
17449
|
}, opts.hyperMediaEndpoint);
|
|
17336
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
17450
|
+
return _context10.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17337
17451
|
path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
|
|
17338
17452
|
}), {
|
|
17339
17453
|
method: 'post',
|
|
@@ -17375,7 +17489,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17375
17489
|
doesParamExist.default({
|
|
17376
17490
|
transactionId: transactionId
|
|
17377
17491
|
}, opts.hyperMediaEndpoint);
|
|
17378
|
-
newBody = _objectSpread$
|
|
17492
|
+
newBody = _objectSpread$15({}, body);
|
|
17379
17493
|
|
|
17380
17494
|
if (source && nonce) {
|
|
17381
17495
|
newBody.payment = {
|
|
@@ -17384,7 +17498,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17384
17498
|
};
|
|
17385
17499
|
}
|
|
17386
17500
|
|
|
17387
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
17501
|
+
return _context11.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17388
17502
|
path: pathTransactionByTransactionId(transactionId) + "/payments"
|
|
17389
17503
|
}), {
|
|
17390
17504
|
method: 'post',
|
|
@@ -17423,7 +17537,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
|
|
|
17423
17537
|
doesParamExist.default({
|
|
17424
17538
|
transactionId: transactionId
|
|
17425
17539
|
}, opts.hyperMediaEndpoint);
|
|
17426
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
17540
|
+
return _context12.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17427
17541
|
path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
|
|
17428
17542
|
}), {
|
|
17429
17543
|
method: 'post',
|
|
@@ -17463,7 +17577,7 @@ var completeQuote = /*#__PURE__*/function () {
|
|
|
17463
17577
|
transactionId: transactionId,
|
|
17464
17578
|
memberId: memberId
|
|
17465
17579
|
}, opts.hyperMediaEndpoint);
|
|
17466
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
17580
|
+
return _context13.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17467
17581
|
path: pathTransactionByTransactionId(transactionId) + "/completequote"
|
|
17468
17582
|
}), {
|
|
17469
17583
|
method: 'post',
|
|
@@ -17505,7 +17619,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
|
|
|
17505
17619
|
transactionId: transactionId,
|
|
17506
17620
|
tagId: tagId
|
|
17507
17621
|
}, opts.hyperMediaEndpoint);
|
|
17508
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
17622
|
+
return _context14.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17509
17623
|
path: pathTransactionTag(transactionId, tagId)
|
|
17510
17624
|
}), {
|
|
17511
17625
|
method: 'delete'
|
|
@@ -17542,7 +17656,7 @@ var deleteTransaction = /*#__PURE__*/function () {
|
|
|
17542
17656
|
doesParamExist.default({
|
|
17543
17657
|
transactionId: transactionId
|
|
17544
17658
|
}, opts.hyperMediaEndpoint);
|
|
17545
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
17659
|
+
return _context15.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17546
17660
|
path: pathTransactionByTransactionId(transactionId)
|
|
17547
17661
|
}), {
|
|
17548
17662
|
method: 'delete'
|
|
@@ -17584,7 +17698,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
|
|
|
17584
17698
|
doesParamExist.default({
|
|
17585
17699
|
businessId: businessId
|
|
17586
17700
|
}, opts.hyperMediaEndpoint);
|
|
17587
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
17701
|
+
return _context16.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17588
17702
|
path: pathBusinessTransactions(businessId)
|
|
17589
17703
|
}), {
|
|
17590
17704
|
method: 'get',
|
|
@@ -17624,7 +17738,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17624
17738
|
businessId: businessId,
|
|
17625
17739
|
transactionId: transactionId
|
|
17626
17740
|
}, opts.hyperMediaEndpoint);
|
|
17627
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
17741
|
+
return _context17.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17628
17742
|
path: pathBusinessTransaction(businessId, transactionId)
|
|
17629
17743
|
}), {
|
|
17630
17744
|
method: 'get',
|
|
@@ -17664,7 +17778,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
|
|
|
17664
17778
|
businessId: businessId,
|
|
17665
17779
|
invoiceReference: invoiceReference
|
|
17666
17780
|
}, opts.hyperMediaEndpoint);
|
|
17667
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
17781
|
+
return _context18.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17668
17782
|
path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
|
|
17669
17783
|
}), {
|
|
17670
17784
|
method: 'get'
|
|
@@ -17703,7 +17817,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
17703
17817
|
businessId: businessId,
|
|
17704
17818
|
transactionId: transactionId
|
|
17705
17819
|
}, opts.hyperMediaEndpoint);
|
|
17706
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
17820
|
+
return _context19.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17707
17821
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
|
|
17708
17822
|
}), {
|
|
17709
17823
|
method: 'get',
|
|
@@ -17743,7 +17857,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
17743
17857
|
businessId: businessId,
|
|
17744
17858
|
transactionId: transactionId
|
|
17745
17859
|
}, opts.hyperMediaEndpoint);
|
|
17746
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
17860
|
+
return _context20.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17747
17861
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
|
|
17748
17862
|
}), {
|
|
17749
17863
|
method: 'get',
|
|
@@ -17788,7 +17902,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
|
|
|
17788
17902
|
businessId: businessId,
|
|
17789
17903
|
practiceId: practiceId
|
|
17790
17904
|
}, opts.hyperMediaEndpoint);
|
|
17791
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
17905
|
+
return _context21.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17792
17906
|
path: pathBusinessPracticeTransactions(businessId, practiceId)
|
|
17793
17907
|
}), {
|
|
17794
17908
|
method: 'get',
|
|
@@ -17835,7 +17949,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
|
|
|
17835
17949
|
practiceId: practiceId,
|
|
17836
17950
|
staffId: staffId
|
|
17837
17951
|
}, opts.hyperMediaEndpoint);
|
|
17838
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
17952
|
+
return _context22.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17839
17953
|
path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
|
|
17840
17954
|
}), {
|
|
17841
17955
|
method: 'get',
|
|
@@ -17878,7 +17992,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
|
|
|
17878
17992
|
doesParamExist.default({
|
|
17879
17993
|
healthFundId: healthFundId
|
|
17880
17994
|
}, opts.hyperMediaEndpoint);
|
|
17881
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
17995
|
+
return _context23.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17882
17996
|
path: pathTransactionsForHealthFund(healthFundId)
|
|
17883
17997
|
}), {
|
|
17884
17998
|
method: 'get',
|
|
@@ -17918,7 +18032,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
|
|
|
17918
18032
|
healthFundId: healthFundId,
|
|
17919
18033
|
transactionId: transactionId
|
|
17920
18034
|
}, opts.hyperMediaEndpoint);
|
|
17921
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
18035
|
+
return _context24.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17922
18036
|
path: pathHealthFundTransaction(healthFundId, transactionId)
|
|
17923
18037
|
}), {
|
|
17924
18038
|
method: 'get'
|
|
@@ -17960,7 +18074,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
|
|
|
17960
18074
|
doesParamExist.default({
|
|
17961
18075
|
memberId: memberId
|
|
17962
18076
|
}, opts.hyperMediaEndpoint);
|
|
17963
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
18077
|
+
return _context25.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17964
18078
|
path: pathTransactionsByMember(memberId)
|
|
17965
18079
|
}), {
|
|
17966
18080
|
method: 'get',
|
|
@@ -18004,7 +18118,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
|
|
|
18004
18118
|
doesParamExist.default({
|
|
18005
18119
|
healthFundId: healthFundId
|
|
18006
18120
|
}, opts.hyperMediaEndpoint);
|
|
18007
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
18121
|
+
return _context26.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18008
18122
|
path: pathHealthFundMemberTransactions(healthFundId, memberId)
|
|
18009
18123
|
}), {
|
|
18010
18124
|
method: 'get',
|
|
@@ -18042,7 +18156,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
|
|
|
18042
18156
|
doesParamExist.default({
|
|
18043
18157
|
transactionId: transactionId
|
|
18044
18158
|
}, opts.hyperMediaEndpoint);
|
|
18045
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
18159
|
+
return _context27.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18046
18160
|
path: pathTransactionByTransactionId(transactionId)
|
|
18047
18161
|
}), {
|
|
18048
18162
|
method: 'get',
|
|
@@ -18081,7 +18195,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
|
|
|
18081
18195
|
doesParamExist.default({
|
|
18082
18196
|
transactionId: transactionId
|
|
18083
18197
|
}, opts.hyperMediaEndpoint);
|
|
18084
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
18198
|
+
return _context28.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18085
18199
|
path: pathTransactionByTransactionId(transactionId) + "/pdf"
|
|
18086
18200
|
}), {
|
|
18087
18201
|
method: 'post',
|
|
@@ -18123,7 +18237,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
|
|
|
18123
18237
|
claimId: claimId,
|
|
18124
18238
|
transactionId: transactionId
|
|
18125
18239
|
}, opts.hyperMediaEndpoint);
|
|
18126
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
18240
|
+
return _context29.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18127
18241
|
path: pathTransactionClaimPdf(transactionId, claimId)
|
|
18128
18242
|
}), {
|
|
18129
18243
|
method: 'post',
|
|
@@ -18162,7 +18276,7 @@ var getTransactionClaimPdfV2 = /*#__PURE__*/function () {
|
|
|
18162
18276
|
opts = {};
|
|
18163
18277
|
}
|
|
18164
18278
|
|
|
18165
|
-
return _context30.abrupt("return", request(_objectSpread$
|
|
18279
|
+
return _context30.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18166
18280
|
path: pathTransactionClaimPdfV2
|
|
18167
18281
|
}), {
|
|
18168
18282
|
method: 'post',
|
|
@@ -18202,7 +18316,7 @@ var replyToQuote = /*#__PURE__*/function () {
|
|
|
18202
18316
|
doesParamExist.default({
|
|
18203
18317
|
transactionId: transactionId
|
|
18204
18318
|
}, opts.hyperMediaEndpoint);
|
|
18205
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
18319
|
+
return _context31.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18206
18320
|
path: pathReplyQuote(transactionId)
|
|
18207
18321
|
}), {
|
|
18208
18322
|
method: 'post',
|
|
@@ -18241,7 +18355,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
18241
18355
|
doesParamExist.default({
|
|
18242
18356
|
transactionId: transactionId
|
|
18243
18357
|
}, opts.hyperMediaEndpoint);
|
|
18244
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
18358
|
+
return _context32.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18245
18359
|
path: pathTransactionSendReceipt(transactionId)
|
|
18246
18360
|
}), {
|
|
18247
18361
|
method: 'post',
|
|
@@ -18280,7 +18394,7 @@ var submitInvoice = /*#__PURE__*/function () {
|
|
|
18280
18394
|
doesParamExist.default({
|
|
18281
18395
|
transactionId: transactionId
|
|
18282
18396
|
}, opts.hyperMediaEndpoint);
|
|
18283
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
18397
|
+
return _context33.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18284
18398
|
path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
|
|
18285
18399
|
}), {
|
|
18286
18400
|
method: 'post',
|
|
@@ -18319,7 +18433,7 @@ var updateTransaction = /*#__PURE__*/function () {
|
|
|
18319
18433
|
doesParamExist.default({
|
|
18320
18434
|
transactionId: transactionId
|
|
18321
18435
|
}, opts.hyperMediaEndpoint);
|
|
18322
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
18436
|
+
return _context34.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18323
18437
|
path: pathTransactionByTransactionId(transactionId)
|
|
18324
18438
|
}), {
|
|
18325
18439
|
method: 'put',
|
|
@@ -18357,7 +18471,7 @@ var validateTransaction = /*#__PURE__*/function () {
|
|
|
18357
18471
|
doesParamExist.default({
|
|
18358
18472
|
transactionId: transactionId
|
|
18359
18473
|
}, opts.hyperMediaEndpoint);
|
|
18360
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
18474
|
+
return _context35.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18361
18475
|
path: pathValidateTransaction(transactionId)
|
|
18362
18476
|
}), {
|
|
18363
18477
|
method: 'post'
|
|
@@ -18395,7 +18509,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
|
|
|
18395
18509
|
doesParamExist.default({
|
|
18396
18510
|
transactionId: transactionId
|
|
18397
18511
|
}, opts.hyperMediaEndpoint);
|
|
18398
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
18512
|
+
return _context36.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18399
18513
|
path: pathTransactionSubmitBridgeClaim(transactionId)
|
|
18400
18514
|
}), {
|
|
18401
18515
|
method: 'post',
|
|
@@ -18434,7 +18548,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
|
|
|
18434
18548
|
doesParamExist.default({
|
|
18435
18549
|
transactionId: transactionId
|
|
18436
18550
|
}, opts.hyperMediaEndpoint);
|
|
18437
|
-
return _context37.abrupt("return", request(_objectSpread$
|
|
18551
|
+
return _context37.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18438
18552
|
path: pathTransactionSubmitBridgePayment(transactionId)
|
|
18439
18553
|
}), {
|
|
18440
18554
|
method: 'post',
|
|
@@ -18473,7 +18587,7 @@ var triggerBridge = /*#__PURE__*/function () {
|
|
|
18473
18587
|
doesParamExist.default({
|
|
18474
18588
|
transactionId: transactionId
|
|
18475
18589
|
}, opts.hyperMediaEndpoint);
|
|
18476
|
-
return _context38.abrupt("return", request(_objectSpread$
|
|
18590
|
+
return _context38.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18477
18591
|
path: pathTransactionTriggerBridge(transactionId)
|
|
18478
18592
|
}), {
|
|
18479
18593
|
method: 'post',
|
|
@@ -18512,7 +18626,7 @@ var createInvoice = /*#__PURE__*/function () {
|
|
|
18512
18626
|
doesParamExist.default({
|
|
18513
18627
|
businessId: businessId
|
|
18514
18628
|
}, opts.hyperMediaEndpoint);
|
|
18515
|
-
return _context39.abrupt("return", request(_objectSpread$
|
|
18629
|
+
return _context39.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18516
18630
|
path: pathCreateInvoice(businessId)
|
|
18517
18631
|
}), {
|
|
18518
18632
|
method: 'post',
|
|
@@ -18551,7 +18665,7 @@ var createSendClaim = /*#__PURE__*/function () {
|
|
|
18551
18665
|
doesParamExist.default({
|
|
18552
18666
|
transactionId: transactionId
|
|
18553
18667
|
}, opts.hyperMediaEndpoint);
|
|
18554
|
-
return _context40.abrupt("return", request(_objectSpread$
|
|
18668
|
+
return _context40.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18555
18669
|
path: pathCreateSendClaim(transactionId)
|
|
18556
18670
|
}), {
|
|
18557
18671
|
method: 'post',
|
|
@@ -18592,7 +18706,7 @@ var updateClaim = /*#__PURE__*/function () {
|
|
|
18592
18706
|
claimId: claimId,
|
|
18593
18707
|
transactionId: transactionId
|
|
18594
18708
|
}, opts.hyperMediaEndpoint);
|
|
18595
|
-
return _context41.abrupt("return", request(_objectSpread$
|
|
18709
|
+
return _context41.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18596
18710
|
path: pathClaim(transactionId, claimId)
|
|
18597
18711
|
}), {
|
|
18598
18712
|
method: 'put',
|
|
@@ -18630,7 +18744,7 @@ var completeTransaction = /*#__PURE__*/function () {
|
|
|
18630
18744
|
doesParamExist.default({
|
|
18631
18745
|
transactionId: transactionId
|
|
18632
18746
|
}, opts.hyperMediaEndpoint);
|
|
18633
|
-
return _context42.abrupt("return", request(_objectSpread$
|
|
18747
|
+
return _context42.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18634
18748
|
path: pathCompleteTransaction(transactionId)
|
|
18635
18749
|
}), {
|
|
18636
18750
|
method: 'post'
|
|
@@ -18669,7 +18783,7 @@ var approveClaim = /*#__PURE__*/function () {
|
|
|
18669
18783
|
doesParamExist.default({
|
|
18670
18784
|
transactionId: transactionId
|
|
18671
18785
|
}, opts.hyperMediaEndpoint);
|
|
18672
|
-
return _context43.abrupt("return", request(_objectSpread$
|
|
18786
|
+
return _context43.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18673
18787
|
path: pathApproveClaim(transactionId, claimId)
|
|
18674
18788
|
}), {
|
|
18675
18789
|
method: 'post',
|
|
@@ -18709,7 +18823,7 @@ var cancelClaim = /*#__PURE__*/function () {
|
|
|
18709
18823
|
claimId: claimId,
|
|
18710
18824
|
transactionId: transactionId
|
|
18711
18825
|
}, opts.hyperMediaEndpoint);
|
|
18712
|
-
return _context44.abrupt("return", request(_objectSpread$
|
|
18826
|
+
return _context44.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18713
18827
|
path: pathCancelClaim(transactionId, claimId)
|
|
18714
18828
|
}), {
|
|
18715
18829
|
method: 'post',
|
|
@@ -18749,7 +18863,7 @@ var submitClaim = /*#__PURE__*/function () {
|
|
|
18749
18863
|
doesParamExist.default({
|
|
18750
18864
|
transactionId: transactionId
|
|
18751
18865
|
}, opts.hyperMediaEndpoint);
|
|
18752
|
-
return _context45.abrupt("return", request(_objectSpread$
|
|
18866
|
+
return _context45.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18753
18867
|
path: pathSubmitClaim(transactionId, claimId)
|
|
18754
18868
|
}), {
|
|
18755
18869
|
method: 'post',
|
|
@@ -18789,7 +18903,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
|
|
|
18789
18903
|
claimId: claimId,
|
|
18790
18904
|
transactionId: transactionId
|
|
18791
18905
|
}, opts.hyperMediaEndpoint);
|
|
18792
|
-
return _context46.abrupt("return", request(_objectSpread$
|
|
18906
|
+
return _context46.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18793
18907
|
path: pathSaveClaim(transactionId, claimId)
|
|
18794
18908
|
}), {
|
|
18795
18909
|
method: 'post'
|
|
@@ -18827,7 +18941,7 @@ var pay = /*#__PURE__*/function () {
|
|
|
18827
18941
|
doesParamExist.default({
|
|
18828
18942
|
transactionId: transactionId
|
|
18829
18943
|
}, opts.hyperMediaEndpoint);
|
|
18830
|
-
return _context47.abrupt("return", request(_objectSpread$
|
|
18944
|
+
return _context47.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18831
18945
|
path: pathTransactionPays(transactionId)
|
|
18832
18946
|
}), {
|
|
18833
18947
|
method: 'post',
|
|
@@ -18866,7 +18980,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
18866
18980
|
doesParamExist.default({
|
|
18867
18981
|
transactionId: transactionId
|
|
18868
18982
|
}, opts.hyperMediaEndpoint);
|
|
18869
|
-
return _context48.abrupt("return", request(_objectSpread$
|
|
18983
|
+
return _context48.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18870
18984
|
path: pathTransactionProcessingRequests(transactionId)
|
|
18871
18985
|
}), {
|
|
18872
18986
|
method: 'post',
|
|
@@ -18905,7 +19019,7 @@ var cancelInvoice = /*#__PURE__*/function () {
|
|
|
18905
19019
|
doesParamExist.default({
|
|
18906
19020
|
transactionId: transactionId
|
|
18907
19021
|
}, opts.hyperMediaEndpoint);
|
|
18908
|
-
return _context49.abrupt("return", request(_objectSpread$
|
|
19022
|
+
return _context49.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18909
19023
|
path: pathTransactionCancel(transactionId)
|
|
18910
19024
|
}), {
|
|
18911
19025
|
method: 'post',
|
|
@@ -18943,7 +19057,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
18943
19057
|
doesParamExist.default({
|
|
18944
19058
|
transactionId: transactionId
|
|
18945
19059
|
}, opts.hyperMediaEndpoint);
|
|
18946
|
-
return _context50.abrupt("return", request(_objectSpread$
|
|
19060
|
+
return _context50.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18947
19061
|
path: pathTransactionPaymentLink(transactionId)
|
|
18948
19062
|
}), {
|
|
18949
19063
|
method: 'get'
|
|
@@ -18983,7 +19097,7 @@ var refundByBusiness = /*#__PURE__*/function () {
|
|
|
18983
19097
|
businessId: businessId,
|
|
18984
19098
|
transactionId: transactionId
|
|
18985
19099
|
}, opts.hyperMediaEndpoint);
|
|
18986
|
-
return _context51.abrupt("return", request(_objectSpread$
|
|
19100
|
+
return _context51.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18987
19101
|
path: pathBusinessTransactionRefund(businessId, transactionId)
|
|
18988
19102
|
}), {
|
|
18989
19103
|
method: 'post',
|
|
@@ -19022,7 +19136,7 @@ var refund = /*#__PURE__*/function () {
|
|
|
19022
19136
|
doesParamExist.default({
|
|
19023
19137
|
transactionId: transactionId
|
|
19024
19138
|
}, opts.hyperMediaEndpoint);
|
|
19025
|
-
return _context52.abrupt("return", request(_objectSpread$
|
|
19139
|
+
return _context52.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19026
19140
|
path: pathTransactionRefund(transactionId)
|
|
19027
19141
|
}), {
|
|
19028
19142
|
method: 'post',
|
|
@@ -19061,7 +19175,7 @@ var saveDraft = /*#__PURE__*/function () {
|
|
|
19061
19175
|
doesParamExist.default({
|
|
19062
19176
|
businessId: businessId
|
|
19063
19177
|
}, opts.hyperMediaEndpoint);
|
|
19064
|
-
return _context53.abrupt("return", request(_objectSpread$
|
|
19178
|
+
return _context53.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19065
19179
|
path: pathCreateDraft(businessId)
|
|
19066
19180
|
}), {
|
|
19067
19181
|
method: 'post',
|
|
@@ -19100,7 +19214,7 @@ var convertDraft = /*#__PURE__*/function () {
|
|
|
19100
19214
|
doesParamExist.default({
|
|
19101
19215
|
transactionId: transactionId
|
|
19102
19216
|
}, opts.hyperMediaEndpoint);
|
|
19103
|
-
return _context54.abrupt("return", request(_objectSpread$
|
|
19217
|
+
return _context54.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19104
19218
|
path: pathConvertDraft(transactionId)
|
|
19105
19219
|
}), {
|
|
19106
19220
|
method: 'post',
|
|
@@ -19138,7 +19252,7 @@ var archive = /*#__PURE__*/function () {
|
|
|
19138
19252
|
doesParamExist.default({
|
|
19139
19253
|
transactionId: transactionId
|
|
19140
19254
|
}, opts.hyperMediaEndpoint);
|
|
19141
|
-
return _context55.abrupt("return", request(_objectSpread$
|
|
19255
|
+
return _context55.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19142
19256
|
path: pathTransactionArchives(transactionId)
|
|
19143
19257
|
}), {
|
|
19144
19258
|
method: 'put'
|
|
@@ -19175,7 +19289,7 @@ var unarchive = /*#__PURE__*/function () {
|
|
|
19175
19289
|
doesParamExist.default({
|
|
19176
19290
|
transactionId: transactionId
|
|
19177
19291
|
}, opts.hyperMediaEndpoint);
|
|
19178
|
-
return _context56.abrupt("return", request(_objectSpread$
|
|
19292
|
+
return _context56.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19179
19293
|
path: pathTransactionUnarchives(transactionId)
|
|
19180
19294
|
}), {
|
|
19181
19295
|
method: 'put'
|
|
@@ -19213,7 +19327,7 @@ var terminalInput = /*#__PURE__*/function () {
|
|
|
19213
19327
|
doesParamExist.default({
|
|
19214
19328
|
transactionId: transactionId
|
|
19215
19329
|
}, opts.hyperMediaEndpoint);
|
|
19216
|
-
return _context57.abrupt("return", request(_objectSpread$
|
|
19330
|
+
return _context57.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19217
19331
|
path: pathTransactionTerminalInput(transactionId)
|
|
19218
19332
|
}), {
|
|
19219
19333
|
method: 'post',
|
|
@@ -19252,7 +19366,7 @@ var terminalCancellation = /*#__PURE__*/function () {
|
|
|
19252
19366
|
doesParamExist.default({
|
|
19253
19367
|
transactionId: transactionId
|
|
19254
19368
|
}, opts.hyperMediaEndpoint);
|
|
19255
|
-
return _context58.abrupt("return", request(_objectSpread$
|
|
19369
|
+
return _context58.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19256
19370
|
path: pathTransactionTerminalCancel(transactionId)
|
|
19257
19371
|
}), {
|
|
19258
19372
|
method: 'post',
|
|
@@ -19292,7 +19406,7 @@ var refundPayment = /*#__PURE__*/function () {
|
|
|
19292
19406
|
doesParamExist.default({
|
|
19293
19407
|
transactionId: transactionId
|
|
19294
19408
|
}, opts.hyperMediaEndpoint);
|
|
19295
|
-
return _context59.abrupt("return", request(_objectSpread$
|
|
19409
|
+
return _context59.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19296
19410
|
path: pathTransactionPaymentRefund(transactionId, paymentId)
|
|
19297
19411
|
}), {
|
|
19298
19412
|
method: 'post',
|
|
@@ -19327,7 +19441,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19327
19441
|
opts = {};
|
|
19328
19442
|
}
|
|
19329
19443
|
|
|
19330
|
-
return _context60.abrupt("return", request(_objectSpread$
|
|
19444
|
+
return _context60.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19331
19445
|
path: pathCreateEclipseInPatientInvoice()
|
|
19332
19446
|
}), {
|
|
19333
19447
|
method: 'post',
|
|
@@ -19362,7 +19476,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19362
19476
|
opts = {};
|
|
19363
19477
|
}
|
|
19364
19478
|
|
|
19365
|
-
return _context61.abrupt("return", request(_objectSpread$
|
|
19479
|
+
return _context61.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19366
19480
|
path: pathCreateEclipseOverseasInvoice()
|
|
19367
19481
|
}), {
|
|
19368
19482
|
method: 'post',
|
|
@@ -19397,7 +19511,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
|
|
|
19397
19511
|
opts = {};
|
|
19398
19512
|
}
|
|
19399
19513
|
|
|
19400
|
-
return _context62.abrupt("return", request(_objectSpread$
|
|
19514
|
+
return _context62.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19401
19515
|
path: pathCreateEclipseOnlineEligibilityCheckInvoice()
|
|
19402
19516
|
}), {
|
|
19403
19517
|
method: 'post',
|
|
@@ -19437,7 +19551,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
19437
19551
|
businessId: businessId,
|
|
19438
19552
|
transactionId: transactionId
|
|
19439
19553
|
}, opts.hyperMediaEndpoint);
|
|
19440
|
-
return _context63.abrupt("return", request(_objectSpread$
|
|
19554
|
+
return _context63.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19441
19555
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
|
|
19442
19556
|
}), {
|
|
19443
19557
|
method: 'get',
|
|
@@ -19477,7 +19591,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
19477
19591
|
businessId: businessId,
|
|
19478
19592
|
transactionId: transactionId
|
|
19479
19593
|
}, opts.hyperMediaEndpoint);
|
|
19480
|
-
return _context64.abrupt("return", request(_objectSpread$
|
|
19594
|
+
return _context64.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19481
19595
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
|
|
19482
19596
|
}), {
|
|
19483
19597
|
method: 'get',
|
|
@@ -19516,7 +19630,7 @@ var reconcileClaim = /*#__PURE__*/function () {
|
|
|
19516
19630
|
doesParamExist.default({
|
|
19517
19631
|
transactionId: transactionId
|
|
19518
19632
|
}, opts.hyperMediaEndpoint);
|
|
19519
|
-
return _context65.abrupt("return", request(_objectSpread$
|
|
19633
|
+
return _context65.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19520
19634
|
path: pathReconcileClaim(transactionId, claimId)
|
|
19521
19635
|
}), {
|
|
19522
19636
|
method: 'post'
|
|
@@ -19550,7 +19664,7 @@ var saveDraftEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19550
19664
|
opts = {};
|
|
19551
19665
|
}
|
|
19552
19666
|
|
|
19553
|
-
return _context66.abrupt("return", request(_objectSpread$
|
|
19667
|
+
return _context66.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19554
19668
|
path: pathSaveDraftEclipseInPatientInvoice()
|
|
19555
19669
|
}), {
|
|
19556
19670
|
method: 'post',
|
|
@@ -19585,7 +19699,7 @@ var saveDraftEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19585
19699
|
opts = {};
|
|
19586
19700
|
}
|
|
19587
19701
|
|
|
19588
|
-
return _context67.abrupt("return", request(_objectSpread$
|
|
19702
|
+
return _context67.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19589
19703
|
path: pathSaveDraftEclipseOverseasInvoice()
|
|
19590
19704
|
}), {
|
|
19591
19705
|
method: 'post',
|
|
@@ -19676,9 +19790,9 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
19676
19790
|
saveDraftEclipseOverseasInvoice: saveDraftEclipseOverseasInvoice
|
|
19677
19791
|
});
|
|
19678
19792
|
|
|
19679
|
-
function ownKeys$
|
|
19793
|
+
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; }
|
|
19680
19794
|
|
|
19681
|
-
function _objectSpread$
|
|
19795
|
+
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; }
|
|
19682
19796
|
|
|
19683
19797
|
var pathTrigger = function pathTrigger(triggerId) {
|
|
19684
19798
|
return "/triggers/" + triggerId;
|
|
@@ -19705,7 +19819,7 @@ var getTrigger = /*#__PURE__*/function () {
|
|
|
19705
19819
|
doesParamExist.default({
|
|
19706
19820
|
triggerId: triggerId
|
|
19707
19821
|
}, opts.hyperMediaEndpoint);
|
|
19708
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19822
|
+
return _context.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19709
19823
|
path: pathTrigger(triggerId)
|
|
19710
19824
|
}), {
|
|
19711
19825
|
method: 'get'
|
|
@@ -19743,7 +19857,7 @@ var getTriggers = /*#__PURE__*/function () {
|
|
|
19743
19857
|
opts = {};
|
|
19744
19858
|
}
|
|
19745
19859
|
|
|
19746
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
19860
|
+
return _context2.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19747
19861
|
path: PATH__TRIGGERS
|
|
19748
19862
|
}), {
|
|
19749
19863
|
method: 'get',
|
|
@@ -19782,7 +19896,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
|
|
|
19782
19896
|
opts = {};
|
|
19783
19897
|
}
|
|
19784
19898
|
|
|
19785
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
19899
|
+
return _context3.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19786
19900
|
path: PATH__TRIGGER_CATEGORIES
|
|
19787
19901
|
}), {
|
|
19788
19902
|
method: 'get',
|
|
@@ -19809,9 +19923,9 @@ var triggers = /*#__PURE__*/Object.freeze({
|
|
|
19809
19923
|
getTriggerCategories: getTriggerCategories
|
|
19810
19924
|
});
|
|
19811
19925
|
|
|
19812
|
-
function ownKeys$
|
|
19926
|
+
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; }
|
|
19813
19927
|
|
|
19814
|
-
function _objectSpread$
|
|
19928
|
+
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; }
|
|
19815
19929
|
var pathHealthFundVendors = function pathHealthFundVendors(healthFundId) {
|
|
19816
19930
|
return "/healthfunds/" + healthFundId + "/vendors";
|
|
19817
19931
|
};
|
|
@@ -19827,7 +19941,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
|
|
|
19827
19941
|
healthFundId: healthFundId,
|
|
19828
19942
|
vendorId: vendorId
|
|
19829
19943
|
}, opts.hyperMediaEndpoint);
|
|
19830
|
-
return request(_objectSpread$
|
|
19944
|
+
return request(_objectSpread$17({}, opts, {
|
|
19831
19945
|
path: pathHealthFundVendor(healthFundId, vendorId)
|
|
19832
19946
|
}), {
|
|
19833
19947
|
method: 'get',
|
|
@@ -19842,7 +19956,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
|
|
|
19842
19956
|
doesParamExist.default({
|
|
19843
19957
|
healthFundId: healthFundId
|
|
19844
19958
|
}, opts.hyperMediaEndpoint);
|
|
19845
|
-
return request(_objectSpread$
|
|
19959
|
+
return request(_objectSpread$17({}, opts, {
|
|
19846
19960
|
path: pathHealthFundVendors(healthFundId)
|
|
19847
19961
|
}), {
|
|
19848
19962
|
method: 'get',
|
|
@@ -19858,9 +19972,9 @@ var vendors = /*#__PURE__*/Object.freeze({
|
|
|
19858
19972
|
getHealthFundVendors: getHealthFundVendors
|
|
19859
19973
|
});
|
|
19860
19974
|
|
|
19861
|
-
function ownKeys$
|
|
19975
|
+
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; }
|
|
19862
19976
|
|
|
19863
|
-
function _objectSpread$
|
|
19977
|
+
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; }
|
|
19864
19978
|
var PATH__MEDICARE_VERIFY = '/medicare/verify';
|
|
19865
19979
|
/**
|
|
19866
19980
|
* Verify medicare details
|
|
@@ -19878,7 +19992,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
|
|
|
19878
19992
|
opts = {};
|
|
19879
19993
|
}
|
|
19880
19994
|
|
|
19881
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19995
|
+
return _context.abrupt("return", request(_objectSpread$18({}, opts, {
|
|
19882
19996
|
path: PATH__MEDICARE_VERIFY
|
|
19883
19997
|
}), {
|
|
19884
19998
|
method: 'POST',
|
|
@@ -19904,9 +20018,9 @@ var verify = /*#__PURE__*/Object.freeze({
|
|
|
19904
20018
|
verifyMedicare: verifyMedicare$1
|
|
19905
20019
|
});
|
|
19906
20020
|
|
|
19907
|
-
function ownKeys$
|
|
20021
|
+
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; }
|
|
19908
20022
|
|
|
19909
|
-
function _objectSpread$
|
|
20023
|
+
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; }
|
|
19910
20024
|
var pathSendWorkerMessage = function pathSendWorkerMessage() {
|
|
19911
20025
|
return "/workers/messages";
|
|
19912
20026
|
};
|
|
@@ -19915,7 +20029,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
|
|
|
19915
20029
|
opts = {};
|
|
19916
20030
|
}
|
|
19917
20031
|
|
|
19918
|
-
return request(_objectSpread$
|
|
20032
|
+
return request(_objectSpread$19({}, opts, {
|
|
19919
20033
|
path: pathSendWorkerMessage()
|
|
19920
20034
|
}), {
|
|
19921
20035
|
method: 'post',
|
|
@@ -19929,9 +20043,9 @@ var workers = /*#__PURE__*/Object.freeze({
|
|
|
19929
20043
|
sendWorkerMessage: sendWorkerMessage
|
|
19930
20044
|
});
|
|
19931
20045
|
|
|
19932
|
-
function ownKeys$
|
|
20046
|
+
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; }
|
|
19933
20047
|
|
|
19934
|
-
function _objectSpread$
|
|
20048
|
+
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; }
|
|
19935
20049
|
var pathHealthFundWorkflowExceptions = function pathHealthFundWorkflowExceptions(healthFundId) {
|
|
19936
20050
|
return "/healthfunds/" + healthFundId + "/workflowexceptions";
|
|
19937
20051
|
};
|
|
@@ -19943,7 +20057,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
|
|
|
19943
20057
|
doesParamExist.default({
|
|
19944
20058
|
healthFundId: healthFundId
|
|
19945
20059
|
}, opts.hyperMediaEndpoint);
|
|
19946
|
-
return request(_objectSpread$
|
|
20060
|
+
return request(_objectSpread$1a({}, opts, {
|
|
19947
20061
|
path: pathHealthFundWorkflowExceptions(healthFundId)
|
|
19948
20062
|
}), {
|
|
19949
20063
|
method: 'get',
|
|
@@ -20665,9 +20779,9 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
20665
20779
|
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
20666
20780
|
});
|
|
20667
20781
|
|
|
20668
|
-
function ownKeys$
|
|
20782
|
+
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; }
|
|
20669
20783
|
|
|
20670
|
-
function _objectSpread$
|
|
20784
|
+
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; }
|
|
20671
20785
|
/**
|
|
20672
20786
|
* Get current app version
|
|
20673
20787
|
*/
|
|
@@ -20809,7 +20923,7 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20809
20923
|
break;
|
|
20810
20924
|
}
|
|
20811
20925
|
|
|
20812
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20926
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
20813
20927
|
requiresUpdate: true,
|
|
20814
20928
|
isForced: true
|
|
20815
20929
|
}));
|
|
@@ -20820,12 +20934,12 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20820
20934
|
break;
|
|
20821
20935
|
}
|
|
20822
20936
|
|
|
20823
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20937
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
20824
20938
|
requiresUpdate: true
|
|
20825
20939
|
}));
|
|
20826
20940
|
|
|
20827
20941
|
case 14:
|
|
20828
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20942
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
20829
20943
|
requiresUpdate: false
|
|
20830
20944
|
}));
|
|
20831
20945
|
|
|
@@ -20851,9 +20965,85 @@ var versions = /*#__PURE__*/Object.freeze({
|
|
|
20851
20965
|
checkAppVersion: checkAppVersion
|
|
20852
20966
|
});
|
|
20853
20967
|
|
|
20854
|
-
|
|
20968
|
+
var _getSelfApplicationCache;
|
|
20855
20969
|
|
|
20856
|
-
|
|
20970
|
+
var _getSelfApplicationCacheInProgress = false;
|
|
20971
|
+
var getSelfApplicationCached = /*#__PURE__*/function () {
|
|
20972
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
20973
|
+
var data;
|
|
20974
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
20975
|
+
while (1) {
|
|
20976
|
+
switch (_context.prev = _context.next) {
|
|
20977
|
+
case 0:
|
|
20978
|
+
if (!_getSelfApplicationCache) {
|
|
20979
|
+
_context.next = 2;
|
|
20980
|
+
break;
|
|
20981
|
+
}
|
|
20982
|
+
|
|
20983
|
+
return _context.abrupt("return", _getSelfApplicationCache);
|
|
20984
|
+
|
|
20985
|
+
case 2:
|
|
20986
|
+
if (_getSelfApplicationCacheInProgress) {
|
|
20987
|
+
_context.next = 13;
|
|
20988
|
+
break;
|
|
20989
|
+
}
|
|
20990
|
+
|
|
20991
|
+
_context.prev = 3;
|
|
20992
|
+
_getSelfApplicationCacheInProgress = true;
|
|
20993
|
+
_context.next = 7;
|
|
20994
|
+
return sdkClient.applications.getSelfApplication();
|
|
20995
|
+
|
|
20996
|
+
case 7:
|
|
20997
|
+
_getSelfApplicationCache = _context.sent;
|
|
20998
|
+
|
|
20999
|
+
case 8:
|
|
21000
|
+
_context.prev = 8;
|
|
21001
|
+
_getSelfApplicationCacheInProgress = false;
|
|
21002
|
+
return _context.finish(8);
|
|
21003
|
+
|
|
21004
|
+
case 11:
|
|
21005
|
+
_context.next = 18;
|
|
21006
|
+
break;
|
|
21007
|
+
|
|
21008
|
+
case 13:
|
|
21009
|
+
_context.next = 15;
|
|
21010
|
+
return new Promise(function (resolve) {
|
|
21011
|
+
return setTimeout(resolve, 100);
|
|
21012
|
+
});
|
|
21013
|
+
|
|
21014
|
+
case 15:
|
|
21015
|
+
data = _getSelfApplicationCache;
|
|
21016
|
+
|
|
21017
|
+
case 16:
|
|
21018
|
+
if (!data) {
|
|
21019
|
+
_context.next = 13;
|
|
21020
|
+
break;
|
|
21021
|
+
}
|
|
21022
|
+
|
|
21023
|
+
case 17:
|
|
21024
|
+
return _context.abrupt("return", data);
|
|
21025
|
+
|
|
21026
|
+
case 18:
|
|
21027
|
+
case "end":
|
|
21028
|
+
return _context.stop();
|
|
21029
|
+
}
|
|
21030
|
+
}
|
|
21031
|
+
}, _callee, null, [[3,, 8, 11]]);
|
|
21032
|
+
}));
|
|
21033
|
+
|
|
21034
|
+
return function getSelfApplicationCached() {
|
|
21035
|
+
return _ref.apply(this, arguments);
|
|
21036
|
+
};
|
|
21037
|
+
}();
|
|
21038
|
+
|
|
21039
|
+
var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
21040
|
+
__proto__: null,
|
|
21041
|
+
getSelfApplicationCached: getSelfApplicationCached
|
|
21042
|
+
});
|
|
21043
|
+
|
|
21044
|
+
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; }
|
|
21045
|
+
|
|
21046
|
+
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; }
|
|
20857
21047
|
|
|
20858
21048
|
function parseProfessions(_x, _x2) {
|
|
20859
21049
|
return _parseProfessions.apply(this, arguments);
|
|
@@ -20900,19 +21090,19 @@ function _parseProfessions() {
|
|
|
20900
21090
|
professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
|
|
20901
21091
|
var _objectSpread2;
|
|
20902
21092
|
|
|
20903
|
-
return _objectSpread$
|
|
21093
|
+
return _objectSpread$1c({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
20904
21094
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
20905
21095
|
{});
|
|
20906
21096
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
20907
21097
|
var _objectSpread3;
|
|
20908
21098
|
|
|
20909
|
-
return _objectSpread$
|
|
21099
|
+
return _objectSpread$1c({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
20910
21100
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
20911
21101
|
{});
|
|
20912
21102
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
20913
21103
|
var _objectSpread4;
|
|
20914
21104
|
|
|
20915
|
-
return _objectSpread$
|
|
21105
|
+
return _objectSpread$1c({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
|
|
20916
21106
|
}, {});
|
|
20917
21107
|
newProfessions = professions.map(function (registration) {
|
|
20918
21108
|
var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
|
|
@@ -20943,85 +21133,9 @@ var professionsUtils = /*#__PURE__*/Object.freeze({
|
|
|
20943
21133
|
parseProfessions: parseProfessions
|
|
20944
21134
|
});
|
|
20945
21135
|
|
|
20946
|
-
var
|
|
20947
|
-
|
|
20948
|
-
var _getSelfApplicationCacheInProgress = false;
|
|
20949
|
-
var getSelfApplicationCached = /*#__PURE__*/function () {
|
|
20950
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
20951
|
-
var data;
|
|
20952
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
20953
|
-
while (1) {
|
|
20954
|
-
switch (_context.prev = _context.next) {
|
|
20955
|
-
case 0:
|
|
20956
|
-
if (!_getSelfApplicationCache) {
|
|
20957
|
-
_context.next = 2;
|
|
20958
|
-
break;
|
|
20959
|
-
}
|
|
20960
|
-
|
|
20961
|
-
return _context.abrupt("return", _getSelfApplicationCache);
|
|
20962
|
-
|
|
20963
|
-
case 2:
|
|
20964
|
-
if (_getSelfApplicationCacheInProgress) {
|
|
20965
|
-
_context.next = 13;
|
|
20966
|
-
break;
|
|
20967
|
-
}
|
|
20968
|
-
|
|
20969
|
-
_context.prev = 3;
|
|
20970
|
-
_getSelfApplicationCacheInProgress = true;
|
|
20971
|
-
_context.next = 7;
|
|
20972
|
-
return sdkClient.applications.getSelfApplication();
|
|
20973
|
-
|
|
20974
|
-
case 7:
|
|
20975
|
-
_getSelfApplicationCache = _context.sent;
|
|
20976
|
-
|
|
20977
|
-
case 8:
|
|
20978
|
-
_context.prev = 8;
|
|
20979
|
-
_getSelfApplicationCacheInProgress = false;
|
|
20980
|
-
return _context.finish(8);
|
|
20981
|
-
|
|
20982
|
-
case 11:
|
|
20983
|
-
_context.next = 18;
|
|
20984
|
-
break;
|
|
20985
|
-
|
|
20986
|
-
case 13:
|
|
20987
|
-
_context.next = 15;
|
|
20988
|
-
return new Promise(function (resolve) {
|
|
20989
|
-
return setTimeout(resolve, 100);
|
|
20990
|
-
});
|
|
20991
|
-
|
|
20992
|
-
case 15:
|
|
20993
|
-
data = _getSelfApplicationCache;
|
|
20994
|
-
|
|
20995
|
-
case 16:
|
|
20996
|
-
if (!data) {
|
|
20997
|
-
_context.next = 13;
|
|
20998
|
-
break;
|
|
20999
|
-
}
|
|
21000
|
-
|
|
21001
|
-
case 17:
|
|
21002
|
-
return _context.abrupt("return", data);
|
|
21003
|
-
|
|
21004
|
-
case 18:
|
|
21005
|
-
case "end":
|
|
21006
|
-
return _context.stop();
|
|
21007
|
-
}
|
|
21008
|
-
}
|
|
21009
|
-
}, _callee, null, [[3,, 8, 11]]);
|
|
21010
|
-
}));
|
|
21011
|
-
|
|
21012
|
-
return function getSelfApplicationCached() {
|
|
21013
|
-
return _ref.apply(this, arguments);
|
|
21014
|
-
};
|
|
21015
|
-
}();
|
|
21016
|
-
|
|
21017
|
-
var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
21018
|
-
__proto__: null,
|
|
21019
|
-
getSelfApplicationCached: getSelfApplicationCached
|
|
21020
|
-
});
|
|
21021
|
-
|
|
21022
|
-
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; }
|
|
21136
|
+
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; }
|
|
21023
21137
|
|
|
21024
|
-
function _objectSpread$
|
|
21138
|
+
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; }
|
|
21025
21139
|
var APP_ID = 'web-application';
|
|
21026
21140
|
var API_VER = '0.82.0';
|
|
21027
21141
|
var API_VERSIONS = {
|
|
@@ -21054,7 +21168,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
21054
21168
|
return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
|
|
21055
21169
|
var _objectSpread2;
|
|
21056
21170
|
|
|
21057
|
-
return _objectSpread$
|
|
21171
|
+
return _objectSpread$1d({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
|
|
21058
21172
|
}, {});
|
|
21059
21173
|
};
|
|
21060
21174
|
|
|
@@ -21107,6 +21221,7 @@ var sdkClient = {
|
|
|
21107
21221
|
funders: funders,
|
|
21108
21222
|
funderServices: funderServices,
|
|
21109
21223
|
funderSettings: funderSettings,
|
|
21224
|
+
funderValues: funderValues,
|
|
21110
21225
|
futures: futures,
|
|
21111
21226
|
healthFundAccounts: healthFundAccounts,
|
|
21112
21227
|
healthFundSettings: healthFundSettings,
|
|
@@ -21188,7 +21303,7 @@ var sdkClient = {
|
|
|
21188
21303
|
this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
|
|
21189
21304
|
}
|
|
21190
21305
|
|
|
21191
|
-
this.setConfig(_objectSpread$
|
|
21306
|
+
this.setConfig(_objectSpread$1d({}, opts, {
|
|
21192
21307
|
env: env
|
|
21193
21308
|
}));
|
|
21194
21309
|
this.hasInit = true; // Setup request/response interceptors
|
|
@@ -21422,9 +21537,9 @@ var sdkClient = {
|
|
|
21422
21537
|
}
|
|
21423
21538
|
};
|
|
21424
21539
|
|
|
21425
|
-
function ownKeys$
|
|
21540
|
+
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; }
|
|
21426
21541
|
|
|
21427
|
-
function _objectSpread$
|
|
21542
|
+
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; }
|
|
21428
21543
|
function parseProviderSet(_x, _x2) {
|
|
21429
21544
|
return _parseProviderSet.apply(this, arguments);
|
|
21430
21545
|
}
|
|
@@ -21537,20 +21652,20 @@ function _parseProviderSet() {
|
|
|
21537
21652
|
fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
|
|
21538
21653
|
var _objectSpread2;
|
|
21539
21654
|
|
|
21540
|
-
return _objectSpread$
|
|
21655
|
+
return _objectSpread$1e({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
|
|
21541
21656
|
}, {});
|
|
21542
21657
|
practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
|
|
21543
21658
|
var _objectSpread3;
|
|
21544
21659
|
|
|
21545
|
-
return _objectSpread$
|
|
21660
|
+
return _objectSpread$1e({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
|
|
21546
21661
|
}, {});
|
|
21547
21662
|
providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
|
|
21548
21663
|
var _objectSpread4;
|
|
21549
21664
|
|
|
21550
|
-
return _objectSpread$
|
|
21665
|
+
return _objectSpread$1e({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
|
|
21551
21666
|
}, {});
|
|
21552
21667
|
newProviderSet = providerSet.map(function (providerData, i) {
|
|
21553
|
-
return _objectSpread$
|
|
21668
|
+
return _objectSpread$1e({}, providerData, {}, providerRegistrations[i], {
|
|
21554
21669
|
practice: practicesMap[providerData.practiceId],
|
|
21555
21670
|
funder: fundersMap[providerData.funderId]
|
|
21556
21671
|
}, parseProviderNumberType && {
|
|
@@ -21681,6 +21796,7 @@ exports.createBulkUpload = createBulkUpload;
|
|
|
21681
21796
|
exports.createBusinesFunderSettings = createBusinesFunderSettings;
|
|
21682
21797
|
exports.createBusiness = createBusiness;
|
|
21683
21798
|
exports.createBusinessAccount = createBusinessAccount;
|
|
21799
|
+
exports.createBusinessFunderValue = createBusinessFunderValue;
|
|
21684
21800
|
exports.createBusinessHold = createBusinessHold;
|
|
21685
21801
|
exports.createBusinessInstalmentPlan = createBusinessInstalmentPlan;
|
|
21686
21802
|
exports.createBusinessLog = createBusinessLog;
|
|
@@ -21741,6 +21857,7 @@ exports.deleteAccountSecretKey = deleteAccountSecretKey;
|
|
|
21741
21857
|
exports.deleteApiKey = deleteApiKey;
|
|
21742
21858
|
exports.deleteBusinesFunderSettings = deleteBusinesFunderSettings;
|
|
21743
21859
|
exports.deleteBusiness = deleteBusiness;
|
|
21860
|
+
exports.deleteBusinessFunderValue = deleteBusinessFunderValue;
|
|
21744
21861
|
exports.deleteBusinessPatient = deleteBusinessPatient;
|
|
21745
21862
|
exports.deleteBusinessPatientHealthFundAccount = deleteBusinessPatientHealthFundAccount;
|
|
21746
21863
|
exports.deleteBusinessPatientPaymentMethod = deleteBusinessPatientPaymentMethod;
|
|
@@ -21786,6 +21903,7 @@ exports.formApplications = formApplications;
|
|
|
21786
21903
|
exports.forms = forms;
|
|
21787
21904
|
exports.funderServices = funderServices;
|
|
21788
21905
|
exports.funderSettings = funderSettings;
|
|
21906
|
+
exports.funderValues = funderValues;
|
|
21789
21907
|
exports.funders = funders;
|
|
21790
21908
|
exports.futures = futures;
|
|
21791
21909
|
exports.generateAuthy = generateAuthy;
|
|
@@ -21826,6 +21944,8 @@ exports.getBusinessFormApplicationTemplate = getBusinessFormApplicationTemplate;
|
|
|
21826
21944
|
exports.getBusinessFormPracticeStaffMembers = getBusinessFormPracticeStaffMembers;
|
|
21827
21945
|
exports.getBusinessFormPractices = getBusinessFormPractices;
|
|
21828
21946
|
exports.getBusinessFunderSettings = getBusinessFunderSettings;
|
|
21947
|
+
exports.getBusinessFunderValueById = getBusinessFunderValueById;
|
|
21948
|
+
exports.getBusinessFunderValues = getBusinessFunderValues;
|
|
21829
21949
|
exports.getBusinessFuture = getBusinessFuture;
|
|
21830
21950
|
exports.getBusinessFutures = getBusinessFutures;
|
|
21831
21951
|
exports.getBusinessHealthFunds = getBusinessHealthFunds;
|
|
@@ -22110,6 +22230,8 @@ exports.pathCreateHealthFundTransactionExport = pathCreateHealthFundTransactionE
|
|
|
22110
22230
|
exports.pathFunder = pathFunder;
|
|
22111
22231
|
exports.pathFunderSettings = pathFunderSettings;
|
|
22112
22232
|
exports.pathFunderSettingsById = pathFunderSettingsById;
|
|
22233
|
+
exports.pathFunderValues = pathFunderValues;
|
|
22234
|
+
exports.pathFunderValuesById = pathFunderValuesById;
|
|
22113
22235
|
exports.pathFuture = pathFuture;
|
|
22114
22236
|
exports.pathGetClaimAttachmentUrl = pathGetClaimAttachmentUrl;
|
|
22115
22237
|
exports.pathGetDraftProgressStatus = pathGetDraftProgressStatus;
|
|
@@ -22303,6 +22425,7 @@ exports.updateApplication = updateApplication;
|
|
|
22303
22425
|
exports.updateAppointmentForHealthFundRNA = updateAppointmentForHealthFundRNA;
|
|
22304
22426
|
exports.updateBusinesFunderSettings = updateBusinesFunderSettings;
|
|
22305
22427
|
exports.updateBusiness = updateBusiness;
|
|
22428
|
+
exports.updateBusinessFunderValue = updateBusinessFunderValue;
|
|
22306
22429
|
exports.updateBusinessKyc = updateBusinessKyc;
|
|
22307
22430
|
exports.updateBusinessOnboardingApplication = updateBusinessOnboardingApplication;
|
|
22308
22431
|
exports.updateBusinessPatient = updateBusinessPatient;
|