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