@medipass/web-sdk 11.41.2-feature-eclipse-business-settings.0 → 11.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/lib/index.d.ts +3 -5
- package/lib/index.js +2 -3
- 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/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-eed58bbc.js → staff-f9c0c953.js} +575 -698
- package/lib/types/index.d.ts +0 -5
- 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 +3 -3
- package/lib/resources/funder-values.d.ts +0 -22
- package/lib/resources/funder-values.js +0 -54
- package/lib/types/funder-value.d.ts +0 -15
- package/lib/types/funder-value.js +0 -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 _flatten = _interopDefault(require('lodash/flatten'));
|
|
33
32
|
var regions = require('./regions-a0a28864.js');
|
|
33
|
+
var _flatten = _interopDefault(require('lodash/flatten'));
|
|
34
34
|
|
|
35
35
|
var staffUtils = /*#__PURE__*/Object.freeze({
|
|
36
36
|
__proto__: null,
|
|
@@ -5568,120 +5568,6 @@ 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; }
|
|
5685
5571
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
5686
5572
|
return "/businesses/" + businessId + "/futures";
|
|
5687
5573
|
};
|
|
@@ -5727,7 +5613,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
5727
5613
|
doesParamExist.default({
|
|
5728
5614
|
businessId: businessId
|
|
5729
5615
|
}, opts.hyperMediaEndpoint);
|
|
5730
|
-
return request(_objectSpread$
|
|
5616
|
+
return request(_objectSpread$n({}, opts, {
|
|
5731
5617
|
path: pathBusinessHolds(businessId)
|
|
5732
5618
|
}), {
|
|
5733
5619
|
method: 'post',
|
|
@@ -5749,7 +5635,7 @@ var createBusinessInstalmentPlan = function createBusinessInstalmentPlan(busines
|
|
|
5749
5635
|
doesParamExist.default({
|
|
5750
5636
|
businessId: businessId
|
|
5751
5637
|
}, opts.hyperMediaEndpoint);
|
|
5752
|
-
return request(_objectSpread$
|
|
5638
|
+
return request(_objectSpread$n({}, opts, {
|
|
5753
5639
|
path: pathBusinessInstalmentPlans(businessId)
|
|
5754
5640
|
}), {
|
|
5755
5641
|
method: 'post',
|
|
@@ -5770,7 +5656,7 @@ var cancel = function cancel(futureId, opts) {
|
|
|
5770
5656
|
doesParamExist.default({
|
|
5771
5657
|
futureId: futureId
|
|
5772
5658
|
}, opts.hyperMediaEndpoint);
|
|
5773
|
-
return request(_objectSpread$
|
|
5659
|
+
return request(_objectSpread$n({}, opts, {
|
|
5774
5660
|
path: pathCancels(futureId)
|
|
5775
5661
|
}), {
|
|
5776
5662
|
method: 'post'
|
|
@@ -5791,7 +5677,7 @@ var getBusinessFutures = function getBusinessFutures(businessId, query, opts) {
|
|
|
5791
5677
|
doesParamExist.default({
|
|
5792
5678
|
businessId: businessId
|
|
5793
5679
|
}, opts.hyperMediaEndpoint);
|
|
5794
|
-
return request(_objectSpread$
|
|
5680
|
+
return request(_objectSpread$n({}, opts, {
|
|
5795
5681
|
path: pathBusinessFutures(businessId)
|
|
5796
5682
|
}), {
|
|
5797
5683
|
method: 'get',
|
|
@@ -5814,7 +5700,7 @@ var getBusinessFuture = function getBusinessFuture(businessId, futureId, opts) {
|
|
|
5814
5700
|
businessId: businessId,
|
|
5815
5701
|
futureId: futureId
|
|
5816
5702
|
}, opts.hyperMediaEndpoint);
|
|
5817
|
-
return request(_objectSpread$
|
|
5703
|
+
return request(_objectSpread$n({}, opts, {
|
|
5818
5704
|
path: pathBusinessFuture(businessId, futureId)
|
|
5819
5705
|
}), {
|
|
5820
5706
|
method: 'get'
|
|
@@ -5834,7 +5720,7 @@ var getFuture = function getFuture(futureId, opts) {
|
|
|
5834
5720
|
doesParamExist.default({
|
|
5835
5721
|
futureId: futureId
|
|
5836
5722
|
}, opts.hyperMediaEndpoint);
|
|
5837
|
-
return request(_objectSpread$
|
|
5723
|
+
return request(_objectSpread$n({}, opts, {
|
|
5838
5724
|
path: pathFuture(futureId)
|
|
5839
5725
|
}), {
|
|
5840
5726
|
method: 'get'
|
|
@@ -5859,7 +5745,7 @@ var getPaymentLink = /*#__PURE__*/function () {
|
|
|
5859
5745
|
doesParamExist.default({
|
|
5860
5746
|
futureId: futureId
|
|
5861
5747
|
}, opts.hyperMediaEndpoint);
|
|
5862
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5748
|
+
return _context.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
5863
5749
|
path: pathPaymentLink(futureId)
|
|
5864
5750
|
}), {
|
|
5865
5751
|
method: 'get'
|
|
@@ -5892,7 +5778,7 @@ var sendProcessingRequest = function sendProcessingRequest(futureId, body, opts)
|
|
|
5892
5778
|
doesParamExist.default({
|
|
5893
5779
|
futureId: futureId
|
|
5894
5780
|
}, opts.hyperMediaEndpoint);
|
|
5895
|
-
return request(_objectSpread$
|
|
5781
|
+
return request(_objectSpread$n({}, opts, {
|
|
5896
5782
|
path: pathProcessingRequests(futureId)
|
|
5897
5783
|
}), {
|
|
5898
5784
|
method: 'post',
|
|
@@ -5914,7 +5800,7 @@ var submit = function submit(futureId, body, opts) {
|
|
|
5914
5800
|
doesParamExist.default({
|
|
5915
5801
|
futureId: futureId
|
|
5916
5802
|
}, opts.hyperMediaEndpoint);
|
|
5917
|
-
return request(_objectSpread$
|
|
5803
|
+
return request(_objectSpread$n({}, opts, {
|
|
5918
5804
|
path: pathSubmits(futureId)
|
|
5919
5805
|
}), {
|
|
5920
5806
|
method: 'post',
|
|
@@ -5936,7 +5822,7 @@ var update = function update(futureId, body, opts) {
|
|
|
5936
5822
|
doesParamExist.default({
|
|
5937
5823
|
futureId: futureId
|
|
5938
5824
|
}, opts.hyperMediaEndpoint);
|
|
5939
|
-
return request(_objectSpread$
|
|
5825
|
+
return request(_objectSpread$n({}, opts, {
|
|
5940
5826
|
path: pathFuture(futureId)
|
|
5941
5827
|
}), {
|
|
5942
5828
|
method: 'put',
|
|
@@ -5958,7 +5844,7 @@ var sendReceipt = function sendReceipt(futureId, body, opts) {
|
|
|
5958
5844
|
doesParamExist.default({
|
|
5959
5845
|
futureId: futureId
|
|
5960
5846
|
}, opts.hyperMediaEndpoint);
|
|
5961
|
-
return request(_objectSpread$
|
|
5847
|
+
return request(_objectSpread$n({}, opts, {
|
|
5962
5848
|
path: pathSendReceipt(futureId)
|
|
5963
5849
|
}), {
|
|
5964
5850
|
method: 'post',
|
|
@@ -5991,9 +5877,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
5991
5877
|
sendReceipt: sendReceipt
|
|
5992
5878
|
});
|
|
5993
5879
|
|
|
5994
|
-
function ownKeys$
|
|
5880
|
+
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; }
|
|
5995
5881
|
|
|
5996
|
-
function _objectSpread$
|
|
5882
|
+
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; }
|
|
5997
5883
|
|
|
5998
5884
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
5999
5885
|
return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts";
|
|
@@ -6031,7 +5917,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6031
5917
|
doesParamExist.default({
|
|
6032
5918
|
memberId: memberId
|
|
6033
5919
|
}, opts.hyperMediaEndpoint);
|
|
6034
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5920
|
+
return _context.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6035
5921
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
6036
5922
|
}), {
|
|
6037
5923
|
method: 'post',
|
|
@@ -6072,7 +5958,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6072
5958
|
businessId: businessId,
|
|
6073
5959
|
patientId: patientId
|
|
6074
5960
|
}, opts.hyperMediaEndpoint);
|
|
6075
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
5961
|
+
return _context2.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6076
5962
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6077
5963
|
}), {
|
|
6078
5964
|
method: 'post',
|
|
@@ -6112,7 +5998,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6112
5998
|
memberId: memberId,
|
|
6113
5999
|
healthFundAccountId: healthFundAccountId
|
|
6114
6000
|
}, opts.hyperMediaEndpoint);
|
|
6115
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6001
|
+
return _context3.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6116
6002
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6117
6003
|
}), {
|
|
6118
6004
|
method: 'delete'
|
|
@@ -6153,7 +6039,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6153
6039
|
patientId: patientId,
|
|
6154
6040
|
healthFundAccountId: healthFundAccountId
|
|
6155
6041
|
}, opts.hyperMediaEndpoint);
|
|
6156
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6042
|
+
return _context4.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6157
6043
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6158
6044
|
}), {
|
|
6159
6045
|
method: 'delete'
|
|
@@ -6191,7 +6077,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6191
6077
|
doesParamExist.default({
|
|
6192
6078
|
memberId: memberId
|
|
6193
6079
|
}, opts.hyperMediaEndpoint);
|
|
6194
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6080
|
+
return _context5.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6195
6081
|
path: pathMemberHealthFundAccounts(memberId)
|
|
6196
6082
|
}), {
|
|
6197
6083
|
method: 'get',
|
|
@@ -6232,7 +6118,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6232
6118
|
businessId: businessId,
|
|
6233
6119
|
patientId: patientId
|
|
6234
6120
|
}, opts.hyperMediaEndpoint);
|
|
6235
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6121
|
+
return _context6.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6236
6122
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6237
6123
|
}), {
|
|
6238
6124
|
method: 'get',
|
|
@@ -6272,7 +6158,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6272
6158
|
memberId: memberId,
|
|
6273
6159
|
healthFundAccountId: healthFundAccountId
|
|
6274
6160
|
}, opts.hyperMediaEndpoint);
|
|
6275
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6161
|
+
return _context7.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6276
6162
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
6277
6163
|
}), {
|
|
6278
6164
|
method: 'get'
|
|
@@ -6313,7 +6199,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6313
6199
|
patientId: patientId,
|
|
6314
6200
|
healthFundAccountId: healthFundAccountId
|
|
6315
6201
|
}, opts.hyperMediaEndpoint);
|
|
6316
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6202
|
+
return _context8.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6317
6203
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6318
6204
|
}), {
|
|
6319
6205
|
method: 'get'
|
|
@@ -6353,7 +6239,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6353
6239
|
memberId: memberId,
|
|
6354
6240
|
healthFundAccountId: healthFundAccountId
|
|
6355
6241
|
}, opts.hyperMediaEndpoint);
|
|
6356
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6242
|
+
return _context9.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6357
6243
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6358
6244
|
}), {
|
|
6359
6245
|
method: 'put',
|
|
@@ -6396,7 +6282,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6396
6282
|
patientId: patientId,
|
|
6397
6283
|
healthFundAccountId: healthFundAccountId
|
|
6398
6284
|
}, opts.hyperMediaEndpoint);
|
|
6399
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6285
|
+
return _context10.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6400
6286
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6401
6287
|
}), {
|
|
6402
6288
|
method: 'put',
|
|
@@ -6430,9 +6316,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
6430
6316
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
6431
6317
|
});
|
|
6432
6318
|
|
|
6433
|
-
function ownKeys$
|
|
6319
|
+
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; }
|
|
6434
6320
|
|
|
6435
|
-
function _objectSpread$
|
|
6321
|
+
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; }
|
|
6436
6322
|
|
|
6437
6323
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
6438
6324
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/healthfundsettings";
|
|
@@ -6469,11 +6355,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6469
6355
|
doesParamExist.default({
|
|
6470
6356
|
healthFundId: healthFundId
|
|
6471
6357
|
}, opts.hyperMediaEndpoint);
|
|
6472
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6358
|
+
return _context.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6473
6359
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
6474
6360
|
}), {
|
|
6475
6361
|
method: 'post',
|
|
6476
|
-
data: _objectSpread$
|
|
6362
|
+
data: _objectSpread$p({
|
|
6477
6363
|
enabled: true
|
|
6478
6364
|
}, body)
|
|
6479
6365
|
}));
|
|
@@ -6510,7 +6396,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6510
6396
|
doesParamExist.default({
|
|
6511
6397
|
healthFundId: healthFundId
|
|
6512
6398
|
}, opts.hyperMediaEndpoint);
|
|
6513
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6399
|
+
return _context2.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6514
6400
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6515
6401
|
}), {
|
|
6516
6402
|
method: 'delete'
|
|
@@ -6555,7 +6441,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
6555
6441
|
doesParamExist.default({
|
|
6556
6442
|
healthFundId: healthFundId
|
|
6557
6443
|
}, opts.hyperMediaEndpoint);
|
|
6558
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6444
|
+
return _context3.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6559
6445
|
path: pathHealthFundSettings(healthFundId)
|
|
6560
6446
|
}), {
|
|
6561
6447
|
method: 'get',
|
|
@@ -6605,7 +6491,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
6605
6491
|
practiceId: practiceId,
|
|
6606
6492
|
staffId: staffId
|
|
6607
6493
|
}, opts.hyperMediaEndpoint);
|
|
6608
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6494
|
+
return _context4.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6609
6495
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
6610
6496
|
}), {
|
|
6611
6497
|
method: 'get',
|
|
@@ -6646,7 +6532,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6646
6532
|
healthFundId: healthFundId,
|
|
6647
6533
|
healthFundSettingId: healthFundSettingId
|
|
6648
6534
|
}, opts.hyperMediaEndpoint);
|
|
6649
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6535
|
+
return _context5.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6650
6536
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6651
6537
|
}), {
|
|
6652
6538
|
method: 'put',
|
|
@@ -6675,9 +6561,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
6675
6561
|
updateHealthFundSetting: updateHealthFundSetting
|
|
6676
6562
|
});
|
|
6677
6563
|
|
|
6678
|
-
function ownKeys$
|
|
6564
|
+
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; }
|
|
6679
6565
|
|
|
6680
|
-
function _objectSpread$
|
|
6566
|
+
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; }
|
|
6681
6567
|
var PATH__HEALTH_FUNDS = '/healthfunds';
|
|
6682
6568
|
|
|
6683
6569
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -6720,7 +6606,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
6720
6606
|
doesParamExist.default({
|
|
6721
6607
|
accountId: accountId
|
|
6722
6608
|
}, opts.hyperMediaEndpoint);
|
|
6723
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6609
|
+
return _context.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6724
6610
|
path: pathHealthFundsByAccountId(accountId)
|
|
6725
6611
|
}), {
|
|
6726
6612
|
method: 'get'
|
|
@@ -6762,7 +6648,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
6762
6648
|
doesParamExist.default({
|
|
6763
6649
|
businessId: businessId
|
|
6764
6650
|
}, opts.hyperMediaEndpoint);
|
|
6765
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6651
|
+
return _context2.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6766
6652
|
path: pathBusinessHealthFunds(businessId)
|
|
6767
6653
|
}), {
|
|
6768
6654
|
method: 'get',
|
|
@@ -6797,7 +6683,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
6797
6683
|
opts = {};
|
|
6798
6684
|
}
|
|
6799
6685
|
|
|
6800
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6686
|
+
return _context3.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6801
6687
|
path: PATH__HEALTH_FUNDS
|
|
6802
6688
|
}), {
|
|
6803
6689
|
method: 'get',
|
|
@@ -6841,7 +6727,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
6841
6727
|
doesParamExist.default({
|
|
6842
6728
|
organisationId: organisationId
|
|
6843
6729
|
}, opts.hyperMediaEndpoint);
|
|
6844
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6730
|
+
return _context4.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6845
6731
|
path: pathOrganisationHealthFunds(organisationId)
|
|
6846
6732
|
}), {
|
|
6847
6733
|
method: 'get',
|
|
@@ -6877,7 +6763,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
6877
6763
|
opts = {};
|
|
6878
6764
|
}
|
|
6879
6765
|
|
|
6880
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6766
|
+
return _context5.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6881
6767
|
path: PATH__HEALTH_FUNDS
|
|
6882
6768
|
}), {
|
|
6883
6769
|
method: 'post',
|
|
@@ -6915,7 +6801,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
6915
6801
|
doesParamExist.default({
|
|
6916
6802
|
healthFundId: healthFundId
|
|
6917
6803
|
}, opts.hyperMediaEndpoint);
|
|
6918
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6804
|
+
return _context6.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6919
6805
|
path: pathHealthFund(healthFundId)
|
|
6920
6806
|
}), {
|
|
6921
6807
|
method: 'get'
|
|
@@ -6953,7 +6839,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
6953
6839
|
doesParamExist.default({
|
|
6954
6840
|
healthFundId: healthFundId
|
|
6955
6841
|
}, opts.hyperMediaEndpoint);
|
|
6956
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6842
|
+
return _context7.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6957
6843
|
path: pathHealthFund(healthFundId)
|
|
6958
6844
|
}), {
|
|
6959
6845
|
method: 'put',
|
|
@@ -6991,7 +6877,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
6991
6877
|
doesParamExist.default({
|
|
6992
6878
|
healthFundId: healthFundId
|
|
6993
6879
|
}, opts.hyperMediaEndpoint);
|
|
6994
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6880
|
+
return _context8.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6995
6881
|
path: pathHealthFund(healthFundId)
|
|
6996
6882
|
}), {
|
|
6997
6883
|
method: 'delete'
|
|
@@ -7084,7 +6970,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
7084
6970
|
healthFundId: healthFundId,
|
|
7085
6971
|
body: body
|
|
7086
6972
|
}, opts.hyperMediaEndpoint);
|
|
7087
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6973
|
+
return _context10.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
7088
6974
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
7089
6975
|
}), {
|
|
7090
6976
|
method: 'post',
|
|
@@ -7119,9 +7005,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
7119
7005
|
verifyMember: verifyMember
|
|
7120
7006
|
});
|
|
7121
7007
|
|
|
7122
|
-
function ownKeys$
|
|
7008
|
+
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; }
|
|
7123
7009
|
|
|
7124
|
-
function _objectSpread$
|
|
7010
|
+
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; }
|
|
7125
7011
|
var pathICDItems = '/icditems';
|
|
7126
7012
|
|
|
7127
7013
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -7150,7 +7036,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
7150
7036
|
};
|
|
7151
7037
|
}
|
|
7152
7038
|
|
|
7153
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7039
|
+
return _context.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7154
7040
|
path: pathICDItems
|
|
7155
7041
|
}), {
|
|
7156
7042
|
method: 'get',
|
|
@@ -7195,7 +7081,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
7195
7081
|
doesParamExist.default({
|
|
7196
7082
|
modalityId: modalityId
|
|
7197
7083
|
}, opts.hyperMediaEndpoint);
|
|
7198
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7084
|
+
return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7199
7085
|
path: pathModalityICDItems(modalityId)
|
|
7200
7086
|
}), {
|
|
7201
7087
|
method: 'get',
|
|
@@ -7221,9 +7107,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
7221
7107
|
getModalityICDItems: getModalityICDItems
|
|
7222
7108
|
});
|
|
7223
7109
|
|
|
7224
|
-
function ownKeys$
|
|
7110
|
+
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; }
|
|
7225
7111
|
|
|
7226
|
-
function _objectSpread$
|
|
7112
|
+
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; }
|
|
7227
7113
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
7228
7114
|
return "/businesses/" + businessId + "/invoicescans";
|
|
7229
7115
|
};
|
|
@@ -7253,7 +7139,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
7253
7139
|
doesParamExist.default({
|
|
7254
7140
|
businessId: businessId
|
|
7255
7141
|
}, opts.hyperMediaEndpoint);
|
|
7256
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7142
|
+
return _context.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7257
7143
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
7258
7144
|
}), {
|
|
7259
7145
|
method: 'post',
|
|
@@ -7294,7 +7180,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
7294
7180
|
businessId: businessId,
|
|
7295
7181
|
invoiceScanId: invoiceScanId
|
|
7296
7182
|
}, opts.hyperMediaEndpoint);
|
|
7297
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7183
|
+
return _context2.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7298
7184
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
7299
7185
|
}), {
|
|
7300
7186
|
method: 'get'
|
|
@@ -7327,7 +7213,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
7327
7213
|
doesParamExist.default({
|
|
7328
7214
|
businessId: businessId
|
|
7329
7215
|
}, opts.hyperMediaEndpoint);
|
|
7330
|
-
return request(_objectSpread$
|
|
7216
|
+
return request(_objectSpread$s({}, opts, {
|
|
7331
7217
|
path: pathUploadUrlByBusinessId(businessId)
|
|
7332
7218
|
}), {
|
|
7333
7219
|
method: 'get',
|
|
@@ -7345,9 +7231,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
7345
7231
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
7346
7232
|
});
|
|
7347
7233
|
|
|
7348
|
-
function ownKeys$
|
|
7234
|
+
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; }
|
|
7349
7235
|
|
|
7350
|
-
function _objectSpread$
|
|
7236
|
+
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; }
|
|
7351
7237
|
var PATH__JHCS = "/jointhealthcentres";
|
|
7352
7238
|
var pathJHC = function pathJHC(jhcId) {
|
|
7353
7239
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -7360,7 +7246,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
7360
7246
|
doesParamExist.default({
|
|
7361
7247
|
jhcId: jhcId
|
|
7362
7248
|
}, opts.hyperMediaEndpoint);
|
|
7363
|
-
return request(_objectSpread$
|
|
7249
|
+
return request(_objectSpread$t({}, opts, {
|
|
7364
7250
|
path: pathJHC(jhcId)
|
|
7365
7251
|
}), {
|
|
7366
7252
|
method: 'get'
|
|
@@ -7371,7 +7257,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
7371
7257
|
opts = {};
|
|
7372
7258
|
}
|
|
7373
7259
|
|
|
7374
|
-
return request(_objectSpread$
|
|
7260
|
+
return request(_objectSpread$t({}, opts, {
|
|
7375
7261
|
path: PATH__JHCS
|
|
7376
7262
|
}), {
|
|
7377
7263
|
method: 'get',
|
|
@@ -7387,9 +7273,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
7387
7273
|
getJHCs: getJHCs
|
|
7388
7274
|
});
|
|
7389
7275
|
|
|
7390
|
-
function ownKeys$
|
|
7276
|
+
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; }
|
|
7391
7277
|
|
|
7392
|
-
function _objectSpread$
|
|
7278
|
+
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; }
|
|
7393
7279
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
7394
7280
|
return "/businesses/" + businessId + "/kyc";
|
|
7395
7281
|
};
|
|
@@ -7443,7 +7329,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
7443
7329
|
doesParamExist.default({
|
|
7444
7330
|
businessId: businessId
|
|
7445
7331
|
}, opts.hyperMediaEndpoint);
|
|
7446
|
-
return request(_objectSpread$
|
|
7332
|
+
return request(_objectSpread$u({}, opts, {
|
|
7447
7333
|
path: pathBusinessKyc(businessId)
|
|
7448
7334
|
}), {
|
|
7449
7335
|
method: 'get'
|
|
@@ -7465,7 +7351,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
7465
7351
|
businessId: businessId,
|
|
7466
7352
|
practiceId: practiceId
|
|
7467
7353
|
}, opts.hyperMediaEndpoint);
|
|
7468
|
-
return request(_objectSpread$
|
|
7354
|
+
return request(_objectSpread$u({}, opts, {
|
|
7469
7355
|
path: pathPracticeKyc(businessId, practiceId)
|
|
7470
7356
|
}), {
|
|
7471
7357
|
method: 'get'
|
|
@@ -7486,7 +7372,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
7486
7372
|
doesParamExist.default({
|
|
7487
7373
|
businessId: businessId
|
|
7488
7374
|
}, opts.hyperMediaEndpoint);
|
|
7489
|
-
return request(_objectSpread$
|
|
7375
|
+
return request(_objectSpread$u({}, opts, {
|
|
7490
7376
|
path: pathBusinessKyc(businessId)
|
|
7491
7377
|
}), {
|
|
7492
7378
|
method: 'put',
|
|
@@ -7508,7 +7394,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
7508
7394
|
doesParamExist.default({
|
|
7509
7395
|
businessId: businessId
|
|
7510
7396
|
}, opts.hyperMediaEndpoint);
|
|
7511
|
-
return request(_objectSpread$
|
|
7397
|
+
return request(_objectSpread$u({}, opts, {
|
|
7512
7398
|
path: pathBusinessCbo(businessId)
|
|
7513
7399
|
}), {
|
|
7514
7400
|
method: 'get',
|
|
@@ -7529,7 +7415,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
7529
7415
|
doesParamExist.default({
|
|
7530
7416
|
businessId: businessId
|
|
7531
7417
|
}, opts.hyperMediaEndpoint);
|
|
7532
|
-
return request(_objectSpread$
|
|
7418
|
+
return request(_objectSpread$u({}, opts, {
|
|
7533
7419
|
path: pathBusinessKycVerify(businessId)
|
|
7534
7420
|
}), {
|
|
7535
7421
|
method: 'post'
|
|
@@ -7551,7 +7437,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
7551
7437
|
businessId: businessId,
|
|
7552
7438
|
practiceId: practiceId
|
|
7553
7439
|
}, opts.hyperMediaEndpoint);
|
|
7554
|
-
return request(_objectSpread$
|
|
7440
|
+
return request(_objectSpread$u({}, opts, {
|
|
7555
7441
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
7556
7442
|
}), {
|
|
7557
7443
|
method: 'post',
|
|
@@ -7572,7 +7458,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
7572
7458
|
doesParamExist.default({
|
|
7573
7459
|
businessId: businessId
|
|
7574
7460
|
}, opts.hyperMediaEndpoint);
|
|
7575
|
-
return request(_objectSpread$
|
|
7461
|
+
return request(_objectSpread$u({}, opts, {
|
|
7576
7462
|
path: pathBusinessKycUnverify(businessId)
|
|
7577
7463
|
}), {
|
|
7578
7464
|
method: 'post'
|
|
@@ -7594,7 +7480,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
7594
7480
|
businessId: businessId,
|
|
7595
7481
|
practiceId: practiceId
|
|
7596
7482
|
}, opts.hyperMediaEndpoint);
|
|
7597
|
-
return request(_objectSpread$
|
|
7483
|
+
return request(_objectSpread$u({}, opts, {
|
|
7598
7484
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
7599
7485
|
}), {
|
|
7600
7486
|
method: 'post'
|
|
@@ -7615,7 +7501,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
7615
7501
|
doesParamExist.default({
|
|
7616
7502
|
businessId: businessId
|
|
7617
7503
|
}, opts.hyperMediaEndpoint);
|
|
7618
|
-
return request(_objectSpread$
|
|
7504
|
+
return request(_objectSpread$u({}, opts, {
|
|
7619
7505
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
7620
7506
|
}), {
|
|
7621
7507
|
method: 'post',
|
|
@@ -7637,7 +7523,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
7637
7523
|
doesParamExist.default({
|
|
7638
7524
|
businessId: businessId
|
|
7639
7525
|
}, opts.hyperMediaEndpoint);
|
|
7640
|
-
return request(_objectSpread$
|
|
7526
|
+
return request(_objectSpread$u({}, opts, {
|
|
7641
7527
|
path: pathRequestVerificationSupport(businessId)
|
|
7642
7528
|
}), {
|
|
7643
7529
|
method: 'post',
|
|
@@ -7659,7 +7545,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
7659
7545
|
doesParamExist.default({
|
|
7660
7546
|
businessId: businessId
|
|
7661
7547
|
}, opts.hyperMediaEndpoint);
|
|
7662
|
-
return request(_objectSpread$
|
|
7548
|
+
return request(_objectSpread$u({}, opts, {
|
|
7663
7549
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
7664
7550
|
}), {
|
|
7665
7551
|
method: 'post',
|
|
@@ -7682,7 +7568,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
7682
7568
|
doesParamExist.default({
|
|
7683
7569
|
businessId: businessId
|
|
7684
7570
|
}, opts.hyperMediaEndpoint);
|
|
7685
|
-
return request(_objectSpread$
|
|
7571
|
+
return request(_objectSpread$u({}, opts, {
|
|
7686
7572
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
7687
7573
|
}), {
|
|
7688
7574
|
method: 'delete'
|
|
@@ -7702,7 +7588,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
7702
7588
|
doesParamExist.default({
|
|
7703
7589
|
businessId: businessId
|
|
7704
7590
|
}, opts.hyperMediaEndpoint);
|
|
7705
|
-
return request(_objectSpread$
|
|
7591
|
+
return request(_objectSpread$u({}, opts, {
|
|
7706
7592
|
path: pathResumeComplexVerification(businessId)
|
|
7707
7593
|
}), {
|
|
7708
7594
|
method: 'post'
|
|
@@ -7723,7 +7609,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
7723
7609
|
doesParamExist.default({
|
|
7724
7610
|
businessId: businessId
|
|
7725
7611
|
}, opts.hyperMediaEndpoint);
|
|
7726
|
-
return request(_objectSpread$
|
|
7612
|
+
return request(_objectSpread$u({}, opts, {
|
|
7727
7613
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
7728
7614
|
}), {
|
|
7729
7615
|
method: 'get',
|
|
@@ -7762,9 +7648,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
7762
7648
|
getTrustDocumentUploadUrl: getTrustDocumentUploadUrl
|
|
7763
7649
|
});
|
|
7764
7650
|
|
|
7765
|
-
function ownKeys$
|
|
7651
|
+
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; }
|
|
7766
7652
|
|
|
7767
|
-
function _objectSpread$
|
|
7653
|
+
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; }
|
|
7768
7654
|
var pathLog = function pathLog() {
|
|
7769
7655
|
return "/logs";
|
|
7770
7656
|
};
|
|
@@ -7782,7 +7668,7 @@ var createLog = function createLog(body, opts) {
|
|
|
7782
7668
|
opts = {};
|
|
7783
7669
|
}
|
|
7784
7670
|
|
|
7785
|
-
return request(_objectSpread$
|
|
7671
|
+
return request(_objectSpread$v({}, opts, {
|
|
7786
7672
|
path: pathLog()
|
|
7787
7673
|
}), {
|
|
7788
7674
|
method: 'post',
|
|
@@ -7804,7 +7690,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
7804
7690
|
doesParamExist.default({
|
|
7805
7691
|
businessId: businessId
|
|
7806
7692
|
});
|
|
7807
|
-
return request(_objectSpread$
|
|
7693
|
+
return request(_objectSpread$v({}, opts, {
|
|
7808
7694
|
path: pathBusinessLog(businessId)
|
|
7809
7695
|
}), {
|
|
7810
7696
|
method: 'post',
|
|
@@ -7820,9 +7706,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
7820
7706
|
createBusinessLog: createBusinessLog
|
|
7821
7707
|
});
|
|
7822
7708
|
|
|
7823
|
-
function ownKeys$
|
|
7709
|
+
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; }
|
|
7824
7710
|
|
|
7825
|
-
function _objectSpread$
|
|
7711
|
+
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; }
|
|
7826
7712
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
7827
7713
|
return "/businesses/" + businessId + "/messagemappings";
|
|
7828
7714
|
};
|
|
@@ -7841,7 +7727,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
7841
7727
|
doesParamExist.default({
|
|
7842
7728
|
businessId: businessId
|
|
7843
7729
|
}, opts.hyperMediaEndpoint);
|
|
7844
|
-
return request(_objectSpread$
|
|
7730
|
+
return request(_objectSpread$w({}, opts, {
|
|
7845
7731
|
path: pathBusinessMessageMappings(businessId)
|
|
7846
7732
|
}), {
|
|
7847
7733
|
method: 'get',
|
|
@@ -7855,9 +7741,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
7855
7741
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
7856
7742
|
});
|
|
7857
7743
|
|
|
7858
|
-
function ownKeys$
|
|
7744
|
+
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; }
|
|
7859
7745
|
|
|
7860
|
-
function _objectSpread$
|
|
7746
|
+
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; }
|
|
7861
7747
|
|
|
7862
7748
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
7863
7749
|
return "/healthfunds/" + healthFundId + "/minions";
|
|
@@ -7894,12 +7780,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7894
7780
|
triggerId: triggerId,
|
|
7895
7781
|
actionId: actionId
|
|
7896
7782
|
}, opts.hyperMediaEndpoint);
|
|
7897
|
-
data = _objectSpread$
|
|
7783
|
+
data = _objectSpread$x({
|
|
7898
7784
|
name: name,
|
|
7899
7785
|
triggerId: triggerId,
|
|
7900
7786
|
actionId: actionId
|
|
7901
7787
|
}, body);
|
|
7902
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7788
|
+
return _context.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
7903
7789
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7904
7790
|
}), {
|
|
7905
7791
|
method: 'post',
|
|
@@ -7939,7 +7825,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
7939
7825
|
opts = {};
|
|
7940
7826
|
}
|
|
7941
7827
|
|
|
7942
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7828
|
+
return _context2.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
7943
7829
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7944
7830
|
}), {
|
|
7945
7831
|
method: 'get',
|
|
@@ -7979,7 +7865,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7979
7865
|
healthFundId: healthFundId,
|
|
7980
7866
|
minionId: minionId
|
|
7981
7867
|
}, opts.hyperMediaEndpoint);
|
|
7982
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7868
|
+
return _context3.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
7983
7869
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
7984
7870
|
}), {
|
|
7985
7871
|
method: 'get'
|
|
@@ -8019,7 +7905,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8019
7905
|
healthFundId: healthFundId,
|
|
8020
7906
|
minionId: minionId
|
|
8021
7907
|
}, opts.hyperMediaEndpoint);
|
|
8022
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7908
|
+
return _context4.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
8023
7909
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8024
7910
|
}), {
|
|
8025
7911
|
method: 'put',
|
|
@@ -8059,7 +7945,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8059
7945
|
healthFundId: healthFundId,
|
|
8060
7946
|
minionId: minionId
|
|
8061
7947
|
}, opts.hyperMediaEndpoint);
|
|
8062
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7948
|
+
return _context5.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
8063
7949
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8064
7950
|
}), {
|
|
8065
7951
|
method: 'delete'
|
|
@@ -8087,9 +7973,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
8087
7973
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
8088
7974
|
});
|
|
8089
7975
|
|
|
8090
|
-
function ownKeys$
|
|
7976
|
+
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; }
|
|
8091
7977
|
|
|
8092
|
-
function _objectSpread$
|
|
7978
|
+
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; }
|
|
8093
7979
|
var PATH__MODALITIES = '/modalities';
|
|
8094
7980
|
|
|
8095
7981
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -8121,7 +8007,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
8121
8007
|
doesParamExist.default({
|
|
8122
8008
|
businessId: businessId
|
|
8123
8009
|
}, opts.hyperMediaEndpoint);
|
|
8124
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8010
|
+
return _context.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
8125
8011
|
path: pathBusinessModalities(businessId)
|
|
8126
8012
|
}), {
|
|
8127
8013
|
method: 'get'
|
|
@@ -8161,7 +8047,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
8161
8047
|
};
|
|
8162
8048
|
}
|
|
8163
8049
|
|
|
8164
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8050
|
+
return _context2.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
8165
8051
|
path: PATH__MODALITIES
|
|
8166
8052
|
}), {
|
|
8167
8053
|
method: 'get',
|
|
@@ -8198,7 +8084,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
8198
8084
|
};
|
|
8199
8085
|
}
|
|
8200
8086
|
|
|
8201
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8087
|
+
return _context3.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
8202
8088
|
path: pathModality(modalityId)
|
|
8203
8089
|
}), {
|
|
8204
8090
|
method: 'get'
|
|
@@ -8224,9 +8110,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
8224
8110
|
getModality: getModality
|
|
8225
8111
|
});
|
|
8226
8112
|
|
|
8227
|
-
function ownKeys$
|
|
8113
|
+
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; }
|
|
8228
8114
|
|
|
8229
|
-
function _objectSpread$
|
|
8115
|
+
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; }
|
|
8230
8116
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
8231
8117
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
8232
8118
|
};
|
|
@@ -8254,7 +8140,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
8254
8140
|
healthFundId: healthFundId,
|
|
8255
8141
|
documentId: documentId
|
|
8256
8142
|
}, opts.hyperMediaEndpoint);
|
|
8257
|
-
return request(_objectSpread$
|
|
8143
|
+
return request(_objectSpread$z({}, opts, {
|
|
8258
8144
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8259
8145
|
}), {
|
|
8260
8146
|
method: 'post',
|
|
@@ -8270,7 +8156,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
8270
8156
|
healthFundId: healthFundId,
|
|
8271
8157
|
documentId: documentId
|
|
8272
8158
|
}, opts.hyperMediaEndpoint);
|
|
8273
|
-
return request(_objectSpread$
|
|
8159
|
+
return request(_objectSpread$z({}, opts, {
|
|
8274
8160
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8275
8161
|
}), {
|
|
8276
8162
|
method: 'get'
|
|
@@ -8285,7 +8171,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
8285
8171
|
healthFundId: healthFundId,
|
|
8286
8172
|
transactionId: transactionId
|
|
8287
8173
|
}, opts.hyperMediaEndpoint);
|
|
8288
|
-
return request(_objectSpread$
|
|
8174
|
+
return request(_objectSpread$z({}, opts, {
|
|
8289
8175
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
8290
8176
|
}), {
|
|
8291
8177
|
method: 'get'
|
|
@@ -8300,7 +8186,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
8300
8186
|
healthFundId: healthFundId,
|
|
8301
8187
|
noteId: noteId
|
|
8302
8188
|
}, opts.hyperMediaEndpoint);
|
|
8303
|
-
return request(_objectSpread$
|
|
8189
|
+
return request(_objectSpread$z({}, opts, {
|
|
8304
8190
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8305
8191
|
}), {
|
|
8306
8192
|
method: 'get'
|
|
@@ -8314,7 +8200,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
8314
8200
|
doesParamExist.default({
|
|
8315
8201
|
transactionId: transactionId
|
|
8316
8202
|
}, opts.hyperMediaEndpoint);
|
|
8317
|
-
return request(_objectSpread$
|
|
8203
|
+
return request(_objectSpread$z({}, opts, {
|
|
8318
8204
|
path: pathTransactionNotes(transactionId)
|
|
8319
8205
|
}), {
|
|
8320
8206
|
method: 'get',
|
|
@@ -8330,7 +8216,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
8330
8216
|
businessId: businessId,
|
|
8331
8217
|
transactionId: transactionId
|
|
8332
8218
|
}, opts.hyperMediaEndpoint);
|
|
8333
|
-
return request(_objectSpread$
|
|
8219
|
+
return request(_objectSpread$z({}, opts, {
|
|
8334
8220
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
8335
8221
|
}), {
|
|
8336
8222
|
method: 'get'
|
|
@@ -8344,7 +8230,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
8344
8230
|
doesParamExist.default({
|
|
8345
8231
|
transactionId: transactionId
|
|
8346
8232
|
}, opts.hyperMediaEndpoint);
|
|
8347
|
-
return request(_objectSpread$
|
|
8233
|
+
return request(_objectSpread$z({}, opts, {
|
|
8348
8234
|
path: pathTransactionNotes(transactionId)
|
|
8349
8235
|
}), {
|
|
8350
8236
|
method: 'post',
|
|
@@ -8360,7 +8246,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
8360
8246
|
transactionId: transactionId,
|
|
8361
8247
|
transactionNoteId: transactionNoteId
|
|
8362
8248
|
}, opts.hyperMediaEndpoint);
|
|
8363
|
-
return request(_objectSpread$
|
|
8249
|
+
return request(_objectSpread$z({}, opts, {
|
|
8364
8250
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
8365
8251
|
}), {
|
|
8366
8252
|
method: 'delete'
|
|
@@ -8375,7 +8261,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
8375
8261
|
healthFundId: healthFundId,
|
|
8376
8262
|
noteId: noteId
|
|
8377
8263
|
}, opts.hyperMediaEndpoint);
|
|
8378
|
-
return request(_objectSpread$
|
|
8264
|
+
return request(_objectSpread$z({}, opts, {
|
|
8379
8265
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8380
8266
|
}), {
|
|
8381
8267
|
method: 'put',
|
|
@@ -8391,7 +8277,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
8391
8277
|
healthFundId: healthFundId,
|
|
8392
8278
|
noteId: noteId
|
|
8393
8279
|
}, opts.hyperMediaEndpoint);
|
|
8394
|
-
return request(_objectSpread$
|
|
8280
|
+
return request(_objectSpread$z({}, opts, {
|
|
8395
8281
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8396
8282
|
}), {
|
|
8397
8283
|
method: 'delete'
|
|
@@ -8418,9 +8304,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
8418
8304
|
deleteHealthFundNote: deleteHealthFundNote
|
|
8419
8305
|
});
|
|
8420
8306
|
|
|
8421
|
-
function ownKeys$
|
|
8307
|
+
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; }
|
|
8422
8308
|
|
|
8423
|
-
function _objectSpread$
|
|
8309
|
+
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; }
|
|
8424
8310
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
8425
8311
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
8426
8312
|
};
|
|
@@ -8451,7 +8337,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
8451
8337
|
doesParamExist.default({
|
|
8452
8338
|
practiceId: practiceId
|
|
8453
8339
|
});
|
|
8454
|
-
return request(_objectSpread$
|
|
8340
|
+
return request(_objectSpread$A({}, opts, {
|
|
8455
8341
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
8456
8342
|
}), {
|
|
8457
8343
|
method: 'post',
|
|
@@ -8484,7 +8370,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
8484
8370
|
businessId: businessId,
|
|
8485
8371
|
practiceId: practiceId
|
|
8486
8372
|
}, opts.hyperMediaEndpoint);
|
|
8487
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8373
|
+
return _context.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
8488
8374
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
8489
8375
|
}), {
|
|
8490
8376
|
method: 'get',
|
|
@@ -8518,7 +8404,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
8518
8404
|
doesParamExist.default({
|
|
8519
8405
|
businessId: businessId
|
|
8520
8406
|
});
|
|
8521
|
-
return request(_objectSpread$
|
|
8407
|
+
return request(_objectSpread$A({}, opts, {
|
|
8522
8408
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8523
8409
|
}), {
|
|
8524
8410
|
method: 'get',
|
|
@@ -8538,7 +8424,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
8538
8424
|
doesParamExist.default({
|
|
8539
8425
|
businessId: businessId
|
|
8540
8426
|
});
|
|
8541
|
-
return request(_objectSpread$
|
|
8427
|
+
return request(_objectSpread$A({}, opts, {
|
|
8542
8428
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8543
8429
|
}), {
|
|
8544
8430
|
method: 'post',
|
|
@@ -8558,7 +8444,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
8558
8444
|
doesParamExist.default({
|
|
8559
8445
|
businessId: businessId
|
|
8560
8446
|
});
|
|
8561
|
-
return request(_objectSpread$
|
|
8447
|
+
return request(_objectSpread$A({}, opts, {
|
|
8562
8448
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8563
8449
|
}), {
|
|
8564
8450
|
method: 'put',
|
|
@@ -8582,7 +8468,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
8582
8468
|
staffId: staffId,
|
|
8583
8469
|
providerSetItemId: providerSetItemId
|
|
8584
8470
|
});
|
|
8585
|
-
return request(_objectSpread$
|
|
8471
|
+
return request(_objectSpread$A({}, opts, {
|
|
8586
8472
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
8587
8473
|
}), {
|
|
8588
8474
|
method: 'post',
|
|
@@ -8604,7 +8490,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
8604
8490
|
doesParamExist.default({
|
|
8605
8491
|
businessId: businessId
|
|
8606
8492
|
});
|
|
8607
|
-
return request(_objectSpread$
|
|
8493
|
+
return request(_objectSpread$A({}, opts, {
|
|
8608
8494
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
8609
8495
|
}), {
|
|
8610
8496
|
method: 'get',
|
|
@@ -8628,9 +8514,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
8628
8514
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
8629
8515
|
});
|
|
8630
8516
|
|
|
8631
|
-
function ownKeys$
|
|
8517
|
+
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; }
|
|
8632
8518
|
|
|
8633
|
-
function _objectSpread$
|
|
8519
|
+
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; }
|
|
8634
8520
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
8635
8521
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
8636
8522
|
};
|
|
@@ -8662,7 +8548,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
8662
8548
|
doesParamExist.default({
|
|
8663
8549
|
onboardingRequestId: onboardingRequestId
|
|
8664
8550
|
}, opts.hyperMediaEndpoint);
|
|
8665
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8551
|
+
return _context.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
8666
8552
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8667
8553
|
}), {
|
|
8668
8554
|
method: 'get'
|
|
@@ -8704,7 +8590,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
8704
8590
|
doesParamExist.default({
|
|
8705
8591
|
businessId: businessId
|
|
8706
8592
|
}, opts.hyperMediaEndpoint);
|
|
8707
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8593
|
+
return _context2.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
8708
8594
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8709
8595
|
}), {
|
|
8710
8596
|
method: 'get',
|
|
@@ -8736,7 +8622,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
8736
8622
|
doesParamExist.default({
|
|
8737
8623
|
businessId: businessId
|
|
8738
8624
|
});
|
|
8739
|
-
return request(_objectSpread$
|
|
8625
|
+
return request(_objectSpread$B({}, opts, {
|
|
8740
8626
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8741
8627
|
}), {
|
|
8742
8628
|
method: 'post',
|
|
@@ -8756,7 +8642,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
8756
8642
|
doesParamExist.default({
|
|
8757
8643
|
onboardingRequestId: onboardingRequestId
|
|
8758
8644
|
});
|
|
8759
|
-
return request(_objectSpread$
|
|
8645
|
+
return request(_objectSpread$B({}, opts, {
|
|
8760
8646
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
8761
8647
|
}), {
|
|
8762
8648
|
method: 'post',
|
|
@@ -8777,7 +8663,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
8777
8663
|
doesParamExist.default({
|
|
8778
8664
|
onboardingRequestId: onboardingRequestId
|
|
8779
8665
|
});
|
|
8780
|
-
return request(_objectSpread$
|
|
8666
|
+
return request(_objectSpread$B({}, opts, {
|
|
8781
8667
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
8782
8668
|
}), {
|
|
8783
8669
|
method: 'put',
|
|
@@ -8797,7 +8683,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
8797
8683
|
doesParamExist.default({
|
|
8798
8684
|
onboardingRequestId: onboardingRequestId
|
|
8799
8685
|
});
|
|
8800
|
-
return request(_objectSpread$
|
|
8686
|
+
return request(_objectSpread$B({}, opts, {
|
|
8801
8687
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8802
8688
|
}), {
|
|
8803
8689
|
method: 'delete',
|
|
@@ -8819,9 +8705,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
8819
8705
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
8820
8706
|
});
|
|
8821
8707
|
|
|
8822
|
-
function ownKeys$
|
|
8708
|
+
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; }
|
|
8823
8709
|
|
|
8824
|
-
function _objectSpread$
|
|
8710
|
+
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; }
|
|
8825
8711
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
8826
8712
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
8827
8713
|
var PATH__OPS_DECRTPT = '/ops/decrypt';
|
|
@@ -8854,13 +8740,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
8854
8740
|
type: type
|
|
8855
8741
|
}, opts.hyperMediaEndpoint);
|
|
8856
8742
|
|
|
8857
|
-
var data = _objectSpread$
|
|
8743
|
+
var data = _objectSpread$C({
|
|
8858
8744
|
fullName: fullName,
|
|
8859
8745
|
displayName: displayName,
|
|
8860
8746
|
type: type
|
|
8861
8747
|
}, body);
|
|
8862
8748
|
|
|
8863
|
-
return request(_objectSpread$
|
|
8749
|
+
return request(_objectSpread$C({}, opts, {
|
|
8864
8750
|
path: PATH__OPS_SERVICES
|
|
8865
8751
|
}), {
|
|
8866
8752
|
method: 'post',
|
|
@@ -8881,7 +8767,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
8881
8767
|
doesParamExist.default({
|
|
8882
8768
|
serviceId: serviceId
|
|
8883
8769
|
}, opts.hyperMediaEndpoint);
|
|
8884
|
-
return request(_objectSpread$
|
|
8770
|
+
return request(_objectSpread$C({}, opts, {
|
|
8885
8771
|
path: pathOpsService(serviceId)
|
|
8886
8772
|
}), {
|
|
8887
8773
|
method: 'delete'
|
|
@@ -8901,7 +8787,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
8901
8787
|
doesParamExist.default({
|
|
8902
8788
|
serviceId: serviceId
|
|
8903
8789
|
}, opts.hyperMediaEndpoint);
|
|
8904
|
-
return request(_objectSpread$
|
|
8790
|
+
return request(_objectSpread$C({}, opts, {
|
|
8905
8791
|
path: PATH__OPS_DEPLOYMENTS
|
|
8906
8792
|
}), {
|
|
8907
8793
|
method: 'post',
|
|
@@ -8925,7 +8811,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
8925
8811
|
opts = {};
|
|
8926
8812
|
}
|
|
8927
8813
|
|
|
8928
|
-
return request(_objectSpread$
|
|
8814
|
+
return request(_objectSpread$C({}, opts, {
|
|
8929
8815
|
path: PATH__OPS_DEPLOYMENTS
|
|
8930
8816
|
}), {
|
|
8931
8817
|
method: 'get',
|
|
@@ -8946,7 +8832,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
8946
8832
|
doesParamExist.default({
|
|
8947
8833
|
deploymentId: deploymentId
|
|
8948
8834
|
}, opts.hyperMediaEndpoint);
|
|
8949
|
-
return request(_objectSpread$
|
|
8835
|
+
return request(_objectSpread$C({}, opts, {
|
|
8950
8836
|
path: pathOpsDeployment(deploymentId)
|
|
8951
8837
|
}), {
|
|
8952
8838
|
method: 'get'
|
|
@@ -8967,7 +8853,7 @@ var getServices = function getServices(query, opts) {
|
|
|
8967
8853
|
opts = {};
|
|
8968
8854
|
}
|
|
8969
8855
|
|
|
8970
|
-
return request(_objectSpread$
|
|
8856
|
+
return request(_objectSpread$C({}, opts, {
|
|
8971
8857
|
path: PATH__OPS_SERVICES
|
|
8972
8858
|
}), {
|
|
8973
8859
|
method: 'get',
|
|
@@ -8988,7 +8874,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
8988
8874
|
doesParamExist.default({
|
|
8989
8875
|
serviceId: serviceId
|
|
8990
8876
|
}, opts.hyperMediaEndpoint);
|
|
8991
|
-
return request(_objectSpread$
|
|
8877
|
+
return request(_objectSpread$C({}, opts, {
|
|
8992
8878
|
path: pathOpsService(serviceId)
|
|
8993
8879
|
}), {
|
|
8994
8880
|
method: 'get'
|
|
@@ -9009,7 +8895,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
9009
8895
|
doesParamExist.default({
|
|
9010
8896
|
serviceId: serviceId
|
|
9011
8897
|
}, opts.hyperMediaEndpoint);
|
|
9012
|
-
return request(_objectSpread$
|
|
8898
|
+
return request(_objectSpread$C({}, opts, {
|
|
9013
8899
|
path: pathOpsService(serviceId)
|
|
9014
8900
|
}), {
|
|
9015
8901
|
method: 'put',
|
|
@@ -9031,7 +8917,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
9031
8917
|
doesParamExist.default({
|
|
9032
8918
|
serviceId: serviceId
|
|
9033
8919
|
}, opts.hyperMediaEndpoint);
|
|
9034
|
-
return request(_objectSpread$
|
|
8920
|
+
return request(_objectSpread$C({}, opts, {
|
|
9035
8921
|
path: PATH__OPS_DECRTPT
|
|
9036
8922
|
}), {
|
|
9037
8923
|
method: 'post',
|
|
@@ -9052,9 +8938,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
9052
8938
|
decrypt: decrypt
|
|
9053
8939
|
});
|
|
9054
8940
|
|
|
9055
|
-
function ownKeys$
|
|
8941
|
+
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; }
|
|
9056
8942
|
|
|
9057
|
-
function _objectSpread$
|
|
8943
|
+
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; }
|
|
9058
8944
|
var PATH__ORGANISATIONS = '/organisations';
|
|
9059
8945
|
/**
|
|
9060
8946
|
* Get organisations
|
|
@@ -9071,7 +8957,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
9071
8957
|
opts = {};
|
|
9072
8958
|
}
|
|
9073
8959
|
|
|
9074
|
-
return request(_objectSpread$
|
|
8960
|
+
return request(_objectSpread$D({}, opts, {
|
|
9075
8961
|
path: PATH__ORGANISATIONS
|
|
9076
8962
|
}), {
|
|
9077
8963
|
method: 'get',
|
|
@@ -9084,9 +8970,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
9084
8970
|
getOrganisations: getOrganisations
|
|
9085
8971
|
});
|
|
9086
8972
|
|
|
9087
|
-
function ownKeys$
|
|
8973
|
+
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; }
|
|
9088
8974
|
|
|
9089
|
-
function _objectSpread$
|
|
8975
|
+
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; }
|
|
9090
8976
|
var PATH__PARTNERS = '/partners';
|
|
9091
8977
|
|
|
9092
8978
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -9125,7 +9011,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
9125
9011
|
opts = {};
|
|
9126
9012
|
}
|
|
9127
9013
|
|
|
9128
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9014
|
+
return _context.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9129
9015
|
path: PATH__PARTNERS
|
|
9130
9016
|
}), {
|
|
9131
9017
|
method: 'get',
|
|
@@ -9163,7 +9049,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
9163
9049
|
doesParamExist.default({
|
|
9164
9050
|
partnerId: partnerId
|
|
9165
9051
|
}, opts.hyperMediaEndpoint);
|
|
9166
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9052
|
+
return _context2.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9167
9053
|
path: pathPartner(partnerId)
|
|
9168
9054
|
}), {
|
|
9169
9055
|
method: 'get'
|
|
@@ -9201,7 +9087,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
9201
9087
|
doesParamExist.default({
|
|
9202
9088
|
partnerId: partnerId
|
|
9203
9089
|
}, opts.hyperMediaEndpoint);
|
|
9204
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9090
|
+
return _context3.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9205
9091
|
path: pathPartner(partnerId)
|
|
9206
9092
|
}), {
|
|
9207
9093
|
method: 'put',
|
|
@@ -9242,10 +9128,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
9242
9128
|
doesParamExist.default({
|
|
9243
9129
|
partnerId: partnerId
|
|
9244
9130
|
}, opts.hyperMediaEndpoint);
|
|
9245
|
-
data = _objectSpread$
|
|
9131
|
+
data = _objectSpread$E({
|
|
9246
9132
|
fullNameId: fullNameId
|
|
9247
9133
|
}, body);
|
|
9248
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9134
|
+
return _context4.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9249
9135
|
path: pathPartnerPractices(partnerId)
|
|
9250
9136
|
}), {
|
|
9251
9137
|
method: 'put',
|
|
@@ -9289,10 +9175,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
9289
9175
|
practiceId: practiceId,
|
|
9290
9176
|
providerNumberId: providerNumberId
|
|
9291
9177
|
}, opts.hyperMediaEndpoint);
|
|
9292
|
-
data = _objectSpread$
|
|
9178
|
+
data = _objectSpread$E({
|
|
9293
9179
|
providerNumberId: providerNumberId
|
|
9294
9180
|
}, body);
|
|
9295
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9181
|
+
return _context5.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9296
9182
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
9297
9183
|
}), {
|
|
9298
9184
|
method: 'put',
|
|
@@ -9335,7 +9221,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9335
9221
|
doesParamExist.default({
|
|
9336
9222
|
accountId: accountId
|
|
9337
9223
|
}, opts.hyperMediaEndpoint);
|
|
9338
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9224
|
+
return _context6.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9339
9225
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
9340
9226
|
}), {
|
|
9341
9227
|
method: 'post',
|
|
@@ -9375,7 +9261,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9375
9261
|
doesParamExist.default({
|
|
9376
9262
|
accountId: accountId
|
|
9377
9263
|
}, opts.hyperMediaEndpoint);
|
|
9378
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9264
|
+
return _context7.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9379
9265
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
9380
9266
|
}), {
|
|
9381
9267
|
method: 'post'
|
|
@@ -9405,9 +9291,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
9405
9291
|
notifyPartnerAccount: notifyPartnerAccount
|
|
9406
9292
|
});
|
|
9407
9293
|
|
|
9408
|
-
function ownKeys$
|
|
9294
|
+
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; }
|
|
9409
9295
|
|
|
9410
|
-
function _objectSpread$
|
|
9296
|
+
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; }
|
|
9411
9297
|
|
|
9412
9298
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
9413
9299
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -9442,7 +9328,7 @@ var requestUpdatePatientPaymentMethod = function requestUpdatePatientPaymentMeth
|
|
|
9442
9328
|
businessId: businessId,
|
|
9443
9329
|
patientId: patientId
|
|
9444
9330
|
}, opts.hyperMediaEndpoint);
|
|
9445
|
-
return request(_objectSpread$
|
|
9331
|
+
return request(_objectSpread$F({}, opts, {
|
|
9446
9332
|
path: pathRequestUpdatePatientPaymentMethod(businessId, patientId)
|
|
9447
9333
|
}), {
|
|
9448
9334
|
method: 'post',
|
|
@@ -9469,7 +9355,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
9469
9355
|
doesParamExist.default({
|
|
9470
9356
|
businessId: businessId
|
|
9471
9357
|
}, opts.hyperMediaEndpoint);
|
|
9472
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9358
|
+
return _context.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9473
9359
|
path: pathBusinessPatients(businessId)
|
|
9474
9360
|
}), {
|
|
9475
9361
|
method: 'post',
|
|
@@ -9512,7 +9398,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
9512
9398
|
doesParamExist.default({
|
|
9513
9399
|
businessId: businessId
|
|
9514
9400
|
}, opts.hyperMediaEndpoint);
|
|
9515
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9401
|
+
return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9516
9402
|
path: pathBusinessPatients(businessId)
|
|
9517
9403
|
}), {
|
|
9518
9404
|
method: 'get',
|
|
@@ -9551,7 +9437,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
9551
9437
|
doesParamExist.default({
|
|
9552
9438
|
businessId: businessId
|
|
9553
9439
|
}, opts.hyperMediaEndpoint);
|
|
9554
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9440
|
+
return _context3.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9555
9441
|
path: pathBusinessPatient(businessId, patientId)
|
|
9556
9442
|
}), {
|
|
9557
9443
|
method: 'get'
|
|
@@ -9590,7 +9476,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
9590
9476
|
businessId: businessId,
|
|
9591
9477
|
refId: refId
|
|
9592
9478
|
}, opts.hyperMediaEndpoint);
|
|
9593
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9479
|
+
return _context4.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9594
9480
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
9595
9481
|
}), {
|
|
9596
9482
|
method: 'get'
|
|
@@ -9629,7 +9515,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
9629
9515
|
doesParamExist.default({
|
|
9630
9516
|
businessId: businessId
|
|
9631
9517
|
}, opts.hyperMediaEndpoint);
|
|
9632
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9518
|
+
return _context5.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9633
9519
|
path: pathBusinessPatient(businessId, patientId)
|
|
9634
9520
|
}), {
|
|
9635
9521
|
method: 'put',
|
|
@@ -9668,7 +9554,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
9668
9554
|
doesParamExist.default({
|
|
9669
9555
|
businessId: businessId
|
|
9670
9556
|
}, opts.hyperMediaEndpoint);
|
|
9671
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9557
|
+
return _context6.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9672
9558
|
path: pathBusinessPatient(businessId, patientId)
|
|
9673
9559
|
}), {
|
|
9674
9560
|
method: 'delete'
|
|
@@ -9698,9 +9584,9 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
9698
9584
|
deleteBusinessPatient: deleteBusinessPatient
|
|
9699
9585
|
});
|
|
9700
9586
|
|
|
9701
|
-
function ownKeys$
|
|
9587
|
+
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; }
|
|
9702
9588
|
|
|
9703
|
-
function _objectSpread$
|
|
9589
|
+
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; }
|
|
9704
9590
|
var PATH__PAYMENTS = '/payments';
|
|
9705
9591
|
|
|
9706
9592
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -9765,7 +9651,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9765
9651
|
nonce: nonce,
|
|
9766
9652
|
source: source
|
|
9767
9653
|
}, opts.hyperMediaEndpoint);
|
|
9768
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9654
|
+
return _context.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9769
9655
|
path: pathAccountPaymentMethods(accountId)
|
|
9770
9656
|
}), {
|
|
9771
9657
|
method: 'post',
|
|
@@ -9809,7 +9695,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9809
9695
|
nonce: nonce,
|
|
9810
9696
|
source: source
|
|
9811
9697
|
}, opts.hyperMediaEndpoint);
|
|
9812
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9698
|
+
return _context2.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9813
9699
|
path: pathBusinessPaymentMethods(businessId)
|
|
9814
9700
|
}), {
|
|
9815
9701
|
method: 'post',
|
|
@@ -9855,7 +9741,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9855
9741
|
nonce: nonce,
|
|
9856
9742
|
source: source
|
|
9857
9743
|
}, opts.hyperMediaEndpoint);
|
|
9858
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9744
|
+
return _context3.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9859
9745
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9860
9746
|
}), {
|
|
9861
9747
|
method: 'post',
|
|
@@ -9899,7 +9785,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9899
9785
|
accountId: accountId,
|
|
9900
9786
|
paymentMethodId: paymentMethodId
|
|
9901
9787
|
}, opts.hyperMediaEndpoint);
|
|
9902
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9788
|
+
return _context4.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9903
9789
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
9904
9790
|
}), {
|
|
9905
9791
|
method: 'delete'
|
|
@@ -9939,7 +9825,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9939
9825
|
businessId: businessId,
|
|
9940
9826
|
paymentMethodId: paymentMethodId
|
|
9941
9827
|
}, opts.hyperMediaEndpoint);
|
|
9942
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9828
|
+
return _context5.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9943
9829
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
9944
9830
|
}), {
|
|
9945
9831
|
method: 'delete'
|
|
@@ -9981,7 +9867,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9981
9867
|
patientId: patientId,
|
|
9982
9868
|
paymentMethodId: paymentMethodId
|
|
9983
9869
|
}, opts.hyperMediaEndpoint);
|
|
9984
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9870
|
+
return _context6.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9985
9871
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
9986
9872
|
}), {
|
|
9987
9873
|
method: 'delete'
|
|
@@ -10019,7 +9905,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
10019
9905
|
doesParamExist.default({
|
|
10020
9906
|
accountId: accountId
|
|
10021
9907
|
}, opts.hyperMediaEndpoint);
|
|
10022
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9908
|
+
return _context7.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10023
9909
|
path: pathAccountPaymentMethods(accountId)
|
|
10024
9910
|
}), {
|
|
10025
9911
|
method: 'get'
|
|
@@ -10057,7 +9943,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
10057
9943
|
doesParamExist.default({
|
|
10058
9944
|
businessId: businessId
|
|
10059
9945
|
}, opts.hyperMediaEndpoint);
|
|
10060
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
9946
|
+
return _context8.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10061
9947
|
path: pathBusinessPaymentMethods(businessId)
|
|
10062
9948
|
}), {
|
|
10063
9949
|
method: 'get'
|
|
@@ -10096,7 +9982,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
10096
9982
|
businessId: businessId,
|
|
10097
9983
|
patientId: patientId
|
|
10098
9984
|
}, opts.hyperMediaEndpoint);
|
|
10099
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
9985
|
+
return _context9.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10100
9986
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
10101
9987
|
}), {
|
|
10102
9988
|
method: 'get'
|
|
@@ -10136,7 +10022,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
|
|
|
10136
10022
|
businessId: businessId,
|
|
10137
10023
|
refId: refId
|
|
10138
10024
|
}, opts.hyperMediaEndpoint);
|
|
10139
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
10025
|
+
return _context10.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10140
10026
|
path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
|
|
10141
10027
|
}), {
|
|
10142
10028
|
method: 'get'
|
|
@@ -10176,7 +10062,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10176
10062
|
accountId: accountId,
|
|
10177
10063
|
paymentMethodId: paymentMethodId
|
|
10178
10064
|
}, opts.hyperMediaEndpoint);
|
|
10179
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
10065
|
+
return _context11.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10180
10066
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10181
10067
|
}), {
|
|
10182
10068
|
method: 'get'
|
|
@@ -10216,7 +10102,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10216
10102
|
businessId: businessId,
|
|
10217
10103
|
paymentMethodId: paymentMethodId
|
|
10218
10104
|
}, opts.hyperMediaEndpoint);
|
|
10219
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
10105
|
+
return _context12.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10220
10106
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10221
10107
|
}), {
|
|
10222
10108
|
method: 'get'
|
|
@@ -10258,7 +10144,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10258
10144
|
patientId: patientId,
|
|
10259
10145
|
paymentMethodId: paymentMethodId
|
|
10260
10146
|
}, opts.hyperMediaEndpoint);
|
|
10261
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
10147
|
+
return _context13.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10262
10148
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10263
10149
|
}), {
|
|
10264
10150
|
method: 'get'
|
|
@@ -10298,7 +10184,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
10298
10184
|
businessId: businessId,
|
|
10299
10185
|
source: source
|
|
10300
10186
|
}, opts.hyperMediaEndpoint);
|
|
10301
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
10187
|
+
return _context14.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10302
10188
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
10303
10189
|
}), {
|
|
10304
10190
|
method: 'get',
|
|
@@ -10341,7 +10227,7 @@ var getBusinessPaymentClientToken = /*#__PURE__*/function () {
|
|
|
10341
10227
|
businessId: businessId,
|
|
10342
10228
|
patientId: patientId
|
|
10343
10229
|
}, opts.hyperMediaEndpoint);
|
|
10344
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
10230
|
+
return _context15.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10345
10231
|
path: pathBusinessPaymentClientToken(businessId, patientId)
|
|
10346
10232
|
}), {
|
|
10347
10233
|
method: 'get'
|
|
@@ -10379,7 +10265,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
10379
10265
|
doesParamExist.default({
|
|
10380
10266
|
businessId: businessId
|
|
10381
10267
|
}, opts.hyperMediaEndpoint);
|
|
10382
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
10268
|
+
return _context16.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10383
10269
|
path: pathBusinessSalesClientToken(businessId)
|
|
10384
10270
|
}), {
|
|
10385
10271
|
method: 'get'
|
|
@@ -10419,7 +10305,7 @@ var getClientToken = /*#__PURE__*/function () {
|
|
|
10419
10305
|
doesParamExist.default({
|
|
10420
10306
|
source: source
|
|
10421
10307
|
}, opts.hyperMediaEndpoint);
|
|
10422
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
10308
|
+
return _context17.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10423
10309
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
10424
10310
|
}), {
|
|
10425
10311
|
method: 'get',
|
|
@@ -10463,7 +10349,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10463
10349
|
accountId: accountId,
|
|
10464
10350
|
paymentMethodId: paymentMethodId
|
|
10465
10351
|
}, opts.hyperMediaEndpoint);
|
|
10466
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
10352
|
+
return _context18.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10467
10353
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10468
10354
|
}), {
|
|
10469
10355
|
data: body,
|
|
@@ -10504,7 +10390,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10504
10390
|
businessId: businessId,
|
|
10505
10391
|
paymentMethodId: paymentMethodId
|
|
10506
10392
|
}, opts.hyperMediaEndpoint);
|
|
10507
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
10393
|
+
return _context19.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10508
10394
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10509
10395
|
}), {
|
|
10510
10396
|
data: body,
|
|
@@ -10546,7 +10432,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10546
10432
|
patientId: patientId,
|
|
10547
10433
|
paymentMethodId: paymentMethodId
|
|
10548
10434
|
}, opts.hyperMediaEndpoint);
|
|
10549
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
10435
|
+
return _context20.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10550
10436
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10551
10437
|
}), {
|
|
10552
10438
|
data: body,
|
|
@@ -10696,7 +10582,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10696
10582
|
throw new Error(getPaymentGatewayError(updateSessionResponse));
|
|
10697
10583
|
|
|
10698
10584
|
case 38:
|
|
10699
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10585
|
+
return _context21.abrupt("return", _objectSpread$G({}, clientToken, {
|
|
10700
10586
|
nonce: clientToken.clientToken,
|
|
10701
10587
|
sourceResponse: updateSessionResponse
|
|
10702
10588
|
}));
|
|
@@ -10739,7 +10625,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10739
10625
|
|
|
10740
10626
|
case 47:
|
|
10741
10627
|
sourceResponse = _context21.sent;
|
|
10742
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10628
|
+
return _context21.abrupt("return", _objectSpread$G({}, clientToken, {
|
|
10743
10629
|
nonce: _get(sourceResponse, 'creditCards[0].nonce'),
|
|
10744
10630
|
sourceResponse: sourceResponse
|
|
10745
10631
|
}));
|
|
@@ -10796,7 +10682,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10796
10682
|
|
|
10797
10683
|
case 66:
|
|
10798
10684
|
sourceResponse = _context21.sent;
|
|
10799
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10685
|
+
return _context21.abrupt("return", _objectSpread$G({}, clientToken, {
|
|
10800
10686
|
nonce: sourceResponse.nonce,
|
|
10801
10687
|
sourceResponse: sourceResponse
|
|
10802
10688
|
}));
|
|
@@ -10826,7 +10712,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10826
10712
|
|
|
10827
10713
|
case 75:
|
|
10828
10714
|
canMakeApplePayment = _context21.sent;
|
|
10829
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10715
|
+
return _context21.abrupt("return", _objectSpread$G({}, clientToken, {
|
|
10830
10716
|
applePayInstance: applePayInstance,
|
|
10831
10717
|
canMakeApplePayment: canMakeApplePayment,
|
|
10832
10718
|
paymentRequest: paymentRequest
|
|
@@ -10874,9 +10760,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
10874
10760
|
getNonce: getNonce
|
|
10875
10761
|
});
|
|
10876
10762
|
|
|
10877
|
-
function ownKeys$
|
|
10763
|
+
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; }
|
|
10878
10764
|
|
|
10879
|
-
function _objectSpread$
|
|
10765
|
+
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; }
|
|
10880
10766
|
|
|
10881
10767
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
10882
10768
|
return "/businesses/" + businessId + "/pmspractices";
|
|
@@ -10914,7 +10800,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
10914
10800
|
doesParamExist.default({
|
|
10915
10801
|
businessId: businessId
|
|
10916
10802
|
}, opts.hyperMediaEndpoint);
|
|
10917
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10803
|
+
return _context.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10918
10804
|
path: pathBusinessPmsPractices(businessId)
|
|
10919
10805
|
}), {
|
|
10920
10806
|
method: 'get',
|
|
@@ -10957,7 +10843,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
10957
10843
|
doesParamExist.default({
|
|
10958
10844
|
businessId: businessId
|
|
10959
10845
|
}, opts.hyperMediaEndpoint);
|
|
10960
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10846
|
+
return _context2.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10961
10847
|
path: pathBusinessPmsServices(businessId)
|
|
10962
10848
|
}), {
|
|
10963
10849
|
method: 'get',
|
|
@@ -11000,7 +10886,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
11000
10886
|
doesParamExist.default({
|
|
11001
10887
|
businessId: businessId
|
|
11002
10888
|
}, opts.hyperMediaEndpoint);
|
|
11003
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
10889
|
+
return _context3.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
11004
10890
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
11005
10891
|
}), {
|
|
11006
10892
|
method: 'get',
|
|
@@ -11039,7 +10925,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
11039
10925
|
doesParamExist.default({
|
|
11040
10926
|
businessId: businessId
|
|
11041
10927
|
}, opts.hyperMediaEndpoint);
|
|
11042
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10928
|
+
return _context4.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
11043
10929
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
11044
10930
|
}), {
|
|
11045
10931
|
method: 'post',
|
|
@@ -11078,7 +10964,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
11078
10964
|
doesParamExist.default({
|
|
11079
10965
|
businessId: businessId
|
|
11080
10966
|
}, opts.hyperMediaEndpoint);
|
|
11081
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10967
|
+
return _context5.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
11082
10968
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
11083
10969
|
}), {
|
|
11084
10970
|
method: 'post',
|
|
@@ -11117,7 +11003,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
11117
11003
|
doesParamExist.default({
|
|
11118
11004
|
businessId: businessId
|
|
11119
11005
|
}, opts.hyperMediaEndpoint);
|
|
11120
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11006
|
+
return _context6.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
11121
11007
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
11122
11008
|
}), {
|
|
11123
11009
|
method: 'post',
|
|
@@ -11147,9 +11033,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
11147
11033
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
11148
11034
|
});
|
|
11149
11035
|
|
|
11150
|
-
function ownKeys$
|
|
11036
|
+
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; }
|
|
11151
11037
|
|
|
11152
|
-
function _objectSpread$
|
|
11038
|
+
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; }
|
|
11153
11039
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
11154
11040
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
11155
11041
|
};
|
|
@@ -11170,7 +11056,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
11170
11056
|
doesParamExist.default({
|
|
11171
11057
|
organisationId: organisationId
|
|
11172
11058
|
}, opts.hyperMediaEndpoint);
|
|
11173
|
-
return request(_objectSpread$
|
|
11059
|
+
return request(_objectSpread$I({}, opts, {
|
|
11174
11060
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
11175
11061
|
}), {
|
|
11176
11062
|
method: 'get',
|
|
@@ -11185,7 +11071,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
11185
11071
|
doesParamExist.default({
|
|
11186
11072
|
practiceProfileId: practiceProfileId
|
|
11187
11073
|
}, opts.hyperMediaEndpoint);
|
|
11188
|
-
return request(_objectSpread$
|
|
11074
|
+
return request(_objectSpread$I({}, opts, {
|
|
11189
11075
|
path: pathPracticeProfile(practiceProfileId)
|
|
11190
11076
|
}), {
|
|
11191
11077
|
method: 'get'
|
|
@@ -11203,7 +11089,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
11203
11089
|
var body = {
|
|
11204
11090
|
practiceId: practiceId
|
|
11205
11091
|
};
|
|
11206
|
-
return request(_objectSpread$
|
|
11092
|
+
return request(_objectSpread$I({}, opts, {
|
|
11207
11093
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
11208
11094
|
}), {
|
|
11209
11095
|
method: 'put',
|
|
@@ -11218,7 +11104,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
11218
11104
|
doesParamExist.default({
|
|
11219
11105
|
practiceProfileId: practiceProfileId
|
|
11220
11106
|
}, opts.hyperMediaEndpoint);
|
|
11221
|
-
return request(_objectSpread$
|
|
11107
|
+
return request(_objectSpread$I({}, opts, {
|
|
11222
11108
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
11223
11109
|
}), {
|
|
11224
11110
|
method: 'put'
|
|
@@ -11237,9 +11123,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
11237
11123
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
11238
11124
|
});
|
|
11239
11125
|
|
|
11240
|
-
function ownKeys$
|
|
11126
|
+
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; }
|
|
11241
11127
|
|
|
11242
|
-
function _objectSpread$
|
|
11128
|
+
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; }
|
|
11243
11129
|
|
|
11244
11130
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
11245
11131
|
return "/businesses/" + businessId + "/forms/" + formId + "/practices";
|
|
@@ -11301,7 +11187,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
11301
11187
|
doesParamExist.default({
|
|
11302
11188
|
businessId: businessId
|
|
11303
11189
|
}, opts.hyperMediaEndpoint);
|
|
11304
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11190
|
+
return _context.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11305
11191
|
path: pathBusinessPractices(businessId)
|
|
11306
11192
|
}), {
|
|
11307
11193
|
method: 'post',
|
|
@@ -11340,7 +11226,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11340
11226
|
doesParamExist.default({
|
|
11341
11227
|
organisationId: organisationId
|
|
11342
11228
|
}, opts.hyperMediaEndpoint);
|
|
11343
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11229
|
+
return _context2.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11344
11230
|
path: pathOrganisationPractices(organisationId)
|
|
11345
11231
|
}), {
|
|
11346
11232
|
method: 'post',
|
|
@@ -11380,7 +11266,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
11380
11266
|
businessId: businessId,
|
|
11381
11267
|
practiceId: practiceId
|
|
11382
11268
|
}, opts.hyperMediaEndpoint);
|
|
11383
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11269
|
+
return _context3.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11384
11270
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11385
11271
|
}), {
|
|
11386
11272
|
method: 'delete'
|
|
@@ -11419,7 +11305,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11419
11305
|
organisationId: organisationId,
|
|
11420
11306
|
practiceId: practiceId
|
|
11421
11307
|
}, opts.hyperMediaEndpoint);
|
|
11422
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11308
|
+
return _context4.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11423
11309
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11424
11310
|
}), {
|
|
11425
11311
|
method: 'delete'
|
|
@@ -11458,7 +11344,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
11458
11344
|
businessId: businessId,
|
|
11459
11345
|
practiceId: practiceId
|
|
11460
11346
|
}, opts.hyperMediaEndpoint);
|
|
11461
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11347
|
+
return _context5.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11462
11348
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11463
11349
|
}), {
|
|
11464
11350
|
method: 'get'
|
|
@@ -11500,7 +11386,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
11500
11386
|
doesParamExist.default({
|
|
11501
11387
|
businessId: businessId
|
|
11502
11388
|
}, opts.hyperMediaEndpoint);
|
|
11503
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11389
|
+
return _context6.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11504
11390
|
path: pathBusinessPractices(businessId)
|
|
11505
11391
|
}), {
|
|
11506
11392
|
method: 'get',
|
|
@@ -11545,7 +11431,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
11545
11431
|
businessId: businessId,
|
|
11546
11432
|
formId: formId
|
|
11547
11433
|
}, opts.hyperMediaEndpoint);
|
|
11548
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11434
|
+
return _context7.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11549
11435
|
path: pathBusinessFormPractices(businessId, formId)
|
|
11550
11436
|
}), {
|
|
11551
11437
|
method: 'get',
|
|
@@ -11587,7 +11473,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
11587
11473
|
practiceId: practiceId,
|
|
11588
11474
|
query: query
|
|
11589
11475
|
}, opts.hyperMediaEndpoint);
|
|
11590
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11476
|
+
return _context8.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11591
11477
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
11592
11478
|
}), {
|
|
11593
11479
|
method: 'get',
|
|
@@ -11631,7 +11517,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
11631
11517
|
businessId: businessId,
|
|
11632
11518
|
staffId: staffId
|
|
11633
11519
|
}, opts.hyperMediaEndpoint);
|
|
11634
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11520
|
+
return _context9.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11635
11521
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
11636
11522
|
}), {
|
|
11637
11523
|
method: 'get',
|
|
@@ -11674,7 +11560,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
11674
11560
|
doesParamExist.default({
|
|
11675
11561
|
organisationId: organisationId
|
|
11676
11562
|
}, opts.hyperMediaEndpoint);
|
|
11677
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11563
|
+
return _context10.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11678
11564
|
path: pathOrganisationPractices(organisationId)
|
|
11679
11565
|
}), {
|
|
11680
11566
|
method: 'get',
|
|
@@ -11713,7 +11599,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
11713
11599
|
doesParamExist.default({
|
|
11714
11600
|
practiceId: practiceId
|
|
11715
11601
|
}, opts.hyperMediaEndpoint);
|
|
11716
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11602
|
+
return _context11.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11717
11603
|
path: pathPractice(practiceId)
|
|
11718
11604
|
}), {
|
|
11719
11605
|
method: 'get'
|
|
@@ -11742,7 +11628,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
11742
11628
|
opts = {};
|
|
11743
11629
|
}
|
|
11744
11630
|
|
|
11745
|
-
return request(_objectSpread$
|
|
11631
|
+
return request(_objectSpread$J({}, opts, {
|
|
11746
11632
|
path: pathPractice(practiceId) + "/verify/request"
|
|
11747
11633
|
}), {
|
|
11748
11634
|
method: 'post'
|
|
@@ -11760,7 +11646,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
11760
11646
|
opts = {};
|
|
11761
11647
|
}
|
|
11762
11648
|
|
|
11763
|
-
return request(_objectSpread$
|
|
11649
|
+
return request(_objectSpread$J({}, opts, {
|
|
11764
11650
|
path: pathPractice(practiceId) + "/access/request"
|
|
11765
11651
|
}), {
|
|
11766
11652
|
method: 'post',
|
|
@@ -11784,7 +11670,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
11784
11670
|
opts = {};
|
|
11785
11671
|
}
|
|
11786
11672
|
|
|
11787
|
-
return request(_objectSpread$
|
|
11673
|
+
return request(_objectSpread$J({}, opts, {
|
|
11788
11674
|
path: pathOnboardingPractices()
|
|
11789
11675
|
}), {
|
|
11790
11676
|
method: 'get',
|
|
@@ -11813,7 +11699,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
11813
11699
|
businessId: businessId,
|
|
11814
11700
|
practiceId: practiceId
|
|
11815
11701
|
}, opts.hyperMediaEndpoint);
|
|
11816
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11702
|
+
return _context12.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11817
11703
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11818
11704
|
}), {
|
|
11819
11705
|
method: 'put',
|
|
@@ -11854,7 +11740,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11854
11740
|
organisationId: organisationId,
|
|
11855
11741
|
practiceId: practiceId
|
|
11856
11742
|
}, opts.hyperMediaEndpoint);
|
|
11857
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11743
|
+
return _context13.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11858
11744
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11859
11745
|
}), {
|
|
11860
11746
|
method: 'put',
|
|
@@ -11886,11 +11772,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
11886
11772
|
opts = {};
|
|
11887
11773
|
}
|
|
11888
11774
|
|
|
11889
|
-
return request(_objectSpread$
|
|
11775
|
+
return request(_objectSpread$J({}, opts, {
|
|
11890
11776
|
path: pathPractice(practiceId) + "/verify"
|
|
11891
11777
|
}), {
|
|
11892
11778
|
method: 'post',
|
|
11893
|
-
data: _objectSpread$
|
|
11779
|
+
data: _objectSpread$J({}, body, {
|
|
11894
11780
|
otkCode: otkCode
|
|
11895
11781
|
})
|
|
11896
11782
|
});
|
|
@@ -11915,7 +11801,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
11915
11801
|
doesParamExist.default({
|
|
11916
11802
|
practiceId: practiceId
|
|
11917
11803
|
}, opts.hyperMediaEndpoint);
|
|
11918
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
11804
|
+
return _context14.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11919
11805
|
path: pathPractice(practiceId) + "/clone"
|
|
11920
11806
|
}), {
|
|
11921
11807
|
method: 'post',
|
|
@@ -11960,7 +11846,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
11960
11846
|
businessId: businessId,
|
|
11961
11847
|
formId: formId
|
|
11962
11848
|
}, opts.hyperMediaEndpoint);
|
|
11963
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
11849
|
+
return _context15.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
11964
11850
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
11965
11851
|
}), {
|
|
11966
11852
|
method: 'get',
|
|
@@ -12003,9 +11889,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
12003
11889
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
12004
11890
|
});
|
|
12005
11891
|
|
|
12006
|
-
function ownKeys$
|
|
11892
|
+
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; }
|
|
12007
11893
|
|
|
12008
|
-
function _objectSpread$
|
|
11894
|
+
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; }
|
|
12009
11895
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
12010
11896
|
/**
|
|
12011
11897
|
* Get practice types
|
|
@@ -12022,7 +11908,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
12022
11908
|
opts = {};
|
|
12023
11909
|
}
|
|
12024
11910
|
|
|
12025
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11911
|
+
return _context.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
12026
11912
|
path: PATH__PRACTICE_TYPES
|
|
12027
11913
|
}), {
|
|
12028
11914
|
method: 'get'
|
|
@@ -12046,9 +11932,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
12046
11932
|
getPracticeTypes: getPracticeTypes
|
|
12047
11933
|
});
|
|
12048
11934
|
|
|
12049
|
-
function ownKeys$
|
|
11935
|
+
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; }
|
|
12050
11936
|
|
|
12051
|
-
function _objectSpread$
|
|
11937
|
+
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; }
|
|
12052
11938
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
12053
11939
|
return "/businesses/" + businessId + "/products";
|
|
12054
11940
|
};
|
|
@@ -12066,7 +11952,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
12066
11952
|
opts = {};
|
|
12067
11953
|
}
|
|
12068
11954
|
|
|
12069
|
-
return request(_objectSpread$
|
|
11955
|
+
return request(_objectSpread$L({}, opts, {
|
|
12070
11956
|
path: '/products'
|
|
12071
11957
|
}), {
|
|
12072
11958
|
method: 'get',
|
|
@@ -12088,7 +11974,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
12088
11974
|
doesParamExist.default({
|
|
12089
11975
|
businessId: businessId
|
|
12090
11976
|
});
|
|
12091
|
-
return request(_objectSpread$
|
|
11977
|
+
return request(_objectSpread$L({}, opts, {
|
|
12092
11978
|
path: pathBusinessProducts(businessId)
|
|
12093
11979
|
}), {
|
|
12094
11980
|
method: 'get',
|
|
@@ -12111,7 +11997,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
12111
11997
|
businessId: businessId,
|
|
12112
11998
|
productId: productId
|
|
12113
11999
|
});
|
|
12114
|
-
return request(_objectSpread$
|
|
12000
|
+
return request(_objectSpread$L({}, opts, {
|
|
12115
12001
|
path: pathBusinessProduct(businessId, productId)
|
|
12116
12002
|
}), {
|
|
12117
12003
|
method: 'get'
|
|
@@ -12127,9 +12013,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
12127
12013
|
getBusinessProduct: getBusinessProduct
|
|
12128
12014
|
});
|
|
12129
12015
|
|
|
12130
|
-
function ownKeys$
|
|
12016
|
+
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; }
|
|
12131
12017
|
|
|
12132
|
-
function _objectSpread$
|
|
12018
|
+
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; }
|
|
12133
12019
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
12134
12020
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
12135
12021
|
};
|
|
@@ -12148,7 +12034,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
12148
12034
|
opts = {};
|
|
12149
12035
|
}
|
|
12150
12036
|
|
|
12151
|
-
return request(_objectSpread$
|
|
12037
|
+
return request(_objectSpread$M({}, opts, {
|
|
12152
12038
|
path: pathProfessionalCategories
|
|
12153
12039
|
}), {
|
|
12154
12040
|
method: 'get',
|
|
@@ -12170,7 +12056,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
12170
12056
|
doesParamExist.default({
|
|
12171
12057
|
businessId: businessId
|
|
12172
12058
|
});
|
|
12173
|
-
return request(_objectSpread$
|
|
12059
|
+
return request(_objectSpread$M({}, opts, {
|
|
12174
12060
|
path: pathBusinessProfessionalCategories(businessId)
|
|
12175
12061
|
}), {
|
|
12176
12062
|
method: 'get',
|
|
@@ -12191,7 +12077,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
12191
12077
|
doesParamExist.default({
|
|
12192
12078
|
professionalCategoryId: professionalCategoryId
|
|
12193
12079
|
});
|
|
12194
|
-
return request(_objectSpread$
|
|
12080
|
+
return request(_objectSpread$M({}, opts, {
|
|
12195
12081
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
12196
12082
|
}), {
|
|
12197
12083
|
method: 'get'
|
|
@@ -12208,9 +12094,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
12208
12094
|
getProfessionalCategory: getProfessionalCategory
|
|
12209
12095
|
});
|
|
12210
12096
|
|
|
12211
|
-
function ownKeys$
|
|
12097
|
+
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; }
|
|
12212
12098
|
|
|
12213
|
-
function _objectSpread$
|
|
12099
|
+
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; }
|
|
12214
12100
|
|
|
12215
12101
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
12216
12102
|
return "/businesses/" + businessId + "/providerrequests";
|
|
@@ -12240,7 +12126,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
12240
12126
|
doesParamExist.default({
|
|
12241
12127
|
businessId: businessId
|
|
12242
12128
|
}, opts.hyperMediaEndpoint);
|
|
12243
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12129
|
+
return _context.abrupt("return", request(_objectSpread$N({}, opts, {
|
|
12244
12130
|
path: pathBusinessProviderRequests(businessId)
|
|
12245
12131
|
}), {
|
|
12246
12132
|
method: 'post',
|
|
@@ -12281,7 +12167,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
12281
12167
|
doesParamExist.default({
|
|
12282
12168
|
businessId: businessId
|
|
12283
12169
|
}, opts.hyperMediaEndpoint);
|
|
12284
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12170
|
+
return _context2.abrupt("return", request(_objectSpread$N({}, opts, {
|
|
12285
12171
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
12286
12172
|
}), {
|
|
12287
12173
|
method: 'post',
|
|
@@ -12309,9 +12195,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
12309
12195
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
12310
12196
|
});
|
|
12311
12197
|
|
|
12312
|
-
function ownKeys$
|
|
12198
|
+
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; }
|
|
12313
12199
|
|
|
12314
|
-
function _objectSpread$
|
|
12200
|
+
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; }
|
|
12315
12201
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
12316
12202
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
12317
12203
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -12332,7 +12218,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
12332
12218
|
opts = {};
|
|
12333
12219
|
}
|
|
12334
12220
|
|
|
12335
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12221
|
+
return _context.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12336
12222
|
path: pathGetProviderRegistrationTypes
|
|
12337
12223
|
}), {
|
|
12338
12224
|
method: 'get',
|
|
@@ -12367,7 +12253,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
12367
12253
|
opts = {};
|
|
12368
12254
|
}
|
|
12369
12255
|
|
|
12370
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12256
|
+
return _context2.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12371
12257
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
12372
12258
|
}), {
|
|
12373
12259
|
method: 'get'
|
|
@@ -12394,9 +12280,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
12394
12280
|
getProviderRegistrationType: getProviderRegistrationType
|
|
12395
12281
|
});
|
|
12396
12282
|
|
|
12397
|
-
function ownKeys$
|
|
12283
|
+
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; }
|
|
12398
12284
|
|
|
12399
|
-
function _objectSpread$
|
|
12285
|
+
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; }
|
|
12400
12286
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
12401
12287
|
return "/providernumbertypes";
|
|
12402
12288
|
};
|
|
@@ -12423,7 +12309,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
12423
12309
|
opts = {};
|
|
12424
12310
|
}
|
|
12425
12311
|
|
|
12426
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12312
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12427
12313
|
path: pathProviderNumberTypes()
|
|
12428
12314
|
}), {
|
|
12429
12315
|
method: 'get',
|
|
@@ -12461,7 +12347,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
12461
12347
|
doesParamExist.default({
|
|
12462
12348
|
providerNumberTypeId: providerNumberTypeId
|
|
12463
12349
|
}, opts.hyperMediaEndpoint);
|
|
12464
|
-
return request(_objectSpread$
|
|
12350
|
+
return request(_objectSpread$P({}, opts, {
|
|
12465
12351
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
12466
12352
|
}), {
|
|
12467
12353
|
method: 'get',
|
|
@@ -12477,9 +12363,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
12477
12363
|
getProviderNumberType: getProviderNumberType
|
|
12478
12364
|
});
|
|
12479
12365
|
|
|
12480
|
-
function ownKeys$
|
|
12366
|
+
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; }
|
|
12481
12367
|
|
|
12482
|
-
function _objectSpread$
|
|
12368
|
+
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; }
|
|
12483
12369
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
12484
12370
|
/**
|
|
12485
12371
|
* Get provider types
|
|
@@ -12496,7 +12382,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
12496
12382
|
opts = {};
|
|
12497
12383
|
}
|
|
12498
12384
|
|
|
12499
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12385
|
+
return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
12500
12386
|
path: PATH__PROVIDER_TYPES
|
|
12501
12387
|
}), {
|
|
12502
12388
|
method: 'get'
|
|
@@ -12520,16 +12406,16 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
12520
12406
|
getProviderTypes: getProviderTypes
|
|
12521
12407
|
});
|
|
12522
12408
|
|
|
12523
|
-
function ownKeys$
|
|
12409
|
+
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; }
|
|
12524
12410
|
|
|
12525
|
-
function _objectSpread$
|
|
12411
|
+
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; }
|
|
12526
12412
|
var PATH__REF_SOURCES = '/refsources';
|
|
12527
12413
|
var getRefSources = function getRefSources(query, opts) {
|
|
12528
12414
|
if (opts === void 0) {
|
|
12529
12415
|
opts = {};
|
|
12530
12416
|
}
|
|
12531
12417
|
|
|
12532
|
-
return request(_objectSpread$
|
|
12418
|
+
return request(_objectSpread$R({}, opts, {
|
|
12533
12419
|
path: PATH__REF_SOURCES
|
|
12534
12420
|
}), {
|
|
12535
12421
|
method: 'get',
|
|
@@ -12543,9 +12429,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
12543
12429
|
getRefSources: getRefSources
|
|
12544
12430
|
});
|
|
12545
12431
|
|
|
12546
|
-
function ownKeys$
|
|
12432
|
+
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; }
|
|
12547
12433
|
|
|
12548
|
-
function _objectSpread$
|
|
12434
|
+
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; }
|
|
12549
12435
|
var PATH__TRANSACTIONS = '/transaction';
|
|
12550
12436
|
/**
|
|
12551
12437
|
* Get risk score
|
|
@@ -12566,7 +12452,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
12566
12452
|
doesParamExist.default({
|
|
12567
12453
|
transactionId: transactionId
|
|
12568
12454
|
}, opts.hyperMediaEndpoint);
|
|
12569
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12455
|
+
return _context.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12570
12456
|
apiName: 'risk',
|
|
12571
12457
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
12572
12458
|
}), {
|
|
@@ -12601,7 +12487,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
12601
12487
|
opts = {};
|
|
12602
12488
|
}
|
|
12603
12489
|
|
|
12604
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12490
|
+
return _context2.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12605
12491
|
apiName: 'risk',
|
|
12606
12492
|
path: PATH__TRANSACTIONS
|
|
12607
12493
|
}), {
|
|
@@ -12628,9 +12514,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
12628
12514
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
12629
12515
|
});
|
|
12630
12516
|
|
|
12631
|
-
function ownKeys$
|
|
12517
|
+
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; }
|
|
12632
12518
|
|
|
12633
|
-
function _objectSpread$
|
|
12519
|
+
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; }
|
|
12634
12520
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
12635
12521
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
12636
12522
|
};
|
|
@@ -12664,7 +12550,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
12664
12550
|
doesParamExist.default({
|
|
12665
12551
|
businessId: businessId
|
|
12666
12552
|
}, opts.hyperMediaEndpoint);
|
|
12667
|
-
return request(_objectSpread$
|
|
12553
|
+
return request(_objectSpread$T({}, opts, {
|
|
12668
12554
|
path: pathBusinessesRNAs(businessId)
|
|
12669
12555
|
}), {
|
|
12670
12556
|
method: 'get',
|
|
@@ -12687,7 +12573,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
12687
12573
|
businessId: businessId,
|
|
12688
12574
|
rnaId: rnaId
|
|
12689
12575
|
}, opts.hyperMediaEndpoint);
|
|
12690
|
-
return request(_objectSpread$
|
|
12576
|
+
return request(_objectSpread$T({}, opts, {
|
|
12691
12577
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
12692
12578
|
}), {
|
|
12693
12579
|
method: 'get'
|
|
@@ -12708,7 +12594,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
12708
12594
|
doesParamExist.default({
|
|
12709
12595
|
businessId: businessId
|
|
12710
12596
|
}, opts.hyperMediaEndpoint);
|
|
12711
|
-
return request(_objectSpread$
|
|
12597
|
+
return request(_objectSpread$T({}, opts, {
|
|
12712
12598
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
12713
12599
|
}), {
|
|
12714
12600
|
method: 'get',
|
|
@@ -12723,7 +12609,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
12723
12609
|
doesParamExist.default({
|
|
12724
12610
|
healthFundId: healthFundId
|
|
12725
12611
|
}, opts.hyperMediaEndpoint);
|
|
12726
|
-
return request(_objectSpread$
|
|
12612
|
+
return request(_objectSpread$T({}, opts, {
|
|
12727
12613
|
path: pathHealthFundRNAs(healthFundId)
|
|
12728
12614
|
}), {
|
|
12729
12615
|
method: 'post',
|
|
@@ -12739,7 +12625,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
12739
12625
|
healthFundId: healthFundId,
|
|
12740
12626
|
rnaId: rnaId
|
|
12741
12627
|
}, opts.hyperMediaEndpoint);
|
|
12742
|
-
return request(_objectSpread$
|
|
12628
|
+
return request(_objectSpread$T({}, opts, {
|
|
12743
12629
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
12744
12630
|
}), {
|
|
12745
12631
|
method: 'post',
|
|
@@ -12755,7 +12641,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
12755
12641
|
healthFundId: healthFundId,
|
|
12756
12642
|
rnaId: rnaId
|
|
12757
12643
|
}, opts.hyperMediaEndpoint);
|
|
12758
|
-
return request(_objectSpread$
|
|
12644
|
+
return request(_objectSpread$T({}, opts, {
|
|
12759
12645
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
12760
12646
|
}), {
|
|
12761
12647
|
method: 'get',
|
|
@@ -12770,7 +12656,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
12770
12656
|
doesParamExist.default({
|
|
12771
12657
|
healthFundId: healthFundId
|
|
12772
12658
|
}, opts.hyperMediaEndpoint);
|
|
12773
|
-
return request(_objectSpread$
|
|
12659
|
+
return request(_objectSpread$T({}, opts, {
|
|
12774
12660
|
path: pathHealthFundRNAs(healthFundId)
|
|
12775
12661
|
}), {
|
|
12776
12662
|
method: 'get',
|
|
@@ -12787,7 +12673,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
12787
12673
|
rnaId: rnaId,
|
|
12788
12674
|
rnaAppointmentId: rnaAppointmentId
|
|
12789
12675
|
}, opts.hyperMediaEndpoint);
|
|
12790
|
-
return request(_objectSpread$
|
|
12676
|
+
return request(_objectSpread$T({}, opts, {
|
|
12791
12677
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
12792
12678
|
}), {
|
|
12793
12679
|
method: 'put',
|
|
@@ -12813,9 +12699,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
12813
12699
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
12814
12700
|
});
|
|
12815
12701
|
|
|
12816
|
-
function ownKeys$
|
|
12702
|
+
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; }
|
|
12817
12703
|
|
|
12818
|
-
function _objectSpread$
|
|
12704
|
+
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; }
|
|
12819
12705
|
var PATH__ROLES = '/roles';
|
|
12820
12706
|
/**
|
|
12821
12707
|
* Get roles
|
|
@@ -12832,7 +12718,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
12832
12718
|
opts = {};
|
|
12833
12719
|
}
|
|
12834
12720
|
|
|
12835
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12721
|
+
return _context.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12836
12722
|
path: PATH__ROLES
|
|
12837
12723
|
}), {
|
|
12838
12724
|
method: 'get'
|
|
@@ -12856,9 +12742,9 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
12856
12742
|
getRoles: getRoles
|
|
12857
12743
|
});
|
|
12858
12744
|
|
|
12859
|
-
function ownKeys$
|
|
12745
|
+
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; }
|
|
12860
12746
|
|
|
12861
|
-
function _objectSpread$
|
|
12747
|
+
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; }
|
|
12862
12748
|
var PATH__SELF_CHECKOUT_SESSIONS = '/selfcheckoutsessions';
|
|
12863
12749
|
/**
|
|
12864
12750
|
* Create a self checkout session
|
|
@@ -12876,7 +12762,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12876
12762
|
opts = {};
|
|
12877
12763
|
}
|
|
12878
12764
|
|
|
12879
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12765
|
+
return _context.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
12880
12766
|
path: PATH__SELF_CHECKOUT_SESSIONS
|
|
12881
12767
|
}), {
|
|
12882
12768
|
method: 'post',
|
|
@@ -12911,7 +12797,7 @@ var approve = /*#__PURE__*/function () {
|
|
|
12911
12797
|
opts = {};
|
|
12912
12798
|
}
|
|
12913
12799
|
|
|
12914
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12800
|
+
return _context2.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
12915
12801
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
|
|
12916
12802
|
}), {
|
|
12917
12803
|
method: 'post',
|
|
@@ -12947,7 +12833,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
12947
12833
|
opts = {};
|
|
12948
12834
|
}
|
|
12949
12835
|
|
|
12950
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12836
|
+
return _context3.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
12951
12837
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
|
|
12952
12838
|
}), {
|
|
12953
12839
|
method: 'post',
|
|
@@ -12983,7 +12869,7 @@ var cancelSession = /*#__PURE__*/function () {
|
|
|
12983
12869
|
opts = {};
|
|
12984
12870
|
}
|
|
12985
12871
|
|
|
12986
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12872
|
+
return _context4.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
12987
12873
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
|
|
12988
12874
|
}), {
|
|
12989
12875
|
method: 'post',
|
|
@@ -13018,7 +12904,7 @@ var createMyInvoice = /*#__PURE__*/function () {
|
|
|
13018
12904
|
opts = {};
|
|
13019
12905
|
}
|
|
13020
12906
|
|
|
13021
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
12907
|
+
return _context5.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13022
12908
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
|
|
13023
12909
|
}), {
|
|
13024
12910
|
method: 'post',
|
|
@@ -13052,7 +12938,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
|
|
|
13052
12938
|
opts = {};
|
|
13053
12939
|
}
|
|
13054
12940
|
|
|
13055
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
12941
|
+
return _context6.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13056
12942
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
|
|
13057
12943
|
}), {
|
|
13058
12944
|
method: 'post',
|
|
@@ -13092,7 +12978,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
|
|
|
13092
12978
|
nonce: nonce,
|
|
13093
12979
|
source: source
|
|
13094
12980
|
}, opts.hyperMediaEndpoint);
|
|
13095
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
12981
|
+
return _context7.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13096
12982
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13097
12983
|
}), {
|
|
13098
12984
|
method: 'post',
|
|
@@ -13130,7 +13016,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
13130
13016
|
opts = {};
|
|
13131
13017
|
}
|
|
13132
13018
|
|
|
13133
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
13019
|
+
return _context8.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13134
13020
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13135
13021
|
}), {
|
|
13136
13022
|
method: 'get',
|
|
@@ -13184,7 +13070,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
13184
13070
|
email: email,
|
|
13185
13071
|
memberId: memberId
|
|
13186
13072
|
});
|
|
13187
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
13073
|
+
return _context9.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13188
13074
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
|
|
13189
13075
|
}), {
|
|
13190
13076
|
method: 'get',
|
|
@@ -13221,7 +13107,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
13221
13107
|
opts = {};
|
|
13222
13108
|
}
|
|
13223
13109
|
|
|
13224
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13110
|
+
return _context10.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13225
13111
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
|
|
13226
13112
|
}), {
|
|
13227
13113
|
method: 'post',
|
|
@@ -13256,7 +13142,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13256
13142
|
opts = {};
|
|
13257
13143
|
}
|
|
13258
13144
|
|
|
13259
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
13145
|
+
return _context11.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13260
13146
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13261
13147
|
}), {
|
|
13262
13148
|
method: 'get',
|
|
@@ -13290,7 +13176,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
|
|
|
13290
13176
|
opts = {};
|
|
13291
13177
|
}
|
|
13292
13178
|
|
|
13293
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13179
|
+
return _context12.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13294
13180
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
|
|
13295
13181
|
}), {
|
|
13296
13182
|
method: 'get',
|
|
@@ -13324,7 +13210,7 @@ var rememberMe = /*#__PURE__*/function () {
|
|
|
13324
13210
|
opts = {};
|
|
13325
13211
|
}
|
|
13326
13212
|
|
|
13327
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13213
|
+
return _context13.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13328
13214
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
|
|
13329
13215
|
}), {
|
|
13330
13216
|
method: 'post',
|
|
@@ -13359,7 +13245,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13359
13245
|
opts = {};
|
|
13360
13246
|
}
|
|
13361
13247
|
|
|
13362
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13248
|
+
return _context14.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13363
13249
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13364
13250
|
}), {
|
|
13365
13251
|
method: 'put',
|
|
@@ -13398,7 +13284,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
13398
13284
|
doesParamExist.default({
|
|
13399
13285
|
accountId: accountId
|
|
13400
13286
|
}, opts.hyperMediaEndpoint);
|
|
13401
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13287
|
+
return _context15.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13402
13288
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
|
|
13403
13289
|
}), {
|
|
13404
13290
|
method: 'post',
|
|
@@ -13642,7 +13528,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13642
13528
|
}
|
|
13643
13529
|
|
|
13644
13530
|
_context18.next = 8;
|
|
13645
|
-
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$
|
|
13531
|
+
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$V({}, opts, {
|
|
13646
13532
|
requestConfig: {
|
|
13647
13533
|
tokenType: 'session'
|
|
13648
13534
|
}
|
|
@@ -13674,7 +13560,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13674
13560
|
break;
|
|
13675
13561
|
}
|
|
13676
13562
|
|
|
13677
|
-
healthFundAccountRequestBody = _objectSpread$
|
|
13563
|
+
healthFundAccountRequestBody = _objectSpread$V({
|
|
13678
13564
|
healthFundId: _get(healthFund, '_id')
|
|
13679
13565
|
}, data || {}); // If it's an existing account, delete their current health fund account (if any), and add the new one to their account.
|
|
13680
13566
|
|
|
@@ -13794,7 +13680,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
|
|
|
13794
13680
|
doesParamExist.default({
|
|
13795
13681
|
paymentMethodId: paymentMethodId
|
|
13796
13682
|
}, opts.hyperMediaEndpoint);
|
|
13797
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
13683
|
+
return _context19.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13798
13684
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
|
|
13799
13685
|
}), {
|
|
13800
13686
|
method: 'delete',
|
|
@@ -13837,9 +13723,9 @@ var selfCheckoutSessions = /*#__PURE__*/Object.freeze({
|
|
|
13837
13723
|
deletePaymentMethod: deletePaymentMethod
|
|
13838
13724
|
});
|
|
13839
13725
|
|
|
13840
|
-
function ownKeys$
|
|
13726
|
+
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; }
|
|
13841
13727
|
|
|
13842
|
-
function _objectSpread$
|
|
13728
|
+
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; }
|
|
13843
13729
|
|
|
13844
13730
|
var pathBusinessServices = function pathBusinessServices(businessId) {
|
|
13845
13731
|
return "/businesses/" + businessId + "/services";
|
|
@@ -13889,7 +13775,7 @@ var createBusinessService = /*#__PURE__*/function () {
|
|
|
13889
13775
|
doesParamExist.default({
|
|
13890
13776
|
businessId: businessId
|
|
13891
13777
|
}, opts.hyperMediaEndpoint);
|
|
13892
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13778
|
+
return _context.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13893
13779
|
path: "" + pathBusinessServices(businessId)
|
|
13894
13780
|
}), {
|
|
13895
13781
|
method: 'post',
|
|
@@ -13930,7 +13816,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13930
13816
|
businessId: businessId,
|
|
13931
13817
|
practiceId: practiceId
|
|
13932
13818
|
}, opts.hyperMediaEndpoint);
|
|
13933
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13819
|
+
return _context2.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13934
13820
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13935
13821
|
}), {
|
|
13936
13822
|
method: 'post',
|
|
@@ -13970,7 +13856,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
|
|
|
13970
13856
|
businessId: businessId,
|
|
13971
13857
|
serviceId: serviceId
|
|
13972
13858
|
}, opts.hyperMediaEndpoint);
|
|
13973
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
13859
|
+
return _context3.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13974
13860
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13975
13861
|
}), {
|
|
13976
13862
|
method: 'delete'
|
|
@@ -14009,7 +13895,7 @@ var getBusinessService = /*#__PURE__*/function () {
|
|
|
14009
13895
|
businessId: businessId,
|
|
14010
13896
|
serviceId: serviceId
|
|
14011
13897
|
}, opts.hyperMediaEndpoint);
|
|
14012
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
13898
|
+
return _context4.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
14013
13899
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14014
13900
|
}), {
|
|
14015
13901
|
method: 'get'
|
|
@@ -14047,7 +13933,7 @@ var getBusinessServices = /*#__PURE__*/function () {
|
|
|
14047
13933
|
doesParamExist.default({
|
|
14048
13934
|
businessId: businessId
|
|
14049
13935
|
}, opts.hyperMediaEndpoint);
|
|
14050
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
13936
|
+
return _context5.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
14051
13937
|
path: "" + pathBusinessServices(businessId)
|
|
14052
13938
|
}), {
|
|
14053
13939
|
method: 'get',
|
|
@@ -14089,7 +13975,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
14089
13975
|
practiceId: practiceId,
|
|
14090
13976
|
serviceId: serviceId
|
|
14091
13977
|
}, opts.hyperMediaEndpoint);
|
|
14092
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
13978
|
+
return _context6.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
14093
13979
|
path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
|
|
14094
13980
|
}), {
|
|
14095
13981
|
method: 'get'
|
|
@@ -14133,7 +14019,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
|
|
|
14133
14019
|
businessId: businessId,
|
|
14134
14020
|
practiceId: practiceId
|
|
14135
14021
|
}, opts.hyperMediaEndpoint);
|
|
14136
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
14022
|
+
return _context7.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
14137
14023
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
14138
14024
|
}), {
|
|
14139
14025
|
method: 'get',
|
|
@@ -14180,7 +14066,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14180
14066
|
practiceId: practiceId,
|
|
14181
14067
|
staffId: staffId
|
|
14182
14068
|
}, opts.hyperMediaEndpoint);
|
|
14183
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
14069
|
+
return _context8.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
14184
14070
|
path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
|
|
14185
14071
|
}), {
|
|
14186
14072
|
method: 'get',
|
|
@@ -14229,7 +14115,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
|
|
|
14229
14115
|
staffId: staffId,
|
|
14230
14116
|
serviceId: serviceId
|
|
14231
14117
|
}, opts.hyperMediaEndpoint);
|
|
14232
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
14118
|
+
return _context9.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
14233
14119
|
path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
|
|
14234
14120
|
}), {
|
|
14235
14121
|
method: 'get',
|
|
@@ -14270,7 +14156,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14270
14156
|
opts = {};
|
|
14271
14157
|
}
|
|
14272
14158
|
|
|
14273
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
14159
|
+
return _context10.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
14274
14160
|
path: "" + pathBusinessStaffMemberServices(businessId, staffId)
|
|
14275
14161
|
}), {
|
|
14276
14162
|
method: 'get',
|
|
@@ -14311,7 +14197,7 @@ var updateBusinessService = /*#__PURE__*/function () {
|
|
|
14311
14197
|
businessId: businessId,
|
|
14312
14198
|
serviceId: serviceId
|
|
14313
14199
|
}, opts.hyperMediaEndpoint);
|
|
14314
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14200
|
+
return _context11.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
14315
14201
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14316
14202
|
}), {
|
|
14317
14203
|
method: 'put',
|
|
@@ -14346,9 +14232,9 @@ var services = /*#__PURE__*/Object.freeze({
|
|
|
14346
14232
|
updateBusinessService: updateBusinessService
|
|
14347
14233
|
});
|
|
14348
14234
|
|
|
14349
|
-
function ownKeys$
|
|
14235
|
+
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; }
|
|
14350
14236
|
|
|
14351
|
-
function _objectSpread$
|
|
14237
|
+
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; }
|
|
14352
14238
|
|
|
14353
14239
|
var pathBusiness$1 = function pathBusiness(businessId) {
|
|
14354
14240
|
return "/businesses/" + businessId;
|
|
@@ -14373,7 +14259,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
|
|
|
14373
14259
|
doesParamExist.default({
|
|
14374
14260
|
businessId: businessId
|
|
14375
14261
|
}, opts.hyperMediaEndpoint);
|
|
14376
|
-
return request(_objectSpread$
|
|
14262
|
+
return request(_objectSpread$X({}, opts, {
|
|
14377
14263
|
path: pathBusiness$1(businessId) + "/settlements"
|
|
14378
14264
|
}), {
|
|
14379
14265
|
method: 'get',
|
|
@@ -14399,7 +14285,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
|
|
|
14399
14285
|
doesParamExist.default({
|
|
14400
14286
|
businessId: businessId
|
|
14401
14287
|
}, opts.hyperMediaEndpoint);
|
|
14402
|
-
return request(_objectSpread$
|
|
14288
|
+
return request(_objectSpread$X({}, opts, {
|
|
14403
14289
|
path: pathBusiness$1(businessId) + "/settlementsummaries"
|
|
14404
14290
|
}), {
|
|
14405
14291
|
method: 'get',
|
|
@@ -14425,7 +14311,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
|
|
|
14425
14311
|
doesParamExist.default({
|
|
14426
14312
|
businessId: businessId
|
|
14427
14313
|
}, opts.hyperMediaEndpoint);
|
|
14428
|
-
return request(_objectSpread$
|
|
14314
|
+
return request(_objectSpread$X({}, opts, {
|
|
14429
14315
|
path: pathBusiness$1(businessId) + "/settlementsummaries/period"
|
|
14430
14316
|
}), {
|
|
14431
14317
|
method: 'get',
|
|
@@ -14455,7 +14341,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
|
|
|
14455
14341
|
doesParamExist.default({
|
|
14456
14342
|
settlementSummaryId: settlementSummaryId
|
|
14457
14343
|
}, opts.hyperMediaEndpoint);
|
|
14458
|
-
return request(_objectSpread$
|
|
14344
|
+
return request(_objectSpread$X({}, opts, {
|
|
14459
14345
|
path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
|
|
14460
14346
|
}), {
|
|
14461
14347
|
method: 'get',
|
|
@@ -14481,7 +14367,7 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
|
|
|
14481
14367
|
doesParamExist.default({
|
|
14482
14368
|
businessId: businessId
|
|
14483
14369
|
}, opts.hyperMediaEndpoint);
|
|
14484
|
-
return request(_objectSpread$
|
|
14370
|
+
return request(_objectSpread$X({}, opts, {
|
|
14485
14371
|
path: pathBusiness$1(businessId) + "/settlementsummariessearchoptions"
|
|
14486
14372
|
}), {
|
|
14487
14373
|
method: 'get',
|
|
@@ -14498,9 +14384,9 @@ var settlements = /*#__PURE__*/Object.freeze({
|
|
|
14498
14384
|
getBusinessSettlementSummariesSearchOptions: getBusinessSettlementSummariesSearchOptions
|
|
14499
14385
|
});
|
|
14500
14386
|
|
|
14501
|
-
function ownKeys$
|
|
14387
|
+
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; }
|
|
14502
14388
|
|
|
14503
|
-
function _objectSpread$
|
|
14389
|
+
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; }
|
|
14504
14390
|
var pathBusinessSignUp = function pathBusinessSignUp() {
|
|
14505
14391
|
return '/businesses/signup';
|
|
14506
14392
|
};
|
|
@@ -14512,7 +14398,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
|
|
|
14512
14398
|
opts = {};
|
|
14513
14399
|
}
|
|
14514
14400
|
|
|
14515
|
-
return request(_objectSpread$
|
|
14401
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14516
14402
|
path: pathBusinessSignUp()
|
|
14517
14403
|
}), {
|
|
14518
14404
|
method: 'post',
|
|
@@ -14524,7 +14410,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
|
|
|
14524
14410
|
opts = {};
|
|
14525
14411
|
}
|
|
14526
14412
|
|
|
14527
|
-
return request(_objectSpread$
|
|
14413
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14528
14414
|
path: pathSignUp()
|
|
14529
14415
|
}), {
|
|
14530
14416
|
method: 'post',
|
|
@@ -14540,9 +14426,9 @@ var signUp$1 = /*#__PURE__*/Object.freeze({
|
|
|
14540
14426
|
createConsumerAccount: createConsumerAccount
|
|
14541
14427
|
});
|
|
14542
14428
|
|
|
14543
|
-
function ownKeys$
|
|
14429
|
+
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; }
|
|
14544
14430
|
|
|
14545
|
-
function _objectSpread$
|
|
14431
|
+
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; }
|
|
14546
14432
|
var pathBusinessSpecialties = function pathBusinessSpecialties(businessId) {
|
|
14547
14433
|
return "/businesses/" + businessId + "/specialties";
|
|
14548
14434
|
};
|
|
@@ -14561,7 +14447,7 @@ var getSpecialties = function getSpecialties(query, opts) {
|
|
|
14561
14447
|
opts = {};
|
|
14562
14448
|
}
|
|
14563
14449
|
|
|
14564
|
-
return request(_objectSpread$
|
|
14450
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14565
14451
|
path: pathSpecialties
|
|
14566
14452
|
}), {
|
|
14567
14453
|
method: 'get',
|
|
@@ -14583,7 +14469,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
|
|
|
14583
14469
|
doesParamExist.default({
|
|
14584
14470
|
businessId: businessId
|
|
14585
14471
|
});
|
|
14586
|
-
return request(_objectSpread$
|
|
14472
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14587
14473
|
path: pathBusinessSpecialties(businessId)
|
|
14588
14474
|
}), {
|
|
14589
14475
|
method: 'get',
|
|
@@ -14604,7 +14490,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
|
|
|
14604
14490
|
doesParamExist.default({
|
|
14605
14491
|
specialtyId: specialtyId
|
|
14606
14492
|
});
|
|
14607
|
-
return request(_objectSpread$
|
|
14493
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14608
14494
|
path: pathSpecialty(specialtyId)
|
|
14609
14495
|
}), {
|
|
14610
14496
|
method: 'get'
|
|
@@ -14621,9 +14507,9 @@ var specialties = /*#__PURE__*/Object.freeze({
|
|
|
14621
14507
|
getSpecialty: getSpecialty
|
|
14622
14508
|
});
|
|
14623
14509
|
|
|
14624
|
-
function ownKeys
|
|
14510
|
+
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; }
|
|
14625
14511
|
|
|
14626
|
-
function _objectSpread
|
|
14512
|
+
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; }
|
|
14627
14513
|
var pathLinkStaffProfile = function pathLinkStaffProfile(staffProfileId) {
|
|
14628
14514
|
return "/staffprofiles/" + staffProfileId + "/link";
|
|
14629
14515
|
};
|
|
@@ -14644,7 +14530,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
|
|
|
14644
14530
|
doesParamExist.default({
|
|
14645
14531
|
organisationId: organisationId
|
|
14646
14532
|
}, opts.hyperMediaEndpoint);
|
|
14647
|
-
return request(_objectSpread
|
|
14533
|
+
return request(_objectSpread$_({}, opts, {
|
|
14648
14534
|
path: pathOrganisationStaffProfiles(organisationId)
|
|
14649
14535
|
}), {
|
|
14650
14536
|
method: 'get',
|
|
@@ -14659,7 +14545,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
|
|
|
14659
14545
|
doesParamExist.default({
|
|
14660
14546
|
staffProfileId: staffProfileId
|
|
14661
14547
|
}, opts.hyperMediaEndpoint);
|
|
14662
|
-
return request(_objectSpread
|
|
14548
|
+
return request(_objectSpread$_({}, opts, {
|
|
14663
14549
|
path: pathStaffProfile(staffProfileId)
|
|
14664
14550
|
}), {
|
|
14665
14551
|
method: 'get'
|
|
@@ -14677,7 +14563,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
|
|
|
14677
14563
|
var body = {
|
|
14678
14564
|
staffId: staffId
|
|
14679
14565
|
};
|
|
14680
|
-
return request(_objectSpread
|
|
14566
|
+
return request(_objectSpread$_({}, opts, {
|
|
14681
14567
|
path: pathLinkStaffProfile(staffProfileId)
|
|
14682
14568
|
}), {
|
|
14683
14569
|
method: 'put',
|
|
@@ -14692,7 +14578,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
|
|
|
14692
14578
|
doesParamExist.default({
|
|
14693
14579
|
staffProfileId: staffProfileId
|
|
14694
14580
|
}, opts.hyperMediaEndpoint);
|
|
14695
|
-
return request(_objectSpread
|
|
14581
|
+
return request(_objectSpread$_({}, opts, {
|
|
14696
14582
|
path: pathUnlinkStaffProfile(staffProfileId)
|
|
14697
14583
|
}), {
|
|
14698
14584
|
method: 'put'
|
|
@@ -14711,9 +14597,9 @@ var staffProfiles = /*#__PURE__*/Object.freeze({
|
|
|
14711
14597
|
unlinkStaffProfile: unlinkStaffProfile
|
|
14712
14598
|
});
|
|
14713
14599
|
|
|
14714
|
-
function ownKeys
|
|
14600
|
+
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; }
|
|
14715
14601
|
|
|
14716
|
-
function _objectSpread
|
|
14602
|
+
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; }
|
|
14717
14603
|
|
|
14718
14604
|
var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
|
|
14719
14605
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
|
|
@@ -14780,7 +14666,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14780
14666
|
doesParamExist.default({
|
|
14781
14667
|
businessId: businessId
|
|
14782
14668
|
}, opts.hyperMediaEndpoint);
|
|
14783
|
-
return _context.abrupt("return", request(_objectSpread
|
|
14669
|
+
return _context.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
14784
14670
|
path: pathBusinessStaff(businessId)
|
|
14785
14671
|
}), {
|
|
14786
14672
|
method: 'post',
|
|
@@ -14819,7 +14705,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
14819
14705
|
doesParamExist.default({
|
|
14820
14706
|
organisationId: organisationId
|
|
14821
14707
|
}, opts.hyperMediaEndpoint);
|
|
14822
|
-
return _context2.abrupt("return", request(_objectSpread
|
|
14708
|
+
return _context2.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
14823
14709
|
path: pathOrganisationStaff(organisationId)
|
|
14824
14710
|
}), {
|
|
14825
14711
|
method: 'post',
|
|
@@ -14859,7 +14745,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14859
14745
|
businessId: businessId,
|
|
14860
14746
|
staffId: staffId
|
|
14861
14747
|
}, opts.hyperMediaEndpoint);
|
|
14862
|
-
return _context3.abrupt("return", request(_objectSpread
|
|
14748
|
+
return _context3.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
14863
14749
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14864
14750
|
}), {
|
|
14865
14751
|
method: 'delete'
|
|
@@ -14898,7 +14784,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
14898
14784
|
businessId: businessId,
|
|
14899
14785
|
staffId: staffId
|
|
14900
14786
|
}, opts.hyperMediaEndpoint);
|
|
14901
|
-
return _context4.abrupt("return", request(_objectSpread
|
|
14787
|
+
return _context4.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
14902
14788
|
path: pathBusinessStaffMember(businessId, staffId) + "/email"
|
|
14903
14789
|
}), {
|
|
14904
14790
|
method: 'delete'
|
|
@@ -14937,7 +14823,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14937
14823
|
businessId: businessId,
|
|
14938
14824
|
staffId: staffId
|
|
14939
14825
|
}, opts.hyperMediaEndpoint);
|
|
14940
|
-
return _context5.abrupt("return", request(_objectSpread
|
|
14826
|
+
return _context5.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
14941
14827
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14942
14828
|
}), {
|
|
14943
14829
|
method: 'get'
|
|
@@ -14977,7 +14863,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
|
|
|
14977
14863
|
businessId: businessId,
|
|
14978
14864
|
staffId: staffId
|
|
14979
14865
|
}, opts.hyperMediaEndpoint);
|
|
14980
|
-
return _context6.abrupt("return", request(_objectSpread
|
|
14866
|
+
return _context6.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
14981
14867
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
14982
14868
|
}), {
|
|
14983
14869
|
method: 'get',
|
|
@@ -15021,7 +14907,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
|
|
|
15021
14907
|
practiceId: practiceId,
|
|
15022
14908
|
staffId: staffId
|
|
15023
14909
|
}, opts.hyperMediaEndpoint);
|
|
15024
|
-
return _context7.abrupt("return", request(_objectSpread
|
|
14910
|
+
return _context7.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15025
14911
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
|
|
15026
14912
|
}), {
|
|
15027
14913
|
method: 'get'
|
|
@@ -15067,7 +14953,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
|
|
|
15067
14953
|
practiceId: practiceId,
|
|
15068
14954
|
staffId: staffId
|
|
15069
14955
|
}, opts.hyperMediaEndpoint);
|
|
15070
|
-
return _context8.abrupt("return", request(_objectSpread
|
|
14956
|
+
return _context8.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15071
14957
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
|
|
15072
14958
|
}), {
|
|
15073
14959
|
method: 'get',
|
|
@@ -15108,7 +14994,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15108
14994
|
businessId: businessId,
|
|
15109
14995
|
practiceId: practiceId
|
|
15110
14996
|
}, opts.hyperMediaEndpoint);
|
|
15111
|
-
return _context9.abrupt("return", request(_objectSpread
|
|
14997
|
+
return _context9.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15112
14998
|
path: pathBusinessPracticeStaffMembers(businessId, practiceId)
|
|
15113
14999
|
}), {
|
|
15114
15000
|
method: 'get',
|
|
@@ -15151,7 +15037,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15151
15037
|
formId: formId,
|
|
15152
15038
|
practiceId: practiceId
|
|
15153
15039
|
}, opts.hyperMediaEndpoint);
|
|
15154
|
-
return _context10.abrupt("return", request(_objectSpread
|
|
15040
|
+
return _context10.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15155
15041
|
path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
|
|
15156
15042
|
}), {
|
|
15157
15043
|
method: 'get',
|
|
@@ -15196,7 +15082,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
|
|
|
15196
15082
|
businessId: businessId,
|
|
15197
15083
|
serviceId: serviceId
|
|
15198
15084
|
}, opts.hyperMediaEndpoint);
|
|
15199
|
-
return _context11.abrupt("return", request(_objectSpread
|
|
15085
|
+
return _context11.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15200
15086
|
path: pathBusinessServiceStaffMembers(businessId, serviceId)
|
|
15201
15087
|
}), {
|
|
15202
15088
|
method: 'get',
|
|
@@ -15233,7 +15119,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
|
|
|
15233
15119
|
doesParamExist.default({
|
|
15234
15120
|
businessId: businessId
|
|
15235
15121
|
}, opts.hyperMediaEndpoint);
|
|
15236
|
-
return _context12.abrupt("return", request(_objectSpread
|
|
15122
|
+
return _context12.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15237
15123
|
path: pathBusinessStaff(businessId)
|
|
15238
15124
|
}), {
|
|
15239
15125
|
method: 'get',
|
|
@@ -15275,7 +15161,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
|
|
|
15275
15161
|
staffId: staffId,
|
|
15276
15162
|
contentType: contentType
|
|
15277
15163
|
}, opts.hyperMediaEndpoint);
|
|
15278
|
-
return _context13.abrupt("return", request(_objectSpread
|
|
15164
|
+
return _context13.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15279
15165
|
path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
|
|
15280
15166
|
}), {
|
|
15281
15167
|
method: 'get',
|
|
@@ -15319,7 +15205,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
|
|
|
15319
15205
|
doesParamExist.default({
|
|
15320
15206
|
organisationId: organisationId
|
|
15321
15207
|
}, opts.hyperMediaEndpoint);
|
|
15322
|
-
return _context14.abrupt("return", request(_objectSpread
|
|
15208
|
+
return _context14.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15323
15209
|
path: pathOrganisationStaff(organisationId)
|
|
15324
15210
|
}), {
|
|
15325
15211
|
method: 'get',
|
|
@@ -15357,7 +15243,7 @@ var getStaffMember = /*#__PURE__*/function () {
|
|
|
15357
15243
|
doesParamExist.default({
|
|
15358
15244
|
staffId: staffId
|
|
15359
15245
|
}, opts.hyperMediaEndpoint);
|
|
15360
|
-
return _context15.abrupt("return", request(_objectSpread
|
|
15246
|
+
return _context15.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15361
15247
|
path: pathStaffMember(staffId)
|
|
15362
15248
|
}), {
|
|
15363
15249
|
method: 'get'
|
|
@@ -15399,7 +15285,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15399
15285
|
practiceId: practiceId,
|
|
15400
15286
|
staffId: staffId
|
|
15401
15287
|
}, opts.hyperMediaEndpoint);
|
|
15402
|
-
return _context16.abrupt("return", request(_objectSpread
|
|
15288
|
+
return _context16.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15403
15289
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15404
15290
|
}), {
|
|
15405
15291
|
method: 'post',
|
|
@@ -15443,11 +15329,11 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15443
15329
|
businessId: businessId,
|
|
15444
15330
|
staffId: staffId
|
|
15445
15331
|
}, opts.hyperMediaEndpoint);
|
|
15446
|
-
return _context17.abrupt("return", request(_objectSpread
|
|
15332
|
+
return _context17.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15447
15333
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15448
15334
|
}), {
|
|
15449
15335
|
method: 'post',
|
|
15450
|
-
data: _objectSpread
|
|
15336
|
+
data: _objectSpread$$({
|
|
15451
15337
|
roleFullName: roleFullName
|
|
15452
15338
|
}, body)
|
|
15453
15339
|
}));
|
|
@@ -15484,7 +15370,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15484
15370
|
doesParamExist.default({
|
|
15485
15371
|
businessId: businessId
|
|
15486
15372
|
}, opts.hyperMediaEndpoint);
|
|
15487
|
-
return _context18.abrupt("return", request(_objectSpread
|
|
15373
|
+
return _context18.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15488
15374
|
path: pathBusinessStaff(businessId) + "/invites"
|
|
15489
15375
|
}), {
|
|
15490
15376
|
method: 'post',
|
|
@@ -15529,7 +15415,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15529
15415
|
doesParamExist.default({
|
|
15530
15416
|
businessId: businessId
|
|
15531
15417
|
}, opts.hyperMediaEndpoint);
|
|
15532
|
-
return _context19.abrupt("return", request(_objectSpread
|
|
15418
|
+
return _context19.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15533
15419
|
path: pathBusinessStaffMember(businessId, staffId) + "/invites"
|
|
15534
15420
|
}), {
|
|
15535
15421
|
method: 'post',
|
|
@@ -15572,7 +15458,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15572
15458
|
practiceId: practiceId,
|
|
15573
15459
|
staffId: staffId
|
|
15574
15460
|
}, opts.hyperMediaEndpoint);
|
|
15575
|
-
return _context20.abrupt("return", request(_objectSpread
|
|
15461
|
+
return _context20.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15576
15462
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15577
15463
|
}), {
|
|
15578
15464
|
method: 'delete',
|
|
@@ -15616,11 +15502,11 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15616
15502
|
businessId: businessId,
|
|
15617
15503
|
staffId: staffId
|
|
15618
15504
|
}, opts.hyperMediaEndpoint);
|
|
15619
|
-
return _context21.abrupt("return", request(_objectSpread
|
|
15505
|
+
return _context21.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15620
15506
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15621
15507
|
}), {
|
|
15622
15508
|
method: 'delete',
|
|
15623
|
-
data: _objectSpread
|
|
15509
|
+
data: _objectSpread$$({
|
|
15624
15510
|
roleFullName: roleFullName
|
|
15625
15511
|
}, body)
|
|
15626
15512
|
}));
|
|
@@ -15659,7 +15545,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15659
15545
|
businessId: businessId,
|
|
15660
15546
|
staffId: staffId
|
|
15661
15547
|
}, opts.hyperMediaEndpoint);
|
|
15662
|
-
return _context22.abrupt("return", request(_objectSpread
|
|
15548
|
+
return _context22.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15663
15549
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
15664
15550
|
}), {
|
|
15665
15551
|
method: 'put',
|
|
@@ -15700,7 +15586,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
15700
15586
|
businessId: businessId,
|
|
15701
15587
|
staffId: staffId
|
|
15702
15588
|
}, opts.hyperMediaEndpoint);
|
|
15703
|
-
return _context23.abrupt("return", request(_objectSpread
|
|
15589
|
+
return _context23.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15704
15590
|
path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
|
|
15705
15591
|
}), {
|
|
15706
15592
|
method: 'post',
|
|
@@ -15741,7 +15627,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
15741
15627
|
organisationId: organisationId,
|
|
15742
15628
|
staffId: staffId
|
|
15743
15629
|
}, opts.hyperMediaEndpoint);
|
|
15744
|
-
return _context24.abrupt("return", request(_objectSpread
|
|
15630
|
+
return _context24.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15745
15631
|
path: pathOrganisationStaffMember(organisationId, staffId)
|
|
15746
15632
|
}), {
|
|
15747
15633
|
method: 'put',
|
|
@@ -15780,7 +15666,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
|
|
|
15780
15666
|
doesParamExist.default({
|
|
15781
15667
|
staffId: staffId
|
|
15782
15668
|
}, opts.hyperMediaEndpoint);
|
|
15783
|
-
return _context25.abrupt("return", request(_objectSpread
|
|
15669
|
+
return _context25.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15784
15670
|
path: pathStaffMember(staffId) + "/verify"
|
|
15785
15671
|
}), {
|
|
15786
15672
|
method: 'post',
|
|
@@ -15819,7 +15705,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
|
|
|
15819
15705
|
doesParamExist.default({
|
|
15820
15706
|
staffId: staffId
|
|
15821
15707
|
}, opts.hyperMediaEndpoint);
|
|
15822
|
-
return _context26.abrupt("return", request(_objectSpread
|
|
15708
|
+
return _context26.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15823
15709
|
path: pathStaffMember(staffId) + "/clone"
|
|
15824
15710
|
}), {
|
|
15825
15711
|
method: 'post',
|
|
@@ -15853,7 +15739,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
|
|
|
15853
15739
|
doesParamExist.default({
|
|
15854
15740
|
businessId: businessId
|
|
15855
15741
|
}, opts.hyperMediaEndpoint);
|
|
15856
|
-
return request(_objectSpread
|
|
15742
|
+
return request(_objectSpread$$({}, opts, {
|
|
15857
15743
|
path: pathBusinessStaff(businessId) + "/exists"
|
|
15858
15744
|
}), {
|
|
15859
15745
|
method: 'get',
|
|
@@ -15882,7 +15768,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15882
15768
|
businessId: businessId,
|
|
15883
15769
|
staffId: staffId
|
|
15884
15770
|
}, opts.hyperMediaEndpoint);
|
|
15885
|
-
return _context27.abrupt("return", request(_objectSpread
|
|
15771
|
+
return _context27.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15886
15772
|
path: "" + pathProviderSetItems(businessId, staffId)
|
|
15887
15773
|
}), {
|
|
15888
15774
|
method: 'post',
|
|
@@ -15925,7 +15811,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15925
15811
|
staffId: staffId,
|
|
15926
15812
|
providerSetItemId: providerSetItemId
|
|
15927
15813
|
}, opts.hyperMediaEndpoint);
|
|
15928
|
-
return _context28.abrupt("return", request(_objectSpread
|
|
15814
|
+
return _context28.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15929
15815
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15930
15816
|
}), {
|
|
15931
15817
|
method: 'put',
|
|
@@ -15967,7 +15853,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15967
15853
|
staffId: staffId,
|
|
15968
15854
|
providerSetItemId: providerSetItemId
|
|
15969
15855
|
}, opts.hyperMediaEndpoint);
|
|
15970
|
-
return _context29.abrupt("return", request(_objectSpread
|
|
15856
|
+
return _context29.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
15971
15857
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15972
15858
|
}), {
|
|
15973
15859
|
method: 'delete'
|
|
@@ -16000,11 +15886,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
|
|
|
16000
15886
|
doesParamExist.default({
|
|
16001
15887
|
businessId: businessId
|
|
16002
15888
|
}, opts.hyperMediaEndpoint);
|
|
16003
|
-
return request(_objectSpread
|
|
15889
|
+
return request(_objectSpread$$({}, opts, {
|
|
16004
15890
|
path: pathProvidersStatus
|
|
16005
15891
|
}), {
|
|
16006
15892
|
method: 'get',
|
|
16007
|
-
params: _objectSpread
|
|
15893
|
+
params: _objectSpread$$({}, query, {
|
|
16008
15894
|
businessId: businessId
|
|
16009
15895
|
})
|
|
16010
15896
|
});
|
|
@@ -16045,9 +15931,9 @@ var staff = /*#__PURE__*/Object.freeze({
|
|
|
16045
15931
|
getProvidersStatus: getProvidersStatus
|
|
16046
15932
|
});
|
|
16047
15933
|
|
|
16048
|
-
function ownKeys$
|
|
15934
|
+
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; }
|
|
16049
15935
|
|
|
16050
|
-
function _objectSpread$
|
|
15936
|
+
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; }
|
|
16051
15937
|
|
|
16052
15938
|
var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
|
|
16053
15939
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
|
|
@@ -16099,11 +15985,11 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16099
15985
|
doesParamExist.default({
|
|
16100
15986
|
healthFundId: healthFundId
|
|
16101
15987
|
}, opts.hyperMediaEndpoint);
|
|
16102
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
15988
|
+
return _context.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16103
15989
|
path: pathTransactionStatsForHealthFundId(healthFundId)
|
|
16104
15990
|
}), {
|
|
16105
15991
|
method: 'get',
|
|
16106
|
-
params: _objectSpread$
|
|
15992
|
+
params: _objectSpread$10({
|
|
16107
15993
|
from: from,
|
|
16108
15994
|
to: to
|
|
16109
15995
|
}, query)
|
|
@@ -16147,11 +16033,11 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
|
|
|
16147
16033
|
doesParamExist.default({
|
|
16148
16034
|
healthFundId: healthFundId
|
|
16149
16035
|
}, opts.hyperMediaEndpoint);
|
|
16150
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16036
|
+
return _context2.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16151
16037
|
path: pathTransactionStatsCSVForHealthFundId(healthFundId)
|
|
16152
16038
|
}), {
|
|
16153
16039
|
method: 'get',
|
|
16154
|
-
params: _objectSpread$
|
|
16040
|
+
params: _objectSpread$10({
|
|
16155
16041
|
from: from,
|
|
16156
16042
|
to: to
|
|
16157
16043
|
}, query)
|
|
@@ -16195,11 +16081,11 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16195
16081
|
doesParamExist.default({
|
|
16196
16082
|
healthFundId: healthFundId
|
|
16197
16083
|
}, opts.hyperMediaEndpoint);
|
|
16198
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16084
|
+
return _context3.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16199
16085
|
path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
|
|
16200
16086
|
}), {
|
|
16201
16087
|
method: 'get',
|
|
16202
|
-
params: _objectSpread$
|
|
16088
|
+
params: _objectSpread$10({
|
|
16203
16089
|
from: from,
|
|
16204
16090
|
to: to
|
|
16205
16091
|
}, query)
|
|
@@ -16243,11 +16129,11 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
|
|
|
16243
16129
|
doesParamExist.default({
|
|
16244
16130
|
businessId: businessId
|
|
16245
16131
|
}, opts.hyperMediaEndpoint);
|
|
16246
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16132
|
+
return _context4.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16247
16133
|
path: pathTransactionStatsForBusiness(businessId)
|
|
16248
16134
|
}), {
|
|
16249
16135
|
method: 'get',
|
|
16250
|
-
params: _objectSpread$
|
|
16136
|
+
params: _objectSpread$10({
|
|
16251
16137
|
from: from,
|
|
16252
16138
|
to: to
|
|
16253
16139
|
}, query)
|
|
@@ -16293,11 +16179,11 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
|
|
|
16293
16179
|
businessId: businessId,
|
|
16294
16180
|
practiceId: practiceId
|
|
16295
16181
|
}, opts.hyperMediaEndpoint);
|
|
16296
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16182
|
+
return _context5.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16297
16183
|
path: pathTransactionStatsForPractice(businessId, practiceId)
|
|
16298
16184
|
}), {
|
|
16299
16185
|
method: 'get',
|
|
16300
|
-
params: _objectSpread$
|
|
16186
|
+
params: _objectSpread$10({
|
|
16301
16187
|
from: from,
|
|
16302
16188
|
to: to
|
|
16303
16189
|
}, query)
|
|
@@ -16341,11 +16227,11 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
|
|
|
16341
16227
|
doesParamExist.default({
|
|
16342
16228
|
organisationId: organisationId
|
|
16343
16229
|
}, opts.hyperMediaEndpoint);
|
|
16344
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16230
|
+
return _context6.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16345
16231
|
path: pathTransactionStatsForOrganisation(organisationId)
|
|
16346
16232
|
}), {
|
|
16347
16233
|
method: 'get',
|
|
16348
|
-
params: _objectSpread$
|
|
16234
|
+
params: _objectSpread$10({
|
|
16349
16235
|
from: from,
|
|
16350
16236
|
to: to
|
|
16351
16237
|
}, query)
|
|
@@ -16374,9 +16260,9 @@ var statistics = /*#__PURE__*/Object.freeze({
|
|
|
16374
16260
|
getTransactionStatsForOrganisation: getTransactionStatsForOrganisation
|
|
16375
16261
|
});
|
|
16376
16262
|
|
|
16377
|
-
function ownKeys$
|
|
16263
|
+
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; }
|
|
16378
16264
|
|
|
16379
|
-
function _objectSpread$
|
|
16265
|
+
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; }
|
|
16380
16266
|
var pathBusinessSubscriptions = function pathBusinessSubscriptions(businessId) {
|
|
16381
16267
|
return "/businesses/" + businessId + "/subscriptions";
|
|
16382
16268
|
};
|
|
@@ -16398,7 +16284,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
|
|
|
16398
16284
|
doesParamExist.default({
|
|
16399
16285
|
businessId: businessId
|
|
16400
16286
|
});
|
|
16401
|
-
return request(_objectSpread$
|
|
16287
|
+
return request(_objectSpread$11({}, opts, {
|
|
16402
16288
|
path: pathBusinessSubscriptions(businessId)
|
|
16403
16289
|
}), {
|
|
16404
16290
|
method: 'post',
|
|
@@ -16420,7 +16306,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
|
|
|
16420
16306
|
doesParamExist.default({
|
|
16421
16307
|
businessId: businessId
|
|
16422
16308
|
});
|
|
16423
|
-
return request(_objectSpread$
|
|
16309
|
+
return request(_objectSpread$11({}, opts, {
|
|
16424
16310
|
path: pathBusinessSubscriptions(businessId)
|
|
16425
16311
|
}), {
|
|
16426
16312
|
method: 'get',
|
|
@@ -16443,7 +16329,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
|
|
|
16443
16329
|
businessId: businessId,
|
|
16444
16330
|
subscriptionId: subscriptionId
|
|
16445
16331
|
});
|
|
16446
|
-
return request(_objectSpread$
|
|
16332
|
+
return request(_objectSpread$11({}, opts, {
|
|
16447
16333
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16448
16334
|
}), {
|
|
16449
16335
|
method: 'get'
|
|
@@ -16466,7 +16352,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
|
|
|
16466
16352
|
businessId: businessId,
|
|
16467
16353
|
subscriptionId: subscriptionId
|
|
16468
16354
|
});
|
|
16469
|
-
return request(_objectSpread$
|
|
16355
|
+
return request(_objectSpread$11({}, opts, {
|
|
16470
16356
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16471
16357
|
}), {
|
|
16472
16358
|
method: 'put',
|
|
@@ -16484,9 +16370,9 @@ var subscriptions = /*#__PURE__*/Object.freeze({
|
|
|
16484
16370
|
updateBusinessSubscription: updateBusinessSubscription
|
|
16485
16371
|
});
|
|
16486
16372
|
|
|
16487
|
-
function ownKeys$
|
|
16373
|
+
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; }
|
|
16488
16374
|
|
|
16489
|
-
function _objectSpread$
|
|
16375
|
+
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; }
|
|
16490
16376
|
var pathTerminalsByBusinessId = function pathTerminalsByBusinessId(businessId) {
|
|
16491
16377
|
return "/businesses/" + businessId + "/terminals";
|
|
16492
16378
|
};
|
|
@@ -16524,7 +16410,7 @@ var registerTerminal = /*#__PURE__*/function () {
|
|
|
16524
16410
|
businessId: businessId,
|
|
16525
16411
|
practiceId: practiceId
|
|
16526
16412
|
}, opts.hyperMediaEndpoint);
|
|
16527
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16413
|
+
return _context.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16528
16414
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16529
16415
|
}), {
|
|
16530
16416
|
method: 'post',
|
|
@@ -16563,7 +16449,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
|
|
|
16563
16449
|
doesParamExist.default({
|
|
16564
16450
|
businessId: businessId
|
|
16565
16451
|
}, opts.hyperMediaEndpoint);
|
|
16566
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16452
|
+
return _context2.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16567
16453
|
path: pathTerminalsByBusinessId(businessId)
|
|
16568
16454
|
}), {
|
|
16569
16455
|
method: 'get',
|
|
@@ -16604,7 +16490,7 @@ var getTerminals = /*#__PURE__*/function () {
|
|
|
16604
16490
|
businessId: businessId,
|
|
16605
16491
|
practiceId: practiceId
|
|
16606
16492
|
}, opts.hyperMediaEndpoint);
|
|
16607
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16493
|
+
return _context3.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16608
16494
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16609
16495
|
}), {
|
|
16610
16496
|
method: 'get',
|
|
@@ -16647,7 +16533,7 @@ var getTerminal = /*#__PURE__*/function () {
|
|
|
16647
16533
|
practiceId: practiceId,
|
|
16648
16534
|
terminalId: terminalId
|
|
16649
16535
|
}, opts.hyperMediaEndpoint);
|
|
16650
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16536
|
+
return _context4.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16651
16537
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16652
16538
|
}), {
|
|
16653
16539
|
method: 'get'
|
|
@@ -16689,7 +16575,7 @@ var updateTerminal = /*#__PURE__*/function () {
|
|
|
16689
16575
|
practiceId: practiceId,
|
|
16690
16576
|
terminalId: terminalId
|
|
16691
16577
|
}, opts.hyperMediaEndpoint);
|
|
16692
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16578
|
+
return _context5.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16693
16579
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16694
16580
|
}), {
|
|
16695
16581
|
method: 'put',
|
|
@@ -16731,7 +16617,7 @@ var deleteTerminal = /*#__PURE__*/function () {
|
|
|
16731
16617
|
practiceId: practiceId,
|
|
16732
16618
|
terminalId: terminalId
|
|
16733
16619
|
}, opts.hyperMediaEndpoint);
|
|
16734
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16620
|
+
return _context6.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16735
16621
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16736
16622
|
}), {
|
|
16737
16623
|
method: 'delete'
|
|
@@ -16770,7 +16656,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
16770
16656
|
businessId: businessId,
|
|
16771
16657
|
practiceId: practiceId
|
|
16772
16658
|
}, opts.hyperMediaEndpoint);
|
|
16773
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
16659
|
+
return _context7.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16774
16660
|
path: pathClientTokenByPracticeId(businessId, practiceId)
|
|
16775
16661
|
}), {
|
|
16776
16662
|
method: 'get'
|
|
@@ -16812,7 +16698,7 @@ var resetTerminal = /*#__PURE__*/function () {
|
|
|
16812
16698
|
practiceId: practiceId,
|
|
16813
16699
|
terminalId: terminalId
|
|
16814
16700
|
}, opts.hyperMediaEndpoint);
|
|
16815
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
16701
|
+
return _context8.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16816
16702
|
path: pathResetTerminal(businessId, practiceId, terminalId)
|
|
16817
16703
|
}), {
|
|
16818
16704
|
method: 'post',
|
|
@@ -16849,9 +16735,9 @@ var terminals = /*#__PURE__*/Object.freeze({
|
|
|
16849
16735
|
resetTerminal: resetTerminal
|
|
16850
16736
|
});
|
|
16851
16737
|
|
|
16852
|
-
function ownKeys$
|
|
16738
|
+
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; }
|
|
16853
16739
|
|
|
16854
|
-
function _objectSpread$
|
|
16740
|
+
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; }
|
|
16855
16741
|
var pathCreateHealthFundTransactionExport = function pathCreateHealthFundTransactionExport(healthFundId) {
|
|
16856
16742
|
return "/healthfunds/" + healthFundId + "/transactionexport";
|
|
16857
16743
|
};
|
|
@@ -16878,7 +16764,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16878
16764
|
doesParamExist.default({
|
|
16879
16765
|
healthFundId: healthFundId
|
|
16880
16766
|
}, opts.hyperMediaEndpoint);
|
|
16881
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16767
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16882
16768
|
path: pathCreateHealthFundTransactionExport(healthFundId)
|
|
16883
16769
|
}), {
|
|
16884
16770
|
method: 'post',
|
|
@@ -16923,7 +16809,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16923
16809
|
healthFundId: healthFundId,
|
|
16924
16810
|
transactionExportId: transactionExportId
|
|
16925
16811
|
}, opts.hyperMediaEndpoint);
|
|
16926
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16812
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16927
16813
|
path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
|
|
16928
16814
|
}), {
|
|
16929
16815
|
method: 'get',
|
|
@@ -16951,9 +16837,9 @@ var transactionExport = /*#__PURE__*/Object.freeze({
|
|
|
16951
16837
|
getHealthFundTransactionExport: getHealthFundTransactionExport
|
|
16952
16838
|
});
|
|
16953
16839
|
|
|
16954
|
-
function ownKeys$
|
|
16840
|
+
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; }
|
|
16955
16841
|
|
|
16956
|
-
function _objectSpread$
|
|
16842
|
+
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; }
|
|
16957
16843
|
|
|
16958
16844
|
var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
|
|
16959
16845
|
return "/businesses/" + businessId + "/transactions";
|
|
@@ -17181,7 +17067,7 @@ var approveTransaction = /*#__PURE__*/function () {
|
|
|
17181
17067
|
doesParamExist.default({
|
|
17182
17068
|
transactionId: transactionId
|
|
17183
17069
|
}, opts.hyperMediaEndpoint);
|
|
17184
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
17070
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17185
17071
|
path: pathTransactionApprove(transactionId)
|
|
17186
17072
|
}), {
|
|
17187
17073
|
method: 'post',
|
|
@@ -17219,7 +17105,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
|
|
|
17219
17105
|
doesParamExist.default({
|
|
17220
17106
|
healthFundId: healthFundId
|
|
17221
17107
|
}, opts.hyperMediaEndpoint);
|
|
17222
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
17108
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17223
17109
|
path: pathHealthFundTransactionsAssign(healthFundId)
|
|
17224
17110
|
}), {
|
|
17225
17111
|
method: 'post',
|
|
@@ -17259,7 +17145,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17259
17145
|
transactionId: transactionId,
|
|
17260
17146
|
healthFundId: healthFundId
|
|
17261
17147
|
}, opts.hyperMediaEndpoint);
|
|
17262
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
17148
|
+
return _context3.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17263
17149
|
path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
|
|
17264
17150
|
}), {
|
|
17265
17151
|
method: 'put'
|
|
@@ -17296,7 +17182,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17296
17182
|
doesParamExist.default({
|
|
17297
17183
|
transactionId: transactionId
|
|
17298
17184
|
}, opts.hyperMediaEndpoint);
|
|
17299
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
17185
|
+
return _context4.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17300
17186
|
path: pathTransactionByTransactionId(transactionId) + "/assigntome"
|
|
17301
17187
|
}), {
|
|
17302
17188
|
method: 'put'
|
|
@@ -17333,7 +17219,7 @@ var cancelTransaction = /*#__PURE__*/function () {
|
|
|
17333
17219
|
doesParamExist.default({
|
|
17334
17220
|
transactionId: transactionId
|
|
17335
17221
|
}, opts.hyperMediaEndpoint);
|
|
17336
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
17222
|
+
return _context5.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17337
17223
|
path: pathTransactionByTransactionId(transactionId) + "/cancellations"
|
|
17338
17224
|
}), {
|
|
17339
17225
|
data: body,
|
|
@@ -17373,7 +17259,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17373
17259
|
transactionId: transactionId,
|
|
17374
17260
|
businessId: businessId
|
|
17375
17261
|
}, opts.hyperMediaEndpoint);
|
|
17376
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
17262
|
+
return _context6.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17377
17263
|
path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
|
|
17378
17264
|
}), {
|
|
17379
17265
|
data: body,
|
|
@@ -17416,7 +17302,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
|
|
|
17416
17302
|
practiceId: practiceId,
|
|
17417
17303
|
staffId: staffId
|
|
17418
17304
|
}, opts.hyperMediaEndpoint);
|
|
17419
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
17305
|
+
return _context7.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17420
17306
|
path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
|
|
17421
17307
|
}), {
|
|
17422
17308
|
method: 'post',
|
|
@@ -17457,7 +17343,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
|
|
|
17457
17343
|
businessId: businessId,
|
|
17458
17344
|
practiceId: practiceId
|
|
17459
17345
|
}, opts.hyperMediaEndpoint);
|
|
17460
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
17346
|
+
return _context8.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17461
17347
|
path: pathBusinessPracticeInvoices(businessId, practiceId)
|
|
17462
17348
|
}), {
|
|
17463
17349
|
method: 'post',
|
|
@@ -17496,7 +17382,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
|
|
|
17496
17382
|
doesParamExist.default({
|
|
17497
17383
|
businessId: businessId
|
|
17498
17384
|
}, opts.hyperMediaEndpoint);
|
|
17499
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
17385
|
+
return _context9.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17500
17386
|
path: pathBusinessTransactionQuotes(businessId)
|
|
17501
17387
|
}), {
|
|
17502
17388
|
method: 'post',
|
|
@@ -17539,7 +17425,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
|
|
|
17539
17425
|
practiceId: practiceId,
|
|
17540
17426
|
staffId: staffId
|
|
17541
17427
|
}, opts.hyperMediaEndpoint);
|
|
17542
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
17428
|
+
return _context10.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17543
17429
|
path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
|
|
17544
17430
|
}), {
|
|
17545
17431
|
method: 'post',
|
|
@@ -17581,7 +17467,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17581
17467
|
doesParamExist.default({
|
|
17582
17468
|
transactionId: transactionId
|
|
17583
17469
|
}, opts.hyperMediaEndpoint);
|
|
17584
|
-
newBody = _objectSpread$
|
|
17470
|
+
newBody = _objectSpread$14({}, body);
|
|
17585
17471
|
|
|
17586
17472
|
if (source && nonce) {
|
|
17587
17473
|
newBody.payment = {
|
|
@@ -17590,7 +17476,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17590
17476
|
};
|
|
17591
17477
|
}
|
|
17592
17478
|
|
|
17593
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
17479
|
+
return _context11.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17594
17480
|
path: pathTransactionByTransactionId(transactionId) + "/payments"
|
|
17595
17481
|
}), {
|
|
17596
17482
|
method: 'post',
|
|
@@ -17629,7 +17515,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
|
|
|
17629
17515
|
doesParamExist.default({
|
|
17630
17516
|
transactionId: transactionId
|
|
17631
17517
|
}, opts.hyperMediaEndpoint);
|
|
17632
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
17518
|
+
return _context12.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17633
17519
|
path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
|
|
17634
17520
|
}), {
|
|
17635
17521
|
method: 'post',
|
|
@@ -17669,7 +17555,7 @@ var completeQuote = /*#__PURE__*/function () {
|
|
|
17669
17555
|
transactionId: transactionId,
|
|
17670
17556
|
memberId: memberId
|
|
17671
17557
|
}, opts.hyperMediaEndpoint);
|
|
17672
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
17558
|
+
return _context13.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17673
17559
|
path: pathTransactionByTransactionId(transactionId) + "/completequote"
|
|
17674
17560
|
}), {
|
|
17675
17561
|
method: 'post',
|
|
@@ -17711,7 +17597,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
|
|
|
17711
17597
|
transactionId: transactionId,
|
|
17712
17598
|
tagId: tagId
|
|
17713
17599
|
}, opts.hyperMediaEndpoint);
|
|
17714
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
17600
|
+
return _context14.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17715
17601
|
path: pathTransactionTag(transactionId, tagId)
|
|
17716
17602
|
}), {
|
|
17717
17603
|
method: 'delete'
|
|
@@ -17748,7 +17634,7 @@ var deleteTransaction = /*#__PURE__*/function () {
|
|
|
17748
17634
|
doesParamExist.default({
|
|
17749
17635
|
transactionId: transactionId
|
|
17750
17636
|
}, opts.hyperMediaEndpoint);
|
|
17751
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
17637
|
+
return _context15.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17752
17638
|
path: pathTransactionByTransactionId(transactionId)
|
|
17753
17639
|
}), {
|
|
17754
17640
|
method: 'delete'
|
|
@@ -17790,7 +17676,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
|
|
|
17790
17676
|
doesParamExist.default({
|
|
17791
17677
|
businessId: businessId
|
|
17792
17678
|
}, opts.hyperMediaEndpoint);
|
|
17793
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
17679
|
+
return _context16.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17794
17680
|
path: pathBusinessTransactions(businessId)
|
|
17795
17681
|
}), {
|
|
17796
17682
|
method: 'get',
|
|
@@ -17830,7 +17716,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17830
17716
|
businessId: businessId,
|
|
17831
17717
|
transactionId: transactionId
|
|
17832
17718
|
}, opts.hyperMediaEndpoint);
|
|
17833
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
17719
|
+
return _context17.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17834
17720
|
path: pathBusinessTransaction(businessId, transactionId)
|
|
17835
17721
|
}), {
|
|
17836
17722
|
method: 'get',
|
|
@@ -17870,7 +17756,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
|
|
|
17870
17756
|
businessId: businessId,
|
|
17871
17757
|
invoiceReference: invoiceReference
|
|
17872
17758
|
}, opts.hyperMediaEndpoint);
|
|
17873
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
17759
|
+
return _context18.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17874
17760
|
path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
|
|
17875
17761
|
}), {
|
|
17876
17762
|
method: 'get'
|
|
@@ -17909,7 +17795,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
17909
17795
|
businessId: businessId,
|
|
17910
17796
|
transactionId: transactionId
|
|
17911
17797
|
}, opts.hyperMediaEndpoint);
|
|
17912
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
17798
|
+
return _context19.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17913
17799
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
|
|
17914
17800
|
}), {
|
|
17915
17801
|
method: 'get',
|
|
@@ -17949,7 +17835,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
17949
17835
|
businessId: businessId,
|
|
17950
17836
|
transactionId: transactionId
|
|
17951
17837
|
}, opts.hyperMediaEndpoint);
|
|
17952
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
17838
|
+
return _context20.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17953
17839
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
|
|
17954
17840
|
}), {
|
|
17955
17841
|
method: 'get',
|
|
@@ -17994,7 +17880,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
|
|
|
17994
17880
|
businessId: businessId,
|
|
17995
17881
|
practiceId: practiceId
|
|
17996
17882
|
}, opts.hyperMediaEndpoint);
|
|
17997
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
17883
|
+
return _context21.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
17998
17884
|
path: pathBusinessPracticeTransactions(businessId, practiceId)
|
|
17999
17885
|
}), {
|
|
18000
17886
|
method: 'get',
|
|
@@ -18041,7 +17927,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
|
|
|
18041
17927
|
practiceId: practiceId,
|
|
18042
17928
|
staffId: staffId
|
|
18043
17929
|
}, opts.hyperMediaEndpoint);
|
|
18044
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
17930
|
+
return _context22.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18045
17931
|
path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
|
|
18046
17932
|
}), {
|
|
18047
17933
|
method: 'get',
|
|
@@ -18084,7 +17970,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
|
|
|
18084
17970
|
doesParamExist.default({
|
|
18085
17971
|
healthFundId: healthFundId
|
|
18086
17972
|
}, opts.hyperMediaEndpoint);
|
|
18087
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
17973
|
+
return _context23.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18088
17974
|
path: pathTransactionsForHealthFund(healthFundId)
|
|
18089
17975
|
}), {
|
|
18090
17976
|
method: 'get',
|
|
@@ -18124,7 +18010,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
|
|
|
18124
18010
|
healthFundId: healthFundId,
|
|
18125
18011
|
transactionId: transactionId
|
|
18126
18012
|
}, opts.hyperMediaEndpoint);
|
|
18127
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
18013
|
+
return _context24.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18128
18014
|
path: pathHealthFundTransaction(healthFundId, transactionId)
|
|
18129
18015
|
}), {
|
|
18130
18016
|
method: 'get'
|
|
@@ -18166,7 +18052,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
|
|
|
18166
18052
|
doesParamExist.default({
|
|
18167
18053
|
memberId: memberId
|
|
18168
18054
|
}, opts.hyperMediaEndpoint);
|
|
18169
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
18055
|
+
return _context25.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18170
18056
|
path: pathTransactionsByMember(memberId)
|
|
18171
18057
|
}), {
|
|
18172
18058
|
method: 'get',
|
|
@@ -18210,7 +18096,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
|
|
|
18210
18096
|
doesParamExist.default({
|
|
18211
18097
|
healthFundId: healthFundId
|
|
18212
18098
|
}, opts.hyperMediaEndpoint);
|
|
18213
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
18099
|
+
return _context26.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18214
18100
|
path: pathHealthFundMemberTransactions(healthFundId, memberId)
|
|
18215
18101
|
}), {
|
|
18216
18102
|
method: 'get',
|
|
@@ -18248,7 +18134,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
|
|
|
18248
18134
|
doesParamExist.default({
|
|
18249
18135
|
transactionId: transactionId
|
|
18250
18136
|
}, opts.hyperMediaEndpoint);
|
|
18251
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
18137
|
+
return _context27.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18252
18138
|
path: pathTransactionByTransactionId(transactionId)
|
|
18253
18139
|
}), {
|
|
18254
18140
|
method: 'get',
|
|
@@ -18287,7 +18173,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
|
|
|
18287
18173
|
doesParamExist.default({
|
|
18288
18174
|
transactionId: transactionId
|
|
18289
18175
|
}, opts.hyperMediaEndpoint);
|
|
18290
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
18176
|
+
return _context28.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18291
18177
|
path: pathTransactionByTransactionId(transactionId) + "/pdf"
|
|
18292
18178
|
}), {
|
|
18293
18179
|
method: 'post',
|
|
@@ -18329,7 +18215,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
|
|
|
18329
18215
|
claimId: claimId,
|
|
18330
18216
|
transactionId: transactionId
|
|
18331
18217
|
}, opts.hyperMediaEndpoint);
|
|
18332
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
18218
|
+
return _context29.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18333
18219
|
path: pathTransactionClaimPdf(transactionId, claimId)
|
|
18334
18220
|
}), {
|
|
18335
18221
|
method: 'post',
|
|
@@ -18368,7 +18254,7 @@ var getTransactionClaimPdfV2 = /*#__PURE__*/function () {
|
|
|
18368
18254
|
opts = {};
|
|
18369
18255
|
}
|
|
18370
18256
|
|
|
18371
|
-
return _context30.abrupt("return", request(_objectSpread$
|
|
18257
|
+
return _context30.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18372
18258
|
path: pathTransactionClaimPdfV2
|
|
18373
18259
|
}), {
|
|
18374
18260
|
method: 'post',
|
|
@@ -18408,7 +18294,7 @@ var replyToQuote = /*#__PURE__*/function () {
|
|
|
18408
18294
|
doesParamExist.default({
|
|
18409
18295
|
transactionId: transactionId
|
|
18410
18296
|
}, opts.hyperMediaEndpoint);
|
|
18411
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
18297
|
+
return _context31.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18412
18298
|
path: pathReplyQuote(transactionId)
|
|
18413
18299
|
}), {
|
|
18414
18300
|
method: 'post',
|
|
@@ -18447,7 +18333,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
18447
18333
|
doesParamExist.default({
|
|
18448
18334
|
transactionId: transactionId
|
|
18449
18335
|
}, opts.hyperMediaEndpoint);
|
|
18450
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
18336
|
+
return _context32.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18451
18337
|
path: pathTransactionSendReceipt(transactionId)
|
|
18452
18338
|
}), {
|
|
18453
18339
|
method: 'post',
|
|
@@ -18486,7 +18372,7 @@ var submitInvoice = /*#__PURE__*/function () {
|
|
|
18486
18372
|
doesParamExist.default({
|
|
18487
18373
|
transactionId: transactionId
|
|
18488
18374
|
}, opts.hyperMediaEndpoint);
|
|
18489
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
18375
|
+
return _context33.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18490
18376
|
path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
|
|
18491
18377
|
}), {
|
|
18492
18378
|
method: 'post',
|
|
@@ -18525,7 +18411,7 @@ var updateTransaction = /*#__PURE__*/function () {
|
|
|
18525
18411
|
doesParamExist.default({
|
|
18526
18412
|
transactionId: transactionId
|
|
18527
18413
|
}, opts.hyperMediaEndpoint);
|
|
18528
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
18414
|
+
return _context34.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18529
18415
|
path: pathTransactionByTransactionId(transactionId)
|
|
18530
18416
|
}), {
|
|
18531
18417
|
method: 'put',
|
|
@@ -18563,7 +18449,7 @@ var validateTransaction = /*#__PURE__*/function () {
|
|
|
18563
18449
|
doesParamExist.default({
|
|
18564
18450
|
transactionId: transactionId
|
|
18565
18451
|
}, opts.hyperMediaEndpoint);
|
|
18566
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
18452
|
+
return _context35.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18567
18453
|
path: pathValidateTransaction(transactionId)
|
|
18568
18454
|
}), {
|
|
18569
18455
|
method: 'post'
|
|
@@ -18601,7 +18487,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
|
|
|
18601
18487
|
doesParamExist.default({
|
|
18602
18488
|
transactionId: transactionId
|
|
18603
18489
|
}, opts.hyperMediaEndpoint);
|
|
18604
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
18490
|
+
return _context36.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18605
18491
|
path: pathTransactionSubmitBridgeClaim(transactionId)
|
|
18606
18492
|
}), {
|
|
18607
18493
|
method: 'post',
|
|
@@ -18640,7 +18526,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
|
|
|
18640
18526
|
doesParamExist.default({
|
|
18641
18527
|
transactionId: transactionId
|
|
18642
18528
|
}, opts.hyperMediaEndpoint);
|
|
18643
|
-
return _context37.abrupt("return", request(_objectSpread$
|
|
18529
|
+
return _context37.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18644
18530
|
path: pathTransactionSubmitBridgePayment(transactionId)
|
|
18645
18531
|
}), {
|
|
18646
18532
|
method: 'post',
|
|
@@ -18679,7 +18565,7 @@ var triggerBridge = /*#__PURE__*/function () {
|
|
|
18679
18565
|
doesParamExist.default({
|
|
18680
18566
|
transactionId: transactionId
|
|
18681
18567
|
}, opts.hyperMediaEndpoint);
|
|
18682
|
-
return _context38.abrupt("return", request(_objectSpread$
|
|
18568
|
+
return _context38.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18683
18569
|
path: pathTransactionTriggerBridge(transactionId)
|
|
18684
18570
|
}), {
|
|
18685
18571
|
method: 'post',
|
|
@@ -18718,7 +18604,7 @@ var createInvoice = /*#__PURE__*/function () {
|
|
|
18718
18604
|
doesParamExist.default({
|
|
18719
18605
|
businessId: businessId
|
|
18720
18606
|
}, opts.hyperMediaEndpoint);
|
|
18721
|
-
return _context39.abrupt("return", request(_objectSpread$
|
|
18607
|
+
return _context39.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18722
18608
|
path: pathCreateInvoice(businessId)
|
|
18723
18609
|
}), {
|
|
18724
18610
|
method: 'post',
|
|
@@ -18757,7 +18643,7 @@ var createSendClaim = /*#__PURE__*/function () {
|
|
|
18757
18643
|
doesParamExist.default({
|
|
18758
18644
|
transactionId: transactionId
|
|
18759
18645
|
}, opts.hyperMediaEndpoint);
|
|
18760
|
-
return _context40.abrupt("return", request(_objectSpread$
|
|
18646
|
+
return _context40.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18761
18647
|
path: pathCreateSendClaim(transactionId)
|
|
18762
18648
|
}), {
|
|
18763
18649
|
method: 'post',
|
|
@@ -18798,7 +18684,7 @@ var updateClaim = /*#__PURE__*/function () {
|
|
|
18798
18684
|
claimId: claimId,
|
|
18799
18685
|
transactionId: transactionId
|
|
18800
18686
|
}, opts.hyperMediaEndpoint);
|
|
18801
|
-
return _context41.abrupt("return", request(_objectSpread$
|
|
18687
|
+
return _context41.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18802
18688
|
path: pathClaim(transactionId, claimId)
|
|
18803
18689
|
}), {
|
|
18804
18690
|
method: 'put',
|
|
@@ -18836,7 +18722,7 @@ var completeTransaction = /*#__PURE__*/function () {
|
|
|
18836
18722
|
doesParamExist.default({
|
|
18837
18723
|
transactionId: transactionId
|
|
18838
18724
|
}, opts.hyperMediaEndpoint);
|
|
18839
|
-
return _context42.abrupt("return", request(_objectSpread$
|
|
18725
|
+
return _context42.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18840
18726
|
path: pathCompleteTransaction(transactionId)
|
|
18841
18727
|
}), {
|
|
18842
18728
|
method: 'post'
|
|
@@ -18875,7 +18761,7 @@ var approveClaim = /*#__PURE__*/function () {
|
|
|
18875
18761
|
doesParamExist.default({
|
|
18876
18762
|
transactionId: transactionId
|
|
18877
18763
|
}, opts.hyperMediaEndpoint);
|
|
18878
|
-
return _context43.abrupt("return", request(_objectSpread$
|
|
18764
|
+
return _context43.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18879
18765
|
path: pathApproveClaim(transactionId, claimId)
|
|
18880
18766
|
}), {
|
|
18881
18767
|
method: 'post',
|
|
@@ -18915,7 +18801,7 @@ var cancelClaim = /*#__PURE__*/function () {
|
|
|
18915
18801
|
claimId: claimId,
|
|
18916
18802
|
transactionId: transactionId
|
|
18917
18803
|
}, opts.hyperMediaEndpoint);
|
|
18918
|
-
return _context44.abrupt("return", request(_objectSpread$
|
|
18804
|
+
return _context44.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18919
18805
|
path: pathCancelClaim(transactionId, claimId)
|
|
18920
18806
|
}), {
|
|
18921
18807
|
method: 'post',
|
|
@@ -18955,7 +18841,7 @@ var submitClaim = /*#__PURE__*/function () {
|
|
|
18955
18841
|
doesParamExist.default({
|
|
18956
18842
|
transactionId: transactionId
|
|
18957
18843
|
}, opts.hyperMediaEndpoint);
|
|
18958
|
-
return _context45.abrupt("return", request(_objectSpread$
|
|
18844
|
+
return _context45.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18959
18845
|
path: pathSubmitClaim(transactionId, claimId)
|
|
18960
18846
|
}), {
|
|
18961
18847
|
method: 'post',
|
|
@@ -18995,7 +18881,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
|
|
|
18995
18881
|
claimId: claimId,
|
|
18996
18882
|
transactionId: transactionId
|
|
18997
18883
|
}, opts.hyperMediaEndpoint);
|
|
18998
|
-
return _context46.abrupt("return", request(_objectSpread$
|
|
18884
|
+
return _context46.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
18999
18885
|
path: pathSaveClaim(transactionId, claimId)
|
|
19000
18886
|
}), {
|
|
19001
18887
|
method: 'post'
|
|
@@ -19033,7 +18919,7 @@ var pay = /*#__PURE__*/function () {
|
|
|
19033
18919
|
doesParamExist.default({
|
|
19034
18920
|
transactionId: transactionId
|
|
19035
18921
|
}, opts.hyperMediaEndpoint);
|
|
19036
|
-
return _context47.abrupt("return", request(_objectSpread$
|
|
18922
|
+
return _context47.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19037
18923
|
path: pathTransactionPays(transactionId)
|
|
19038
18924
|
}), {
|
|
19039
18925
|
method: 'post',
|
|
@@ -19072,7 +18958,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
19072
18958
|
doesParamExist.default({
|
|
19073
18959
|
transactionId: transactionId
|
|
19074
18960
|
}, opts.hyperMediaEndpoint);
|
|
19075
|
-
return _context48.abrupt("return", request(_objectSpread$
|
|
18961
|
+
return _context48.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19076
18962
|
path: pathTransactionProcessingRequests(transactionId)
|
|
19077
18963
|
}), {
|
|
19078
18964
|
method: 'post',
|
|
@@ -19111,7 +18997,7 @@ var cancelInvoice = /*#__PURE__*/function () {
|
|
|
19111
18997
|
doesParamExist.default({
|
|
19112
18998
|
transactionId: transactionId
|
|
19113
18999
|
}, opts.hyperMediaEndpoint);
|
|
19114
|
-
return _context49.abrupt("return", request(_objectSpread$
|
|
19000
|
+
return _context49.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19115
19001
|
path: pathTransactionCancel(transactionId)
|
|
19116
19002
|
}), {
|
|
19117
19003
|
method: 'post',
|
|
@@ -19149,7 +19035,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
19149
19035
|
doesParamExist.default({
|
|
19150
19036
|
transactionId: transactionId
|
|
19151
19037
|
}, opts.hyperMediaEndpoint);
|
|
19152
|
-
return _context50.abrupt("return", request(_objectSpread$
|
|
19038
|
+
return _context50.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19153
19039
|
path: pathTransactionPaymentLink(transactionId)
|
|
19154
19040
|
}), {
|
|
19155
19041
|
method: 'get'
|
|
@@ -19189,7 +19075,7 @@ var refundByBusiness = /*#__PURE__*/function () {
|
|
|
19189
19075
|
businessId: businessId,
|
|
19190
19076
|
transactionId: transactionId
|
|
19191
19077
|
}, opts.hyperMediaEndpoint);
|
|
19192
|
-
return _context51.abrupt("return", request(_objectSpread$
|
|
19078
|
+
return _context51.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19193
19079
|
path: pathBusinessTransactionRefund(businessId, transactionId)
|
|
19194
19080
|
}), {
|
|
19195
19081
|
method: 'post',
|
|
@@ -19228,7 +19114,7 @@ var refund = /*#__PURE__*/function () {
|
|
|
19228
19114
|
doesParamExist.default({
|
|
19229
19115
|
transactionId: transactionId
|
|
19230
19116
|
}, opts.hyperMediaEndpoint);
|
|
19231
|
-
return _context52.abrupt("return", request(_objectSpread$
|
|
19117
|
+
return _context52.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19232
19118
|
path: pathTransactionRefund(transactionId)
|
|
19233
19119
|
}), {
|
|
19234
19120
|
method: 'post',
|
|
@@ -19267,7 +19153,7 @@ var saveDraft = /*#__PURE__*/function () {
|
|
|
19267
19153
|
doesParamExist.default({
|
|
19268
19154
|
businessId: businessId
|
|
19269
19155
|
}, opts.hyperMediaEndpoint);
|
|
19270
|
-
return _context53.abrupt("return", request(_objectSpread$
|
|
19156
|
+
return _context53.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19271
19157
|
path: pathCreateDraft(businessId)
|
|
19272
19158
|
}), {
|
|
19273
19159
|
method: 'post',
|
|
@@ -19306,7 +19192,7 @@ var convertDraft = /*#__PURE__*/function () {
|
|
|
19306
19192
|
doesParamExist.default({
|
|
19307
19193
|
transactionId: transactionId
|
|
19308
19194
|
}, opts.hyperMediaEndpoint);
|
|
19309
|
-
return _context54.abrupt("return", request(_objectSpread$
|
|
19195
|
+
return _context54.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19310
19196
|
path: pathConvertDraft(transactionId)
|
|
19311
19197
|
}), {
|
|
19312
19198
|
method: 'post',
|
|
@@ -19344,7 +19230,7 @@ var archive = /*#__PURE__*/function () {
|
|
|
19344
19230
|
doesParamExist.default({
|
|
19345
19231
|
transactionId: transactionId
|
|
19346
19232
|
}, opts.hyperMediaEndpoint);
|
|
19347
|
-
return _context55.abrupt("return", request(_objectSpread$
|
|
19233
|
+
return _context55.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19348
19234
|
path: pathTransactionArchives(transactionId)
|
|
19349
19235
|
}), {
|
|
19350
19236
|
method: 'put'
|
|
@@ -19381,7 +19267,7 @@ var unarchive = /*#__PURE__*/function () {
|
|
|
19381
19267
|
doesParamExist.default({
|
|
19382
19268
|
transactionId: transactionId
|
|
19383
19269
|
}, opts.hyperMediaEndpoint);
|
|
19384
|
-
return _context56.abrupt("return", request(_objectSpread$
|
|
19270
|
+
return _context56.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19385
19271
|
path: pathTransactionUnarchives(transactionId)
|
|
19386
19272
|
}), {
|
|
19387
19273
|
method: 'put'
|
|
@@ -19419,7 +19305,7 @@ var terminalInput = /*#__PURE__*/function () {
|
|
|
19419
19305
|
doesParamExist.default({
|
|
19420
19306
|
transactionId: transactionId
|
|
19421
19307
|
}, opts.hyperMediaEndpoint);
|
|
19422
|
-
return _context57.abrupt("return", request(_objectSpread$
|
|
19308
|
+
return _context57.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19423
19309
|
path: pathTransactionTerminalInput(transactionId)
|
|
19424
19310
|
}), {
|
|
19425
19311
|
method: 'post',
|
|
@@ -19458,7 +19344,7 @@ var terminalCancellation = /*#__PURE__*/function () {
|
|
|
19458
19344
|
doesParamExist.default({
|
|
19459
19345
|
transactionId: transactionId
|
|
19460
19346
|
}, opts.hyperMediaEndpoint);
|
|
19461
|
-
return _context58.abrupt("return", request(_objectSpread$
|
|
19347
|
+
return _context58.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19462
19348
|
path: pathTransactionTerminalCancel(transactionId)
|
|
19463
19349
|
}), {
|
|
19464
19350
|
method: 'post',
|
|
@@ -19498,7 +19384,7 @@ var refundPayment = /*#__PURE__*/function () {
|
|
|
19498
19384
|
doesParamExist.default({
|
|
19499
19385
|
transactionId: transactionId
|
|
19500
19386
|
}, opts.hyperMediaEndpoint);
|
|
19501
|
-
return _context59.abrupt("return", request(_objectSpread$
|
|
19387
|
+
return _context59.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19502
19388
|
path: pathTransactionPaymentRefund(transactionId, paymentId)
|
|
19503
19389
|
}), {
|
|
19504
19390
|
method: 'post',
|
|
@@ -19533,7 +19419,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19533
19419
|
opts = {};
|
|
19534
19420
|
}
|
|
19535
19421
|
|
|
19536
|
-
return _context60.abrupt("return", request(_objectSpread$
|
|
19422
|
+
return _context60.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19537
19423
|
path: pathCreateEclipseInPatientInvoice()
|
|
19538
19424
|
}), {
|
|
19539
19425
|
method: 'post',
|
|
@@ -19568,7 +19454,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19568
19454
|
opts = {};
|
|
19569
19455
|
}
|
|
19570
19456
|
|
|
19571
|
-
return _context61.abrupt("return", request(_objectSpread$
|
|
19457
|
+
return _context61.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19572
19458
|
path: pathCreateEclipseOverseasInvoice()
|
|
19573
19459
|
}), {
|
|
19574
19460
|
method: 'post',
|
|
@@ -19603,7 +19489,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
|
|
|
19603
19489
|
opts = {};
|
|
19604
19490
|
}
|
|
19605
19491
|
|
|
19606
|
-
return _context62.abrupt("return", request(_objectSpread$
|
|
19492
|
+
return _context62.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19607
19493
|
path: pathCreateEclipseOnlineEligibilityCheckInvoice()
|
|
19608
19494
|
}), {
|
|
19609
19495
|
method: 'post',
|
|
@@ -19643,7 +19529,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
19643
19529
|
businessId: businessId,
|
|
19644
19530
|
transactionId: transactionId
|
|
19645
19531
|
}, opts.hyperMediaEndpoint);
|
|
19646
|
-
return _context63.abrupt("return", request(_objectSpread$
|
|
19532
|
+
return _context63.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19647
19533
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
|
|
19648
19534
|
}), {
|
|
19649
19535
|
method: 'get',
|
|
@@ -19683,7 +19569,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
19683
19569
|
businessId: businessId,
|
|
19684
19570
|
transactionId: transactionId
|
|
19685
19571
|
}, opts.hyperMediaEndpoint);
|
|
19686
|
-
return _context64.abrupt("return", request(_objectSpread$
|
|
19572
|
+
return _context64.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19687
19573
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
|
|
19688
19574
|
}), {
|
|
19689
19575
|
method: 'get',
|
|
@@ -19722,7 +19608,7 @@ var reconcileClaim = /*#__PURE__*/function () {
|
|
|
19722
19608
|
doesParamExist.default({
|
|
19723
19609
|
transactionId: transactionId
|
|
19724
19610
|
}, opts.hyperMediaEndpoint);
|
|
19725
|
-
return _context65.abrupt("return", request(_objectSpread$
|
|
19611
|
+
return _context65.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19726
19612
|
path: pathReconcileClaim(transactionId, claimId)
|
|
19727
19613
|
}), {
|
|
19728
19614
|
method: 'post'
|
|
@@ -19756,7 +19642,7 @@ var saveDraftEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19756
19642
|
opts = {};
|
|
19757
19643
|
}
|
|
19758
19644
|
|
|
19759
|
-
return _context66.abrupt("return", request(_objectSpread$
|
|
19645
|
+
return _context66.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19760
19646
|
path: pathSaveDraftEclipseInPatientInvoice()
|
|
19761
19647
|
}), {
|
|
19762
19648
|
method: 'post',
|
|
@@ -19791,7 +19677,7 @@ var saveDraftEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19791
19677
|
opts = {};
|
|
19792
19678
|
}
|
|
19793
19679
|
|
|
19794
|
-
return _context67.abrupt("return", request(_objectSpread$
|
|
19680
|
+
return _context67.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19795
19681
|
path: pathSaveDraftEclipseOverseasInvoice()
|
|
19796
19682
|
}), {
|
|
19797
19683
|
method: 'post',
|
|
@@ -19882,9 +19768,9 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
19882
19768
|
saveDraftEclipseOverseasInvoice: saveDraftEclipseOverseasInvoice
|
|
19883
19769
|
});
|
|
19884
19770
|
|
|
19885
|
-
function ownKeys$
|
|
19771
|
+
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; }
|
|
19886
19772
|
|
|
19887
|
-
function _objectSpread$
|
|
19773
|
+
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; }
|
|
19888
19774
|
|
|
19889
19775
|
var pathTrigger = function pathTrigger(triggerId) {
|
|
19890
19776
|
return "/triggers/" + triggerId;
|
|
@@ -19911,7 +19797,7 @@ var getTrigger = /*#__PURE__*/function () {
|
|
|
19911
19797
|
doesParamExist.default({
|
|
19912
19798
|
triggerId: triggerId
|
|
19913
19799
|
}, opts.hyperMediaEndpoint);
|
|
19914
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19800
|
+
return _context.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19915
19801
|
path: pathTrigger(triggerId)
|
|
19916
19802
|
}), {
|
|
19917
19803
|
method: 'get'
|
|
@@ -19949,7 +19835,7 @@ var getTriggers = /*#__PURE__*/function () {
|
|
|
19949
19835
|
opts = {};
|
|
19950
19836
|
}
|
|
19951
19837
|
|
|
19952
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
19838
|
+
return _context2.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19953
19839
|
path: PATH__TRIGGERS
|
|
19954
19840
|
}), {
|
|
19955
19841
|
method: 'get',
|
|
@@ -19988,7 +19874,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
|
|
|
19988
19874
|
opts = {};
|
|
19989
19875
|
}
|
|
19990
19876
|
|
|
19991
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
19877
|
+
return _context3.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19992
19878
|
path: PATH__TRIGGER_CATEGORIES
|
|
19993
19879
|
}), {
|
|
19994
19880
|
method: 'get',
|
|
@@ -20015,9 +19901,9 @@ var triggers = /*#__PURE__*/Object.freeze({
|
|
|
20015
19901
|
getTriggerCategories: getTriggerCategories
|
|
20016
19902
|
});
|
|
20017
19903
|
|
|
20018
|
-
function ownKeys$
|
|
19904
|
+
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; }
|
|
20019
19905
|
|
|
20020
|
-
function _objectSpread$
|
|
19906
|
+
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; }
|
|
20021
19907
|
var pathHealthFundVendors = function pathHealthFundVendors(healthFundId) {
|
|
20022
19908
|
return "/healthfunds/" + healthFundId + "/vendors";
|
|
20023
19909
|
};
|
|
@@ -20033,7 +19919,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
|
|
|
20033
19919
|
healthFundId: healthFundId,
|
|
20034
19920
|
vendorId: vendorId
|
|
20035
19921
|
}, opts.hyperMediaEndpoint);
|
|
20036
|
-
return request(_objectSpread$
|
|
19922
|
+
return request(_objectSpread$16({}, opts, {
|
|
20037
19923
|
path: pathHealthFundVendor(healthFundId, vendorId)
|
|
20038
19924
|
}), {
|
|
20039
19925
|
method: 'get',
|
|
@@ -20048,7 +19934,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
|
|
|
20048
19934
|
doesParamExist.default({
|
|
20049
19935
|
healthFundId: healthFundId
|
|
20050
19936
|
}, opts.hyperMediaEndpoint);
|
|
20051
|
-
return request(_objectSpread$
|
|
19937
|
+
return request(_objectSpread$16({}, opts, {
|
|
20052
19938
|
path: pathHealthFundVendors(healthFundId)
|
|
20053
19939
|
}), {
|
|
20054
19940
|
method: 'get',
|
|
@@ -20064,9 +19950,9 @@ var vendors = /*#__PURE__*/Object.freeze({
|
|
|
20064
19950
|
getHealthFundVendors: getHealthFundVendors
|
|
20065
19951
|
});
|
|
20066
19952
|
|
|
20067
|
-
function ownKeys$
|
|
19953
|
+
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; }
|
|
20068
19954
|
|
|
20069
|
-
function _objectSpread$
|
|
19955
|
+
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; }
|
|
20070
19956
|
var PATH__MEDICARE_VERIFY = '/medicare/verify';
|
|
20071
19957
|
/**
|
|
20072
19958
|
* Verify medicare details
|
|
@@ -20084,7 +19970,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
|
|
|
20084
19970
|
opts = {};
|
|
20085
19971
|
}
|
|
20086
19972
|
|
|
20087
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19973
|
+
return _context.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
20088
19974
|
path: PATH__MEDICARE_VERIFY
|
|
20089
19975
|
}), {
|
|
20090
19976
|
method: 'POST',
|
|
@@ -20110,9 +19996,9 @@ var verify = /*#__PURE__*/Object.freeze({
|
|
|
20110
19996
|
verifyMedicare: verifyMedicare$1
|
|
20111
19997
|
});
|
|
20112
19998
|
|
|
20113
|
-
function ownKeys$
|
|
19999
|
+
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; }
|
|
20114
20000
|
|
|
20115
|
-
function _objectSpread$
|
|
20001
|
+
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; }
|
|
20116
20002
|
var pathSendWorkerMessage = function pathSendWorkerMessage() {
|
|
20117
20003
|
return "/workers/messages";
|
|
20118
20004
|
};
|
|
@@ -20121,7 +20007,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
|
|
|
20121
20007
|
opts = {};
|
|
20122
20008
|
}
|
|
20123
20009
|
|
|
20124
|
-
return request(_objectSpread$
|
|
20010
|
+
return request(_objectSpread$18({}, opts, {
|
|
20125
20011
|
path: pathSendWorkerMessage()
|
|
20126
20012
|
}), {
|
|
20127
20013
|
method: 'post',
|
|
@@ -20135,9 +20021,9 @@ var workers = /*#__PURE__*/Object.freeze({
|
|
|
20135
20021
|
sendWorkerMessage: sendWorkerMessage
|
|
20136
20022
|
});
|
|
20137
20023
|
|
|
20138
|
-
function ownKeys$
|
|
20024
|
+
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; }
|
|
20139
20025
|
|
|
20140
|
-
function _objectSpread$
|
|
20026
|
+
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; }
|
|
20141
20027
|
var pathHealthFundWorkflowExceptions = function pathHealthFundWorkflowExceptions(healthFundId) {
|
|
20142
20028
|
return "/healthfunds/" + healthFundId + "/workflowexceptions";
|
|
20143
20029
|
};
|
|
@@ -20149,7 +20035,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
|
|
|
20149
20035
|
doesParamExist.default({
|
|
20150
20036
|
healthFundId: healthFundId
|
|
20151
20037
|
}, opts.hyperMediaEndpoint);
|
|
20152
|
-
return request(_objectSpread$
|
|
20038
|
+
return request(_objectSpread$19({}, opts, {
|
|
20153
20039
|
path: pathHealthFundWorkflowExceptions(healthFundId)
|
|
20154
20040
|
}), {
|
|
20155
20041
|
method: 'get',
|
|
@@ -20871,9 +20757,9 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
20871
20757
|
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
20872
20758
|
});
|
|
20873
20759
|
|
|
20874
|
-
function ownKeys$
|
|
20760
|
+
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; }
|
|
20875
20761
|
|
|
20876
|
-
function _objectSpread$
|
|
20762
|
+
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; }
|
|
20877
20763
|
/**
|
|
20878
20764
|
* Get current app version
|
|
20879
20765
|
*/
|
|
@@ -21015,7 +20901,7 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
21015
20901
|
break;
|
|
21016
20902
|
}
|
|
21017
20903
|
|
|
21018
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20904
|
+
return _context3.abrupt("return", _objectSpread$1a({}, versions, {
|
|
21019
20905
|
requiresUpdate: true,
|
|
21020
20906
|
isForced: true
|
|
21021
20907
|
}));
|
|
@@ -21026,12 +20912,12 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
21026
20912
|
break;
|
|
21027
20913
|
}
|
|
21028
20914
|
|
|
21029
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20915
|
+
return _context3.abrupt("return", _objectSpread$1a({}, versions, {
|
|
21030
20916
|
requiresUpdate: true
|
|
21031
20917
|
}));
|
|
21032
20918
|
|
|
21033
20919
|
case 14:
|
|
21034
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20920
|
+
return _context3.abrupt("return", _objectSpread$1a({}, versions, {
|
|
21035
20921
|
requiresUpdate: false
|
|
21036
20922
|
}));
|
|
21037
20923
|
|
|
@@ -21057,85 +20943,9 @@ var versions = /*#__PURE__*/Object.freeze({
|
|
|
21057
20943
|
checkAppVersion: checkAppVersion
|
|
21058
20944
|
});
|
|
21059
20945
|
|
|
21060
|
-
var
|
|
21061
|
-
|
|
21062
|
-
var _getSelfApplicationCacheInProgress = false;
|
|
21063
|
-
var getSelfApplicationCached = /*#__PURE__*/function () {
|
|
21064
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
21065
|
-
var data;
|
|
21066
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
21067
|
-
while (1) {
|
|
21068
|
-
switch (_context.prev = _context.next) {
|
|
21069
|
-
case 0:
|
|
21070
|
-
if (!_getSelfApplicationCache) {
|
|
21071
|
-
_context.next = 2;
|
|
21072
|
-
break;
|
|
21073
|
-
}
|
|
21074
|
-
|
|
21075
|
-
return _context.abrupt("return", _getSelfApplicationCache);
|
|
21076
|
-
|
|
21077
|
-
case 2:
|
|
21078
|
-
if (_getSelfApplicationCacheInProgress) {
|
|
21079
|
-
_context.next = 13;
|
|
21080
|
-
break;
|
|
21081
|
-
}
|
|
21082
|
-
|
|
21083
|
-
_context.prev = 3;
|
|
21084
|
-
_getSelfApplicationCacheInProgress = true;
|
|
21085
|
-
_context.next = 7;
|
|
21086
|
-
return sdkClient.applications.getSelfApplication();
|
|
21087
|
-
|
|
21088
|
-
case 7:
|
|
21089
|
-
_getSelfApplicationCache = _context.sent;
|
|
21090
|
-
|
|
21091
|
-
case 8:
|
|
21092
|
-
_context.prev = 8;
|
|
21093
|
-
_getSelfApplicationCacheInProgress = false;
|
|
21094
|
-
return _context.finish(8);
|
|
21095
|
-
|
|
21096
|
-
case 11:
|
|
21097
|
-
_context.next = 18;
|
|
21098
|
-
break;
|
|
21099
|
-
|
|
21100
|
-
case 13:
|
|
21101
|
-
_context.next = 15;
|
|
21102
|
-
return new Promise(function (resolve) {
|
|
21103
|
-
return setTimeout(resolve, 100);
|
|
21104
|
-
});
|
|
21105
|
-
|
|
21106
|
-
case 15:
|
|
21107
|
-
data = _getSelfApplicationCache;
|
|
21108
|
-
|
|
21109
|
-
case 16:
|
|
21110
|
-
if (!data) {
|
|
21111
|
-
_context.next = 13;
|
|
21112
|
-
break;
|
|
21113
|
-
}
|
|
21114
|
-
|
|
21115
|
-
case 17:
|
|
21116
|
-
return _context.abrupt("return", data);
|
|
21117
|
-
|
|
21118
|
-
case 18:
|
|
21119
|
-
case "end":
|
|
21120
|
-
return _context.stop();
|
|
21121
|
-
}
|
|
21122
|
-
}
|
|
21123
|
-
}, _callee, null, [[3,, 8, 11]]);
|
|
21124
|
-
}));
|
|
21125
|
-
|
|
21126
|
-
return function getSelfApplicationCached() {
|
|
21127
|
-
return _ref.apply(this, arguments);
|
|
21128
|
-
};
|
|
21129
|
-
}();
|
|
21130
|
-
|
|
21131
|
-
var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
21132
|
-
__proto__: null,
|
|
21133
|
-
getSelfApplicationCached: getSelfApplicationCached
|
|
21134
|
-
});
|
|
21135
|
-
|
|
21136
|
-
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; }
|
|
20946
|
+
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; }
|
|
21137
20947
|
|
|
21138
|
-
function _objectSpread$
|
|
20948
|
+
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; }
|
|
21139
20949
|
|
|
21140
20950
|
function parseProfessions(_x, _x2) {
|
|
21141
20951
|
return _parseProfessions.apply(this, arguments);
|
|
@@ -21182,19 +20992,19 @@ function _parseProfessions() {
|
|
|
21182
20992
|
professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
|
|
21183
20993
|
var _objectSpread2;
|
|
21184
20994
|
|
|
21185
|
-
return _objectSpread$
|
|
20995
|
+
return _objectSpread$1b({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
21186
20996
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
21187
20997
|
{});
|
|
21188
20998
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
21189
20999
|
var _objectSpread3;
|
|
21190
21000
|
|
|
21191
|
-
return _objectSpread$
|
|
21001
|
+
return _objectSpread$1b({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
21192
21002
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
21193
21003
|
{});
|
|
21194
21004
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
21195
21005
|
var _objectSpread4;
|
|
21196
21006
|
|
|
21197
|
-
return _objectSpread$
|
|
21007
|
+
return _objectSpread$1b({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
|
|
21198
21008
|
}, {});
|
|
21199
21009
|
newProfessions = professions.map(function (registration) {
|
|
21200
21010
|
var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
|
|
@@ -21225,9 +21035,85 @@ var professionsUtils = /*#__PURE__*/Object.freeze({
|
|
|
21225
21035
|
parseProfessions: parseProfessions
|
|
21226
21036
|
});
|
|
21227
21037
|
|
|
21228
|
-
|
|
21038
|
+
var _getSelfApplicationCache;
|
|
21229
21039
|
|
|
21230
|
-
|
|
21040
|
+
var _getSelfApplicationCacheInProgress = false;
|
|
21041
|
+
var getSelfApplicationCached = /*#__PURE__*/function () {
|
|
21042
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
21043
|
+
var data;
|
|
21044
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
21045
|
+
while (1) {
|
|
21046
|
+
switch (_context.prev = _context.next) {
|
|
21047
|
+
case 0:
|
|
21048
|
+
if (!_getSelfApplicationCache) {
|
|
21049
|
+
_context.next = 2;
|
|
21050
|
+
break;
|
|
21051
|
+
}
|
|
21052
|
+
|
|
21053
|
+
return _context.abrupt("return", _getSelfApplicationCache);
|
|
21054
|
+
|
|
21055
|
+
case 2:
|
|
21056
|
+
if (_getSelfApplicationCacheInProgress) {
|
|
21057
|
+
_context.next = 13;
|
|
21058
|
+
break;
|
|
21059
|
+
}
|
|
21060
|
+
|
|
21061
|
+
_context.prev = 3;
|
|
21062
|
+
_getSelfApplicationCacheInProgress = true;
|
|
21063
|
+
_context.next = 7;
|
|
21064
|
+
return sdkClient.applications.getSelfApplication();
|
|
21065
|
+
|
|
21066
|
+
case 7:
|
|
21067
|
+
_getSelfApplicationCache = _context.sent;
|
|
21068
|
+
|
|
21069
|
+
case 8:
|
|
21070
|
+
_context.prev = 8;
|
|
21071
|
+
_getSelfApplicationCacheInProgress = false;
|
|
21072
|
+
return _context.finish(8);
|
|
21073
|
+
|
|
21074
|
+
case 11:
|
|
21075
|
+
_context.next = 18;
|
|
21076
|
+
break;
|
|
21077
|
+
|
|
21078
|
+
case 13:
|
|
21079
|
+
_context.next = 15;
|
|
21080
|
+
return new Promise(function (resolve) {
|
|
21081
|
+
return setTimeout(resolve, 100);
|
|
21082
|
+
});
|
|
21083
|
+
|
|
21084
|
+
case 15:
|
|
21085
|
+
data = _getSelfApplicationCache;
|
|
21086
|
+
|
|
21087
|
+
case 16:
|
|
21088
|
+
if (!data) {
|
|
21089
|
+
_context.next = 13;
|
|
21090
|
+
break;
|
|
21091
|
+
}
|
|
21092
|
+
|
|
21093
|
+
case 17:
|
|
21094
|
+
return _context.abrupt("return", data);
|
|
21095
|
+
|
|
21096
|
+
case 18:
|
|
21097
|
+
case "end":
|
|
21098
|
+
return _context.stop();
|
|
21099
|
+
}
|
|
21100
|
+
}
|
|
21101
|
+
}, _callee, null, [[3,, 8, 11]]);
|
|
21102
|
+
}));
|
|
21103
|
+
|
|
21104
|
+
return function getSelfApplicationCached() {
|
|
21105
|
+
return _ref.apply(this, arguments);
|
|
21106
|
+
};
|
|
21107
|
+
}();
|
|
21108
|
+
|
|
21109
|
+
var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
21110
|
+
__proto__: null,
|
|
21111
|
+
getSelfApplicationCached: getSelfApplicationCached
|
|
21112
|
+
});
|
|
21113
|
+
|
|
21114
|
+
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; }
|
|
21115
|
+
|
|
21116
|
+
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; }
|
|
21231
21117
|
var APP_ID = 'web-application';
|
|
21232
21118
|
var API_VER = '0.82.0';
|
|
21233
21119
|
var API_VERSIONS = {
|
|
@@ -21260,7 +21146,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
21260
21146
|
return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
|
|
21261
21147
|
var _objectSpread2;
|
|
21262
21148
|
|
|
21263
|
-
return _objectSpread$
|
|
21149
|
+
return _objectSpread$1c({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
|
|
21264
21150
|
}, {});
|
|
21265
21151
|
};
|
|
21266
21152
|
|
|
@@ -21313,7 +21199,6 @@ var sdkClient = {
|
|
|
21313
21199
|
funders: funders,
|
|
21314
21200
|
funderServices: funderServices,
|
|
21315
21201
|
funderSettings: funderSettings,
|
|
21316
|
-
funderValues: funderValues,
|
|
21317
21202
|
futures: futures,
|
|
21318
21203
|
healthFundAccounts: healthFundAccounts,
|
|
21319
21204
|
healthFundSettings: healthFundSettings,
|
|
@@ -21395,7 +21280,7 @@ var sdkClient = {
|
|
|
21395
21280
|
this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
|
|
21396
21281
|
}
|
|
21397
21282
|
|
|
21398
|
-
this.setConfig(_objectSpread$
|
|
21283
|
+
this.setConfig(_objectSpread$1c({}, opts, {
|
|
21399
21284
|
env: env
|
|
21400
21285
|
}));
|
|
21401
21286
|
this.hasInit = true; // Setup request/response interceptors
|
|
@@ -21629,9 +21514,9 @@ var sdkClient = {
|
|
|
21629
21514
|
}
|
|
21630
21515
|
};
|
|
21631
21516
|
|
|
21632
|
-
function ownKeys$
|
|
21517
|
+
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; }
|
|
21633
21518
|
|
|
21634
|
-
function _objectSpread$
|
|
21519
|
+
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; }
|
|
21635
21520
|
function parseProviderSet(_x, _x2) {
|
|
21636
21521
|
return _parseProviderSet.apply(this, arguments);
|
|
21637
21522
|
}
|
|
@@ -21744,20 +21629,20 @@ function _parseProviderSet() {
|
|
|
21744
21629
|
fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
|
|
21745
21630
|
var _objectSpread2;
|
|
21746
21631
|
|
|
21747
|
-
return _objectSpread$
|
|
21632
|
+
return _objectSpread$1d({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
|
|
21748
21633
|
}, {});
|
|
21749
21634
|
practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
|
|
21750
21635
|
var _objectSpread3;
|
|
21751
21636
|
|
|
21752
|
-
return _objectSpread$
|
|
21637
|
+
return _objectSpread$1d({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
|
|
21753
21638
|
}, {});
|
|
21754
21639
|
providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
|
|
21755
21640
|
var _objectSpread4;
|
|
21756
21641
|
|
|
21757
|
-
return _objectSpread$
|
|
21642
|
+
return _objectSpread$1d({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
|
|
21758
21643
|
}, {});
|
|
21759
21644
|
newProviderSet = providerSet.map(function (providerData, i) {
|
|
21760
|
-
return _objectSpread$
|
|
21645
|
+
return _objectSpread$1d({}, providerData, {}, providerRegistrations[i], {
|
|
21761
21646
|
practice: practicesMap[providerData.practiceId],
|
|
21762
21647
|
funder: fundersMap[providerData.funderId]
|
|
21763
21648
|
}, parseProviderNumberType && {
|
|
@@ -21888,7 +21773,6 @@ exports.createBulkUpload = createBulkUpload;
|
|
|
21888
21773
|
exports.createBusinesFunderSettings = createBusinesFunderSettings;
|
|
21889
21774
|
exports.createBusiness = createBusiness;
|
|
21890
21775
|
exports.createBusinessAccount = createBusinessAccount;
|
|
21891
|
-
exports.createBusinessFunderValue = createBusinessFunderValue;
|
|
21892
21776
|
exports.createBusinessHold = createBusinessHold;
|
|
21893
21777
|
exports.createBusinessInstalmentPlan = createBusinessInstalmentPlan;
|
|
21894
21778
|
exports.createBusinessLog = createBusinessLog;
|
|
@@ -21949,7 +21833,6 @@ exports.deleteAccountSecretKey = deleteAccountSecretKey;
|
|
|
21949
21833
|
exports.deleteApiKey = deleteApiKey;
|
|
21950
21834
|
exports.deleteBusinesFunderSettings = deleteBusinesFunderSettings;
|
|
21951
21835
|
exports.deleteBusiness = deleteBusiness;
|
|
21952
|
-
exports.deleteBusinessFunderValue = deleteBusinessFunderValue;
|
|
21953
21836
|
exports.deleteBusinessPatient = deleteBusinessPatient;
|
|
21954
21837
|
exports.deleteBusinessPatientHealthFundAccount = deleteBusinessPatientHealthFundAccount;
|
|
21955
21838
|
exports.deleteBusinessPatientPaymentMethod = deleteBusinessPatientPaymentMethod;
|
|
@@ -21995,7 +21878,6 @@ exports.formApplications = formApplications;
|
|
|
21995
21878
|
exports.forms = forms;
|
|
21996
21879
|
exports.funderServices = funderServices;
|
|
21997
21880
|
exports.funderSettings = funderSettings;
|
|
21998
|
-
exports.funderValues = funderValues;
|
|
21999
21881
|
exports.funders = funders;
|
|
22000
21882
|
exports.futures = futures;
|
|
22001
21883
|
exports.generateAuthy = generateAuthy;
|
|
@@ -22036,8 +21918,6 @@ exports.getBusinessFormApplicationTemplate = getBusinessFormApplicationTemplate;
|
|
|
22036
21918
|
exports.getBusinessFormPracticeStaffMembers = getBusinessFormPracticeStaffMembers;
|
|
22037
21919
|
exports.getBusinessFormPractices = getBusinessFormPractices;
|
|
22038
21920
|
exports.getBusinessFunderSettings = getBusinessFunderSettings;
|
|
22039
|
-
exports.getBusinessFunderValueById = getBusinessFunderValueById;
|
|
22040
|
-
exports.getBusinessFunderValues = getBusinessFunderValues;
|
|
22041
21921
|
exports.getBusinessFuture = getBusinessFuture;
|
|
22042
21922
|
exports.getBusinessFutures = getBusinessFutures;
|
|
22043
21923
|
exports.getBusinessHealthFunds = getBusinessHealthFunds;
|
|
@@ -22323,8 +22203,6 @@ exports.pathCreateHealthFundTransactionExport = pathCreateHealthFundTransactionE
|
|
|
22323
22203
|
exports.pathFunder = pathFunder;
|
|
22324
22204
|
exports.pathFunderSettings = pathFunderSettings;
|
|
22325
22205
|
exports.pathFunderSettingsById = pathFunderSettingsById;
|
|
22326
|
-
exports.pathFunderValues = pathFunderValues;
|
|
22327
|
-
exports.pathFunderValuesById = pathFunderValuesById;
|
|
22328
22206
|
exports.pathFuture = pathFuture;
|
|
22329
22207
|
exports.pathGetClaimAttachmentUrl = pathGetClaimAttachmentUrl;
|
|
22330
22208
|
exports.pathGetDraftProgressStatus = pathGetDraftProgressStatus;
|
|
@@ -22519,7 +22397,6 @@ exports.updateApplication = updateApplication;
|
|
|
22519
22397
|
exports.updateAppointmentForHealthFundRNA = updateAppointmentForHealthFundRNA;
|
|
22520
22398
|
exports.updateBusinesFunderSettings = updateBusinesFunderSettings;
|
|
22521
22399
|
exports.updateBusiness = updateBusiness;
|
|
22522
|
-
exports.updateBusinessFunderValue = updateBusinessFunderValue;
|
|
22523
22400
|
exports.updateBusinessKyc = updateBusinessKyc;
|
|
22524
22401
|
exports.updateBusinessOnboardingApplication = updateBusinessOnboardingApplication;
|
|
22525
22402
|
exports.updateBusinessPatient = updateBusinessPatient;
|