@medipass/web-sdk 11.40.2-feature-add-sdk-function-sms-link.2 → 11.40.2-feature-eclipse-business-settings.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -22
- package/lib/index.d.ts +5 -3
- package/lib/index.js +3 -2
- package/lib/resources/accounts.js +2 -2
- package/lib/resources/actions.js +2 -2
- package/lib/resources/api-keys.js +2 -2
- package/lib/resources/applications.js +2 -2
- package/lib/resources/attachments.js +2 -2
- package/lib/resources/auth.js +2 -2
- package/lib/resources/bulk-submits.js +2 -2
- package/lib/resources/bulk-uploads.js +2 -2
- package/lib/resources/business-profiles.js +2 -2
- package/lib/resources/businesses.js +2 -2
- package/lib/resources/claim-items.js +2 -2
- package/lib/resources/devices.js +2 -2
- package/lib/resources/doc-accounts.js +2 -2
- package/lib/resources/documents.js +2 -2
- package/lib/resources/emails.js +2 -2
- package/lib/resources/form-application-templates.js +2 -2
- package/lib/resources/form-applications.js +2 -2
- package/lib/resources/forms.js +2 -2
- package/lib/resources/funder-services.js +2 -2
- package/lib/resources/funder-settings.js +2 -2
- package/lib/resources/funder-values.d.ts +22 -0
- package/lib/resources/funder-values.js +54 -0
- package/lib/resources/funders.js +2 -2
- package/lib/resources/futures.js +2 -2
- package/lib/resources/health-fund-accounts.js +2 -2
- package/lib/resources/health-fund-settings.js +2 -2
- package/lib/resources/healthfunds.js +2 -2
- package/lib/resources/icditems.js +2 -2
- package/lib/resources/invoice-scans.js +2 -2
- package/lib/resources/jhcs.js +2 -2
- package/lib/resources/kyc.js +2 -2
- package/lib/resources/logs.js +2 -2
- package/lib/resources/members.js +2 -2
- package/lib/resources/message-mappings.js +2 -2
- package/lib/resources/minions.js +2 -2
- package/lib/resources/modalities.js +2 -2
- package/lib/resources/notes.js +2 -2
- package/lib/resources/onboarding-applications.js +2 -2
- package/lib/resources/onboarding-requests.js +2 -2
- package/lib/resources/ops.js +2 -2
- package/lib/resources/organisations.js +2 -2
- package/lib/resources/partners.js +2 -2
- package/lib/resources/patients.d.ts +0 -8
- package/lib/resources/patients.js +2 -3
- 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-3cb55fca.js → staff-21af605d.js} +705 -617
- package/lib/types/funder-value.d.ts +15 -0
- package/lib/types/funder-value.js +2 -0
- package/lib/types/index.d.ts +5 -1
- package/lib/utils/application.js +2 -2
- package/lib/utils/professions.js +2 -2
- package/lib/utils/request.d.ts +2 -2
- package/lib/utils/request.js +2 -2
- package/lib/utils/staff.js +2 -2
- package/package.json +3 -3
|
@@ -29,8 +29,8 @@ var env = _interopDefault(require('@medipass/utils/get-env'));
|
|
|
29
29
|
var funders$1 = require('@medipass/utils/funders');
|
|
30
30
|
var compareVersions = _interopDefault(require('compare-versions'));
|
|
31
31
|
var index = require('./utils/base-urls/index.js');
|
|
32
|
-
var regions = require('./regions-a0a28864.js');
|
|
33
32
|
var _flatten = _interopDefault(require('lodash/flatten'));
|
|
33
|
+
var regions = require('./regions-a0a28864.js');
|
|
34
34
|
|
|
35
35
|
var staffUtils = /*#__PURE__*/Object.freeze({
|
|
36
36
|
__proto__: null,
|
|
@@ -51,10 +51,9 @@ var getVersion = function getVersion(apiName, requestOpts) {
|
|
|
51
51
|
return requestOpts.ver || _get(sdkClient, "apiVersions[" + apiName + "]") || sdkClient.defaultVersion;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
var request = /*#__PURE__*/function () {
|
|
54
|
+
var request = /*#__PURE__*/(function () {
|
|
55
55
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(medipassRequestOpts, axiosRequestOpts) {
|
|
56
|
-
var apiName, version, baseUrl, res,
|
|
57
|
-
|
|
56
|
+
var apiName, version, baseUrl, res, axiosError;
|
|
58
57
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
59
58
|
while (1) {
|
|
60
59
|
switch (_context.prev = _context.next) {
|
|
@@ -68,7 +67,8 @@ var request = /*#__PURE__*/function () {
|
|
|
68
67
|
baseUrl = getBaseUrl(apiName, medipassRequestOpts);
|
|
69
68
|
_context.prev = 4;
|
|
70
69
|
_context.next = 7;
|
|
71
|
-
return sdkClient.axios(
|
|
70
|
+
return sdkClient.axios( // $FlowFixMe
|
|
71
|
+
medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread({}, axiosRequestOpts, {}, medipassRequestOpts.requestConfig));
|
|
72
72
|
|
|
73
73
|
case 7:
|
|
74
74
|
res = _context.sent;
|
|
@@ -78,18 +78,13 @@ var request = /*#__PURE__*/function () {
|
|
|
78
78
|
_context.prev = 11;
|
|
79
79
|
_context.t0 = _context["catch"](4);
|
|
80
80
|
axiosError = medipassRequestOpts.getFullError ? _context.t0 : getAxiosError.default(_context.t0);
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
name: 'AxiosError',
|
|
86
|
-
data: axiosError
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
|
|
81
|
+
sentry.logError(_context.t0, {
|
|
82
|
+
name: 'AxiosError',
|
|
83
|
+
data: axiosError
|
|
84
|
+
});
|
|
90
85
|
throw axiosError;
|
|
91
86
|
|
|
92
|
-
case
|
|
87
|
+
case 16:
|
|
93
88
|
case "end":
|
|
94
89
|
return _context.stop();
|
|
95
90
|
}
|
|
@@ -97,10 +92,10 @@ var request = /*#__PURE__*/function () {
|
|
|
97
92
|
}, _callee, null, [[4, 11]]);
|
|
98
93
|
}));
|
|
99
94
|
|
|
100
|
-
return function
|
|
95
|
+
return function (_x, _x2) {
|
|
101
96
|
return _ref.apply(this, arguments);
|
|
102
97
|
};
|
|
103
|
-
}();
|
|
98
|
+
})();
|
|
104
99
|
|
|
105
100
|
function ownKeys$1(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; }
|
|
106
101
|
|
|
@@ -5568,6 +5563,120 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
5568
5563
|
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
5564
|
|
|
5570
5565
|
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; }
|
|
5566
|
+
var pathFunderValues = function pathFunderValues(businessId) {
|
|
5567
|
+
return "/businesses/" + businessId + "/fundervalues";
|
|
5568
|
+
};
|
|
5569
|
+
var pathFunderValuesById = function pathFunderValuesById(businessId, funderValueId) {
|
|
5570
|
+
return "/businesses/" + businessId + "/fundervalues/" + funderValueId;
|
|
5571
|
+
};
|
|
5572
|
+
var getBusinessFunderValues = /*#__PURE__*/function () {
|
|
5573
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(businessId, query, opts) {
|
|
5574
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
5575
|
+
while (1) {
|
|
5576
|
+
switch (_context.prev = _context.next) {
|
|
5577
|
+
case 0:
|
|
5578
|
+
if (opts === void 0) {
|
|
5579
|
+
opts = {};
|
|
5580
|
+
}
|
|
5581
|
+
|
|
5582
|
+
doesParamExist.default({
|
|
5583
|
+
businessId: businessId
|
|
5584
|
+
}, opts.hyperMediaEndpoint);
|
|
5585
|
+
return _context.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
5586
|
+
path: pathFunderValues(businessId)
|
|
5587
|
+
}), {
|
|
5588
|
+
method: 'get',
|
|
5589
|
+
params: query
|
|
5590
|
+
}));
|
|
5591
|
+
|
|
5592
|
+
case 3:
|
|
5593
|
+
case "end":
|
|
5594
|
+
return _context.stop();
|
|
5595
|
+
}
|
|
5596
|
+
}
|
|
5597
|
+
}, _callee);
|
|
5598
|
+
}));
|
|
5599
|
+
|
|
5600
|
+
return function getBusinessFunderValues(_x, _x2, _x3) {
|
|
5601
|
+
return _ref.apply(this, arguments);
|
|
5602
|
+
};
|
|
5603
|
+
}();
|
|
5604
|
+
var getBusinessFunderValueById = function getBusinessFunderValueById(businessId, funderValueId, opts) {
|
|
5605
|
+
if (opts === void 0) {
|
|
5606
|
+
opts = {};
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5609
|
+
doesParamExist.default({
|
|
5610
|
+
businessId: businessId,
|
|
5611
|
+
funderValueId: funderValueId
|
|
5612
|
+
}, opts.hyperMediaEndpoint);
|
|
5613
|
+
return request(_objectSpread$n({}, opts, {
|
|
5614
|
+
path: pathFunderValuesById(businessId, funderValueId)
|
|
5615
|
+
}), {
|
|
5616
|
+
method: 'get'
|
|
5617
|
+
});
|
|
5618
|
+
};
|
|
5619
|
+
var createBusinessFunderValue = function createBusinessFunderValue(businessId, body, opts) {
|
|
5620
|
+
if (opts === void 0) {
|
|
5621
|
+
opts = {};
|
|
5622
|
+
}
|
|
5623
|
+
|
|
5624
|
+
doesParamExist.default({
|
|
5625
|
+
businessId: businessId
|
|
5626
|
+
}, opts.hyperMediaEndpoint);
|
|
5627
|
+
return request(_objectSpread$n({}, opts, {
|
|
5628
|
+
path: pathFunderValues(businessId)
|
|
5629
|
+
}), {
|
|
5630
|
+
method: 'post',
|
|
5631
|
+
data: body
|
|
5632
|
+
});
|
|
5633
|
+
};
|
|
5634
|
+
var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, funderValueId, body, opts) {
|
|
5635
|
+
if (opts === void 0) {
|
|
5636
|
+
opts = {};
|
|
5637
|
+
}
|
|
5638
|
+
|
|
5639
|
+
doesParamExist.default({
|
|
5640
|
+
businessId: businessId,
|
|
5641
|
+
funderValueId: funderValueId
|
|
5642
|
+
}, opts.hyperMediaEndpoint);
|
|
5643
|
+
return request(_objectSpread$n({}, opts, {
|
|
5644
|
+
path: pathFunderValuesById(businessId, funderValueId)
|
|
5645
|
+
}), {
|
|
5646
|
+
method: 'put',
|
|
5647
|
+
data: body
|
|
5648
|
+
});
|
|
5649
|
+
};
|
|
5650
|
+
var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, funderValueId, opts) {
|
|
5651
|
+
if (opts === void 0) {
|
|
5652
|
+
opts = {};
|
|
5653
|
+
}
|
|
5654
|
+
|
|
5655
|
+
doesParamExist.default({
|
|
5656
|
+
businessId: businessId,
|
|
5657
|
+
funderValueId: funderValueId
|
|
5658
|
+
}, opts.hyperMediaEndpoint);
|
|
5659
|
+
return request(_objectSpread$n({}, opts, {
|
|
5660
|
+
path: pathFunderValuesById(businessId, funderValueId)
|
|
5661
|
+
}), {
|
|
5662
|
+
method: 'delete'
|
|
5663
|
+
});
|
|
5664
|
+
};
|
|
5665
|
+
|
|
5666
|
+
var funderValues = /*#__PURE__*/Object.freeze({
|
|
5667
|
+
__proto__: null,
|
|
5668
|
+
pathFunderValues: pathFunderValues,
|
|
5669
|
+
pathFunderValuesById: pathFunderValuesById,
|
|
5670
|
+
getBusinessFunderValues: getBusinessFunderValues,
|
|
5671
|
+
getBusinessFunderValueById: getBusinessFunderValueById,
|
|
5672
|
+
createBusinessFunderValue: createBusinessFunderValue,
|
|
5673
|
+
updateBusinessFunderValue: updateBusinessFunderValue,
|
|
5674
|
+
deleteBusinessFunderValue: deleteBusinessFunderValue
|
|
5675
|
+
});
|
|
5676
|
+
|
|
5677
|
+
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; }
|
|
5678
|
+
|
|
5679
|
+
function _objectSpread$o(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$o(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$o(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5571
5680
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
5572
5681
|
return "/businesses/" + businessId + "/futures";
|
|
5573
5682
|
};
|
|
@@ -5613,7 +5722,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
5613
5722
|
doesParamExist.default({
|
|
5614
5723
|
businessId: businessId
|
|
5615
5724
|
}, opts.hyperMediaEndpoint);
|
|
5616
|
-
return request(_objectSpread$
|
|
5725
|
+
return request(_objectSpread$o({}, opts, {
|
|
5617
5726
|
path: pathBusinessHolds(businessId)
|
|
5618
5727
|
}), {
|
|
5619
5728
|
method: 'post',
|
|
@@ -5635,7 +5744,7 @@ var createBusinessInstalmentPlan = function createBusinessInstalmentPlan(busines
|
|
|
5635
5744
|
doesParamExist.default({
|
|
5636
5745
|
businessId: businessId
|
|
5637
5746
|
}, opts.hyperMediaEndpoint);
|
|
5638
|
-
return request(_objectSpread$
|
|
5747
|
+
return request(_objectSpread$o({}, opts, {
|
|
5639
5748
|
path: pathBusinessInstalmentPlans(businessId)
|
|
5640
5749
|
}), {
|
|
5641
5750
|
method: 'post',
|
|
@@ -5656,7 +5765,7 @@ var cancel = function cancel(futureId, opts) {
|
|
|
5656
5765
|
doesParamExist.default({
|
|
5657
5766
|
futureId: futureId
|
|
5658
5767
|
}, opts.hyperMediaEndpoint);
|
|
5659
|
-
return request(_objectSpread$
|
|
5768
|
+
return request(_objectSpread$o({}, opts, {
|
|
5660
5769
|
path: pathCancels(futureId)
|
|
5661
5770
|
}), {
|
|
5662
5771
|
method: 'post'
|
|
@@ -5677,7 +5786,7 @@ var getBusinessFutures = function getBusinessFutures(businessId, query, opts) {
|
|
|
5677
5786
|
doesParamExist.default({
|
|
5678
5787
|
businessId: businessId
|
|
5679
5788
|
}, opts.hyperMediaEndpoint);
|
|
5680
|
-
return request(_objectSpread$
|
|
5789
|
+
return request(_objectSpread$o({}, opts, {
|
|
5681
5790
|
path: pathBusinessFutures(businessId)
|
|
5682
5791
|
}), {
|
|
5683
5792
|
method: 'get',
|
|
@@ -5700,7 +5809,7 @@ var getBusinessFuture = function getBusinessFuture(businessId, futureId, opts) {
|
|
|
5700
5809
|
businessId: businessId,
|
|
5701
5810
|
futureId: futureId
|
|
5702
5811
|
}, opts.hyperMediaEndpoint);
|
|
5703
|
-
return request(_objectSpread$
|
|
5812
|
+
return request(_objectSpread$o({}, opts, {
|
|
5704
5813
|
path: pathBusinessFuture(businessId, futureId)
|
|
5705
5814
|
}), {
|
|
5706
5815
|
method: 'get'
|
|
@@ -5720,7 +5829,7 @@ var getFuture = function getFuture(futureId, opts) {
|
|
|
5720
5829
|
doesParamExist.default({
|
|
5721
5830
|
futureId: futureId
|
|
5722
5831
|
}, opts.hyperMediaEndpoint);
|
|
5723
|
-
return request(_objectSpread$
|
|
5832
|
+
return request(_objectSpread$o({}, opts, {
|
|
5724
5833
|
path: pathFuture(futureId)
|
|
5725
5834
|
}), {
|
|
5726
5835
|
method: 'get'
|
|
@@ -5745,7 +5854,7 @@ var getPaymentLink = /*#__PURE__*/function () {
|
|
|
5745
5854
|
doesParamExist.default({
|
|
5746
5855
|
futureId: futureId
|
|
5747
5856
|
}, opts.hyperMediaEndpoint);
|
|
5748
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5857
|
+
return _context.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
5749
5858
|
path: pathPaymentLink(futureId)
|
|
5750
5859
|
}), {
|
|
5751
5860
|
method: 'get'
|
|
@@ -5778,7 +5887,7 @@ var sendProcessingRequest = function sendProcessingRequest(futureId, body, opts)
|
|
|
5778
5887
|
doesParamExist.default({
|
|
5779
5888
|
futureId: futureId
|
|
5780
5889
|
}, opts.hyperMediaEndpoint);
|
|
5781
|
-
return request(_objectSpread$
|
|
5890
|
+
return request(_objectSpread$o({}, opts, {
|
|
5782
5891
|
path: pathProcessingRequests(futureId)
|
|
5783
5892
|
}), {
|
|
5784
5893
|
method: 'post',
|
|
@@ -5800,7 +5909,7 @@ var submit = function submit(futureId, body, opts) {
|
|
|
5800
5909
|
doesParamExist.default({
|
|
5801
5910
|
futureId: futureId
|
|
5802
5911
|
}, opts.hyperMediaEndpoint);
|
|
5803
|
-
return request(_objectSpread$
|
|
5912
|
+
return request(_objectSpread$o({}, opts, {
|
|
5804
5913
|
path: pathSubmits(futureId)
|
|
5805
5914
|
}), {
|
|
5806
5915
|
method: 'post',
|
|
@@ -5822,7 +5931,7 @@ var update = function update(futureId, body, opts) {
|
|
|
5822
5931
|
doesParamExist.default({
|
|
5823
5932
|
futureId: futureId
|
|
5824
5933
|
}, opts.hyperMediaEndpoint);
|
|
5825
|
-
return request(_objectSpread$
|
|
5934
|
+
return request(_objectSpread$o({}, opts, {
|
|
5826
5935
|
path: pathFuture(futureId)
|
|
5827
5936
|
}), {
|
|
5828
5937
|
method: 'put',
|
|
@@ -5844,7 +5953,7 @@ var sendReceipt = function sendReceipt(futureId, body, opts) {
|
|
|
5844
5953
|
doesParamExist.default({
|
|
5845
5954
|
futureId: futureId
|
|
5846
5955
|
}, opts.hyperMediaEndpoint);
|
|
5847
|
-
return request(_objectSpread$
|
|
5956
|
+
return request(_objectSpread$o({}, opts, {
|
|
5848
5957
|
path: pathSendReceipt(futureId)
|
|
5849
5958
|
}), {
|
|
5850
5959
|
method: 'post',
|
|
@@ -5877,9 +5986,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
5877
5986
|
sendReceipt: sendReceipt
|
|
5878
5987
|
});
|
|
5879
5988
|
|
|
5880
|
-
function ownKeys$
|
|
5989
|
+
function ownKeys$p(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5881
5990
|
|
|
5882
|
-
function _objectSpread$
|
|
5991
|
+
function _objectSpread$p(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$p(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$p(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5883
5992
|
|
|
5884
5993
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
5885
5994
|
return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts";
|
|
@@ -5917,7 +6026,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
5917
6026
|
doesParamExist.default({
|
|
5918
6027
|
memberId: memberId
|
|
5919
6028
|
}, opts.hyperMediaEndpoint);
|
|
5920
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6029
|
+
return _context.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
5921
6030
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
5922
6031
|
}), {
|
|
5923
6032
|
method: 'post',
|
|
@@ -5958,7 +6067,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
5958
6067
|
businessId: businessId,
|
|
5959
6068
|
patientId: patientId
|
|
5960
6069
|
}, opts.hyperMediaEndpoint);
|
|
5961
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6070
|
+
return _context2.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
5962
6071
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
5963
6072
|
}), {
|
|
5964
6073
|
method: 'post',
|
|
@@ -5998,7 +6107,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
5998
6107
|
memberId: memberId,
|
|
5999
6108
|
healthFundAccountId: healthFundAccountId
|
|
6000
6109
|
}, opts.hyperMediaEndpoint);
|
|
6001
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6110
|
+
return _context3.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6002
6111
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6003
6112
|
}), {
|
|
6004
6113
|
method: 'delete'
|
|
@@ -6039,7 +6148,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6039
6148
|
patientId: patientId,
|
|
6040
6149
|
healthFundAccountId: healthFundAccountId
|
|
6041
6150
|
}, opts.hyperMediaEndpoint);
|
|
6042
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6151
|
+
return _context4.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6043
6152
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6044
6153
|
}), {
|
|
6045
6154
|
method: 'delete'
|
|
@@ -6077,7 +6186,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6077
6186
|
doesParamExist.default({
|
|
6078
6187
|
memberId: memberId
|
|
6079
6188
|
}, opts.hyperMediaEndpoint);
|
|
6080
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6189
|
+
return _context5.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6081
6190
|
path: pathMemberHealthFundAccounts(memberId)
|
|
6082
6191
|
}), {
|
|
6083
6192
|
method: 'get',
|
|
@@ -6118,7 +6227,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6118
6227
|
businessId: businessId,
|
|
6119
6228
|
patientId: patientId
|
|
6120
6229
|
}, opts.hyperMediaEndpoint);
|
|
6121
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6230
|
+
return _context6.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6122
6231
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6123
6232
|
}), {
|
|
6124
6233
|
method: 'get',
|
|
@@ -6158,7 +6267,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6158
6267
|
memberId: memberId,
|
|
6159
6268
|
healthFundAccountId: healthFundAccountId
|
|
6160
6269
|
}, opts.hyperMediaEndpoint);
|
|
6161
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6270
|
+
return _context7.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6162
6271
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
6163
6272
|
}), {
|
|
6164
6273
|
method: 'get'
|
|
@@ -6199,7 +6308,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6199
6308
|
patientId: patientId,
|
|
6200
6309
|
healthFundAccountId: healthFundAccountId
|
|
6201
6310
|
}, opts.hyperMediaEndpoint);
|
|
6202
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6311
|
+
return _context8.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6203
6312
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6204
6313
|
}), {
|
|
6205
6314
|
method: 'get'
|
|
@@ -6239,7 +6348,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6239
6348
|
memberId: memberId,
|
|
6240
6349
|
healthFundAccountId: healthFundAccountId
|
|
6241
6350
|
}, opts.hyperMediaEndpoint);
|
|
6242
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6351
|
+
return _context9.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6243
6352
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6244
6353
|
}), {
|
|
6245
6354
|
method: 'put',
|
|
@@ -6282,7 +6391,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6282
6391
|
patientId: patientId,
|
|
6283
6392
|
healthFundAccountId: healthFundAccountId
|
|
6284
6393
|
}, opts.hyperMediaEndpoint);
|
|
6285
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6394
|
+
return _context10.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6286
6395
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6287
6396
|
}), {
|
|
6288
6397
|
method: 'put',
|
|
@@ -6316,9 +6425,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
6316
6425
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
6317
6426
|
});
|
|
6318
6427
|
|
|
6319
|
-
function ownKeys$
|
|
6428
|
+
function ownKeys$q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6320
6429
|
|
|
6321
|
-
function _objectSpread$
|
|
6430
|
+
function _objectSpread$q(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$q(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6322
6431
|
|
|
6323
6432
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
6324
6433
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/healthfundsettings";
|
|
@@ -6355,11 +6464,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6355
6464
|
doesParamExist.default({
|
|
6356
6465
|
healthFundId: healthFundId
|
|
6357
6466
|
}, opts.hyperMediaEndpoint);
|
|
6358
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6467
|
+
return _context.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6359
6468
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
6360
6469
|
}), {
|
|
6361
6470
|
method: 'post',
|
|
6362
|
-
data: _objectSpread$
|
|
6471
|
+
data: _objectSpread$q({
|
|
6363
6472
|
enabled: true
|
|
6364
6473
|
}, body)
|
|
6365
6474
|
}));
|
|
@@ -6396,7 +6505,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6396
6505
|
doesParamExist.default({
|
|
6397
6506
|
healthFundId: healthFundId
|
|
6398
6507
|
}, opts.hyperMediaEndpoint);
|
|
6399
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6508
|
+
return _context2.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6400
6509
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6401
6510
|
}), {
|
|
6402
6511
|
method: 'delete'
|
|
@@ -6441,7 +6550,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
6441
6550
|
doesParamExist.default({
|
|
6442
6551
|
healthFundId: healthFundId
|
|
6443
6552
|
}, opts.hyperMediaEndpoint);
|
|
6444
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6553
|
+
return _context3.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6445
6554
|
path: pathHealthFundSettings(healthFundId)
|
|
6446
6555
|
}), {
|
|
6447
6556
|
method: 'get',
|
|
@@ -6491,7 +6600,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
6491
6600
|
practiceId: practiceId,
|
|
6492
6601
|
staffId: staffId
|
|
6493
6602
|
}, opts.hyperMediaEndpoint);
|
|
6494
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6603
|
+
return _context4.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6495
6604
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
6496
6605
|
}), {
|
|
6497
6606
|
method: 'get',
|
|
@@ -6532,7 +6641,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6532
6641
|
healthFundId: healthFundId,
|
|
6533
6642
|
healthFundSettingId: healthFundSettingId
|
|
6534
6643
|
}, opts.hyperMediaEndpoint);
|
|
6535
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6644
|
+
return _context5.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6536
6645
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6537
6646
|
}), {
|
|
6538
6647
|
method: 'put',
|
|
@@ -6561,9 +6670,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
6561
6670
|
updateHealthFundSetting: updateHealthFundSetting
|
|
6562
6671
|
});
|
|
6563
6672
|
|
|
6564
|
-
function ownKeys$
|
|
6673
|
+
function ownKeys$r(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6565
6674
|
|
|
6566
|
-
function _objectSpread$
|
|
6675
|
+
function _objectSpread$r(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$r(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$r(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6567
6676
|
var PATH__HEALTH_FUNDS = '/healthfunds';
|
|
6568
6677
|
|
|
6569
6678
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -6606,7 +6715,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
6606
6715
|
doesParamExist.default({
|
|
6607
6716
|
accountId: accountId
|
|
6608
6717
|
}, opts.hyperMediaEndpoint);
|
|
6609
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6718
|
+
return _context.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6610
6719
|
path: pathHealthFundsByAccountId(accountId)
|
|
6611
6720
|
}), {
|
|
6612
6721
|
method: 'get'
|
|
@@ -6648,7 +6757,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
6648
6757
|
doesParamExist.default({
|
|
6649
6758
|
businessId: businessId
|
|
6650
6759
|
}, opts.hyperMediaEndpoint);
|
|
6651
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6760
|
+
return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6652
6761
|
path: pathBusinessHealthFunds(businessId)
|
|
6653
6762
|
}), {
|
|
6654
6763
|
method: 'get',
|
|
@@ -6683,7 +6792,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
6683
6792
|
opts = {};
|
|
6684
6793
|
}
|
|
6685
6794
|
|
|
6686
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6795
|
+
return _context3.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6687
6796
|
path: PATH__HEALTH_FUNDS
|
|
6688
6797
|
}), {
|
|
6689
6798
|
method: 'get',
|
|
@@ -6727,7 +6836,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
6727
6836
|
doesParamExist.default({
|
|
6728
6837
|
organisationId: organisationId
|
|
6729
6838
|
}, opts.hyperMediaEndpoint);
|
|
6730
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6839
|
+
return _context4.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6731
6840
|
path: pathOrganisationHealthFunds(organisationId)
|
|
6732
6841
|
}), {
|
|
6733
6842
|
method: 'get',
|
|
@@ -6763,7 +6872,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
6763
6872
|
opts = {};
|
|
6764
6873
|
}
|
|
6765
6874
|
|
|
6766
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6875
|
+
return _context5.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6767
6876
|
path: PATH__HEALTH_FUNDS
|
|
6768
6877
|
}), {
|
|
6769
6878
|
method: 'post',
|
|
@@ -6801,7 +6910,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
6801
6910
|
doesParamExist.default({
|
|
6802
6911
|
healthFundId: healthFundId
|
|
6803
6912
|
}, opts.hyperMediaEndpoint);
|
|
6804
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6913
|
+
return _context6.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6805
6914
|
path: pathHealthFund(healthFundId)
|
|
6806
6915
|
}), {
|
|
6807
6916
|
method: 'get'
|
|
@@ -6839,7 +6948,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
6839
6948
|
doesParamExist.default({
|
|
6840
6949
|
healthFundId: healthFundId
|
|
6841
6950
|
}, opts.hyperMediaEndpoint);
|
|
6842
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6951
|
+
return _context7.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6843
6952
|
path: pathHealthFund(healthFundId)
|
|
6844
6953
|
}), {
|
|
6845
6954
|
method: 'put',
|
|
@@ -6877,7 +6986,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
6877
6986
|
doesParamExist.default({
|
|
6878
6987
|
healthFundId: healthFundId
|
|
6879
6988
|
}, opts.hyperMediaEndpoint);
|
|
6880
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6989
|
+
return _context8.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6881
6990
|
path: pathHealthFund(healthFundId)
|
|
6882
6991
|
}), {
|
|
6883
6992
|
method: 'delete'
|
|
@@ -6970,7 +7079,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
6970
7079
|
healthFundId: healthFundId,
|
|
6971
7080
|
body: body
|
|
6972
7081
|
}, opts.hyperMediaEndpoint);
|
|
6973
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7082
|
+
return _context10.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6974
7083
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
6975
7084
|
}), {
|
|
6976
7085
|
method: 'post',
|
|
@@ -7005,9 +7114,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
7005
7114
|
verifyMember: verifyMember
|
|
7006
7115
|
});
|
|
7007
7116
|
|
|
7008
|
-
function ownKeys$
|
|
7117
|
+
function ownKeys$s(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7009
7118
|
|
|
7010
|
-
function _objectSpread$
|
|
7119
|
+
function _objectSpread$s(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$s(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$s(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7011
7120
|
var pathICDItems = '/icditems';
|
|
7012
7121
|
|
|
7013
7122
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -7036,7 +7145,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
7036
7145
|
};
|
|
7037
7146
|
}
|
|
7038
7147
|
|
|
7039
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7148
|
+
return _context.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7040
7149
|
path: pathICDItems
|
|
7041
7150
|
}), {
|
|
7042
7151
|
method: 'get',
|
|
@@ -7081,7 +7190,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
7081
7190
|
doesParamExist.default({
|
|
7082
7191
|
modalityId: modalityId
|
|
7083
7192
|
}, opts.hyperMediaEndpoint);
|
|
7084
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7193
|
+
return _context2.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7085
7194
|
path: pathModalityICDItems(modalityId)
|
|
7086
7195
|
}), {
|
|
7087
7196
|
method: 'get',
|
|
@@ -7107,9 +7216,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
7107
7216
|
getModalityICDItems: getModalityICDItems
|
|
7108
7217
|
});
|
|
7109
7218
|
|
|
7110
|
-
function ownKeys$
|
|
7219
|
+
function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7111
7220
|
|
|
7112
|
-
function _objectSpread$
|
|
7221
|
+
function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$t(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7113
7222
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
7114
7223
|
return "/businesses/" + businessId + "/invoicescans";
|
|
7115
7224
|
};
|
|
@@ -7139,7 +7248,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
7139
7248
|
doesParamExist.default({
|
|
7140
7249
|
businessId: businessId
|
|
7141
7250
|
}, opts.hyperMediaEndpoint);
|
|
7142
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7251
|
+
return _context.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
7143
7252
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
7144
7253
|
}), {
|
|
7145
7254
|
method: 'post',
|
|
@@ -7180,7 +7289,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
7180
7289
|
businessId: businessId,
|
|
7181
7290
|
invoiceScanId: invoiceScanId
|
|
7182
7291
|
}, opts.hyperMediaEndpoint);
|
|
7183
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7292
|
+
return _context2.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
7184
7293
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
7185
7294
|
}), {
|
|
7186
7295
|
method: 'get'
|
|
@@ -7213,7 +7322,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
7213
7322
|
doesParamExist.default({
|
|
7214
7323
|
businessId: businessId
|
|
7215
7324
|
}, opts.hyperMediaEndpoint);
|
|
7216
|
-
return request(_objectSpread$
|
|
7325
|
+
return request(_objectSpread$t({}, opts, {
|
|
7217
7326
|
path: pathUploadUrlByBusinessId(businessId)
|
|
7218
7327
|
}), {
|
|
7219
7328
|
method: 'get',
|
|
@@ -7231,9 +7340,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
7231
7340
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
7232
7341
|
});
|
|
7233
7342
|
|
|
7234
|
-
function ownKeys$
|
|
7343
|
+
function ownKeys$u(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7235
7344
|
|
|
7236
|
-
function _objectSpread$
|
|
7345
|
+
function _objectSpread$u(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$u(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$u(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7237
7346
|
var PATH__JHCS = "/jointhealthcentres";
|
|
7238
7347
|
var pathJHC = function pathJHC(jhcId) {
|
|
7239
7348
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -7246,7 +7355,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
7246
7355
|
doesParamExist.default({
|
|
7247
7356
|
jhcId: jhcId
|
|
7248
7357
|
}, opts.hyperMediaEndpoint);
|
|
7249
|
-
return request(_objectSpread$
|
|
7358
|
+
return request(_objectSpread$u({}, opts, {
|
|
7250
7359
|
path: pathJHC(jhcId)
|
|
7251
7360
|
}), {
|
|
7252
7361
|
method: 'get'
|
|
@@ -7257,7 +7366,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
7257
7366
|
opts = {};
|
|
7258
7367
|
}
|
|
7259
7368
|
|
|
7260
|
-
return request(_objectSpread$
|
|
7369
|
+
return request(_objectSpread$u({}, opts, {
|
|
7261
7370
|
path: PATH__JHCS
|
|
7262
7371
|
}), {
|
|
7263
7372
|
method: 'get',
|
|
@@ -7273,9 +7382,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
7273
7382
|
getJHCs: getJHCs
|
|
7274
7383
|
});
|
|
7275
7384
|
|
|
7276
|
-
function ownKeys$
|
|
7385
|
+
function ownKeys$v(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7277
7386
|
|
|
7278
|
-
function _objectSpread$
|
|
7387
|
+
function _objectSpread$v(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$v(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$v(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7279
7388
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
7280
7389
|
return "/businesses/" + businessId + "/kyc";
|
|
7281
7390
|
};
|
|
@@ -7329,7 +7438,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
7329
7438
|
doesParamExist.default({
|
|
7330
7439
|
businessId: businessId
|
|
7331
7440
|
}, opts.hyperMediaEndpoint);
|
|
7332
|
-
return request(_objectSpread$
|
|
7441
|
+
return request(_objectSpread$v({}, opts, {
|
|
7333
7442
|
path: pathBusinessKyc(businessId)
|
|
7334
7443
|
}), {
|
|
7335
7444
|
method: 'get'
|
|
@@ -7351,7 +7460,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
7351
7460
|
businessId: businessId,
|
|
7352
7461
|
practiceId: practiceId
|
|
7353
7462
|
}, opts.hyperMediaEndpoint);
|
|
7354
|
-
return request(_objectSpread$
|
|
7463
|
+
return request(_objectSpread$v({}, opts, {
|
|
7355
7464
|
path: pathPracticeKyc(businessId, practiceId)
|
|
7356
7465
|
}), {
|
|
7357
7466
|
method: 'get'
|
|
@@ -7372,7 +7481,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
7372
7481
|
doesParamExist.default({
|
|
7373
7482
|
businessId: businessId
|
|
7374
7483
|
}, opts.hyperMediaEndpoint);
|
|
7375
|
-
return request(_objectSpread$
|
|
7484
|
+
return request(_objectSpread$v({}, opts, {
|
|
7376
7485
|
path: pathBusinessKyc(businessId)
|
|
7377
7486
|
}), {
|
|
7378
7487
|
method: 'put',
|
|
@@ -7394,7 +7503,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
7394
7503
|
doesParamExist.default({
|
|
7395
7504
|
businessId: businessId
|
|
7396
7505
|
}, opts.hyperMediaEndpoint);
|
|
7397
|
-
return request(_objectSpread$
|
|
7506
|
+
return request(_objectSpread$v({}, opts, {
|
|
7398
7507
|
path: pathBusinessCbo(businessId)
|
|
7399
7508
|
}), {
|
|
7400
7509
|
method: 'get',
|
|
@@ -7415,7 +7524,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
7415
7524
|
doesParamExist.default({
|
|
7416
7525
|
businessId: businessId
|
|
7417
7526
|
}, opts.hyperMediaEndpoint);
|
|
7418
|
-
return request(_objectSpread$
|
|
7527
|
+
return request(_objectSpread$v({}, opts, {
|
|
7419
7528
|
path: pathBusinessKycVerify(businessId)
|
|
7420
7529
|
}), {
|
|
7421
7530
|
method: 'post'
|
|
@@ -7437,7 +7546,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
7437
7546
|
businessId: businessId,
|
|
7438
7547
|
practiceId: practiceId
|
|
7439
7548
|
}, opts.hyperMediaEndpoint);
|
|
7440
|
-
return request(_objectSpread$
|
|
7549
|
+
return request(_objectSpread$v({}, opts, {
|
|
7441
7550
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
7442
7551
|
}), {
|
|
7443
7552
|
method: 'post',
|
|
@@ -7458,7 +7567,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
7458
7567
|
doesParamExist.default({
|
|
7459
7568
|
businessId: businessId
|
|
7460
7569
|
}, opts.hyperMediaEndpoint);
|
|
7461
|
-
return request(_objectSpread$
|
|
7570
|
+
return request(_objectSpread$v({}, opts, {
|
|
7462
7571
|
path: pathBusinessKycUnverify(businessId)
|
|
7463
7572
|
}), {
|
|
7464
7573
|
method: 'post'
|
|
@@ -7480,7 +7589,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
7480
7589
|
businessId: businessId,
|
|
7481
7590
|
practiceId: practiceId
|
|
7482
7591
|
}, opts.hyperMediaEndpoint);
|
|
7483
|
-
return request(_objectSpread$
|
|
7592
|
+
return request(_objectSpread$v({}, opts, {
|
|
7484
7593
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
7485
7594
|
}), {
|
|
7486
7595
|
method: 'post'
|
|
@@ -7501,7 +7610,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
7501
7610
|
doesParamExist.default({
|
|
7502
7611
|
businessId: businessId
|
|
7503
7612
|
}, opts.hyperMediaEndpoint);
|
|
7504
|
-
return request(_objectSpread$
|
|
7613
|
+
return request(_objectSpread$v({}, opts, {
|
|
7505
7614
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
7506
7615
|
}), {
|
|
7507
7616
|
method: 'post',
|
|
@@ -7523,7 +7632,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
7523
7632
|
doesParamExist.default({
|
|
7524
7633
|
businessId: businessId
|
|
7525
7634
|
}, opts.hyperMediaEndpoint);
|
|
7526
|
-
return request(_objectSpread$
|
|
7635
|
+
return request(_objectSpread$v({}, opts, {
|
|
7527
7636
|
path: pathRequestVerificationSupport(businessId)
|
|
7528
7637
|
}), {
|
|
7529
7638
|
method: 'post',
|
|
@@ -7545,7 +7654,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
7545
7654
|
doesParamExist.default({
|
|
7546
7655
|
businessId: businessId
|
|
7547
7656
|
}, opts.hyperMediaEndpoint);
|
|
7548
|
-
return request(_objectSpread$
|
|
7657
|
+
return request(_objectSpread$v({}, opts, {
|
|
7549
7658
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
7550
7659
|
}), {
|
|
7551
7660
|
method: 'post',
|
|
@@ -7568,7 +7677,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
7568
7677
|
doesParamExist.default({
|
|
7569
7678
|
businessId: businessId
|
|
7570
7679
|
}, opts.hyperMediaEndpoint);
|
|
7571
|
-
return request(_objectSpread$
|
|
7680
|
+
return request(_objectSpread$v({}, opts, {
|
|
7572
7681
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
7573
7682
|
}), {
|
|
7574
7683
|
method: 'delete'
|
|
@@ -7588,7 +7697,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
7588
7697
|
doesParamExist.default({
|
|
7589
7698
|
businessId: businessId
|
|
7590
7699
|
}, opts.hyperMediaEndpoint);
|
|
7591
|
-
return request(_objectSpread$
|
|
7700
|
+
return request(_objectSpread$v({}, opts, {
|
|
7592
7701
|
path: pathResumeComplexVerification(businessId)
|
|
7593
7702
|
}), {
|
|
7594
7703
|
method: 'post'
|
|
@@ -7609,7 +7718,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
7609
7718
|
doesParamExist.default({
|
|
7610
7719
|
businessId: businessId
|
|
7611
7720
|
}, opts.hyperMediaEndpoint);
|
|
7612
|
-
return request(_objectSpread$
|
|
7721
|
+
return request(_objectSpread$v({}, opts, {
|
|
7613
7722
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
7614
7723
|
}), {
|
|
7615
7724
|
method: 'get',
|
|
@@ -7648,9 +7757,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
7648
7757
|
getTrustDocumentUploadUrl: getTrustDocumentUploadUrl
|
|
7649
7758
|
});
|
|
7650
7759
|
|
|
7651
|
-
function ownKeys$
|
|
7760
|
+
function ownKeys$w(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7652
7761
|
|
|
7653
|
-
function _objectSpread$
|
|
7762
|
+
function _objectSpread$w(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$w(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$w(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7654
7763
|
var pathLog = function pathLog() {
|
|
7655
7764
|
return "/logs";
|
|
7656
7765
|
};
|
|
@@ -7668,7 +7777,7 @@ var createLog = function createLog(body, opts) {
|
|
|
7668
7777
|
opts = {};
|
|
7669
7778
|
}
|
|
7670
7779
|
|
|
7671
|
-
return request(_objectSpread$
|
|
7780
|
+
return request(_objectSpread$w({}, opts, {
|
|
7672
7781
|
path: pathLog()
|
|
7673
7782
|
}), {
|
|
7674
7783
|
method: 'post',
|
|
@@ -7690,7 +7799,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
7690
7799
|
doesParamExist.default({
|
|
7691
7800
|
businessId: businessId
|
|
7692
7801
|
});
|
|
7693
|
-
return request(_objectSpread$
|
|
7802
|
+
return request(_objectSpread$w({}, opts, {
|
|
7694
7803
|
path: pathBusinessLog(businessId)
|
|
7695
7804
|
}), {
|
|
7696
7805
|
method: 'post',
|
|
@@ -7706,9 +7815,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
7706
7815
|
createBusinessLog: createBusinessLog
|
|
7707
7816
|
});
|
|
7708
7817
|
|
|
7709
|
-
function ownKeys$
|
|
7818
|
+
function ownKeys$x(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7710
7819
|
|
|
7711
|
-
function _objectSpread$
|
|
7820
|
+
function _objectSpread$x(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$x(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$x(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7712
7821
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
7713
7822
|
return "/businesses/" + businessId + "/messagemappings";
|
|
7714
7823
|
};
|
|
@@ -7727,7 +7836,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
7727
7836
|
doesParamExist.default({
|
|
7728
7837
|
businessId: businessId
|
|
7729
7838
|
}, opts.hyperMediaEndpoint);
|
|
7730
|
-
return request(_objectSpread$
|
|
7839
|
+
return request(_objectSpread$x({}, opts, {
|
|
7731
7840
|
path: pathBusinessMessageMappings(businessId)
|
|
7732
7841
|
}), {
|
|
7733
7842
|
method: 'get',
|
|
@@ -7741,9 +7850,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
7741
7850
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
7742
7851
|
});
|
|
7743
7852
|
|
|
7744
|
-
function ownKeys$
|
|
7853
|
+
function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7745
7854
|
|
|
7746
|
-
function _objectSpread$
|
|
7855
|
+
function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$y(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7747
7856
|
|
|
7748
7857
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
7749
7858
|
return "/healthfunds/" + healthFundId + "/minions";
|
|
@@ -7780,12 +7889,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7780
7889
|
triggerId: triggerId,
|
|
7781
7890
|
actionId: actionId
|
|
7782
7891
|
}, opts.hyperMediaEndpoint);
|
|
7783
|
-
data = _objectSpread$
|
|
7892
|
+
data = _objectSpread$y({
|
|
7784
7893
|
name: name,
|
|
7785
7894
|
triggerId: triggerId,
|
|
7786
7895
|
actionId: actionId
|
|
7787
7896
|
}, body);
|
|
7788
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7897
|
+
return _context.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7789
7898
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7790
7899
|
}), {
|
|
7791
7900
|
method: 'post',
|
|
@@ -7825,7 +7934,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
7825
7934
|
opts = {};
|
|
7826
7935
|
}
|
|
7827
7936
|
|
|
7828
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7937
|
+
return _context2.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7829
7938
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7830
7939
|
}), {
|
|
7831
7940
|
method: 'get',
|
|
@@ -7865,7 +7974,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7865
7974
|
healthFundId: healthFundId,
|
|
7866
7975
|
minionId: minionId
|
|
7867
7976
|
}, opts.hyperMediaEndpoint);
|
|
7868
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7977
|
+
return _context3.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7869
7978
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
7870
7979
|
}), {
|
|
7871
7980
|
method: 'get'
|
|
@@ -7905,7 +8014,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7905
8014
|
healthFundId: healthFundId,
|
|
7906
8015
|
minionId: minionId
|
|
7907
8016
|
}, opts.hyperMediaEndpoint);
|
|
7908
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
8017
|
+
return _context4.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7909
8018
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
7910
8019
|
}), {
|
|
7911
8020
|
method: 'put',
|
|
@@ -7945,7 +8054,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7945
8054
|
healthFundId: healthFundId,
|
|
7946
8055
|
minionId: minionId
|
|
7947
8056
|
}, opts.hyperMediaEndpoint);
|
|
7948
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
8057
|
+
return _context5.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7949
8058
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
7950
8059
|
}), {
|
|
7951
8060
|
method: 'delete'
|
|
@@ -7973,9 +8082,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
7973
8082
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
7974
8083
|
});
|
|
7975
8084
|
|
|
7976
|
-
function ownKeys$
|
|
8085
|
+
function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7977
8086
|
|
|
7978
|
-
function _objectSpread$
|
|
8087
|
+
function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$z(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7979
8088
|
var PATH__MODALITIES = '/modalities';
|
|
7980
8089
|
|
|
7981
8090
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -8007,7 +8116,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
8007
8116
|
doesParamExist.default({
|
|
8008
8117
|
businessId: businessId
|
|
8009
8118
|
}, opts.hyperMediaEndpoint);
|
|
8010
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8119
|
+
return _context.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8011
8120
|
path: pathBusinessModalities(businessId)
|
|
8012
8121
|
}), {
|
|
8013
8122
|
method: 'get'
|
|
@@ -8047,7 +8156,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
8047
8156
|
};
|
|
8048
8157
|
}
|
|
8049
8158
|
|
|
8050
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8159
|
+
return _context2.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8051
8160
|
path: PATH__MODALITIES
|
|
8052
8161
|
}), {
|
|
8053
8162
|
method: 'get',
|
|
@@ -8084,7 +8193,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
8084
8193
|
};
|
|
8085
8194
|
}
|
|
8086
8195
|
|
|
8087
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8196
|
+
return _context3.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8088
8197
|
path: pathModality(modalityId)
|
|
8089
8198
|
}), {
|
|
8090
8199
|
method: 'get'
|
|
@@ -8110,9 +8219,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
8110
8219
|
getModality: getModality
|
|
8111
8220
|
});
|
|
8112
8221
|
|
|
8113
|
-
function ownKeys$
|
|
8222
|
+
function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8114
8223
|
|
|
8115
|
-
function _objectSpread$
|
|
8224
|
+
function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$A(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8116
8225
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
8117
8226
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
8118
8227
|
};
|
|
@@ -8140,7 +8249,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
8140
8249
|
healthFundId: healthFundId,
|
|
8141
8250
|
documentId: documentId
|
|
8142
8251
|
}, opts.hyperMediaEndpoint);
|
|
8143
|
-
return request(_objectSpread$
|
|
8252
|
+
return request(_objectSpread$A({}, opts, {
|
|
8144
8253
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8145
8254
|
}), {
|
|
8146
8255
|
method: 'post',
|
|
@@ -8156,7 +8265,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
8156
8265
|
healthFundId: healthFundId,
|
|
8157
8266
|
documentId: documentId
|
|
8158
8267
|
}, opts.hyperMediaEndpoint);
|
|
8159
|
-
return request(_objectSpread$
|
|
8268
|
+
return request(_objectSpread$A({}, opts, {
|
|
8160
8269
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8161
8270
|
}), {
|
|
8162
8271
|
method: 'get'
|
|
@@ -8171,7 +8280,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
8171
8280
|
healthFundId: healthFundId,
|
|
8172
8281
|
transactionId: transactionId
|
|
8173
8282
|
}, opts.hyperMediaEndpoint);
|
|
8174
|
-
return request(_objectSpread$
|
|
8283
|
+
return request(_objectSpread$A({}, opts, {
|
|
8175
8284
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
8176
8285
|
}), {
|
|
8177
8286
|
method: 'get'
|
|
@@ -8186,7 +8295,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
8186
8295
|
healthFundId: healthFundId,
|
|
8187
8296
|
noteId: noteId
|
|
8188
8297
|
}, opts.hyperMediaEndpoint);
|
|
8189
|
-
return request(_objectSpread$
|
|
8298
|
+
return request(_objectSpread$A({}, opts, {
|
|
8190
8299
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8191
8300
|
}), {
|
|
8192
8301
|
method: 'get'
|
|
@@ -8200,7 +8309,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
8200
8309
|
doesParamExist.default({
|
|
8201
8310
|
transactionId: transactionId
|
|
8202
8311
|
}, opts.hyperMediaEndpoint);
|
|
8203
|
-
return request(_objectSpread$
|
|
8312
|
+
return request(_objectSpread$A({}, opts, {
|
|
8204
8313
|
path: pathTransactionNotes(transactionId)
|
|
8205
8314
|
}), {
|
|
8206
8315
|
method: 'get',
|
|
@@ -8216,7 +8325,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
8216
8325
|
businessId: businessId,
|
|
8217
8326
|
transactionId: transactionId
|
|
8218
8327
|
}, opts.hyperMediaEndpoint);
|
|
8219
|
-
return request(_objectSpread$
|
|
8328
|
+
return request(_objectSpread$A({}, opts, {
|
|
8220
8329
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
8221
8330
|
}), {
|
|
8222
8331
|
method: 'get'
|
|
@@ -8230,7 +8339,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
8230
8339
|
doesParamExist.default({
|
|
8231
8340
|
transactionId: transactionId
|
|
8232
8341
|
}, opts.hyperMediaEndpoint);
|
|
8233
|
-
return request(_objectSpread$
|
|
8342
|
+
return request(_objectSpread$A({}, opts, {
|
|
8234
8343
|
path: pathTransactionNotes(transactionId)
|
|
8235
8344
|
}), {
|
|
8236
8345
|
method: 'post',
|
|
@@ -8246,7 +8355,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
8246
8355
|
transactionId: transactionId,
|
|
8247
8356
|
transactionNoteId: transactionNoteId
|
|
8248
8357
|
}, opts.hyperMediaEndpoint);
|
|
8249
|
-
return request(_objectSpread$
|
|
8358
|
+
return request(_objectSpread$A({}, opts, {
|
|
8250
8359
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
8251
8360
|
}), {
|
|
8252
8361
|
method: 'delete'
|
|
@@ -8261,7 +8370,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
8261
8370
|
healthFundId: healthFundId,
|
|
8262
8371
|
noteId: noteId
|
|
8263
8372
|
}, opts.hyperMediaEndpoint);
|
|
8264
|
-
return request(_objectSpread$
|
|
8373
|
+
return request(_objectSpread$A({}, opts, {
|
|
8265
8374
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8266
8375
|
}), {
|
|
8267
8376
|
method: 'put',
|
|
@@ -8277,7 +8386,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
8277
8386
|
healthFundId: healthFundId,
|
|
8278
8387
|
noteId: noteId
|
|
8279
8388
|
}, opts.hyperMediaEndpoint);
|
|
8280
|
-
return request(_objectSpread$
|
|
8389
|
+
return request(_objectSpread$A({}, opts, {
|
|
8281
8390
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8282
8391
|
}), {
|
|
8283
8392
|
method: 'delete'
|
|
@@ -8304,9 +8413,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
8304
8413
|
deleteHealthFundNote: deleteHealthFundNote
|
|
8305
8414
|
});
|
|
8306
8415
|
|
|
8307
|
-
function ownKeys$
|
|
8416
|
+
function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8308
8417
|
|
|
8309
|
-
function _objectSpread$
|
|
8418
|
+
function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$B(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8310
8419
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
8311
8420
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
8312
8421
|
};
|
|
@@ -8337,7 +8446,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
8337
8446
|
doesParamExist.default({
|
|
8338
8447
|
practiceId: practiceId
|
|
8339
8448
|
});
|
|
8340
|
-
return request(_objectSpread$
|
|
8449
|
+
return request(_objectSpread$B({}, opts, {
|
|
8341
8450
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
8342
8451
|
}), {
|
|
8343
8452
|
method: 'post',
|
|
@@ -8370,7 +8479,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
8370
8479
|
businessId: businessId,
|
|
8371
8480
|
practiceId: practiceId
|
|
8372
8481
|
}, opts.hyperMediaEndpoint);
|
|
8373
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8482
|
+
return _context.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
8374
8483
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
8375
8484
|
}), {
|
|
8376
8485
|
method: 'get',
|
|
@@ -8404,7 +8513,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
8404
8513
|
doesParamExist.default({
|
|
8405
8514
|
businessId: businessId
|
|
8406
8515
|
});
|
|
8407
|
-
return request(_objectSpread$
|
|
8516
|
+
return request(_objectSpread$B({}, opts, {
|
|
8408
8517
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8409
8518
|
}), {
|
|
8410
8519
|
method: 'get',
|
|
@@ -8424,7 +8533,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
8424
8533
|
doesParamExist.default({
|
|
8425
8534
|
businessId: businessId
|
|
8426
8535
|
});
|
|
8427
|
-
return request(_objectSpread$
|
|
8536
|
+
return request(_objectSpread$B({}, opts, {
|
|
8428
8537
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8429
8538
|
}), {
|
|
8430
8539
|
method: 'post',
|
|
@@ -8444,7 +8553,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
8444
8553
|
doesParamExist.default({
|
|
8445
8554
|
businessId: businessId
|
|
8446
8555
|
});
|
|
8447
|
-
return request(_objectSpread$
|
|
8556
|
+
return request(_objectSpread$B({}, opts, {
|
|
8448
8557
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8449
8558
|
}), {
|
|
8450
8559
|
method: 'put',
|
|
@@ -8468,7 +8577,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
8468
8577
|
staffId: staffId,
|
|
8469
8578
|
providerSetItemId: providerSetItemId
|
|
8470
8579
|
});
|
|
8471
|
-
return request(_objectSpread$
|
|
8580
|
+
return request(_objectSpread$B({}, opts, {
|
|
8472
8581
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
8473
8582
|
}), {
|
|
8474
8583
|
method: 'post',
|
|
@@ -8490,7 +8599,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
8490
8599
|
doesParamExist.default({
|
|
8491
8600
|
businessId: businessId
|
|
8492
8601
|
});
|
|
8493
|
-
return request(_objectSpread$
|
|
8602
|
+
return request(_objectSpread$B({}, opts, {
|
|
8494
8603
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
8495
8604
|
}), {
|
|
8496
8605
|
method: 'get',
|
|
@@ -8514,9 +8623,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
8514
8623
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
8515
8624
|
});
|
|
8516
8625
|
|
|
8517
|
-
function ownKeys$
|
|
8626
|
+
function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8518
8627
|
|
|
8519
|
-
function _objectSpread$
|
|
8628
|
+
function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$C(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8520
8629
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
8521
8630
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
8522
8631
|
};
|
|
@@ -8548,7 +8657,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
8548
8657
|
doesParamExist.default({
|
|
8549
8658
|
onboardingRequestId: onboardingRequestId
|
|
8550
8659
|
}, opts.hyperMediaEndpoint);
|
|
8551
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8660
|
+
return _context.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
8552
8661
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8553
8662
|
}), {
|
|
8554
8663
|
method: 'get'
|
|
@@ -8590,7 +8699,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
8590
8699
|
doesParamExist.default({
|
|
8591
8700
|
businessId: businessId
|
|
8592
8701
|
}, opts.hyperMediaEndpoint);
|
|
8593
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8702
|
+
return _context2.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
8594
8703
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8595
8704
|
}), {
|
|
8596
8705
|
method: 'get',
|
|
@@ -8622,7 +8731,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
8622
8731
|
doesParamExist.default({
|
|
8623
8732
|
businessId: businessId
|
|
8624
8733
|
});
|
|
8625
|
-
return request(_objectSpread$
|
|
8734
|
+
return request(_objectSpread$C({}, opts, {
|
|
8626
8735
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8627
8736
|
}), {
|
|
8628
8737
|
method: 'post',
|
|
@@ -8642,7 +8751,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
8642
8751
|
doesParamExist.default({
|
|
8643
8752
|
onboardingRequestId: onboardingRequestId
|
|
8644
8753
|
});
|
|
8645
|
-
return request(_objectSpread$
|
|
8754
|
+
return request(_objectSpread$C({}, opts, {
|
|
8646
8755
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
8647
8756
|
}), {
|
|
8648
8757
|
method: 'post',
|
|
@@ -8663,7 +8772,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
8663
8772
|
doesParamExist.default({
|
|
8664
8773
|
onboardingRequestId: onboardingRequestId
|
|
8665
8774
|
});
|
|
8666
|
-
return request(_objectSpread$
|
|
8775
|
+
return request(_objectSpread$C({}, opts, {
|
|
8667
8776
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
8668
8777
|
}), {
|
|
8669
8778
|
method: 'put',
|
|
@@ -8683,7 +8792,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
8683
8792
|
doesParamExist.default({
|
|
8684
8793
|
onboardingRequestId: onboardingRequestId
|
|
8685
8794
|
});
|
|
8686
|
-
return request(_objectSpread$
|
|
8795
|
+
return request(_objectSpread$C({}, opts, {
|
|
8687
8796
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8688
8797
|
}), {
|
|
8689
8798
|
method: 'delete',
|
|
@@ -8705,9 +8814,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
8705
8814
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
8706
8815
|
});
|
|
8707
8816
|
|
|
8708
|
-
function ownKeys$
|
|
8817
|
+
function ownKeys$D(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8709
8818
|
|
|
8710
|
-
function _objectSpread$
|
|
8819
|
+
function _objectSpread$D(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$D(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$D(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8711
8820
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
8712
8821
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
8713
8822
|
var PATH__OPS_DECRTPT = '/ops/decrypt';
|
|
@@ -8740,13 +8849,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
8740
8849
|
type: type
|
|
8741
8850
|
}, opts.hyperMediaEndpoint);
|
|
8742
8851
|
|
|
8743
|
-
var data = _objectSpread$
|
|
8852
|
+
var data = _objectSpread$D({
|
|
8744
8853
|
fullName: fullName,
|
|
8745
8854
|
displayName: displayName,
|
|
8746
8855
|
type: type
|
|
8747
8856
|
}, body);
|
|
8748
8857
|
|
|
8749
|
-
return request(_objectSpread$
|
|
8858
|
+
return request(_objectSpread$D({}, opts, {
|
|
8750
8859
|
path: PATH__OPS_SERVICES
|
|
8751
8860
|
}), {
|
|
8752
8861
|
method: 'post',
|
|
@@ -8767,7 +8876,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
8767
8876
|
doesParamExist.default({
|
|
8768
8877
|
serviceId: serviceId
|
|
8769
8878
|
}, opts.hyperMediaEndpoint);
|
|
8770
|
-
return request(_objectSpread$
|
|
8879
|
+
return request(_objectSpread$D({}, opts, {
|
|
8771
8880
|
path: pathOpsService(serviceId)
|
|
8772
8881
|
}), {
|
|
8773
8882
|
method: 'delete'
|
|
@@ -8787,7 +8896,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
8787
8896
|
doesParamExist.default({
|
|
8788
8897
|
serviceId: serviceId
|
|
8789
8898
|
}, opts.hyperMediaEndpoint);
|
|
8790
|
-
return request(_objectSpread$
|
|
8899
|
+
return request(_objectSpread$D({}, opts, {
|
|
8791
8900
|
path: PATH__OPS_DEPLOYMENTS
|
|
8792
8901
|
}), {
|
|
8793
8902
|
method: 'post',
|
|
@@ -8811,7 +8920,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
8811
8920
|
opts = {};
|
|
8812
8921
|
}
|
|
8813
8922
|
|
|
8814
|
-
return request(_objectSpread$
|
|
8923
|
+
return request(_objectSpread$D({}, opts, {
|
|
8815
8924
|
path: PATH__OPS_DEPLOYMENTS
|
|
8816
8925
|
}), {
|
|
8817
8926
|
method: 'get',
|
|
@@ -8832,7 +8941,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
8832
8941
|
doesParamExist.default({
|
|
8833
8942
|
deploymentId: deploymentId
|
|
8834
8943
|
}, opts.hyperMediaEndpoint);
|
|
8835
|
-
return request(_objectSpread$
|
|
8944
|
+
return request(_objectSpread$D({}, opts, {
|
|
8836
8945
|
path: pathOpsDeployment(deploymentId)
|
|
8837
8946
|
}), {
|
|
8838
8947
|
method: 'get'
|
|
@@ -8853,7 +8962,7 @@ var getServices = function getServices(query, opts) {
|
|
|
8853
8962
|
opts = {};
|
|
8854
8963
|
}
|
|
8855
8964
|
|
|
8856
|
-
return request(_objectSpread$
|
|
8965
|
+
return request(_objectSpread$D({}, opts, {
|
|
8857
8966
|
path: PATH__OPS_SERVICES
|
|
8858
8967
|
}), {
|
|
8859
8968
|
method: 'get',
|
|
@@ -8874,7 +8983,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
8874
8983
|
doesParamExist.default({
|
|
8875
8984
|
serviceId: serviceId
|
|
8876
8985
|
}, opts.hyperMediaEndpoint);
|
|
8877
|
-
return request(_objectSpread$
|
|
8986
|
+
return request(_objectSpread$D({}, opts, {
|
|
8878
8987
|
path: pathOpsService(serviceId)
|
|
8879
8988
|
}), {
|
|
8880
8989
|
method: 'get'
|
|
@@ -8895,7 +9004,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
8895
9004
|
doesParamExist.default({
|
|
8896
9005
|
serviceId: serviceId
|
|
8897
9006
|
}, opts.hyperMediaEndpoint);
|
|
8898
|
-
return request(_objectSpread$
|
|
9007
|
+
return request(_objectSpread$D({}, opts, {
|
|
8899
9008
|
path: pathOpsService(serviceId)
|
|
8900
9009
|
}), {
|
|
8901
9010
|
method: 'put',
|
|
@@ -8917,7 +9026,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
8917
9026
|
doesParamExist.default({
|
|
8918
9027
|
serviceId: serviceId
|
|
8919
9028
|
}, opts.hyperMediaEndpoint);
|
|
8920
|
-
return request(_objectSpread$
|
|
9029
|
+
return request(_objectSpread$D({}, opts, {
|
|
8921
9030
|
path: PATH__OPS_DECRTPT
|
|
8922
9031
|
}), {
|
|
8923
9032
|
method: 'post',
|
|
@@ -8938,9 +9047,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
8938
9047
|
decrypt: decrypt
|
|
8939
9048
|
});
|
|
8940
9049
|
|
|
8941
|
-
function ownKeys$
|
|
9050
|
+
function ownKeys$E(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8942
9051
|
|
|
8943
|
-
function _objectSpread$
|
|
9052
|
+
function _objectSpread$E(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$E(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8944
9053
|
var PATH__ORGANISATIONS = '/organisations';
|
|
8945
9054
|
/**
|
|
8946
9055
|
* Get organisations
|
|
@@ -8957,7 +9066,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
8957
9066
|
opts = {};
|
|
8958
9067
|
}
|
|
8959
9068
|
|
|
8960
|
-
return request(_objectSpread$
|
|
9069
|
+
return request(_objectSpread$E({}, opts, {
|
|
8961
9070
|
path: PATH__ORGANISATIONS
|
|
8962
9071
|
}), {
|
|
8963
9072
|
method: 'get',
|
|
@@ -8970,9 +9079,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
8970
9079
|
getOrganisations: getOrganisations
|
|
8971
9080
|
});
|
|
8972
9081
|
|
|
8973
|
-
function ownKeys$
|
|
9082
|
+
function ownKeys$F(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8974
9083
|
|
|
8975
|
-
function _objectSpread$
|
|
9084
|
+
function _objectSpread$F(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$F(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8976
9085
|
var PATH__PARTNERS = '/partners';
|
|
8977
9086
|
|
|
8978
9087
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -9011,7 +9120,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
9011
9120
|
opts = {};
|
|
9012
9121
|
}
|
|
9013
9122
|
|
|
9014
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9123
|
+
return _context.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9015
9124
|
path: PATH__PARTNERS
|
|
9016
9125
|
}), {
|
|
9017
9126
|
method: 'get',
|
|
@@ -9049,7 +9158,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
9049
9158
|
doesParamExist.default({
|
|
9050
9159
|
partnerId: partnerId
|
|
9051
9160
|
}, opts.hyperMediaEndpoint);
|
|
9052
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9161
|
+
return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9053
9162
|
path: pathPartner(partnerId)
|
|
9054
9163
|
}), {
|
|
9055
9164
|
method: 'get'
|
|
@@ -9087,7 +9196,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
9087
9196
|
doesParamExist.default({
|
|
9088
9197
|
partnerId: partnerId
|
|
9089
9198
|
}, opts.hyperMediaEndpoint);
|
|
9090
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9199
|
+
return _context3.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9091
9200
|
path: pathPartner(partnerId)
|
|
9092
9201
|
}), {
|
|
9093
9202
|
method: 'put',
|
|
@@ -9128,10 +9237,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
9128
9237
|
doesParamExist.default({
|
|
9129
9238
|
partnerId: partnerId
|
|
9130
9239
|
}, opts.hyperMediaEndpoint);
|
|
9131
|
-
data = _objectSpread$
|
|
9240
|
+
data = _objectSpread$F({
|
|
9132
9241
|
fullNameId: fullNameId
|
|
9133
9242
|
}, body);
|
|
9134
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9243
|
+
return _context4.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9135
9244
|
path: pathPartnerPractices(partnerId)
|
|
9136
9245
|
}), {
|
|
9137
9246
|
method: 'put',
|
|
@@ -9175,10 +9284,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
9175
9284
|
practiceId: practiceId,
|
|
9176
9285
|
providerNumberId: providerNumberId
|
|
9177
9286
|
}, opts.hyperMediaEndpoint);
|
|
9178
|
-
data = _objectSpread$
|
|
9287
|
+
data = _objectSpread$F({
|
|
9179
9288
|
providerNumberId: providerNumberId
|
|
9180
9289
|
}, body);
|
|
9181
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9290
|
+
return _context5.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9182
9291
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
9183
9292
|
}), {
|
|
9184
9293
|
method: 'put',
|
|
@@ -9221,7 +9330,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9221
9330
|
doesParamExist.default({
|
|
9222
9331
|
accountId: accountId
|
|
9223
9332
|
}, opts.hyperMediaEndpoint);
|
|
9224
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9333
|
+
return _context6.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9225
9334
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
9226
9335
|
}), {
|
|
9227
9336
|
method: 'post',
|
|
@@ -9261,7 +9370,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9261
9370
|
doesParamExist.default({
|
|
9262
9371
|
accountId: accountId
|
|
9263
9372
|
}, opts.hyperMediaEndpoint);
|
|
9264
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9373
|
+
return _context7.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9265
9374
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
9266
9375
|
}), {
|
|
9267
9376
|
method: 'post'
|
|
@@ -9291,9 +9400,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
9291
9400
|
notifyPartnerAccount: notifyPartnerAccount
|
|
9292
9401
|
});
|
|
9293
9402
|
|
|
9294
|
-
function ownKeys$
|
|
9403
|
+
function ownKeys$G(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9295
9404
|
|
|
9296
|
-
function _objectSpread$
|
|
9405
|
+
function _objectSpread$G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$G(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9297
9406
|
|
|
9298
9407
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
9299
9408
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -9306,10 +9415,6 @@ var pathBusinessPatient = function pathBusinessPatient(businessId, patientId) {
|
|
|
9306
9415
|
var pathBusinessPatientByRefId = function pathBusinessPatientByRefId(businessId, refId) {
|
|
9307
9416
|
return "/businesses/" + businessId + "/patients/ref/" + refId;
|
|
9308
9417
|
};
|
|
9309
|
-
|
|
9310
|
-
var pathUpdatePatientPaymentMethodBySMSorLink = function pathUpdatePatientPaymentMethodBySMSorLink(businessId, patientId) {
|
|
9311
|
-
return "/businesses/" + businessId + "/patients/" + patientId + "/paymentmethods/updaterequests";
|
|
9312
|
-
};
|
|
9313
9418
|
/**
|
|
9314
9419
|
* Create a business patient
|
|
9315
9420
|
* @param {String} businessId - Business ID
|
|
@@ -9331,7 +9436,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
9331
9436
|
doesParamExist.default({
|
|
9332
9437
|
businessId: businessId
|
|
9333
9438
|
}, opts.hyperMediaEndpoint);
|
|
9334
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9439
|
+
return _context.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9335
9440
|
path: pathBusinessPatients(businessId)
|
|
9336
9441
|
}), {
|
|
9337
9442
|
method: 'post',
|
|
@@ -9374,7 +9479,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
9374
9479
|
doesParamExist.default({
|
|
9375
9480
|
businessId: businessId
|
|
9376
9481
|
}, opts.hyperMediaEndpoint);
|
|
9377
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9482
|
+
return _context2.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9378
9483
|
path: pathBusinessPatients(businessId)
|
|
9379
9484
|
}), {
|
|
9380
9485
|
method: 'get',
|
|
@@ -9413,7 +9518,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
9413
9518
|
doesParamExist.default({
|
|
9414
9519
|
businessId: businessId
|
|
9415
9520
|
}, opts.hyperMediaEndpoint);
|
|
9416
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9521
|
+
return _context3.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9417
9522
|
path: pathBusinessPatient(businessId, patientId)
|
|
9418
9523
|
}), {
|
|
9419
9524
|
method: 'get'
|
|
@@ -9452,7 +9557,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
9452
9557
|
businessId: businessId,
|
|
9453
9558
|
refId: refId
|
|
9454
9559
|
}, opts.hyperMediaEndpoint);
|
|
9455
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9560
|
+
return _context4.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9456
9561
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
9457
9562
|
}), {
|
|
9458
9563
|
method: 'get'
|
|
@@ -9491,7 +9596,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
9491
9596
|
doesParamExist.default({
|
|
9492
9597
|
businessId: businessId
|
|
9493
9598
|
}, opts.hyperMediaEndpoint);
|
|
9494
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9599
|
+
return _context5.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9495
9600
|
path: pathBusinessPatient(businessId, patientId)
|
|
9496
9601
|
}), {
|
|
9497
9602
|
method: 'put',
|
|
@@ -9510,30 +9615,6 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
9510
9615
|
return _ref5.apply(this, arguments);
|
|
9511
9616
|
};
|
|
9512
9617
|
}();
|
|
9513
|
-
/**
|
|
9514
|
-
* Update patient payment infromation by SMS or Link
|
|
9515
|
-
* @param {String} businessId - Business ID
|
|
9516
|
-
* @param {String} patientId - Patient ID
|
|
9517
|
-
* @param {Object} body - Request body
|
|
9518
|
-
* @param {Object} opts - Additional options
|
|
9519
|
-
*/
|
|
9520
|
-
|
|
9521
|
-
var updatePatientPaymentMethodBySMSorLink = function updatePatientPaymentMethodBySMSorLink(businessId, patientId, body, opts) {
|
|
9522
|
-
if (opts === void 0) {
|
|
9523
|
-
opts = {};
|
|
9524
|
-
}
|
|
9525
|
-
|
|
9526
|
-
doesParamExist.default({
|
|
9527
|
-
businessId: businessId,
|
|
9528
|
-
patientId: patientId
|
|
9529
|
-
}, opts.hyperMediaEndpoint);
|
|
9530
|
-
return request(_objectSpread$F({}, opts, {
|
|
9531
|
-
path: pathUpdatePatientPaymentMethodBySMSorLink(businessId, patientId)
|
|
9532
|
-
}), {
|
|
9533
|
-
method: 'post',
|
|
9534
|
-
data: body
|
|
9535
|
-
});
|
|
9536
|
-
};
|
|
9537
9618
|
/**
|
|
9538
9619
|
* Delete a business patient
|
|
9539
9620
|
* @param {String} businessId - Business ID
|
|
@@ -9554,7 +9635,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
9554
9635
|
doesParamExist.default({
|
|
9555
9636
|
businessId: businessId
|
|
9556
9637
|
}, opts.hyperMediaEndpoint);
|
|
9557
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9638
|
+
return _context6.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9558
9639
|
path: pathBusinessPatient(businessId, patientId)
|
|
9559
9640
|
}), {
|
|
9560
9641
|
method: 'delete'
|
|
@@ -9580,13 +9661,12 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
9580
9661
|
getBusinessPatient: getBusinessPatient,
|
|
9581
9662
|
getBusinessPatientByRefId: getBusinessPatientByRefId,
|
|
9582
9663
|
updateBusinessPatient: updateBusinessPatient,
|
|
9583
|
-
updatePatientPaymentMethodBySMSorLink: updatePatientPaymentMethodBySMSorLink,
|
|
9584
9664
|
deleteBusinessPatient: deleteBusinessPatient
|
|
9585
9665
|
});
|
|
9586
9666
|
|
|
9587
|
-
function ownKeys$
|
|
9667
|
+
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; }
|
|
9588
9668
|
|
|
9589
|
-
function _objectSpread$
|
|
9669
|
+
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; }
|
|
9590
9670
|
var PATH__PAYMENTS = '/payments';
|
|
9591
9671
|
|
|
9592
9672
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -9647,7 +9727,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9647
9727
|
nonce: nonce,
|
|
9648
9728
|
source: source
|
|
9649
9729
|
}, opts.hyperMediaEndpoint);
|
|
9650
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9730
|
+
return _context.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9651
9731
|
path: pathAccountPaymentMethods(accountId)
|
|
9652
9732
|
}), {
|
|
9653
9733
|
method: 'post',
|
|
@@ -9691,7 +9771,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9691
9771
|
nonce: nonce,
|
|
9692
9772
|
source: source
|
|
9693
9773
|
}, opts.hyperMediaEndpoint);
|
|
9694
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9774
|
+
return _context2.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9695
9775
|
path: pathBusinessPaymentMethods(businessId)
|
|
9696
9776
|
}), {
|
|
9697
9777
|
method: 'post',
|
|
@@ -9737,7 +9817,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9737
9817
|
nonce: nonce,
|
|
9738
9818
|
source: source
|
|
9739
9819
|
}, opts.hyperMediaEndpoint);
|
|
9740
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9820
|
+
return _context3.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9741
9821
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9742
9822
|
}), {
|
|
9743
9823
|
method: 'post',
|
|
@@ -9781,7 +9861,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9781
9861
|
accountId: accountId,
|
|
9782
9862
|
paymentMethodId: paymentMethodId
|
|
9783
9863
|
}, opts.hyperMediaEndpoint);
|
|
9784
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9864
|
+
return _context4.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9785
9865
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
9786
9866
|
}), {
|
|
9787
9867
|
method: 'delete'
|
|
@@ -9821,7 +9901,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9821
9901
|
businessId: businessId,
|
|
9822
9902
|
paymentMethodId: paymentMethodId
|
|
9823
9903
|
}, opts.hyperMediaEndpoint);
|
|
9824
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9904
|
+
return _context5.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9825
9905
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
9826
9906
|
}), {
|
|
9827
9907
|
method: 'delete'
|
|
@@ -9863,7 +9943,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9863
9943
|
patientId: patientId,
|
|
9864
9944
|
paymentMethodId: paymentMethodId
|
|
9865
9945
|
}, opts.hyperMediaEndpoint);
|
|
9866
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9946
|
+
return _context6.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9867
9947
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
9868
9948
|
}), {
|
|
9869
9949
|
method: 'delete'
|
|
@@ -9901,7 +9981,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
9901
9981
|
doesParamExist.default({
|
|
9902
9982
|
accountId: accountId
|
|
9903
9983
|
}, opts.hyperMediaEndpoint);
|
|
9904
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9984
|
+
return _context7.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9905
9985
|
path: pathAccountPaymentMethods(accountId)
|
|
9906
9986
|
}), {
|
|
9907
9987
|
method: 'get'
|
|
@@ -9939,7 +10019,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
9939
10019
|
doesParamExist.default({
|
|
9940
10020
|
businessId: businessId
|
|
9941
10021
|
}, opts.hyperMediaEndpoint);
|
|
9942
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
10022
|
+
return _context8.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9943
10023
|
path: pathBusinessPaymentMethods(businessId)
|
|
9944
10024
|
}), {
|
|
9945
10025
|
method: 'get'
|
|
@@ -9978,7 +10058,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
9978
10058
|
businessId: businessId,
|
|
9979
10059
|
patientId: patientId
|
|
9980
10060
|
}, opts.hyperMediaEndpoint);
|
|
9981
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
10061
|
+
return _context9.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9982
10062
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9983
10063
|
}), {
|
|
9984
10064
|
method: 'get'
|
|
@@ -10018,7 +10098,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
|
|
|
10018
10098
|
businessId: businessId,
|
|
10019
10099
|
refId: refId
|
|
10020
10100
|
}, opts.hyperMediaEndpoint);
|
|
10021
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
10101
|
+
return _context10.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10022
10102
|
path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
|
|
10023
10103
|
}), {
|
|
10024
10104
|
method: 'get'
|
|
@@ -10058,7 +10138,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10058
10138
|
accountId: accountId,
|
|
10059
10139
|
paymentMethodId: paymentMethodId
|
|
10060
10140
|
}, opts.hyperMediaEndpoint);
|
|
10061
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
10141
|
+
return _context11.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10062
10142
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10063
10143
|
}), {
|
|
10064
10144
|
method: 'get'
|
|
@@ -10098,7 +10178,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10098
10178
|
businessId: businessId,
|
|
10099
10179
|
paymentMethodId: paymentMethodId
|
|
10100
10180
|
}, opts.hyperMediaEndpoint);
|
|
10101
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
10181
|
+
return _context12.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10102
10182
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10103
10183
|
}), {
|
|
10104
10184
|
method: 'get'
|
|
@@ -10140,7 +10220,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10140
10220
|
patientId: patientId,
|
|
10141
10221
|
paymentMethodId: paymentMethodId
|
|
10142
10222
|
}, opts.hyperMediaEndpoint);
|
|
10143
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
10223
|
+
return _context13.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10144
10224
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10145
10225
|
}), {
|
|
10146
10226
|
method: 'get'
|
|
@@ -10180,7 +10260,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
10180
10260
|
businessId: businessId,
|
|
10181
10261
|
source: source
|
|
10182
10262
|
}, opts.hyperMediaEndpoint);
|
|
10183
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
10263
|
+
return _context14.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10184
10264
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
10185
10265
|
}), {
|
|
10186
10266
|
method: 'get',
|
|
@@ -10221,7 +10301,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
10221
10301
|
doesParamExist.default({
|
|
10222
10302
|
businessId: businessId
|
|
10223
10303
|
}, opts.hyperMediaEndpoint);
|
|
10224
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
10304
|
+
return _context15.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10225
10305
|
path: pathBusinessSalesClientToken(businessId)
|
|
10226
10306
|
}), {
|
|
10227
10307
|
method: 'get'
|
|
@@ -10261,7 +10341,7 @@ var getClientToken = /*#__PURE__*/function () {
|
|
|
10261
10341
|
doesParamExist.default({
|
|
10262
10342
|
source: source
|
|
10263
10343
|
}, opts.hyperMediaEndpoint);
|
|
10264
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
10344
|
+
return _context16.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10265
10345
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
10266
10346
|
}), {
|
|
10267
10347
|
method: 'get',
|
|
@@ -10305,7 +10385,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10305
10385
|
accountId: accountId,
|
|
10306
10386
|
paymentMethodId: paymentMethodId
|
|
10307
10387
|
}, opts.hyperMediaEndpoint);
|
|
10308
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
10388
|
+
return _context17.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10309
10389
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10310
10390
|
}), {
|
|
10311
10391
|
data: body,
|
|
@@ -10346,7 +10426,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10346
10426
|
businessId: businessId,
|
|
10347
10427
|
paymentMethodId: paymentMethodId
|
|
10348
10428
|
}, opts.hyperMediaEndpoint);
|
|
10349
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
10429
|
+
return _context18.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10350
10430
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10351
10431
|
}), {
|
|
10352
10432
|
data: body,
|
|
@@ -10388,7 +10468,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10388
10468
|
patientId: patientId,
|
|
10389
10469
|
paymentMethodId: paymentMethodId
|
|
10390
10470
|
}, opts.hyperMediaEndpoint);
|
|
10391
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
10471
|
+
return _context19.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10392
10472
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10393
10473
|
}), {
|
|
10394
10474
|
data: body,
|
|
@@ -10520,7 +10600,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10520
10600
|
throw new Error(getPaymentGatewayError(updateSessionResponse));
|
|
10521
10601
|
|
|
10522
10602
|
case 32:
|
|
10523
|
-
return _context20.abrupt("return", _objectSpread$
|
|
10603
|
+
return _context20.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10524
10604
|
nonce: clientToken.clientToken,
|
|
10525
10605
|
sourceResponse: updateSessionResponse
|
|
10526
10606
|
}));
|
|
@@ -10563,7 +10643,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10563
10643
|
|
|
10564
10644
|
case 41:
|
|
10565
10645
|
sourceResponse = _context20.sent;
|
|
10566
|
-
return _context20.abrupt("return", _objectSpread$
|
|
10646
|
+
return _context20.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10567
10647
|
nonce: _get(sourceResponse, 'creditCards[0].nonce'),
|
|
10568
10648
|
sourceResponse: sourceResponse
|
|
10569
10649
|
}));
|
|
@@ -10620,7 +10700,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10620
10700
|
|
|
10621
10701
|
case 60:
|
|
10622
10702
|
sourceResponse = _context20.sent;
|
|
10623
|
-
return _context20.abrupt("return", _objectSpread$
|
|
10703
|
+
return _context20.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10624
10704
|
nonce: sourceResponse.nonce,
|
|
10625
10705
|
sourceResponse: sourceResponse
|
|
10626
10706
|
}));
|
|
@@ -10650,7 +10730,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10650
10730
|
|
|
10651
10731
|
case 69:
|
|
10652
10732
|
canMakeApplePayment = _context20.sent;
|
|
10653
|
-
return _context20.abrupt("return", _objectSpread$
|
|
10733
|
+
return _context20.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10654
10734
|
applePayInstance: applePayInstance,
|
|
10655
10735
|
canMakeApplePayment: canMakeApplePayment,
|
|
10656
10736
|
paymentRequest: paymentRequest
|
|
@@ -10697,9 +10777,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
10697
10777
|
getNonce: getNonce
|
|
10698
10778
|
});
|
|
10699
10779
|
|
|
10700
|
-
function ownKeys$
|
|
10780
|
+
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; }
|
|
10701
10781
|
|
|
10702
|
-
function _objectSpread$
|
|
10782
|
+
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; }
|
|
10703
10783
|
|
|
10704
10784
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
10705
10785
|
return "/businesses/" + businessId + "/pmspractices";
|
|
@@ -10737,7 +10817,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
10737
10817
|
doesParamExist.default({
|
|
10738
10818
|
businessId: businessId
|
|
10739
10819
|
}, opts.hyperMediaEndpoint);
|
|
10740
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10820
|
+
return _context.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10741
10821
|
path: pathBusinessPmsPractices(businessId)
|
|
10742
10822
|
}), {
|
|
10743
10823
|
method: 'get',
|
|
@@ -10780,7 +10860,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
10780
10860
|
doesParamExist.default({
|
|
10781
10861
|
businessId: businessId
|
|
10782
10862
|
}, opts.hyperMediaEndpoint);
|
|
10783
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10863
|
+
return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10784
10864
|
path: pathBusinessPmsServices(businessId)
|
|
10785
10865
|
}), {
|
|
10786
10866
|
method: 'get',
|
|
@@ -10823,7 +10903,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
10823
10903
|
doesParamExist.default({
|
|
10824
10904
|
businessId: businessId
|
|
10825
10905
|
}, opts.hyperMediaEndpoint);
|
|
10826
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
10906
|
+
return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10827
10907
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
10828
10908
|
}), {
|
|
10829
10909
|
method: 'get',
|
|
@@ -10862,7 +10942,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
10862
10942
|
doesParamExist.default({
|
|
10863
10943
|
businessId: businessId
|
|
10864
10944
|
}, opts.hyperMediaEndpoint);
|
|
10865
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10945
|
+
return _context4.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10866
10946
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
10867
10947
|
}), {
|
|
10868
10948
|
method: 'post',
|
|
@@ -10901,7 +10981,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
10901
10981
|
doesParamExist.default({
|
|
10902
10982
|
businessId: businessId
|
|
10903
10983
|
}, opts.hyperMediaEndpoint);
|
|
10904
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10984
|
+
return _context5.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10905
10985
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
10906
10986
|
}), {
|
|
10907
10987
|
method: 'post',
|
|
@@ -10940,7 +11020,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
10940
11020
|
doesParamExist.default({
|
|
10941
11021
|
businessId: businessId
|
|
10942
11022
|
}, opts.hyperMediaEndpoint);
|
|
10943
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11023
|
+
return _context6.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10944
11024
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
10945
11025
|
}), {
|
|
10946
11026
|
method: 'post',
|
|
@@ -10970,9 +11050,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
10970
11050
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
10971
11051
|
});
|
|
10972
11052
|
|
|
10973
|
-
function ownKeys$
|
|
11053
|
+
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; }
|
|
10974
11054
|
|
|
10975
|
-
function _objectSpread$
|
|
11055
|
+
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; }
|
|
10976
11056
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
10977
11057
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
10978
11058
|
};
|
|
@@ -10993,7 +11073,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
10993
11073
|
doesParamExist.default({
|
|
10994
11074
|
organisationId: organisationId
|
|
10995
11075
|
}, opts.hyperMediaEndpoint);
|
|
10996
|
-
return request(_objectSpread$
|
|
11076
|
+
return request(_objectSpread$J({}, opts, {
|
|
10997
11077
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
10998
11078
|
}), {
|
|
10999
11079
|
method: 'get',
|
|
@@ -11008,7 +11088,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
11008
11088
|
doesParamExist.default({
|
|
11009
11089
|
practiceProfileId: practiceProfileId
|
|
11010
11090
|
}, opts.hyperMediaEndpoint);
|
|
11011
|
-
return request(_objectSpread$
|
|
11091
|
+
return request(_objectSpread$J({}, opts, {
|
|
11012
11092
|
path: pathPracticeProfile(practiceProfileId)
|
|
11013
11093
|
}), {
|
|
11014
11094
|
method: 'get'
|
|
@@ -11026,7 +11106,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
11026
11106
|
var body = {
|
|
11027
11107
|
practiceId: practiceId
|
|
11028
11108
|
};
|
|
11029
|
-
return request(_objectSpread$
|
|
11109
|
+
return request(_objectSpread$J({}, opts, {
|
|
11030
11110
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
11031
11111
|
}), {
|
|
11032
11112
|
method: 'put',
|
|
@@ -11041,7 +11121,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
11041
11121
|
doesParamExist.default({
|
|
11042
11122
|
practiceProfileId: practiceProfileId
|
|
11043
11123
|
}, opts.hyperMediaEndpoint);
|
|
11044
|
-
return request(_objectSpread$
|
|
11124
|
+
return request(_objectSpread$J({}, opts, {
|
|
11045
11125
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
11046
11126
|
}), {
|
|
11047
11127
|
method: 'put'
|
|
@@ -11060,9 +11140,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
11060
11140
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
11061
11141
|
});
|
|
11062
11142
|
|
|
11063
|
-
function ownKeys$
|
|
11143
|
+
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; }
|
|
11064
11144
|
|
|
11065
|
-
function _objectSpread$
|
|
11145
|
+
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; }
|
|
11066
11146
|
|
|
11067
11147
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
11068
11148
|
return "/businesses/" + businessId + "/forms/" + formId + "/practices";
|
|
@@ -11124,7 +11204,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
11124
11204
|
doesParamExist.default({
|
|
11125
11205
|
businessId: businessId
|
|
11126
11206
|
}, opts.hyperMediaEndpoint);
|
|
11127
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11207
|
+
return _context.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11128
11208
|
path: pathBusinessPractices(businessId)
|
|
11129
11209
|
}), {
|
|
11130
11210
|
method: 'post',
|
|
@@ -11163,7 +11243,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11163
11243
|
doesParamExist.default({
|
|
11164
11244
|
organisationId: organisationId
|
|
11165
11245
|
}, opts.hyperMediaEndpoint);
|
|
11166
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11246
|
+
return _context2.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11167
11247
|
path: pathOrganisationPractices(organisationId)
|
|
11168
11248
|
}), {
|
|
11169
11249
|
method: 'post',
|
|
@@ -11203,7 +11283,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
11203
11283
|
businessId: businessId,
|
|
11204
11284
|
practiceId: practiceId
|
|
11205
11285
|
}, opts.hyperMediaEndpoint);
|
|
11206
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11286
|
+
return _context3.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11207
11287
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11208
11288
|
}), {
|
|
11209
11289
|
method: 'delete'
|
|
@@ -11242,7 +11322,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11242
11322
|
organisationId: organisationId,
|
|
11243
11323
|
practiceId: practiceId
|
|
11244
11324
|
}, opts.hyperMediaEndpoint);
|
|
11245
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11325
|
+
return _context4.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11246
11326
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11247
11327
|
}), {
|
|
11248
11328
|
method: 'delete'
|
|
@@ -11281,7 +11361,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
11281
11361
|
businessId: businessId,
|
|
11282
11362
|
practiceId: practiceId
|
|
11283
11363
|
}, opts.hyperMediaEndpoint);
|
|
11284
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11364
|
+
return _context5.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11285
11365
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11286
11366
|
}), {
|
|
11287
11367
|
method: 'get'
|
|
@@ -11323,7 +11403,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
11323
11403
|
doesParamExist.default({
|
|
11324
11404
|
businessId: businessId
|
|
11325
11405
|
}, opts.hyperMediaEndpoint);
|
|
11326
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11406
|
+
return _context6.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11327
11407
|
path: pathBusinessPractices(businessId)
|
|
11328
11408
|
}), {
|
|
11329
11409
|
method: 'get',
|
|
@@ -11368,7 +11448,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
11368
11448
|
businessId: businessId,
|
|
11369
11449
|
formId: formId
|
|
11370
11450
|
}, opts.hyperMediaEndpoint);
|
|
11371
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11451
|
+
return _context7.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11372
11452
|
path: pathBusinessFormPractices(businessId, formId)
|
|
11373
11453
|
}), {
|
|
11374
11454
|
method: 'get',
|
|
@@ -11410,7 +11490,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
11410
11490
|
practiceId: practiceId,
|
|
11411
11491
|
query: query
|
|
11412
11492
|
}, opts.hyperMediaEndpoint);
|
|
11413
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11493
|
+
return _context8.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11414
11494
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
11415
11495
|
}), {
|
|
11416
11496
|
method: 'get',
|
|
@@ -11454,7 +11534,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
11454
11534
|
businessId: businessId,
|
|
11455
11535
|
staffId: staffId
|
|
11456
11536
|
}, opts.hyperMediaEndpoint);
|
|
11457
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11537
|
+
return _context9.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11458
11538
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
11459
11539
|
}), {
|
|
11460
11540
|
method: 'get',
|
|
@@ -11497,7 +11577,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
11497
11577
|
doesParamExist.default({
|
|
11498
11578
|
organisationId: organisationId
|
|
11499
11579
|
}, opts.hyperMediaEndpoint);
|
|
11500
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11580
|
+
return _context10.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11501
11581
|
path: pathOrganisationPractices(organisationId)
|
|
11502
11582
|
}), {
|
|
11503
11583
|
method: 'get',
|
|
@@ -11536,7 +11616,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
11536
11616
|
doesParamExist.default({
|
|
11537
11617
|
practiceId: practiceId
|
|
11538
11618
|
}, opts.hyperMediaEndpoint);
|
|
11539
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11619
|
+
return _context11.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11540
11620
|
path: pathPractice(practiceId)
|
|
11541
11621
|
}), {
|
|
11542
11622
|
method: 'get'
|
|
@@ -11565,7 +11645,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
11565
11645
|
opts = {};
|
|
11566
11646
|
}
|
|
11567
11647
|
|
|
11568
|
-
return request(_objectSpread$
|
|
11648
|
+
return request(_objectSpread$K({}, opts, {
|
|
11569
11649
|
path: pathPractice(practiceId) + "/verify/request"
|
|
11570
11650
|
}), {
|
|
11571
11651
|
method: 'post'
|
|
@@ -11583,7 +11663,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
11583
11663
|
opts = {};
|
|
11584
11664
|
}
|
|
11585
11665
|
|
|
11586
|
-
return request(_objectSpread$
|
|
11666
|
+
return request(_objectSpread$K({}, opts, {
|
|
11587
11667
|
path: pathPractice(practiceId) + "/access/request"
|
|
11588
11668
|
}), {
|
|
11589
11669
|
method: 'post',
|
|
@@ -11607,7 +11687,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
11607
11687
|
opts = {};
|
|
11608
11688
|
}
|
|
11609
11689
|
|
|
11610
|
-
return request(_objectSpread$
|
|
11690
|
+
return request(_objectSpread$K({}, opts, {
|
|
11611
11691
|
path: pathOnboardingPractices()
|
|
11612
11692
|
}), {
|
|
11613
11693
|
method: 'get',
|
|
@@ -11636,7 +11716,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
11636
11716
|
businessId: businessId,
|
|
11637
11717
|
practiceId: practiceId
|
|
11638
11718
|
}, opts.hyperMediaEndpoint);
|
|
11639
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11719
|
+
return _context12.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11640
11720
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11641
11721
|
}), {
|
|
11642
11722
|
method: 'put',
|
|
@@ -11677,7 +11757,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11677
11757
|
organisationId: organisationId,
|
|
11678
11758
|
practiceId: practiceId
|
|
11679
11759
|
}, opts.hyperMediaEndpoint);
|
|
11680
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11760
|
+
return _context13.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11681
11761
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11682
11762
|
}), {
|
|
11683
11763
|
method: 'put',
|
|
@@ -11709,11 +11789,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
11709
11789
|
opts = {};
|
|
11710
11790
|
}
|
|
11711
11791
|
|
|
11712
|
-
return request(_objectSpread$
|
|
11792
|
+
return request(_objectSpread$K({}, opts, {
|
|
11713
11793
|
path: pathPractice(practiceId) + "/verify"
|
|
11714
11794
|
}), {
|
|
11715
11795
|
method: 'post',
|
|
11716
|
-
data: _objectSpread$
|
|
11796
|
+
data: _objectSpread$K({}, body, {
|
|
11717
11797
|
otkCode: otkCode
|
|
11718
11798
|
})
|
|
11719
11799
|
});
|
|
@@ -11738,7 +11818,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
11738
11818
|
doesParamExist.default({
|
|
11739
11819
|
practiceId: practiceId
|
|
11740
11820
|
}, opts.hyperMediaEndpoint);
|
|
11741
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
11821
|
+
return _context14.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11742
11822
|
path: pathPractice(practiceId) + "/clone"
|
|
11743
11823
|
}), {
|
|
11744
11824
|
method: 'post',
|
|
@@ -11783,7 +11863,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
11783
11863
|
businessId: businessId,
|
|
11784
11864
|
formId: formId
|
|
11785
11865
|
}, opts.hyperMediaEndpoint);
|
|
11786
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
11866
|
+
return _context15.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11787
11867
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
11788
11868
|
}), {
|
|
11789
11869
|
method: 'get',
|
|
@@ -11826,9 +11906,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
11826
11906
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
11827
11907
|
});
|
|
11828
11908
|
|
|
11829
|
-
function ownKeys$
|
|
11909
|
+
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; }
|
|
11830
11910
|
|
|
11831
|
-
function _objectSpread$
|
|
11911
|
+
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; }
|
|
11832
11912
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
11833
11913
|
/**
|
|
11834
11914
|
* Get practice types
|
|
@@ -11845,7 +11925,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
11845
11925
|
opts = {};
|
|
11846
11926
|
}
|
|
11847
11927
|
|
|
11848
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11928
|
+
return _context.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
11849
11929
|
path: PATH__PRACTICE_TYPES
|
|
11850
11930
|
}), {
|
|
11851
11931
|
method: 'get'
|
|
@@ -11869,9 +11949,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
11869
11949
|
getPracticeTypes: getPracticeTypes
|
|
11870
11950
|
});
|
|
11871
11951
|
|
|
11872
|
-
function ownKeys$
|
|
11952
|
+
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; }
|
|
11873
11953
|
|
|
11874
|
-
function _objectSpread$
|
|
11954
|
+
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; }
|
|
11875
11955
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
11876
11956
|
return "/businesses/" + businessId + "/products";
|
|
11877
11957
|
};
|
|
@@ -11889,7 +11969,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
11889
11969
|
opts = {};
|
|
11890
11970
|
}
|
|
11891
11971
|
|
|
11892
|
-
return request(_objectSpread$
|
|
11972
|
+
return request(_objectSpread$M({}, opts, {
|
|
11893
11973
|
path: '/products'
|
|
11894
11974
|
}), {
|
|
11895
11975
|
method: 'get',
|
|
@@ -11911,7 +11991,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
11911
11991
|
doesParamExist.default({
|
|
11912
11992
|
businessId: businessId
|
|
11913
11993
|
});
|
|
11914
|
-
return request(_objectSpread$
|
|
11994
|
+
return request(_objectSpread$M({}, opts, {
|
|
11915
11995
|
path: pathBusinessProducts(businessId)
|
|
11916
11996
|
}), {
|
|
11917
11997
|
method: 'get',
|
|
@@ -11934,7 +12014,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
11934
12014
|
businessId: businessId,
|
|
11935
12015
|
productId: productId
|
|
11936
12016
|
});
|
|
11937
|
-
return request(_objectSpread$
|
|
12017
|
+
return request(_objectSpread$M({}, opts, {
|
|
11938
12018
|
path: pathBusinessProduct(businessId, productId)
|
|
11939
12019
|
}), {
|
|
11940
12020
|
method: 'get'
|
|
@@ -11950,9 +12030,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
11950
12030
|
getBusinessProduct: getBusinessProduct
|
|
11951
12031
|
});
|
|
11952
12032
|
|
|
11953
|
-
function ownKeys$
|
|
12033
|
+
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; }
|
|
11954
12034
|
|
|
11955
|
-
function _objectSpread$
|
|
12035
|
+
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; }
|
|
11956
12036
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
11957
12037
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
11958
12038
|
};
|
|
@@ -11971,7 +12051,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
11971
12051
|
opts = {};
|
|
11972
12052
|
}
|
|
11973
12053
|
|
|
11974
|
-
return request(_objectSpread$
|
|
12054
|
+
return request(_objectSpread$N({}, opts, {
|
|
11975
12055
|
path: pathProfessionalCategories
|
|
11976
12056
|
}), {
|
|
11977
12057
|
method: 'get',
|
|
@@ -11993,7 +12073,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
11993
12073
|
doesParamExist.default({
|
|
11994
12074
|
businessId: businessId
|
|
11995
12075
|
});
|
|
11996
|
-
return request(_objectSpread$
|
|
12076
|
+
return request(_objectSpread$N({}, opts, {
|
|
11997
12077
|
path: pathBusinessProfessionalCategories(businessId)
|
|
11998
12078
|
}), {
|
|
11999
12079
|
method: 'get',
|
|
@@ -12014,7 +12094,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
12014
12094
|
doesParamExist.default({
|
|
12015
12095
|
professionalCategoryId: professionalCategoryId
|
|
12016
12096
|
});
|
|
12017
|
-
return request(_objectSpread$
|
|
12097
|
+
return request(_objectSpread$N({}, opts, {
|
|
12018
12098
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
12019
12099
|
}), {
|
|
12020
12100
|
method: 'get'
|
|
@@ -12031,9 +12111,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
12031
12111
|
getProfessionalCategory: getProfessionalCategory
|
|
12032
12112
|
});
|
|
12033
12113
|
|
|
12034
|
-
function ownKeys$
|
|
12114
|
+
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; }
|
|
12035
12115
|
|
|
12036
|
-
function _objectSpread$
|
|
12116
|
+
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; }
|
|
12037
12117
|
|
|
12038
12118
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
12039
12119
|
return "/businesses/" + businessId + "/providerrequests";
|
|
@@ -12063,7 +12143,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
12063
12143
|
doesParamExist.default({
|
|
12064
12144
|
businessId: businessId
|
|
12065
12145
|
}, opts.hyperMediaEndpoint);
|
|
12066
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12146
|
+
return _context.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12067
12147
|
path: pathBusinessProviderRequests(businessId)
|
|
12068
12148
|
}), {
|
|
12069
12149
|
method: 'post',
|
|
@@ -12104,7 +12184,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
12104
12184
|
doesParamExist.default({
|
|
12105
12185
|
businessId: businessId
|
|
12106
12186
|
}, opts.hyperMediaEndpoint);
|
|
12107
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12187
|
+
return _context2.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12108
12188
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
12109
12189
|
}), {
|
|
12110
12190
|
method: 'post',
|
|
@@ -12132,9 +12212,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
12132
12212
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
12133
12213
|
});
|
|
12134
12214
|
|
|
12135
|
-
function ownKeys$
|
|
12215
|
+
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; }
|
|
12136
12216
|
|
|
12137
|
-
function _objectSpread$
|
|
12217
|
+
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; }
|
|
12138
12218
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
12139
12219
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
12140
12220
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -12155,7 +12235,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
12155
12235
|
opts = {};
|
|
12156
12236
|
}
|
|
12157
12237
|
|
|
12158
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12238
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12159
12239
|
path: pathGetProviderRegistrationTypes
|
|
12160
12240
|
}), {
|
|
12161
12241
|
method: 'get',
|
|
@@ -12190,7 +12270,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
12190
12270
|
opts = {};
|
|
12191
12271
|
}
|
|
12192
12272
|
|
|
12193
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12273
|
+
return _context2.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12194
12274
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
12195
12275
|
}), {
|
|
12196
12276
|
method: 'get'
|
|
@@ -12217,9 +12297,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
12217
12297
|
getProviderRegistrationType: getProviderRegistrationType
|
|
12218
12298
|
});
|
|
12219
12299
|
|
|
12220
|
-
function ownKeys$
|
|
12300
|
+
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; }
|
|
12221
12301
|
|
|
12222
|
-
function _objectSpread$
|
|
12302
|
+
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; }
|
|
12223
12303
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
12224
12304
|
return "/providernumbertypes";
|
|
12225
12305
|
};
|
|
@@ -12246,7 +12326,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
12246
12326
|
opts = {};
|
|
12247
12327
|
}
|
|
12248
12328
|
|
|
12249
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12329
|
+
return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
12250
12330
|
path: pathProviderNumberTypes()
|
|
12251
12331
|
}), {
|
|
12252
12332
|
method: 'get',
|
|
@@ -12284,7 +12364,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
12284
12364
|
doesParamExist.default({
|
|
12285
12365
|
providerNumberTypeId: providerNumberTypeId
|
|
12286
12366
|
}, opts.hyperMediaEndpoint);
|
|
12287
|
-
return request(_objectSpread$
|
|
12367
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12288
12368
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
12289
12369
|
}), {
|
|
12290
12370
|
method: 'get',
|
|
@@ -12300,9 +12380,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
12300
12380
|
getProviderNumberType: getProviderNumberType
|
|
12301
12381
|
});
|
|
12302
12382
|
|
|
12303
|
-
function ownKeys$
|
|
12383
|
+
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; }
|
|
12304
12384
|
|
|
12305
|
-
function _objectSpread$
|
|
12385
|
+
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; }
|
|
12306
12386
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
12307
12387
|
/**
|
|
12308
12388
|
* Get provider types
|
|
@@ -12319,7 +12399,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
12319
12399
|
opts = {};
|
|
12320
12400
|
}
|
|
12321
12401
|
|
|
12322
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12402
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12323
12403
|
path: PATH__PROVIDER_TYPES
|
|
12324
12404
|
}), {
|
|
12325
12405
|
method: 'get'
|
|
@@ -12343,16 +12423,16 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
12343
12423
|
getProviderTypes: getProviderTypes
|
|
12344
12424
|
});
|
|
12345
12425
|
|
|
12346
|
-
function ownKeys$
|
|
12426
|
+
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; }
|
|
12347
12427
|
|
|
12348
|
-
function _objectSpread$
|
|
12428
|
+
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; }
|
|
12349
12429
|
var PATH__REF_SOURCES = '/refsources';
|
|
12350
12430
|
var getRefSources = function getRefSources(query, opts) {
|
|
12351
12431
|
if (opts === void 0) {
|
|
12352
12432
|
opts = {};
|
|
12353
12433
|
}
|
|
12354
12434
|
|
|
12355
|
-
return request(_objectSpread$
|
|
12435
|
+
return request(_objectSpread$S({}, opts, {
|
|
12356
12436
|
path: PATH__REF_SOURCES
|
|
12357
12437
|
}), {
|
|
12358
12438
|
method: 'get',
|
|
@@ -12366,9 +12446,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
12366
12446
|
getRefSources: getRefSources
|
|
12367
12447
|
});
|
|
12368
12448
|
|
|
12369
|
-
function ownKeys$
|
|
12449
|
+
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; }
|
|
12370
12450
|
|
|
12371
|
-
function _objectSpread$
|
|
12451
|
+
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; }
|
|
12372
12452
|
var PATH__TRANSACTIONS = '/transaction';
|
|
12373
12453
|
/**
|
|
12374
12454
|
* Get risk score
|
|
@@ -12389,7 +12469,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
12389
12469
|
doesParamExist.default({
|
|
12390
12470
|
transactionId: transactionId
|
|
12391
12471
|
}, opts.hyperMediaEndpoint);
|
|
12392
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12472
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
12393
12473
|
apiName: 'risk',
|
|
12394
12474
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
12395
12475
|
}), {
|
|
@@ -12424,7 +12504,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
12424
12504
|
opts = {};
|
|
12425
12505
|
}
|
|
12426
12506
|
|
|
12427
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12507
|
+
return _context2.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
12428
12508
|
apiName: 'risk',
|
|
12429
12509
|
path: PATH__TRANSACTIONS
|
|
12430
12510
|
}), {
|
|
@@ -12451,9 +12531,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
12451
12531
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
12452
12532
|
});
|
|
12453
12533
|
|
|
12454
|
-
function ownKeys$
|
|
12534
|
+
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; }
|
|
12455
12535
|
|
|
12456
|
-
function _objectSpread$
|
|
12536
|
+
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; }
|
|
12457
12537
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
12458
12538
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
12459
12539
|
};
|
|
@@ -12487,7 +12567,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
12487
12567
|
doesParamExist.default({
|
|
12488
12568
|
businessId: businessId
|
|
12489
12569
|
}, opts.hyperMediaEndpoint);
|
|
12490
|
-
return request(_objectSpread$
|
|
12570
|
+
return request(_objectSpread$U({}, opts, {
|
|
12491
12571
|
path: pathBusinessesRNAs(businessId)
|
|
12492
12572
|
}), {
|
|
12493
12573
|
method: 'get',
|
|
@@ -12510,7 +12590,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
12510
12590
|
businessId: businessId,
|
|
12511
12591
|
rnaId: rnaId
|
|
12512
12592
|
}, opts.hyperMediaEndpoint);
|
|
12513
|
-
return request(_objectSpread$
|
|
12593
|
+
return request(_objectSpread$U({}, opts, {
|
|
12514
12594
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
12515
12595
|
}), {
|
|
12516
12596
|
method: 'get'
|
|
@@ -12531,7 +12611,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
12531
12611
|
doesParamExist.default({
|
|
12532
12612
|
businessId: businessId
|
|
12533
12613
|
}, opts.hyperMediaEndpoint);
|
|
12534
|
-
return request(_objectSpread$
|
|
12614
|
+
return request(_objectSpread$U({}, opts, {
|
|
12535
12615
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
12536
12616
|
}), {
|
|
12537
12617
|
method: 'get',
|
|
@@ -12546,7 +12626,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
12546
12626
|
doesParamExist.default({
|
|
12547
12627
|
healthFundId: healthFundId
|
|
12548
12628
|
}, opts.hyperMediaEndpoint);
|
|
12549
|
-
return request(_objectSpread$
|
|
12629
|
+
return request(_objectSpread$U({}, opts, {
|
|
12550
12630
|
path: pathHealthFundRNAs(healthFundId)
|
|
12551
12631
|
}), {
|
|
12552
12632
|
method: 'post',
|
|
@@ -12562,7 +12642,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
12562
12642
|
healthFundId: healthFundId,
|
|
12563
12643
|
rnaId: rnaId
|
|
12564
12644
|
}, opts.hyperMediaEndpoint);
|
|
12565
|
-
return request(_objectSpread$
|
|
12645
|
+
return request(_objectSpread$U({}, opts, {
|
|
12566
12646
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
12567
12647
|
}), {
|
|
12568
12648
|
method: 'post',
|
|
@@ -12578,7 +12658,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
12578
12658
|
healthFundId: healthFundId,
|
|
12579
12659
|
rnaId: rnaId
|
|
12580
12660
|
}, opts.hyperMediaEndpoint);
|
|
12581
|
-
return request(_objectSpread$
|
|
12661
|
+
return request(_objectSpread$U({}, opts, {
|
|
12582
12662
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
12583
12663
|
}), {
|
|
12584
12664
|
method: 'get',
|
|
@@ -12593,7 +12673,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
12593
12673
|
doesParamExist.default({
|
|
12594
12674
|
healthFundId: healthFundId
|
|
12595
12675
|
}, opts.hyperMediaEndpoint);
|
|
12596
|
-
return request(_objectSpread$
|
|
12676
|
+
return request(_objectSpread$U({}, opts, {
|
|
12597
12677
|
path: pathHealthFundRNAs(healthFundId)
|
|
12598
12678
|
}), {
|
|
12599
12679
|
method: 'get',
|
|
@@ -12610,7 +12690,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
12610
12690
|
rnaId: rnaId,
|
|
12611
12691
|
rnaAppointmentId: rnaAppointmentId
|
|
12612
12692
|
}, opts.hyperMediaEndpoint);
|
|
12613
|
-
return request(_objectSpread$
|
|
12693
|
+
return request(_objectSpread$U({}, opts, {
|
|
12614
12694
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
12615
12695
|
}), {
|
|
12616
12696
|
method: 'put',
|
|
@@ -12636,9 +12716,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
12636
12716
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
12637
12717
|
});
|
|
12638
12718
|
|
|
12639
|
-
function ownKeys$
|
|
12719
|
+
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; }
|
|
12640
12720
|
|
|
12641
|
-
function _objectSpread$
|
|
12721
|
+
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; }
|
|
12642
12722
|
var PATH__ROLES = '/roles';
|
|
12643
12723
|
/**
|
|
12644
12724
|
* Get roles
|
|
@@ -12655,7 +12735,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
12655
12735
|
opts = {};
|
|
12656
12736
|
}
|
|
12657
12737
|
|
|
12658
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12738
|
+
return _context.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
12659
12739
|
path: PATH__ROLES
|
|
12660
12740
|
}), {
|
|
12661
12741
|
method: 'get'
|
|
@@ -12679,9 +12759,9 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
12679
12759
|
getRoles: getRoles
|
|
12680
12760
|
});
|
|
12681
12761
|
|
|
12682
|
-
function ownKeys$
|
|
12762
|
+
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; }
|
|
12683
12763
|
|
|
12684
|
-
function _objectSpread$
|
|
12764
|
+
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; }
|
|
12685
12765
|
var PATH__SELF_CHECKOUT_SESSIONS = '/selfcheckoutsessions';
|
|
12686
12766
|
/**
|
|
12687
12767
|
* Create a self checkout session
|
|
@@ -12699,7 +12779,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12699
12779
|
opts = {};
|
|
12700
12780
|
}
|
|
12701
12781
|
|
|
12702
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12782
|
+
return _context.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12703
12783
|
path: PATH__SELF_CHECKOUT_SESSIONS
|
|
12704
12784
|
}), {
|
|
12705
12785
|
method: 'post',
|
|
@@ -12734,7 +12814,7 @@ var approve = /*#__PURE__*/function () {
|
|
|
12734
12814
|
opts = {};
|
|
12735
12815
|
}
|
|
12736
12816
|
|
|
12737
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12817
|
+
return _context2.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12738
12818
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
|
|
12739
12819
|
}), {
|
|
12740
12820
|
method: 'post',
|
|
@@ -12770,7 +12850,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
12770
12850
|
opts = {};
|
|
12771
12851
|
}
|
|
12772
12852
|
|
|
12773
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12853
|
+
return _context3.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12774
12854
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
|
|
12775
12855
|
}), {
|
|
12776
12856
|
method: 'post',
|
|
@@ -12806,7 +12886,7 @@ var cancelSession = /*#__PURE__*/function () {
|
|
|
12806
12886
|
opts = {};
|
|
12807
12887
|
}
|
|
12808
12888
|
|
|
12809
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12889
|
+
return _context4.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12810
12890
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
|
|
12811
12891
|
}), {
|
|
12812
12892
|
method: 'post',
|
|
@@ -12841,7 +12921,7 @@ var createMyInvoice = /*#__PURE__*/function () {
|
|
|
12841
12921
|
opts = {};
|
|
12842
12922
|
}
|
|
12843
12923
|
|
|
12844
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
12924
|
+
return _context5.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12845
12925
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
|
|
12846
12926
|
}), {
|
|
12847
12927
|
method: 'post',
|
|
@@ -12875,7 +12955,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
|
|
|
12875
12955
|
opts = {};
|
|
12876
12956
|
}
|
|
12877
12957
|
|
|
12878
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
12958
|
+
return _context6.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12879
12959
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
|
|
12880
12960
|
}), {
|
|
12881
12961
|
method: 'post',
|
|
@@ -12915,7 +12995,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
|
|
|
12915
12995
|
nonce: nonce,
|
|
12916
12996
|
source: source
|
|
12917
12997
|
}, opts.hyperMediaEndpoint);
|
|
12918
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
12998
|
+
return _context7.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12919
12999
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
12920
13000
|
}), {
|
|
12921
13001
|
method: 'post',
|
|
@@ -12953,7 +13033,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
12953
13033
|
opts = {};
|
|
12954
13034
|
}
|
|
12955
13035
|
|
|
12956
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
13036
|
+
return _context8.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12957
13037
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
12958
13038
|
}), {
|
|
12959
13039
|
method: 'get',
|
|
@@ -13007,7 +13087,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
13007
13087
|
email: email,
|
|
13008
13088
|
memberId: memberId
|
|
13009
13089
|
});
|
|
13010
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
13090
|
+
return _context9.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13011
13091
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
|
|
13012
13092
|
}), {
|
|
13013
13093
|
method: 'get',
|
|
@@ -13044,7 +13124,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
13044
13124
|
opts = {};
|
|
13045
13125
|
}
|
|
13046
13126
|
|
|
13047
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13127
|
+
return _context10.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13048
13128
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
|
|
13049
13129
|
}), {
|
|
13050
13130
|
method: 'post',
|
|
@@ -13079,7 +13159,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13079
13159
|
opts = {};
|
|
13080
13160
|
}
|
|
13081
13161
|
|
|
13082
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
13162
|
+
return _context11.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13083
13163
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13084
13164
|
}), {
|
|
13085
13165
|
method: 'get',
|
|
@@ -13113,7 +13193,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
|
|
|
13113
13193
|
opts = {};
|
|
13114
13194
|
}
|
|
13115
13195
|
|
|
13116
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13196
|
+
return _context12.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13117
13197
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
|
|
13118
13198
|
}), {
|
|
13119
13199
|
method: 'get',
|
|
@@ -13147,7 +13227,7 @@ var rememberMe = /*#__PURE__*/function () {
|
|
|
13147
13227
|
opts = {};
|
|
13148
13228
|
}
|
|
13149
13229
|
|
|
13150
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13230
|
+
return _context13.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13151
13231
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
|
|
13152
13232
|
}), {
|
|
13153
13233
|
method: 'post',
|
|
@@ -13182,7 +13262,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13182
13262
|
opts = {};
|
|
13183
13263
|
}
|
|
13184
13264
|
|
|
13185
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13265
|
+
return _context14.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13186
13266
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13187
13267
|
}), {
|
|
13188
13268
|
method: 'put',
|
|
@@ -13221,7 +13301,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
13221
13301
|
doesParamExist.default({
|
|
13222
13302
|
accountId: accountId
|
|
13223
13303
|
}, opts.hyperMediaEndpoint);
|
|
13224
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13304
|
+
return _context15.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13225
13305
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
|
|
13226
13306
|
}), {
|
|
13227
13307
|
method: 'post',
|
|
@@ -13465,7 +13545,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13465
13545
|
}
|
|
13466
13546
|
|
|
13467
13547
|
_context18.next = 8;
|
|
13468
|
-
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$
|
|
13548
|
+
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$W({}, opts, {
|
|
13469
13549
|
requestConfig: {
|
|
13470
13550
|
tokenType: 'session'
|
|
13471
13551
|
}
|
|
@@ -13497,7 +13577,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13497
13577
|
break;
|
|
13498
13578
|
}
|
|
13499
13579
|
|
|
13500
|
-
healthFundAccountRequestBody = _objectSpread$
|
|
13580
|
+
healthFundAccountRequestBody = _objectSpread$W({
|
|
13501
13581
|
healthFundId: _get(healthFund, '_id')
|
|
13502
13582
|
}, data || {}); // If it's an existing account, delete their current health fund account (if any), and add the new one to their account.
|
|
13503
13583
|
|
|
@@ -13617,7 +13697,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
|
|
|
13617
13697
|
doesParamExist.default({
|
|
13618
13698
|
paymentMethodId: paymentMethodId
|
|
13619
13699
|
}, opts.hyperMediaEndpoint);
|
|
13620
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
13700
|
+
return _context19.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13621
13701
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
|
|
13622
13702
|
}), {
|
|
13623
13703
|
method: 'delete',
|
|
@@ -13660,9 +13740,9 @@ var selfCheckoutSessions = /*#__PURE__*/Object.freeze({
|
|
|
13660
13740
|
deletePaymentMethod: deletePaymentMethod
|
|
13661
13741
|
});
|
|
13662
13742
|
|
|
13663
|
-
function ownKeys$
|
|
13743
|
+
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; }
|
|
13664
13744
|
|
|
13665
|
-
function _objectSpread$
|
|
13745
|
+
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; }
|
|
13666
13746
|
|
|
13667
13747
|
var pathBusinessServices = function pathBusinessServices(businessId) {
|
|
13668
13748
|
return "/businesses/" + businessId + "/services";
|
|
@@ -13712,7 +13792,7 @@ var createBusinessService = /*#__PURE__*/function () {
|
|
|
13712
13792
|
doesParamExist.default({
|
|
13713
13793
|
businessId: businessId
|
|
13714
13794
|
}, opts.hyperMediaEndpoint);
|
|
13715
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13795
|
+
return _context.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13716
13796
|
path: "" + pathBusinessServices(businessId)
|
|
13717
13797
|
}), {
|
|
13718
13798
|
method: 'post',
|
|
@@ -13753,7 +13833,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13753
13833
|
businessId: businessId,
|
|
13754
13834
|
practiceId: practiceId
|
|
13755
13835
|
}, opts.hyperMediaEndpoint);
|
|
13756
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13836
|
+
return _context2.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13757
13837
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13758
13838
|
}), {
|
|
13759
13839
|
method: 'post',
|
|
@@ -13793,7 +13873,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
|
|
|
13793
13873
|
businessId: businessId,
|
|
13794
13874
|
serviceId: serviceId
|
|
13795
13875
|
}, opts.hyperMediaEndpoint);
|
|
13796
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
13876
|
+
return _context3.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13797
13877
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13798
13878
|
}), {
|
|
13799
13879
|
method: 'delete'
|
|
@@ -13832,7 +13912,7 @@ var getBusinessService = /*#__PURE__*/function () {
|
|
|
13832
13912
|
businessId: businessId,
|
|
13833
13913
|
serviceId: serviceId
|
|
13834
13914
|
}, opts.hyperMediaEndpoint);
|
|
13835
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
13915
|
+
return _context4.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13836
13916
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13837
13917
|
}), {
|
|
13838
13918
|
method: 'get'
|
|
@@ -13870,7 +13950,7 @@ var getBusinessServices = /*#__PURE__*/function () {
|
|
|
13870
13950
|
doesParamExist.default({
|
|
13871
13951
|
businessId: businessId
|
|
13872
13952
|
}, opts.hyperMediaEndpoint);
|
|
13873
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
13953
|
+
return _context5.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13874
13954
|
path: "" + pathBusinessServices(businessId)
|
|
13875
13955
|
}), {
|
|
13876
13956
|
method: 'get',
|
|
@@ -13912,7 +13992,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13912
13992
|
practiceId: practiceId,
|
|
13913
13993
|
serviceId: serviceId
|
|
13914
13994
|
}, opts.hyperMediaEndpoint);
|
|
13915
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
13995
|
+
return _context6.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13916
13996
|
path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
|
|
13917
13997
|
}), {
|
|
13918
13998
|
method: 'get'
|
|
@@ -13956,7 +14036,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
|
|
|
13956
14036
|
businessId: businessId,
|
|
13957
14037
|
practiceId: practiceId
|
|
13958
14038
|
}, opts.hyperMediaEndpoint);
|
|
13959
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
14039
|
+
return _context7.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13960
14040
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13961
14041
|
}), {
|
|
13962
14042
|
method: 'get',
|
|
@@ -14003,7 +14083,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14003
14083
|
practiceId: practiceId,
|
|
14004
14084
|
staffId: staffId
|
|
14005
14085
|
}, opts.hyperMediaEndpoint);
|
|
14006
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
14086
|
+
return _context8.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14007
14087
|
path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
|
|
14008
14088
|
}), {
|
|
14009
14089
|
method: 'get',
|
|
@@ -14052,7 +14132,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
|
|
|
14052
14132
|
staffId: staffId,
|
|
14053
14133
|
serviceId: serviceId
|
|
14054
14134
|
}, opts.hyperMediaEndpoint);
|
|
14055
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
14135
|
+
return _context9.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14056
14136
|
path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
|
|
14057
14137
|
}), {
|
|
14058
14138
|
method: 'get',
|
|
@@ -14093,7 +14173,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14093
14173
|
opts = {};
|
|
14094
14174
|
}
|
|
14095
14175
|
|
|
14096
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
14176
|
+
return _context10.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14097
14177
|
path: "" + pathBusinessStaffMemberServices(businessId, staffId)
|
|
14098
14178
|
}), {
|
|
14099
14179
|
method: 'get',
|
|
@@ -14134,7 +14214,7 @@ var updateBusinessService = /*#__PURE__*/function () {
|
|
|
14134
14214
|
businessId: businessId,
|
|
14135
14215
|
serviceId: serviceId
|
|
14136
14216
|
}, opts.hyperMediaEndpoint);
|
|
14137
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14217
|
+
return _context11.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14138
14218
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14139
14219
|
}), {
|
|
14140
14220
|
method: 'put',
|
|
@@ -14169,9 +14249,9 @@ var services = /*#__PURE__*/Object.freeze({
|
|
|
14169
14249
|
updateBusinessService: updateBusinessService
|
|
14170
14250
|
});
|
|
14171
14251
|
|
|
14172
|
-
function ownKeys$
|
|
14252
|
+
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; }
|
|
14173
14253
|
|
|
14174
|
-
function _objectSpread$
|
|
14254
|
+
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; }
|
|
14175
14255
|
|
|
14176
14256
|
var pathBusiness$1 = function pathBusiness(businessId) {
|
|
14177
14257
|
return "/businesses/" + businessId;
|
|
@@ -14196,7 +14276,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
|
|
|
14196
14276
|
doesParamExist.default({
|
|
14197
14277
|
businessId: businessId
|
|
14198
14278
|
}, opts.hyperMediaEndpoint);
|
|
14199
|
-
return request(_objectSpread$
|
|
14279
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14200
14280
|
path: pathBusiness$1(businessId) + "/settlements"
|
|
14201
14281
|
}), {
|
|
14202
14282
|
method: 'get',
|
|
@@ -14222,7 +14302,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
|
|
|
14222
14302
|
doesParamExist.default({
|
|
14223
14303
|
businessId: businessId
|
|
14224
14304
|
}, opts.hyperMediaEndpoint);
|
|
14225
|
-
return request(_objectSpread$
|
|
14305
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14226
14306
|
path: pathBusiness$1(businessId) + "/settlementsummaries"
|
|
14227
14307
|
}), {
|
|
14228
14308
|
method: 'get',
|
|
@@ -14248,7 +14328,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
|
|
|
14248
14328
|
doesParamExist.default({
|
|
14249
14329
|
businessId: businessId
|
|
14250
14330
|
}, opts.hyperMediaEndpoint);
|
|
14251
|
-
return request(_objectSpread$
|
|
14331
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14252
14332
|
path: pathBusiness$1(businessId) + "/settlementsummaries/period"
|
|
14253
14333
|
}), {
|
|
14254
14334
|
method: 'get',
|
|
@@ -14278,7 +14358,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
|
|
|
14278
14358
|
doesParamExist.default({
|
|
14279
14359
|
settlementSummaryId: settlementSummaryId
|
|
14280
14360
|
}, opts.hyperMediaEndpoint);
|
|
14281
|
-
return request(_objectSpread$
|
|
14361
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14282
14362
|
path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
|
|
14283
14363
|
}), {
|
|
14284
14364
|
method: 'get',
|
|
@@ -14304,7 +14384,7 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
|
|
|
14304
14384
|
doesParamExist.default({
|
|
14305
14385
|
businessId: businessId
|
|
14306
14386
|
}, opts.hyperMediaEndpoint);
|
|
14307
|
-
return request(_objectSpread$
|
|
14387
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14308
14388
|
path: pathBusiness$1(businessId) + "/settlementsummariessearchoptions"
|
|
14309
14389
|
}), {
|
|
14310
14390
|
method: 'get',
|
|
@@ -14321,9 +14401,9 @@ var settlements = /*#__PURE__*/Object.freeze({
|
|
|
14321
14401
|
getBusinessSettlementSummariesSearchOptions: getBusinessSettlementSummariesSearchOptions
|
|
14322
14402
|
});
|
|
14323
14403
|
|
|
14324
|
-
function ownKeys$
|
|
14404
|
+
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; }
|
|
14325
14405
|
|
|
14326
|
-
function _objectSpread$
|
|
14406
|
+
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; }
|
|
14327
14407
|
var pathBusinessSignUp = function pathBusinessSignUp() {
|
|
14328
14408
|
return '/businesses/signup';
|
|
14329
14409
|
};
|
|
@@ -14335,7 +14415,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
|
|
|
14335
14415
|
opts = {};
|
|
14336
14416
|
}
|
|
14337
14417
|
|
|
14338
|
-
return request(_objectSpread$
|
|
14418
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14339
14419
|
path: pathBusinessSignUp()
|
|
14340
14420
|
}), {
|
|
14341
14421
|
method: 'post',
|
|
@@ -14347,7 +14427,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
|
|
|
14347
14427
|
opts = {};
|
|
14348
14428
|
}
|
|
14349
14429
|
|
|
14350
|
-
return request(_objectSpread$
|
|
14430
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14351
14431
|
path: pathSignUp()
|
|
14352
14432
|
}), {
|
|
14353
14433
|
method: 'post',
|
|
@@ -14363,9 +14443,9 @@ var signUp$1 = /*#__PURE__*/Object.freeze({
|
|
|
14363
14443
|
createConsumerAccount: createConsumerAccount
|
|
14364
14444
|
});
|
|
14365
14445
|
|
|
14366
|
-
function ownKeys$
|
|
14446
|
+
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; }
|
|
14367
14447
|
|
|
14368
|
-
function _objectSpread$
|
|
14448
|
+
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; }
|
|
14369
14449
|
var pathBusinessSpecialties = function pathBusinessSpecialties(businessId) {
|
|
14370
14450
|
return "/businesses/" + businessId + "/specialties";
|
|
14371
14451
|
};
|
|
@@ -14384,7 +14464,7 @@ var getSpecialties = function getSpecialties(query, opts) {
|
|
|
14384
14464
|
opts = {};
|
|
14385
14465
|
}
|
|
14386
14466
|
|
|
14387
|
-
return request(_objectSpread$
|
|
14467
|
+
return request(_objectSpread$_({}, opts, {
|
|
14388
14468
|
path: pathSpecialties
|
|
14389
14469
|
}), {
|
|
14390
14470
|
method: 'get',
|
|
@@ -14406,7 +14486,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
|
|
|
14406
14486
|
doesParamExist.default({
|
|
14407
14487
|
businessId: businessId
|
|
14408
14488
|
});
|
|
14409
|
-
return request(_objectSpread$
|
|
14489
|
+
return request(_objectSpread$_({}, opts, {
|
|
14410
14490
|
path: pathBusinessSpecialties(businessId)
|
|
14411
14491
|
}), {
|
|
14412
14492
|
method: 'get',
|
|
@@ -14427,7 +14507,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
|
|
|
14427
14507
|
doesParamExist.default({
|
|
14428
14508
|
specialtyId: specialtyId
|
|
14429
14509
|
});
|
|
14430
|
-
return request(_objectSpread$
|
|
14510
|
+
return request(_objectSpread$_({}, opts, {
|
|
14431
14511
|
path: pathSpecialty(specialtyId)
|
|
14432
14512
|
}), {
|
|
14433
14513
|
method: 'get'
|
|
@@ -14444,9 +14524,9 @@ var specialties = /*#__PURE__*/Object.freeze({
|
|
|
14444
14524
|
getSpecialty: getSpecialty
|
|
14445
14525
|
});
|
|
14446
14526
|
|
|
14447
|
-
function ownKeys
|
|
14527
|
+
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; }
|
|
14448
14528
|
|
|
14449
|
-
function _objectSpread
|
|
14529
|
+
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; }
|
|
14450
14530
|
var pathLinkStaffProfile = function pathLinkStaffProfile(staffProfileId) {
|
|
14451
14531
|
return "/staffprofiles/" + staffProfileId + "/link";
|
|
14452
14532
|
};
|
|
@@ -14467,7 +14547,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
|
|
|
14467
14547
|
doesParamExist.default({
|
|
14468
14548
|
organisationId: organisationId
|
|
14469
14549
|
}, opts.hyperMediaEndpoint);
|
|
14470
|
-
return request(_objectSpread
|
|
14550
|
+
return request(_objectSpread$$({}, opts, {
|
|
14471
14551
|
path: pathOrganisationStaffProfiles(organisationId)
|
|
14472
14552
|
}), {
|
|
14473
14553
|
method: 'get',
|
|
@@ -14482,7 +14562,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
|
|
|
14482
14562
|
doesParamExist.default({
|
|
14483
14563
|
staffProfileId: staffProfileId
|
|
14484
14564
|
}, opts.hyperMediaEndpoint);
|
|
14485
|
-
return request(_objectSpread
|
|
14565
|
+
return request(_objectSpread$$({}, opts, {
|
|
14486
14566
|
path: pathStaffProfile(staffProfileId)
|
|
14487
14567
|
}), {
|
|
14488
14568
|
method: 'get'
|
|
@@ -14500,7 +14580,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
|
|
|
14500
14580
|
var body = {
|
|
14501
14581
|
staffId: staffId
|
|
14502
14582
|
};
|
|
14503
|
-
return request(_objectSpread
|
|
14583
|
+
return request(_objectSpread$$({}, opts, {
|
|
14504
14584
|
path: pathLinkStaffProfile(staffProfileId)
|
|
14505
14585
|
}), {
|
|
14506
14586
|
method: 'put',
|
|
@@ -14515,7 +14595,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
|
|
|
14515
14595
|
doesParamExist.default({
|
|
14516
14596
|
staffProfileId: staffProfileId
|
|
14517
14597
|
}, opts.hyperMediaEndpoint);
|
|
14518
|
-
return request(_objectSpread
|
|
14598
|
+
return request(_objectSpread$$({}, opts, {
|
|
14519
14599
|
path: pathUnlinkStaffProfile(staffProfileId)
|
|
14520
14600
|
}), {
|
|
14521
14601
|
method: 'put'
|
|
@@ -14534,9 +14614,9 @@ var staffProfiles = /*#__PURE__*/Object.freeze({
|
|
|
14534
14614
|
unlinkStaffProfile: unlinkStaffProfile
|
|
14535
14615
|
});
|
|
14536
14616
|
|
|
14537
|
-
function ownKeys
|
|
14617
|
+
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; }
|
|
14538
14618
|
|
|
14539
|
-
function _objectSpread
|
|
14619
|
+
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; }
|
|
14540
14620
|
|
|
14541
14621
|
var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
|
|
14542
14622
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
|
|
@@ -14603,7 +14683,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14603
14683
|
doesParamExist.default({
|
|
14604
14684
|
businessId: businessId
|
|
14605
14685
|
}, opts.hyperMediaEndpoint);
|
|
14606
|
-
return _context.abrupt("return", request(_objectSpread
|
|
14686
|
+
return _context.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14607
14687
|
path: pathBusinessStaff(businessId)
|
|
14608
14688
|
}), {
|
|
14609
14689
|
method: 'post',
|
|
@@ -14642,7 +14722,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
14642
14722
|
doesParamExist.default({
|
|
14643
14723
|
organisationId: organisationId
|
|
14644
14724
|
}, opts.hyperMediaEndpoint);
|
|
14645
|
-
return _context2.abrupt("return", request(_objectSpread
|
|
14725
|
+
return _context2.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14646
14726
|
path: pathOrganisationStaff(organisationId)
|
|
14647
14727
|
}), {
|
|
14648
14728
|
method: 'post',
|
|
@@ -14682,7 +14762,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14682
14762
|
businessId: businessId,
|
|
14683
14763
|
staffId: staffId
|
|
14684
14764
|
}, opts.hyperMediaEndpoint);
|
|
14685
|
-
return _context3.abrupt("return", request(_objectSpread
|
|
14765
|
+
return _context3.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14686
14766
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14687
14767
|
}), {
|
|
14688
14768
|
method: 'delete'
|
|
@@ -14721,7 +14801,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
14721
14801
|
businessId: businessId,
|
|
14722
14802
|
staffId: staffId
|
|
14723
14803
|
}, opts.hyperMediaEndpoint);
|
|
14724
|
-
return _context4.abrupt("return", request(_objectSpread
|
|
14804
|
+
return _context4.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14725
14805
|
path: pathBusinessStaffMember(businessId, staffId) + "/email"
|
|
14726
14806
|
}), {
|
|
14727
14807
|
method: 'delete'
|
|
@@ -14760,7 +14840,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14760
14840
|
businessId: businessId,
|
|
14761
14841
|
staffId: staffId
|
|
14762
14842
|
}, opts.hyperMediaEndpoint);
|
|
14763
|
-
return _context5.abrupt("return", request(_objectSpread
|
|
14843
|
+
return _context5.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14764
14844
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14765
14845
|
}), {
|
|
14766
14846
|
method: 'get'
|
|
@@ -14800,7 +14880,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
|
|
|
14800
14880
|
businessId: businessId,
|
|
14801
14881
|
staffId: staffId
|
|
14802
14882
|
}, opts.hyperMediaEndpoint);
|
|
14803
|
-
return _context6.abrupt("return", request(_objectSpread
|
|
14883
|
+
return _context6.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14804
14884
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
14805
14885
|
}), {
|
|
14806
14886
|
method: 'get',
|
|
@@ -14844,7 +14924,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
|
|
|
14844
14924
|
practiceId: practiceId,
|
|
14845
14925
|
staffId: staffId
|
|
14846
14926
|
}, opts.hyperMediaEndpoint);
|
|
14847
|
-
return _context7.abrupt("return", request(_objectSpread
|
|
14927
|
+
return _context7.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14848
14928
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
|
|
14849
14929
|
}), {
|
|
14850
14930
|
method: 'get'
|
|
@@ -14890,7 +14970,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
|
|
|
14890
14970
|
practiceId: practiceId,
|
|
14891
14971
|
staffId: staffId
|
|
14892
14972
|
}, opts.hyperMediaEndpoint);
|
|
14893
|
-
return _context8.abrupt("return", request(_objectSpread
|
|
14973
|
+
return _context8.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14894
14974
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
|
|
14895
14975
|
}), {
|
|
14896
14976
|
method: 'get',
|
|
@@ -14931,7 +15011,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
14931
15011
|
businessId: businessId,
|
|
14932
15012
|
practiceId: practiceId
|
|
14933
15013
|
}, opts.hyperMediaEndpoint);
|
|
14934
|
-
return _context9.abrupt("return", request(_objectSpread
|
|
15014
|
+
return _context9.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14935
15015
|
path: pathBusinessPracticeStaffMembers(businessId, practiceId)
|
|
14936
15016
|
}), {
|
|
14937
15017
|
method: 'get',
|
|
@@ -14974,7 +15054,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
14974
15054
|
formId: formId,
|
|
14975
15055
|
practiceId: practiceId
|
|
14976
15056
|
}, opts.hyperMediaEndpoint);
|
|
14977
|
-
return _context10.abrupt("return", request(_objectSpread
|
|
15057
|
+
return _context10.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14978
15058
|
path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
|
|
14979
15059
|
}), {
|
|
14980
15060
|
method: 'get',
|
|
@@ -15019,7 +15099,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
|
|
|
15019
15099
|
businessId: businessId,
|
|
15020
15100
|
serviceId: serviceId
|
|
15021
15101
|
}, opts.hyperMediaEndpoint);
|
|
15022
|
-
return _context11.abrupt("return", request(_objectSpread
|
|
15102
|
+
return _context11.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15023
15103
|
path: pathBusinessServiceStaffMembers(businessId, serviceId)
|
|
15024
15104
|
}), {
|
|
15025
15105
|
method: 'get',
|
|
@@ -15056,7 +15136,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
|
|
|
15056
15136
|
doesParamExist.default({
|
|
15057
15137
|
businessId: businessId
|
|
15058
15138
|
}, opts.hyperMediaEndpoint);
|
|
15059
|
-
return _context12.abrupt("return", request(_objectSpread
|
|
15139
|
+
return _context12.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15060
15140
|
path: pathBusinessStaff(businessId)
|
|
15061
15141
|
}), {
|
|
15062
15142
|
method: 'get',
|
|
@@ -15098,7 +15178,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
|
|
|
15098
15178
|
staffId: staffId,
|
|
15099
15179
|
contentType: contentType
|
|
15100
15180
|
}, opts.hyperMediaEndpoint);
|
|
15101
|
-
return _context13.abrupt("return", request(_objectSpread
|
|
15181
|
+
return _context13.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15102
15182
|
path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
|
|
15103
15183
|
}), {
|
|
15104
15184
|
method: 'get',
|
|
@@ -15142,7 +15222,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
|
|
|
15142
15222
|
doesParamExist.default({
|
|
15143
15223
|
organisationId: organisationId
|
|
15144
15224
|
}, opts.hyperMediaEndpoint);
|
|
15145
|
-
return _context14.abrupt("return", request(_objectSpread
|
|
15225
|
+
return _context14.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15146
15226
|
path: pathOrganisationStaff(organisationId)
|
|
15147
15227
|
}), {
|
|
15148
15228
|
method: 'get',
|
|
@@ -15180,7 +15260,7 @@ var getStaffMember = /*#__PURE__*/function () {
|
|
|
15180
15260
|
doesParamExist.default({
|
|
15181
15261
|
staffId: staffId
|
|
15182
15262
|
}, opts.hyperMediaEndpoint);
|
|
15183
|
-
return _context15.abrupt("return", request(_objectSpread
|
|
15263
|
+
return _context15.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15184
15264
|
path: pathStaffMember(staffId)
|
|
15185
15265
|
}), {
|
|
15186
15266
|
method: 'get'
|
|
@@ -15222,7 +15302,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15222
15302
|
practiceId: practiceId,
|
|
15223
15303
|
staffId: staffId
|
|
15224
15304
|
}, opts.hyperMediaEndpoint);
|
|
15225
|
-
return _context16.abrupt("return", request(_objectSpread
|
|
15305
|
+
return _context16.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15226
15306
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15227
15307
|
}), {
|
|
15228
15308
|
method: 'post',
|
|
@@ -15266,11 +15346,11 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15266
15346
|
businessId: businessId,
|
|
15267
15347
|
staffId: staffId
|
|
15268
15348
|
}, opts.hyperMediaEndpoint);
|
|
15269
|
-
return _context17.abrupt("return", request(_objectSpread
|
|
15349
|
+
return _context17.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15270
15350
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15271
15351
|
}), {
|
|
15272
15352
|
method: 'post',
|
|
15273
|
-
data: _objectSpread
|
|
15353
|
+
data: _objectSpread$10({
|
|
15274
15354
|
roleFullName: roleFullName
|
|
15275
15355
|
}, body)
|
|
15276
15356
|
}));
|
|
@@ -15307,7 +15387,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15307
15387
|
doesParamExist.default({
|
|
15308
15388
|
businessId: businessId
|
|
15309
15389
|
}, opts.hyperMediaEndpoint);
|
|
15310
|
-
return _context18.abrupt("return", request(_objectSpread
|
|
15390
|
+
return _context18.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15311
15391
|
path: pathBusinessStaff(businessId) + "/invites"
|
|
15312
15392
|
}), {
|
|
15313
15393
|
method: 'post',
|
|
@@ -15352,7 +15432,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15352
15432
|
doesParamExist.default({
|
|
15353
15433
|
businessId: businessId
|
|
15354
15434
|
}, opts.hyperMediaEndpoint);
|
|
15355
|
-
return _context19.abrupt("return", request(_objectSpread
|
|
15435
|
+
return _context19.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15356
15436
|
path: pathBusinessStaffMember(businessId, staffId) + "/invites"
|
|
15357
15437
|
}), {
|
|
15358
15438
|
method: 'post',
|
|
@@ -15395,7 +15475,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15395
15475
|
practiceId: practiceId,
|
|
15396
15476
|
staffId: staffId
|
|
15397
15477
|
}, opts.hyperMediaEndpoint);
|
|
15398
|
-
return _context20.abrupt("return", request(_objectSpread
|
|
15478
|
+
return _context20.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15399
15479
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15400
15480
|
}), {
|
|
15401
15481
|
method: 'delete',
|
|
@@ -15439,11 +15519,11 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15439
15519
|
businessId: businessId,
|
|
15440
15520
|
staffId: staffId
|
|
15441
15521
|
}, opts.hyperMediaEndpoint);
|
|
15442
|
-
return _context21.abrupt("return", request(_objectSpread
|
|
15522
|
+
return _context21.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15443
15523
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15444
15524
|
}), {
|
|
15445
15525
|
method: 'delete',
|
|
15446
|
-
data: _objectSpread
|
|
15526
|
+
data: _objectSpread$10({
|
|
15447
15527
|
roleFullName: roleFullName
|
|
15448
15528
|
}, body)
|
|
15449
15529
|
}));
|
|
@@ -15482,7 +15562,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15482
15562
|
businessId: businessId,
|
|
15483
15563
|
staffId: staffId
|
|
15484
15564
|
}, opts.hyperMediaEndpoint);
|
|
15485
|
-
return _context22.abrupt("return", request(_objectSpread
|
|
15565
|
+
return _context22.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15486
15566
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
15487
15567
|
}), {
|
|
15488
15568
|
method: 'put',
|
|
@@ -15523,7 +15603,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
15523
15603
|
businessId: businessId,
|
|
15524
15604
|
staffId: staffId
|
|
15525
15605
|
}, opts.hyperMediaEndpoint);
|
|
15526
|
-
return _context23.abrupt("return", request(_objectSpread
|
|
15606
|
+
return _context23.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15527
15607
|
path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
|
|
15528
15608
|
}), {
|
|
15529
15609
|
method: 'post',
|
|
@@ -15564,7 +15644,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
15564
15644
|
organisationId: organisationId,
|
|
15565
15645
|
staffId: staffId
|
|
15566
15646
|
}, opts.hyperMediaEndpoint);
|
|
15567
|
-
return _context24.abrupt("return", request(_objectSpread
|
|
15647
|
+
return _context24.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15568
15648
|
path: pathOrganisationStaffMember(organisationId, staffId)
|
|
15569
15649
|
}), {
|
|
15570
15650
|
method: 'put',
|
|
@@ -15603,7 +15683,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
|
|
|
15603
15683
|
doesParamExist.default({
|
|
15604
15684
|
staffId: staffId
|
|
15605
15685
|
}, opts.hyperMediaEndpoint);
|
|
15606
|
-
return _context25.abrupt("return", request(_objectSpread
|
|
15686
|
+
return _context25.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15607
15687
|
path: pathStaffMember(staffId) + "/verify"
|
|
15608
15688
|
}), {
|
|
15609
15689
|
method: 'post',
|
|
@@ -15642,7 +15722,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
|
|
|
15642
15722
|
doesParamExist.default({
|
|
15643
15723
|
staffId: staffId
|
|
15644
15724
|
}, opts.hyperMediaEndpoint);
|
|
15645
|
-
return _context26.abrupt("return", request(_objectSpread
|
|
15725
|
+
return _context26.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15646
15726
|
path: pathStaffMember(staffId) + "/clone"
|
|
15647
15727
|
}), {
|
|
15648
15728
|
method: 'post',
|
|
@@ -15676,7 +15756,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
|
|
|
15676
15756
|
doesParamExist.default({
|
|
15677
15757
|
businessId: businessId
|
|
15678
15758
|
}, opts.hyperMediaEndpoint);
|
|
15679
|
-
return request(_objectSpread
|
|
15759
|
+
return request(_objectSpread$10({}, opts, {
|
|
15680
15760
|
path: pathBusinessStaff(businessId) + "/exists"
|
|
15681
15761
|
}), {
|
|
15682
15762
|
method: 'get',
|
|
@@ -15705,7 +15785,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15705
15785
|
businessId: businessId,
|
|
15706
15786
|
staffId: staffId
|
|
15707
15787
|
}, opts.hyperMediaEndpoint);
|
|
15708
|
-
return _context27.abrupt("return", request(_objectSpread
|
|
15788
|
+
return _context27.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15709
15789
|
path: "" + pathProviderSetItems(businessId, staffId)
|
|
15710
15790
|
}), {
|
|
15711
15791
|
method: 'post',
|
|
@@ -15748,7 +15828,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15748
15828
|
staffId: staffId,
|
|
15749
15829
|
providerSetItemId: providerSetItemId
|
|
15750
15830
|
}, opts.hyperMediaEndpoint);
|
|
15751
|
-
return _context28.abrupt("return", request(_objectSpread
|
|
15831
|
+
return _context28.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15752
15832
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15753
15833
|
}), {
|
|
15754
15834
|
method: 'put',
|
|
@@ -15790,7 +15870,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15790
15870
|
staffId: staffId,
|
|
15791
15871
|
providerSetItemId: providerSetItemId
|
|
15792
15872
|
}, opts.hyperMediaEndpoint);
|
|
15793
|
-
return _context29.abrupt("return", request(_objectSpread
|
|
15873
|
+
return _context29.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15794
15874
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15795
15875
|
}), {
|
|
15796
15876
|
method: 'delete'
|
|
@@ -15823,11 +15903,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
|
|
|
15823
15903
|
doesParamExist.default({
|
|
15824
15904
|
businessId: businessId
|
|
15825
15905
|
}, opts.hyperMediaEndpoint);
|
|
15826
|
-
return request(_objectSpread
|
|
15906
|
+
return request(_objectSpread$10({}, opts, {
|
|
15827
15907
|
path: pathProvidersStatus
|
|
15828
15908
|
}), {
|
|
15829
15909
|
method: 'get',
|
|
15830
|
-
params: _objectSpread
|
|
15910
|
+
params: _objectSpread$10({}, query, {
|
|
15831
15911
|
businessId: businessId
|
|
15832
15912
|
})
|
|
15833
15913
|
});
|
|
@@ -15868,9 +15948,9 @@ var staff = /*#__PURE__*/Object.freeze({
|
|
|
15868
15948
|
getProvidersStatus: getProvidersStatus
|
|
15869
15949
|
});
|
|
15870
15950
|
|
|
15871
|
-
function ownKeys$
|
|
15951
|
+
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; }
|
|
15872
15952
|
|
|
15873
|
-
function _objectSpread$
|
|
15953
|
+
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; }
|
|
15874
15954
|
|
|
15875
15955
|
var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
|
|
15876
15956
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
|
|
@@ -15922,11 +16002,11 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
15922
16002
|
doesParamExist.default({
|
|
15923
16003
|
healthFundId: healthFundId
|
|
15924
16004
|
}, opts.hyperMediaEndpoint);
|
|
15925
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16005
|
+
return _context.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15926
16006
|
path: pathTransactionStatsForHealthFundId(healthFundId)
|
|
15927
16007
|
}), {
|
|
15928
16008
|
method: 'get',
|
|
15929
|
-
params: _objectSpread$
|
|
16009
|
+
params: _objectSpread$11({
|
|
15930
16010
|
from: from,
|
|
15931
16011
|
to: to
|
|
15932
16012
|
}, query)
|
|
@@ -15970,11 +16050,11 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
|
|
|
15970
16050
|
doesParamExist.default({
|
|
15971
16051
|
healthFundId: healthFundId
|
|
15972
16052
|
}, opts.hyperMediaEndpoint);
|
|
15973
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16053
|
+
return _context2.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
15974
16054
|
path: pathTransactionStatsCSVForHealthFundId(healthFundId)
|
|
15975
16055
|
}), {
|
|
15976
16056
|
method: 'get',
|
|
15977
|
-
params: _objectSpread$
|
|
16057
|
+
params: _objectSpread$11({
|
|
15978
16058
|
from: from,
|
|
15979
16059
|
to: to
|
|
15980
16060
|
}, query)
|
|
@@ -16018,11 +16098,11 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16018
16098
|
doesParamExist.default({
|
|
16019
16099
|
healthFundId: healthFundId
|
|
16020
16100
|
}, opts.hyperMediaEndpoint);
|
|
16021
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16101
|
+
return _context3.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16022
16102
|
path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
|
|
16023
16103
|
}), {
|
|
16024
16104
|
method: 'get',
|
|
16025
|
-
params: _objectSpread$
|
|
16105
|
+
params: _objectSpread$11({
|
|
16026
16106
|
from: from,
|
|
16027
16107
|
to: to
|
|
16028
16108
|
}, query)
|
|
@@ -16066,11 +16146,11 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
|
|
|
16066
16146
|
doesParamExist.default({
|
|
16067
16147
|
businessId: businessId
|
|
16068
16148
|
}, opts.hyperMediaEndpoint);
|
|
16069
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16149
|
+
return _context4.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16070
16150
|
path: pathTransactionStatsForBusiness(businessId)
|
|
16071
16151
|
}), {
|
|
16072
16152
|
method: 'get',
|
|
16073
|
-
params: _objectSpread$
|
|
16153
|
+
params: _objectSpread$11({
|
|
16074
16154
|
from: from,
|
|
16075
16155
|
to: to
|
|
16076
16156
|
}, query)
|
|
@@ -16116,11 +16196,11 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
|
|
|
16116
16196
|
businessId: businessId,
|
|
16117
16197
|
practiceId: practiceId
|
|
16118
16198
|
}, opts.hyperMediaEndpoint);
|
|
16119
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16199
|
+
return _context5.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16120
16200
|
path: pathTransactionStatsForPractice(businessId, practiceId)
|
|
16121
16201
|
}), {
|
|
16122
16202
|
method: 'get',
|
|
16123
|
-
params: _objectSpread$
|
|
16203
|
+
params: _objectSpread$11({
|
|
16124
16204
|
from: from,
|
|
16125
16205
|
to: to
|
|
16126
16206
|
}, query)
|
|
@@ -16164,11 +16244,11 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
|
|
|
16164
16244
|
doesParamExist.default({
|
|
16165
16245
|
organisationId: organisationId
|
|
16166
16246
|
}, opts.hyperMediaEndpoint);
|
|
16167
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16247
|
+
return _context6.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16168
16248
|
path: pathTransactionStatsForOrganisation(organisationId)
|
|
16169
16249
|
}), {
|
|
16170
16250
|
method: 'get',
|
|
16171
|
-
params: _objectSpread$
|
|
16251
|
+
params: _objectSpread$11({
|
|
16172
16252
|
from: from,
|
|
16173
16253
|
to: to
|
|
16174
16254
|
}, query)
|
|
@@ -16197,9 +16277,9 @@ var statistics = /*#__PURE__*/Object.freeze({
|
|
|
16197
16277
|
getTransactionStatsForOrganisation: getTransactionStatsForOrganisation
|
|
16198
16278
|
});
|
|
16199
16279
|
|
|
16200
|
-
function ownKeys$
|
|
16280
|
+
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; }
|
|
16201
16281
|
|
|
16202
|
-
function _objectSpread$
|
|
16282
|
+
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; }
|
|
16203
16283
|
var pathBusinessSubscriptions = function pathBusinessSubscriptions(businessId) {
|
|
16204
16284
|
return "/businesses/" + businessId + "/subscriptions";
|
|
16205
16285
|
};
|
|
@@ -16221,7 +16301,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
|
|
|
16221
16301
|
doesParamExist.default({
|
|
16222
16302
|
businessId: businessId
|
|
16223
16303
|
});
|
|
16224
|
-
return request(_objectSpread$
|
|
16304
|
+
return request(_objectSpread$12({}, opts, {
|
|
16225
16305
|
path: pathBusinessSubscriptions(businessId)
|
|
16226
16306
|
}), {
|
|
16227
16307
|
method: 'post',
|
|
@@ -16243,7 +16323,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
|
|
|
16243
16323
|
doesParamExist.default({
|
|
16244
16324
|
businessId: businessId
|
|
16245
16325
|
});
|
|
16246
|
-
return request(_objectSpread$
|
|
16326
|
+
return request(_objectSpread$12({}, opts, {
|
|
16247
16327
|
path: pathBusinessSubscriptions(businessId)
|
|
16248
16328
|
}), {
|
|
16249
16329
|
method: 'get',
|
|
@@ -16266,7 +16346,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
|
|
|
16266
16346
|
businessId: businessId,
|
|
16267
16347
|
subscriptionId: subscriptionId
|
|
16268
16348
|
});
|
|
16269
|
-
return request(_objectSpread$
|
|
16349
|
+
return request(_objectSpread$12({}, opts, {
|
|
16270
16350
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16271
16351
|
}), {
|
|
16272
16352
|
method: 'get'
|
|
@@ -16289,7 +16369,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
|
|
|
16289
16369
|
businessId: businessId,
|
|
16290
16370
|
subscriptionId: subscriptionId
|
|
16291
16371
|
});
|
|
16292
|
-
return request(_objectSpread$
|
|
16372
|
+
return request(_objectSpread$12({}, opts, {
|
|
16293
16373
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16294
16374
|
}), {
|
|
16295
16375
|
method: 'put',
|
|
@@ -16307,9 +16387,9 @@ var subscriptions = /*#__PURE__*/Object.freeze({
|
|
|
16307
16387
|
updateBusinessSubscription: updateBusinessSubscription
|
|
16308
16388
|
});
|
|
16309
16389
|
|
|
16310
|
-
function ownKeys$
|
|
16390
|
+
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; }
|
|
16311
16391
|
|
|
16312
|
-
function _objectSpread$
|
|
16392
|
+
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; }
|
|
16313
16393
|
var pathTerminalsByBusinessId = function pathTerminalsByBusinessId(businessId) {
|
|
16314
16394
|
return "/businesses/" + businessId + "/terminals";
|
|
16315
16395
|
};
|
|
@@ -16347,7 +16427,7 @@ var registerTerminal = /*#__PURE__*/function () {
|
|
|
16347
16427
|
businessId: businessId,
|
|
16348
16428
|
practiceId: practiceId
|
|
16349
16429
|
}, opts.hyperMediaEndpoint);
|
|
16350
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16430
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16351
16431
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16352
16432
|
}), {
|
|
16353
16433
|
method: 'post',
|
|
@@ -16386,7 +16466,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
|
|
|
16386
16466
|
doesParamExist.default({
|
|
16387
16467
|
businessId: businessId
|
|
16388
16468
|
}, opts.hyperMediaEndpoint);
|
|
16389
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16469
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16390
16470
|
path: pathTerminalsByBusinessId(businessId)
|
|
16391
16471
|
}), {
|
|
16392
16472
|
method: 'get',
|
|
@@ -16427,7 +16507,7 @@ var getTerminals = /*#__PURE__*/function () {
|
|
|
16427
16507
|
businessId: businessId,
|
|
16428
16508
|
practiceId: practiceId
|
|
16429
16509
|
}, opts.hyperMediaEndpoint);
|
|
16430
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16510
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16431
16511
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16432
16512
|
}), {
|
|
16433
16513
|
method: 'get',
|
|
@@ -16470,7 +16550,7 @@ var getTerminal = /*#__PURE__*/function () {
|
|
|
16470
16550
|
practiceId: practiceId,
|
|
16471
16551
|
terminalId: terminalId
|
|
16472
16552
|
}, opts.hyperMediaEndpoint);
|
|
16473
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16553
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16474
16554
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16475
16555
|
}), {
|
|
16476
16556
|
method: 'get'
|
|
@@ -16512,7 +16592,7 @@ var updateTerminal = /*#__PURE__*/function () {
|
|
|
16512
16592
|
practiceId: practiceId,
|
|
16513
16593
|
terminalId: terminalId
|
|
16514
16594
|
}, opts.hyperMediaEndpoint);
|
|
16515
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16595
|
+
return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16516
16596
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16517
16597
|
}), {
|
|
16518
16598
|
method: 'put',
|
|
@@ -16554,7 +16634,7 @@ var deleteTerminal = /*#__PURE__*/function () {
|
|
|
16554
16634
|
practiceId: practiceId,
|
|
16555
16635
|
terminalId: terminalId
|
|
16556
16636
|
}, opts.hyperMediaEndpoint);
|
|
16557
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16637
|
+
return _context6.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16558
16638
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16559
16639
|
}), {
|
|
16560
16640
|
method: 'delete'
|
|
@@ -16593,7 +16673,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
16593
16673
|
businessId: businessId,
|
|
16594
16674
|
practiceId: practiceId
|
|
16595
16675
|
}, opts.hyperMediaEndpoint);
|
|
16596
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
16676
|
+
return _context7.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16597
16677
|
path: pathClientTokenByPracticeId(businessId, practiceId)
|
|
16598
16678
|
}), {
|
|
16599
16679
|
method: 'get'
|
|
@@ -16635,7 +16715,7 @@ var resetTerminal = /*#__PURE__*/function () {
|
|
|
16635
16715
|
practiceId: practiceId,
|
|
16636
16716
|
terminalId: terminalId
|
|
16637
16717
|
}, opts.hyperMediaEndpoint);
|
|
16638
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
16718
|
+
return _context8.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16639
16719
|
path: pathResetTerminal(businessId, practiceId, terminalId)
|
|
16640
16720
|
}), {
|
|
16641
16721
|
method: 'post',
|
|
@@ -16672,9 +16752,9 @@ var terminals = /*#__PURE__*/Object.freeze({
|
|
|
16672
16752
|
resetTerminal: resetTerminal
|
|
16673
16753
|
});
|
|
16674
16754
|
|
|
16675
|
-
function ownKeys$
|
|
16755
|
+
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; }
|
|
16676
16756
|
|
|
16677
|
-
function _objectSpread$
|
|
16757
|
+
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; }
|
|
16678
16758
|
var pathCreateHealthFundTransactionExport = function pathCreateHealthFundTransactionExport(healthFundId) {
|
|
16679
16759
|
return "/healthfunds/" + healthFundId + "/transactionexport";
|
|
16680
16760
|
};
|
|
@@ -16701,7 +16781,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16701
16781
|
doesParamExist.default({
|
|
16702
16782
|
healthFundId: healthFundId
|
|
16703
16783
|
}, opts.hyperMediaEndpoint);
|
|
16704
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16784
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16705
16785
|
path: pathCreateHealthFundTransactionExport(healthFundId)
|
|
16706
16786
|
}), {
|
|
16707
16787
|
method: 'post',
|
|
@@ -16746,7 +16826,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16746
16826
|
healthFundId: healthFundId,
|
|
16747
16827
|
transactionExportId: transactionExportId
|
|
16748
16828
|
}, opts.hyperMediaEndpoint);
|
|
16749
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16829
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16750
16830
|
path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
|
|
16751
16831
|
}), {
|
|
16752
16832
|
method: 'get',
|
|
@@ -16774,9 +16854,9 @@ var transactionExport = /*#__PURE__*/Object.freeze({
|
|
|
16774
16854
|
getHealthFundTransactionExport: getHealthFundTransactionExport
|
|
16775
16855
|
});
|
|
16776
16856
|
|
|
16777
|
-
function ownKeys$
|
|
16857
|
+
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; }
|
|
16778
16858
|
|
|
16779
|
-
function _objectSpread$
|
|
16859
|
+
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; }
|
|
16780
16860
|
|
|
16781
16861
|
var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
|
|
16782
16862
|
return "/businesses/" + businessId + "/transactions";
|
|
@@ -16996,7 +17076,7 @@ var approveTransaction = /*#__PURE__*/function () {
|
|
|
16996
17076
|
doesParamExist.default({
|
|
16997
17077
|
transactionId: transactionId
|
|
16998
17078
|
}, opts.hyperMediaEndpoint);
|
|
16999
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
17079
|
+
return _context.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17000
17080
|
path: pathTransactionApprove(transactionId)
|
|
17001
17081
|
}), {
|
|
17002
17082
|
method: 'post',
|
|
@@ -17034,7 +17114,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
|
|
|
17034
17114
|
doesParamExist.default({
|
|
17035
17115
|
healthFundId: healthFundId
|
|
17036
17116
|
}, opts.hyperMediaEndpoint);
|
|
17037
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
17117
|
+
return _context2.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17038
17118
|
path: pathHealthFundTransactionsAssign(healthFundId)
|
|
17039
17119
|
}), {
|
|
17040
17120
|
method: 'post',
|
|
@@ -17074,7 +17154,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17074
17154
|
transactionId: transactionId,
|
|
17075
17155
|
healthFundId: healthFundId
|
|
17076
17156
|
}, opts.hyperMediaEndpoint);
|
|
17077
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
17157
|
+
return _context3.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17078
17158
|
path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
|
|
17079
17159
|
}), {
|
|
17080
17160
|
method: 'put'
|
|
@@ -17111,7 +17191,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17111
17191
|
doesParamExist.default({
|
|
17112
17192
|
transactionId: transactionId
|
|
17113
17193
|
}, opts.hyperMediaEndpoint);
|
|
17114
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
17194
|
+
return _context4.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17115
17195
|
path: pathTransactionByTransactionId(transactionId) + "/assigntome"
|
|
17116
17196
|
}), {
|
|
17117
17197
|
method: 'put'
|
|
@@ -17148,7 +17228,7 @@ var cancelTransaction = /*#__PURE__*/function () {
|
|
|
17148
17228
|
doesParamExist.default({
|
|
17149
17229
|
transactionId: transactionId
|
|
17150
17230
|
}, opts.hyperMediaEndpoint);
|
|
17151
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
17231
|
+
return _context5.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17152
17232
|
path: pathTransactionByTransactionId(transactionId) + "/cancellations"
|
|
17153
17233
|
}), {
|
|
17154
17234
|
data: body,
|
|
@@ -17188,7 +17268,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17188
17268
|
transactionId: transactionId,
|
|
17189
17269
|
businessId: businessId
|
|
17190
17270
|
}, opts.hyperMediaEndpoint);
|
|
17191
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
17271
|
+
return _context6.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17192
17272
|
path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
|
|
17193
17273
|
}), {
|
|
17194
17274
|
data: body,
|
|
@@ -17231,7 +17311,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
|
|
|
17231
17311
|
practiceId: practiceId,
|
|
17232
17312
|
staffId: staffId
|
|
17233
17313
|
}, opts.hyperMediaEndpoint);
|
|
17234
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
17314
|
+
return _context7.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17235
17315
|
path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
|
|
17236
17316
|
}), {
|
|
17237
17317
|
method: 'post',
|
|
@@ -17272,7 +17352,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
|
|
|
17272
17352
|
businessId: businessId,
|
|
17273
17353
|
practiceId: practiceId
|
|
17274
17354
|
}, opts.hyperMediaEndpoint);
|
|
17275
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
17355
|
+
return _context8.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17276
17356
|
path: pathBusinessPracticeInvoices(businessId, practiceId)
|
|
17277
17357
|
}), {
|
|
17278
17358
|
method: 'post',
|
|
@@ -17311,7 +17391,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
|
|
|
17311
17391
|
doesParamExist.default({
|
|
17312
17392
|
businessId: businessId
|
|
17313
17393
|
}, opts.hyperMediaEndpoint);
|
|
17314
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
17394
|
+
return _context9.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17315
17395
|
path: pathBusinessTransactionQuotes(businessId)
|
|
17316
17396
|
}), {
|
|
17317
17397
|
method: 'post',
|
|
@@ -17354,7 +17434,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
|
|
|
17354
17434
|
practiceId: practiceId,
|
|
17355
17435
|
staffId: staffId
|
|
17356
17436
|
}, opts.hyperMediaEndpoint);
|
|
17357
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
17437
|
+
return _context10.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17358
17438
|
path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
|
|
17359
17439
|
}), {
|
|
17360
17440
|
method: 'post',
|
|
@@ -17396,7 +17476,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17396
17476
|
doesParamExist.default({
|
|
17397
17477
|
transactionId: transactionId
|
|
17398
17478
|
}, opts.hyperMediaEndpoint);
|
|
17399
|
-
newBody = _objectSpread$
|
|
17479
|
+
newBody = _objectSpread$15({}, body);
|
|
17400
17480
|
|
|
17401
17481
|
if (source && nonce) {
|
|
17402
17482
|
newBody.payment = {
|
|
@@ -17405,7 +17485,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17405
17485
|
};
|
|
17406
17486
|
}
|
|
17407
17487
|
|
|
17408
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
17488
|
+
return _context11.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17409
17489
|
path: pathTransactionByTransactionId(transactionId) + "/payments"
|
|
17410
17490
|
}), {
|
|
17411
17491
|
method: 'post',
|
|
@@ -17444,7 +17524,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
|
|
|
17444
17524
|
doesParamExist.default({
|
|
17445
17525
|
transactionId: transactionId
|
|
17446
17526
|
}, opts.hyperMediaEndpoint);
|
|
17447
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
17527
|
+
return _context12.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17448
17528
|
path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
|
|
17449
17529
|
}), {
|
|
17450
17530
|
method: 'post',
|
|
@@ -17484,7 +17564,7 @@ var completeQuote = /*#__PURE__*/function () {
|
|
|
17484
17564
|
transactionId: transactionId,
|
|
17485
17565
|
memberId: memberId
|
|
17486
17566
|
}, opts.hyperMediaEndpoint);
|
|
17487
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
17567
|
+
return _context13.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17488
17568
|
path: pathTransactionByTransactionId(transactionId) + "/completequote"
|
|
17489
17569
|
}), {
|
|
17490
17570
|
method: 'post',
|
|
@@ -17526,7 +17606,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
|
|
|
17526
17606
|
transactionId: transactionId,
|
|
17527
17607
|
tagId: tagId
|
|
17528
17608
|
}, opts.hyperMediaEndpoint);
|
|
17529
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
17609
|
+
return _context14.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17530
17610
|
path: pathTransactionTag(transactionId, tagId)
|
|
17531
17611
|
}), {
|
|
17532
17612
|
method: 'delete'
|
|
@@ -17563,7 +17643,7 @@ var deleteTransaction = /*#__PURE__*/function () {
|
|
|
17563
17643
|
doesParamExist.default({
|
|
17564
17644
|
transactionId: transactionId
|
|
17565
17645
|
}, opts.hyperMediaEndpoint);
|
|
17566
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
17646
|
+
return _context15.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17567
17647
|
path: pathTransactionByTransactionId(transactionId)
|
|
17568
17648
|
}), {
|
|
17569
17649
|
method: 'delete'
|
|
@@ -17605,7 +17685,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
|
|
|
17605
17685
|
doesParamExist.default({
|
|
17606
17686
|
businessId: businessId
|
|
17607
17687
|
}, opts.hyperMediaEndpoint);
|
|
17608
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
17688
|
+
return _context16.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17609
17689
|
path: pathBusinessTransactions(businessId)
|
|
17610
17690
|
}), {
|
|
17611
17691
|
method: 'get',
|
|
@@ -17645,7 +17725,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17645
17725
|
businessId: businessId,
|
|
17646
17726
|
transactionId: transactionId
|
|
17647
17727
|
}, opts.hyperMediaEndpoint);
|
|
17648
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
17728
|
+
return _context17.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17649
17729
|
path: pathBusinessTransaction(businessId, transactionId)
|
|
17650
17730
|
}), {
|
|
17651
17731
|
method: 'get',
|
|
@@ -17685,7 +17765,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
|
|
|
17685
17765
|
businessId: businessId,
|
|
17686
17766
|
invoiceReference: invoiceReference
|
|
17687
17767
|
}, opts.hyperMediaEndpoint);
|
|
17688
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
17768
|
+
return _context18.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17689
17769
|
path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
|
|
17690
17770
|
}), {
|
|
17691
17771
|
method: 'get'
|
|
@@ -17724,7 +17804,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
17724
17804
|
businessId: businessId,
|
|
17725
17805
|
transactionId: transactionId
|
|
17726
17806
|
}, opts.hyperMediaEndpoint);
|
|
17727
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
17807
|
+
return _context19.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17728
17808
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
|
|
17729
17809
|
}), {
|
|
17730
17810
|
method: 'get',
|
|
@@ -17764,7 +17844,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
17764
17844
|
businessId: businessId,
|
|
17765
17845
|
transactionId: transactionId
|
|
17766
17846
|
}, opts.hyperMediaEndpoint);
|
|
17767
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
17847
|
+
return _context20.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17768
17848
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
|
|
17769
17849
|
}), {
|
|
17770
17850
|
method: 'get',
|
|
@@ -17809,7 +17889,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
|
|
|
17809
17889
|
businessId: businessId,
|
|
17810
17890
|
practiceId: practiceId
|
|
17811
17891
|
}, opts.hyperMediaEndpoint);
|
|
17812
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
17892
|
+
return _context21.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17813
17893
|
path: pathBusinessPracticeTransactions(businessId, practiceId)
|
|
17814
17894
|
}), {
|
|
17815
17895
|
method: 'get',
|
|
@@ -17856,7 +17936,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
|
|
|
17856
17936
|
practiceId: practiceId,
|
|
17857
17937
|
staffId: staffId
|
|
17858
17938
|
}, opts.hyperMediaEndpoint);
|
|
17859
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
17939
|
+
return _context22.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17860
17940
|
path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
|
|
17861
17941
|
}), {
|
|
17862
17942
|
method: 'get',
|
|
@@ -17899,7 +17979,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
|
|
|
17899
17979
|
doesParamExist.default({
|
|
17900
17980
|
healthFundId: healthFundId
|
|
17901
17981
|
}, opts.hyperMediaEndpoint);
|
|
17902
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
17982
|
+
return _context23.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17903
17983
|
path: pathTransactionsForHealthFund(healthFundId)
|
|
17904
17984
|
}), {
|
|
17905
17985
|
method: 'get',
|
|
@@ -17939,7 +18019,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
|
|
|
17939
18019
|
healthFundId: healthFundId,
|
|
17940
18020
|
transactionId: transactionId
|
|
17941
18021
|
}, opts.hyperMediaEndpoint);
|
|
17942
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
18022
|
+
return _context24.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17943
18023
|
path: pathHealthFundTransaction(healthFundId, transactionId)
|
|
17944
18024
|
}), {
|
|
17945
18025
|
method: 'get'
|
|
@@ -17981,7 +18061,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
|
|
|
17981
18061
|
doesParamExist.default({
|
|
17982
18062
|
memberId: memberId
|
|
17983
18063
|
}, opts.hyperMediaEndpoint);
|
|
17984
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
18064
|
+
return _context25.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17985
18065
|
path: pathTransactionsByMember(memberId)
|
|
17986
18066
|
}), {
|
|
17987
18067
|
method: 'get',
|
|
@@ -18025,7 +18105,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
|
|
|
18025
18105
|
doesParamExist.default({
|
|
18026
18106
|
healthFundId: healthFundId
|
|
18027
18107
|
}, opts.hyperMediaEndpoint);
|
|
18028
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
18108
|
+
return _context26.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18029
18109
|
path: pathHealthFundMemberTransactions(healthFundId, memberId)
|
|
18030
18110
|
}), {
|
|
18031
18111
|
method: 'get',
|
|
@@ -18063,7 +18143,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
|
|
|
18063
18143
|
doesParamExist.default({
|
|
18064
18144
|
transactionId: transactionId
|
|
18065
18145
|
}, opts.hyperMediaEndpoint);
|
|
18066
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
18146
|
+
return _context27.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18067
18147
|
path: pathTransactionByTransactionId(transactionId)
|
|
18068
18148
|
}), {
|
|
18069
18149
|
method: 'get',
|
|
@@ -18102,7 +18182,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
|
|
|
18102
18182
|
doesParamExist.default({
|
|
18103
18183
|
transactionId: transactionId
|
|
18104
18184
|
}, opts.hyperMediaEndpoint);
|
|
18105
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
18185
|
+
return _context28.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18106
18186
|
path: pathTransactionByTransactionId(transactionId) + "/pdf"
|
|
18107
18187
|
}), {
|
|
18108
18188
|
method: 'post',
|
|
@@ -18144,7 +18224,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
|
|
|
18144
18224
|
claimId: claimId,
|
|
18145
18225
|
transactionId: transactionId
|
|
18146
18226
|
}, opts.hyperMediaEndpoint);
|
|
18147
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
18227
|
+
return _context29.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18148
18228
|
path: pathTransactionClaimPdf(transactionId, claimId)
|
|
18149
18229
|
}), {
|
|
18150
18230
|
method: 'post',
|
|
@@ -18183,7 +18263,7 @@ var getTransactionClaimPdfV2 = /*#__PURE__*/function () {
|
|
|
18183
18263
|
opts = {};
|
|
18184
18264
|
}
|
|
18185
18265
|
|
|
18186
|
-
return _context30.abrupt("return", request(_objectSpread$
|
|
18266
|
+
return _context30.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18187
18267
|
path: pathTransactionClaimPdfV2
|
|
18188
18268
|
}), {
|
|
18189
18269
|
method: 'post',
|
|
@@ -18223,7 +18303,7 @@ var replyToQuote = /*#__PURE__*/function () {
|
|
|
18223
18303
|
doesParamExist.default({
|
|
18224
18304
|
transactionId: transactionId
|
|
18225
18305
|
}, opts.hyperMediaEndpoint);
|
|
18226
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
18306
|
+
return _context31.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18227
18307
|
path: pathReplyQuote(transactionId)
|
|
18228
18308
|
}), {
|
|
18229
18309
|
method: 'post',
|
|
@@ -18262,7 +18342,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
18262
18342
|
doesParamExist.default({
|
|
18263
18343
|
transactionId: transactionId
|
|
18264
18344
|
}, opts.hyperMediaEndpoint);
|
|
18265
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
18345
|
+
return _context32.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18266
18346
|
path: pathTransactionSendReceipt(transactionId)
|
|
18267
18347
|
}), {
|
|
18268
18348
|
method: 'post',
|
|
@@ -18301,7 +18381,7 @@ var submitInvoice = /*#__PURE__*/function () {
|
|
|
18301
18381
|
doesParamExist.default({
|
|
18302
18382
|
transactionId: transactionId
|
|
18303
18383
|
}, opts.hyperMediaEndpoint);
|
|
18304
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
18384
|
+
return _context33.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18305
18385
|
path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
|
|
18306
18386
|
}), {
|
|
18307
18387
|
method: 'post',
|
|
@@ -18340,7 +18420,7 @@ var updateTransaction = /*#__PURE__*/function () {
|
|
|
18340
18420
|
doesParamExist.default({
|
|
18341
18421
|
transactionId: transactionId
|
|
18342
18422
|
}, opts.hyperMediaEndpoint);
|
|
18343
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
18423
|
+
return _context34.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18344
18424
|
path: pathTransactionByTransactionId(transactionId)
|
|
18345
18425
|
}), {
|
|
18346
18426
|
method: 'put',
|
|
@@ -18378,7 +18458,7 @@ var validateTransaction = /*#__PURE__*/function () {
|
|
|
18378
18458
|
doesParamExist.default({
|
|
18379
18459
|
transactionId: transactionId
|
|
18380
18460
|
}, opts.hyperMediaEndpoint);
|
|
18381
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
18461
|
+
return _context35.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18382
18462
|
path: pathValidateTransaction(transactionId)
|
|
18383
18463
|
}), {
|
|
18384
18464
|
method: 'post'
|
|
@@ -18416,7 +18496,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
|
|
|
18416
18496
|
doesParamExist.default({
|
|
18417
18497
|
transactionId: transactionId
|
|
18418
18498
|
}, opts.hyperMediaEndpoint);
|
|
18419
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
18499
|
+
return _context36.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18420
18500
|
path: pathTransactionSubmitBridgeClaim(transactionId)
|
|
18421
18501
|
}), {
|
|
18422
18502
|
method: 'post',
|
|
@@ -18455,7 +18535,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
|
|
|
18455
18535
|
doesParamExist.default({
|
|
18456
18536
|
transactionId: transactionId
|
|
18457
18537
|
}, opts.hyperMediaEndpoint);
|
|
18458
|
-
return _context37.abrupt("return", request(_objectSpread$
|
|
18538
|
+
return _context37.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18459
18539
|
path: pathTransactionSubmitBridgePayment(transactionId)
|
|
18460
18540
|
}), {
|
|
18461
18541
|
method: 'post',
|
|
@@ -18494,7 +18574,7 @@ var triggerBridge = /*#__PURE__*/function () {
|
|
|
18494
18574
|
doesParamExist.default({
|
|
18495
18575
|
transactionId: transactionId
|
|
18496
18576
|
}, opts.hyperMediaEndpoint);
|
|
18497
|
-
return _context38.abrupt("return", request(_objectSpread$
|
|
18577
|
+
return _context38.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18498
18578
|
path: pathTransactionTriggerBridge(transactionId)
|
|
18499
18579
|
}), {
|
|
18500
18580
|
method: 'post',
|
|
@@ -18533,7 +18613,7 @@ var createInvoice = /*#__PURE__*/function () {
|
|
|
18533
18613
|
doesParamExist.default({
|
|
18534
18614
|
businessId: businessId
|
|
18535
18615
|
}, opts.hyperMediaEndpoint);
|
|
18536
|
-
return _context39.abrupt("return", request(_objectSpread$
|
|
18616
|
+
return _context39.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18537
18617
|
path: pathCreateInvoice(businessId)
|
|
18538
18618
|
}), {
|
|
18539
18619
|
method: 'post',
|
|
@@ -18572,7 +18652,7 @@ var createSendClaim = /*#__PURE__*/function () {
|
|
|
18572
18652
|
doesParamExist.default({
|
|
18573
18653
|
transactionId: transactionId
|
|
18574
18654
|
}, opts.hyperMediaEndpoint);
|
|
18575
|
-
return _context40.abrupt("return", request(_objectSpread$
|
|
18655
|
+
return _context40.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18576
18656
|
path: pathCreateSendClaim(transactionId)
|
|
18577
18657
|
}), {
|
|
18578
18658
|
method: 'post',
|
|
@@ -18613,7 +18693,7 @@ var updateClaim = /*#__PURE__*/function () {
|
|
|
18613
18693
|
claimId: claimId,
|
|
18614
18694
|
transactionId: transactionId
|
|
18615
18695
|
}, opts.hyperMediaEndpoint);
|
|
18616
|
-
return _context41.abrupt("return", request(_objectSpread$
|
|
18696
|
+
return _context41.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18617
18697
|
path: pathClaim(transactionId, claimId)
|
|
18618
18698
|
}), {
|
|
18619
18699
|
method: 'put',
|
|
@@ -18651,7 +18731,7 @@ var completeTransaction = /*#__PURE__*/function () {
|
|
|
18651
18731
|
doesParamExist.default({
|
|
18652
18732
|
transactionId: transactionId
|
|
18653
18733
|
}, opts.hyperMediaEndpoint);
|
|
18654
|
-
return _context42.abrupt("return", request(_objectSpread$
|
|
18734
|
+
return _context42.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18655
18735
|
path: pathCompleteTransaction(transactionId)
|
|
18656
18736
|
}), {
|
|
18657
18737
|
method: 'post'
|
|
@@ -18690,7 +18770,7 @@ var approveClaim = /*#__PURE__*/function () {
|
|
|
18690
18770
|
doesParamExist.default({
|
|
18691
18771
|
transactionId: transactionId
|
|
18692
18772
|
}, opts.hyperMediaEndpoint);
|
|
18693
|
-
return _context43.abrupt("return", request(_objectSpread$
|
|
18773
|
+
return _context43.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18694
18774
|
path: pathApproveClaim(transactionId, claimId)
|
|
18695
18775
|
}), {
|
|
18696
18776
|
method: 'post',
|
|
@@ -18730,7 +18810,7 @@ var cancelClaim = /*#__PURE__*/function () {
|
|
|
18730
18810
|
claimId: claimId,
|
|
18731
18811
|
transactionId: transactionId
|
|
18732
18812
|
}, opts.hyperMediaEndpoint);
|
|
18733
|
-
return _context44.abrupt("return", request(_objectSpread$
|
|
18813
|
+
return _context44.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18734
18814
|
path: pathCancelClaim(transactionId, claimId)
|
|
18735
18815
|
}), {
|
|
18736
18816
|
method: 'post',
|
|
@@ -18770,7 +18850,7 @@ var submitClaim = /*#__PURE__*/function () {
|
|
|
18770
18850
|
doesParamExist.default({
|
|
18771
18851
|
transactionId: transactionId
|
|
18772
18852
|
}, opts.hyperMediaEndpoint);
|
|
18773
|
-
return _context45.abrupt("return", request(_objectSpread$
|
|
18853
|
+
return _context45.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18774
18854
|
path: pathSubmitClaim(transactionId, claimId)
|
|
18775
18855
|
}), {
|
|
18776
18856
|
method: 'post',
|
|
@@ -18810,7 +18890,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
|
|
|
18810
18890
|
claimId: claimId,
|
|
18811
18891
|
transactionId: transactionId
|
|
18812
18892
|
}, opts.hyperMediaEndpoint);
|
|
18813
|
-
return _context46.abrupt("return", request(_objectSpread$
|
|
18893
|
+
return _context46.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18814
18894
|
path: pathSaveClaim(transactionId, claimId)
|
|
18815
18895
|
}), {
|
|
18816
18896
|
method: 'post'
|
|
@@ -18848,7 +18928,7 @@ var pay = /*#__PURE__*/function () {
|
|
|
18848
18928
|
doesParamExist.default({
|
|
18849
18929
|
transactionId: transactionId
|
|
18850
18930
|
}, opts.hyperMediaEndpoint);
|
|
18851
|
-
return _context47.abrupt("return", request(_objectSpread$
|
|
18931
|
+
return _context47.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18852
18932
|
path: pathTransactionPays(transactionId)
|
|
18853
18933
|
}), {
|
|
18854
18934
|
method: 'post',
|
|
@@ -18887,7 +18967,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
18887
18967
|
doesParamExist.default({
|
|
18888
18968
|
transactionId: transactionId
|
|
18889
18969
|
}, opts.hyperMediaEndpoint);
|
|
18890
|
-
return _context48.abrupt("return", request(_objectSpread$
|
|
18970
|
+
return _context48.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18891
18971
|
path: pathTransactionProcessingRequests(transactionId)
|
|
18892
18972
|
}), {
|
|
18893
18973
|
method: 'post',
|
|
@@ -18926,7 +19006,7 @@ var cancelInvoice = /*#__PURE__*/function () {
|
|
|
18926
19006
|
doesParamExist.default({
|
|
18927
19007
|
transactionId: transactionId
|
|
18928
19008
|
}, opts.hyperMediaEndpoint);
|
|
18929
|
-
return _context49.abrupt("return", request(_objectSpread$
|
|
19009
|
+
return _context49.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18930
19010
|
path: pathTransactionCancel(transactionId)
|
|
18931
19011
|
}), {
|
|
18932
19012
|
method: 'post',
|
|
@@ -18964,7 +19044,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
18964
19044
|
doesParamExist.default({
|
|
18965
19045
|
transactionId: transactionId
|
|
18966
19046
|
}, opts.hyperMediaEndpoint);
|
|
18967
|
-
return _context50.abrupt("return", request(_objectSpread$
|
|
19047
|
+
return _context50.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18968
19048
|
path: pathTransactionPaymentLink(transactionId)
|
|
18969
19049
|
}), {
|
|
18970
19050
|
method: 'get'
|
|
@@ -19004,7 +19084,7 @@ var refundByBusiness = /*#__PURE__*/function () {
|
|
|
19004
19084
|
businessId: businessId,
|
|
19005
19085
|
transactionId: transactionId
|
|
19006
19086
|
}, opts.hyperMediaEndpoint);
|
|
19007
|
-
return _context51.abrupt("return", request(_objectSpread$
|
|
19087
|
+
return _context51.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19008
19088
|
path: pathBusinessTransactionRefund(businessId, transactionId)
|
|
19009
19089
|
}), {
|
|
19010
19090
|
method: 'post',
|
|
@@ -19043,7 +19123,7 @@ var refund = /*#__PURE__*/function () {
|
|
|
19043
19123
|
doesParamExist.default({
|
|
19044
19124
|
transactionId: transactionId
|
|
19045
19125
|
}, opts.hyperMediaEndpoint);
|
|
19046
|
-
return _context52.abrupt("return", request(_objectSpread$
|
|
19126
|
+
return _context52.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19047
19127
|
path: pathTransactionRefund(transactionId)
|
|
19048
19128
|
}), {
|
|
19049
19129
|
method: 'post',
|
|
@@ -19082,7 +19162,7 @@ var saveDraft = /*#__PURE__*/function () {
|
|
|
19082
19162
|
doesParamExist.default({
|
|
19083
19163
|
businessId: businessId
|
|
19084
19164
|
}, opts.hyperMediaEndpoint);
|
|
19085
|
-
return _context53.abrupt("return", request(_objectSpread$
|
|
19165
|
+
return _context53.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19086
19166
|
path: pathCreateDraft(businessId)
|
|
19087
19167
|
}), {
|
|
19088
19168
|
method: 'post',
|
|
@@ -19121,7 +19201,7 @@ var convertDraft = /*#__PURE__*/function () {
|
|
|
19121
19201
|
doesParamExist.default({
|
|
19122
19202
|
transactionId: transactionId
|
|
19123
19203
|
}, opts.hyperMediaEndpoint);
|
|
19124
|
-
return _context54.abrupt("return", request(_objectSpread$
|
|
19204
|
+
return _context54.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19125
19205
|
path: pathConvertDraft(transactionId)
|
|
19126
19206
|
}), {
|
|
19127
19207
|
method: 'post',
|
|
@@ -19159,7 +19239,7 @@ var archive = /*#__PURE__*/function () {
|
|
|
19159
19239
|
doesParamExist.default({
|
|
19160
19240
|
transactionId: transactionId
|
|
19161
19241
|
}, opts.hyperMediaEndpoint);
|
|
19162
|
-
return _context55.abrupt("return", request(_objectSpread$
|
|
19242
|
+
return _context55.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19163
19243
|
path: pathTransactionArchives(transactionId)
|
|
19164
19244
|
}), {
|
|
19165
19245
|
method: 'put'
|
|
@@ -19196,7 +19276,7 @@ var unarchive = /*#__PURE__*/function () {
|
|
|
19196
19276
|
doesParamExist.default({
|
|
19197
19277
|
transactionId: transactionId
|
|
19198
19278
|
}, opts.hyperMediaEndpoint);
|
|
19199
|
-
return _context56.abrupt("return", request(_objectSpread$
|
|
19279
|
+
return _context56.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19200
19280
|
path: pathTransactionUnarchives(transactionId)
|
|
19201
19281
|
}), {
|
|
19202
19282
|
method: 'put'
|
|
@@ -19234,7 +19314,7 @@ var terminalInput = /*#__PURE__*/function () {
|
|
|
19234
19314
|
doesParamExist.default({
|
|
19235
19315
|
transactionId: transactionId
|
|
19236
19316
|
}, opts.hyperMediaEndpoint);
|
|
19237
|
-
return _context57.abrupt("return", request(_objectSpread$
|
|
19317
|
+
return _context57.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19238
19318
|
path: pathTransactionTerminalInput(transactionId)
|
|
19239
19319
|
}), {
|
|
19240
19320
|
method: 'post',
|
|
@@ -19273,7 +19353,7 @@ var terminalCancellation = /*#__PURE__*/function () {
|
|
|
19273
19353
|
doesParamExist.default({
|
|
19274
19354
|
transactionId: transactionId
|
|
19275
19355
|
}, opts.hyperMediaEndpoint);
|
|
19276
|
-
return _context58.abrupt("return", request(_objectSpread$
|
|
19356
|
+
return _context58.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19277
19357
|
path: pathTransactionTerminalCancel(transactionId)
|
|
19278
19358
|
}), {
|
|
19279
19359
|
method: 'post',
|
|
@@ -19313,7 +19393,7 @@ var refundPayment = /*#__PURE__*/function () {
|
|
|
19313
19393
|
doesParamExist.default({
|
|
19314
19394
|
transactionId: transactionId
|
|
19315
19395
|
}, opts.hyperMediaEndpoint);
|
|
19316
|
-
return _context59.abrupt("return", request(_objectSpread$
|
|
19396
|
+
return _context59.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19317
19397
|
path: pathTransactionPaymentRefund(transactionId, paymentId)
|
|
19318
19398
|
}), {
|
|
19319
19399
|
method: 'post',
|
|
@@ -19348,7 +19428,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19348
19428
|
opts = {};
|
|
19349
19429
|
}
|
|
19350
19430
|
|
|
19351
|
-
return _context60.abrupt("return", request(_objectSpread$
|
|
19431
|
+
return _context60.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19352
19432
|
path: pathCreateEclipseInPatientInvoice()
|
|
19353
19433
|
}), {
|
|
19354
19434
|
method: 'post',
|
|
@@ -19383,7 +19463,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19383
19463
|
opts = {};
|
|
19384
19464
|
}
|
|
19385
19465
|
|
|
19386
|
-
return _context61.abrupt("return", request(_objectSpread$
|
|
19466
|
+
return _context61.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19387
19467
|
path: pathCreateEclipseOverseasInvoice()
|
|
19388
19468
|
}), {
|
|
19389
19469
|
method: 'post',
|
|
@@ -19418,7 +19498,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
|
|
|
19418
19498
|
opts = {};
|
|
19419
19499
|
}
|
|
19420
19500
|
|
|
19421
|
-
return _context62.abrupt("return", request(_objectSpread$
|
|
19501
|
+
return _context62.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19422
19502
|
path: pathCreateEclipseOnlineEligibilityCheckInvoice()
|
|
19423
19503
|
}), {
|
|
19424
19504
|
method: 'post',
|
|
@@ -19458,7 +19538,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
19458
19538
|
businessId: businessId,
|
|
19459
19539
|
transactionId: transactionId
|
|
19460
19540
|
}, opts.hyperMediaEndpoint);
|
|
19461
|
-
return _context63.abrupt("return", request(_objectSpread$
|
|
19541
|
+
return _context63.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19462
19542
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
|
|
19463
19543
|
}), {
|
|
19464
19544
|
method: 'get',
|
|
@@ -19498,7 +19578,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
19498
19578
|
businessId: businessId,
|
|
19499
19579
|
transactionId: transactionId
|
|
19500
19580
|
}, opts.hyperMediaEndpoint);
|
|
19501
|
-
return _context64.abrupt("return", request(_objectSpread$
|
|
19581
|
+
return _context64.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19502
19582
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
|
|
19503
19583
|
}), {
|
|
19504
19584
|
method: 'get',
|
|
@@ -19537,7 +19617,7 @@ var reconcileClaim = /*#__PURE__*/function () {
|
|
|
19537
19617
|
doesParamExist.default({
|
|
19538
19618
|
transactionId: transactionId
|
|
19539
19619
|
}, opts.hyperMediaEndpoint);
|
|
19540
|
-
return _context65.abrupt("return", request(_objectSpread$
|
|
19620
|
+
return _context65.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19541
19621
|
path: pathReconcileClaim(transactionId, claimId)
|
|
19542
19622
|
}), {
|
|
19543
19623
|
method: 'post'
|
|
@@ -19625,9 +19705,9 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
19625
19705
|
reconcileClaim: reconcileClaim
|
|
19626
19706
|
});
|
|
19627
19707
|
|
|
19628
|
-
function ownKeys$
|
|
19708
|
+
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; }
|
|
19629
19709
|
|
|
19630
|
-
function _objectSpread$
|
|
19710
|
+
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; }
|
|
19631
19711
|
|
|
19632
19712
|
var pathTrigger = function pathTrigger(triggerId) {
|
|
19633
19713
|
return "/triggers/" + triggerId;
|
|
@@ -19654,7 +19734,7 @@ var getTrigger = /*#__PURE__*/function () {
|
|
|
19654
19734
|
doesParamExist.default({
|
|
19655
19735
|
triggerId: triggerId
|
|
19656
19736
|
}, opts.hyperMediaEndpoint);
|
|
19657
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19737
|
+
return _context.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19658
19738
|
path: pathTrigger(triggerId)
|
|
19659
19739
|
}), {
|
|
19660
19740
|
method: 'get'
|
|
@@ -19692,7 +19772,7 @@ var getTriggers = /*#__PURE__*/function () {
|
|
|
19692
19772
|
opts = {};
|
|
19693
19773
|
}
|
|
19694
19774
|
|
|
19695
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
19775
|
+
return _context2.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19696
19776
|
path: PATH__TRIGGERS
|
|
19697
19777
|
}), {
|
|
19698
19778
|
method: 'get',
|
|
@@ -19731,7 +19811,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
|
|
|
19731
19811
|
opts = {};
|
|
19732
19812
|
}
|
|
19733
19813
|
|
|
19734
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
19814
|
+
return _context3.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19735
19815
|
path: PATH__TRIGGER_CATEGORIES
|
|
19736
19816
|
}), {
|
|
19737
19817
|
method: 'get',
|
|
@@ -19758,9 +19838,9 @@ var triggers = /*#__PURE__*/Object.freeze({
|
|
|
19758
19838
|
getTriggerCategories: getTriggerCategories
|
|
19759
19839
|
});
|
|
19760
19840
|
|
|
19761
|
-
function ownKeys$
|
|
19841
|
+
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; }
|
|
19762
19842
|
|
|
19763
|
-
function _objectSpread$
|
|
19843
|
+
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; }
|
|
19764
19844
|
var pathHealthFundVendors = function pathHealthFundVendors(healthFundId) {
|
|
19765
19845
|
return "/healthfunds/" + healthFundId + "/vendors";
|
|
19766
19846
|
};
|
|
@@ -19776,7 +19856,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
|
|
|
19776
19856
|
healthFundId: healthFundId,
|
|
19777
19857
|
vendorId: vendorId
|
|
19778
19858
|
}, opts.hyperMediaEndpoint);
|
|
19779
|
-
return request(_objectSpread$
|
|
19859
|
+
return request(_objectSpread$17({}, opts, {
|
|
19780
19860
|
path: pathHealthFundVendor(healthFundId, vendorId)
|
|
19781
19861
|
}), {
|
|
19782
19862
|
method: 'get',
|
|
@@ -19791,7 +19871,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
|
|
|
19791
19871
|
doesParamExist.default({
|
|
19792
19872
|
healthFundId: healthFundId
|
|
19793
19873
|
}, opts.hyperMediaEndpoint);
|
|
19794
|
-
return request(_objectSpread$
|
|
19874
|
+
return request(_objectSpread$17({}, opts, {
|
|
19795
19875
|
path: pathHealthFundVendors(healthFundId)
|
|
19796
19876
|
}), {
|
|
19797
19877
|
method: 'get',
|
|
@@ -19807,9 +19887,9 @@ var vendors = /*#__PURE__*/Object.freeze({
|
|
|
19807
19887
|
getHealthFundVendors: getHealthFundVendors
|
|
19808
19888
|
});
|
|
19809
19889
|
|
|
19810
|
-
function ownKeys$
|
|
19890
|
+
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; }
|
|
19811
19891
|
|
|
19812
|
-
function _objectSpread$
|
|
19892
|
+
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; }
|
|
19813
19893
|
var PATH__MEDICARE_VERIFY = '/medicare/verify';
|
|
19814
19894
|
/**
|
|
19815
19895
|
* Verify medicare details
|
|
@@ -19827,7 +19907,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
|
|
|
19827
19907
|
opts = {};
|
|
19828
19908
|
}
|
|
19829
19909
|
|
|
19830
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19910
|
+
return _context.abrupt("return", request(_objectSpread$18({}, opts, {
|
|
19831
19911
|
path: PATH__MEDICARE_VERIFY
|
|
19832
19912
|
}), {
|
|
19833
19913
|
method: 'POST',
|
|
@@ -19853,9 +19933,9 @@ var verify = /*#__PURE__*/Object.freeze({
|
|
|
19853
19933
|
verifyMedicare: verifyMedicare$1
|
|
19854
19934
|
});
|
|
19855
19935
|
|
|
19856
|
-
function ownKeys$
|
|
19936
|
+
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; }
|
|
19857
19937
|
|
|
19858
|
-
function _objectSpread$
|
|
19938
|
+
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; }
|
|
19859
19939
|
var pathSendWorkerMessage = function pathSendWorkerMessage() {
|
|
19860
19940
|
return "/workers/messages";
|
|
19861
19941
|
};
|
|
@@ -19864,7 +19944,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
|
|
|
19864
19944
|
opts = {};
|
|
19865
19945
|
}
|
|
19866
19946
|
|
|
19867
|
-
return request(_objectSpread$
|
|
19947
|
+
return request(_objectSpread$19({}, opts, {
|
|
19868
19948
|
path: pathSendWorkerMessage()
|
|
19869
19949
|
}), {
|
|
19870
19950
|
method: 'post',
|
|
@@ -19878,9 +19958,9 @@ var workers = /*#__PURE__*/Object.freeze({
|
|
|
19878
19958
|
sendWorkerMessage: sendWorkerMessage
|
|
19879
19959
|
});
|
|
19880
19960
|
|
|
19881
|
-
function ownKeys$
|
|
19961
|
+
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; }
|
|
19882
19962
|
|
|
19883
|
-
function _objectSpread$
|
|
19963
|
+
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; }
|
|
19884
19964
|
var pathHealthFundWorkflowExceptions = function pathHealthFundWorkflowExceptions(healthFundId) {
|
|
19885
19965
|
return "/healthfunds/" + healthFundId + "/workflowexceptions";
|
|
19886
19966
|
};
|
|
@@ -19892,7 +19972,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
|
|
|
19892
19972
|
doesParamExist.default({
|
|
19893
19973
|
healthFundId: healthFundId
|
|
19894
19974
|
}, opts.hyperMediaEndpoint);
|
|
19895
|
-
return request(_objectSpread$
|
|
19975
|
+
return request(_objectSpread$1a({}, opts, {
|
|
19896
19976
|
path: pathHealthFundWorkflowExceptions(healthFundId)
|
|
19897
19977
|
}), {
|
|
19898
19978
|
method: 'get',
|
|
@@ -20614,9 +20694,9 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
20614
20694
|
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
20615
20695
|
});
|
|
20616
20696
|
|
|
20617
|
-
function ownKeys$
|
|
20697
|
+
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; }
|
|
20618
20698
|
|
|
20619
|
-
function _objectSpread$
|
|
20699
|
+
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; }
|
|
20620
20700
|
/**
|
|
20621
20701
|
* Get current app version
|
|
20622
20702
|
*/
|
|
@@ -20758,7 +20838,7 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20758
20838
|
break;
|
|
20759
20839
|
}
|
|
20760
20840
|
|
|
20761
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20841
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
20762
20842
|
requiresUpdate: true,
|
|
20763
20843
|
isForced: true
|
|
20764
20844
|
}));
|
|
@@ -20769,12 +20849,12 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20769
20849
|
break;
|
|
20770
20850
|
}
|
|
20771
20851
|
|
|
20772
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20852
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
20773
20853
|
requiresUpdate: true
|
|
20774
20854
|
}));
|
|
20775
20855
|
|
|
20776
20856
|
case 14:
|
|
20777
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20857
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
20778
20858
|
requiresUpdate: false
|
|
20779
20859
|
}));
|
|
20780
20860
|
|
|
@@ -20800,9 +20880,85 @@ var versions = /*#__PURE__*/Object.freeze({
|
|
|
20800
20880
|
checkAppVersion: checkAppVersion
|
|
20801
20881
|
});
|
|
20802
20882
|
|
|
20803
|
-
|
|
20883
|
+
var _getSelfApplicationCache;
|
|
20804
20884
|
|
|
20805
|
-
|
|
20885
|
+
var _getSelfApplicationCacheInProgress = false;
|
|
20886
|
+
var getSelfApplicationCached = /*#__PURE__*/function () {
|
|
20887
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
20888
|
+
var data;
|
|
20889
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
20890
|
+
while (1) {
|
|
20891
|
+
switch (_context.prev = _context.next) {
|
|
20892
|
+
case 0:
|
|
20893
|
+
if (!_getSelfApplicationCache) {
|
|
20894
|
+
_context.next = 2;
|
|
20895
|
+
break;
|
|
20896
|
+
}
|
|
20897
|
+
|
|
20898
|
+
return _context.abrupt("return", _getSelfApplicationCache);
|
|
20899
|
+
|
|
20900
|
+
case 2:
|
|
20901
|
+
if (_getSelfApplicationCacheInProgress) {
|
|
20902
|
+
_context.next = 13;
|
|
20903
|
+
break;
|
|
20904
|
+
}
|
|
20905
|
+
|
|
20906
|
+
_context.prev = 3;
|
|
20907
|
+
_getSelfApplicationCacheInProgress = true;
|
|
20908
|
+
_context.next = 7;
|
|
20909
|
+
return sdkClient.applications.getSelfApplication();
|
|
20910
|
+
|
|
20911
|
+
case 7:
|
|
20912
|
+
_getSelfApplicationCache = _context.sent;
|
|
20913
|
+
|
|
20914
|
+
case 8:
|
|
20915
|
+
_context.prev = 8;
|
|
20916
|
+
_getSelfApplicationCacheInProgress = false;
|
|
20917
|
+
return _context.finish(8);
|
|
20918
|
+
|
|
20919
|
+
case 11:
|
|
20920
|
+
_context.next = 18;
|
|
20921
|
+
break;
|
|
20922
|
+
|
|
20923
|
+
case 13:
|
|
20924
|
+
_context.next = 15;
|
|
20925
|
+
return new Promise(function (resolve) {
|
|
20926
|
+
return setTimeout(resolve, 100);
|
|
20927
|
+
});
|
|
20928
|
+
|
|
20929
|
+
case 15:
|
|
20930
|
+
data = _getSelfApplicationCache;
|
|
20931
|
+
|
|
20932
|
+
case 16:
|
|
20933
|
+
if (!data) {
|
|
20934
|
+
_context.next = 13;
|
|
20935
|
+
break;
|
|
20936
|
+
}
|
|
20937
|
+
|
|
20938
|
+
case 17:
|
|
20939
|
+
return _context.abrupt("return", data);
|
|
20940
|
+
|
|
20941
|
+
case 18:
|
|
20942
|
+
case "end":
|
|
20943
|
+
return _context.stop();
|
|
20944
|
+
}
|
|
20945
|
+
}
|
|
20946
|
+
}, _callee, null, [[3,, 8, 11]]);
|
|
20947
|
+
}));
|
|
20948
|
+
|
|
20949
|
+
return function getSelfApplicationCached() {
|
|
20950
|
+
return _ref.apply(this, arguments);
|
|
20951
|
+
};
|
|
20952
|
+
}();
|
|
20953
|
+
|
|
20954
|
+
var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
20955
|
+
__proto__: null,
|
|
20956
|
+
getSelfApplicationCached: getSelfApplicationCached
|
|
20957
|
+
});
|
|
20958
|
+
|
|
20959
|
+
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; }
|
|
20960
|
+
|
|
20961
|
+
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; }
|
|
20806
20962
|
|
|
20807
20963
|
function parseProfessions(_x, _x2) {
|
|
20808
20964
|
return _parseProfessions.apply(this, arguments);
|
|
@@ -20849,19 +21005,19 @@ function _parseProfessions() {
|
|
|
20849
21005
|
professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
|
|
20850
21006
|
var _objectSpread2;
|
|
20851
21007
|
|
|
20852
|
-
return _objectSpread$
|
|
21008
|
+
return _objectSpread$1c({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
20853
21009
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
20854
21010
|
{});
|
|
20855
21011
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
20856
21012
|
var _objectSpread3;
|
|
20857
21013
|
|
|
20858
|
-
return _objectSpread$
|
|
21014
|
+
return _objectSpread$1c({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
20859
21015
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
20860
21016
|
{});
|
|
20861
21017
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
20862
21018
|
var _objectSpread4;
|
|
20863
21019
|
|
|
20864
|
-
return _objectSpread$
|
|
21020
|
+
return _objectSpread$1c({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
|
|
20865
21021
|
}, {});
|
|
20866
21022
|
newProfessions = professions.map(function (registration) {
|
|
20867
21023
|
var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
|
|
@@ -20892,85 +21048,9 @@ var professionsUtils = /*#__PURE__*/Object.freeze({
|
|
|
20892
21048
|
parseProfessions: parseProfessions
|
|
20893
21049
|
});
|
|
20894
21050
|
|
|
20895
|
-
var
|
|
20896
|
-
|
|
20897
|
-
var _getSelfApplicationCacheInProgress = false;
|
|
20898
|
-
var getSelfApplicationCached = /*#__PURE__*/function () {
|
|
20899
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
20900
|
-
var data;
|
|
20901
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
20902
|
-
while (1) {
|
|
20903
|
-
switch (_context.prev = _context.next) {
|
|
20904
|
-
case 0:
|
|
20905
|
-
if (!_getSelfApplicationCache) {
|
|
20906
|
-
_context.next = 2;
|
|
20907
|
-
break;
|
|
20908
|
-
}
|
|
20909
|
-
|
|
20910
|
-
return _context.abrupt("return", _getSelfApplicationCache);
|
|
20911
|
-
|
|
20912
|
-
case 2:
|
|
20913
|
-
if (_getSelfApplicationCacheInProgress) {
|
|
20914
|
-
_context.next = 13;
|
|
20915
|
-
break;
|
|
20916
|
-
}
|
|
20917
|
-
|
|
20918
|
-
_context.prev = 3;
|
|
20919
|
-
_getSelfApplicationCacheInProgress = true;
|
|
20920
|
-
_context.next = 7;
|
|
20921
|
-
return sdkClient.applications.getSelfApplication();
|
|
20922
|
-
|
|
20923
|
-
case 7:
|
|
20924
|
-
_getSelfApplicationCache = _context.sent;
|
|
20925
|
-
|
|
20926
|
-
case 8:
|
|
20927
|
-
_context.prev = 8;
|
|
20928
|
-
_getSelfApplicationCacheInProgress = false;
|
|
20929
|
-
return _context.finish(8);
|
|
20930
|
-
|
|
20931
|
-
case 11:
|
|
20932
|
-
_context.next = 18;
|
|
20933
|
-
break;
|
|
20934
|
-
|
|
20935
|
-
case 13:
|
|
20936
|
-
_context.next = 15;
|
|
20937
|
-
return new Promise(function (resolve) {
|
|
20938
|
-
return setTimeout(resolve, 100);
|
|
20939
|
-
});
|
|
20940
|
-
|
|
20941
|
-
case 15:
|
|
20942
|
-
data = _getSelfApplicationCache;
|
|
20943
|
-
|
|
20944
|
-
case 16:
|
|
20945
|
-
if (!data) {
|
|
20946
|
-
_context.next = 13;
|
|
20947
|
-
break;
|
|
20948
|
-
}
|
|
20949
|
-
|
|
20950
|
-
case 17:
|
|
20951
|
-
return _context.abrupt("return", data);
|
|
20952
|
-
|
|
20953
|
-
case 18:
|
|
20954
|
-
case "end":
|
|
20955
|
-
return _context.stop();
|
|
20956
|
-
}
|
|
20957
|
-
}
|
|
20958
|
-
}, _callee, null, [[3,, 8, 11]]);
|
|
20959
|
-
}));
|
|
20960
|
-
|
|
20961
|
-
return function getSelfApplicationCached() {
|
|
20962
|
-
return _ref.apply(this, arguments);
|
|
20963
|
-
};
|
|
20964
|
-
}();
|
|
20965
|
-
|
|
20966
|
-
var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
20967
|
-
__proto__: null,
|
|
20968
|
-
getSelfApplicationCached: getSelfApplicationCached
|
|
20969
|
-
});
|
|
20970
|
-
|
|
20971
|
-
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; }
|
|
21051
|
+
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; }
|
|
20972
21052
|
|
|
20973
|
-
function _objectSpread$
|
|
21053
|
+
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; }
|
|
20974
21054
|
var APP_ID = 'web-application';
|
|
20975
21055
|
var API_VER = '0.82.0';
|
|
20976
21056
|
var API_VERSIONS = {
|
|
@@ -21003,7 +21083,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
21003
21083
|
return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
|
|
21004
21084
|
var _objectSpread2;
|
|
21005
21085
|
|
|
21006
|
-
return _objectSpread$
|
|
21086
|
+
return _objectSpread$1d({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
|
|
21007
21087
|
}, {});
|
|
21008
21088
|
};
|
|
21009
21089
|
|
|
@@ -21056,6 +21136,7 @@ var sdkClient = {
|
|
|
21056
21136
|
funders: funders,
|
|
21057
21137
|
funderServices: funderServices,
|
|
21058
21138
|
funderSettings: funderSettings,
|
|
21139
|
+
funderValues: funderValues,
|
|
21059
21140
|
futures: futures,
|
|
21060
21141
|
healthFundAccounts: healthFundAccounts,
|
|
21061
21142
|
healthFundSettings: healthFundSettings,
|
|
@@ -21137,7 +21218,7 @@ var sdkClient = {
|
|
|
21137
21218
|
this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
|
|
21138
21219
|
}
|
|
21139
21220
|
|
|
21140
|
-
this.setConfig(_objectSpread$
|
|
21221
|
+
this.setConfig(_objectSpread$1d({}, opts, {
|
|
21141
21222
|
env: env
|
|
21142
21223
|
}));
|
|
21143
21224
|
this.hasInit = true; // Setup request/response interceptors
|
|
@@ -21371,9 +21452,9 @@ var sdkClient = {
|
|
|
21371
21452
|
}
|
|
21372
21453
|
};
|
|
21373
21454
|
|
|
21374
|
-
function ownKeys$
|
|
21455
|
+
function ownKeys$1e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21375
21456
|
|
|
21376
|
-
function _objectSpread$
|
|
21457
|
+
function _objectSpread$1e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1e(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21377
21458
|
function parseProviderSet(_x, _x2) {
|
|
21378
21459
|
return _parseProviderSet.apply(this, arguments);
|
|
21379
21460
|
}
|
|
@@ -21486,20 +21567,20 @@ function _parseProviderSet() {
|
|
|
21486
21567
|
fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
|
|
21487
21568
|
var _objectSpread2;
|
|
21488
21569
|
|
|
21489
|
-
return _objectSpread$
|
|
21570
|
+
return _objectSpread$1e({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
|
|
21490
21571
|
}, {});
|
|
21491
21572
|
practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
|
|
21492
21573
|
var _objectSpread3;
|
|
21493
21574
|
|
|
21494
|
-
return _objectSpread$
|
|
21575
|
+
return _objectSpread$1e({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
|
|
21495
21576
|
}, {});
|
|
21496
21577
|
providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
|
|
21497
21578
|
var _objectSpread4;
|
|
21498
21579
|
|
|
21499
|
-
return _objectSpread$
|
|
21580
|
+
return _objectSpread$1e({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
|
|
21500
21581
|
}, {});
|
|
21501
21582
|
newProviderSet = providerSet.map(function (providerData, i) {
|
|
21502
|
-
return _objectSpread$
|
|
21583
|
+
return _objectSpread$1e({}, providerData, {}, providerRegistrations[i], {
|
|
21503
21584
|
practice: practicesMap[providerData.practiceId],
|
|
21504
21585
|
funder: fundersMap[providerData.funderId]
|
|
21505
21586
|
}, parseProviderNumberType && {
|
|
@@ -21630,6 +21711,7 @@ exports.createBulkUpload = createBulkUpload;
|
|
|
21630
21711
|
exports.createBusinesFunderSettings = createBusinesFunderSettings;
|
|
21631
21712
|
exports.createBusiness = createBusiness;
|
|
21632
21713
|
exports.createBusinessAccount = createBusinessAccount;
|
|
21714
|
+
exports.createBusinessFunderValue = createBusinessFunderValue;
|
|
21633
21715
|
exports.createBusinessHold = createBusinessHold;
|
|
21634
21716
|
exports.createBusinessInstalmentPlan = createBusinessInstalmentPlan;
|
|
21635
21717
|
exports.createBusinessLog = createBusinessLog;
|
|
@@ -21690,6 +21772,7 @@ exports.deleteAccountSecretKey = deleteAccountSecretKey;
|
|
|
21690
21772
|
exports.deleteApiKey = deleteApiKey;
|
|
21691
21773
|
exports.deleteBusinesFunderSettings = deleteBusinesFunderSettings;
|
|
21692
21774
|
exports.deleteBusiness = deleteBusiness;
|
|
21775
|
+
exports.deleteBusinessFunderValue = deleteBusinessFunderValue;
|
|
21693
21776
|
exports.deleteBusinessPatient = deleteBusinessPatient;
|
|
21694
21777
|
exports.deleteBusinessPatientHealthFundAccount = deleteBusinessPatientHealthFundAccount;
|
|
21695
21778
|
exports.deleteBusinessPatientPaymentMethod = deleteBusinessPatientPaymentMethod;
|
|
@@ -21735,6 +21818,7 @@ exports.formApplications = formApplications;
|
|
|
21735
21818
|
exports.forms = forms;
|
|
21736
21819
|
exports.funderServices = funderServices;
|
|
21737
21820
|
exports.funderSettings = funderSettings;
|
|
21821
|
+
exports.funderValues = funderValues;
|
|
21738
21822
|
exports.funders = funders;
|
|
21739
21823
|
exports.futures = futures;
|
|
21740
21824
|
exports.generateAuthy = generateAuthy;
|
|
@@ -21775,6 +21859,8 @@ exports.getBusinessFormApplicationTemplate = getBusinessFormApplicationTemplate;
|
|
|
21775
21859
|
exports.getBusinessFormPracticeStaffMembers = getBusinessFormPracticeStaffMembers;
|
|
21776
21860
|
exports.getBusinessFormPractices = getBusinessFormPractices;
|
|
21777
21861
|
exports.getBusinessFunderSettings = getBusinessFunderSettings;
|
|
21862
|
+
exports.getBusinessFunderValueById = getBusinessFunderValueById;
|
|
21863
|
+
exports.getBusinessFunderValues = getBusinessFunderValues;
|
|
21778
21864
|
exports.getBusinessFuture = getBusinessFuture;
|
|
21779
21865
|
exports.getBusinessFutures = getBusinessFutures;
|
|
21780
21866
|
exports.getBusinessHealthFunds = getBusinessHealthFunds;
|
|
@@ -22059,6 +22145,8 @@ exports.pathCreateHealthFundTransactionExport = pathCreateHealthFundTransactionE
|
|
|
22059
22145
|
exports.pathFunder = pathFunder;
|
|
22060
22146
|
exports.pathFunderSettings = pathFunderSettings;
|
|
22061
22147
|
exports.pathFunderSettingsById = pathFunderSettingsById;
|
|
22148
|
+
exports.pathFunderValues = pathFunderValues;
|
|
22149
|
+
exports.pathFunderValuesById = pathFunderValuesById;
|
|
22062
22150
|
exports.pathFuture = pathFuture;
|
|
22063
22151
|
exports.pathGetClaimAttachmentUrl = pathGetClaimAttachmentUrl;
|
|
22064
22152
|
exports.pathGetDraftProgressStatus = pathGetDraftProgressStatus;
|
|
@@ -22250,6 +22338,7 @@ exports.updateApplication = updateApplication;
|
|
|
22250
22338
|
exports.updateAppointmentForHealthFundRNA = updateAppointmentForHealthFundRNA;
|
|
22251
22339
|
exports.updateBusinesFunderSettings = updateBusinesFunderSettings;
|
|
22252
22340
|
exports.updateBusiness = updateBusiness;
|
|
22341
|
+
exports.updateBusinessFunderValue = updateBusinessFunderValue;
|
|
22253
22342
|
exports.updateBusinessKyc = updateBusinessKyc;
|
|
22254
22343
|
exports.updateBusinessOnboardingApplication = updateBusinessOnboardingApplication;
|
|
22255
22344
|
exports.updateBusinessPatient = updateBusinessPatient;
|
|
@@ -22278,7 +22367,6 @@ exports.updateOrganisationStaffMember = updateOrganisationStaffMember;
|
|
|
22278
22367
|
exports.updatePartner = updatePartner;
|
|
22279
22368
|
exports.updatePartnerPractice = updatePartnerPractice;
|
|
22280
22369
|
exports.updatePartnerPracticeProviderData = updatePartnerPracticeProviderData;
|
|
22281
|
-
exports.updatePatientPaymentMethodBySMSorLink = updatePatientPaymentMethodBySMSorLink;
|
|
22282
22370
|
exports.updatePracticeRepresentative = updatePracticeRepresentative;
|
|
22283
22371
|
exports.updateService = updateService;
|
|
22284
22372
|
exports.updateStaffProviderSetItem = updateStaffProviderSetItem;
|