@medipass/web-sdk 11.42.1-feature-remittance-filters.0 → 11.42.1-feature-add-suspend-modal-to-invoice.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +1 -3
- package/lib/index.js +1 -9
- package/lib/resources/accounts.js +1 -2
- package/lib/resources/actions.js +1 -2
- package/lib/resources/api-keys.js +1 -2
- package/lib/resources/applications.js +1 -2
- package/lib/resources/attachments.js +1 -2
- package/lib/resources/auth.js +1 -2
- package/lib/resources/bulk-submits.js +1 -2
- package/lib/resources/bulk-uploads.js +1 -2
- package/lib/resources/business-profiles.js +1 -2
- package/lib/resources/businesses.js +1 -2
- package/lib/resources/claim-items.js +1 -2
- package/lib/resources/devices.js +1 -2
- package/lib/resources/doc-accounts.js +1 -2
- package/lib/resources/documents.js +1 -2
- package/lib/resources/emails.js +1 -2
- package/lib/resources/form-application-templates.js +1 -2
- package/lib/resources/form-applications.js +1 -2
- package/lib/resources/forms.js +1 -2
- package/lib/resources/funder-services.js +1 -2
- package/lib/resources/funder-settings.js +1 -2
- package/lib/resources/funder-values.js +1 -2
- package/lib/resources/funders.js +1 -2
- package/lib/resources/futures.js +1 -2
- package/lib/resources/health-fund-accounts.js +1 -2
- package/lib/resources/health-fund-settings.js +1 -2
- package/lib/resources/healthfunds.js +1 -2
- package/lib/resources/icditems.js +1 -2
- package/lib/resources/invoice-scans.js +1 -2
- package/lib/resources/jhcs.js +1 -2
- package/lib/resources/kyc.js +1 -2
- package/lib/resources/logs.js +1 -2
- package/lib/resources/members.js +1 -2
- package/lib/resources/message-mappings.js +1 -2
- package/lib/resources/minions.js +1 -2
- package/lib/resources/modalities.js +1 -2
- package/lib/resources/notes.js +1 -2
- package/lib/resources/onboarding-applications.js +1 -2
- package/lib/resources/onboarding-requests.js +1 -2
- package/lib/resources/ops.js +1 -2
- package/lib/resources/organisations.js +1 -2
- package/lib/resources/partners.js +1 -2
- package/lib/resources/patients.js +1 -2
- package/lib/resources/payments.js +1 -2
- package/lib/resources/pms.js +1 -2
- package/lib/resources/practice-profiles.js +1 -2
- package/lib/resources/practice-types.js +1 -2
- package/lib/resources/practices.js +1 -2
- package/lib/resources/products.js +1 -2
- package/lib/resources/professional-categories.js +1 -2
- package/lib/resources/provider-number-types.js +1 -2
- package/lib/resources/provider-registration-types.js +1 -2
- package/lib/resources/provider-requests.js +1 -2
- package/lib/resources/provider-types.js +1 -2
- package/lib/resources/ref-sources.js +1 -2
- package/lib/resources/risk.js +1 -2
- package/lib/resources/rnas.js +1 -2
- package/lib/resources/roles.js +1 -2
- package/lib/resources/self-checkout-sessions.js +1 -2
- package/lib/resources/services.js +1 -2
- package/lib/resources/settlements.js +1 -2
- package/lib/resources/sign-up.js +1 -2
- package/lib/resources/specialties.js +1 -2
- package/lib/resources/staff-profiles.js +1 -2
- package/lib/resources/staff.js +1 -2
- package/lib/resources/statistics.js +1 -2
- package/lib/resources/subscriptions.js +1 -2
- package/lib/resources/terminals.js +1 -2
- package/lib/resources/transaction-export.js +1 -2
- package/lib/resources/transactions.js +1 -2
- package/lib/resources/triggers.js +1 -2
- package/lib/resources/vendors.js +1 -2
- package/lib/resources/verify.js +1 -2
- package/lib/resources/workers.js +1 -2
- package/lib/resources/workflow-exceptions.js +1 -2
- package/lib/services/aws.js +1 -2
- package/lib/services/version.js +1 -2
- package/lib/{staff-11e17015.js → staff-0b32af48.js} +542 -598
- package/lib/types/index.d.ts +0 -1
- package/lib/types/index.js +0 -12
- package/lib/utils/application.js +1 -2
- package/lib/utils/professions.js +1 -2
- package/lib/utils/request.js +1 -2
- package/lib/utils/staff.js +1 -2
- package/package.json +3 -3
- package/lib/resources/__tests__/filter-option.test.d.ts +0 -1
- package/lib/resources/filter-options.d.ts +0 -7
- package/lib/resources/filter-options.js +0 -50
- package/lib/types/filter-option.d.ts +0 -12
- package/lib/types/filter-option.js +0 -8
|
@@ -26,7 +26,6 @@ var braintreeGooglePayment = _interopDefault(require('braintree-web/google-payme
|
|
|
26
26
|
var braintreeApplePay = _interopDefault(require('braintree-web/apple-pay'));
|
|
27
27
|
var pify = _interopDefault(require('@medipass/pify'));
|
|
28
28
|
var env = _interopDefault(require('@medipass/utils/get-env'));
|
|
29
|
-
var filterOption = require('./types/filter-option.js');
|
|
30
29
|
var funders$1 = require('@medipass/utils/funders');
|
|
31
30
|
var compareVersions = _interopDefault(require('compare-versions'));
|
|
32
31
|
var index = require('./utils/base-urls/index.js');
|
|
@@ -4882,51 +4881,6 @@ var emails = /*#__PURE__*/Object.freeze({
|
|
|
4882
4881
|
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; }
|
|
4883
4882
|
|
|
4884
4883
|
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; }
|
|
4885
|
-
var pathFilterOptions = function pathFilterOptions(businessId) {
|
|
4886
|
-
return "/businesses/" + businessId + "/filteroptions";
|
|
4887
|
-
};
|
|
4888
|
-
var getBusinessFilterOptions = /*#__PURE__*/function () {
|
|
4889
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(businessId, query, opts) {
|
|
4890
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4891
|
-
while (1) {
|
|
4892
|
-
switch (_context.prev = _context.next) {
|
|
4893
|
-
case 0:
|
|
4894
|
-
if (opts === void 0) {
|
|
4895
|
-
opts = {};
|
|
4896
|
-
}
|
|
4897
|
-
|
|
4898
|
-
doesParamExist.default({
|
|
4899
|
-
businessId: businessId
|
|
4900
|
-
}, opts.hyperMediaEndpoint);
|
|
4901
|
-
return _context.abrupt("return", request(_objectSpread$h({}, opts, {
|
|
4902
|
-
path: pathFilterOptions(businessId)
|
|
4903
|
-
}), {
|
|
4904
|
-
method: 'get',
|
|
4905
|
-
params: query
|
|
4906
|
-
}));
|
|
4907
|
-
|
|
4908
|
-
case 3:
|
|
4909
|
-
case "end":
|
|
4910
|
-
return _context.stop();
|
|
4911
|
-
}
|
|
4912
|
-
}
|
|
4913
|
-
}, _callee);
|
|
4914
|
-
}));
|
|
4915
|
-
|
|
4916
|
-
return function getBusinessFilterOptions(_x, _x2, _x3) {
|
|
4917
|
-
return _ref.apply(this, arguments);
|
|
4918
|
-
};
|
|
4919
|
-
}();
|
|
4920
|
-
|
|
4921
|
-
var filterOptions = /*#__PURE__*/Object.freeze({
|
|
4922
|
-
__proto__: null,
|
|
4923
|
-
pathFilterOptions: pathFilterOptions,
|
|
4924
|
-
getBusinessFilterOptions: getBusinessFilterOptions
|
|
4925
|
-
});
|
|
4926
|
-
|
|
4927
|
-
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; }
|
|
4928
|
-
|
|
4929
|
-
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; }
|
|
4930
4884
|
var pathBusinessFormApplicationTemplate = function pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId) {
|
|
4931
4885
|
return "/businesses/" + businessId + "/forms/" + formId + "/formapplicationtemplates/" + formApplicationTemplateId;
|
|
4932
4886
|
};
|
|
@@ -4952,7 +4906,7 @@ var getBusinessFormApplicationTemplate = function getBusinessFormApplicationTemp
|
|
|
4952
4906
|
formId: formId,
|
|
4953
4907
|
formApplicationTemplateId: formApplicationTemplateId
|
|
4954
4908
|
}, opts.hyperMediaEndpoint);
|
|
4955
|
-
return request(_objectSpread$
|
|
4909
|
+
return request(_objectSpread$h({}, opts, {
|
|
4956
4910
|
path: pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId)
|
|
4957
4911
|
}), {
|
|
4958
4912
|
method: 'get'
|
|
@@ -4975,7 +4929,7 @@ var getHealthFundFormApplicationTemplate = function getHealthFundFormApplication
|
|
|
4975
4929
|
healthFundId: healthFundId,
|
|
4976
4930
|
formApplicationTemplateId: formApplicationTemplateId
|
|
4977
4931
|
}, opts.hyperMediaEndpoint);
|
|
4978
|
-
return request(_objectSpread$
|
|
4932
|
+
return request(_objectSpread$h({}, opts, {
|
|
4979
4933
|
path: pathHealthFundFormApplicationTemplate(healthFundId, formApplicationTemplateId)
|
|
4980
4934
|
}), {
|
|
4981
4935
|
method: 'get'
|
|
@@ -4990,9 +4944,9 @@ var formApplicationTemplates = /*#__PURE__*/Object.freeze({
|
|
|
4990
4944
|
getHealthFundFormApplicationTemplate: getHealthFundFormApplicationTemplate
|
|
4991
4945
|
});
|
|
4992
4946
|
|
|
4993
|
-
function ownKeys$
|
|
4947
|
+
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; }
|
|
4994
4948
|
|
|
4995
|
-
function _objectSpread$
|
|
4949
|
+
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; }
|
|
4996
4950
|
var pathBusinessFormApplication = function pathBusinessFormApplication(businessId, formApplicationId) {
|
|
4997
4951
|
return "/businesses/" + businessId + "/formapplications/" + formApplicationId;
|
|
4998
4952
|
};
|
|
@@ -5019,7 +4973,7 @@ var getBusinessFormApplication = function getBusinessFormApplication(businessId,
|
|
|
5019
4973
|
businessId: businessId,
|
|
5020
4974
|
formApplicationId: formApplicationId
|
|
5021
4975
|
}, opts.hyperMediaEndpoint);
|
|
5022
|
-
return request(_objectSpread$
|
|
4976
|
+
return request(_objectSpread$i({}, opts, {
|
|
5023
4977
|
path: pathBusinessFormApplication(businessId, formApplicationId)
|
|
5024
4978
|
}), {
|
|
5025
4979
|
method: 'get'
|
|
@@ -5042,7 +4996,7 @@ var getHealthFundFormApplication = function getHealthFundFormApplication(healthF
|
|
|
5042
4996
|
healthFundId: healthFundId,
|
|
5043
4997
|
formApplicationId: formApplicationId
|
|
5044
4998
|
}, opts.hyperMediaEndpoint);
|
|
5045
|
-
return request(_objectSpread$
|
|
4999
|
+
return request(_objectSpread$i({}, opts, {
|
|
5046
5000
|
path: pathHealthFundFormApplication(healthFundId, formApplicationId)
|
|
5047
5001
|
}), {
|
|
5048
5002
|
method: 'get'
|
|
@@ -5069,7 +5023,7 @@ var updatePracticeRepresentative = /*#__PURE__*/function () {
|
|
|
5069
5023
|
healthFundId: healthFundId,
|
|
5070
5024
|
formApplicationId: formApplicationId
|
|
5071
5025
|
}, opts.hyperMediaEndpoint);
|
|
5072
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5026
|
+
return _context.abrupt("return", request(_objectSpread$i({}, opts, {
|
|
5073
5027
|
path: pathUpdatePracticeRepresentative(healthFundId, formApplicationId)
|
|
5074
5028
|
}), {
|
|
5075
5029
|
method: 'put',
|
|
@@ -5099,9 +5053,9 @@ var formApplications = /*#__PURE__*/Object.freeze({
|
|
|
5099
5053
|
updatePracticeRepresentative: updatePracticeRepresentative
|
|
5100
5054
|
});
|
|
5101
5055
|
|
|
5102
|
-
function ownKeys$
|
|
5056
|
+
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; }
|
|
5103
5057
|
|
|
5104
|
-
function _objectSpread$
|
|
5058
|
+
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; }
|
|
5105
5059
|
var pathBusinessForm = function pathBusinessForm(businessId, formId) {
|
|
5106
5060
|
return "/businesses/" + businessId + "/forms/" + formId;
|
|
5107
5061
|
};
|
|
@@ -5146,7 +5100,7 @@ var applyForBusinessForm = function applyForBusinessForm(businessId, formId, bod
|
|
|
5146
5100
|
businessId: businessId,
|
|
5147
5101
|
formId: formId
|
|
5148
5102
|
}, opts.hyperMediaEndpoint);
|
|
5149
|
-
return request(_objectSpread$
|
|
5103
|
+
return request(_objectSpread$j({}, opts, {
|
|
5150
5104
|
path: pathBusinessFormApplications(businessId, formId)
|
|
5151
5105
|
}), {
|
|
5152
5106
|
method: 'post',
|
|
@@ -5168,7 +5122,7 @@ var createHealthFundForm = function createHealthFundForm(healthFundId, body, opt
|
|
|
5168
5122
|
doesParamExist.default({
|
|
5169
5123
|
healthFundId: healthFundId
|
|
5170
5124
|
}, opts.hyperMediaEndpoint);
|
|
5171
|
-
return request(_objectSpread$
|
|
5125
|
+
return request(_objectSpread$j({}, opts, {
|
|
5172
5126
|
path: pathHealthFundForms(healthFundId)
|
|
5173
5127
|
}), {
|
|
5174
5128
|
method: 'post',
|
|
@@ -5191,7 +5145,7 @@ var deleteHealthFundForm = function deleteHealthFundForm(healthFundId, formId, o
|
|
|
5191
5145
|
healthFundId: healthFundId,
|
|
5192
5146
|
formId: formId
|
|
5193
5147
|
}, opts.hyperMediaEndpoint);
|
|
5194
|
-
return request(_objectSpread$
|
|
5148
|
+
return request(_objectSpread$j({}, opts, {
|
|
5195
5149
|
path: pathHealthFundForm(healthFundId, formId)
|
|
5196
5150
|
}), {
|
|
5197
5151
|
method: 'delete'
|
|
@@ -5214,7 +5168,7 @@ var getBusinessForm = function getBusinessForm(businessId, formId, opts) {
|
|
|
5214
5168
|
businessId: businessId,
|
|
5215
5169
|
formId: formId
|
|
5216
5170
|
}, opts.hyperMediaEndpoint);
|
|
5217
|
-
return request(_objectSpread$
|
|
5171
|
+
return request(_objectSpread$j({}, opts, {
|
|
5218
5172
|
path: pathBusinessForm(businessId, formId)
|
|
5219
5173
|
}), {
|
|
5220
5174
|
method: 'get'
|
|
@@ -5239,7 +5193,7 @@ var getHealthFundForms = function getHealthFundForms(healthFundId, query, opts)
|
|
|
5239
5193
|
doesParamExist.default({
|
|
5240
5194
|
healthFundId: healthFundId
|
|
5241
5195
|
}, opts.hyperMediaEndpoint);
|
|
5242
|
-
return request(_objectSpread$
|
|
5196
|
+
return request(_objectSpread$j({}, opts, {
|
|
5243
5197
|
path: pathHealthFundForms(healthFundId)
|
|
5244
5198
|
}), {
|
|
5245
5199
|
method: 'get',
|
|
@@ -5262,7 +5216,7 @@ var getHealthFundForm = function getHealthFundForm(healthFundId, formId, opts) {
|
|
|
5262
5216
|
healthFundId: healthFundId,
|
|
5263
5217
|
formId: formId
|
|
5264
5218
|
}, opts.hyperMediaEndpoint);
|
|
5265
|
-
return request(_objectSpread$
|
|
5219
|
+
return request(_objectSpread$j({}, opts, {
|
|
5266
5220
|
path: pathHealthFundForm(healthFundId, formId)
|
|
5267
5221
|
}), {
|
|
5268
5222
|
method: 'get'
|
|
@@ -5287,7 +5241,7 @@ var getHealthFundFormUploadUrl = function getHealthFundFormUploadUrl(healthFundI
|
|
|
5287
5241
|
contentType: contentType,
|
|
5288
5242
|
fileName: fileName
|
|
5289
5243
|
}, opts.hyperMediaEndpoint);
|
|
5290
|
-
return request(_objectSpread$
|
|
5244
|
+
return request(_objectSpread$j({}, opts, {
|
|
5291
5245
|
path: pathHealthFundFormUploadUrl(healthFundId)
|
|
5292
5246
|
}), {
|
|
5293
5247
|
method: 'get',
|
|
@@ -5310,7 +5264,7 @@ var publishHealthFundForm = function publishHealthFundForm(healthFundId, formId,
|
|
|
5310
5264
|
healthFundId: healthFundId,
|
|
5311
5265
|
formId: formId
|
|
5312
5266
|
}, opts.hyperMediaEndpoint);
|
|
5313
|
-
return request(_objectSpread$
|
|
5267
|
+
return request(_objectSpread$j({}, opts, {
|
|
5314
5268
|
path: pathHealthFundFormPublish(healthFundId, formId)
|
|
5315
5269
|
}), {
|
|
5316
5270
|
method: 'post'
|
|
@@ -5333,7 +5287,7 @@ var updateHealthFundForm = function updateHealthFundForm(healthFundId, formId, b
|
|
|
5333
5287
|
healthFundId: healthFundId,
|
|
5334
5288
|
formId: formId
|
|
5335
5289
|
}, opts.hyperMediaEndpoint);
|
|
5336
|
-
return request(_objectSpread$
|
|
5290
|
+
return request(_objectSpread$j({}, opts, {
|
|
5337
5291
|
path: pathHealthFundForm(healthFundId, formId)
|
|
5338
5292
|
}), {
|
|
5339
5293
|
method: 'put',
|
|
@@ -5356,7 +5310,7 @@ var unpublishHealthFundForm = function unpublishHealthFundForm(healthFundId, for
|
|
|
5356
5310
|
healthFundId: healthFundId,
|
|
5357
5311
|
formId: formId
|
|
5358
5312
|
}, opts.hyperMediaEndpoint);
|
|
5359
|
-
return request(_objectSpread$
|
|
5313
|
+
return request(_objectSpread$j({}, opts, {
|
|
5360
5314
|
path: pathHealthFundFormUnpublish(healthFundId, formId)
|
|
5361
5315
|
}), {
|
|
5362
5316
|
method: 'post'
|
|
@@ -5380,7 +5334,7 @@ var getLatestApprovedDocument = function getLatestApprovedDocument(businessId, p
|
|
|
5380
5334
|
practiceId: practiceId,
|
|
5381
5335
|
formId: formId
|
|
5382
5336
|
}, opts.hyperMediaEndpoint);
|
|
5383
|
-
return request(_objectSpread$
|
|
5337
|
+
return request(_objectSpread$j({}, opts, {
|
|
5384
5338
|
path: pathGetLatestApprovedDocument(businessId, practiceId, formId)
|
|
5385
5339
|
}), {
|
|
5386
5340
|
method: 'get'
|
|
@@ -5405,7 +5359,7 @@ var getManualFormUploadUrl = function getManualFormUploadUrl(businessId, practic
|
|
|
5405
5359
|
practiceId: practiceId,
|
|
5406
5360
|
formId: formId
|
|
5407
5361
|
}, opts.hyperMediaEndpoint);
|
|
5408
|
-
return request(_objectSpread$
|
|
5362
|
+
return request(_objectSpread$j({}, opts, {
|
|
5409
5363
|
path: pathGetManualFormUploadUrl(businessId, practiceId, formId)
|
|
5410
5364
|
}), {
|
|
5411
5365
|
method: 'get',
|
|
@@ -5438,9 +5392,9 @@ var forms = /*#__PURE__*/Object.freeze({
|
|
|
5438
5392
|
getManualFormUploadUrl: getManualFormUploadUrl
|
|
5439
5393
|
});
|
|
5440
5394
|
|
|
5441
|
-
function ownKeys$
|
|
5395
|
+
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; }
|
|
5442
5396
|
|
|
5443
|
-
function _objectSpread$
|
|
5397
|
+
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; }
|
|
5444
5398
|
var PATH__FUNDERS = '/funders';
|
|
5445
5399
|
var pathFunder = function pathFunder(funderId) {
|
|
5446
5400
|
return "/funders/" + funderId;
|
|
@@ -5450,7 +5404,7 @@ var getFunders = function getFunders(opts) {
|
|
|
5450
5404
|
opts = {};
|
|
5451
5405
|
}
|
|
5452
5406
|
|
|
5453
|
-
return request(_objectSpread$
|
|
5407
|
+
return request(_objectSpread$k({}, opts, {
|
|
5454
5408
|
path: PATH__FUNDERS
|
|
5455
5409
|
}), {
|
|
5456
5410
|
method: 'get'
|
|
@@ -5461,7 +5415,7 @@ var getFunder = function getFunder(funderId, opts) {
|
|
|
5461
5415
|
opts = {};
|
|
5462
5416
|
}
|
|
5463
5417
|
|
|
5464
|
-
return request(_objectSpread$
|
|
5418
|
+
return request(_objectSpread$k({}, opts, {
|
|
5465
5419
|
path: pathFunder(funderId)
|
|
5466
5420
|
}), {
|
|
5467
5421
|
method: 'get'
|
|
@@ -5476,9 +5430,9 @@ var funders = /*#__PURE__*/Object.freeze({
|
|
|
5476
5430
|
getFunder: getFunder
|
|
5477
5431
|
});
|
|
5478
5432
|
|
|
5479
|
-
function ownKeys$
|
|
5433
|
+
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; }
|
|
5480
5434
|
|
|
5481
|
-
function _objectSpread$
|
|
5435
|
+
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; }
|
|
5482
5436
|
var pathVerifyEclipse = function pathVerifyEclipse() {
|
|
5483
5437
|
return "/eclipse/opvw";
|
|
5484
5438
|
};
|
|
@@ -5496,7 +5450,7 @@ var verifyEclipse = function verifyEclipse(body, opts) {
|
|
|
5496
5450
|
doesParamExist.default({
|
|
5497
5451
|
body: body
|
|
5498
5452
|
}, opts.hyperMediaEndpoint);
|
|
5499
|
-
return request(_objectSpread$
|
|
5453
|
+
return request(_objectSpread$l({}, opts, {
|
|
5500
5454
|
path: pathVerifyEclipse()
|
|
5501
5455
|
}), {
|
|
5502
5456
|
method: 'post',
|
|
@@ -5510,9 +5464,9 @@ var funderServices = /*#__PURE__*/Object.freeze({
|
|
|
5510
5464
|
verifyEclipse: verifyEclipse
|
|
5511
5465
|
});
|
|
5512
5466
|
|
|
5513
|
-
function ownKeys$
|
|
5467
|
+
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; }
|
|
5514
5468
|
|
|
5515
|
-
function _objectSpread$
|
|
5469
|
+
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; }
|
|
5516
5470
|
var pathFunderSettings = function pathFunderSettings(businessId) {
|
|
5517
5471
|
return "/businesses/" + businessId + "/fundersettings";
|
|
5518
5472
|
};
|
|
@@ -5531,7 +5485,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
|
|
|
5531
5485
|
doesParamExist.default({
|
|
5532
5486
|
businessId: businessId
|
|
5533
5487
|
}, opts.hyperMediaEndpoint);
|
|
5534
|
-
return request(_objectSpread$
|
|
5488
|
+
return request(_objectSpread$m({}, opts, {
|
|
5535
5489
|
path: pathFunderSettings(businessId)
|
|
5536
5490
|
}), {
|
|
5537
5491
|
method: 'get',
|
|
@@ -5547,7 +5501,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
|
|
|
5547
5501
|
businessId: businessId,
|
|
5548
5502
|
funderSettingsId: funderSettingsId
|
|
5549
5503
|
}, opts.hyperMediaEndpoint);
|
|
5550
|
-
return request(_objectSpread$
|
|
5504
|
+
return request(_objectSpread$m({}, opts, {
|
|
5551
5505
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5552
5506
|
}), {
|
|
5553
5507
|
method: 'get'
|
|
@@ -5562,7 +5516,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
|
|
|
5562
5516
|
businessId: businessId,
|
|
5563
5517
|
funderSettingsId: funderSettingsId
|
|
5564
5518
|
}, opts.hyperMediaEndpoint);
|
|
5565
|
-
return request(_objectSpread$
|
|
5519
|
+
return request(_objectSpread$m({}, opts, {
|
|
5566
5520
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5567
5521
|
}), {
|
|
5568
5522
|
method: 'put',
|
|
@@ -5577,7 +5531,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
|
|
|
5577
5531
|
doesParamExist.default({
|
|
5578
5532
|
businessId: businessId
|
|
5579
5533
|
}, opts.hyperMediaEndpoint);
|
|
5580
|
-
return request(_objectSpread$
|
|
5534
|
+
return request(_objectSpread$m({}, opts, {
|
|
5581
5535
|
path: pathFunderSettings(businessId)
|
|
5582
5536
|
}), {
|
|
5583
5537
|
method: 'post',
|
|
@@ -5593,7 +5547,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
|
|
|
5593
5547
|
businessId: businessId,
|
|
5594
5548
|
funderSettingsId: funderSettingsId
|
|
5595
5549
|
}, opts.hyperMediaEndpoint);
|
|
5596
|
-
return request(_objectSpread$
|
|
5550
|
+
return request(_objectSpread$m({}, opts, {
|
|
5597
5551
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5598
5552
|
}), {
|
|
5599
5553
|
method: 'delete'
|
|
@@ -5611,9 +5565,9 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
5611
5565
|
deleteBusinesFunderSettings: deleteBusinesFunderSettings
|
|
5612
5566
|
});
|
|
5613
5567
|
|
|
5614
|
-
function ownKeys$
|
|
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; }
|
|
5615
5569
|
|
|
5616
|
-
function _objectSpread$
|
|
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; }
|
|
5617
5571
|
var pathFunderValues = function pathFunderValues(businessId) {
|
|
5618
5572
|
return "/businesses/" + businessId + "/fundervalues";
|
|
5619
5573
|
};
|
|
@@ -5633,7 +5587,7 @@ var getBusinessFunderValues = /*#__PURE__*/function () {
|
|
|
5633
5587
|
doesParamExist.default({
|
|
5634
5588
|
businessId: businessId
|
|
5635
5589
|
}, opts.hyperMediaEndpoint);
|
|
5636
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5590
|
+
return _context.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
5637
5591
|
path: pathFunderValues(businessId)
|
|
5638
5592
|
}), {
|
|
5639
5593
|
method: 'get',
|
|
@@ -5661,7 +5615,7 @@ var getBusinessFunderValueById = function getBusinessFunderValueById(businessId,
|
|
|
5661
5615
|
businessId: businessId,
|
|
5662
5616
|
funderValueId: funderValueId
|
|
5663
5617
|
}, opts.hyperMediaEndpoint);
|
|
5664
|
-
return request(_objectSpread$
|
|
5618
|
+
return request(_objectSpread$n({}, opts, {
|
|
5665
5619
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
5666
5620
|
}), {
|
|
5667
5621
|
method: 'get'
|
|
@@ -5675,7 +5629,7 @@ var createBusinessFunderValue = function createBusinessFunderValue(businessId, b
|
|
|
5675
5629
|
doesParamExist.default({
|
|
5676
5630
|
businessId: businessId
|
|
5677
5631
|
}, opts.hyperMediaEndpoint);
|
|
5678
|
-
return request(_objectSpread$
|
|
5632
|
+
return request(_objectSpread$n({}, opts, {
|
|
5679
5633
|
path: pathFunderValues(businessId)
|
|
5680
5634
|
}), {
|
|
5681
5635
|
method: 'post',
|
|
@@ -5691,7 +5645,7 @@ var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, f
|
|
|
5691
5645
|
businessId: businessId,
|
|
5692
5646
|
funderValueId: funderValueId
|
|
5693
5647
|
}, opts.hyperMediaEndpoint);
|
|
5694
|
-
return request(_objectSpread$
|
|
5648
|
+
return request(_objectSpread$n({}, opts, {
|
|
5695
5649
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
5696
5650
|
}), {
|
|
5697
5651
|
method: 'put',
|
|
@@ -5707,7 +5661,7 @@ var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, f
|
|
|
5707
5661
|
businessId: businessId,
|
|
5708
5662
|
funderValueId: funderValueId
|
|
5709
5663
|
}, opts.hyperMediaEndpoint);
|
|
5710
|
-
return request(_objectSpread$
|
|
5664
|
+
return request(_objectSpread$n({}, opts, {
|
|
5711
5665
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
5712
5666
|
}), {
|
|
5713
5667
|
method: 'delete'
|
|
@@ -5725,9 +5679,9 @@ var funderValues = /*#__PURE__*/Object.freeze({
|
|
|
5725
5679
|
deleteBusinessFunderValue: deleteBusinessFunderValue
|
|
5726
5680
|
});
|
|
5727
5681
|
|
|
5728
|
-
function ownKeys$
|
|
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; }
|
|
5729
5683
|
|
|
5730
|
-
function _objectSpread$
|
|
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; }
|
|
5731
5685
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
5732
5686
|
return "/businesses/" + businessId + "/futures";
|
|
5733
5687
|
};
|
|
@@ -5773,7 +5727,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
5773
5727
|
doesParamExist.default({
|
|
5774
5728
|
businessId: businessId
|
|
5775
5729
|
}, opts.hyperMediaEndpoint);
|
|
5776
|
-
return request(_objectSpread$
|
|
5730
|
+
return request(_objectSpread$o({}, opts, {
|
|
5777
5731
|
path: pathBusinessHolds(businessId)
|
|
5778
5732
|
}), {
|
|
5779
5733
|
method: 'post',
|
|
@@ -5795,7 +5749,7 @@ var createBusinessInstalmentPlan = function createBusinessInstalmentPlan(busines
|
|
|
5795
5749
|
doesParamExist.default({
|
|
5796
5750
|
businessId: businessId
|
|
5797
5751
|
}, opts.hyperMediaEndpoint);
|
|
5798
|
-
return request(_objectSpread$
|
|
5752
|
+
return request(_objectSpread$o({}, opts, {
|
|
5799
5753
|
path: pathBusinessInstalmentPlans(businessId)
|
|
5800
5754
|
}), {
|
|
5801
5755
|
method: 'post',
|
|
@@ -5816,7 +5770,7 @@ var cancel = function cancel(futureId, opts) {
|
|
|
5816
5770
|
doesParamExist.default({
|
|
5817
5771
|
futureId: futureId
|
|
5818
5772
|
}, opts.hyperMediaEndpoint);
|
|
5819
|
-
return request(_objectSpread$
|
|
5773
|
+
return request(_objectSpread$o({}, opts, {
|
|
5820
5774
|
path: pathCancels(futureId)
|
|
5821
5775
|
}), {
|
|
5822
5776
|
method: 'post'
|
|
@@ -5837,7 +5791,7 @@ var getBusinessFutures = function getBusinessFutures(businessId, query, opts) {
|
|
|
5837
5791
|
doesParamExist.default({
|
|
5838
5792
|
businessId: businessId
|
|
5839
5793
|
}, opts.hyperMediaEndpoint);
|
|
5840
|
-
return request(_objectSpread$
|
|
5794
|
+
return request(_objectSpread$o({}, opts, {
|
|
5841
5795
|
path: pathBusinessFutures(businessId)
|
|
5842
5796
|
}), {
|
|
5843
5797
|
method: 'get',
|
|
@@ -5860,7 +5814,7 @@ var getBusinessFuture = function getBusinessFuture(businessId, futureId, opts) {
|
|
|
5860
5814
|
businessId: businessId,
|
|
5861
5815
|
futureId: futureId
|
|
5862
5816
|
}, opts.hyperMediaEndpoint);
|
|
5863
|
-
return request(_objectSpread$
|
|
5817
|
+
return request(_objectSpread$o({}, opts, {
|
|
5864
5818
|
path: pathBusinessFuture(businessId, futureId)
|
|
5865
5819
|
}), {
|
|
5866
5820
|
method: 'get'
|
|
@@ -5880,7 +5834,7 @@ var getFuture = function getFuture(futureId, opts) {
|
|
|
5880
5834
|
doesParamExist.default({
|
|
5881
5835
|
futureId: futureId
|
|
5882
5836
|
}, opts.hyperMediaEndpoint);
|
|
5883
|
-
return request(_objectSpread$
|
|
5837
|
+
return request(_objectSpread$o({}, opts, {
|
|
5884
5838
|
path: pathFuture(futureId)
|
|
5885
5839
|
}), {
|
|
5886
5840
|
method: 'get'
|
|
@@ -5905,7 +5859,7 @@ var getPaymentLink = /*#__PURE__*/function () {
|
|
|
5905
5859
|
doesParamExist.default({
|
|
5906
5860
|
futureId: futureId
|
|
5907
5861
|
}, opts.hyperMediaEndpoint);
|
|
5908
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5862
|
+
return _context.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
5909
5863
|
path: pathPaymentLink(futureId)
|
|
5910
5864
|
}), {
|
|
5911
5865
|
method: 'get'
|
|
@@ -5938,7 +5892,7 @@ var sendProcessingRequest = function sendProcessingRequest(futureId, body, opts)
|
|
|
5938
5892
|
doesParamExist.default({
|
|
5939
5893
|
futureId: futureId
|
|
5940
5894
|
}, opts.hyperMediaEndpoint);
|
|
5941
|
-
return request(_objectSpread$
|
|
5895
|
+
return request(_objectSpread$o({}, opts, {
|
|
5942
5896
|
path: pathProcessingRequests(futureId)
|
|
5943
5897
|
}), {
|
|
5944
5898
|
method: 'post',
|
|
@@ -5960,7 +5914,7 @@ var submit = function submit(futureId, body, opts) {
|
|
|
5960
5914
|
doesParamExist.default({
|
|
5961
5915
|
futureId: futureId
|
|
5962
5916
|
}, opts.hyperMediaEndpoint);
|
|
5963
|
-
return request(_objectSpread$
|
|
5917
|
+
return request(_objectSpread$o({}, opts, {
|
|
5964
5918
|
path: pathSubmits(futureId)
|
|
5965
5919
|
}), {
|
|
5966
5920
|
method: 'post',
|
|
@@ -5982,7 +5936,7 @@ var update = function update(futureId, body, opts) {
|
|
|
5982
5936
|
doesParamExist.default({
|
|
5983
5937
|
futureId: futureId
|
|
5984
5938
|
}, opts.hyperMediaEndpoint);
|
|
5985
|
-
return request(_objectSpread$
|
|
5939
|
+
return request(_objectSpread$o({}, opts, {
|
|
5986
5940
|
path: pathFuture(futureId)
|
|
5987
5941
|
}), {
|
|
5988
5942
|
method: 'put',
|
|
@@ -6004,7 +5958,7 @@ var sendReceipt = function sendReceipt(futureId, body, opts) {
|
|
|
6004
5958
|
doesParamExist.default({
|
|
6005
5959
|
futureId: futureId
|
|
6006
5960
|
}, opts.hyperMediaEndpoint);
|
|
6007
|
-
return request(_objectSpread$
|
|
5961
|
+
return request(_objectSpread$o({}, opts, {
|
|
6008
5962
|
path: pathSendReceipt(futureId)
|
|
6009
5963
|
}), {
|
|
6010
5964
|
method: 'post',
|
|
@@ -6037,9 +5991,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
6037
5991
|
sendReceipt: sendReceipt
|
|
6038
5992
|
});
|
|
6039
5993
|
|
|
6040
|
-
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; }
|
|
6041
5995
|
|
|
6042
|
-
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; }
|
|
6043
5997
|
|
|
6044
5998
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
6045
5999
|
return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts";
|
|
@@ -6077,7 +6031,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6077
6031
|
doesParamExist.default({
|
|
6078
6032
|
memberId: memberId
|
|
6079
6033
|
}, opts.hyperMediaEndpoint);
|
|
6080
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6034
|
+
return _context.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6081
6035
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
6082
6036
|
}), {
|
|
6083
6037
|
method: 'post',
|
|
@@ -6118,7 +6072,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6118
6072
|
businessId: businessId,
|
|
6119
6073
|
patientId: patientId
|
|
6120
6074
|
}, opts.hyperMediaEndpoint);
|
|
6121
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6075
|
+
return _context2.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6122
6076
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6123
6077
|
}), {
|
|
6124
6078
|
method: 'post',
|
|
@@ -6158,7 +6112,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6158
6112
|
memberId: memberId,
|
|
6159
6113
|
healthFundAccountId: healthFundAccountId
|
|
6160
6114
|
}, opts.hyperMediaEndpoint);
|
|
6161
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6115
|
+
return _context3.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6162
6116
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6163
6117
|
}), {
|
|
6164
6118
|
method: 'delete'
|
|
@@ -6199,7 +6153,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6199
6153
|
patientId: patientId,
|
|
6200
6154
|
healthFundAccountId: healthFundAccountId
|
|
6201
6155
|
}, opts.hyperMediaEndpoint);
|
|
6202
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6156
|
+
return _context4.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6203
6157
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6204
6158
|
}), {
|
|
6205
6159
|
method: 'delete'
|
|
@@ -6237,7 +6191,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6237
6191
|
doesParamExist.default({
|
|
6238
6192
|
memberId: memberId
|
|
6239
6193
|
}, opts.hyperMediaEndpoint);
|
|
6240
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6194
|
+
return _context5.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6241
6195
|
path: pathMemberHealthFundAccounts(memberId)
|
|
6242
6196
|
}), {
|
|
6243
6197
|
method: 'get',
|
|
@@ -6278,7 +6232,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6278
6232
|
businessId: businessId,
|
|
6279
6233
|
patientId: patientId
|
|
6280
6234
|
}, opts.hyperMediaEndpoint);
|
|
6281
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6235
|
+
return _context6.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6282
6236
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6283
6237
|
}), {
|
|
6284
6238
|
method: 'get',
|
|
@@ -6318,7 +6272,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6318
6272
|
memberId: memberId,
|
|
6319
6273
|
healthFundAccountId: healthFundAccountId
|
|
6320
6274
|
}, opts.hyperMediaEndpoint);
|
|
6321
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6275
|
+
return _context7.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6322
6276
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
6323
6277
|
}), {
|
|
6324
6278
|
method: 'get'
|
|
@@ -6359,7 +6313,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6359
6313
|
patientId: patientId,
|
|
6360
6314
|
healthFundAccountId: healthFundAccountId
|
|
6361
6315
|
}, opts.hyperMediaEndpoint);
|
|
6362
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6316
|
+
return _context8.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6363
6317
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6364
6318
|
}), {
|
|
6365
6319
|
method: 'get'
|
|
@@ -6399,7 +6353,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6399
6353
|
memberId: memberId,
|
|
6400
6354
|
healthFundAccountId: healthFundAccountId
|
|
6401
6355
|
}, opts.hyperMediaEndpoint);
|
|
6402
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6356
|
+
return _context9.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6403
6357
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6404
6358
|
}), {
|
|
6405
6359
|
method: 'put',
|
|
@@ -6442,7 +6396,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6442
6396
|
patientId: patientId,
|
|
6443
6397
|
healthFundAccountId: healthFundAccountId
|
|
6444
6398
|
}, opts.hyperMediaEndpoint);
|
|
6445
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6399
|
+
return _context10.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6446
6400
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6447
6401
|
}), {
|
|
6448
6402
|
method: 'put',
|
|
@@ -6476,9 +6430,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
6476
6430
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
6477
6431
|
});
|
|
6478
6432
|
|
|
6479
|
-
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; }
|
|
6480
6434
|
|
|
6481
|
-
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; }
|
|
6482
6436
|
|
|
6483
6437
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
6484
6438
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/healthfundsettings";
|
|
@@ -6515,11 +6469,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6515
6469
|
doesParamExist.default({
|
|
6516
6470
|
healthFundId: healthFundId
|
|
6517
6471
|
}, opts.hyperMediaEndpoint);
|
|
6518
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6472
|
+
return _context.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6519
6473
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
6520
6474
|
}), {
|
|
6521
6475
|
method: 'post',
|
|
6522
|
-
data: _objectSpread$
|
|
6476
|
+
data: _objectSpread$q({
|
|
6523
6477
|
enabled: true
|
|
6524
6478
|
}, body)
|
|
6525
6479
|
}));
|
|
@@ -6556,7 +6510,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6556
6510
|
doesParamExist.default({
|
|
6557
6511
|
healthFundId: healthFundId
|
|
6558
6512
|
}, opts.hyperMediaEndpoint);
|
|
6559
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6513
|
+
return _context2.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6560
6514
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6561
6515
|
}), {
|
|
6562
6516
|
method: 'delete'
|
|
@@ -6601,7 +6555,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
6601
6555
|
doesParamExist.default({
|
|
6602
6556
|
healthFundId: healthFundId
|
|
6603
6557
|
}, opts.hyperMediaEndpoint);
|
|
6604
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6558
|
+
return _context3.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6605
6559
|
path: pathHealthFundSettings(healthFundId)
|
|
6606
6560
|
}), {
|
|
6607
6561
|
method: 'get',
|
|
@@ -6651,7 +6605,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
6651
6605
|
practiceId: practiceId,
|
|
6652
6606
|
staffId: staffId
|
|
6653
6607
|
}, opts.hyperMediaEndpoint);
|
|
6654
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6608
|
+
return _context4.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6655
6609
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
6656
6610
|
}), {
|
|
6657
6611
|
method: 'get',
|
|
@@ -6692,7 +6646,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6692
6646
|
healthFundId: healthFundId,
|
|
6693
6647
|
healthFundSettingId: healthFundSettingId
|
|
6694
6648
|
}, opts.hyperMediaEndpoint);
|
|
6695
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6649
|
+
return _context5.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
6696
6650
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6697
6651
|
}), {
|
|
6698
6652
|
method: 'put',
|
|
@@ -6721,9 +6675,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
6721
6675
|
updateHealthFundSetting: updateHealthFundSetting
|
|
6722
6676
|
});
|
|
6723
6677
|
|
|
6724
|
-
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; }
|
|
6725
6679
|
|
|
6726
|
-
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; }
|
|
6727
6681
|
var PATH__HEALTH_FUNDS = '/healthfunds';
|
|
6728
6682
|
|
|
6729
6683
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -6766,7 +6720,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
6766
6720
|
doesParamExist.default({
|
|
6767
6721
|
accountId: accountId
|
|
6768
6722
|
}, opts.hyperMediaEndpoint);
|
|
6769
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6723
|
+
return _context.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6770
6724
|
path: pathHealthFundsByAccountId(accountId)
|
|
6771
6725
|
}), {
|
|
6772
6726
|
method: 'get'
|
|
@@ -6808,7 +6762,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
6808
6762
|
doesParamExist.default({
|
|
6809
6763
|
businessId: businessId
|
|
6810
6764
|
}, opts.hyperMediaEndpoint);
|
|
6811
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6765
|
+
return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6812
6766
|
path: pathBusinessHealthFunds(businessId)
|
|
6813
6767
|
}), {
|
|
6814
6768
|
method: 'get',
|
|
@@ -6843,7 +6797,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
6843
6797
|
opts = {};
|
|
6844
6798
|
}
|
|
6845
6799
|
|
|
6846
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6800
|
+
return _context3.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6847
6801
|
path: PATH__HEALTH_FUNDS
|
|
6848
6802
|
}), {
|
|
6849
6803
|
method: 'get',
|
|
@@ -6887,7 +6841,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
6887
6841
|
doesParamExist.default({
|
|
6888
6842
|
organisationId: organisationId
|
|
6889
6843
|
}, opts.hyperMediaEndpoint);
|
|
6890
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6844
|
+
return _context4.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6891
6845
|
path: pathOrganisationHealthFunds(organisationId)
|
|
6892
6846
|
}), {
|
|
6893
6847
|
method: 'get',
|
|
@@ -6923,7 +6877,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
6923
6877
|
opts = {};
|
|
6924
6878
|
}
|
|
6925
6879
|
|
|
6926
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6880
|
+
return _context5.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6927
6881
|
path: PATH__HEALTH_FUNDS
|
|
6928
6882
|
}), {
|
|
6929
6883
|
method: 'post',
|
|
@@ -6961,7 +6915,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
6961
6915
|
doesParamExist.default({
|
|
6962
6916
|
healthFundId: healthFundId
|
|
6963
6917
|
}, opts.hyperMediaEndpoint);
|
|
6964
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6918
|
+
return _context6.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
6965
6919
|
path: pathHealthFund(healthFundId)
|
|
6966
6920
|
}), {
|
|
6967
6921
|
method: 'get'
|
|
@@ -6999,7 +6953,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
6999
6953
|
doesParamExist.default({
|
|
7000
6954
|
healthFundId: healthFundId
|
|
7001
6955
|
}, opts.hyperMediaEndpoint);
|
|
7002
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6956
|
+
return _context7.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7003
6957
|
path: pathHealthFund(healthFundId)
|
|
7004
6958
|
}), {
|
|
7005
6959
|
method: 'put',
|
|
@@ -7037,7 +6991,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
7037
6991
|
doesParamExist.default({
|
|
7038
6992
|
healthFundId: healthFundId
|
|
7039
6993
|
}, opts.hyperMediaEndpoint);
|
|
7040
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6994
|
+
return _context8.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7041
6995
|
path: pathHealthFund(healthFundId)
|
|
7042
6996
|
}), {
|
|
7043
6997
|
method: 'delete'
|
|
@@ -7130,7 +7084,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
7130
7084
|
healthFundId: healthFundId,
|
|
7131
7085
|
body: body
|
|
7132
7086
|
}, opts.hyperMediaEndpoint);
|
|
7133
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7087
|
+
return _context10.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7134
7088
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
7135
7089
|
}), {
|
|
7136
7090
|
method: 'post',
|
|
@@ -7165,9 +7119,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
7165
7119
|
verifyMember: verifyMember
|
|
7166
7120
|
});
|
|
7167
7121
|
|
|
7168
|
-
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; }
|
|
7169
7123
|
|
|
7170
|
-
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; }
|
|
7171
7125
|
var pathICDItems = '/icditems';
|
|
7172
7126
|
|
|
7173
7127
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -7196,7 +7150,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
7196
7150
|
};
|
|
7197
7151
|
}
|
|
7198
7152
|
|
|
7199
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7153
|
+
return _context.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7200
7154
|
path: pathICDItems
|
|
7201
7155
|
}), {
|
|
7202
7156
|
method: 'get',
|
|
@@ -7241,7 +7195,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
7241
7195
|
doesParamExist.default({
|
|
7242
7196
|
modalityId: modalityId
|
|
7243
7197
|
}, opts.hyperMediaEndpoint);
|
|
7244
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7198
|
+
return _context2.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
7245
7199
|
path: pathModalityICDItems(modalityId)
|
|
7246
7200
|
}), {
|
|
7247
7201
|
method: 'get',
|
|
@@ -7267,9 +7221,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
7267
7221
|
getModalityICDItems: getModalityICDItems
|
|
7268
7222
|
});
|
|
7269
7223
|
|
|
7270
|
-
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; }
|
|
7271
7225
|
|
|
7272
|
-
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; }
|
|
7273
7227
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
7274
7228
|
return "/businesses/" + businessId + "/invoicescans";
|
|
7275
7229
|
};
|
|
@@ -7299,7 +7253,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
7299
7253
|
doesParamExist.default({
|
|
7300
7254
|
businessId: businessId
|
|
7301
7255
|
}, opts.hyperMediaEndpoint);
|
|
7302
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7256
|
+
return _context.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
7303
7257
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
7304
7258
|
}), {
|
|
7305
7259
|
method: 'post',
|
|
@@ -7340,7 +7294,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
7340
7294
|
businessId: businessId,
|
|
7341
7295
|
invoiceScanId: invoiceScanId
|
|
7342
7296
|
}, opts.hyperMediaEndpoint);
|
|
7343
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7297
|
+
return _context2.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
7344
7298
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
7345
7299
|
}), {
|
|
7346
7300
|
method: 'get'
|
|
@@ -7373,7 +7327,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
7373
7327
|
doesParamExist.default({
|
|
7374
7328
|
businessId: businessId
|
|
7375
7329
|
}, opts.hyperMediaEndpoint);
|
|
7376
|
-
return request(_objectSpread$
|
|
7330
|
+
return request(_objectSpread$t({}, opts, {
|
|
7377
7331
|
path: pathUploadUrlByBusinessId(businessId)
|
|
7378
7332
|
}), {
|
|
7379
7333
|
method: 'get',
|
|
@@ -7391,9 +7345,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
7391
7345
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
7392
7346
|
});
|
|
7393
7347
|
|
|
7394
|
-
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; }
|
|
7395
7349
|
|
|
7396
|
-
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; }
|
|
7397
7351
|
var PATH__JHCS = "/jointhealthcentres";
|
|
7398
7352
|
var pathJHC = function pathJHC(jhcId) {
|
|
7399
7353
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -7406,7 +7360,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
7406
7360
|
doesParamExist.default({
|
|
7407
7361
|
jhcId: jhcId
|
|
7408
7362
|
}, opts.hyperMediaEndpoint);
|
|
7409
|
-
return request(_objectSpread$
|
|
7363
|
+
return request(_objectSpread$u({}, opts, {
|
|
7410
7364
|
path: pathJHC(jhcId)
|
|
7411
7365
|
}), {
|
|
7412
7366
|
method: 'get'
|
|
@@ -7417,7 +7371,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
7417
7371
|
opts = {};
|
|
7418
7372
|
}
|
|
7419
7373
|
|
|
7420
|
-
return request(_objectSpread$
|
|
7374
|
+
return request(_objectSpread$u({}, opts, {
|
|
7421
7375
|
path: PATH__JHCS
|
|
7422
7376
|
}), {
|
|
7423
7377
|
method: 'get',
|
|
@@ -7433,9 +7387,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
7433
7387
|
getJHCs: getJHCs
|
|
7434
7388
|
});
|
|
7435
7389
|
|
|
7436
|
-
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; }
|
|
7437
7391
|
|
|
7438
|
-
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; }
|
|
7439
7393
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
7440
7394
|
return "/businesses/" + businessId + "/kyc";
|
|
7441
7395
|
};
|
|
@@ -7489,7 +7443,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
7489
7443
|
doesParamExist.default({
|
|
7490
7444
|
businessId: businessId
|
|
7491
7445
|
}, opts.hyperMediaEndpoint);
|
|
7492
|
-
return request(_objectSpread$
|
|
7446
|
+
return request(_objectSpread$v({}, opts, {
|
|
7493
7447
|
path: pathBusinessKyc(businessId)
|
|
7494
7448
|
}), {
|
|
7495
7449
|
method: 'get'
|
|
@@ -7511,7 +7465,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
7511
7465
|
businessId: businessId,
|
|
7512
7466
|
practiceId: practiceId
|
|
7513
7467
|
}, opts.hyperMediaEndpoint);
|
|
7514
|
-
return request(_objectSpread$
|
|
7468
|
+
return request(_objectSpread$v({}, opts, {
|
|
7515
7469
|
path: pathPracticeKyc(businessId, practiceId)
|
|
7516
7470
|
}), {
|
|
7517
7471
|
method: 'get'
|
|
@@ -7532,7 +7486,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
7532
7486
|
doesParamExist.default({
|
|
7533
7487
|
businessId: businessId
|
|
7534
7488
|
}, opts.hyperMediaEndpoint);
|
|
7535
|
-
return request(_objectSpread$
|
|
7489
|
+
return request(_objectSpread$v({}, opts, {
|
|
7536
7490
|
path: pathBusinessKyc(businessId)
|
|
7537
7491
|
}), {
|
|
7538
7492
|
method: 'put',
|
|
@@ -7554,7 +7508,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
7554
7508
|
doesParamExist.default({
|
|
7555
7509
|
businessId: businessId
|
|
7556
7510
|
}, opts.hyperMediaEndpoint);
|
|
7557
|
-
return request(_objectSpread$
|
|
7511
|
+
return request(_objectSpread$v({}, opts, {
|
|
7558
7512
|
path: pathBusinessCbo(businessId)
|
|
7559
7513
|
}), {
|
|
7560
7514
|
method: 'get',
|
|
@@ -7575,7 +7529,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
7575
7529
|
doesParamExist.default({
|
|
7576
7530
|
businessId: businessId
|
|
7577
7531
|
}, opts.hyperMediaEndpoint);
|
|
7578
|
-
return request(_objectSpread$
|
|
7532
|
+
return request(_objectSpread$v({}, opts, {
|
|
7579
7533
|
path: pathBusinessKycVerify(businessId)
|
|
7580
7534
|
}), {
|
|
7581
7535
|
method: 'post'
|
|
@@ -7597,7 +7551,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
7597
7551
|
businessId: businessId,
|
|
7598
7552
|
practiceId: practiceId
|
|
7599
7553
|
}, opts.hyperMediaEndpoint);
|
|
7600
|
-
return request(_objectSpread$
|
|
7554
|
+
return request(_objectSpread$v({}, opts, {
|
|
7601
7555
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
7602
7556
|
}), {
|
|
7603
7557
|
method: 'post',
|
|
@@ -7618,7 +7572,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
7618
7572
|
doesParamExist.default({
|
|
7619
7573
|
businessId: businessId
|
|
7620
7574
|
}, opts.hyperMediaEndpoint);
|
|
7621
|
-
return request(_objectSpread$
|
|
7575
|
+
return request(_objectSpread$v({}, opts, {
|
|
7622
7576
|
path: pathBusinessKycUnverify(businessId)
|
|
7623
7577
|
}), {
|
|
7624
7578
|
method: 'post'
|
|
@@ -7640,7 +7594,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
7640
7594
|
businessId: businessId,
|
|
7641
7595
|
practiceId: practiceId
|
|
7642
7596
|
}, opts.hyperMediaEndpoint);
|
|
7643
|
-
return request(_objectSpread$
|
|
7597
|
+
return request(_objectSpread$v({}, opts, {
|
|
7644
7598
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
7645
7599
|
}), {
|
|
7646
7600
|
method: 'post'
|
|
@@ -7661,7 +7615,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
7661
7615
|
doesParamExist.default({
|
|
7662
7616
|
businessId: businessId
|
|
7663
7617
|
}, opts.hyperMediaEndpoint);
|
|
7664
|
-
return request(_objectSpread$
|
|
7618
|
+
return request(_objectSpread$v({}, opts, {
|
|
7665
7619
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
7666
7620
|
}), {
|
|
7667
7621
|
method: 'post',
|
|
@@ -7683,7 +7637,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
7683
7637
|
doesParamExist.default({
|
|
7684
7638
|
businessId: businessId
|
|
7685
7639
|
}, opts.hyperMediaEndpoint);
|
|
7686
|
-
return request(_objectSpread$
|
|
7640
|
+
return request(_objectSpread$v({}, opts, {
|
|
7687
7641
|
path: pathRequestVerificationSupport(businessId)
|
|
7688
7642
|
}), {
|
|
7689
7643
|
method: 'post',
|
|
@@ -7705,7 +7659,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
7705
7659
|
doesParamExist.default({
|
|
7706
7660
|
businessId: businessId
|
|
7707
7661
|
}, opts.hyperMediaEndpoint);
|
|
7708
|
-
return request(_objectSpread$
|
|
7662
|
+
return request(_objectSpread$v({}, opts, {
|
|
7709
7663
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
7710
7664
|
}), {
|
|
7711
7665
|
method: 'post',
|
|
@@ -7728,7 +7682,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
7728
7682
|
doesParamExist.default({
|
|
7729
7683
|
businessId: businessId
|
|
7730
7684
|
}, opts.hyperMediaEndpoint);
|
|
7731
|
-
return request(_objectSpread$
|
|
7685
|
+
return request(_objectSpread$v({}, opts, {
|
|
7732
7686
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
7733
7687
|
}), {
|
|
7734
7688
|
method: 'delete'
|
|
@@ -7748,7 +7702,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
7748
7702
|
doesParamExist.default({
|
|
7749
7703
|
businessId: businessId
|
|
7750
7704
|
}, opts.hyperMediaEndpoint);
|
|
7751
|
-
return request(_objectSpread$
|
|
7705
|
+
return request(_objectSpread$v({}, opts, {
|
|
7752
7706
|
path: pathResumeComplexVerification(businessId)
|
|
7753
7707
|
}), {
|
|
7754
7708
|
method: 'post'
|
|
@@ -7769,7 +7723,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
7769
7723
|
doesParamExist.default({
|
|
7770
7724
|
businessId: businessId
|
|
7771
7725
|
}, opts.hyperMediaEndpoint);
|
|
7772
|
-
return request(_objectSpread$
|
|
7726
|
+
return request(_objectSpread$v({}, opts, {
|
|
7773
7727
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
7774
7728
|
}), {
|
|
7775
7729
|
method: 'get',
|
|
@@ -7808,9 +7762,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
7808
7762
|
getTrustDocumentUploadUrl: getTrustDocumentUploadUrl
|
|
7809
7763
|
});
|
|
7810
7764
|
|
|
7811
|
-
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; }
|
|
7812
7766
|
|
|
7813
|
-
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; }
|
|
7814
7768
|
var pathLog = function pathLog() {
|
|
7815
7769
|
return "/logs";
|
|
7816
7770
|
};
|
|
@@ -7828,7 +7782,7 @@ var createLog = function createLog(body, opts) {
|
|
|
7828
7782
|
opts = {};
|
|
7829
7783
|
}
|
|
7830
7784
|
|
|
7831
|
-
return request(_objectSpread$
|
|
7785
|
+
return request(_objectSpread$w({}, opts, {
|
|
7832
7786
|
path: pathLog()
|
|
7833
7787
|
}), {
|
|
7834
7788
|
method: 'post',
|
|
@@ -7850,7 +7804,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
7850
7804
|
doesParamExist.default({
|
|
7851
7805
|
businessId: businessId
|
|
7852
7806
|
});
|
|
7853
|
-
return request(_objectSpread$
|
|
7807
|
+
return request(_objectSpread$w({}, opts, {
|
|
7854
7808
|
path: pathBusinessLog(businessId)
|
|
7855
7809
|
}), {
|
|
7856
7810
|
method: 'post',
|
|
@@ -7866,9 +7820,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
7866
7820
|
createBusinessLog: createBusinessLog
|
|
7867
7821
|
});
|
|
7868
7822
|
|
|
7869
|
-
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; }
|
|
7870
7824
|
|
|
7871
|
-
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; }
|
|
7872
7826
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
7873
7827
|
return "/businesses/" + businessId + "/messagemappings";
|
|
7874
7828
|
};
|
|
@@ -7887,7 +7841,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
7887
7841
|
doesParamExist.default({
|
|
7888
7842
|
businessId: businessId
|
|
7889
7843
|
}, opts.hyperMediaEndpoint);
|
|
7890
|
-
return request(_objectSpread$
|
|
7844
|
+
return request(_objectSpread$x({}, opts, {
|
|
7891
7845
|
path: pathBusinessMessageMappings(businessId)
|
|
7892
7846
|
}), {
|
|
7893
7847
|
method: 'get',
|
|
@@ -7901,9 +7855,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
7901
7855
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
7902
7856
|
});
|
|
7903
7857
|
|
|
7904
|
-
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; }
|
|
7905
7859
|
|
|
7906
|
-
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; }
|
|
7907
7861
|
|
|
7908
7862
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
7909
7863
|
return "/healthfunds/" + healthFundId + "/minions";
|
|
@@ -7940,12 +7894,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
7940
7894
|
triggerId: triggerId,
|
|
7941
7895
|
actionId: actionId
|
|
7942
7896
|
}, opts.hyperMediaEndpoint);
|
|
7943
|
-
data = _objectSpread$
|
|
7897
|
+
data = _objectSpread$y({
|
|
7944
7898
|
name: name,
|
|
7945
7899
|
triggerId: triggerId,
|
|
7946
7900
|
actionId: actionId
|
|
7947
7901
|
}, body);
|
|
7948
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7902
|
+
return _context.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7949
7903
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7950
7904
|
}), {
|
|
7951
7905
|
method: 'post',
|
|
@@ -7985,7 +7939,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
7985
7939
|
opts = {};
|
|
7986
7940
|
}
|
|
7987
7941
|
|
|
7988
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7942
|
+
return _context2.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
7989
7943
|
path: pathMinionsForHealthFund(healthFundId)
|
|
7990
7944
|
}), {
|
|
7991
7945
|
method: 'get',
|
|
@@ -8025,7 +7979,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8025
7979
|
healthFundId: healthFundId,
|
|
8026
7980
|
minionId: minionId
|
|
8027
7981
|
}, opts.hyperMediaEndpoint);
|
|
8028
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7982
|
+
return _context3.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
8029
7983
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8030
7984
|
}), {
|
|
8031
7985
|
method: 'get'
|
|
@@ -8065,7 +8019,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8065
8019
|
healthFundId: healthFundId,
|
|
8066
8020
|
minionId: minionId
|
|
8067
8021
|
}, opts.hyperMediaEndpoint);
|
|
8068
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
8022
|
+
return _context4.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
8069
8023
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8070
8024
|
}), {
|
|
8071
8025
|
method: 'put',
|
|
@@ -8105,7 +8059,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8105
8059
|
healthFundId: healthFundId,
|
|
8106
8060
|
minionId: minionId
|
|
8107
8061
|
}, opts.hyperMediaEndpoint);
|
|
8108
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
8062
|
+
return _context5.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
8109
8063
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8110
8064
|
}), {
|
|
8111
8065
|
method: 'delete'
|
|
@@ -8133,9 +8087,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
8133
8087
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
8134
8088
|
});
|
|
8135
8089
|
|
|
8136
|
-
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; }
|
|
8137
8091
|
|
|
8138
|
-
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; }
|
|
8139
8093
|
var PATH__MODALITIES = '/modalities';
|
|
8140
8094
|
|
|
8141
8095
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -8167,7 +8121,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
8167
8121
|
doesParamExist.default({
|
|
8168
8122
|
businessId: businessId
|
|
8169
8123
|
}, opts.hyperMediaEndpoint);
|
|
8170
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8124
|
+
return _context.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8171
8125
|
path: pathBusinessModalities(businessId)
|
|
8172
8126
|
}), {
|
|
8173
8127
|
method: 'get'
|
|
@@ -8207,7 +8161,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
8207
8161
|
};
|
|
8208
8162
|
}
|
|
8209
8163
|
|
|
8210
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8164
|
+
return _context2.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8211
8165
|
path: PATH__MODALITIES
|
|
8212
8166
|
}), {
|
|
8213
8167
|
method: 'get',
|
|
@@ -8244,7 +8198,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
8244
8198
|
};
|
|
8245
8199
|
}
|
|
8246
8200
|
|
|
8247
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8201
|
+
return _context3.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8248
8202
|
path: pathModality(modalityId)
|
|
8249
8203
|
}), {
|
|
8250
8204
|
method: 'get'
|
|
@@ -8270,9 +8224,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
8270
8224
|
getModality: getModality
|
|
8271
8225
|
});
|
|
8272
8226
|
|
|
8273
|
-
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; }
|
|
8274
8228
|
|
|
8275
|
-
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; }
|
|
8276
8230
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
8277
8231
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
8278
8232
|
};
|
|
@@ -8300,7 +8254,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
8300
8254
|
healthFundId: healthFundId,
|
|
8301
8255
|
documentId: documentId
|
|
8302
8256
|
}, opts.hyperMediaEndpoint);
|
|
8303
|
-
return request(_objectSpread$
|
|
8257
|
+
return request(_objectSpread$A({}, opts, {
|
|
8304
8258
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8305
8259
|
}), {
|
|
8306
8260
|
method: 'post',
|
|
@@ -8316,7 +8270,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
8316
8270
|
healthFundId: healthFundId,
|
|
8317
8271
|
documentId: documentId
|
|
8318
8272
|
}, opts.hyperMediaEndpoint);
|
|
8319
|
-
return request(_objectSpread$
|
|
8273
|
+
return request(_objectSpread$A({}, opts, {
|
|
8320
8274
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8321
8275
|
}), {
|
|
8322
8276
|
method: 'get'
|
|
@@ -8331,7 +8285,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
8331
8285
|
healthFundId: healthFundId,
|
|
8332
8286
|
transactionId: transactionId
|
|
8333
8287
|
}, opts.hyperMediaEndpoint);
|
|
8334
|
-
return request(_objectSpread$
|
|
8288
|
+
return request(_objectSpread$A({}, opts, {
|
|
8335
8289
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
8336
8290
|
}), {
|
|
8337
8291
|
method: 'get'
|
|
@@ -8346,7 +8300,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
8346
8300
|
healthFundId: healthFundId,
|
|
8347
8301
|
noteId: noteId
|
|
8348
8302
|
}, opts.hyperMediaEndpoint);
|
|
8349
|
-
return request(_objectSpread$
|
|
8303
|
+
return request(_objectSpread$A({}, opts, {
|
|
8350
8304
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8351
8305
|
}), {
|
|
8352
8306
|
method: 'get'
|
|
@@ -8360,7 +8314,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
8360
8314
|
doesParamExist.default({
|
|
8361
8315
|
transactionId: transactionId
|
|
8362
8316
|
}, opts.hyperMediaEndpoint);
|
|
8363
|
-
return request(_objectSpread$
|
|
8317
|
+
return request(_objectSpread$A({}, opts, {
|
|
8364
8318
|
path: pathTransactionNotes(transactionId)
|
|
8365
8319
|
}), {
|
|
8366
8320
|
method: 'get',
|
|
@@ -8376,7 +8330,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
8376
8330
|
businessId: businessId,
|
|
8377
8331
|
transactionId: transactionId
|
|
8378
8332
|
}, opts.hyperMediaEndpoint);
|
|
8379
|
-
return request(_objectSpread$
|
|
8333
|
+
return request(_objectSpread$A({}, opts, {
|
|
8380
8334
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
8381
8335
|
}), {
|
|
8382
8336
|
method: 'get'
|
|
@@ -8390,7 +8344,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
8390
8344
|
doesParamExist.default({
|
|
8391
8345
|
transactionId: transactionId
|
|
8392
8346
|
}, opts.hyperMediaEndpoint);
|
|
8393
|
-
return request(_objectSpread$
|
|
8347
|
+
return request(_objectSpread$A({}, opts, {
|
|
8394
8348
|
path: pathTransactionNotes(transactionId)
|
|
8395
8349
|
}), {
|
|
8396
8350
|
method: 'post',
|
|
@@ -8406,7 +8360,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
8406
8360
|
transactionId: transactionId,
|
|
8407
8361
|
transactionNoteId: transactionNoteId
|
|
8408
8362
|
}, opts.hyperMediaEndpoint);
|
|
8409
|
-
return request(_objectSpread$
|
|
8363
|
+
return request(_objectSpread$A({}, opts, {
|
|
8410
8364
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
8411
8365
|
}), {
|
|
8412
8366
|
method: 'delete'
|
|
@@ -8421,7 +8375,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
8421
8375
|
healthFundId: healthFundId,
|
|
8422
8376
|
noteId: noteId
|
|
8423
8377
|
}, opts.hyperMediaEndpoint);
|
|
8424
|
-
return request(_objectSpread$
|
|
8378
|
+
return request(_objectSpread$A({}, opts, {
|
|
8425
8379
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8426
8380
|
}), {
|
|
8427
8381
|
method: 'put',
|
|
@@ -8437,7 +8391,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
8437
8391
|
healthFundId: healthFundId,
|
|
8438
8392
|
noteId: noteId
|
|
8439
8393
|
}, opts.hyperMediaEndpoint);
|
|
8440
|
-
return request(_objectSpread$
|
|
8394
|
+
return request(_objectSpread$A({}, opts, {
|
|
8441
8395
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8442
8396
|
}), {
|
|
8443
8397
|
method: 'delete'
|
|
@@ -8464,9 +8418,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
8464
8418
|
deleteHealthFundNote: deleteHealthFundNote
|
|
8465
8419
|
});
|
|
8466
8420
|
|
|
8467
|
-
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; }
|
|
8468
8422
|
|
|
8469
|
-
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; }
|
|
8470
8424
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
8471
8425
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
8472
8426
|
};
|
|
@@ -8497,7 +8451,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
8497
8451
|
doesParamExist.default({
|
|
8498
8452
|
practiceId: practiceId
|
|
8499
8453
|
});
|
|
8500
|
-
return request(_objectSpread$
|
|
8454
|
+
return request(_objectSpread$B({}, opts, {
|
|
8501
8455
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
8502
8456
|
}), {
|
|
8503
8457
|
method: 'post',
|
|
@@ -8530,7 +8484,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
8530
8484
|
businessId: businessId,
|
|
8531
8485
|
practiceId: practiceId
|
|
8532
8486
|
}, opts.hyperMediaEndpoint);
|
|
8533
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8487
|
+
return _context.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
8534
8488
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
8535
8489
|
}), {
|
|
8536
8490
|
method: 'get',
|
|
@@ -8564,7 +8518,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
8564
8518
|
doesParamExist.default({
|
|
8565
8519
|
businessId: businessId
|
|
8566
8520
|
});
|
|
8567
|
-
return request(_objectSpread$
|
|
8521
|
+
return request(_objectSpread$B({}, opts, {
|
|
8568
8522
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8569
8523
|
}), {
|
|
8570
8524
|
method: 'get',
|
|
@@ -8584,7 +8538,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
8584
8538
|
doesParamExist.default({
|
|
8585
8539
|
businessId: businessId
|
|
8586
8540
|
});
|
|
8587
|
-
return request(_objectSpread$
|
|
8541
|
+
return request(_objectSpread$B({}, opts, {
|
|
8588
8542
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8589
8543
|
}), {
|
|
8590
8544
|
method: 'post',
|
|
@@ -8604,7 +8558,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
8604
8558
|
doesParamExist.default({
|
|
8605
8559
|
businessId: businessId
|
|
8606
8560
|
});
|
|
8607
|
-
return request(_objectSpread$
|
|
8561
|
+
return request(_objectSpread$B({}, opts, {
|
|
8608
8562
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8609
8563
|
}), {
|
|
8610
8564
|
method: 'put',
|
|
@@ -8628,7 +8582,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
8628
8582
|
staffId: staffId,
|
|
8629
8583
|
providerSetItemId: providerSetItemId
|
|
8630
8584
|
});
|
|
8631
|
-
return request(_objectSpread$
|
|
8585
|
+
return request(_objectSpread$B({}, opts, {
|
|
8632
8586
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
8633
8587
|
}), {
|
|
8634
8588
|
method: 'post',
|
|
@@ -8650,7 +8604,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
8650
8604
|
doesParamExist.default({
|
|
8651
8605
|
businessId: businessId
|
|
8652
8606
|
});
|
|
8653
|
-
return request(_objectSpread$
|
|
8607
|
+
return request(_objectSpread$B({}, opts, {
|
|
8654
8608
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
8655
8609
|
}), {
|
|
8656
8610
|
method: 'get',
|
|
@@ -8674,9 +8628,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
8674
8628
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
8675
8629
|
});
|
|
8676
8630
|
|
|
8677
|
-
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; }
|
|
8678
8632
|
|
|
8679
|
-
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; }
|
|
8680
8634
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
8681
8635
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
8682
8636
|
};
|
|
@@ -8708,7 +8662,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
8708
8662
|
doesParamExist.default({
|
|
8709
8663
|
onboardingRequestId: onboardingRequestId
|
|
8710
8664
|
}, opts.hyperMediaEndpoint);
|
|
8711
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8665
|
+
return _context.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
8712
8666
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8713
8667
|
}), {
|
|
8714
8668
|
method: 'get'
|
|
@@ -8750,7 +8704,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
8750
8704
|
doesParamExist.default({
|
|
8751
8705
|
businessId: businessId
|
|
8752
8706
|
}, opts.hyperMediaEndpoint);
|
|
8753
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8707
|
+
return _context2.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
8754
8708
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8755
8709
|
}), {
|
|
8756
8710
|
method: 'get',
|
|
@@ -8782,7 +8736,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
8782
8736
|
doesParamExist.default({
|
|
8783
8737
|
businessId: businessId
|
|
8784
8738
|
});
|
|
8785
|
-
return request(_objectSpread$
|
|
8739
|
+
return request(_objectSpread$C({}, opts, {
|
|
8786
8740
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8787
8741
|
}), {
|
|
8788
8742
|
method: 'post',
|
|
@@ -8802,7 +8756,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
8802
8756
|
doesParamExist.default({
|
|
8803
8757
|
onboardingRequestId: onboardingRequestId
|
|
8804
8758
|
});
|
|
8805
|
-
return request(_objectSpread$
|
|
8759
|
+
return request(_objectSpread$C({}, opts, {
|
|
8806
8760
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
8807
8761
|
}), {
|
|
8808
8762
|
method: 'post',
|
|
@@ -8823,7 +8777,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
8823
8777
|
doesParamExist.default({
|
|
8824
8778
|
onboardingRequestId: onboardingRequestId
|
|
8825
8779
|
});
|
|
8826
|
-
return request(_objectSpread$
|
|
8780
|
+
return request(_objectSpread$C({}, opts, {
|
|
8827
8781
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
8828
8782
|
}), {
|
|
8829
8783
|
method: 'put',
|
|
@@ -8843,7 +8797,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
8843
8797
|
doesParamExist.default({
|
|
8844
8798
|
onboardingRequestId: onboardingRequestId
|
|
8845
8799
|
});
|
|
8846
|
-
return request(_objectSpread$
|
|
8800
|
+
return request(_objectSpread$C({}, opts, {
|
|
8847
8801
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8848
8802
|
}), {
|
|
8849
8803
|
method: 'delete',
|
|
@@ -8865,9 +8819,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
8865
8819
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
8866
8820
|
});
|
|
8867
8821
|
|
|
8868
|
-
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; }
|
|
8869
8823
|
|
|
8870
|
-
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; }
|
|
8871
8825
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
8872
8826
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
8873
8827
|
var PATH__OPS_DECRTPT = '/ops/decrypt';
|
|
@@ -8900,13 +8854,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
8900
8854
|
type: type
|
|
8901
8855
|
}, opts.hyperMediaEndpoint);
|
|
8902
8856
|
|
|
8903
|
-
var data = _objectSpread$
|
|
8857
|
+
var data = _objectSpread$D({
|
|
8904
8858
|
fullName: fullName,
|
|
8905
8859
|
displayName: displayName,
|
|
8906
8860
|
type: type
|
|
8907
8861
|
}, body);
|
|
8908
8862
|
|
|
8909
|
-
return request(_objectSpread$
|
|
8863
|
+
return request(_objectSpread$D({}, opts, {
|
|
8910
8864
|
path: PATH__OPS_SERVICES
|
|
8911
8865
|
}), {
|
|
8912
8866
|
method: 'post',
|
|
@@ -8927,7 +8881,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
8927
8881
|
doesParamExist.default({
|
|
8928
8882
|
serviceId: serviceId
|
|
8929
8883
|
}, opts.hyperMediaEndpoint);
|
|
8930
|
-
return request(_objectSpread$
|
|
8884
|
+
return request(_objectSpread$D({}, opts, {
|
|
8931
8885
|
path: pathOpsService(serviceId)
|
|
8932
8886
|
}), {
|
|
8933
8887
|
method: 'delete'
|
|
@@ -8947,7 +8901,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
8947
8901
|
doesParamExist.default({
|
|
8948
8902
|
serviceId: serviceId
|
|
8949
8903
|
}, opts.hyperMediaEndpoint);
|
|
8950
|
-
return request(_objectSpread$
|
|
8904
|
+
return request(_objectSpread$D({}, opts, {
|
|
8951
8905
|
path: PATH__OPS_DEPLOYMENTS
|
|
8952
8906
|
}), {
|
|
8953
8907
|
method: 'post',
|
|
@@ -8971,7 +8925,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
8971
8925
|
opts = {};
|
|
8972
8926
|
}
|
|
8973
8927
|
|
|
8974
|
-
return request(_objectSpread$
|
|
8928
|
+
return request(_objectSpread$D({}, opts, {
|
|
8975
8929
|
path: PATH__OPS_DEPLOYMENTS
|
|
8976
8930
|
}), {
|
|
8977
8931
|
method: 'get',
|
|
@@ -8992,7 +8946,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
8992
8946
|
doesParamExist.default({
|
|
8993
8947
|
deploymentId: deploymentId
|
|
8994
8948
|
}, opts.hyperMediaEndpoint);
|
|
8995
|
-
return request(_objectSpread$
|
|
8949
|
+
return request(_objectSpread$D({}, opts, {
|
|
8996
8950
|
path: pathOpsDeployment(deploymentId)
|
|
8997
8951
|
}), {
|
|
8998
8952
|
method: 'get'
|
|
@@ -9013,7 +8967,7 @@ var getServices = function getServices(query, opts) {
|
|
|
9013
8967
|
opts = {};
|
|
9014
8968
|
}
|
|
9015
8969
|
|
|
9016
|
-
return request(_objectSpread$
|
|
8970
|
+
return request(_objectSpread$D({}, opts, {
|
|
9017
8971
|
path: PATH__OPS_SERVICES
|
|
9018
8972
|
}), {
|
|
9019
8973
|
method: 'get',
|
|
@@ -9034,7 +8988,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
9034
8988
|
doesParamExist.default({
|
|
9035
8989
|
serviceId: serviceId
|
|
9036
8990
|
}, opts.hyperMediaEndpoint);
|
|
9037
|
-
return request(_objectSpread$
|
|
8991
|
+
return request(_objectSpread$D({}, opts, {
|
|
9038
8992
|
path: pathOpsService(serviceId)
|
|
9039
8993
|
}), {
|
|
9040
8994
|
method: 'get'
|
|
@@ -9055,7 +9009,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
9055
9009
|
doesParamExist.default({
|
|
9056
9010
|
serviceId: serviceId
|
|
9057
9011
|
}, opts.hyperMediaEndpoint);
|
|
9058
|
-
return request(_objectSpread$
|
|
9012
|
+
return request(_objectSpread$D({}, opts, {
|
|
9059
9013
|
path: pathOpsService(serviceId)
|
|
9060
9014
|
}), {
|
|
9061
9015
|
method: 'put',
|
|
@@ -9077,7 +9031,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
9077
9031
|
doesParamExist.default({
|
|
9078
9032
|
serviceId: serviceId
|
|
9079
9033
|
}, opts.hyperMediaEndpoint);
|
|
9080
|
-
return request(_objectSpread$
|
|
9034
|
+
return request(_objectSpread$D({}, opts, {
|
|
9081
9035
|
path: PATH__OPS_DECRTPT
|
|
9082
9036
|
}), {
|
|
9083
9037
|
method: 'post',
|
|
@@ -9098,9 +9052,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
9098
9052
|
decrypt: decrypt
|
|
9099
9053
|
});
|
|
9100
9054
|
|
|
9101
|
-
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; }
|
|
9102
9056
|
|
|
9103
|
-
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; }
|
|
9104
9058
|
var PATH__ORGANISATIONS = '/organisations';
|
|
9105
9059
|
/**
|
|
9106
9060
|
* Get organisations
|
|
@@ -9117,7 +9071,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
9117
9071
|
opts = {};
|
|
9118
9072
|
}
|
|
9119
9073
|
|
|
9120
|
-
return request(_objectSpread$
|
|
9074
|
+
return request(_objectSpread$E({}, opts, {
|
|
9121
9075
|
path: PATH__ORGANISATIONS
|
|
9122
9076
|
}), {
|
|
9123
9077
|
method: 'get',
|
|
@@ -9130,9 +9084,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
9130
9084
|
getOrganisations: getOrganisations
|
|
9131
9085
|
});
|
|
9132
9086
|
|
|
9133
|
-
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; }
|
|
9134
9088
|
|
|
9135
|
-
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; }
|
|
9136
9090
|
var PATH__PARTNERS = '/partners';
|
|
9137
9091
|
|
|
9138
9092
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -9171,7 +9125,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
9171
9125
|
opts = {};
|
|
9172
9126
|
}
|
|
9173
9127
|
|
|
9174
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9128
|
+
return _context.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9175
9129
|
path: PATH__PARTNERS
|
|
9176
9130
|
}), {
|
|
9177
9131
|
method: 'get',
|
|
@@ -9209,7 +9163,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
9209
9163
|
doesParamExist.default({
|
|
9210
9164
|
partnerId: partnerId
|
|
9211
9165
|
}, opts.hyperMediaEndpoint);
|
|
9212
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9166
|
+
return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9213
9167
|
path: pathPartner(partnerId)
|
|
9214
9168
|
}), {
|
|
9215
9169
|
method: 'get'
|
|
@@ -9247,7 +9201,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
9247
9201
|
doesParamExist.default({
|
|
9248
9202
|
partnerId: partnerId
|
|
9249
9203
|
}, opts.hyperMediaEndpoint);
|
|
9250
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9204
|
+
return _context3.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9251
9205
|
path: pathPartner(partnerId)
|
|
9252
9206
|
}), {
|
|
9253
9207
|
method: 'put',
|
|
@@ -9288,10 +9242,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
9288
9242
|
doesParamExist.default({
|
|
9289
9243
|
partnerId: partnerId
|
|
9290
9244
|
}, opts.hyperMediaEndpoint);
|
|
9291
|
-
data = _objectSpread$
|
|
9245
|
+
data = _objectSpread$F({
|
|
9292
9246
|
fullNameId: fullNameId
|
|
9293
9247
|
}, body);
|
|
9294
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9248
|
+
return _context4.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9295
9249
|
path: pathPartnerPractices(partnerId)
|
|
9296
9250
|
}), {
|
|
9297
9251
|
method: 'put',
|
|
@@ -9335,10 +9289,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
9335
9289
|
practiceId: practiceId,
|
|
9336
9290
|
providerNumberId: providerNumberId
|
|
9337
9291
|
}, opts.hyperMediaEndpoint);
|
|
9338
|
-
data = _objectSpread$
|
|
9292
|
+
data = _objectSpread$F({
|
|
9339
9293
|
providerNumberId: providerNumberId
|
|
9340
9294
|
}, body);
|
|
9341
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9295
|
+
return _context5.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9342
9296
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
9343
9297
|
}), {
|
|
9344
9298
|
method: 'put',
|
|
@@ -9381,7 +9335,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9381
9335
|
doesParamExist.default({
|
|
9382
9336
|
accountId: accountId
|
|
9383
9337
|
}, opts.hyperMediaEndpoint);
|
|
9384
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9338
|
+
return _context6.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9385
9339
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
9386
9340
|
}), {
|
|
9387
9341
|
method: 'post',
|
|
@@ -9421,7 +9375,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9421
9375
|
doesParamExist.default({
|
|
9422
9376
|
accountId: accountId
|
|
9423
9377
|
}, opts.hyperMediaEndpoint);
|
|
9424
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9378
|
+
return _context7.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9425
9379
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
9426
9380
|
}), {
|
|
9427
9381
|
method: 'post'
|
|
@@ -9451,9 +9405,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
9451
9405
|
notifyPartnerAccount: notifyPartnerAccount
|
|
9452
9406
|
});
|
|
9453
9407
|
|
|
9454
|
-
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; }
|
|
9455
9409
|
|
|
9456
|
-
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; }
|
|
9457
9411
|
|
|
9458
9412
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
9459
9413
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -9488,7 +9442,7 @@ var requestUpdatePatientPaymentMethod = function requestUpdatePatientPaymentMeth
|
|
|
9488
9442
|
businessId: businessId,
|
|
9489
9443
|
patientId: patientId
|
|
9490
9444
|
}, opts.hyperMediaEndpoint);
|
|
9491
|
-
return request(_objectSpread$
|
|
9445
|
+
return request(_objectSpread$G({}, opts, {
|
|
9492
9446
|
path: pathRequestUpdatePatientPaymentMethod(businessId, patientId)
|
|
9493
9447
|
}), {
|
|
9494
9448
|
method: 'post',
|
|
@@ -9515,7 +9469,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
9515
9469
|
doesParamExist.default({
|
|
9516
9470
|
businessId: businessId
|
|
9517
9471
|
}, opts.hyperMediaEndpoint);
|
|
9518
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9472
|
+
return _context.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9519
9473
|
path: pathBusinessPatients(businessId)
|
|
9520
9474
|
}), {
|
|
9521
9475
|
method: 'post',
|
|
@@ -9558,7 +9512,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
9558
9512
|
doesParamExist.default({
|
|
9559
9513
|
businessId: businessId
|
|
9560
9514
|
}, opts.hyperMediaEndpoint);
|
|
9561
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9515
|
+
return _context2.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9562
9516
|
path: pathBusinessPatients(businessId)
|
|
9563
9517
|
}), {
|
|
9564
9518
|
method: 'get',
|
|
@@ -9597,7 +9551,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
9597
9551
|
doesParamExist.default({
|
|
9598
9552
|
businessId: businessId
|
|
9599
9553
|
}, opts.hyperMediaEndpoint);
|
|
9600
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9554
|
+
return _context3.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9601
9555
|
path: pathBusinessPatient(businessId, patientId)
|
|
9602
9556
|
}), {
|
|
9603
9557
|
method: 'get'
|
|
@@ -9636,7 +9590,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
9636
9590
|
businessId: businessId,
|
|
9637
9591
|
refId: refId
|
|
9638
9592
|
}, opts.hyperMediaEndpoint);
|
|
9639
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9593
|
+
return _context4.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9640
9594
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
9641
9595
|
}), {
|
|
9642
9596
|
method: 'get'
|
|
@@ -9675,7 +9629,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
9675
9629
|
doesParamExist.default({
|
|
9676
9630
|
businessId: businessId
|
|
9677
9631
|
}, opts.hyperMediaEndpoint);
|
|
9678
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9632
|
+
return _context5.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9679
9633
|
path: pathBusinessPatient(businessId, patientId)
|
|
9680
9634
|
}), {
|
|
9681
9635
|
method: 'put',
|
|
@@ -9714,7 +9668,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
9714
9668
|
doesParamExist.default({
|
|
9715
9669
|
businessId: businessId
|
|
9716
9670
|
}, opts.hyperMediaEndpoint);
|
|
9717
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9671
|
+
return _context6.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9718
9672
|
path: pathBusinessPatient(businessId, patientId)
|
|
9719
9673
|
}), {
|
|
9720
9674
|
method: 'delete'
|
|
@@ -9744,9 +9698,9 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
9744
9698
|
deleteBusinessPatient: deleteBusinessPatient
|
|
9745
9699
|
});
|
|
9746
9700
|
|
|
9747
|
-
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; }
|
|
9748
9702
|
|
|
9749
|
-
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; }
|
|
9750
9704
|
var PATH__PAYMENTS = '/payments';
|
|
9751
9705
|
|
|
9752
9706
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -9811,7 +9765,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9811
9765
|
nonce: nonce,
|
|
9812
9766
|
source: source
|
|
9813
9767
|
}, opts.hyperMediaEndpoint);
|
|
9814
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9768
|
+
return _context.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9815
9769
|
path: pathAccountPaymentMethods(accountId)
|
|
9816
9770
|
}), {
|
|
9817
9771
|
method: 'post',
|
|
@@ -9855,7 +9809,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9855
9809
|
nonce: nonce,
|
|
9856
9810
|
source: source
|
|
9857
9811
|
}, opts.hyperMediaEndpoint);
|
|
9858
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9812
|
+
return _context2.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9859
9813
|
path: pathBusinessPaymentMethods(businessId)
|
|
9860
9814
|
}), {
|
|
9861
9815
|
method: 'post',
|
|
@@ -9901,7 +9855,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9901
9855
|
nonce: nonce,
|
|
9902
9856
|
source: source
|
|
9903
9857
|
}, opts.hyperMediaEndpoint);
|
|
9904
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9858
|
+
return _context3.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9905
9859
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9906
9860
|
}), {
|
|
9907
9861
|
method: 'post',
|
|
@@ -9945,7 +9899,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9945
9899
|
accountId: accountId,
|
|
9946
9900
|
paymentMethodId: paymentMethodId
|
|
9947
9901
|
}, opts.hyperMediaEndpoint);
|
|
9948
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9902
|
+
return _context4.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9949
9903
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
9950
9904
|
}), {
|
|
9951
9905
|
method: 'delete'
|
|
@@ -9985,7 +9939,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9985
9939
|
businessId: businessId,
|
|
9986
9940
|
paymentMethodId: paymentMethodId
|
|
9987
9941
|
}, opts.hyperMediaEndpoint);
|
|
9988
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9942
|
+
return _context5.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9989
9943
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
9990
9944
|
}), {
|
|
9991
9945
|
method: 'delete'
|
|
@@ -10027,7 +9981,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10027
9981
|
patientId: patientId,
|
|
10028
9982
|
paymentMethodId: paymentMethodId
|
|
10029
9983
|
}, opts.hyperMediaEndpoint);
|
|
10030
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9984
|
+
return _context6.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10031
9985
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10032
9986
|
}), {
|
|
10033
9987
|
method: 'delete'
|
|
@@ -10065,7 +10019,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
10065
10019
|
doesParamExist.default({
|
|
10066
10020
|
accountId: accountId
|
|
10067
10021
|
}, opts.hyperMediaEndpoint);
|
|
10068
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
10022
|
+
return _context7.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10069
10023
|
path: pathAccountPaymentMethods(accountId)
|
|
10070
10024
|
}), {
|
|
10071
10025
|
method: 'get'
|
|
@@ -10103,7 +10057,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
10103
10057
|
doesParamExist.default({
|
|
10104
10058
|
businessId: businessId
|
|
10105
10059
|
}, opts.hyperMediaEndpoint);
|
|
10106
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
10060
|
+
return _context8.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10107
10061
|
path: pathBusinessPaymentMethods(businessId)
|
|
10108
10062
|
}), {
|
|
10109
10063
|
method: 'get'
|
|
@@ -10142,7 +10096,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
10142
10096
|
businessId: businessId,
|
|
10143
10097
|
patientId: patientId
|
|
10144
10098
|
}, opts.hyperMediaEndpoint);
|
|
10145
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
10099
|
+
return _context9.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10146
10100
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
10147
10101
|
}), {
|
|
10148
10102
|
method: 'get'
|
|
@@ -10182,7 +10136,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
|
|
|
10182
10136
|
businessId: businessId,
|
|
10183
10137
|
refId: refId
|
|
10184
10138
|
}, opts.hyperMediaEndpoint);
|
|
10185
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
10139
|
+
return _context10.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10186
10140
|
path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
|
|
10187
10141
|
}), {
|
|
10188
10142
|
method: 'get'
|
|
@@ -10222,7 +10176,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10222
10176
|
accountId: accountId,
|
|
10223
10177
|
paymentMethodId: paymentMethodId
|
|
10224
10178
|
}, opts.hyperMediaEndpoint);
|
|
10225
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
10179
|
+
return _context11.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10226
10180
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10227
10181
|
}), {
|
|
10228
10182
|
method: 'get'
|
|
@@ -10262,7 +10216,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10262
10216
|
businessId: businessId,
|
|
10263
10217
|
paymentMethodId: paymentMethodId
|
|
10264
10218
|
}, opts.hyperMediaEndpoint);
|
|
10265
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
10219
|
+
return _context12.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10266
10220
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10267
10221
|
}), {
|
|
10268
10222
|
method: 'get'
|
|
@@ -10304,7 +10258,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10304
10258
|
patientId: patientId,
|
|
10305
10259
|
paymentMethodId: paymentMethodId
|
|
10306
10260
|
}, opts.hyperMediaEndpoint);
|
|
10307
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
10261
|
+
return _context13.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10308
10262
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10309
10263
|
}), {
|
|
10310
10264
|
method: 'get'
|
|
@@ -10344,7 +10298,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
10344
10298
|
businessId: businessId,
|
|
10345
10299
|
source: source
|
|
10346
10300
|
}, opts.hyperMediaEndpoint);
|
|
10347
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
10301
|
+
return _context14.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10348
10302
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
10349
10303
|
}), {
|
|
10350
10304
|
method: 'get',
|
|
@@ -10387,7 +10341,7 @@ var getBusinessPaymentClientToken = /*#__PURE__*/function () {
|
|
|
10387
10341
|
businessId: businessId,
|
|
10388
10342
|
patientId: patientId
|
|
10389
10343
|
}, opts.hyperMediaEndpoint);
|
|
10390
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
10344
|
+
return _context15.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10391
10345
|
path: pathBusinessPaymentClientToken(businessId, patientId)
|
|
10392
10346
|
}), {
|
|
10393
10347
|
method: 'get'
|
|
@@ -10425,7 +10379,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
10425
10379
|
doesParamExist.default({
|
|
10426
10380
|
businessId: businessId
|
|
10427
10381
|
}, opts.hyperMediaEndpoint);
|
|
10428
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
10382
|
+
return _context16.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10429
10383
|
path: pathBusinessSalesClientToken(businessId)
|
|
10430
10384
|
}), {
|
|
10431
10385
|
method: 'get'
|
|
@@ -10465,7 +10419,7 @@ var getClientToken = /*#__PURE__*/function () {
|
|
|
10465
10419
|
doesParamExist.default({
|
|
10466
10420
|
source: source
|
|
10467
10421
|
}, opts.hyperMediaEndpoint);
|
|
10468
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
10422
|
+
return _context17.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10469
10423
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
10470
10424
|
}), {
|
|
10471
10425
|
method: 'get',
|
|
@@ -10509,7 +10463,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10509
10463
|
accountId: accountId,
|
|
10510
10464
|
paymentMethodId: paymentMethodId
|
|
10511
10465
|
}, opts.hyperMediaEndpoint);
|
|
10512
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
10466
|
+
return _context18.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10513
10467
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10514
10468
|
}), {
|
|
10515
10469
|
data: body,
|
|
@@ -10550,7 +10504,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10550
10504
|
businessId: businessId,
|
|
10551
10505
|
paymentMethodId: paymentMethodId
|
|
10552
10506
|
}, opts.hyperMediaEndpoint);
|
|
10553
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
10507
|
+
return _context19.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10554
10508
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10555
10509
|
}), {
|
|
10556
10510
|
data: body,
|
|
@@ -10592,7 +10546,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10592
10546
|
patientId: patientId,
|
|
10593
10547
|
paymentMethodId: paymentMethodId
|
|
10594
10548
|
}, opts.hyperMediaEndpoint);
|
|
10595
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
10549
|
+
return _context20.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
10596
10550
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10597
10551
|
}), {
|
|
10598
10552
|
data: body,
|
|
@@ -10742,7 +10696,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10742
10696
|
throw new Error(getPaymentGatewayError(updateSessionResponse));
|
|
10743
10697
|
|
|
10744
10698
|
case 38:
|
|
10745
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10699
|
+
return _context21.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10746
10700
|
nonce: clientToken.clientToken,
|
|
10747
10701
|
sourceResponse: updateSessionResponse
|
|
10748
10702
|
}));
|
|
@@ -10785,7 +10739,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10785
10739
|
|
|
10786
10740
|
case 47:
|
|
10787
10741
|
sourceResponse = _context21.sent;
|
|
10788
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10742
|
+
return _context21.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10789
10743
|
nonce: _get(sourceResponse, 'creditCards[0].nonce'),
|
|
10790
10744
|
sourceResponse: sourceResponse
|
|
10791
10745
|
}));
|
|
@@ -10842,7 +10796,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10842
10796
|
|
|
10843
10797
|
case 66:
|
|
10844
10798
|
sourceResponse = _context21.sent;
|
|
10845
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10799
|
+
return _context21.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10846
10800
|
nonce: sourceResponse.nonce,
|
|
10847
10801
|
sourceResponse: sourceResponse
|
|
10848
10802
|
}));
|
|
@@ -10872,7 +10826,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10872
10826
|
|
|
10873
10827
|
case 75:
|
|
10874
10828
|
canMakeApplePayment = _context21.sent;
|
|
10875
|
-
return _context21.abrupt("return", _objectSpread$
|
|
10829
|
+
return _context21.abrupt("return", _objectSpread$H({}, clientToken, {
|
|
10876
10830
|
applePayInstance: applePayInstance,
|
|
10877
10831
|
canMakeApplePayment: canMakeApplePayment,
|
|
10878
10832
|
paymentRequest: paymentRequest
|
|
@@ -10920,9 +10874,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
10920
10874
|
getNonce: getNonce
|
|
10921
10875
|
});
|
|
10922
10876
|
|
|
10923
|
-
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; }
|
|
10924
10878
|
|
|
10925
|
-
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; }
|
|
10926
10880
|
|
|
10927
10881
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
10928
10882
|
return "/businesses/" + businessId + "/pmspractices";
|
|
@@ -10960,7 +10914,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
10960
10914
|
doesParamExist.default({
|
|
10961
10915
|
businessId: businessId
|
|
10962
10916
|
}, opts.hyperMediaEndpoint);
|
|
10963
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10917
|
+
return _context.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
10964
10918
|
path: pathBusinessPmsPractices(businessId)
|
|
10965
10919
|
}), {
|
|
10966
10920
|
method: 'get',
|
|
@@ -11003,7 +10957,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
11003
10957
|
doesParamExist.default({
|
|
11004
10958
|
businessId: businessId
|
|
11005
10959
|
}, opts.hyperMediaEndpoint);
|
|
11006
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10960
|
+
return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11007
10961
|
path: pathBusinessPmsServices(businessId)
|
|
11008
10962
|
}), {
|
|
11009
10963
|
method: 'get',
|
|
@@ -11046,7 +11000,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
11046
11000
|
doesParamExist.default({
|
|
11047
11001
|
businessId: businessId
|
|
11048
11002
|
}, opts.hyperMediaEndpoint);
|
|
11049
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11003
|
+
return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11050
11004
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
11051
11005
|
}), {
|
|
11052
11006
|
method: 'get',
|
|
@@ -11085,7 +11039,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
11085
11039
|
doesParamExist.default({
|
|
11086
11040
|
businessId: businessId
|
|
11087
11041
|
}, opts.hyperMediaEndpoint);
|
|
11088
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11042
|
+
return _context4.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11089
11043
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
11090
11044
|
}), {
|
|
11091
11045
|
method: 'post',
|
|
@@ -11124,7 +11078,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
11124
11078
|
doesParamExist.default({
|
|
11125
11079
|
businessId: businessId
|
|
11126
11080
|
}, opts.hyperMediaEndpoint);
|
|
11127
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11081
|
+
return _context5.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11128
11082
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
11129
11083
|
}), {
|
|
11130
11084
|
method: 'post',
|
|
@@ -11163,7 +11117,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
11163
11117
|
doesParamExist.default({
|
|
11164
11118
|
businessId: businessId
|
|
11165
11119
|
}, opts.hyperMediaEndpoint);
|
|
11166
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11120
|
+
return _context6.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11167
11121
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
11168
11122
|
}), {
|
|
11169
11123
|
method: 'post',
|
|
@@ -11193,9 +11147,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
11193
11147
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
11194
11148
|
});
|
|
11195
11149
|
|
|
11196
|
-
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; }
|
|
11197
11151
|
|
|
11198
|
-
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; }
|
|
11199
11153
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
11200
11154
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
11201
11155
|
};
|
|
@@ -11216,7 +11170,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
11216
11170
|
doesParamExist.default({
|
|
11217
11171
|
organisationId: organisationId
|
|
11218
11172
|
}, opts.hyperMediaEndpoint);
|
|
11219
|
-
return request(_objectSpread$
|
|
11173
|
+
return request(_objectSpread$J({}, opts, {
|
|
11220
11174
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
11221
11175
|
}), {
|
|
11222
11176
|
method: 'get',
|
|
@@ -11231,7 +11185,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
11231
11185
|
doesParamExist.default({
|
|
11232
11186
|
practiceProfileId: practiceProfileId
|
|
11233
11187
|
}, opts.hyperMediaEndpoint);
|
|
11234
|
-
return request(_objectSpread$
|
|
11188
|
+
return request(_objectSpread$J({}, opts, {
|
|
11235
11189
|
path: pathPracticeProfile(practiceProfileId)
|
|
11236
11190
|
}), {
|
|
11237
11191
|
method: 'get'
|
|
@@ -11249,7 +11203,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
11249
11203
|
var body = {
|
|
11250
11204
|
practiceId: practiceId
|
|
11251
11205
|
};
|
|
11252
|
-
return request(_objectSpread$
|
|
11206
|
+
return request(_objectSpread$J({}, opts, {
|
|
11253
11207
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
11254
11208
|
}), {
|
|
11255
11209
|
method: 'put',
|
|
@@ -11264,7 +11218,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
11264
11218
|
doesParamExist.default({
|
|
11265
11219
|
practiceProfileId: practiceProfileId
|
|
11266
11220
|
}, opts.hyperMediaEndpoint);
|
|
11267
|
-
return request(_objectSpread$
|
|
11221
|
+
return request(_objectSpread$J({}, opts, {
|
|
11268
11222
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
11269
11223
|
}), {
|
|
11270
11224
|
method: 'put'
|
|
@@ -11283,9 +11237,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
11283
11237
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
11284
11238
|
});
|
|
11285
11239
|
|
|
11286
|
-
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; }
|
|
11287
11241
|
|
|
11288
|
-
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; }
|
|
11289
11243
|
|
|
11290
11244
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
11291
11245
|
return "/businesses/" + businessId + "/forms/" + formId + "/practices";
|
|
@@ -11347,7 +11301,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
11347
11301
|
doesParamExist.default({
|
|
11348
11302
|
businessId: businessId
|
|
11349
11303
|
}, opts.hyperMediaEndpoint);
|
|
11350
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11304
|
+
return _context.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11351
11305
|
path: pathBusinessPractices(businessId)
|
|
11352
11306
|
}), {
|
|
11353
11307
|
method: 'post',
|
|
@@ -11386,7 +11340,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11386
11340
|
doesParamExist.default({
|
|
11387
11341
|
organisationId: organisationId
|
|
11388
11342
|
}, opts.hyperMediaEndpoint);
|
|
11389
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11343
|
+
return _context2.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11390
11344
|
path: pathOrganisationPractices(organisationId)
|
|
11391
11345
|
}), {
|
|
11392
11346
|
method: 'post',
|
|
@@ -11426,7 +11380,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
11426
11380
|
businessId: businessId,
|
|
11427
11381
|
practiceId: practiceId
|
|
11428
11382
|
}, opts.hyperMediaEndpoint);
|
|
11429
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11383
|
+
return _context3.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11430
11384
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11431
11385
|
}), {
|
|
11432
11386
|
method: 'delete'
|
|
@@ -11465,7 +11419,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11465
11419
|
organisationId: organisationId,
|
|
11466
11420
|
practiceId: practiceId
|
|
11467
11421
|
}, opts.hyperMediaEndpoint);
|
|
11468
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11422
|
+
return _context4.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11469
11423
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11470
11424
|
}), {
|
|
11471
11425
|
method: 'delete'
|
|
@@ -11504,7 +11458,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
11504
11458
|
businessId: businessId,
|
|
11505
11459
|
practiceId: practiceId
|
|
11506
11460
|
}, opts.hyperMediaEndpoint);
|
|
11507
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11461
|
+
return _context5.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11508
11462
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11509
11463
|
}), {
|
|
11510
11464
|
method: 'get'
|
|
@@ -11546,7 +11500,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
11546
11500
|
doesParamExist.default({
|
|
11547
11501
|
businessId: businessId
|
|
11548
11502
|
}, opts.hyperMediaEndpoint);
|
|
11549
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11503
|
+
return _context6.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11550
11504
|
path: pathBusinessPractices(businessId)
|
|
11551
11505
|
}), {
|
|
11552
11506
|
method: 'get',
|
|
@@ -11591,7 +11545,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
11591
11545
|
businessId: businessId,
|
|
11592
11546
|
formId: formId
|
|
11593
11547
|
}, opts.hyperMediaEndpoint);
|
|
11594
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11548
|
+
return _context7.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11595
11549
|
path: pathBusinessFormPractices(businessId, formId)
|
|
11596
11550
|
}), {
|
|
11597
11551
|
method: 'get',
|
|
@@ -11633,7 +11587,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
11633
11587
|
practiceId: practiceId,
|
|
11634
11588
|
query: query
|
|
11635
11589
|
}, opts.hyperMediaEndpoint);
|
|
11636
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11590
|
+
return _context8.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11637
11591
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
11638
11592
|
}), {
|
|
11639
11593
|
method: 'get',
|
|
@@ -11677,7 +11631,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
11677
11631
|
businessId: businessId,
|
|
11678
11632
|
staffId: staffId
|
|
11679
11633
|
}, opts.hyperMediaEndpoint);
|
|
11680
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11634
|
+
return _context9.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11681
11635
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
11682
11636
|
}), {
|
|
11683
11637
|
method: 'get',
|
|
@@ -11720,7 +11674,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
11720
11674
|
doesParamExist.default({
|
|
11721
11675
|
organisationId: organisationId
|
|
11722
11676
|
}, opts.hyperMediaEndpoint);
|
|
11723
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11677
|
+
return _context10.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11724
11678
|
path: pathOrganisationPractices(organisationId)
|
|
11725
11679
|
}), {
|
|
11726
11680
|
method: 'get',
|
|
@@ -11759,7 +11713,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
11759
11713
|
doesParamExist.default({
|
|
11760
11714
|
practiceId: practiceId
|
|
11761
11715
|
}, opts.hyperMediaEndpoint);
|
|
11762
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11716
|
+
return _context11.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11763
11717
|
path: pathPractice(practiceId)
|
|
11764
11718
|
}), {
|
|
11765
11719
|
method: 'get'
|
|
@@ -11788,7 +11742,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
11788
11742
|
opts = {};
|
|
11789
11743
|
}
|
|
11790
11744
|
|
|
11791
|
-
return request(_objectSpread$
|
|
11745
|
+
return request(_objectSpread$K({}, opts, {
|
|
11792
11746
|
path: pathPractice(practiceId) + "/verify/request"
|
|
11793
11747
|
}), {
|
|
11794
11748
|
method: 'post'
|
|
@@ -11806,7 +11760,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
11806
11760
|
opts = {};
|
|
11807
11761
|
}
|
|
11808
11762
|
|
|
11809
|
-
return request(_objectSpread$
|
|
11763
|
+
return request(_objectSpread$K({}, opts, {
|
|
11810
11764
|
path: pathPractice(practiceId) + "/access/request"
|
|
11811
11765
|
}), {
|
|
11812
11766
|
method: 'post',
|
|
@@ -11830,7 +11784,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
11830
11784
|
opts = {};
|
|
11831
11785
|
}
|
|
11832
11786
|
|
|
11833
|
-
return request(_objectSpread$
|
|
11787
|
+
return request(_objectSpread$K({}, opts, {
|
|
11834
11788
|
path: pathOnboardingPractices()
|
|
11835
11789
|
}), {
|
|
11836
11790
|
method: 'get',
|
|
@@ -11859,7 +11813,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
11859
11813
|
businessId: businessId,
|
|
11860
11814
|
practiceId: practiceId
|
|
11861
11815
|
}, opts.hyperMediaEndpoint);
|
|
11862
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11816
|
+
return _context12.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11863
11817
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11864
11818
|
}), {
|
|
11865
11819
|
method: 'put',
|
|
@@ -11900,7 +11854,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11900
11854
|
organisationId: organisationId,
|
|
11901
11855
|
practiceId: practiceId
|
|
11902
11856
|
}, opts.hyperMediaEndpoint);
|
|
11903
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11857
|
+
return _context13.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11904
11858
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11905
11859
|
}), {
|
|
11906
11860
|
method: 'put',
|
|
@@ -11932,11 +11886,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
11932
11886
|
opts = {};
|
|
11933
11887
|
}
|
|
11934
11888
|
|
|
11935
|
-
return request(_objectSpread$
|
|
11889
|
+
return request(_objectSpread$K({}, opts, {
|
|
11936
11890
|
path: pathPractice(practiceId) + "/verify"
|
|
11937
11891
|
}), {
|
|
11938
11892
|
method: 'post',
|
|
11939
|
-
data: _objectSpread$
|
|
11893
|
+
data: _objectSpread$K({}, body, {
|
|
11940
11894
|
otkCode: otkCode
|
|
11941
11895
|
})
|
|
11942
11896
|
});
|
|
@@ -11961,7 +11915,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
11961
11915
|
doesParamExist.default({
|
|
11962
11916
|
practiceId: practiceId
|
|
11963
11917
|
}, opts.hyperMediaEndpoint);
|
|
11964
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
11918
|
+
return _context14.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
11965
11919
|
path: pathPractice(practiceId) + "/clone"
|
|
11966
11920
|
}), {
|
|
11967
11921
|
method: 'post',
|
|
@@ -12006,7 +11960,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
12006
11960
|
businessId: businessId,
|
|
12007
11961
|
formId: formId
|
|
12008
11962
|
}, opts.hyperMediaEndpoint);
|
|
12009
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
11963
|
+
return _context15.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
12010
11964
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
12011
11965
|
}), {
|
|
12012
11966
|
method: 'get',
|
|
@@ -12049,9 +12003,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
12049
12003
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
12050
12004
|
});
|
|
12051
12005
|
|
|
12052
|
-
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; }
|
|
12053
12007
|
|
|
12054
|
-
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; }
|
|
12055
12009
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
12056
12010
|
/**
|
|
12057
12011
|
* Get practice types
|
|
@@ -12068,7 +12022,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
12068
12022
|
opts = {};
|
|
12069
12023
|
}
|
|
12070
12024
|
|
|
12071
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12025
|
+
return _context.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
12072
12026
|
path: PATH__PRACTICE_TYPES
|
|
12073
12027
|
}), {
|
|
12074
12028
|
method: 'get'
|
|
@@ -12092,9 +12046,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
12092
12046
|
getPracticeTypes: getPracticeTypes
|
|
12093
12047
|
});
|
|
12094
12048
|
|
|
12095
|
-
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; }
|
|
12096
12050
|
|
|
12097
|
-
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; }
|
|
12098
12052
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
12099
12053
|
return "/businesses/" + businessId + "/products";
|
|
12100
12054
|
};
|
|
@@ -12112,7 +12066,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
12112
12066
|
opts = {};
|
|
12113
12067
|
}
|
|
12114
12068
|
|
|
12115
|
-
return request(_objectSpread$
|
|
12069
|
+
return request(_objectSpread$M({}, opts, {
|
|
12116
12070
|
path: '/products'
|
|
12117
12071
|
}), {
|
|
12118
12072
|
method: 'get',
|
|
@@ -12134,7 +12088,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
12134
12088
|
doesParamExist.default({
|
|
12135
12089
|
businessId: businessId
|
|
12136
12090
|
});
|
|
12137
|
-
return request(_objectSpread$
|
|
12091
|
+
return request(_objectSpread$M({}, opts, {
|
|
12138
12092
|
path: pathBusinessProducts(businessId)
|
|
12139
12093
|
}), {
|
|
12140
12094
|
method: 'get',
|
|
@@ -12157,7 +12111,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
12157
12111
|
businessId: businessId,
|
|
12158
12112
|
productId: productId
|
|
12159
12113
|
});
|
|
12160
|
-
return request(_objectSpread$
|
|
12114
|
+
return request(_objectSpread$M({}, opts, {
|
|
12161
12115
|
path: pathBusinessProduct(businessId, productId)
|
|
12162
12116
|
}), {
|
|
12163
12117
|
method: 'get'
|
|
@@ -12173,9 +12127,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
12173
12127
|
getBusinessProduct: getBusinessProduct
|
|
12174
12128
|
});
|
|
12175
12129
|
|
|
12176
|
-
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; }
|
|
12177
12131
|
|
|
12178
|
-
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; }
|
|
12179
12133
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
12180
12134
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
12181
12135
|
};
|
|
@@ -12194,7 +12148,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
12194
12148
|
opts = {};
|
|
12195
12149
|
}
|
|
12196
12150
|
|
|
12197
|
-
return request(_objectSpread$
|
|
12151
|
+
return request(_objectSpread$N({}, opts, {
|
|
12198
12152
|
path: pathProfessionalCategories
|
|
12199
12153
|
}), {
|
|
12200
12154
|
method: 'get',
|
|
@@ -12216,7 +12170,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
12216
12170
|
doesParamExist.default({
|
|
12217
12171
|
businessId: businessId
|
|
12218
12172
|
});
|
|
12219
|
-
return request(_objectSpread$
|
|
12173
|
+
return request(_objectSpread$N({}, opts, {
|
|
12220
12174
|
path: pathBusinessProfessionalCategories(businessId)
|
|
12221
12175
|
}), {
|
|
12222
12176
|
method: 'get',
|
|
@@ -12237,7 +12191,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
12237
12191
|
doesParamExist.default({
|
|
12238
12192
|
professionalCategoryId: professionalCategoryId
|
|
12239
12193
|
});
|
|
12240
|
-
return request(_objectSpread$
|
|
12194
|
+
return request(_objectSpread$N({}, opts, {
|
|
12241
12195
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
12242
12196
|
}), {
|
|
12243
12197
|
method: 'get'
|
|
@@ -12254,9 +12208,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
12254
12208
|
getProfessionalCategory: getProfessionalCategory
|
|
12255
12209
|
});
|
|
12256
12210
|
|
|
12257
|
-
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; }
|
|
12258
12212
|
|
|
12259
|
-
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; }
|
|
12260
12214
|
|
|
12261
12215
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
12262
12216
|
return "/businesses/" + businessId + "/providerrequests";
|
|
@@ -12286,7 +12240,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
12286
12240
|
doesParamExist.default({
|
|
12287
12241
|
businessId: businessId
|
|
12288
12242
|
}, opts.hyperMediaEndpoint);
|
|
12289
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12243
|
+
return _context.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12290
12244
|
path: pathBusinessProviderRequests(businessId)
|
|
12291
12245
|
}), {
|
|
12292
12246
|
method: 'post',
|
|
@@ -12327,7 +12281,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
12327
12281
|
doesParamExist.default({
|
|
12328
12282
|
businessId: businessId
|
|
12329
12283
|
}, opts.hyperMediaEndpoint);
|
|
12330
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12284
|
+
return _context2.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12331
12285
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
12332
12286
|
}), {
|
|
12333
12287
|
method: 'post',
|
|
@@ -12355,9 +12309,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
12355
12309
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
12356
12310
|
});
|
|
12357
12311
|
|
|
12358
|
-
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; }
|
|
12359
12313
|
|
|
12360
|
-
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; }
|
|
12361
12315
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
12362
12316
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
12363
12317
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -12378,7 +12332,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
12378
12332
|
opts = {};
|
|
12379
12333
|
}
|
|
12380
12334
|
|
|
12381
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12335
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12382
12336
|
path: pathGetProviderRegistrationTypes
|
|
12383
12337
|
}), {
|
|
12384
12338
|
method: 'get',
|
|
@@ -12413,7 +12367,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
12413
12367
|
opts = {};
|
|
12414
12368
|
}
|
|
12415
12369
|
|
|
12416
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12370
|
+
return _context2.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12417
12371
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
12418
12372
|
}), {
|
|
12419
12373
|
method: 'get'
|
|
@@ -12440,9 +12394,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
12440
12394
|
getProviderRegistrationType: getProviderRegistrationType
|
|
12441
12395
|
});
|
|
12442
12396
|
|
|
12443
|
-
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; }
|
|
12444
12398
|
|
|
12445
|
-
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; }
|
|
12446
12400
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
12447
12401
|
return "/providernumbertypes";
|
|
12448
12402
|
};
|
|
@@ -12469,7 +12423,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
12469
12423
|
opts = {};
|
|
12470
12424
|
}
|
|
12471
12425
|
|
|
12472
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12426
|
+
return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
12473
12427
|
path: pathProviderNumberTypes()
|
|
12474
12428
|
}), {
|
|
12475
12429
|
method: 'get',
|
|
@@ -12507,7 +12461,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
12507
12461
|
doesParamExist.default({
|
|
12508
12462
|
providerNumberTypeId: providerNumberTypeId
|
|
12509
12463
|
}, opts.hyperMediaEndpoint);
|
|
12510
|
-
return request(_objectSpread$
|
|
12464
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12511
12465
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
12512
12466
|
}), {
|
|
12513
12467
|
method: 'get',
|
|
@@ -12523,9 +12477,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
12523
12477
|
getProviderNumberType: getProviderNumberType
|
|
12524
12478
|
});
|
|
12525
12479
|
|
|
12526
|
-
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; }
|
|
12527
12481
|
|
|
12528
|
-
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; }
|
|
12529
12483
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
12530
12484
|
/**
|
|
12531
12485
|
* Get provider types
|
|
@@ -12542,7 +12496,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
12542
12496
|
opts = {};
|
|
12543
12497
|
}
|
|
12544
12498
|
|
|
12545
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12499
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12546
12500
|
path: PATH__PROVIDER_TYPES
|
|
12547
12501
|
}), {
|
|
12548
12502
|
method: 'get'
|
|
@@ -12566,16 +12520,16 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
12566
12520
|
getProviderTypes: getProviderTypes
|
|
12567
12521
|
});
|
|
12568
12522
|
|
|
12569
|
-
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; }
|
|
12570
12524
|
|
|
12571
|
-
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; }
|
|
12572
12526
|
var PATH__REF_SOURCES = '/refsources';
|
|
12573
12527
|
var getRefSources = function getRefSources(query, opts) {
|
|
12574
12528
|
if (opts === void 0) {
|
|
12575
12529
|
opts = {};
|
|
12576
12530
|
}
|
|
12577
12531
|
|
|
12578
|
-
return request(_objectSpread$
|
|
12532
|
+
return request(_objectSpread$S({}, opts, {
|
|
12579
12533
|
path: PATH__REF_SOURCES
|
|
12580
12534
|
}), {
|
|
12581
12535
|
method: 'get',
|
|
@@ -12589,9 +12543,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
12589
12543
|
getRefSources: getRefSources
|
|
12590
12544
|
});
|
|
12591
12545
|
|
|
12592
|
-
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; }
|
|
12593
12547
|
|
|
12594
|
-
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; }
|
|
12595
12549
|
var PATH__TRANSACTIONS = '/transaction';
|
|
12596
12550
|
/**
|
|
12597
12551
|
* Get risk score
|
|
@@ -12612,7 +12566,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
12612
12566
|
doesParamExist.default({
|
|
12613
12567
|
transactionId: transactionId
|
|
12614
12568
|
}, opts.hyperMediaEndpoint);
|
|
12615
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12569
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
12616
12570
|
apiName: 'risk',
|
|
12617
12571
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
12618
12572
|
}), {
|
|
@@ -12647,7 +12601,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
12647
12601
|
opts = {};
|
|
12648
12602
|
}
|
|
12649
12603
|
|
|
12650
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12604
|
+
return _context2.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
12651
12605
|
apiName: 'risk',
|
|
12652
12606
|
path: PATH__TRANSACTIONS
|
|
12653
12607
|
}), {
|
|
@@ -12674,9 +12628,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
12674
12628
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
12675
12629
|
});
|
|
12676
12630
|
|
|
12677
|
-
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; }
|
|
12678
12632
|
|
|
12679
|
-
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; }
|
|
12680
12634
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
12681
12635
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
12682
12636
|
};
|
|
@@ -12710,7 +12664,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
12710
12664
|
doesParamExist.default({
|
|
12711
12665
|
businessId: businessId
|
|
12712
12666
|
}, opts.hyperMediaEndpoint);
|
|
12713
|
-
return request(_objectSpread$
|
|
12667
|
+
return request(_objectSpread$U({}, opts, {
|
|
12714
12668
|
path: pathBusinessesRNAs(businessId)
|
|
12715
12669
|
}), {
|
|
12716
12670
|
method: 'get',
|
|
@@ -12733,7 +12687,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
12733
12687
|
businessId: businessId,
|
|
12734
12688
|
rnaId: rnaId
|
|
12735
12689
|
}, opts.hyperMediaEndpoint);
|
|
12736
|
-
return request(_objectSpread$
|
|
12690
|
+
return request(_objectSpread$U({}, opts, {
|
|
12737
12691
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
12738
12692
|
}), {
|
|
12739
12693
|
method: 'get'
|
|
@@ -12754,7 +12708,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
12754
12708
|
doesParamExist.default({
|
|
12755
12709
|
businessId: businessId
|
|
12756
12710
|
}, opts.hyperMediaEndpoint);
|
|
12757
|
-
return request(_objectSpread$
|
|
12711
|
+
return request(_objectSpread$U({}, opts, {
|
|
12758
12712
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
12759
12713
|
}), {
|
|
12760
12714
|
method: 'get',
|
|
@@ -12769,7 +12723,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
12769
12723
|
doesParamExist.default({
|
|
12770
12724
|
healthFundId: healthFundId
|
|
12771
12725
|
}, opts.hyperMediaEndpoint);
|
|
12772
|
-
return request(_objectSpread$
|
|
12726
|
+
return request(_objectSpread$U({}, opts, {
|
|
12773
12727
|
path: pathHealthFundRNAs(healthFundId)
|
|
12774
12728
|
}), {
|
|
12775
12729
|
method: 'post',
|
|
@@ -12785,7 +12739,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
12785
12739
|
healthFundId: healthFundId,
|
|
12786
12740
|
rnaId: rnaId
|
|
12787
12741
|
}, opts.hyperMediaEndpoint);
|
|
12788
|
-
return request(_objectSpread$
|
|
12742
|
+
return request(_objectSpread$U({}, opts, {
|
|
12789
12743
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
12790
12744
|
}), {
|
|
12791
12745
|
method: 'post',
|
|
@@ -12801,7 +12755,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
12801
12755
|
healthFundId: healthFundId,
|
|
12802
12756
|
rnaId: rnaId
|
|
12803
12757
|
}, opts.hyperMediaEndpoint);
|
|
12804
|
-
return request(_objectSpread$
|
|
12758
|
+
return request(_objectSpread$U({}, opts, {
|
|
12805
12759
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
12806
12760
|
}), {
|
|
12807
12761
|
method: 'get',
|
|
@@ -12816,7 +12770,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
12816
12770
|
doesParamExist.default({
|
|
12817
12771
|
healthFundId: healthFundId
|
|
12818
12772
|
}, opts.hyperMediaEndpoint);
|
|
12819
|
-
return request(_objectSpread$
|
|
12773
|
+
return request(_objectSpread$U({}, opts, {
|
|
12820
12774
|
path: pathHealthFundRNAs(healthFundId)
|
|
12821
12775
|
}), {
|
|
12822
12776
|
method: 'get',
|
|
@@ -12833,7 +12787,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
12833
12787
|
rnaId: rnaId,
|
|
12834
12788
|
rnaAppointmentId: rnaAppointmentId
|
|
12835
12789
|
}, opts.hyperMediaEndpoint);
|
|
12836
|
-
return request(_objectSpread$
|
|
12790
|
+
return request(_objectSpread$U({}, opts, {
|
|
12837
12791
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
12838
12792
|
}), {
|
|
12839
12793
|
method: 'put',
|
|
@@ -12859,9 +12813,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
12859
12813
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
12860
12814
|
});
|
|
12861
12815
|
|
|
12862
|
-
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; }
|
|
12863
12817
|
|
|
12864
|
-
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; }
|
|
12865
12819
|
var PATH__ROLES = '/roles';
|
|
12866
12820
|
/**
|
|
12867
12821
|
* Get roles
|
|
@@ -12878,7 +12832,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
12878
12832
|
opts = {};
|
|
12879
12833
|
}
|
|
12880
12834
|
|
|
12881
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12835
|
+
return _context.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
12882
12836
|
path: PATH__ROLES
|
|
12883
12837
|
}), {
|
|
12884
12838
|
method: 'get'
|
|
@@ -12902,9 +12856,9 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
12902
12856
|
getRoles: getRoles
|
|
12903
12857
|
});
|
|
12904
12858
|
|
|
12905
|
-
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; }
|
|
12906
12860
|
|
|
12907
|
-
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; }
|
|
12908
12862
|
var PATH__SELF_CHECKOUT_SESSIONS = '/selfcheckoutsessions';
|
|
12909
12863
|
/**
|
|
12910
12864
|
* Create a self checkout session
|
|
@@ -12922,7 +12876,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12922
12876
|
opts = {};
|
|
12923
12877
|
}
|
|
12924
12878
|
|
|
12925
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12879
|
+
return _context.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12926
12880
|
path: PATH__SELF_CHECKOUT_SESSIONS
|
|
12927
12881
|
}), {
|
|
12928
12882
|
method: 'post',
|
|
@@ -12957,7 +12911,7 @@ var approve = /*#__PURE__*/function () {
|
|
|
12957
12911
|
opts = {};
|
|
12958
12912
|
}
|
|
12959
12913
|
|
|
12960
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12914
|
+
return _context2.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12961
12915
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
|
|
12962
12916
|
}), {
|
|
12963
12917
|
method: 'post',
|
|
@@ -12993,7 +12947,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
12993
12947
|
opts = {};
|
|
12994
12948
|
}
|
|
12995
12949
|
|
|
12996
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12950
|
+
return _context3.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
12997
12951
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
|
|
12998
12952
|
}), {
|
|
12999
12953
|
method: 'post',
|
|
@@ -13029,7 +12983,7 @@ var cancelSession = /*#__PURE__*/function () {
|
|
|
13029
12983
|
opts = {};
|
|
13030
12984
|
}
|
|
13031
12985
|
|
|
13032
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12986
|
+
return _context4.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13033
12987
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
|
|
13034
12988
|
}), {
|
|
13035
12989
|
method: 'post',
|
|
@@ -13064,7 +13018,7 @@ var createMyInvoice = /*#__PURE__*/function () {
|
|
|
13064
13018
|
opts = {};
|
|
13065
13019
|
}
|
|
13066
13020
|
|
|
13067
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
13021
|
+
return _context5.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13068
13022
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
|
|
13069
13023
|
}), {
|
|
13070
13024
|
method: 'post',
|
|
@@ -13098,7 +13052,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
|
|
|
13098
13052
|
opts = {};
|
|
13099
13053
|
}
|
|
13100
13054
|
|
|
13101
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
13055
|
+
return _context6.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13102
13056
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
|
|
13103
13057
|
}), {
|
|
13104
13058
|
method: 'post',
|
|
@@ -13138,7 +13092,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
|
|
|
13138
13092
|
nonce: nonce,
|
|
13139
13093
|
source: source
|
|
13140
13094
|
}, opts.hyperMediaEndpoint);
|
|
13141
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
13095
|
+
return _context7.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13142
13096
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13143
13097
|
}), {
|
|
13144
13098
|
method: 'post',
|
|
@@ -13176,7 +13130,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
13176
13130
|
opts = {};
|
|
13177
13131
|
}
|
|
13178
13132
|
|
|
13179
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
13133
|
+
return _context8.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13180
13134
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13181
13135
|
}), {
|
|
13182
13136
|
method: 'get',
|
|
@@ -13230,7 +13184,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
13230
13184
|
email: email,
|
|
13231
13185
|
memberId: memberId
|
|
13232
13186
|
});
|
|
13233
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
13187
|
+
return _context9.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13234
13188
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
|
|
13235
13189
|
}), {
|
|
13236
13190
|
method: 'get',
|
|
@@ -13267,7 +13221,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
13267
13221
|
opts = {};
|
|
13268
13222
|
}
|
|
13269
13223
|
|
|
13270
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13224
|
+
return _context10.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13271
13225
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
|
|
13272
13226
|
}), {
|
|
13273
13227
|
method: 'post',
|
|
@@ -13302,7 +13256,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13302
13256
|
opts = {};
|
|
13303
13257
|
}
|
|
13304
13258
|
|
|
13305
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
13259
|
+
return _context11.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13306
13260
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13307
13261
|
}), {
|
|
13308
13262
|
method: 'get',
|
|
@@ -13336,7 +13290,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
|
|
|
13336
13290
|
opts = {};
|
|
13337
13291
|
}
|
|
13338
13292
|
|
|
13339
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13293
|
+
return _context12.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13340
13294
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
|
|
13341
13295
|
}), {
|
|
13342
13296
|
method: 'get',
|
|
@@ -13370,7 +13324,7 @@ var rememberMe = /*#__PURE__*/function () {
|
|
|
13370
13324
|
opts = {};
|
|
13371
13325
|
}
|
|
13372
13326
|
|
|
13373
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13327
|
+
return _context13.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13374
13328
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
|
|
13375
13329
|
}), {
|
|
13376
13330
|
method: 'post',
|
|
@@ -13405,7 +13359,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13405
13359
|
opts = {};
|
|
13406
13360
|
}
|
|
13407
13361
|
|
|
13408
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13362
|
+
return _context14.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13409
13363
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13410
13364
|
}), {
|
|
13411
13365
|
method: 'put',
|
|
@@ -13444,7 +13398,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
13444
13398
|
doesParamExist.default({
|
|
13445
13399
|
accountId: accountId
|
|
13446
13400
|
}, opts.hyperMediaEndpoint);
|
|
13447
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13401
|
+
return _context15.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13448
13402
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
|
|
13449
13403
|
}), {
|
|
13450
13404
|
method: 'post',
|
|
@@ -13688,7 +13642,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13688
13642
|
}
|
|
13689
13643
|
|
|
13690
13644
|
_context18.next = 8;
|
|
13691
|
-
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$
|
|
13645
|
+
return sdkClient.healthfunds.getMedicareHealthFund(_objectSpread$W({}, opts, {
|
|
13692
13646
|
requestConfig: {
|
|
13693
13647
|
tokenType: 'session'
|
|
13694
13648
|
}
|
|
@@ -13720,7 +13674,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13720
13674
|
break;
|
|
13721
13675
|
}
|
|
13722
13676
|
|
|
13723
|
-
healthFundAccountRequestBody = _objectSpread$
|
|
13677
|
+
healthFundAccountRequestBody = _objectSpread$W({
|
|
13724
13678
|
healthFundId: _get(healthFund, '_id')
|
|
13725
13679
|
}, data || {}); // If it's an existing account, delete their current health fund account (if any), and add the new one to their account.
|
|
13726
13680
|
|
|
@@ -13840,7 +13794,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
|
|
|
13840
13794
|
doesParamExist.default({
|
|
13841
13795
|
paymentMethodId: paymentMethodId
|
|
13842
13796
|
}, opts.hyperMediaEndpoint);
|
|
13843
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
13797
|
+
return _context19.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
13844
13798
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
|
|
13845
13799
|
}), {
|
|
13846
13800
|
method: 'delete',
|
|
@@ -13883,9 +13837,9 @@ var selfCheckoutSessions = /*#__PURE__*/Object.freeze({
|
|
|
13883
13837
|
deletePaymentMethod: deletePaymentMethod
|
|
13884
13838
|
});
|
|
13885
13839
|
|
|
13886
|
-
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; }
|
|
13887
13841
|
|
|
13888
|
-
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; }
|
|
13889
13843
|
|
|
13890
13844
|
var pathBusinessServices = function pathBusinessServices(businessId) {
|
|
13891
13845
|
return "/businesses/" + businessId + "/services";
|
|
@@ -13935,7 +13889,7 @@ var createBusinessService = /*#__PURE__*/function () {
|
|
|
13935
13889
|
doesParamExist.default({
|
|
13936
13890
|
businessId: businessId
|
|
13937
13891
|
}, opts.hyperMediaEndpoint);
|
|
13938
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13892
|
+
return _context.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13939
13893
|
path: "" + pathBusinessServices(businessId)
|
|
13940
13894
|
}), {
|
|
13941
13895
|
method: 'post',
|
|
@@ -13976,7 +13930,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13976
13930
|
businessId: businessId,
|
|
13977
13931
|
practiceId: practiceId
|
|
13978
13932
|
}, opts.hyperMediaEndpoint);
|
|
13979
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13933
|
+
return _context2.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
13980
13934
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13981
13935
|
}), {
|
|
13982
13936
|
method: 'post',
|
|
@@ -14016,7 +13970,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
|
|
|
14016
13970
|
businessId: businessId,
|
|
14017
13971
|
serviceId: serviceId
|
|
14018
13972
|
}, opts.hyperMediaEndpoint);
|
|
14019
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
13973
|
+
return _context3.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14020
13974
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14021
13975
|
}), {
|
|
14022
13976
|
method: 'delete'
|
|
@@ -14055,7 +14009,7 @@ var getBusinessService = /*#__PURE__*/function () {
|
|
|
14055
14009
|
businessId: businessId,
|
|
14056
14010
|
serviceId: serviceId
|
|
14057
14011
|
}, opts.hyperMediaEndpoint);
|
|
14058
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
14012
|
+
return _context4.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14059
14013
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14060
14014
|
}), {
|
|
14061
14015
|
method: 'get'
|
|
@@ -14093,7 +14047,7 @@ var getBusinessServices = /*#__PURE__*/function () {
|
|
|
14093
14047
|
doesParamExist.default({
|
|
14094
14048
|
businessId: businessId
|
|
14095
14049
|
}, opts.hyperMediaEndpoint);
|
|
14096
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
14050
|
+
return _context5.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14097
14051
|
path: "" + pathBusinessServices(businessId)
|
|
14098
14052
|
}), {
|
|
14099
14053
|
method: 'get',
|
|
@@ -14135,7 +14089,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
14135
14089
|
practiceId: practiceId,
|
|
14136
14090
|
serviceId: serviceId
|
|
14137
14091
|
}, opts.hyperMediaEndpoint);
|
|
14138
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14092
|
+
return _context6.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14139
14093
|
path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
|
|
14140
14094
|
}), {
|
|
14141
14095
|
method: 'get'
|
|
@@ -14179,7 +14133,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
|
|
|
14179
14133
|
businessId: businessId,
|
|
14180
14134
|
practiceId: practiceId
|
|
14181
14135
|
}, opts.hyperMediaEndpoint);
|
|
14182
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
14136
|
+
return _context7.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14183
14137
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
14184
14138
|
}), {
|
|
14185
14139
|
method: 'get',
|
|
@@ -14226,7 +14180,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14226
14180
|
practiceId: practiceId,
|
|
14227
14181
|
staffId: staffId
|
|
14228
14182
|
}, opts.hyperMediaEndpoint);
|
|
14229
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
14183
|
+
return _context8.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14230
14184
|
path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
|
|
14231
14185
|
}), {
|
|
14232
14186
|
method: 'get',
|
|
@@ -14275,7 +14229,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
|
|
|
14275
14229
|
staffId: staffId,
|
|
14276
14230
|
serviceId: serviceId
|
|
14277
14231
|
}, opts.hyperMediaEndpoint);
|
|
14278
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
14232
|
+
return _context9.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14279
14233
|
path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
|
|
14280
14234
|
}), {
|
|
14281
14235
|
method: 'get',
|
|
@@ -14316,7 +14270,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14316
14270
|
opts = {};
|
|
14317
14271
|
}
|
|
14318
14272
|
|
|
14319
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
14273
|
+
return _context10.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14320
14274
|
path: "" + pathBusinessStaffMemberServices(businessId, staffId)
|
|
14321
14275
|
}), {
|
|
14322
14276
|
method: 'get',
|
|
@@ -14357,7 +14311,7 @@ var updateBusinessService = /*#__PURE__*/function () {
|
|
|
14357
14311
|
businessId: businessId,
|
|
14358
14312
|
serviceId: serviceId
|
|
14359
14313
|
}, opts.hyperMediaEndpoint);
|
|
14360
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14314
|
+
return _context11.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
14361
14315
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14362
14316
|
}), {
|
|
14363
14317
|
method: 'put',
|
|
@@ -14392,9 +14346,9 @@ var services = /*#__PURE__*/Object.freeze({
|
|
|
14392
14346
|
updateBusinessService: updateBusinessService
|
|
14393
14347
|
});
|
|
14394
14348
|
|
|
14395
|
-
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; }
|
|
14396
14350
|
|
|
14397
|
-
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; }
|
|
14398
14352
|
|
|
14399
14353
|
var pathBusiness$1 = function pathBusiness(businessId) {
|
|
14400
14354
|
return "/businesses/" + businessId;
|
|
@@ -14419,7 +14373,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
|
|
|
14419
14373
|
doesParamExist.default({
|
|
14420
14374
|
businessId: businessId
|
|
14421
14375
|
}, opts.hyperMediaEndpoint);
|
|
14422
|
-
return request(_objectSpread$
|
|
14376
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14423
14377
|
path: pathBusiness$1(businessId) + "/settlements"
|
|
14424
14378
|
}), {
|
|
14425
14379
|
method: 'get',
|
|
@@ -14445,7 +14399,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
|
|
|
14445
14399
|
doesParamExist.default({
|
|
14446
14400
|
businessId: businessId
|
|
14447
14401
|
}, opts.hyperMediaEndpoint);
|
|
14448
|
-
return request(_objectSpread$
|
|
14402
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14449
14403
|
path: pathBusiness$1(businessId) + "/settlementsummaries"
|
|
14450
14404
|
}), {
|
|
14451
14405
|
method: 'get',
|
|
@@ -14471,7 +14425,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
|
|
|
14471
14425
|
doesParamExist.default({
|
|
14472
14426
|
businessId: businessId
|
|
14473
14427
|
}, opts.hyperMediaEndpoint);
|
|
14474
|
-
return request(_objectSpread$
|
|
14428
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14475
14429
|
path: pathBusiness$1(businessId) + "/settlementsummaries/period"
|
|
14476
14430
|
}), {
|
|
14477
14431
|
method: 'get',
|
|
@@ -14501,7 +14455,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
|
|
|
14501
14455
|
doesParamExist.default({
|
|
14502
14456
|
settlementSummaryId: settlementSummaryId
|
|
14503
14457
|
}, opts.hyperMediaEndpoint);
|
|
14504
|
-
return request(_objectSpread$
|
|
14458
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14505
14459
|
path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
|
|
14506
14460
|
}), {
|
|
14507
14461
|
method: 'get',
|
|
@@ -14527,7 +14481,7 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
|
|
|
14527
14481
|
doesParamExist.default({
|
|
14528
14482
|
businessId: businessId
|
|
14529
14483
|
}, opts.hyperMediaEndpoint);
|
|
14530
|
-
return request(_objectSpread$
|
|
14484
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14531
14485
|
path: pathBusiness$1(businessId) + "/settlementsummariessearchoptions"
|
|
14532
14486
|
}), {
|
|
14533
14487
|
method: 'get',
|
|
@@ -14544,9 +14498,9 @@ var settlements = /*#__PURE__*/Object.freeze({
|
|
|
14544
14498
|
getBusinessSettlementSummariesSearchOptions: getBusinessSettlementSummariesSearchOptions
|
|
14545
14499
|
});
|
|
14546
14500
|
|
|
14547
|
-
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; }
|
|
14548
14502
|
|
|
14549
|
-
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; }
|
|
14550
14504
|
var pathBusinessSignUp = function pathBusinessSignUp() {
|
|
14551
14505
|
return '/businesses/signup';
|
|
14552
14506
|
};
|
|
@@ -14558,7 +14512,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
|
|
|
14558
14512
|
opts = {};
|
|
14559
14513
|
}
|
|
14560
14514
|
|
|
14561
|
-
return request(_objectSpread$
|
|
14515
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14562
14516
|
path: pathBusinessSignUp()
|
|
14563
14517
|
}), {
|
|
14564
14518
|
method: 'post',
|
|
@@ -14570,7 +14524,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
|
|
|
14570
14524
|
opts = {};
|
|
14571
14525
|
}
|
|
14572
14526
|
|
|
14573
|
-
return request(_objectSpread$
|
|
14527
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14574
14528
|
path: pathSignUp()
|
|
14575
14529
|
}), {
|
|
14576
14530
|
method: 'post',
|
|
@@ -14586,9 +14540,9 @@ var signUp$1 = /*#__PURE__*/Object.freeze({
|
|
|
14586
14540
|
createConsumerAccount: createConsumerAccount
|
|
14587
14541
|
});
|
|
14588
14542
|
|
|
14589
|
-
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; }
|
|
14590
14544
|
|
|
14591
|
-
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; }
|
|
14592
14546
|
var pathBusinessSpecialties = function pathBusinessSpecialties(businessId) {
|
|
14593
14547
|
return "/businesses/" + businessId + "/specialties";
|
|
14594
14548
|
};
|
|
@@ -14607,7 +14561,7 @@ var getSpecialties = function getSpecialties(query, opts) {
|
|
|
14607
14561
|
opts = {};
|
|
14608
14562
|
}
|
|
14609
14563
|
|
|
14610
|
-
return request(_objectSpread
|
|
14564
|
+
return request(_objectSpread$_({}, opts, {
|
|
14611
14565
|
path: pathSpecialties
|
|
14612
14566
|
}), {
|
|
14613
14567
|
method: 'get',
|
|
@@ -14629,7 +14583,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
|
|
|
14629
14583
|
doesParamExist.default({
|
|
14630
14584
|
businessId: businessId
|
|
14631
14585
|
});
|
|
14632
|
-
return request(_objectSpread
|
|
14586
|
+
return request(_objectSpread$_({}, opts, {
|
|
14633
14587
|
path: pathBusinessSpecialties(businessId)
|
|
14634
14588
|
}), {
|
|
14635
14589
|
method: 'get',
|
|
@@ -14650,7 +14604,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
|
|
|
14650
14604
|
doesParamExist.default({
|
|
14651
14605
|
specialtyId: specialtyId
|
|
14652
14606
|
});
|
|
14653
|
-
return request(_objectSpread
|
|
14607
|
+
return request(_objectSpread$_({}, opts, {
|
|
14654
14608
|
path: pathSpecialty(specialtyId)
|
|
14655
14609
|
}), {
|
|
14656
14610
|
method: 'get'
|
|
@@ -14667,9 +14621,9 @@ var specialties = /*#__PURE__*/Object.freeze({
|
|
|
14667
14621
|
getSpecialty: getSpecialty
|
|
14668
14622
|
});
|
|
14669
14623
|
|
|
14670
|
-
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; }
|
|
14671
14625
|
|
|
14672
|
-
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; }
|
|
14673
14627
|
var pathLinkStaffProfile = function pathLinkStaffProfile(staffProfileId) {
|
|
14674
14628
|
return "/staffprofiles/" + staffProfileId + "/link";
|
|
14675
14629
|
};
|
|
@@ -14690,7 +14644,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
|
|
|
14690
14644
|
doesParamExist.default({
|
|
14691
14645
|
organisationId: organisationId
|
|
14692
14646
|
}, opts.hyperMediaEndpoint);
|
|
14693
|
-
return request(_objectSpread
|
|
14647
|
+
return request(_objectSpread$$({}, opts, {
|
|
14694
14648
|
path: pathOrganisationStaffProfiles(organisationId)
|
|
14695
14649
|
}), {
|
|
14696
14650
|
method: 'get',
|
|
@@ -14705,7 +14659,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
|
|
|
14705
14659
|
doesParamExist.default({
|
|
14706
14660
|
staffProfileId: staffProfileId
|
|
14707
14661
|
}, opts.hyperMediaEndpoint);
|
|
14708
|
-
return request(_objectSpread
|
|
14662
|
+
return request(_objectSpread$$({}, opts, {
|
|
14709
14663
|
path: pathStaffProfile(staffProfileId)
|
|
14710
14664
|
}), {
|
|
14711
14665
|
method: 'get'
|
|
@@ -14723,7 +14677,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
|
|
|
14723
14677
|
var body = {
|
|
14724
14678
|
staffId: staffId
|
|
14725
14679
|
};
|
|
14726
|
-
return request(_objectSpread
|
|
14680
|
+
return request(_objectSpread$$({}, opts, {
|
|
14727
14681
|
path: pathLinkStaffProfile(staffProfileId)
|
|
14728
14682
|
}), {
|
|
14729
14683
|
method: 'put',
|
|
@@ -14738,7 +14692,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
|
|
|
14738
14692
|
doesParamExist.default({
|
|
14739
14693
|
staffProfileId: staffProfileId
|
|
14740
14694
|
}, opts.hyperMediaEndpoint);
|
|
14741
|
-
return request(_objectSpread
|
|
14695
|
+
return request(_objectSpread$$({}, opts, {
|
|
14742
14696
|
path: pathUnlinkStaffProfile(staffProfileId)
|
|
14743
14697
|
}), {
|
|
14744
14698
|
method: 'put'
|
|
@@ -14757,9 +14711,9 @@ var staffProfiles = /*#__PURE__*/Object.freeze({
|
|
|
14757
14711
|
unlinkStaffProfile: unlinkStaffProfile
|
|
14758
14712
|
});
|
|
14759
14713
|
|
|
14760
|
-
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; }
|
|
14761
14715
|
|
|
14762
|
-
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; }
|
|
14763
14717
|
|
|
14764
14718
|
var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
|
|
14765
14719
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
|
|
@@ -14826,7 +14780,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14826
14780
|
doesParamExist.default({
|
|
14827
14781
|
businessId: businessId
|
|
14828
14782
|
}, opts.hyperMediaEndpoint);
|
|
14829
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
14783
|
+
return _context.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14830
14784
|
path: pathBusinessStaff(businessId)
|
|
14831
14785
|
}), {
|
|
14832
14786
|
method: 'post',
|
|
@@ -14865,7 +14819,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
14865
14819
|
doesParamExist.default({
|
|
14866
14820
|
organisationId: organisationId
|
|
14867
14821
|
}, opts.hyperMediaEndpoint);
|
|
14868
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
14822
|
+
return _context2.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14869
14823
|
path: pathOrganisationStaff(organisationId)
|
|
14870
14824
|
}), {
|
|
14871
14825
|
method: 'post',
|
|
@@ -14905,7 +14859,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14905
14859
|
businessId: businessId,
|
|
14906
14860
|
staffId: staffId
|
|
14907
14861
|
}, opts.hyperMediaEndpoint);
|
|
14908
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
14862
|
+
return _context3.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14909
14863
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14910
14864
|
}), {
|
|
14911
14865
|
method: 'delete'
|
|
@@ -14944,7 +14898,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
14944
14898
|
businessId: businessId,
|
|
14945
14899
|
staffId: staffId
|
|
14946
14900
|
}, opts.hyperMediaEndpoint);
|
|
14947
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
14901
|
+
return _context4.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14948
14902
|
path: pathBusinessStaffMember(businessId, staffId) + "/email"
|
|
14949
14903
|
}), {
|
|
14950
14904
|
method: 'delete'
|
|
@@ -14983,7 +14937,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14983
14937
|
businessId: businessId,
|
|
14984
14938
|
staffId: staffId
|
|
14985
14939
|
}, opts.hyperMediaEndpoint);
|
|
14986
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
14940
|
+
return _context5.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
14987
14941
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14988
14942
|
}), {
|
|
14989
14943
|
method: 'get'
|
|
@@ -15023,7 +14977,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
|
|
|
15023
14977
|
businessId: businessId,
|
|
15024
14978
|
staffId: staffId
|
|
15025
14979
|
}, opts.hyperMediaEndpoint);
|
|
15026
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14980
|
+
return _context6.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15027
14981
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15028
14982
|
}), {
|
|
15029
14983
|
method: 'get',
|
|
@@ -15067,7 +15021,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
|
|
|
15067
15021
|
practiceId: practiceId,
|
|
15068
15022
|
staffId: staffId
|
|
15069
15023
|
}, opts.hyperMediaEndpoint);
|
|
15070
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
15024
|
+
return _context7.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15071
15025
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
|
|
15072
15026
|
}), {
|
|
15073
15027
|
method: 'get'
|
|
@@ -15113,7 +15067,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
|
|
|
15113
15067
|
practiceId: practiceId,
|
|
15114
15068
|
staffId: staffId
|
|
15115
15069
|
}, opts.hyperMediaEndpoint);
|
|
15116
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
15070
|
+
return _context8.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15117
15071
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
|
|
15118
15072
|
}), {
|
|
15119
15073
|
method: 'get',
|
|
@@ -15154,7 +15108,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15154
15108
|
businessId: businessId,
|
|
15155
15109
|
practiceId: practiceId
|
|
15156
15110
|
}, opts.hyperMediaEndpoint);
|
|
15157
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
15111
|
+
return _context9.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15158
15112
|
path: pathBusinessPracticeStaffMembers(businessId, practiceId)
|
|
15159
15113
|
}), {
|
|
15160
15114
|
method: 'get',
|
|
@@ -15197,7 +15151,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15197
15151
|
formId: formId,
|
|
15198
15152
|
practiceId: practiceId
|
|
15199
15153
|
}, opts.hyperMediaEndpoint);
|
|
15200
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
15154
|
+
return _context10.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15201
15155
|
path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
|
|
15202
15156
|
}), {
|
|
15203
15157
|
method: 'get',
|
|
@@ -15242,7 +15196,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
|
|
|
15242
15196
|
businessId: businessId,
|
|
15243
15197
|
serviceId: serviceId
|
|
15244
15198
|
}, opts.hyperMediaEndpoint);
|
|
15245
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
15199
|
+
return _context11.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15246
15200
|
path: pathBusinessServiceStaffMembers(businessId, serviceId)
|
|
15247
15201
|
}), {
|
|
15248
15202
|
method: 'get',
|
|
@@ -15279,7 +15233,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
|
|
|
15279
15233
|
doesParamExist.default({
|
|
15280
15234
|
businessId: businessId
|
|
15281
15235
|
}, opts.hyperMediaEndpoint);
|
|
15282
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
15236
|
+
return _context12.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15283
15237
|
path: pathBusinessStaff(businessId)
|
|
15284
15238
|
}), {
|
|
15285
15239
|
method: 'get',
|
|
@@ -15321,7 +15275,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
|
|
|
15321
15275
|
staffId: staffId,
|
|
15322
15276
|
contentType: contentType
|
|
15323
15277
|
}, opts.hyperMediaEndpoint);
|
|
15324
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
15278
|
+
return _context13.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15325
15279
|
path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
|
|
15326
15280
|
}), {
|
|
15327
15281
|
method: 'get',
|
|
@@ -15365,7 +15319,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
|
|
|
15365
15319
|
doesParamExist.default({
|
|
15366
15320
|
organisationId: organisationId
|
|
15367
15321
|
}, opts.hyperMediaEndpoint);
|
|
15368
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
15322
|
+
return _context14.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15369
15323
|
path: pathOrganisationStaff(organisationId)
|
|
15370
15324
|
}), {
|
|
15371
15325
|
method: 'get',
|
|
@@ -15403,7 +15357,7 @@ var getStaffMember = /*#__PURE__*/function () {
|
|
|
15403
15357
|
doesParamExist.default({
|
|
15404
15358
|
staffId: staffId
|
|
15405
15359
|
}, opts.hyperMediaEndpoint);
|
|
15406
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
15360
|
+
return _context15.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15407
15361
|
path: pathStaffMember(staffId)
|
|
15408
15362
|
}), {
|
|
15409
15363
|
method: 'get'
|
|
@@ -15445,7 +15399,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15445
15399
|
practiceId: practiceId,
|
|
15446
15400
|
staffId: staffId
|
|
15447
15401
|
}, opts.hyperMediaEndpoint);
|
|
15448
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
15402
|
+
return _context16.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15449
15403
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15450
15404
|
}), {
|
|
15451
15405
|
method: 'post',
|
|
@@ -15489,11 +15443,11 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15489
15443
|
businessId: businessId,
|
|
15490
15444
|
staffId: staffId
|
|
15491
15445
|
}, opts.hyperMediaEndpoint);
|
|
15492
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
15446
|
+
return _context17.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15493
15447
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15494
15448
|
}), {
|
|
15495
15449
|
method: 'post',
|
|
15496
|
-
data: _objectSpread$
|
|
15450
|
+
data: _objectSpread$10({
|
|
15497
15451
|
roleFullName: roleFullName
|
|
15498
15452
|
}, body)
|
|
15499
15453
|
}));
|
|
@@ -15530,7 +15484,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15530
15484
|
doesParamExist.default({
|
|
15531
15485
|
businessId: businessId
|
|
15532
15486
|
}, opts.hyperMediaEndpoint);
|
|
15533
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
15487
|
+
return _context18.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15534
15488
|
path: pathBusinessStaff(businessId) + "/invites"
|
|
15535
15489
|
}), {
|
|
15536
15490
|
method: 'post',
|
|
@@ -15575,7 +15529,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15575
15529
|
doesParamExist.default({
|
|
15576
15530
|
businessId: businessId
|
|
15577
15531
|
}, opts.hyperMediaEndpoint);
|
|
15578
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
15532
|
+
return _context19.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15579
15533
|
path: pathBusinessStaffMember(businessId, staffId) + "/invites"
|
|
15580
15534
|
}), {
|
|
15581
15535
|
method: 'post',
|
|
@@ -15618,7 +15572,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15618
15572
|
practiceId: practiceId,
|
|
15619
15573
|
staffId: staffId
|
|
15620
15574
|
}, opts.hyperMediaEndpoint);
|
|
15621
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
15575
|
+
return _context20.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15622
15576
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15623
15577
|
}), {
|
|
15624
15578
|
method: 'delete',
|
|
@@ -15662,11 +15616,11 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15662
15616
|
businessId: businessId,
|
|
15663
15617
|
staffId: staffId
|
|
15664
15618
|
}, opts.hyperMediaEndpoint);
|
|
15665
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
15619
|
+
return _context21.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15666
15620
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15667
15621
|
}), {
|
|
15668
15622
|
method: 'delete',
|
|
15669
|
-
data: _objectSpread$
|
|
15623
|
+
data: _objectSpread$10({
|
|
15670
15624
|
roleFullName: roleFullName
|
|
15671
15625
|
}, body)
|
|
15672
15626
|
}));
|
|
@@ -15705,7 +15659,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15705
15659
|
businessId: businessId,
|
|
15706
15660
|
staffId: staffId
|
|
15707
15661
|
}, opts.hyperMediaEndpoint);
|
|
15708
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
15662
|
+
return _context22.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15709
15663
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
15710
15664
|
}), {
|
|
15711
15665
|
method: 'put',
|
|
@@ -15746,7 +15700,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
15746
15700
|
businessId: businessId,
|
|
15747
15701
|
staffId: staffId
|
|
15748
15702
|
}, opts.hyperMediaEndpoint);
|
|
15749
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
15703
|
+
return _context23.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15750
15704
|
path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
|
|
15751
15705
|
}), {
|
|
15752
15706
|
method: 'post',
|
|
@@ -15787,7 +15741,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
15787
15741
|
organisationId: organisationId,
|
|
15788
15742
|
staffId: staffId
|
|
15789
15743
|
}, opts.hyperMediaEndpoint);
|
|
15790
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
15744
|
+
return _context24.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15791
15745
|
path: pathOrganisationStaffMember(organisationId, staffId)
|
|
15792
15746
|
}), {
|
|
15793
15747
|
method: 'put',
|
|
@@ -15826,7 +15780,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
|
|
|
15826
15780
|
doesParamExist.default({
|
|
15827
15781
|
staffId: staffId
|
|
15828
15782
|
}, opts.hyperMediaEndpoint);
|
|
15829
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
15783
|
+
return _context25.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15830
15784
|
path: pathStaffMember(staffId) + "/verify"
|
|
15831
15785
|
}), {
|
|
15832
15786
|
method: 'post',
|
|
@@ -15865,7 +15819,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
|
|
|
15865
15819
|
doesParamExist.default({
|
|
15866
15820
|
staffId: staffId
|
|
15867
15821
|
}, opts.hyperMediaEndpoint);
|
|
15868
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
15822
|
+
return _context26.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15869
15823
|
path: pathStaffMember(staffId) + "/clone"
|
|
15870
15824
|
}), {
|
|
15871
15825
|
method: 'post',
|
|
@@ -15899,7 +15853,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
|
|
|
15899
15853
|
doesParamExist.default({
|
|
15900
15854
|
businessId: businessId
|
|
15901
15855
|
}, opts.hyperMediaEndpoint);
|
|
15902
|
-
return request(_objectSpread$
|
|
15856
|
+
return request(_objectSpread$10({}, opts, {
|
|
15903
15857
|
path: pathBusinessStaff(businessId) + "/exists"
|
|
15904
15858
|
}), {
|
|
15905
15859
|
method: 'get',
|
|
@@ -15928,7 +15882,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15928
15882
|
businessId: businessId,
|
|
15929
15883
|
staffId: staffId
|
|
15930
15884
|
}, opts.hyperMediaEndpoint);
|
|
15931
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
15885
|
+
return _context27.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15932
15886
|
path: "" + pathProviderSetItems(businessId, staffId)
|
|
15933
15887
|
}), {
|
|
15934
15888
|
method: 'post',
|
|
@@ -15971,7 +15925,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15971
15925
|
staffId: staffId,
|
|
15972
15926
|
providerSetItemId: providerSetItemId
|
|
15973
15927
|
}, opts.hyperMediaEndpoint);
|
|
15974
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
15928
|
+
return _context28.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
15975
15929
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15976
15930
|
}), {
|
|
15977
15931
|
method: 'put',
|
|
@@ -16013,7 +15967,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
16013
15967
|
staffId: staffId,
|
|
16014
15968
|
providerSetItemId: providerSetItemId
|
|
16015
15969
|
}, opts.hyperMediaEndpoint);
|
|
16016
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
15970
|
+
return _context29.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16017
15971
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
16018
15972
|
}), {
|
|
16019
15973
|
method: 'delete'
|
|
@@ -16046,11 +16000,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
|
|
|
16046
16000
|
doesParamExist.default({
|
|
16047
16001
|
businessId: businessId
|
|
16048
16002
|
}, opts.hyperMediaEndpoint);
|
|
16049
|
-
return request(_objectSpread$
|
|
16003
|
+
return request(_objectSpread$10({}, opts, {
|
|
16050
16004
|
path: pathProvidersStatus
|
|
16051
16005
|
}), {
|
|
16052
16006
|
method: 'get',
|
|
16053
|
-
params: _objectSpread$
|
|
16007
|
+
params: _objectSpread$10({}, query, {
|
|
16054
16008
|
businessId: businessId
|
|
16055
16009
|
})
|
|
16056
16010
|
});
|
|
@@ -16091,9 +16045,9 @@ var staff = /*#__PURE__*/Object.freeze({
|
|
|
16091
16045
|
getProvidersStatus: getProvidersStatus
|
|
16092
16046
|
});
|
|
16093
16047
|
|
|
16094
|
-
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; }
|
|
16095
16049
|
|
|
16096
|
-
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; }
|
|
16097
16051
|
|
|
16098
16052
|
var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
|
|
16099
16053
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
|
|
@@ -16145,11 +16099,11 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16145
16099
|
doesParamExist.default({
|
|
16146
16100
|
healthFundId: healthFundId
|
|
16147
16101
|
}, opts.hyperMediaEndpoint);
|
|
16148
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16102
|
+
return _context.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16149
16103
|
path: pathTransactionStatsForHealthFundId(healthFundId)
|
|
16150
16104
|
}), {
|
|
16151
16105
|
method: 'get',
|
|
16152
|
-
params: _objectSpread$
|
|
16106
|
+
params: _objectSpread$11({
|
|
16153
16107
|
from: from,
|
|
16154
16108
|
to: to
|
|
16155
16109
|
}, query)
|
|
@@ -16193,11 +16147,11 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
|
|
|
16193
16147
|
doesParamExist.default({
|
|
16194
16148
|
healthFundId: healthFundId
|
|
16195
16149
|
}, opts.hyperMediaEndpoint);
|
|
16196
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16150
|
+
return _context2.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16197
16151
|
path: pathTransactionStatsCSVForHealthFundId(healthFundId)
|
|
16198
16152
|
}), {
|
|
16199
16153
|
method: 'get',
|
|
16200
|
-
params: _objectSpread$
|
|
16154
|
+
params: _objectSpread$11({
|
|
16201
16155
|
from: from,
|
|
16202
16156
|
to: to
|
|
16203
16157
|
}, query)
|
|
@@ -16241,11 +16195,11 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16241
16195
|
doesParamExist.default({
|
|
16242
16196
|
healthFundId: healthFundId
|
|
16243
16197
|
}, opts.hyperMediaEndpoint);
|
|
16244
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16198
|
+
return _context3.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16245
16199
|
path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
|
|
16246
16200
|
}), {
|
|
16247
16201
|
method: 'get',
|
|
16248
|
-
params: _objectSpread$
|
|
16202
|
+
params: _objectSpread$11({
|
|
16249
16203
|
from: from,
|
|
16250
16204
|
to: to
|
|
16251
16205
|
}, query)
|
|
@@ -16289,11 +16243,11 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
|
|
|
16289
16243
|
doesParamExist.default({
|
|
16290
16244
|
businessId: businessId
|
|
16291
16245
|
}, opts.hyperMediaEndpoint);
|
|
16292
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16246
|
+
return _context4.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16293
16247
|
path: pathTransactionStatsForBusiness(businessId)
|
|
16294
16248
|
}), {
|
|
16295
16249
|
method: 'get',
|
|
16296
|
-
params: _objectSpread$
|
|
16250
|
+
params: _objectSpread$11({
|
|
16297
16251
|
from: from,
|
|
16298
16252
|
to: to
|
|
16299
16253
|
}, query)
|
|
@@ -16339,11 +16293,11 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
|
|
|
16339
16293
|
businessId: businessId,
|
|
16340
16294
|
practiceId: practiceId
|
|
16341
16295
|
}, opts.hyperMediaEndpoint);
|
|
16342
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16296
|
+
return _context5.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16343
16297
|
path: pathTransactionStatsForPractice(businessId, practiceId)
|
|
16344
16298
|
}), {
|
|
16345
16299
|
method: 'get',
|
|
16346
|
-
params: _objectSpread$
|
|
16300
|
+
params: _objectSpread$11({
|
|
16347
16301
|
from: from,
|
|
16348
16302
|
to: to
|
|
16349
16303
|
}, query)
|
|
@@ -16387,11 +16341,11 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
|
|
|
16387
16341
|
doesParamExist.default({
|
|
16388
16342
|
organisationId: organisationId
|
|
16389
16343
|
}, opts.hyperMediaEndpoint);
|
|
16390
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16344
|
+
return _context6.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16391
16345
|
path: pathTransactionStatsForOrganisation(organisationId)
|
|
16392
16346
|
}), {
|
|
16393
16347
|
method: 'get',
|
|
16394
|
-
params: _objectSpread$
|
|
16348
|
+
params: _objectSpread$11({
|
|
16395
16349
|
from: from,
|
|
16396
16350
|
to: to
|
|
16397
16351
|
}, query)
|
|
@@ -16420,9 +16374,9 @@ var statistics = /*#__PURE__*/Object.freeze({
|
|
|
16420
16374
|
getTransactionStatsForOrganisation: getTransactionStatsForOrganisation
|
|
16421
16375
|
});
|
|
16422
16376
|
|
|
16423
|
-
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; }
|
|
16424
16378
|
|
|
16425
|
-
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; }
|
|
16426
16380
|
var pathBusinessSubscriptions = function pathBusinessSubscriptions(businessId) {
|
|
16427
16381
|
return "/businesses/" + businessId + "/subscriptions";
|
|
16428
16382
|
};
|
|
@@ -16444,7 +16398,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
|
|
|
16444
16398
|
doesParamExist.default({
|
|
16445
16399
|
businessId: businessId
|
|
16446
16400
|
});
|
|
16447
|
-
return request(_objectSpread$
|
|
16401
|
+
return request(_objectSpread$12({}, opts, {
|
|
16448
16402
|
path: pathBusinessSubscriptions(businessId)
|
|
16449
16403
|
}), {
|
|
16450
16404
|
method: 'post',
|
|
@@ -16466,7 +16420,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
|
|
|
16466
16420
|
doesParamExist.default({
|
|
16467
16421
|
businessId: businessId
|
|
16468
16422
|
});
|
|
16469
|
-
return request(_objectSpread$
|
|
16423
|
+
return request(_objectSpread$12({}, opts, {
|
|
16470
16424
|
path: pathBusinessSubscriptions(businessId)
|
|
16471
16425
|
}), {
|
|
16472
16426
|
method: 'get',
|
|
@@ -16489,7 +16443,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
|
|
|
16489
16443
|
businessId: businessId,
|
|
16490
16444
|
subscriptionId: subscriptionId
|
|
16491
16445
|
});
|
|
16492
|
-
return request(_objectSpread$
|
|
16446
|
+
return request(_objectSpread$12({}, opts, {
|
|
16493
16447
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16494
16448
|
}), {
|
|
16495
16449
|
method: 'get'
|
|
@@ -16512,7 +16466,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
|
|
|
16512
16466
|
businessId: businessId,
|
|
16513
16467
|
subscriptionId: subscriptionId
|
|
16514
16468
|
});
|
|
16515
|
-
return request(_objectSpread$
|
|
16469
|
+
return request(_objectSpread$12({}, opts, {
|
|
16516
16470
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16517
16471
|
}), {
|
|
16518
16472
|
method: 'put',
|
|
@@ -16530,9 +16484,9 @@ var subscriptions = /*#__PURE__*/Object.freeze({
|
|
|
16530
16484
|
updateBusinessSubscription: updateBusinessSubscription
|
|
16531
16485
|
});
|
|
16532
16486
|
|
|
16533
|
-
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; }
|
|
16534
16488
|
|
|
16535
|
-
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; }
|
|
16536
16490
|
var pathTerminalsByBusinessId = function pathTerminalsByBusinessId(businessId) {
|
|
16537
16491
|
return "/businesses/" + businessId + "/terminals";
|
|
16538
16492
|
};
|
|
@@ -16570,7 +16524,7 @@ var registerTerminal = /*#__PURE__*/function () {
|
|
|
16570
16524
|
businessId: businessId,
|
|
16571
16525
|
practiceId: practiceId
|
|
16572
16526
|
}, opts.hyperMediaEndpoint);
|
|
16573
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16527
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16574
16528
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16575
16529
|
}), {
|
|
16576
16530
|
method: 'post',
|
|
@@ -16609,7 +16563,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
|
|
|
16609
16563
|
doesParamExist.default({
|
|
16610
16564
|
businessId: businessId
|
|
16611
16565
|
}, opts.hyperMediaEndpoint);
|
|
16612
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16566
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16613
16567
|
path: pathTerminalsByBusinessId(businessId)
|
|
16614
16568
|
}), {
|
|
16615
16569
|
method: 'get',
|
|
@@ -16650,7 +16604,7 @@ var getTerminals = /*#__PURE__*/function () {
|
|
|
16650
16604
|
businessId: businessId,
|
|
16651
16605
|
practiceId: practiceId
|
|
16652
16606
|
}, opts.hyperMediaEndpoint);
|
|
16653
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16607
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16654
16608
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16655
16609
|
}), {
|
|
16656
16610
|
method: 'get',
|
|
@@ -16693,7 +16647,7 @@ var getTerminal = /*#__PURE__*/function () {
|
|
|
16693
16647
|
practiceId: practiceId,
|
|
16694
16648
|
terminalId: terminalId
|
|
16695
16649
|
}, opts.hyperMediaEndpoint);
|
|
16696
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16650
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16697
16651
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16698
16652
|
}), {
|
|
16699
16653
|
method: 'get'
|
|
@@ -16735,7 +16689,7 @@ var updateTerminal = /*#__PURE__*/function () {
|
|
|
16735
16689
|
practiceId: practiceId,
|
|
16736
16690
|
terminalId: terminalId
|
|
16737
16691
|
}, opts.hyperMediaEndpoint);
|
|
16738
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16692
|
+
return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16739
16693
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16740
16694
|
}), {
|
|
16741
16695
|
method: 'put',
|
|
@@ -16777,7 +16731,7 @@ var deleteTerminal = /*#__PURE__*/function () {
|
|
|
16777
16731
|
practiceId: practiceId,
|
|
16778
16732
|
terminalId: terminalId
|
|
16779
16733
|
}, opts.hyperMediaEndpoint);
|
|
16780
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16734
|
+
return _context6.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16781
16735
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16782
16736
|
}), {
|
|
16783
16737
|
method: 'delete'
|
|
@@ -16816,7 +16770,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
16816
16770
|
businessId: businessId,
|
|
16817
16771
|
practiceId: practiceId
|
|
16818
16772
|
}, opts.hyperMediaEndpoint);
|
|
16819
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
16773
|
+
return _context7.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16820
16774
|
path: pathClientTokenByPracticeId(businessId, practiceId)
|
|
16821
16775
|
}), {
|
|
16822
16776
|
method: 'get'
|
|
@@ -16858,7 +16812,7 @@ var resetTerminal = /*#__PURE__*/function () {
|
|
|
16858
16812
|
practiceId: practiceId,
|
|
16859
16813
|
terminalId: terminalId
|
|
16860
16814
|
}, opts.hyperMediaEndpoint);
|
|
16861
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
16815
|
+
return _context8.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
16862
16816
|
path: pathResetTerminal(businessId, practiceId, terminalId)
|
|
16863
16817
|
}), {
|
|
16864
16818
|
method: 'post',
|
|
@@ -16895,9 +16849,9 @@ var terminals = /*#__PURE__*/Object.freeze({
|
|
|
16895
16849
|
resetTerminal: resetTerminal
|
|
16896
16850
|
});
|
|
16897
16851
|
|
|
16898
|
-
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; }
|
|
16899
16853
|
|
|
16900
|
-
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; }
|
|
16901
16855
|
var pathCreateHealthFundTransactionExport = function pathCreateHealthFundTransactionExport(healthFundId) {
|
|
16902
16856
|
return "/healthfunds/" + healthFundId + "/transactionexport";
|
|
16903
16857
|
};
|
|
@@ -16924,7 +16878,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16924
16878
|
doesParamExist.default({
|
|
16925
16879
|
healthFundId: healthFundId
|
|
16926
16880
|
}, opts.hyperMediaEndpoint);
|
|
16927
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16881
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16928
16882
|
path: pathCreateHealthFundTransactionExport(healthFundId)
|
|
16929
16883
|
}), {
|
|
16930
16884
|
method: 'post',
|
|
@@ -16969,7 +16923,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16969
16923
|
healthFundId: healthFundId,
|
|
16970
16924
|
transactionExportId: transactionExportId
|
|
16971
16925
|
}, opts.hyperMediaEndpoint);
|
|
16972
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16926
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
16973
16927
|
path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
|
|
16974
16928
|
}), {
|
|
16975
16929
|
method: 'get',
|
|
@@ -16997,9 +16951,9 @@ var transactionExport = /*#__PURE__*/Object.freeze({
|
|
|
16997
16951
|
getHealthFundTransactionExport: getHealthFundTransactionExport
|
|
16998
16952
|
});
|
|
16999
16953
|
|
|
17000
|
-
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; }
|
|
17001
16955
|
|
|
17002
|
-
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; }
|
|
17003
16957
|
|
|
17004
16958
|
var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
|
|
17005
16959
|
return "/businesses/" + businessId + "/transactions";
|
|
@@ -17227,7 +17181,7 @@ var approveTransaction = /*#__PURE__*/function () {
|
|
|
17227
17181
|
doesParamExist.default({
|
|
17228
17182
|
transactionId: transactionId
|
|
17229
17183
|
}, opts.hyperMediaEndpoint);
|
|
17230
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
17184
|
+
return _context.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17231
17185
|
path: pathTransactionApprove(transactionId)
|
|
17232
17186
|
}), {
|
|
17233
17187
|
method: 'post',
|
|
@@ -17265,7 +17219,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
|
|
|
17265
17219
|
doesParamExist.default({
|
|
17266
17220
|
healthFundId: healthFundId
|
|
17267
17221
|
}, opts.hyperMediaEndpoint);
|
|
17268
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
17222
|
+
return _context2.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17269
17223
|
path: pathHealthFundTransactionsAssign(healthFundId)
|
|
17270
17224
|
}), {
|
|
17271
17225
|
method: 'post',
|
|
@@ -17305,7 +17259,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17305
17259
|
transactionId: transactionId,
|
|
17306
17260
|
healthFundId: healthFundId
|
|
17307
17261
|
}, opts.hyperMediaEndpoint);
|
|
17308
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
17262
|
+
return _context3.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17309
17263
|
path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
|
|
17310
17264
|
}), {
|
|
17311
17265
|
method: 'put'
|
|
@@ -17342,7 +17296,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17342
17296
|
doesParamExist.default({
|
|
17343
17297
|
transactionId: transactionId
|
|
17344
17298
|
}, opts.hyperMediaEndpoint);
|
|
17345
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
17299
|
+
return _context4.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17346
17300
|
path: pathTransactionByTransactionId(transactionId) + "/assigntome"
|
|
17347
17301
|
}), {
|
|
17348
17302
|
method: 'put'
|
|
@@ -17379,7 +17333,7 @@ var cancelTransaction = /*#__PURE__*/function () {
|
|
|
17379
17333
|
doesParamExist.default({
|
|
17380
17334
|
transactionId: transactionId
|
|
17381
17335
|
}, opts.hyperMediaEndpoint);
|
|
17382
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
17336
|
+
return _context5.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17383
17337
|
path: pathTransactionByTransactionId(transactionId) + "/cancellations"
|
|
17384
17338
|
}), {
|
|
17385
17339
|
data: body,
|
|
@@ -17419,7 +17373,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17419
17373
|
transactionId: transactionId,
|
|
17420
17374
|
businessId: businessId
|
|
17421
17375
|
}, opts.hyperMediaEndpoint);
|
|
17422
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
17376
|
+
return _context6.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17423
17377
|
path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
|
|
17424
17378
|
}), {
|
|
17425
17379
|
data: body,
|
|
@@ -17462,7 +17416,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
|
|
|
17462
17416
|
practiceId: practiceId,
|
|
17463
17417
|
staffId: staffId
|
|
17464
17418
|
}, opts.hyperMediaEndpoint);
|
|
17465
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
17419
|
+
return _context7.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17466
17420
|
path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
|
|
17467
17421
|
}), {
|
|
17468
17422
|
method: 'post',
|
|
@@ -17503,7 +17457,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
|
|
|
17503
17457
|
businessId: businessId,
|
|
17504
17458
|
practiceId: practiceId
|
|
17505
17459
|
}, opts.hyperMediaEndpoint);
|
|
17506
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
17460
|
+
return _context8.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17507
17461
|
path: pathBusinessPracticeInvoices(businessId, practiceId)
|
|
17508
17462
|
}), {
|
|
17509
17463
|
method: 'post',
|
|
@@ -17542,7 +17496,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
|
|
|
17542
17496
|
doesParamExist.default({
|
|
17543
17497
|
businessId: businessId
|
|
17544
17498
|
}, opts.hyperMediaEndpoint);
|
|
17545
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
17499
|
+
return _context9.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17546
17500
|
path: pathBusinessTransactionQuotes(businessId)
|
|
17547
17501
|
}), {
|
|
17548
17502
|
method: 'post',
|
|
@@ -17585,7 +17539,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
|
|
|
17585
17539
|
practiceId: practiceId,
|
|
17586
17540
|
staffId: staffId
|
|
17587
17541
|
}, opts.hyperMediaEndpoint);
|
|
17588
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
17542
|
+
return _context10.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17589
17543
|
path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
|
|
17590
17544
|
}), {
|
|
17591
17545
|
method: 'post',
|
|
@@ -17627,7 +17581,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17627
17581
|
doesParamExist.default({
|
|
17628
17582
|
transactionId: transactionId
|
|
17629
17583
|
}, opts.hyperMediaEndpoint);
|
|
17630
|
-
newBody = _objectSpread$
|
|
17584
|
+
newBody = _objectSpread$15({}, body);
|
|
17631
17585
|
|
|
17632
17586
|
if (source && nonce) {
|
|
17633
17587
|
newBody.payment = {
|
|
@@ -17636,7 +17590,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17636
17590
|
};
|
|
17637
17591
|
}
|
|
17638
17592
|
|
|
17639
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
17593
|
+
return _context11.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17640
17594
|
path: pathTransactionByTransactionId(transactionId) + "/payments"
|
|
17641
17595
|
}), {
|
|
17642
17596
|
method: 'post',
|
|
@@ -17675,7 +17629,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
|
|
|
17675
17629
|
doesParamExist.default({
|
|
17676
17630
|
transactionId: transactionId
|
|
17677
17631
|
}, opts.hyperMediaEndpoint);
|
|
17678
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
17632
|
+
return _context12.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17679
17633
|
path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
|
|
17680
17634
|
}), {
|
|
17681
17635
|
method: 'post',
|
|
@@ -17715,7 +17669,7 @@ var completeQuote = /*#__PURE__*/function () {
|
|
|
17715
17669
|
transactionId: transactionId,
|
|
17716
17670
|
memberId: memberId
|
|
17717
17671
|
}, opts.hyperMediaEndpoint);
|
|
17718
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
17672
|
+
return _context13.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17719
17673
|
path: pathTransactionByTransactionId(transactionId) + "/completequote"
|
|
17720
17674
|
}), {
|
|
17721
17675
|
method: 'post',
|
|
@@ -17757,7 +17711,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
|
|
|
17757
17711
|
transactionId: transactionId,
|
|
17758
17712
|
tagId: tagId
|
|
17759
17713
|
}, opts.hyperMediaEndpoint);
|
|
17760
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
17714
|
+
return _context14.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17761
17715
|
path: pathTransactionTag(transactionId, tagId)
|
|
17762
17716
|
}), {
|
|
17763
17717
|
method: 'delete'
|
|
@@ -17794,7 +17748,7 @@ var deleteTransaction = /*#__PURE__*/function () {
|
|
|
17794
17748
|
doesParamExist.default({
|
|
17795
17749
|
transactionId: transactionId
|
|
17796
17750
|
}, opts.hyperMediaEndpoint);
|
|
17797
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
17751
|
+
return _context15.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17798
17752
|
path: pathTransactionByTransactionId(transactionId)
|
|
17799
17753
|
}), {
|
|
17800
17754
|
method: 'delete'
|
|
@@ -17836,7 +17790,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
|
|
|
17836
17790
|
doesParamExist.default({
|
|
17837
17791
|
businessId: businessId
|
|
17838
17792
|
}, opts.hyperMediaEndpoint);
|
|
17839
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
17793
|
+
return _context16.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17840
17794
|
path: pathBusinessTransactions(businessId)
|
|
17841
17795
|
}), {
|
|
17842
17796
|
method: 'get',
|
|
@@ -17876,7 +17830,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17876
17830
|
businessId: businessId,
|
|
17877
17831
|
transactionId: transactionId
|
|
17878
17832
|
}, opts.hyperMediaEndpoint);
|
|
17879
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
17833
|
+
return _context17.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17880
17834
|
path: pathBusinessTransaction(businessId, transactionId)
|
|
17881
17835
|
}), {
|
|
17882
17836
|
method: 'get',
|
|
@@ -17916,7 +17870,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
|
|
|
17916
17870
|
businessId: businessId,
|
|
17917
17871
|
invoiceReference: invoiceReference
|
|
17918
17872
|
}, opts.hyperMediaEndpoint);
|
|
17919
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
17873
|
+
return _context18.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17920
17874
|
path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
|
|
17921
17875
|
}), {
|
|
17922
17876
|
method: 'get'
|
|
@@ -17955,7 +17909,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
17955
17909
|
businessId: businessId,
|
|
17956
17910
|
transactionId: transactionId
|
|
17957
17911
|
}, opts.hyperMediaEndpoint);
|
|
17958
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
17912
|
+
return _context19.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17959
17913
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
|
|
17960
17914
|
}), {
|
|
17961
17915
|
method: 'get',
|
|
@@ -17995,7 +17949,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
17995
17949
|
businessId: businessId,
|
|
17996
17950
|
transactionId: transactionId
|
|
17997
17951
|
}, opts.hyperMediaEndpoint);
|
|
17998
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
17952
|
+
return _context20.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
17999
17953
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
|
|
18000
17954
|
}), {
|
|
18001
17955
|
method: 'get',
|
|
@@ -18040,7 +17994,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
|
|
|
18040
17994
|
businessId: businessId,
|
|
18041
17995
|
practiceId: practiceId
|
|
18042
17996
|
}, opts.hyperMediaEndpoint);
|
|
18043
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
17997
|
+
return _context21.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18044
17998
|
path: pathBusinessPracticeTransactions(businessId, practiceId)
|
|
18045
17999
|
}), {
|
|
18046
18000
|
method: 'get',
|
|
@@ -18087,7 +18041,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
|
|
|
18087
18041
|
practiceId: practiceId,
|
|
18088
18042
|
staffId: staffId
|
|
18089
18043
|
}, opts.hyperMediaEndpoint);
|
|
18090
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
18044
|
+
return _context22.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18091
18045
|
path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
|
|
18092
18046
|
}), {
|
|
18093
18047
|
method: 'get',
|
|
@@ -18130,7 +18084,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
|
|
|
18130
18084
|
doesParamExist.default({
|
|
18131
18085
|
healthFundId: healthFundId
|
|
18132
18086
|
}, opts.hyperMediaEndpoint);
|
|
18133
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
18087
|
+
return _context23.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18134
18088
|
path: pathTransactionsForHealthFund(healthFundId)
|
|
18135
18089
|
}), {
|
|
18136
18090
|
method: 'get',
|
|
@@ -18170,7 +18124,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
|
|
|
18170
18124
|
healthFundId: healthFundId,
|
|
18171
18125
|
transactionId: transactionId
|
|
18172
18126
|
}, opts.hyperMediaEndpoint);
|
|
18173
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
18127
|
+
return _context24.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18174
18128
|
path: pathHealthFundTransaction(healthFundId, transactionId)
|
|
18175
18129
|
}), {
|
|
18176
18130
|
method: 'get'
|
|
@@ -18212,7 +18166,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
|
|
|
18212
18166
|
doesParamExist.default({
|
|
18213
18167
|
memberId: memberId
|
|
18214
18168
|
}, opts.hyperMediaEndpoint);
|
|
18215
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
18169
|
+
return _context25.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18216
18170
|
path: pathTransactionsByMember(memberId)
|
|
18217
18171
|
}), {
|
|
18218
18172
|
method: 'get',
|
|
@@ -18256,7 +18210,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
|
|
|
18256
18210
|
doesParamExist.default({
|
|
18257
18211
|
healthFundId: healthFundId
|
|
18258
18212
|
}, opts.hyperMediaEndpoint);
|
|
18259
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
18213
|
+
return _context26.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18260
18214
|
path: pathHealthFundMemberTransactions(healthFundId, memberId)
|
|
18261
18215
|
}), {
|
|
18262
18216
|
method: 'get',
|
|
@@ -18294,7 +18248,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
|
|
|
18294
18248
|
doesParamExist.default({
|
|
18295
18249
|
transactionId: transactionId
|
|
18296
18250
|
}, opts.hyperMediaEndpoint);
|
|
18297
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
18251
|
+
return _context27.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18298
18252
|
path: pathTransactionByTransactionId(transactionId)
|
|
18299
18253
|
}), {
|
|
18300
18254
|
method: 'get',
|
|
@@ -18333,7 +18287,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
|
|
|
18333
18287
|
doesParamExist.default({
|
|
18334
18288
|
transactionId: transactionId
|
|
18335
18289
|
}, opts.hyperMediaEndpoint);
|
|
18336
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
18290
|
+
return _context28.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18337
18291
|
path: pathTransactionByTransactionId(transactionId) + "/pdf"
|
|
18338
18292
|
}), {
|
|
18339
18293
|
method: 'post',
|
|
@@ -18375,7 +18329,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
|
|
|
18375
18329
|
claimId: claimId,
|
|
18376
18330
|
transactionId: transactionId
|
|
18377
18331
|
}, opts.hyperMediaEndpoint);
|
|
18378
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
18332
|
+
return _context29.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18379
18333
|
path: pathTransactionClaimPdf(transactionId, claimId)
|
|
18380
18334
|
}), {
|
|
18381
18335
|
method: 'post',
|
|
@@ -18414,7 +18368,7 @@ var getTransactionClaimPdfV2 = /*#__PURE__*/function () {
|
|
|
18414
18368
|
opts = {};
|
|
18415
18369
|
}
|
|
18416
18370
|
|
|
18417
|
-
return _context30.abrupt("return", request(_objectSpread$
|
|
18371
|
+
return _context30.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18418
18372
|
path: pathTransactionClaimPdfV2
|
|
18419
18373
|
}), {
|
|
18420
18374
|
method: 'post',
|
|
@@ -18454,7 +18408,7 @@ var replyToQuote = /*#__PURE__*/function () {
|
|
|
18454
18408
|
doesParamExist.default({
|
|
18455
18409
|
transactionId: transactionId
|
|
18456
18410
|
}, opts.hyperMediaEndpoint);
|
|
18457
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
18411
|
+
return _context31.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18458
18412
|
path: pathReplyQuote(transactionId)
|
|
18459
18413
|
}), {
|
|
18460
18414
|
method: 'post',
|
|
@@ -18493,7 +18447,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
18493
18447
|
doesParamExist.default({
|
|
18494
18448
|
transactionId: transactionId
|
|
18495
18449
|
}, opts.hyperMediaEndpoint);
|
|
18496
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
18450
|
+
return _context32.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18497
18451
|
path: pathTransactionSendReceipt(transactionId)
|
|
18498
18452
|
}), {
|
|
18499
18453
|
method: 'post',
|
|
@@ -18532,7 +18486,7 @@ var submitInvoice = /*#__PURE__*/function () {
|
|
|
18532
18486
|
doesParamExist.default({
|
|
18533
18487
|
transactionId: transactionId
|
|
18534
18488
|
}, opts.hyperMediaEndpoint);
|
|
18535
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
18489
|
+
return _context33.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18536
18490
|
path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
|
|
18537
18491
|
}), {
|
|
18538
18492
|
method: 'post',
|
|
@@ -18571,7 +18525,7 @@ var updateTransaction = /*#__PURE__*/function () {
|
|
|
18571
18525
|
doesParamExist.default({
|
|
18572
18526
|
transactionId: transactionId
|
|
18573
18527
|
}, opts.hyperMediaEndpoint);
|
|
18574
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
18528
|
+
return _context34.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18575
18529
|
path: pathTransactionByTransactionId(transactionId)
|
|
18576
18530
|
}), {
|
|
18577
18531
|
method: 'put',
|
|
@@ -18609,7 +18563,7 @@ var validateTransaction = /*#__PURE__*/function () {
|
|
|
18609
18563
|
doesParamExist.default({
|
|
18610
18564
|
transactionId: transactionId
|
|
18611
18565
|
}, opts.hyperMediaEndpoint);
|
|
18612
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
18566
|
+
return _context35.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18613
18567
|
path: pathValidateTransaction(transactionId)
|
|
18614
18568
|
}), {
|
|
18615
18569
|
method: 'post'
|
|
@@ -18647,7 +18601,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
|
|
|
18647
18601
|
doesParamExist.default({
|
|
18648
18602
|
transactionId: transactionId
|
|
18649
18603
|
}, opts.hyperMediaEndpoint);
|
|
18650
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
18604
|
+
return _context36.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18651
18605
|
path: pathTransactionSubmitBridgeClaim(transactionId)
|
|
18652
18606
|
}), {
|
|
18653
18607
|
method: 'post',
|
|
@@ -18686,7 +18640,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
|
|
|
18686
18640
|
doesParamExist.default({
|
|
18687
18641
|
transactionId: transactionId
|
|
18688
18642
|
}, opts.hyperMediaEndpoint);
|
|
18689
|
-
return _context37.abrupt("return", request(_objectSpread$
|
|
18643
|
+
return _context37.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18690
18644
|
path: pathTransactionSubmitBridgePayment(transactionId)
|
|
18691
18645
|
}), {
|
|
18692
18646
|
method: 'post',
|
|
@@ -18725,7 +18679,7 @@ var triggerBridge = /*#__PURE__*/function () {
|
|
|
18725
18679
|
doesParamExist.default({
|
|
18726
18680
|
transactionId: transactionId
|
|
18727
18681
|
}, opts.hyperMediaEndpoint);
|
|
18728
|
-
return _context38.abrupt("return", request(_objectSpread$
|
|
18682
|
+
return _context38.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18729
18683
|
path: pathTransactionTriggerBridge(transactionId)
|
|
18730
18684
|
}), {
|
|
18731
18685
|
method: 'post',
|
|
@@ -18764,7 +18718,7 @@ var createInvoice = /*#__PURE__*/function () {
|
|
|
18764
18718
|
doesParamExist.default({
|
|
18765
18719
|
businessId: businessId
|
|
18766
18720
|
}, opts.hyperMediaEndpoint);
|
|
18767
|
-
return _context39.abrupt("return", request(_objectSpread$
|
|
18721
|
+
return _context39.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18768
18722
|
path: pathCreateInvoice(businessId)
|
|
18769
18723
|
}), {
|
|
18770
18724
|
method: 'post',
|
|
@@ -18803,7 +18757,7 @@ var createSendClaim = /*#__PURE__*/function () {
|
|
|
18803
18757
|
doesParamExist.default({
|
|
18804
18758
|
transactionId: transactionId
|
|
18805
18759
|
}, opts.hyperMediaEndpoint);
|
|
18806
|
-
return _context40.abrupt("return", request(_objectSpread$
|
|
18760
|
+
return _context40.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18807
18761
|
path: pathCreateSendClaim(transactionId)
|
|
18808
18762
|
}), {
|
|
18809
18763
|
method: 'post',
|
|
@@ -18844,7 +18798,7 @@ var updateClaim = /*#__PURE__*/function () {
|
|
|
18844
18798
|
claimId: claimId,
|
|
18845
18799
|
transactionId: transactionId
|
|
18846
18800
|
}, opts.hyperMediaEndpoint);
|
|
18847
|
-
return _context41.abrupt("return", request(_objectSpread$
|
|
18801
|
+
return _context41.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18848
18802
|
path: pathClaim(transactionId, claimId)
|
|
18849
18803
|
}), {
|
|
18850
18804
|
method: 'put',
|
|
@@ -18882,7 +18836,7 @@ var completeTransaction = /*#__PURE__*/function () {
|
|
|
18882
18836
|
doesParamExist.default({
|
|
18883
18837
|
transactionId: transactionId
|
|
18884
18838
|
}, opts.hyperMediaEndpoint);
|
|
18885
|
-
return _context42.abrupt("return", request(_objectSpread$
|
|
18839
|
+
return _context42.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18886
18840
|
path: pathCompleteTransaction(transactionId)
|
|
18887
18841
|
}), {
|
|
18888
18842
|
method: 'post'
|
|
@@ -18921,7 +18875,7 @@ var approveClaim = /*#__PURE__*/function () {
|
|
|
18921
18875
|
doesParamExist.default({
|
|
18922
18876
|
transactionId: transactionId
|
|
18923
18877
|
}, opts.hyperMediaEndpoint);
|
|
18924
|
-
return _context43.abrupt("return", request(_objectSpread$
|
|
18878
|
+
return _context43.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18925
18879
|
path: pathApproveClaim(transactionId, claimId)
|
|
18926
18880
|
}), {
|
|
18927
18881
|
method: 'post',
|
|
@@ -18961,7 +18915,7 @@ var cancelClaim = /*#__PURE__*/function () {
|
|
|
18961
18915
|
claimId: claimId,
|
|
18962
18916
|
transactionId: transactionId
|
|
18963
18917
|
}, opts.hyperMediaEndpoint);
|
|
18964
|
-
return _context44.abrupt("return", request(_objectSpread$
|
|
18918
|
+
return _context44.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
18965
18919
|
path: pathCancelClaim(transactionId, claimId)
|
|
18966
18920
|
}), {
|
|
18967
18921
|
method: 'post',
|
|
@@ -19001,7 +18955,7 @@ var submitClaim = /*#__PURE__*/function () {
|
|
|
19001
18955
|
doesParamExist.default({
|
|
19002
18956
|
transactionId: transactionId
|
|
19003
18957
|
}, opts.hyperMediaEndpoint);
|
|
19004
|
-
return _context45.abrupt("return", request(_objectSpread$
|
|
18958
|
+
return _context45.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19005
18959
|
path: pathSubmitClaim(transactionId, claimId)
|
|
19006
18960
|
}), {
|
|
19007
18961
|
method: 'post',
|
|
@@ -19041,7 +18995,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
|
|
|
19041
18995
|
claimId: claimId,
|
|
19042
18996
|
transactionId: transactionId
|
|
19043
18997
|
}, opts.hyperMediaEndpoint);
|
|
19044
|
-
return _context46.abrupt("return", request(_objectSpread$
|
|
18998
|
+
return _context46.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19045
18999
|
path: pathSaveClaim(transactionId, claimId)
|
|
19046
19000
|
}), {
|
|
19047
19001
|
method: 'post'
|
|
@@ -19079,7 +19033,7 @@ var pay = /*#__PURE__*/function () {
|
|
|
19079
19033
|
doesParamExist.default({
|
|
19080
19034
|
transactionId: transactionId
|
|
19081
19035
|
}, opts.hyperMediaEndpoint);
|
|
19082
|
-
return _context47.abrupt("return", request(_objectSpread$
|
|
19036
|
+
return _context47.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19083
19037
|
path: pathTransactionPays(transactionId)
|
|
19084
19038
|
}), {
|
|
19085
19039
|
method: 'post',
|
|
@@ -19118,7 +19072,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
19118
19072
|
doesParamExist.default({
|
|
19119
19073
|
transactionId: transactionId
|
|
19120
19074
|
}, opts.hyperMediaEndpoint);
|
|
19121
|
-
return _context48.abrupt("return", request(_objectSpread$
|
|
19075
|
+
return _context48.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19122
19076
|
path: pathTransactionProcessingRequests(transactionId)
|
|
19123
19077
|
}), {
|
|
19124
19078
|
method: 'post',
|
|
@@ -19157,7 +19111,7 @@ var cancelInvoice = /*#__PURE__*/function () {
|
|
|
19157
19111
|
doesParamExist.default({
|
|
19158
19112
|
transactionId: transactionId
|
|
19159
19113
|
}, opts.hyperMediaEndpoint);
|
|
19160
|
-
return _context49.abrupt("return", request(_objectSpread$
|
|
19114
|
+
return _context49.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19161
19115
|
path: pathTransactionCancel(transactionId)
|
|
19162
19116
|
}), {
|
|
19163
19117
|
method: 'post',
|
|
@@ -19195,7 +19149,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
19195
19149
|
doesParamExist.default({
|
|
19196
19150
|
transactionId: transactionId
|
|
19197
19151
|
}, opts.hyperMediaEndpoint);
|
|
19198
|
-
return _context50.abrupt("return", request(_objectSpread$
|
|
19152
|
+
return _context50.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19199
19153
|
path: pathTransactionPaymentLink(transactionId)
|
|
19200
19154
|
}), {
|
|
19201
19155
|
method: 'get'
|
|
@@ -19235,7 +19189,7 @@ var refundByBusiness = /*#__PURE__*/function () {
|
|
|
19235
19189
|
businessId: businessId,
|
|
19236
19190
|
transactionId: transactionId
|
|
19237
19191
|
}, opts.hyperMediaEndpoint);
|
|
19238
|
-
return _context51.abrupt("return", request(_objectSpread$
|
|
19192
|
+
return _context51.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19239
19193
|
path: pathBusinessTransactionRefund(businessId, transactionId)
|
|
19240
19194
|
}), {
|
|
19241
19195
|
method: 'post',
|
|
@@ -19274,7 +19228,7 @@ var refund = /*#__PURE__*/function () {
|
|
|
19274
19228
|
doesParamExist.default({
|
|
19275
19229
|
transactionId: transactionId
|
|
19276
19230
|
}, opts.hyperMediaEndpoint);
|
|
19277
|
-
return _context52.abrupt("return", request(_objectSpread$
|
|
19231
|
+
return _context52.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19278
19232
|
path: pathTransactionRefund(transactionId)
|
|
19279
19233
|
}), {
|
|
19280
19234
|
method: 'post',
|
|
@@ -19313,7 +19267,7 @@ var saveDraft = /*#__PURE__*/function () {
|
|
|
19313
19267
|
doesParamExist.default({
|
|
19314
19268
|
businessId: businessId
|
|
19315
19269
|
}, opts.hyperMediaEndpoint);
|
|
19316
|
-
return _context53.abrupt("return", request(_objectSpread$
|
|
19270
|
+
return _context53.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19317
19271
|
path: pathCreateDraft(businessId)
|
|
19318
19272
|
}), {
|
|
19319
19273
|
method: 'post',
|
|
@@ -19352,7 +19306,7 @@ var convertDraft = /*#__PURE__*/function () {
|
|
|
19352
19306
|
doesParamExist.default({
|
|
19353
19307
|
transactionId: transactionId
|
|
19354
19308
|
}, opts.hyperMediaEndpoint);
|
|
19355
|
-
return _context54.abrupt("return", request(_objectSpread$
|
|
19309
|
+
return _context54.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19356
19310
|
path: pathConvertDraft(transactionId)
|
|
19357
19311
|
}), {
|
|
19358
19312
|
method: 'post',
|
|
@@ -19390,7 +19344,7 @@ var archive = /*#__PURE__*/function () {
|
|
|
19390
19344
|
doesParamExist.default({
|
|
19391
19345
|
transactionId: transactionId
|
|
19392
19346
|
}, opts.hyperMediaEndpoint);
|
|
19393
|
-
return _context55.abrupt("return", request(_objectSpread$
|
|
19347
|
+
return _context55.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19394
19348
|
path: pathTransactionArchives(transactionId)
|
|
19395
19349
|
}), {
|
|
19396
19350
|
method: 'put'
|
|
@@ -19427,7 +19381,7 @@ var unarchive = /*#__PURE__*/function () {
|
|
|
19427
19381
|
doesParamExist.default({
|
|
19428
19382
|
transactionId: transactionId
|
|
19429
19383
|
}, opts.hyperMediaEndpoint);
|
|
19430
|
-
return _context56.abrupt("return", request(_objectSpread$
|
|
19384
|
+
return _context56.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19431
19385
|
path: pathTransactionUnarchives(transactionId)
|
|
19432
19386
|
}), {
|
|
19433
19387
|
method: 'put'
|
|
@@ -19465,7 +19419,7 @@ var terminalInput = /*#__PURE__*/function () {
|
|
|
19465
19419
|
doesParamExist.default({
|
|
19466
19420
|
transactionId: transactionId
|
|
19467
19421
|
}, opts.hyperMediaEndpoint);
|
|
19468
|
-
return _context57.abrupt("return", request(_objectSpread$
|
|
19422
|
+
return _context57.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19469
19423
|
path: pathTransactionTerminalInput(transactionId)
|
|
19470
19424
|
}), {
|
|
19471
19425
|
method: 'post',
|
|
@@ -19504,7 +19458,7 @@ var terminalCancellation = /*#__PURE__*/function () {
|
|
|
19504
19458
|
doesParamExist.default({
|
|
19505
19459
|
transactionId: transactionId
|
|
19506
19460
|
}, opts.hyperMediaEndpoint);
|
|
19507
|
-
return _context58.abrupt("return", request(_objectSpread$
|
|
19461
|
+
return _context58.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19508
19462
|
path: pathTransactionTerminalCancel(transactionId)
|
|
19509
19463
|
}), {
|
|
19510
19464
|
method: 'post',
|
|
@@ -19544,7 +19498,7 @@ var refundPayment = /*#__PURE__*/function () {
|
|
|
19544
19498
|
doesParamExist.default({
|
|
19545
19499
|
transactionId: transactionId
|
|
19546
19500
|
}, opts.hyperMediaEndpoint);
|
|
19547
|
-
return _context59.abrupt("return", request(_objectSpread$
|
|
19501
|
+
return _context59.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19548
19502
|
path: pathTransactionPaymentRefund(transactionId, paymentId)
|
|
19549
19503
|
}), {
|
|
19550
19504
|
method: 'post',
|
|
@@ -19579,7 +19533,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19579
19533
|
opts = {};
|
|
19580
19534
|
}
|
|
19581
19535
|
|
|
19582
|
-
return _context60.abrupt("return", request(_objectSpread$
|
|
19536
|
+
return _context60.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19583
19537
|
path: pathCreateEclipseInPatientInvoice()
|
|
19584
19538
|
}), {
|
|
19585
19539
|
method: 'post',
|
|
@@ -19614,7 +19568,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19614
19568
|
opts = {};
|
|
19615
19569
|
}
|
|
19616
19570
|
|
|
19617
|
-
return _context61.abrupt("return", request(_objectSpread$
|
|
19571
|
+
return _context61.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19618
19572
|
path: pathCreateEclipseOverseasInvoice()
|
|
19619
19573
|
}), {
|
|
19620
19574
|
method: 'post',
|
|
@@ -19649,7 +19603,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
|
|
|
19649
19603
|
opts = {};
|
|
19650
19604
|
}
|
|
19651
19605
|
|
|
19652
|
-
return _context62.abrupt("return", request(_objectSpread$
|
|
19606
|
+
return _context62.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19653
19607
|
path: pathCreateEclipseOnlineEligibilityCheckInvoice()
|
|
19654
19608
|
}), {
|
|
19655
19609
|
method: 'post',
|
|
@@ -19689,7 +19643,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
19689
19643
|
businessId: businessId,
|
|
19690
19644
|
transactionId: transactionId
|
|
19691
19645
|
}, opts.hyperMediaEndpoint);
|
|
19692
|
-
return _context63.abrupt("return", request(_objectSpread$
|
|
19646
|
+
return _context63.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19693
19647
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
|
|
19694
19648
|
}), {
|
|
19695
19649
|
method: 'get',
|
|
@@ -19729,7 +19683,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
19729
19683
|
businessId: businessId,
|
|
19730
19684
|
transactionId: transactionId
|
|
19731
19685
|
}, opts.hyperMediaEndpoint);
|
|
19732
|
-
return _context64.abrupt("return", request(_objectSpread$
|
|
19686
|
+
return _context64.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19733
19687
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
|
|
19734
19688
|
}), {
|
|
19735
19689
|
method: 'get',
|
|
@@ -19768,7 +19722,7 @@ var reconcileClaim = /*#__PURE__*/function () {
|
|
|
19768
19722
|
doesParamExist.default({
|
|
19769
19723
|
transactionId: transactionId
|
|
19770
19724
|
}, opts.hyperMediaEndpoint);
|
|
19771
|
-
return _context65.abrupt("return", request(_objectSpread$
|
|
19725
|
+
return _context65.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19772
19726
|
path: pathReconcileClaim(transactionId, claimId)
|
|
19773
19727
|
}), {
|
|
19774
19728
|
method: 'post'
|
|
@@ -19802,7 +19756,7 @@ var saveDraftEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19802
19756
|
opts = {};
|
|
19803
19757
|
}
|
|
19804
19758
|
|
|
19805
|
-
return _context66.abrupt("return", request(_objectSpread$
|
|
19759
|
+
return _context66.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19806
19760
|
path: pathSaveDraftEclipseInPatientInvoice()
|
|
19807
19761
|
}), {
|
|
19808
19762
|
method: 'post',
|
|
@@ -19837,7 +19791,7 @@ var saveDraftEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19837
19791
|
opts = {};
|
|
19838
19792
|
}
|
|
19839
19793
|
|
|
19840
|
-
return _context67.abrupt("return", request(_objectSpread$
|
|
19794
|
+
return _context67.abrupt("return", request(_objectSpread$15({}, opts, {
|
|
19841
19795
|
path: pathSaveDraftEclipseOverseasInvoice()
|
|
19842
19796
|
}), {
|
|
19843
19797
|
method: 'post',
|
|
@@ -19928,9 +19882,9 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
19928
19882
|
saveDraftEclipseOverseasInvoice: saveDraftEclipseOverseasInvoice
|
|
19929
19883
|
});
|
|
19930
19884
|
|
|
19931
|
-
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; }
|
|
19932
19886
|
|
|
19933
|
-
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; }
|
|
19934
19888
|
|
|
19935
19889
|
var pathTrigger = function pathTrigger(triggerId) {
|
|
19936
19890
|
return "/triggers/" + triggerId;
|
|
@@ -19957,7 +19911,7 @@ var getTrigger = /*#__PURE__*/function () {
|
|
|
19957
19911
|
doesParamExist.default({
|
|
19958
19912
|
triggerId: triggerId
|
|
19959
19913
|
}, opts.hyperMediaEndpoint);
|
|
19960
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19914
|
+
return _context.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19961
19915
|
path: pathTrigger(triggerId)
|
|
19962
19916
|
}), {
|
|
19963
19917
|
method: 'get'
|
|
@@ -19995,7 +19949,7 @@ var getTriggers = /*#__PURE__*/function () {
|
|
|
19995
19949
|
opts = {};
|
|
19996
19950
|
}
|
|
19997
19951
|
|
|
19998
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
19952
|
+
return _context2.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19999
19953
|
path: PATH__TRIGGERS
|
|
20000
19954
|
}), {
|
|
20001
19955
|
method: 'get',
|
|
@@ -20034,7 +19988,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
|
|
|
20034
19988
|
opts = {};
|
|
20035
19989
|
}
|
|
20036
19990
|
|
|
20037
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
19991
|
+
return _context3.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
20038
19992
|
path: PATH__TRIGGER_CATEGORIES
|
|
20039
19993
|
}), {
|
|
20040
19994
|
method: 'get',
|
|
@@ -20061,9 +20015,9 @@ var triggers = /*#__PURE__*/Object.freeze({
|
|
|
20061
20015
|
getTriggerCategories: getTriggerCategories
|
|
20062
20016
|
});
|
|
20063
20017
|
|
|
20064
|
-
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; }
|
|
20065
20019
|
|
|
20066
|
-
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; }
|
|
20067
20021
|
var pathHealthFundVendors = function pathHealthFundVendors(healthFundId) {
|
|
20068
20022
|
return "/healthfunds/" + healthFundId + "/vendors";
|
|
20069
20023
|
};
|
|
@@ -20079,7 +20033,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
|
|
|
20079
20033
|
healthFundId: healthFundId,
|
|
20080
20034
|
vendorId: vendorId
|
|
20081
20035
|
}, opts.hyperMediaEndpoint);
|
|
20082
|
-
return request(_objectSpread$
|
|
20036
|
+
return request(_objectSpread$17({}, opts, {
|
|
20083
20037
|
path: pathHealthFundVendor(healthFundId, vendorId)
|
|
20084
20038
|
}), {
|
|
20085
20039
|
method: 'get',
|
|
@@ -20094,7 +20048,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
|
|
|
20094
20048
|
doesParamExist.default({
|
|
20095
20049
|
healthFundId: healthFundId
|
|
20096
20050
|
}, opts.hyperMediaEndpoint);
|
|
20097
|
-
return request(_objectSpread$
|
|
20051
|
+
return request(_objectSpread$17({}, opts, {
|
|
20098
20052
|
path: pathHealthFundVendors(healthFundId)
|
|
20099
20053
|
}), {
|
|
20100
20054
|
method: 'get',
|
|
@@ -20110,9 +20064,9 @@ var vendors = /*#__PURE__*/Object.freeze({
|
|
|
20110
20064
|
getHealthFundVendors: getHealthFundVendors
|
|
20111
20065
|
});
|
|
20112
20066
|
|
|
20113
|
-
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; }
|
|
20114
20068
|
|
|
20115
|
-
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; }
|
|
20116
20070
|
var PATH__MEDICARE_VERIFY = '/medicare/verify';
|
|
20117
20071
|
/**
|
|
20118
20072
|
* Verify medicare details
|
|
@@ -20130,7 +20084,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
|
|
|
20130
20084
|
opts = {};
|
|
20131
20085
|
}
|
|
20132
20086
|
|
|
20133
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
20087
|
+
return _context.abrupt("return", request(_objectSpread$18({}, opts, {
|
|
20134
20088
|
path: PATH__MEDICARE_VERIFY
|
|
20135
20089
|
}), {
|
|
20136
20090
|
method: 'POST',
|
|
@@ -20156,9 +20110,9 @@ var verify = /*#__PURE__*/Object.freeze({
|
|
|
20156
20110
|
verifyMedicare: verifyMedicare$1
|
|
20157
20111
|
});
|
|
20158
20112
|
|
|
20159
|
-
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; }
|
|
20160
20114
|
|
|
20161
|
-
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; }
|
|
20162
20116
|
var pathSendWorkerMessage = function pathSendWorkerMessage() {
|
|
20163
20117
|
return "/workers/messages";
|
|
20164
20118
|
};
|
|
@@ -20167,7 +20121,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
|
|
|
20167
20121
|
opts = {};
|
|
20168
20122
|
}
|
|
20169
20123
|
|
|
20170
|
-
return request(_objectSpread$
|
|
20124
|
+
return request(_objectSpread$19({}, opts, {
|
|
20171
20125
|
path: pathSendWorkerMessage()
|
|
20172
20126
|
}), {
|
|
20173
20127
|
method: 'post',
|
|
@@ -20181,9 +20135,9 @@ var workers = /*#__PURE__*/Object.freeze({
|
|
|
20181
20135
|
sendWorkerMessage: sendWorkerMessage
|
|
20182
20136
|
});
|
|
20183
20137
|
|
|
20184
|
-
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; }
|
|
20185
20139
|
|
|
20186
|
-
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; }
|
|
20187
20141
|
var pathHealthFundWorkflowExceptions = function pathHealthFundWorkflowExceptions(healthFundId) {
|
|
20188
20142
|
return "/healthfunds/" + healthFundId + "/workflowexceptions";
|
|
20189
20143
|
};
|
|
@@ -20195,7 +20149,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
|
|
|
20195
20149
|
doesParamExist.default({
|
|
20196
20150
|
healthFundId: healthFundId
|
|
20197
20151
|
}, opts.hyperMediaEndpoint);
|
|
20198
|
-
return request(_objectSpread$
|
|
20152
|
+
return request(_objectSpread$1a({}, opts, {
|
|
20199
20153
|
path: pathHealthFundWorkflowExceptions(healthFundId)
|
|
20200
20154
|
}), {
|
|
20201
20155
|
method: 'get',
|
|
@@ -20917,9 +20871,9 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
20917
20871
|
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
20918
20872
|
});
|
|
20919
20873
|
|
|
20920
|
-
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; }
|
|
20921
20875
|
|
|
20922
|
-
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; }
|
|
20923
20877
|
/**
|
|
20924
20878
|
* Get current app version
|
|
20925
20879
|
*/
|
|
@@ -21061,7 +21015,7 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
21061
21015
|
break;
|
|
21062
21016
|
}
|
|
21063
21017
|
|
|
21064
|
-
return _context3.abrupt("return", _objectSpread$
|
|
21018
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
21065
21019
|
requiresUpdate: true,
|
|
21066
21020
|
isForced: true
|
|
21067
21021
|
}));
|
|
@@ -21072,12 +21026,12 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
21072
21026
|
break;
|
|
21073
21027
|
}
|
|
21074
21028
|
|
|
21075
|
-
return _context3.abrupt("return", _objectSpread$
|
|
21029
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
21076
21030
|
requiresUpdate: true
|
|
21077
21031
|
}));
|
|
21078
21032
|
|
|
21079
21033
|
case 14:
|
|
21080
|
-
return _context3.abrupt("return", _objectSpread$
|
|
21034
|
+
return _context3.abrupt("return", _objectSpread$1b({}, versions, {
|
|
21081
21035
|
requiresUpdate: false
|
|
21082
21036
|
}));
|
|
21083
21037
|
|
|
@@ -21179,9 +21133,9 @@ var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
|
21179
21133
|
getSelfApplicationCached: getSelfApplicationCached
|
|
21180
21134
|
});
|
|
21181
21135
|
|
|
21182
|
-
function ownKeys$
|
|
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; }
|
|
21183
21137
|
|
|
21184
|
-
function _objectSpread$
|
|
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; }
|
|
21185
21139
|
|
|
21186
21140
|
function parseProfessions(_x, _x2) {
|
|
21187
21141
|
return _parseProfessions.apply(this, arguments);
|
|
@@ -21228,19 +21182,19 @@ function _parseProfessions() {
|
|
|
21228
21182
|
professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
|
|
21229
21183
|
var _objectSpread2;
|
|
21230
21184
|
|
|
21231
|
-
return _objectSpread$
|
|
21185
|
+
return _objectSpread$1c({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
21232
21186
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
21233
21187
|
{});
|
|
21234
21188
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
21235
21189
|
var _objectSpread3;
|
|
21236
21190
|
|
|
21237
|
-
return _objectSpread$
|
|
21191
|
+
return _objectSpread$1c({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
21238
21192
|
}, // @ts-expect-error TS(2345): Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
21239
21193
|
{});
|
|
21240
21194
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
21241
21195
|
var _objectSpread4;
|
|
21242
21196
|
|
|
21243
|
-
return _objectSpread$
|
|
21197
|
+
return _objectSpread$1c({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
|
|
21244
21198
|
}, {});
|
|
21245
21199
|
newProfessions = professions.map(function (registration) {
|
|
21246
21200
|
var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
|
|
@@ -21271,9 +21225,9 @@ var professionsUtils = /*#__PURE__*/Object.freeze({
|
|
|
21271
21225
|
parseProfessions: parseProfessions
|
|
21272
21226
|
});
|
|
21273
21227
|
|
|
21274
|
-
function ownKeys$
|
|
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; }
|
|
21275
21229
|
|
|
21276
|
-
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; }
|
|
21277
21231
|
var APP_ID = 'web-application';
|
|
21278
21232
|
var API_VER = '0.82.0';
|
|
21279
21233
|
var API_VERSIONS = {
|
|
@@ -21306,7 +21260,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
21306
21260
|
return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
|
|
21307
21261
|
var _objectSpread2;
|
|
21308
21262
|
|
|
21309
|
-
return _objectSpread$
|
|
21263
|
+
return _objectSpread$1d({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
|
|
21310
21264
|
}, {});
|
|
21311
21265
|
};
|
|
21312
21266
|
|
|
@@ -21353,7 +21307,6 @@ var sdkClient = {
|
|
|
21353
21307
|
docAccounts: docAccounts,
|
|
21354
21308
|
documents: documents,
|
|
21355
21309
|
emails: emails,
|
|
21356
|
-
filterOptions: filterOptions,
|
|
21357
21310
|
formApplicationTemplates: formApplicationTemplates,
|
|
21358
21311
|
formApplications: formApplications,
|
|
21359
21312
|
forms: forms,
|
|
@@ -21442,7 +21395,7 @@ var sdkClient = {
|
|
|
21442
21395
|
this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
|
|
21443
21396
|
}
|
|
21444
21397
|
|
|
21445
|
-
this.setConfig(_objectSpread$
|
|
21398
|
+
this.setConfig(_objectSpread$1d({}, opts, {
|
|
21446
21399
|
env: env
|
|
21447
21400
|
}));
|
|
21448
21401
|
this.hasInit = true; // Setup request/response interceptors
|
|
@@ -21676,9 +21629,9 @@ var sdkClient = {
|
|
|
21676
21629
|
}
|
|
21677
21630
|
};
|
|
21678
21631
|
|
|
21679
|
-
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; }
|
|
21680
21633
|
|
|
21681
|
-
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; }
|
|
21682
21635
|
function parseProviderSet(_x, _x2) {
|
|
21683
21636
|
return _parseProviderSet.apply(this, arguments);
|
|
21684
21637
|
}
|
|
@@ -21791,20 +21744,20 @@ function _parseProviderSet() {
|
|
|
21791
21744
|
fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
|
|
21792
21745
|
var _objectSpread2;
|
|
21793
21746
|
|
|
21794
|
-
return _objectSpread$
|
|
21747
|
+
return _objectSpread$1e({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
|
|
21795
21748
|
}, {});
|
|
21796
21749
|
practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
|
|
21797
21750
|
var _objectSpread3;
|
|
21798
21751
|
|
|
21799
|
-
return _objectSpread$
|
|
21752
|
+
return _objectSpread$1e({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
|
|
21800
21753
|
}, {});
|
|
21801
21754
|
providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
|
|
21802
21755
|
var _objectSpread4;
|
|
21803
21756
|
|
|
21804
|
-
return _objectSpread$
|
|
21757
|
+
return _objectSpread$1e({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
|
|
21805
21758
|
}, {});
|
|
21806
21759
|
newProviderSet = providerSet.map(function (providerData, i) {
|
|
21807
|
-
return _objectSpread$
|
|
21760
|
+
return _objectSpread$1e({}, providerData, {}, providerRegistrations[i], {
|
|
21808
21761
|
practice: practicesMap[providerData.practiceId],
|
|
21809
21762
|
funder: fundersMap[providerData.funderId]
|
|
21810
21763
|
}, parseProviderNumberType && {
|
|
@@ -21856,12 +21809,6 @@ function _parseProviderRegistrations() {
|
|
|
21856
21809
|
return _parseProviderRegistrations.apply(this, arguments);
|
|
21857
21810
|
}
|
|
21858
21811
|
|
|
21859
|
-
Object.defineProperty(exports, 'FilterGroup', {
|
|
21860
|
-
enumerable: true,
|
|
21861
|
-
get: function () {
|
|
21862
|
-
return filterOption.FilterGroup;
|
|
21863
|
-
}
|
|
21864
|
-
});
|
|
21865
21812
|
exports.regions = regions.regions;
|
|
21866
21813
|
exports.API_VER = API_VER;
|
|
21867
21814
|
exports.API_VERSIONS = API_VERSIONS;
|
|
@@ -22043,7 +21990,6 @@ exports.enableAccount = enableAccount;
|
|
|
22043
21990
|
exports.enableBusiness = enableBusiness;
|
|
22044
21991
|
exports.fetchLatestAppVersion = fetchLatestAppVersion;
|
|
22045
21992
|
exports.fetchMinimumAppVerson = fetchMinimumAppVerson;
|
|
22046
|
-
exports.filterOptions = filterOptions;
|
|
22047
21993
|
exports.formApplicationTemplates = formApplicationTemplates;
|
|
22048
21994
|
exports.formApplications = formApplications;
|
|
22049
21995
|
exports.forms = forms;
|
|
@@ -22084,7 +22030,6 @@ exports.getBusinessDocument = getBusinessDocument;
|
|
|
22084
22030
|
exports.getBusinessDocuments = getBusinessDocuments;
|
|
22085
22031
|
exports.getBusinessEclipseTransactionPaymentReport = getBusinessEclipseTransactionPaymentReport;
|
|
22086
22032
|
exports.getBusinessEclipseTransactionProcessingReport = getBusinessEclipseTransactionProcessingReport;
|
|
22087
|
-
exports.getBusinessFilterOptions = getBusinessFilterOptions;
|
|
22088
22033
|
exports.getBusinessForm = getBusinessForm;
|
|
22089
22034
|
exports.getBusinessFormApplication = getBusinessFormApplication;
|
|
22090
22035
|
exports.getBusinessFormApplicationTemplate = getBusinessFormApplicationTemplate;
|
|
@@ -22375,7 +22320,6 @@ exports.pathBusinessesRNAs = pathBusinessesRNAs;
|
|
|
22375
22320
|
exports.pathCancels = pathCancels;
|
|
22376
22321
|
exports.pathClientTokenByPracticeId = pathClientTokenByPracticeId;
|
|
22377
22322
|
exports.pathCreateHealthFundTransactionExport = pathCreateHealthFundTransactionExport;
|
|
22378
|
-
exports.pathFilterOptions = pathFilterOptions;
|
|
22379
22323
|
exports.pathFunder = pathFunder;
|
|
22380
22324
|
exports.pathFunderSettings = pathFunderSettings;
|
|
22381
22325
|
exports.pathFunderSettingsById = pathFunderSettingsById;
|