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