@medipass/web-sdk 11.32.0 → 11.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/lib/index.js +1 -1
- package/lib/index.js.flow +2 -0
- package/lib/resources/accounts.js +1 -1
- package/lib/resources/actions.js +1 -1
- package/lib/resources/api-keys.js +1 -1
- package/lib/resources/applications.js +1 -1
- package/lib/resources/attachments.js +1 -1
- package/lib/resources/auth.js +1 -1
- package/lib/resources/bulk-uploads.js +1 -1
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.js +1 -1
- package/lib/resources/claim-items.js +1 -1
- package/lib/resources/devices.js +1 -1
- package/lib/resources/doc-accounts.js +1 -1
- package/lib/resources/documents.js +1 -1
- package/lib/resources/emails.js +1 -1
- package/lib/resources/form-application-templates.js +1 -1
- package/lib/resources/form-applications.js +1 -1
- package/lib/resources/forms.js +1 -1
- package/lib/resources/funder-services.js +49 -0
- package/lib/resources/funder-services.js.flow +17 -0
- package/lib/resources/funder-settings.js +1 -1
- package/lib/resources/funders.js +1 -1
- package/lib/resources/futures.js +1 -1
- package/lib/resources/health-fund-accounts.js +1 -1
- package/lib/resources/health-fund-settings.js +1 -1
- package/lib/resources/healthfunds.js +1 -1
- package/lib/resources/icditems.js +1 -1
- package/lib/resources/invoice-scans.js +1 -1
- package/lib/resources/jhcs.js +1 -1
- package/lib/resources/kyc.js +1 -1
- package/lib/resources/logs.js +1 -1
- package/lib/resources/members.js +1 -1
- package/lib/resources/message-mappings.js +1 -1
- package/lib/resources/minions.js +1 -1
- package/lib/resources/modalities.js +1 -1
- package/lib/resources/notes.js +1 -1
- package/lib/resources/onboarding-applications.js +1 -1
- package/lib/resources/onboarding-requests.js +1 -1
- package/lib/resources/ops.js +1 -1
- package/lib/resources/organisations.js +1 -1
- package/lib/resources/partners.js +1 -1
- package/lib/resources/patients.js +1 -1
- package/lib/resources/payments.js +1 -1
- package/lib/resources/pms.js +1 -1
- package/lib/resources/practice-profiles.js +1 -1
- package/lib/resources/practice-types.js +1 -1
- package/lib/resources/practices.js +1 -1
- package/lib/resources/products.js +1 -1
- package/lib/resources/professional-categories.js +1 -1
- package/lib/resources/provider-number-types.js +1 -1
- package/lib/resources/provider-registration-types.js +1 -1
- package/lib/resources/provider-requests.js +1 -1
- package/lib/resources/provider-types.js +1 -1
- package/lib/resources/ref-sources.js +1 -1
- package/lib/resources/risk.js +1 -1
- package/lib/resources/rnas.js +1 -1
- package/lib/resources/roles.js +1 -1
- package/lib/resources/self-checkout-sessions.js +1 -1
- package/lib/resources/services.js +1 -1
- package/lib/resources/settlements.js +1 -1
- package/lib/resources/sign-up.js +1 -1
- package/lib/resources/specialties.js +1 -1
- package/lib/resources/staff-profiles.js +1 -1
- package/lib/resources/staff.js +1 -1
- package/lib/resources/statistics.js +1 -1
- package/lib/resources/subscriptions.js +1 -1
- package/lib/resources/terminals.js +1 -1
- package/lib/resources/transaction-export.js +1 -1
- package/lib/resources/transactions.js +1 -1
- package/lib/resources/triggers.js +1 -1
- package/lib/resources/vendors.js +1 -1
- package/lib/resources/verify.js +1 -1
- package/lib/resources/workers.js +1 -1
- package/lib/resources/workflow-exceptions.js +1 -1
- package/lib/services/aws.js +1 -1
- package/lib/services/version.js +1 -1
- package/lib/{staff-b4d344a8.js → staff-94979e06.js} +535 -498
- package/lib/utils/application.js +1 -1
- package/lib/utils/professions.js +1 -1
- package/lib/utils/request.js +1 -1
- package/lib/utils/staff.js +1 -1
- package/package.json +2 -2
|
@@ -5725,6 +5725,40 @@ var funders = /*#__PURE__*/Object.freeze({
|
|
|
5725
5725
|
function ownKeys$k(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
5726
5726
|
|
|
5727
5727
|
function _objectSpread$k(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$k(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
5728
|
+
var pathVerifyEclipse = function pathVerifyEclipse() {
|
|
5729
|
+
return "/eclipse/opvw";
|
|
5730
|
+
};
|
|
5731
|
+
/**
|
|
5732
|
+
* Verifies Eclipse patient
|
|
5733
|
+
* @param {Object} body - Request body
|
|
5734
|
+
* @param {Object} opts - Additional options
|
|
5735
|
+
*/
|
|
5736
|
+
|
|
5737
|
+
var verifyEclipse = function verifyEclipse(body, opts) {
|
|
5738
|
+
if (opts === void 0) {
|
|
5739
|
+
opts = {};
|
|
5740
|
+
}
|
|
5741
|
+
|
|
5742
|
+
doesParamExist.default({
|
|
5743
|
+
body: body
|
|
5744
|
+
}, opts.hyperMediaEndpoint);
|
|
5745
|
+
return request(_objectSpread$k({}, opts, {
|
|
5746
|
+
path: pathVerifyEclipse()
|
|
5747
|
+
}), {
|
|
5748
|
+
method: 'post',
|
|
5749
|
+
data: body
|
|
5750
|
+
});
|
|
5751
|
+
};
|
|
5752
|
+
|
|
5753
|
+
var funderServices = /*#__PURE__*/Object.freeze({
|
|
5754
|
+
__proto__: null,
|
|
5755
|
+
pathVerifyEclipse: pathVerifyEclipse,
|
|
5756
|
+
verifyEclipse: verifyEclipse
|
|
5757
|
+
});
|
|
5758
|
+
|
|
5759
|
+
function ownKeys$l(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
5760
|
+
|
|
5761
|
+
function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$l(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
5728
5762
|
var pathFunderSettings = function pathFunderSettings(businessId) {
|
|
5729
5763
|
return "/businesses/" + businessId + "/fundersettings";
|
|
5730
5764
|
};
|
|
@@ -5743,7 +5777,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
|
|
|
5743
5777
|
doesParamExist.default({
|
|
5744
5778
|
businessId: businessId
|
|
5745
5779
|
}, opts.hyperMediaEndpoint);
|
|
5746
|
-
return request(_objectSpread$
|
|
5780
|
+
return request(_objectSpread$l({}, opts, {
|
|
5747
5781
|
path: pathFunderSettings(businessId)
|
|
5748
5782
|
}), {
|
|
5749
5783
|
method: 'get',
|
|
@@ -5759,7 +5793,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
|
|
|
5759
5793
|
businessId: businessId,
|
|
5760
5794
|
funderSettingsId: funderSettingsId
|
|
5761
5795
|
}, opts.hyperMediaEndpoint);
|
|
5762
|
-
return request(_objectSpread$
|
|
5796
|
+
return request(_objectSpread$l({}, opts, {
|
|
5763
5797
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5764
5798
|
}), {
|
|
5765
5799
|
method: 'get'
|
|
@@ -5774,7 +5808,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
|
|
|
5774
5808
|
businessId: businessId,
|
|
5775
5809
|
funderSettingsId: funderSettingsId
|
|
5776
5810
|
}, opts.hyperMediaEndpoint);
|
|
5777
|
-
return request(_objectSpread$
|
|
5811
|
+
return request(_objectSpread$l({}, opts, {
|
|
5778
5812
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5779
5813
|
}), {
|
|
5780
5814
|
method: 'put',
|
|
@@ -5789,7 +5823,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
|
|
|
5789
5823
|
doesParamExist.default({
|
|
5790
5824
|
businessId: businessId
|
|
5791
5825
|
}, opts.hyperMediaEndpoint);
|
|
5792
|
-
return request(_objectSpread$
|
|
5826
|
+
return request(_objectSpread$l({}, opts, {
|
|
5793
5827
|
path: pathFunderSettings(businessId)
|
|
5794
5828
|
}), {
|
|
5795
5829
|
method: 'post',
|
|
@@ -5805,7 +5839,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
|
|
|
5805
5839
|
businessId: businessId,
|
|
5806
5840
|
funderSettingsId: funderSettingsId
|
|
5807
5841
|
}, opts.hyperMediaEndpoint);
|
|
5808
|
-
return request(_objectSpread$
|
|
5842
|
+
return request(_objectSpread$l({}, opts, {
|
|
5809
5843
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5810
5844
|
}), {
|
|
5811
5845
|
method: 'delete'
|
|
@@ -5823,9 +5857,9 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
5823
5857
|
deleteBusinesFunderSettings: deleteBusinesFunderSettings
|
|
5824
5858
|
});
|
|
5825
5859
|
|
|
5826
|
-
function ownKeys$
|
|
5860
|
+
function ownKeys$m(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
5827
5861
|
|
|
5828
|
-
function _objectSpread$
|
|
5862
|
+
function _objectSpread$m(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$m(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$m(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
5829
5863
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
5830
5864
|
return "/businesses/" + businessId + "/futures";
|
|
5831
5865
|
};
|
|
@@ -5871,7 +5905,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
5871
5905
|
doesParamExist.default({
|
|
5872
5906
|
businessId: businessId
|
|
5873
5907
|
}, opts.hyperMediaEndpoint);
|
|
5874
|
-
return request(_objectSpread$
|
|
5908
|
+
return request(_objectSpread$m({}, opts, {
|
|
5875
5909
|
path: pathBusinessHolds(businessId)
|
|
5876
5910
|
}), {
|
|
5877
5911
|
method: 'post',
|
|
@@ -5893,7 +5927,7 @@ var createBusinessInstalmentPlan = function createBusinessInstalmentPlan(busines
|
|
|
5893
5927
|
doesParamExist.default({
|
|
5894
5928
|
businessId: businessId
|
|
5895
5929
|
}, opts.hyperMediaEndpoint);
|
|
5896
|
-
return request(_objectSpread$
|
|
5930
|
+
return request(_objectSpread$m({}, opts, {
|
|
5897
5931
|
path: pathBusinessInstalmentPlans(businessId)
|
|
5898
5932
|
}), {
|
|
5899
5933
|
method: 'post',
|
|
@@ -5914,7 +5948,7 @@ var cancel = function cancel(futureId, opts) {
|
|
|
5914
5948
|
doesParamExist.default({
|
|
5915
5949
|
futureId: futureId
|
|
5916
5950
|
}, opts.hyperMediaEndpoint);
|
|
5917
|
-
return request(_objectSpread$
|
|
5951
|
+
return request(_objectSpread$m({}, opts, {
|
|
5918
5952
|
path: pathCancels(futureId)
|
|
5919
5953
|
}), {
|
|
5920
5954
|
method: 'post'
|
|
@@ -5935,7 +5969,7 @@ var getBusinessFutures = function getBusinessFutures(businessId, query, opts) {
|
|
|
5935
5969
|
doesParamExist.default({
|
|
5936
5970
|
businessId: businessId
|
|
5937
5971
|
}, opts.hyperMediaEndpoint);
|
|
5938
|
-
return request(_objectSpread$
|
|
5972
|
+
return request(_objectSpread$m({}, opts, {
|
|
5939
5973
|
path: pathBusinessFutures(businessId)
|
|
5940
5974
|
}), {
|
|
5941
5975
|
method: 'get',
|
|
@@ -5958,7 +5992,7 @@ var getBusinessFuture = function getBusinessFuture(businessId, futureId, opts) {
|
|
|
5958
5992
|
businessId: businessId,
|
|
5959
5993
|
futureId: futureId
|
|
5960
5994
|
}, opts.hyperMediaEndpoint);
|
|
5961
|
-
return request(_objectSpread$
|
|
5995
|
+
return request(_objectSpread$m({}, opts, {
|
|
5962
5996
|
path: pathBusinessFuture(businessId, futureId)
|
|
5963
5997
|
}), {
|
|
5964
5998
|
method: 'get'
|
|
@@ -5978,7 +6012,7 @@ var getFuture = function getFuture(futureId, opts) {
|
|
|
5978
6012
|
doesParamExist.default({
|
|
5979
6013
|
futureId: futureId
|
|
5980
6014
|
}, opts.hyperMediaEndpoint);
|
|
5981
|
-
return request(_objectSpread$
|
|
6015
|
+
return request(_objectSpread$m({}, opts, {
|
|
5982
6016
|
path: pathFuture(futureId)
|
|
5983
6017
|
}), {
|
|
5984
6018
|
method: 'get'
|
|
@@ -6003,7 +6037,7 @@ var getPaymentLink = /*#__PURE__*/function () {
|
|
|
6003
6037
|
doesParamExist.default({
|
|
6004
6038
|
futureId: futureId
|
|
6005
6039
|
}, opts.hyperMediaEndpoint);
|
|
6006
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6040
|
+
return _context.abrupt("return", request(_objectSpread$m({}, opts, {
|
|
6007
6041
|
path: pathPaymentLink(futureId)
|
|
6008
6042
|
}), {
|
|
6009
6043
|
method: 'get'
|
|
@@ -6036,7 +6070,7 @@ var sendProcessingRequest = function sendProcessingRequest(futureId, body, opts)
|
|
|
6036
6070
|
doesParamExist.default({
|
|
6037
6071
|
futureId: futureId
|
|
6038
6072
|
}, opts.hyperMediaEndpoint);
|
|
6039
|
-
return request(_objectSpread$
|
|
6073
|
+
return request(_objectSpread$m({}, opts, {
|
|
6040
6074
|
path: pathProcessingRequests(futureId)
|
|
6041
6075
|
}), {
|
|
6042
6076
|
method: 'post',
|
|
@@ -6058,7 +6092,7 @@ var submit = function submit(futureId, body, opts) {
|
|
|
6058
6092
|
doesParamExist.default({
|
|
6059
6093
|
futureId: futureId
|
|
6060
6094
|
}, opts.hyperMediaEndpoint);
|
|
6061
|
-
return request(_objectSpread$
|
|
6095
|
+
return request(_objectSpread$m({}, opts, {
|
|
6062
6096
|
path: pathSubmits(futureId)
|
|
6063
6097
|
}), {
|
|
6064
6098
|
method: 'post',
|
|
@@ -6080,7 +6114,7 @@ var update = function update(futureId, body, opts) {
|
|
|
6080
6114
|
doesParamExist.default({
|
|
6081
6115
|
futureId: futureId
|
|
6082
6116
|
}, opts.hyperMediaEndpoint);
|
|
6083
|
-
return request(_objectSpread$
|
|
6117
|
+
return request(_objectSpread$m({}, opts, {
|
|
6084
6118
|
path: pathFuture(futureId)
|
|
6085
6119
|
}), {
|
|
6086
6120
|
method: 'put',
|
|
@@ -6102,7 +6136,7 @@ var sendReceipt = function sendReceipt(futureId, body, opts) {
|
|
|
6102
6136
|
doesParamExist.default({
|
|
6103
6137
|
futureId: futureId
|
|
6104
6138
|
}, opts.hyperMediaEndpoint);
|
|
6105
|
-
return request(_objectSpread$
|
|
6139
|
+
return request(_objectSpread$m({}, opts, {
|
|
6106
6140
|
path: pathSendReceipt(futureId)
|
|
6107
6141
|
}), {
|
|
6108
6142
|
method: 'post',
|
|
@@ -6135,9 +6169,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
6135
6169
|
sendReceipt: sendReceipt
|
|
6136
6170
|
});
|
|
6137
6171
|
|
|
6138
|
-
function ownKeys$
|
|
6172
|
+
function ownKeys$n(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
6139
6173
|
|
|
6140
|
-
function _objectSpread$
|
|
6174
|
+
function _objectSpread$n(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$n(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$n(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
6141
6175
|
|
|
6142
6176
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
6143
6177
|
return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts";
|
|
@@ -6175,7 +6209,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6175
6209
|
doesParamExist.default({
|
|
6176
6210
|
memberId: memberId
|
|
6177
6211
|
}, opts.hyperMediaEndpoint);
|
|
6178
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6212
|
+
return _context.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6179
6213
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
6180
6214
|
}), {
|
|
6181
6215
|
method: 'post',
|
|
@@ -6216,7 +6250,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6216
6250
|
businessId: businessId,
|
|
6217
6251
|
patientId: patientId
|
|
6218
6252
|
}, opts.hyperMediaEndpoint);
|
|
6219
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6253
|
+
return _context2.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6220
6254
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6221
6255
|
}), {
|
|
6222
6256
|
method: 'post',
|
|
@@ -6256,7 +6290,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6256
6290
|
memberId: memberId,
|
|
6257
6291
|
healthFundAccountId: healthFundAccountId
|
|
6258
6292
|
}, opts.hyperMediaEndpoint);
|
|
6259
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6293
|
+
return _context3.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6260
6294
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6261
6295
|
}), {
|
|
6262
6296
|
method: 'delete'
|
|
@@ -6297,7 +6331,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6297
6331
|
patientId: patientId,
|
|
6298
6332
|
healthFundAccountId: healthFundAccountId
|
|
6299
6333
|
}, opts.hyperMediaEndpoint);
|
|
6300
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6334
|
+
return _context4.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6301
6335
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6302
6336
|
}), {
|
|
6303
6337
|
method: 'delete'
|
|
@@ -6335,7 +6369,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6335
6369
|
doesParamExist.default({
|
|
6336
6370
|
memberId: memberId
|
|
6337
6371
|
}, opts.hyperMediaEndpoint);
|
|
6338
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6372
|
+
return _context5.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6339
6373
|
path: pathMemberHealthFundAccounts(memberId)
|
|
6340
6374
|
}), {
|
|
6341
6375
|
method: 'get',
|
|
@@ -6376,7 +6410,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6376
6410
|
businessId: businessId,
|
|
6377
6411
|
patientId: patientId
|
|
6378
6412
|
}, opts.hyperMediaEndpoint);
|
|
6379
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6413
|
+
return _context6.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6380
6414
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6381
6415
|
}), {
|
|
6382
6416
|
method: 'get',
|
|
@@ -6416,7 +6450,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6416
6450
|
memberId: memberId,
|
|
6417
6451
|
healthFundAccountId: healthFundAccountId
|
|
6418
6452
|
}, opts.hyperMediaEndpoint);
|
|
6419
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6453
|
+
return _context7.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6420
6454
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
6421
6455
|
}), {
|
|
6422
6456
|
method: 'get'
|
|
@@ -6457,7 +6491,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6457
6491
|
patientId: patientId,
|
|
6458
6492
|
healthFundAccountId: healthFundAccountId
|
|
6459
6493
|
}, opts.hyperMediaEndpoint);
|
|
6460
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6494
|
+
return _context8.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6461
6495
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6462
6496
|
}), {
|
|
6463
6497
|
method: 'get'
|
|
@@ -6497,7 +6531,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6497
6531
|
memberId: memberId,
|
|
6498
6532
|
healthFundAccountId: healthFundAccountId
|
|
6499
6533
|
}, opts.hyperMediaEndpoint);
|
|
6500
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6534
|
+
return _context9.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6501
6535
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6502
6536
|
}), {
|
|
6503
6537
|
method: 'put',
|
|
@@ -6540,7 +6574,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6540
6574
|
patientId: patientId,
|
|
6541
6575
|
healthFundAccountId: healthFundAccountId
|
|
6542
6576
|
}, opts.hyperMediaEndpoint);
|
|
6543
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6577
|
+
return _context10.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6544
6578
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6545
6579
|
}), {
|
|
6546
6580
|
method: 'put',
|
|
@@ -6574,9 +6608,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
6574
6608
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
6575
6609
|
});
|
|
6576
6610
|
|
|
6577
|
-
function ownKeys$
|
|
6611
|
+
function ownKeys$o(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
6578
6612
|
|
|
6579
|
-
function _objectSpread$
|
|
6613
|
+
function _objectSpread$o(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$o(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$o(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
6580
6614
|
|
|
6581
6615
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
6582
6616
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/healthfundsettings";
|
|
@@ -6612,11 +6646,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6612
6646
|
doesParamExist.default({
|
|
6613
6647
|
healthFundId: healthFundId
|
|
6614
6648
|
}, opts.hyperMediaEndpoint);
|
|
6615
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6649
|
+
return _context.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6616
6650
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
6617
6651
|
}), {
|
|
6618
6652
|
method: 'post',
|
|
6619
|
-
data: _objectSpread$
|
|
6653
|
+
data: _objectSpread$o({
|
|
6620
6654
|
enabled: true
|
|
6621
6655
|
}, body)
|
|
6622
6656
|
}));
|
|
@@ -6653,7 +6687,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6653
6687
|
doesParamExist.default({
|
|
6654
6688
|
healthFundId: healthFundId
|
|
6655
6689
|
}, opts.hyperMediaEndpoint);
|
|
6656
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6690
|
+
return _context2.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6657
6691
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6658
6692
|
}), {
|
|
6659
6693
|
method: 'delete'
|
|
@@ -6697,7 +6731,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
6697
6731
|
doesParamExist.default({
|
|
6698
6732
|
healthFundId: healthFundId
|
|
6699
6733
|
}, opts.hyperMediaEndpoint);
|
|
6700
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6734
|
+
return _context3.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6701
6735
|
path: pathHealthFundSettings(healthFundId)
|
|
6702
6736
|
}), {
|
|
6703
6737
|
method: 'get',
|
|
@@ -6746,7 +6780,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
6746
6780
|
practiceId: practiceId,
|
|
6747
6781
|
staffId: staffId
|
|
6748
6782
|
}, opts.hyperMediaEndpoint);
|
|
6749
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6783
|
+
return _context4.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6750
6784
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
6751
6785
|
}), {
|
|
6752
6786
|
method: 'get',
|
|
@@ -6787,7 +6821,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6787
6821
|
healthFundId: healthFundId,
|
|
6788
6822
|
healthFundSettingId: healthFundSettingId
|
|
6789
6823
|
}, opts.hyperMediaEndpoint);
|
|
6790
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6824
|
+
return _context5.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6791
6825
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6792
6826
|
}), {
|
|
6793
6827
|
method: 'put',
|
|
@@ -6816,9 +6850,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
6816
6850
|
updateHealthFundSetting: updateHealthFundSetting
|
|
6817
6851
|
});
|
|
6818
6852
|
|
|
6819
|
-
function ownKeys$
|
|
6853
|
+
function ownKeys$p(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
6820
6854
|
|
|
6821
|
-
function _objectSpread$
|
|
6855
|
+
function _objectSpread$p(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$p(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$p(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
6822
6856
|
var PATH__HEALTH_FUNDS = '/healthfunds';
|
|
6823
6857
|
|
|
6824
6858
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -6861,7 +6895,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
6861
6895
|
doesParamExist.default({
|
|
6862
6896
|
accountId: accountId
|
|
6863
6897
|
}, opts.hyperMediaEndpoint);
|
|
6864
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6898
|
+
return _context.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6865
6899
|
path: pathHealthFundsByAccountId(accountId)
|
|
6866
6900
|
}), {
|
|
6867
6901
|
method: 'get'
|
|
@@ -6903,7 +6937,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
6903
6937
|
doesParamExist.default({
|
|
6904
6938
|
businessId: businessId
|
|
6905
6939
|
}, opts.hyperMediaEndpoint);
|
|
6906
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6940
|
+
return _context2.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6907
6941
|
path: pathBusinessHealthFunds(businessId)
|
|
6908
6942
|
}), {
|
|
6909
6943
|
method: 'get',
|
|
@@ -6938,7 +6972,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
6938
6972
|
opts = {};
|
|
6939
6973
|
}
|
|
6940
6974
|
|
|
6941
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6975
|
+
return _context3.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6942
6976
|
path: PATH__HEALTH_FUNDS
|
|
6943
6977
|
}), {
|
|
6944
6978
|
method: 'get',
|
|
@@ -6982,7 +7016,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
6982
7016
|
doesParamExist.default({
|
|
6983
7017
|
organisationId: organisationId
|
|
6984
7018
|
}, opts.hyperMediaEndpoint);
|
|
6985
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7019
|
+
return _context4.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6986
7020
|
path: pathOrganisationHealthFunds(organisationId)
|
|
6987
7021
|
}), {
|
|
6988
7022
|
method: 'get',
|
|
@@ -7018,7 +7052,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
7018
7052
|
opts = {};
|
|
7019
7053
|
}
|
|
7020
7054
|
|
|
7021
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7055
|
+
return _context5.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7022
7056
|
path: PATH__HEALTH_FUNDS
|
|
7023
7057
|
}), {
|
|
7024
7058
|
method: 'post',
|
|
@@ -7056,7 +7090,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
7056
7090
|
doesParamExist.default({
|
|
7057
7091
|
healthFundId: healthFundId
|
|
7058
7092
|
}, opts.hyperMediaEndpoint);
|
|
7059
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
7093
|
+
return _context6.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7060
7094
|
path: pathHealthFund(healthFundId)
|
|
7061
7095
|
}), {
|
|
7062
7096
|
method: 'get'
|
|
@@ -7094,7 +7128,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
7094
7128
|
doesParamExist.default({
|
|
7095
7129
|
healthFundId: healthFundId
|
|
7096
7130
|
}, opts.hyperMediaEndpoint);
|
|
7097
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
7131
|
+
return _context7.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7098
7132
|
path: pathHealthFund(healthFundId)
|
|
7099
7133
|
}), {
|
|
7100
7134
|
method: 'put',
|
|
@@ -7132,7 +7166,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
7132
7166
|
doesParamExist.default({
|
|
7133
7167
|
healthFundId: healthFundId
|
|
7134
7168
|
}, opts.hyperMediaEndpoint);
|
|
7135
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
7169
|
+
return _context8.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7136
7170
|
path: pathHealthFund(healthFundId)
|
|
7137
7171
|
}), {
|
|
7138
7172
|
method: 'delete'
|
|
@@ -7225,7 +7259,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
7225
7259
|
healthFundId: healthFundId,
|
|
7226
7260
|
body: body
|
|
7227
7261
|
}, opts.hyperMediaEndpoint);
|
|
7228
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7262
|
+
return _context10.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7229
7263
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
7230
7264
|
}), {
|
|
7231
7265
|
method: 'post',
|
|
@@ -7260,9 +7294,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
7260
7294
|
verifyMember: verifyMember
|
|
7261
7295
|
});
|
|
7262
7296
|
|
|
7263
|
-
function ownKeys$
|
|
7297
|
+
function ownKeys$q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
7264
7298
|
|
|
7265
|
-
function _objectSpread$
|
|
7299
|
+
function _objectSpread$q(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$q(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7266
7300
|
var pathICDItems = '/icditems';
|
|
7267
7301
|
|
|
7268
7302
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -7291,7 +7325,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
7291
7325
|
};
|
|
7292
7326
|
}
|
|
7293
7327
|
|
|
7294
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7328
|
+
return _context.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
7295
7329
|
path: pathICDItems
|
|
7296
7330
|
}), {
|
|
7297
7331
|
method: 'get',
|
|
@@ -7336,7 +7370,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
7336
7370
|
doesParamExist.default({
|
|
7337
7371
|
modalityId: modalityId
|
|
7338
7372
|
}, opts.hyperMediaEndpoint);
|
|
7339
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7373
|
+
return _context2.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
7340
7374
|
path: pathModalityICDItems(modalityId)
|
|
7341
7375
|
}), {
|
|
7342
7376
|
method: 'get',
|
|
@@ -7362,9 +7396,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
7362
7396
|
getModalityICDItems: getModalityICDItems
|
|
7363
7397
|
});
|
|
7364
7398
|
|
|
7365
|
-
function ownKeys$
|
|
7399
|
+
function ownKeys$r(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
7366
7400
|
|
|
7367
|
-
function _objectSpread$
|
|
7401
|
+
function _objectSpread$r(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$r(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$r(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7368
7402
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
7369
7403
|
return "/businesses/" + businessId + "/invoicescans";
|
|
7370
7404
|
};
|
|
@@ -7394,7 +7428,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
7394
7428
|
doesParamExist.default({
|
|
7395
7429
|
businessId: businessId
|
|
7396
7430
|
}, opts.hyperMediaEndpoint);
|
|
7397
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7431
|
+
return _context.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7398
7432
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
7399
7433
|
}), {
|
|
7400
7434
|
method: 'post',
|
|
@@ -7435,7 +7469,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
7435
7469
|
businessId: businessId,
|
|
7436
7470
|
invoiceScanId: invoiceScanId
|
|
7437
7471
|
}, opts.hyperMediaEndpoint);
|
|
7438
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7472
|
+
return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7439
7473
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
7440
7474
|
}), {
|
|
7441
7475
|
method: 'get'
|
|
@@ -7468,7 +7502,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
7468
7502
|
doesParamExist.default({
|
|
7469
7503
|
businessId: businessId
|
|
7470
7504
|
}, opts.hyperMediaEndpoint);
|
|
7471
|
-
return request(_objectSpread$
|
|
7505
|
+
return request(_objectSpread$r({}, opts, {
|
|
7472
7506
|
path: pathUploadUrlByBusinessId(businessId)
|
|
7473
7507
|
}), {
|
|
7474
7508
|
method: 'get',
|
|
@@ -7486,9 +7520,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
7486
7520
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
7487
7521
|
});
|
|
7488
7522
|
|
|
7489
|
-
function ownKeys$
|
|
7523
|
+
function ownKeys$s(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
7490
7524
|
|
|
7491
|
-
function _objectSpread$
|
|
7525
|
+
function _objectSpread$s(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$s(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$s(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7492
7526
|
var PATH__JHCS = "/jointhealthcentres";
|
|
7493
7527
|
var pathJHC = function pathJHC(jhcId) {
|
|
7494
7528
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -7501,7 +7535,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
7501
7535
|
doesParamExist.default({
|
|
7502
7536
|
jhcId: jhcId
|
|
7503
7537
|
}, opts.hyperMediaEndpoint);
|
|
7504
|
-
return request(_objectSpread$
|
|
7538
|
+
return request(_objectSpread$s({}, opts, {
|
|
7505
7539
|
path: pathJHC(jhcId)
|
|
7506
7540
|
}), {
|
|
7507
7541
|
method: 'get'
|
|
@@ -7512,7 +7546,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
7512
7546
|
opts = {};
|
|
7513
7547
|
}
|
|
7514
7548
|
|
|
7515
|
-
return request(_objectSpread$
|
|
7549
|
+
return request(_objectSpread$s({}, opts, {
|
|
7516
7550
|
path: PATH__JHCS
|
|
7517
7551
|
}), {
|
|
7518
7552
|
method: 'get',
|
|
@@ -7528,9 +7562,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
7528
7562
|
getJHCs: getJHCs
|
|
7529
7563
|
});
|
|
7530
7564
|
|
|
7531
|
-
function ownKeys$
|
|
7565
|
+
function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
7532
7566
|
|
|
7533
|
-
function _objectSpread$
|
|
7567
|
+
function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$t(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7534
7568
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
7535
7569
|
return "/businesses/" + businessId + "/kyc";
|
|
7536
7570
|
};
|
|
@@ -7584,7 +7618,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
7584
7618
|
doesParamExist.default({
|
|
7585
7619
|
businessId: businessId
|
|
7586
7620
|
}, opts.hyperMediaEndpoint);
|
|
7587
|
-
return request(_objectSpread$
|
|
7621
|
+
return request(_objectSpread$t({}, opts, {
|
|
7588
7622
|
path: pathBusinessKyc(businessId)
|
|
7589
7623
|
}), {
|
|
7590
7624
|
method: 'get'
|
|
@@ -7606,7 +7640,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
7606
7640
|
businessId: businessId,
|
|
7607
7641
|
practiceId: practiceId
|
|
7608
7642
|
}, opts.hyperMediaEndpoint);
|
|
7609
|
-
return request(_objectSpread$
|
|
7643
|
+
return request(_objectSpread$t({}, opts, {
|
|
7610
7644
|
path: pathPracticeKyc(businessId, practiceId)
|
|
7611
7645
|
}), {
|
|
7612
7646
|
method: 'get'
|
|
@@ -7627,7 +7661,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
7627
7661
|
doesParamExist.default({
|
|
7628
7662
|
businessId: businessId
|
|
7629
7663
|
}, opts.hyperMediaEndpoint);
|
|
7630
|
-
return request(_objectSpread$
|
|
7664
|
+
return request(_objectSpread$t({}, opts, {
|
|
7631
7665
|
path: pathBusinessKyc(businessId)
|
|
7632
7666
|
}), {
|
|
7633
7667
|
method: 'put',
|
|
@@ -7649,7 +7683,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
7649
7683
|
doesParamExist.default({
|
|
7650
7684
|
businessId: businessId
|
|
7651
7685
|
}, opts.hyperMediaEndpoint);
|
|
7652
|
-
return request(_objectSpread$
|
|
7686
|
+
return request(_objectSpread$t({}, opts, {
|
|
7653
7687
|
path: pathBusinessCbo(businessId)
|
|
7654
7688
|
}), {
|
|
7655
7689
|
method: 'get',
|
|
@@ -7670,7 +7704,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
7670
7704
|
doesParamExist.default({
|
|
7671
7705
|
businessId: businessId
|
|
7672
7706
|
}, opts.hyperMediaEndpoint);
|
|
7673
|
-
return request(_objectSpread$
|
|
7707
|
+
return request(_objectSpread$t({}, opts, {
|
|
7674
7708
|
path: pathBusinessKycVerify(businessId)
|
|
7675
7709
|
}), {
|
|
7676
7710
|
method: 'post'
|
|
@@ -7692,7 +7726,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
7692
7726
|
businessId: businessId,
|
|
7693
7727
|
practiceId: practiceId
|
|
7694
7728
|
}, opts.hyperMediaEndpoint);
|
|
7695
|
-
return request(_objectSpread$
|
|
7729
|
+
return request(_objectSpread$t({}, opts, {
|
|
7696
7730
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
7697
7731
|
}), {
|
|
7698
7732
|
method: 'post',
|
|
@@ -7713,7 +7747,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
7713
7747
|
doesParamExist.default({
|
|
7714
7748
|
businessId: businessId
|
|
7715
7749
|
}, opts.hyperMediaEndpoint);
|
|
7716
|
-
return request(_objectSpread$
|
|
7750
|
+
return request(_objectSpread$t({}, opts, {
|
|
7717
7751
|
path: pathBusinessKycUnverify(businessId)
|
|
7718
7752
|
}), {
|
|
7719
7753
|
method: 'post'
|
|
@@ -7735,7 +7769,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
7735
7769
|
businessId: businessId,
|
|
7736
7770
|
practiceId: practiceId
|
|
7737
7771
|
}, opts.hyperMediaEndpoint);
|
|
7738
|
-
return request(_objectSpread$
|
|
7772
|
+
return request(_objectSpread$t({}, opts, {
|
|
7739
7773
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
7740
7774
|
}), {
|
|
7741
7775
|
method: 'post'
|
|
@@ -7756,7 +7790,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
7756
7790
|
doesParamExist.default({
|
|
7757
7791
|
businessId: businessId
|
|
7758
7792
|
}, opts.hyperMediaEndpoint);
|
|
7759
|
-
return request(_objectSpread$
|
|
7793
|
+
return request(_objectSpread$t({}, opts, {
|
|
7760
7794
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
7761
7795
|
}), {
|
|
7762
7796
|
method: 'post',
|
|
@@ -7778,7 +7812,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
7778
7812
|
doesParamExist.default({
|
|
7779
7813
|
businessId: businessId
|
|
7780
7814
|
}, opts.hyperMediaEndpoint);
|
|
7781
|
-
return request(_objectSpread$
|
|
7815
|
+
return request(_objectSpread$t({}, opts, {
|
|
7782
7816
|
path: pathRequestVerificationSupport(businessId)
|
|
7783
7817
|
}), {
|
|
7784
7818
|
method: 'post',
|
|
@@ -7800,7 +7834,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
7800
7834
|
doesParamExist.default({
|
|
7801
7835
|
businessId: businessId
|
|
7802
7836
|
}, opts.hyperMediaEndpoint);
|
|
7803
|
-
return request(_objectSpread$
|
|
7837
|
+
return request(_objectSpread$t({}, opts, {
|
|
7804
7838
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
7805
7839
|
}), {
|
|
7806
7840
|
method: 'post',
|
|
@@ -7823,7 +7857,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
7823
7857
|
doesParamExist.default({
|
|
7824
7858
|
businessId: businessId
|
|
7825
7859
|
}, opts.hyperMediaEndpoint);
|
|
7826
|
-
return request(_objectSpread$
|
|
7860
|
+
return request(_objectSpread$t({}, opts, {
|
|
7827
7861
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
7828
7862
|
}), {
|
|
7829
7863
|
method: 'delete'
|
|
@@ -7843,7 +7877,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
7843
7877
|
doesParamExist.default({
|
|
7844
7878
|
businessId: businessId
|
|
7845
7879
|
}, opts.hyperMediaEndpoint);
|
|
7846
|
-
return request(_objectSpread$
|
|
7880
|
+
return request(_objectSpread$t({}, opts, {
|
|
7847
7881
|
path: pathResumeComplexVerification(businessId)
|
|
7848
7882
|
}), {
|
|
7849
7883
|
method: 'post'
|
|
@@ -7864,7 +7898,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
7864
7898
|
doesParamExist.default({
|
|
7865
7899
|
businessId: businessId
|
|
7866
7900
|
}, opts.hyperMediaEndpoint);
|
|
7867
|
-
return request(_objectSpread$
|
|
7901
|
+
return request(_objectSpread$t({}, opts, {
|
|
7868
7902
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
7869
7903
|
}), {
|
|
7870
7904
|
method: 'get',
|
|
@@ -7903,9 +7937,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
7903
7937
|
getTrustDocumentUploadUrl: getTrustDocumentUploadUrl
|
|
7904
7938
|
});
|
|
7905
7939
|
|
|
7906
|
-
function ownKeys$
|
|
7940
|
+
function ownKeys$u(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
7907
7941
|
|
|
7908
|
-
function _objectSpread$
|
|
7942
|
+
function _objectSpread$u(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$u(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$u(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7909
7943
|
var pathLog = function pathLog() {
|
|
7910
7944
|
return "/logs";
|
|
7911
7945
|
};
|
|
@@ -7923,7 +7957,7 @@ var createLog = function createLog(body, opts) {
|
|
|
7923
7957
|
opts = {};
|
|
7924
7958
|
}
|
|
7925
7959
|
|
|
7926
|
-
return request(_objectSpread$
|
|
7960
|
+
return request(_objectSpread$u({}, opts, {
|
|
7927
7961
|
path: pathLog()
|
|
7928
7962
|
}), {
|
|
7929
7963
|
method: 'post',
|
|
@@ -7945,7 +7979,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
7945
7979
|
doesParamExist.default({
|
|
7946
7980
|
businessId: businessId
|
|
7947
7981
|
});
|
|
7948
|
-
return request(_objectSpread$
|
|
7982
|
+
return request(_objectSpread$u({}, opts, {
|
|
7949
7983
|
path: pathBusinessLog(businessId)
|
|
7950
7984
|
}), {
|
|
7951
7985
|
method: 'post',
|
|
@@ -7961,9 +7995,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
7961
7995
|
createBusinessLog: createBusinessLog
|
|
7962
7996
|
});
|
|
7963
7997
|
|
|
7964
|
-
function ownKeys$
|
|
7998
|
+
function ownKeys$v(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
7965
7999
|
|
|
7966
|
-
function _objectSpread$
|
|
8000
|
+
function _objectSpread$v(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$v(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$v(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7967
8001
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
7968
8002
|
return "/businesses/" + businessId + "/messagemappings";
|
|
7969
8003
|
};
|
|
@@ -7982,7 +8016,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
7982
8016
|
doesParamExist.default({
|
|
7983
8017
|
businessId: businessId
|
|
7984
8018
|
}, opts.hyperMediaEndpoint);
|
|
7985
|
-
return request(_objectSpread$
|
|
8019
|
+
return request(_objectSpread$v({}, opts, {
|
|
7986
8020
|
path: pathBusinessMessageMappings(businessId)
|
|
7987
8021
|
}), {
|
|
7988
8022
|
method: 'get',
|
|
@@ -7996,9 +8030,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
7996
8030
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
7997
8031
|
});
|
|
7998
8032
|
|
|
7999
|
-
function ownKeys$
|
|
8033
|
+
function ownKeys$w(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
8000
8034
|
|
|
8001
|
-
function _objectSpread$
|
|
8035
|
+
function _objectSpread$w(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$w(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$w(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8002
8036
|
|
|
8003
8037
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
8004
8038
|
return "/healthfunds/" + healthFundId + "/minions";
|
|
@@ -8035,12 +8069,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8035
8069
|
triggerId: triggerId,
|
|
8036
8070
|
actionId: actionId
|
|
8037
8071
|
}, opts.hyperMediaEndpoint);
|
|
8038
|
-
data = _objectSpread$
|
|
8072
|
+
data = _objectSpread$w({
|
|
8039
8073
|
name: name,
|
|
8040
8074
|
triggerId: triggerId,
|
|
8041
8075
|
actionId: actionId
|
|
8042
8076
|
}, body);
|
|
8043
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8077
|
+
return _context.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8044
8078
|
path: pathMinionsForHealthFund(healthFundId)
|
|
8045
8079
|
}), {
|
|
8046
8080
|
method: 'post',
|
|
@@ -8080,7 +8114,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
8080
8114
|
opts = {};
|
|
8081
8115
|
}
|
|
8082
8116
|
|
|
8083
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8117
|
+
return _context2.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8084
8118
|
path: pathMinionsForHealthFund(healthFundId)
|
|
8085
8119
|
}), {
|
|
8086
8120
|
method: 'get',
|
|
@@ -8120,7 +8154,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8120
8154
|
healthFundId: healthFundId,
|
|
8121
8155
|
minionId: minionId
|
|
8122
8156
|
}, opts.hyperMediaEndpoint);
|
|
8123
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8157
|
+
return _context3.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8124
8158
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8125
8159
|
}), {
|
|
8126
8160
|
method: 'get'
|
|
@@ -8160,7 +8194,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8160
8194
|
healthFundId: healthFundId,
|
|
8161
8195
|
minionId: minionId
|
|
8162
8196
|
}, opts.hyperMediaEndpoint);
|
|
8163
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
8197
|
+
return _context4.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8164
8198
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8165
8199
|
}), {
|
|
8166
8200
|
method: 'put',
|
|
@@ -8200,7 +8234,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8200
8234
|
healthFundId: healthFundId,
|
|
8201
8235
|
minionId: minionId
|
|
8202
8236
|
}, opts.hyperMediaEndpoint);
|
|
8203
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
8237
|
+
return _context5.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8204
8238
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8205
8239
|
}), {
|
|
8206
8240
|
method: 'delete'
|
|
@@ -8228,9 +8262,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
8228
8262
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
8229
8263
|
});
|
|
8230
8264
|
|
|
8231
|
-
function ownKeys$
|
|
8265
|
+
function ownKeys$x(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
8232
8266
|
|
|
8233
|
-
function _objectSpread$
|
|
8267
|
+
function _objectSpread$x(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$x(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$x(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8234
8268
|
var PATH__MODALITIES = '/modalities';
|
|
8235
8269
|
|
|
8236
8270
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -8262,7 +8296,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
8262
8296
|
doesParamExist.default({
|
|
8263
8297
|
businessId: businessId
|
|
8264
8298
|
}, opts.hyperMediaEndpoint);
|
|
8265
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8299
|
+
return _context.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
8266
8300
|
path: pathBusinessModalities(businessId)
|
|
8267
8301
|
}), {
|
|
8268
8302
|
method: 'get'
|
|
@@ -8302,7 +8336,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
8302
8336
|
};
|
|
8303
8337
|
}
|
|
8304
8338
|
|
|
8305
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8339
|
+
return _context2.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
8306
8340
|
path: PATH__MODALITIES
|
|
8307
8341
|
}), {
|
|
8308
8342
|
method: 'get',
|
|
@@ -8339,7 +8373,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
8339
8373
|
};
|
|
8340
8374
|
}
|
|
8341
8375
|
|
|
8342
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8376
|
+
return _context3.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
8343
8377
|
path: pathModality(modalityId)
|
|
8344
8378
|
}), {
|
|
8345
8379
|
method: 'get'
|
|
@@ -8365,9 +8399,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
8365
8399
|
getModality: getModality
|
|
8366
8400
|
});
|
|
8367
8401
|
|
|
8368
|
-
function ownKeys$
|
|
8402
|
+
function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
8369
8403
|
|
|
8370
|
-
function _objectSpread$
|
|
8404
|
+
function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$y(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8371
8405
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
8372
8406
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
8373
8407
|
};
|
|
@@ -8395,7 +8429,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
8395
8429
|
healthFundId: healthFundId,
|
|
8396
8430
|
documentId: documentId
|
|
8397
8431
|
}, opts.hyperMediaEndpoint);
|
|
8398
|
-
return request(_objectSpread$
|
|
8432
|
+
return request(_objectSpread$y({}, opts, {
|
|
8399
8433
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8400
8434
|
}), {
|
|
8401
8435
|
method: 'post',
|
|
@@ -8411,7 +8445,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
8411
8445
|
healthFundId: healthFundId,
|
|
8412
8446
|
documentId: documentId
|
|
8413
8447
|
}, opts.hyperMediaEndpoint);
|
|
8414
|
-
return request(_objectSpread$
|
|
8448
|
+
return request(_objectSpread$y({}, opts, {
|
|
8415
8449
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8416
8450
|
}), {
|
|
8417
8451
|
method: 'get'
|
|
@@ -8426,7 +8460,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
8426
8460
|
healthFundId: healthFundId,
|
|
8427
8461
|
transactionId: transactionId
|
|
8428
8462
|
}, opts.hyperMediaEndpoint);
|
|
8429
|
-
return request(_objectSpread$
|
|
8463
|
+
return request(_objectSpread$y({}, opts, {
|
|
8430
8464
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
8431
8465
|
}), {
|
|
8432
8466
|
method: 'get'
|
|
@@ -8441,7 +8475,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
8441
8475
|
healthFundId: healthFundId,
|
|
8442
8476
|
noteId: noteId
|
|
8443
8477
|
}, opts.hyperMediaEndpoint);
|
|
8444
|
-
return request(_objectSpread$
|
|
8478
|
+
return request(_objectSpread$y({}, opts, {
|
|
8445
8479
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8446
8480
|
}), {
|
|
8447
8481
|
method: 'get'
|
|
@@ -8455,7 +8489,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
8455
8489
|
doesParamExist.default({
|
|
8456
8490
|
transactionId: transactionId
|
|
8457
8491
|
}, opts.hyperMediaEndpoint);
|
|
8458
|
-
return request(_objectSpread$
|
|
8492
|
+
return request(_objectSpread$y({}, opts, {
|
|
8459
8493
|
path: pathTransactionNotes(transactionId)
|
|
8460
8494
|
}), {
|
|
8461
8495
|
method: 'get',
|
|
@@ -8471,7 +8505,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
8471
8505
|
businessId: businessId,
|
|
8472
8506
|
transactionId: transactionId
|
|
8473
8507
|
}, opts.hyperMediaEndpoint);
|
|
8474
|
-
return request(_objectSpread$
|
|
8508
|
+
return request(_objectSpread$y({}, opts, {
|
|
8475
8509
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
8476
8510
|
}), {
|
|
8477
8511
|
method: 'get'
|
|
@@ -8485,7 +8519,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
8485
8519
|
doesParamExist.default({
|
|
8486
8520
|
transactionId: transactionId
|
|
8487
8521
|
}, opts.hyperMediaEndpoint);
|
|
8488
|
-
return request(_objectSpread$
|
|
8522
|
+
return request(_objectSpread$y({}, opts, {
|
|
8489
8523
|
path: pathTransactionNotes(transactionId)
|
|
8490
8524
|
}), {
|
|
8491
8525
|
method: 'post',
|
|
@@ -8501,7 +8535,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
8501
8535
|
transactionId: transactionId,
|
|
8502
8536
|
transactionNoteId: transactionNoteId
|
|
8503
8537
|
}, opts.hyperMediaEndpoint);
|
|
8504
|
-
return request(_objectSpread$
|
|
8538
|
+
return request(_objectSpread$y({}, opts, {
|
|
8505
8539
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
8506
8540
|
}), {
|
|
8507
8541
|
method: 'delete'
|
|
@@ -8516,7 +8550,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
8516
8550
|
healthFundId: healthFundId,
|
|
8517
8551
|
noteId: noteId
|
|
8518
8552
|
}, opts.hyperMediaEndpoint);
|
|
8519
|
-
return request(_objectSpread$
|
|
8553
|
+
return request(_objectSpread$y({}, opts, {
|
|
8520
8554
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8521
8555
|
}), {
|
|
8522
8556
|
method: 'put',
|
|
@@ -8532,7 +8566,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
8532
8566
|
healthFundId: healthFundId,
|
|
8533
8567
|
noteId: noteId
|
|
8534
8568
|
}, opts.hyperMediaEndpoint);
|
|
8535
|
-
return request(_objectSpread$
|
|
8569
|
+
return request(_objectSpread$y({}, opts, {
|
|
8536
8570
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8537
8571
|
}), {
|
|
8538
8572
|
method: 'delete'
|
|
@@ -8559,9 +8593,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
8559
8593
|
deleteHealthFundNote: deleteHealthFundNote
|
|
8560
8594
|
});
|
|
8561
8595
|
|
|
8562
|
-
function ownKeys$
|
|
8596
|
+
function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
8563
8597
|
|
|
8564
|
-
function _objectSpread$
|
|
8598
|
+
function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$z(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8565
8599
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
8566
8600
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
8567
8601
|
};
|
|
@@ -8592,7 +8626,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
8592
8626
|
doesParamExist.default({
|
|
8593
8627
|
practiceId: practiceId
|
|
8594
8628
|
});
|
|
8595
|
-
return request(_objectSpread$
|
|
8629
|
+
return request(_objectSpread$z({}, opts, {
|
|
8596
8630
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
8597
8631
|
}), {
|
|
8598
8632
|
method: 'post',
|
|
@@ -8625,7 +8659,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
8625
8659
|
businessId: businessId,
|
|
8626
8660
|
practiceId: practiceId
|
|
8627
8661
|
}, opts.hyperMediaEndpoint);
|
|
8628
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8662
|
+
return _context.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8629
8663
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
8630
8664
|
}), {
|
|
8631
8665
|
method: 'get',
|
|
@@ -8659,7 +8693,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
8659
8693
|
doesParamExist.default({
|
|
8660
8694
|
businessId: businessId
|
|
8661
8695
|
});
|
|
8662
|
-
return request(_objectSpread$
|
|
8696
|
+
return request(_objectSpread$z({}, opts, {
|
|
8663
8697
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8664
8698
|
}), {
|
|
8665
8699
|
method: 'get',
|
|
@@ -8679,7 +8713,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
8679
8713
|
doesParamExist.default({
|
|
8680
8714
|
businessId: businessId
|
|
8681
8715
|
});
|
|
8682
|
-
return request(_objectSpread$
|
|
8716
|
+
return request(_objectSpread$z({}, opts, {
|
|
8683
8717
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8684
8718
|
}), {
|
|
8685
8719
|
method: 'post',
|
|
@@ -8699,7 +8733,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
8699
8733
|
doesParamExist.default({
|
|
8700
8734
|
businessId: businessId
|
|
8701
8735
|
});
|
|
8702
|
-
return request(_objectSpread$
|
|
8736
|
+
return request(_objectSpread$z({}, opts, {
|
|
8703
8737
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8704
8738
|
}), {
|
|
8705
8739
|
method: 'put',
|
|
@@ -8723,7 +8757,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
8723
8757
|
staffId: staffId,
|
|
8724
8758
|
providerSetItemId: providerSetItemId
|
|
8725
8759
|
});
|
|
8726
|
-
return request(_objectSpread$
|
|
8760
|
+
return request(_objectSpread$z({}, opts, {
|
|
8727
8761
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
8728
8762
|
}), {
|
|
8729
8763
|
method: 'post',
|
|
@@ -8745,7 +8779,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
8745
8779
|
doesParamExist.default({
|
|
8746
8780
|
businessId: businessId
|
|
8747
8781
|
});
|
|
8748
|
-
return request(_objectSpread$
|
|
8782
|
+
return request(_objectSpread$z({}, opts, {
|
|
8749
8783
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
8750
8784
|
}), {
|
|
8751
8785
|
method: 'get',
|
|
@@ -8769,9 +8803,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
8769
8803
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
8770
8804
|
});
|
|
8771
8805
|
|
|
8772
|
-
function ownKeys$
|
|
8806
|
+
function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
8773
8807
|
|
|
8774
|
-
function _objectSpread$
|
|
8808
|
+
function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$A(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8775
8809
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
8776
8810
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
8777
8811
|
};
|
|
@@ -8803,7 +8837,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
8803
8837
|
doesParamExist.default({
|
|
8804
8838
|
onboardingRequestId: onboardingRequestId
|
|
8805
8839
|
}, opts.hyperMediaEndpoint);
|
|
8806
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8840
|
+
return _context.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
8807
8841
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8808
8842
|
}), {
|
|
8809
8843
|
method: 'get'
|
|
@@ -8845,7 +8879,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
8845
8879
|
doesParamExist.default({
|
|
8846
8880
|
businessId: businessId
|
|
8847
8881
|
}, opts.hyperMediaEndpoint);
|
|
8848
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8882
|
+
return _context2.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
8849
8883
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8850
8884
|
}), {
|
|
8851
8885
|
method: 'get',
|
|
@@ -8877,7 +8911,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
8877
8911
|
doesParamExist.default({
|
|
8878
8912
|
businessId: businessId
|
|
8879
8913
|
});
|
|
8880
|
-
return request(_objectSpread$
|
|
8914
|
+
return request(_objectSpread$A({}, opts, {
|
|
8881
8915
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8882
8916
|
}), {
|
|
8883
8917
|
method: 'post',
|
|
@@ -8897,7 +8931,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
8897
8931
|
doesParamExist.default({
|
|
8898
8932
|
onboardingRequestId: onboardingRequestId
|
|
8899
8933
|
});
|
|
8900
|
-
return request(_objectSpread$
|
|
8934
|
+
return request(_objectSpread$A({}, opts, {
|
|
8901
8935
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
8902
8936
|
}), {
|
|
8903
8937
|
method: 'post',
|
|
@@ -8918,7 +8952,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
8918
8952
|
doesParamExist.default({
|
|
8919
8953
|
onboardingRequestId: onboardingRequestId
|
|
8920
8954
|
});
|
|
8921
|
-
return request(_objectSpread$
|
|
8955
|
+
return request(_objectSpread$A({}, opts, {
|
|
8922
8956
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
8923
8957
|
}), {
|
|
8924
8958
|
method: 'put',
|
|
@@ -8938,7 +8972,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
8938
8972
|
doesParamExist.default({
|
|
8939
8973
|
onboardingRequestId: onboardingRequestId
|
|
8940
8974
|
});
|
|
8941
|
-
return request(_objectSpread$
|
|
8975
|
+
return request(_objectSpread$A({}, opts, {
|
|
8942
8976
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8943
8977
|
}), {
|
|
8944
8978
|
method: 'delete',
|
|
@@ -8960,9 +8994,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
8960
8994
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
8961
8995
|
});
|
|
8962
8996
|
|
|
8963
|
-
function ownKeys$
|
|
8997
|
+
function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
8964
8998
|
|
|
8965
|
-
function _objectSpread$
|
|
8999
|
+
function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$B(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8966
9000
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
8967
9001
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
8968
9002
|
var PATH__OPS_DECRTPT = '/ops/decrypt';
|
|
@@ -8995,13 +9029,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
8995
9029
|
type: type
|
|
8996
9030
|
}, opts.hyperMediaEndpoint);
|
|
8997
9031
|
|
|
8998
|
-
var data = _objectSpread$
|
|
9032
|
+
var data = _objectSpread$B({
|
|
8999
9033
|
fullName: fullName,
|
|
9000
9034
|
displayName: displayName,
|
|
9001
9035
|
type: type
|
|
9002
9036
|
}, body);
|
|
9003
9037
|
|
|
9004
|
-
return request(_objectSpread$
|
|
9038
|
+
return request(_objectSpread$B({}, opts, {
|
|
9005
9039
|
path: PATH__OPS_SERVICES
|
|
9006
9040
|
}), {
|
|
9007
9041
|
method: 'post',
|
|
@@ -9022,7 +9056,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
9022
9056
|
doesParamExist.default({
|
|
9023
9057
|
serviceId: serviceId
|
|
9024
9058
|
}, opts.hyperMediaEndpoint);
|
|
9025
|
-
return request(_objectSpread$
|
|
9059
|
+
return request(_objectSpread$B({}, opts, {
|
|
9026
9060
|
path: pathOpsService(serviceId)
|
|
9027
9061
|
}), {
|
|
9028
9062
|
method: 'delete'
|
|
@@ -9042,7 +9076,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
9042
9076
|
doesParamExist.default({
|
|
9043
9077
|
serviceId: serviceId
|
|
9044
9078
|
}, opts.hyperMediaEndpoint);
|
|
9045
|
-
return request(_objectSpread$
|
|
9079
|
+
return request(_objectSpread$B({}, opts, {
|
|
9046
9080
|
path: PATH__OPS_DEPLOYMENTS
|
|
9047
9081
|
}), {
|
|
9048
9082
|
method: 'post',
|
|
@@ -9066,7 +9100,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
9066
9100
|
opts = {};
|
|
9067
9101
|
}
|
|
9068
9102
|
|
|
9069
|
-
return request(_objectSpread$
|
|
9103
|
+
return request(_objectSpread$B({}, opts, {
|
|
9070
9104
|
path: PATH__OPS_DEPLOYMENTS
|
|
9071
9105
|
}), {
|
|
9072
9106
|
method: 'get',
|
|
@@ -9087,7 +9121,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
9087
9121
|
doesParamExist.default({
|
|
9088
9122
|
deploymentId: deploymentId
|
|
9089
9123
|
}, opts.hyperMediaEndpoint);
|
|
9090
|
-
return request(_objectSpread$
|
|
9124
|
+
return request(_objectSpread$B({}, opts, {
|
|
9091
9125
|
path: pathOpsDeployment(deploymentId)
|
|
9092
9126
|
}), {
|
|
9093
9127
|
method: 'get'
|
|
@@ -9108,7 +9142,7 @@ var getServices = function getServices(query, opts) {
|
|
|
9108
9142
|
opts = {};
|
|
9109
9143
|
}
|
|
9110
9144
|
|
|
9111
|
-
return request(_objectSpread$
|
|
9145
|
+
return request(_objectSpread$B({}, opts, {
|
|
9112
9146
|
path: PATH__OPS_SERVICES
|
|
9113
9147
|
}), {
|
|
9114
9148
|
method: 'get',
|
|
@@ -9129,7 +9163,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
9129
9163
|
doesParamExist.default({
|
|
9130
9164
|
serviceId: serviceId
|
|
9131
9165
|
}, opts.hyperMediaEndpoint);
|
|
9132
|
-
return request(_objectSpread$
|
|
9166
|
+
return request(_objectSpread$B({}, opts, {
|
|
9133
9167
|
path: pathOpsService(serviceId)
|
|
9134
9168
|
}), {
|
|
9135
9169
|
method: 'get'
|
|
@@ -9150,7 +9184,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
9150
9184
|
doesParamExist.default({
|
|
9151
9185
|
serviceId: serviceId
|
|
9152
9186
|
}, opts.hyperMediaEndpoint);
|
|
9153
|
-
return request(_objectSpread$
|
|
9187
|
+
return request(_objectSpread$B({}, opts, {
|
|
9154
9188
|
path: pathOpsService(serviceId)
|
|
9155
9189
|
}), {
|
|
9156
9190
|
method: 'put',
|
|
@@ -9172,7 +9206,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
9172
9206
|
doesParamExist.default({
|
|
9173
9207
|
serviceId: serviceId
|
|
9174
9208
|
}, opts.hyperMediaEndpoint);
|
|
9175
|
-
return request(_objectSpread$
|
|
9209
|
+
return request(_objectSpread$B({}, opts, {
|
|
9176
9210
|
path: PATH__OPS_DECRTPT
|
|
9177
9211
|
}), {
|
|
9178
9212
|
method: 'post',
|
|
@@ -9193,9 +9227,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
9193
9227
|
decrypt: decrypt
|
|
9194
9228
|
});
|
|
9195
9229
|
|
|
9196
|
-
function ownKeys$
|
|
9230
|
+
function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
9197
9231
|
|
|
9198
|
-
function _objectSpread$
|
|
9232
|
+
function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$C(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
9199
9233
|
var PATH__ORGANISATIONS = '/organisations';
|
|
9200
9234
|
/**
|
|
9201
9235
|
* Get organisations
|
|
@@ -9212,7 +9246,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
9212
9246
|
opts = {};
|
|
9213
9247
|
}
|
|
9214
9248
|
|
|
9215
|
-
return request(_objectSpread$
|
|
9249
|
+
return request(_objectSpread$C({}, opts, {
|
|
9216
9250
|
path: PATH__ORGANISATIONS
|
|
9217
9251
|
}), {
|
|
9218
9252
|
method: 'get',
|
|
@@ -9225,9 +9259,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
9225
9259
|
getOrganisations: getOrganisations
|
|
9226
9260
|
});
|
|
9227
9261
|
|
|
9228
|
-
function ownKeys$
|
|
9262
|
+
function ownKeys$D(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
9229
9263
|
|
|
9230
|
-
function _objectSpread$
|
|
9264
|
+
function _objectSpread$D(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$D(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$D(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
9231
9265
|
var PATH__PARTNERS = '/partners';
|
|
9232
9266
|
|
|
9233
9267
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -9266,7 +9300,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
9266
9300
|
opts = {};
|
|
9267
9301
|
}
|
|
9268
9302
|
|
|
9269
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9303
|
+
return _context.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9270
9304
|
path: PATH__PARTNERS
|
|
9271
9305
|
}), {
|
|
9272
9306
|
method: 'get',
|
|
@@ -9304,7 +9338,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
9304
9338
|
doesParamExist.default({
|
|
9305
9339
|
partnerId: partnerId
|
|
9306
9340
|
}, opts.hyperMediaEndpoint);
|
|
9307
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9341
|
+
return _context2.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9308
9342
|
path: pathPartner(partnerId)
|
|
9309
9343
|
}), {
|
|
9310
9344
|
method: 'get'
|
|
@@ -9342,7 +9376,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
9342
9376
|
doesParamExist.default({
|
|
9343
9377
|
partnerId: partnerId
|
|
9344
9378
|
}, opts.hyperMediaEndpoint);
|
|
9345
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9379
|
+
return _context3.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9346
9380
|
path: pathPartner(partnerId)
|
|
9347
9381
|
}), {
|
|
9348
9382
|
method: 'put',
|
|
@@ -9383,10 +9417,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
9383
9417
|
doesParamExist.default({
|
|
9384
9418
|
partnerId: partnerId
|
|
9385
9419
|
}, opts.hyperMediaEndpoint);
|
|
9386
|
-
data = _objectSpread$
|
|
9420
|
+
data = _objectSpread$D({
|
|
9387
9421
|
fullNameId: fullNameId
|
|
9388
9422
|
}, body);
|
|
9389
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9423
|
+
return _context4.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9390
9424
|
path: pathPartnerPractices(partnerId)
|
|
9391
9425
|
}), {
|
|
9392
9426
|
method: 'put',
|
|
@@ -9430,10 +9464,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
9430
9464
|
practiceId: practiceId,
|
|
9431
9465
|
providerNumberId: providerNumberId
|
|
9432
9466
|
}, opts.hyperMediaEndpoint);
|
|
9433
|
-
data = _objectSpread$
|
|
9467
|
+
data = _objectSpread$D({
|
|
9434
9468
|
providerNumberId: providerNumberId
|
|
9435
9469
|
}, body);
|
|
9436
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9470
|
+
return _context5.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9437
9471
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
9438
9472
|
}), {
|
|
9439
9473
|
method: 'put',
|
|
@@ -9476,7 +9510,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9476
9510
|
doesParamExist.default({
|
|
9477
9511
|
accountId: accountId
|
|
9478
9512
|
}, opts.hyperMediaEndpoint);
|
|
9479
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9513
|
+
return _context6.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9480
9514
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
9481
9515
|
}), {
|
|
9482
9516
|
method: 'post',
|
|
@@ -9516,7 +9550,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9516
9550
|
doesParamExist.default({
|
|
9517
9551
|
accountId: accountId
|
|
9518
9552
|
}, opts.hyperMediaEndpoint);
|
|
9519
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9553
|
+
return _context7.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9520
9554
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
9521
9555
|
}), {
|
|
9522
9556
|
method: 'post'
|
|
@@ -9546,9 +9580,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
9546
9580
|
notifyPartnerAccount: notifyPartnerAccount
|
|
9547
9581
|
});
|
|
9548
9582
|
|
|
9549
|
-
function ownKeys$
|
|
9583
|
+
function ownKeys$E(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
9550
9584
|
|
|
9551
|
-
function _objectSpread$
|
|
9585
|
+
function _objectSpread$E(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$E(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
9552
9586
|
|
|
9553
9587
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
9554
9588
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -9582,7 +9616,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
9582
9616
|
doesParamExist.default({
|
|
9583
9617
|
businessId: businessId
|
|
9584
9618
|
}, opts.hyperMediaEndpoint);
|
|
9585
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9619
|
+
return _context.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9586
9620
|
path: pathBusinessPatients(businessId)
|
|
9587
9621
|
}), {
|
|
9588
9622
|
method: 'post',
|
|
@@ -9625,7 +9659,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
9625
9659
|
doesParamExist.default({
|
|
9626
9660
|
businessId: businessId
|
|
9627
9661
|
}, opts.hyperMediaEndpoint);
|
|
9628
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9662
|
+
return _context2.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9629
9663
|
path: pathBusinessPatients(businessId)
|
|
9630
9664
|
}), {
|
|
9631
9665
|
method: 'get',
|
|
@@ -9664,7 +9698,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
9664
9698
|
doesParamExist.default({
|
|
9665
9699
|
businessId: businessId
|
|
9666
9700
|
}, opts.hyperMediaEndpoint);
|
|
9667
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9701
|
+
return _context3.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9668
9702
|
path: pathBusinessPatient(businessId, patientId)
|
|
9669
9703
|
}), {
|
|
9670
9704
|
method: 'get'
|
|
@@ -9703,7 +9737,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
9703
9737
|
businessId: businessId,
|
|
9704
9738
|
refId: refId
|
|
9705
9739
|
}, opts.hyperMediaEndpoint);
|
|
9706
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9740
|
+
return _context4.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9707
9741
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
9708
9742
|
}), {
|
|
9709
9743
|
method: 'get'
|
|
@@ -9742,7 +9776,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
9742
9776
|
doesParamExist.default({
|
|
9743
9777
|
businessId: businessId
|
|
9744
9778
|
}, opts.hyperMediaEndpoint);
|
|
9745
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9779
|
+
return _context5.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9746
9780
|
path: pathBusinessPatient(businessId, patientId)
|
|
9747
9781
|
}), {
|
|
9748
9782
|
method: 'put',
|
|
@@ -9781,7 +9815,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
9781
9815
|
doesParamExist.default({
|
|
9782
9816
|
businessId: businessId
|
|
9783
9817
|
}, opts.hyperMediaEndpoint);
|
|
9784
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9818
|
+
return _context6.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9785
9819
|
path: pathBusinessPatient(businessId, patientId)
|
|
9786
9820
|
}), {
|
|
9787
9821
|
method: 'delete'
|
|
@@ -9810,9 +9844,9 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
9810
9844
|
deleteBusinessPatient: deleteBusinessPatient
|
|
9811
9845
|
});
|
|
9812
9846
|
|
|
9813
|
-
function ownKeys$
|
|
9847
|
+
function ownKeys$F(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
9814
9848
|
|
|
9815
|
-
function _objectSpread$
|
|
9849
|
+
function _objectSpread$F(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$F(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
9816
9850
|
var PATH__PAYMENTS = '/payments';
|
|
9817
9851
|
|
|
9818
9852
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -9869,7 +9903,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9869
9903
|
nonce: nonce,
|
|
9870
9904
|
source: source
|
|
9871
9905
|
}, opts.hyperMediaEndpoint);
|
|
9872
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9906
|
+
return _context.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9873
9907
|
path: pathAccountPaymentMethods(accountId)
|
|
9874
9908
|
}), {
|
|
9875
9909
|
method: 'post',
|
|
@@ -9913,7 +9947,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9913
9947
|
nonce: nonce,
|
|
9914
9948
|
source: source
|
|
9915
9949
|
}, opts.hyperMediaEndpoint);
|
|
9916
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9950
|
+
return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9917
9951
|
path: pathBusinessPaymentMethods(businessId)
|
|
9918
9952
|
}), {
|
|
9919
9953
|
method: 'post',
|
|
@@ -9959,7 +9993,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9959
9993
|
nonce: nonce,
|
|
9960
9994
|
source: source
|
|
9961
9995
|
}, opts.hyperMediaEndpoint);
|
|
9962
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9996
|
+
return _context3.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9963
9997
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9964
9998
|
}), {
|
|
9965
9999
|
method: 'post',
|
|
@@ -10003,7 +10037,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10003
10037
|
accountId: accountId,
|
|
10004
10038
|
paymentMethodId: paymentMethodId
|
|
10005
10039
|
}, opts.hyperMediaEndpoint);
|
|
10006
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10040
|
+
return _context4.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10007
10041
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10008
10042
|
}), {
|
|
10009
10043
|
method: 'delete'
|
|
@@ -10043,7 +10077,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10043
10077
|
businessId: businessId,
|
|
10044
10078
|
paymentMethodId: paymentMethodId
|
|
10045
10079
|
}, opts.hyperMediaEndpoint);
|
|
10046
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10080
|
+
return _context5.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10047
10081
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10048
10082
|
}), {
|
|
10049
10083
|
method: 'delete'
|
|
@@ -10085,7 +10119,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10085
10119
|
patientId: patientId,
|
|
10086
10120
|
paymentMethodId: paymentMethodId
|
|
10087
10121
|
}, opts.hyperMediaEndpoint);
|
|
10088
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
10122
|
+
return _context6.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10089
10123
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10090
10124
|
}), {
|
|
10091
10125
|
method: 'delete'
|
|
@@ -10123,7 +10157,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
10123
10157
|
doesParamExist.default({
|
|
10124
10158
|
accountId: accountId
|
|
10125
10159
|
}, opts.hyperMediaEndpoint);
|
|
10126
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
10160
|
+
return _context7.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10127
10161
|
path: pathAccountPaymentMethods(accountId)
|
|
10128
10162
|
}), {
|
|
10129
10163
|
method: 'get'
|
|
@@ -10161,7 +10195,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
10161
10195
|
doesParamExist.default({
|
|
10162
10196
|
businessId: businessId
|
|
10163
10197
|
}, opts.hyperMediaEndpoint);
|
|
10164
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
10198
|
+
return _context8.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10165
10199
|
path: pathBusinessPaymentMethods(businessId)
|
|
10166
10200
|
}), {
|
|
10167
10201
|
method: 'get'
|
|
@@ -10200,7 +10234,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
10200
10234
|
businessId: businessId,
|
|
10201
10235
|
patientId: patientId
|
|
10202
10236
|
}, opts.hyperMediaEndpoint);
|
|
10203
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
10237
|
+
return _context9.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10204
10238
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
10205
10239
|
}), {
|
|
10206
10240
|
method: 'get'
|
|
@@ -10240,7 +10274,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10240
10274
|
accountId: accountId,
|
|
10241
10275
|
paymentMethodId: paymentMethodId
|
|
10242
10276
|
}, opts.hyperMediaEndpoint);
|
|
10243
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
10277
|
+
return _context10.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10244
10278
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10245
10279
|
}), {
|
|
10246
10280
|
method: 'get'
|
|
@@ -10280,7 +10314,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10280
10314
|
businessId: businessId,
|
|
10281
10315
|
paymentMethodId: paymentMethodId
|
|
10282
10316
|
}, opts.hyperMediaEndpoint);
|
|
10283
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
10317
|
+
return _context11.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10284
10318
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10285
10319
|
}), {
|
|
10286
10320
|
method: 'get'
|
|
@@ -10322,7 +10356,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10322
10356
|
patientId: patientId,
|
|
10323
10357
|
paymentMethodId: paymentMethodId
|
|
10324
10358
|
}, opts.hyperMediaEndpoint);
|
|
10325
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
10359
|
+
return _context12.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10326
10360
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10327
10361
|
}), {
|
|
10328
10362
|
method: 'get'
|
|
@@ -10362,7 +10396,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
10362
10396
|
businessId: businessId,
|
|
10363
10397
|
source: source
|
|
10364
10398
|
}, opts.hyperMediaEndpoint);
|
|
10365
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
10399
|
+
return _context13.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10366
10400
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
10367
10401
|
}), {
|
|
10368
10402
|
method: 'get',
|
|
@@ -10403,7 +10437,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
10403
10437
|
doesParamExist.default({
|
|
10404
10438
|
businessId: businessId
|
|
10405
10439
|
}, opts.hyperMediaEndpoint);
|
|
10406
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
10440
|
+
return _context14.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10407
10441
|
path: pathBusinessSalesClientToken(businessId)
|
|
10408
10442
|
}), {
|
|
10409
10443
|
method: 'get'
|
|
@@ -10443,7 +10477,7 @@ var getClientToken = /*#__PURE__*/function () {
|
|
|
10443
10477
|
doesParamExist.default({
|
|
10444
10478
|
source: source
|
|
10445
10479
|
}, opts.hyperMediaEndpoint);
|
|
10446
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
10480
|
+
return _context15.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10447
10481
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
10448
10482
|
}), {
|
|
10449
10483
|
method: 'get',
|
|
@@ -10487,7 +10521,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10487
10521
|
accountId: accountId,
|
|
10488
10522
|
paymentMethodId: paymentMethodId
|
|
10489
10523
|
}, opts.hyperMediaEndpoint);
|
|
10490
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
10524
|
+
return _context16.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10491
10525
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10492
10526
|
}), {
|
|
10493
10527
|
data: body,
|
|
@@ -10528,7 +10562,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10528
10562
|
businessId: businessId,
|
|
10529
10563
|
paymentMethodId: paymentMethodId
|
|
10530
10564
|
}, opts.hyperMediaEndpoint);
|
|
10531
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
10565
|
+
return _context17.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10532
10566
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10533
10567
|
}), {
|
|
10534
10568
|
data: body,
|
|
@@ -10570,7 +10604,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10570
10604
|
patientId: patientId,
|
|
10571
10605
|
paymentMethodId: paymentMethodId
|
|
10572
10606
|
}, opts.hyperMediaEndpoint);
|
|
10573
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
10607
|
+
return _context18.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10574
10608
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10575
10609
|
}), {
|
|
10576
10610
|
data: body,
|
|
@@ -10702,7 +10736,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10702
10736
|
throw new Error(getPaymentGatewayError(updateSessionResponse));
|
|
10703
10737
|
|
|
10704
10738
|
case 32:
|
|
10705
|
-
return _context19.abrupt("return", _objectSpread$
|
|
10739
|
+
return _context19.abrupt("return", _objectSpread$F({}, clientToken, {
|
|
10706
10740
|
nonce: clientToken.clientToken,
|
|
10707
10741
|
sourceResponse: updateSessionResponse
|
|
10708
10742
|
}));
|
|
@@ -10745,7 +10779,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10745
10779
|
|
|
10746
10780
|
case 41:
|
|
10747
10781
|
sourceResponse = _context19.sent;
|
|
10748
|
-
return _context19.abrupt("return", _objectSpread$
|
|
10782
|
+
return _context19.abrupt("return", _objectSpread$F({}, clientToken, {
|
|
10749
10783
|
nonce: _get(sourceResponse, 'creditCards[0].nonce'),
|
|
10750
10784
|
sourceResponse: sourceResponse
|
|
10751
10785
|
}));
|
|
@@ -10802,7 +10836,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10802
10836
|
|
|
10803
10837
|
case 60:
|
|
10804
10838
|
sourceResponse = _context19.sent;
|
|
10805
|
-
return _context19.abrupt("return", _objectSpread$
|
|
10839
|
+
return _context19.abrupt("return", _objectSpread$F({}, clientToken, {
|
|
10806
10840
|
nonce: sourceResponse.nonce,
|
|
10807
10841
|
sourceResponse: sourceResponse
|
|
10808
10842
|
}));
|
|
@@ -10831,7 +10865,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10831
10865
|
|
|
10832
10866
|
case 69:
|
|
10833
10867
|
canMakeApplePayment = _context19.sent;
|
|
10834
|
-
return _context19.abrupt("return", _objectSpread$
|
|
10868
|
+
return _context19.abrupt("return", _objectSpread$F({}, clientToken, {
|
|
10835
10869
|
applePayInstance: applePayInstance,
|
|
10836
10870
|
canMakeApplePayment: canMakeApplePayment,
|
|
10837
10871
|
paymentRequest: paymentRequest
|
|
@@ -10877,9 +10911,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
10877
10911
|
getNonce: getNonce
|
|
10878
10912
|
});
|
|
10879
10913
|
|
|
10880
|
-
function ownKeys$
|
|
10914
|
+
function ownKeys$G(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
10881
10915
|
|
|
10882
|
-
function _objectSpread$
|
|
10916
|
+
function _objectSpread$G(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$G(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
10883
10917
|
|
|
10884
10918
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
10885
10919
|
return "/businesses/" + businessId + "/pmspractices";
|
|
@@ -10917,7 +10951,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
10917
10951
|
doesParamExist.default({
|
|
10918
10952
|
businessId: businessId
|
|
10919
10953
|
}, opts.hyperMediaEndpoint);
|
|
10920
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10954
|
+
return _context.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10921
10955
|
path: pathBusinessPmsPractices(businessId)
|
|
10922
10956
|
}), {
|
|
10923
10957
|
method: 'get',
|
|
@@ -10960,7 +10994,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
10960
10994
|
doesParamExist.default({
|
|
10961
10995
|
businessId: businessId
|
|
10962
10996
|
}, opts.hyperMediaEndpoint);
|
|
10963
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10997
|
+
return _context2.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10964
10998
|
path: pathBusinessPmsServices(businessId)
|
|
10965
10999
|
}), {
|
|
10966
11000
|
method: 'get',
|
|
@@ -11003,7 +11037,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
11003
11037
|
doesParamExist.default({
|
|
11004
11038
|
businessId: businessId
|
|
11005
11039
|
}, opts.hyperMediaEndpoint);
|
|
11006
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11040
|
+
return _context3.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
11007
11041
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
11008
11042
|
}), {
|
|
11009
11043
|
method: 'get',
|
|
@@ -11042,7 +11076,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
11042
11076
|
doesParamExist.default({
|
|
11043
11077
|
businessId: businessId
|
|
11044
11078
|
}, opts.hyperMediaEndpoint);
|
|
11045
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11079
|
+
return _context4.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
11046
11080
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
11047
11081
|
}), {
|
|
11048
11082
|
method: 'post',
|
|
@@ -11081,7 +11115,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
11081
11115
|
doesParamExist.default({
|
|
11082
11116
|
businessId: businessId
|
|
11083
11117
|
}, opts.hyperMediaEndpoint);
|
|
11084
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11118
|
+
return _context5.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
11085
11119
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
11086
11120
|
}), {
|
|
11087
11121
|
method: 'post',
|
|
@@ -11120,7 +11154,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
11120
11154
|
doesParamExist.default({
|
|
11121
11155
|
businessId: businessId
|
|
11122
11156
|
}, opts.hyperMediaEndpoint);
|
|
11123
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11157
|
+
return _context6.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
11124
11158
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
11125
11159
|
}), {
|
|
11126
11160
|
method: 'post',
|
|
@@ -11150,9 +11184,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
11150
11184
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
11151
11185
|
});
|
|
11152
11186
|
|
|
11153
|
-
function ownKeys$
|
|
11187
|
+
function ownKeys$H(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
11154
11188
|
|
|
11155
|
-
function _objectSpread$
|
|
11189
|
+
function _objectSpread$H(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$H(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$H(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
11156
11190
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
11157
11191
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
11158
11192
|
};
|
|
@@ -11173,7 +11207,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
11173
11207
|
doesParamExist.default({
|
|
11174
11208
|
organisationId: organisationId
|
|
11175
11209
|
}, opts.hyperMediaEndpoint);
|
|
11176
|
-
return request(_objectSpread$
|
|
11210
|
+
return request(_objectSpread$H({}, opts, {
|
|
11177
11211
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
11178
11212
|
}), {
|
|
11179
11213
|
method: 'get',
|
|
@@ -11188,7 +11222,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
11188
11222
|
doesParamExist.default({
|
|
11189
11223
|
practiceProfileId: practiceProfileId
|
|
11190
11224
|
}, opts.hyperMediaEndpoint);
|
|
11191
|
-
return request(_objectSpread$
|
|
11225
|
+
return request(_objectSpread$H({}, opts, {
|
|
11192
11226
|
path: pathPracticeProfile(practiceProfileId)
|
|
11193
11227
|
}), {
|
|
11194
11228
|
method: 'get'
|
|
@@ -11206,7 +11240,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
11206
11240
|
var body = {
|
|
11207
11241
|
practiceId: practiceId
|
|
11208
11242
|
};
|
|
11209
|
-
return request(_objectSpread$
|
|
11243
|
+
return request(_objectSpread$H({}, opts, {
|
|
11210
11244
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
11211
11245
|
}), {
|
|
11212
11246
|
method: 'put',
|
|
@@ -11221,7 +11255,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
11221
11255
|
doesParamExist.default({
|
|
11222
11256
|
practiceProfileId: practiceProfileId
|
|
11223
11257
|
}, opts.hyperMediaEndpoint);
|
|
11224
|
-
return request(_objectSpread$
|
|
11258
|
+
return request(_objectSpread$H({}, opts, {
|
|
11225
11259
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
11226
11260
|
}), {
|
|
11227
11261
|
method: 'put'
|
|
@@ -11240,9 +11274,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
11240
11274
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
11241
11275
|
});
|
|
11242
11276
|
|
|
11243
|
-
function ownKeys$
|
|
11277
|
+
function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
11244
11278
|
|
|
11245
|
-
function _objectSpread$
|
|
11279
|
+
function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$I(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
11246
11280
|
|
|
11247
11281
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
11248
11282
|
return "/businesses/" + businessId + "/forms/" + formId + "/practices";
|
|
@@ -11304,7 +11338,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
11304
11338
|
doesParamExist.default({
|
|
11305
11339
|
businessId: businessId
|
|
11306
11340
|
}, opts.hyperMediaEndpoint);
|
|
11307
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11341
|
+
return _context.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11308
11342
|
path: pathBusinessPractices(businessId)
|
|
11309
11343
|
}), {
|
|
11310
11344
|
method: 'post',
|
|
@@ -11343,7 +11377,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11343
11377
|
doesParamExist.default({
|
|
11344
11378
|
organisationId: organisationId
|
|
11345
11379
|
}, opts.hyperMediaEndpoint);
|
|
11346
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11380
|
+
return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11347
11381
|
path: pathOrganisationPractices(organisationId)
|
|
11348
11382
|
}), {
|
|
11349
11383
|
method: 'post',
|
|
@@ -11383,7 +11417,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
11383
11417
|
businessId: businessId,
|
|
11384
11418
|
practiceId: practiceId
|
|
11385
11419
|
}, opts.hyperMediaEndpoint);
|
|
11386
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11420
|
+
return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11387
11421
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11388
11422
|
}), {
|
|
11389
11423
|
method: 'delete'
|
|
@@ -11422,7 +11456,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11422
11456
|
organisationId: organisationId,
|
|
11423
11457
|
practiceId: practiceId
|
|
11424
11458
|
}, opts.hyperMediaEndpoint);
|
|
11425
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11459
|
+
return _context4.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11426
11460
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11427
11461
|
}), {
|
|
11428
11462
|
method: 'delete'
|
|
@@ -11461,7 +11495,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
11461
11495
|
businessId: businessId,
|
|
11462
11496
|
practiceId: practiceId
|
|
11463
11497
|
}, opts.hyperMediaEndpoint);
|
|
11464
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11498
|
+
return _context5.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11465
11499
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11466
11500
|
}), {
|
|
11467
11501
|
method: 'get'
|
|
@@ -11503,7 +11537,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
11503
11537
|
doesParamExist.default({
|
|
11504
11538
|
businessId: businessId
|
|
11505
11539
|
}, opts.hyperMediaEndpoint);
|
|
11506
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11540
|
+
return _context6.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11507
11541
|
path: pathBusinessPractices(businessId)
|
|
11508
11542
|
}), {
|
|
11509
11543
|
method: 'get',
|
|
@@ -11548,7 +11582,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
11548
11582
|
businessId: businessId,
|
|
11549
11583
|
formId: formId
|
|
11550
11584
|
}, opts.hyperMediaEndpoint);
|
|
11551
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11585
|
+
return _context7.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11552
11586
|
path: pathBusinessFormPractices(businessId, formId)
|
|
11553
11587
|
}), {
|
|
11554
11588
|
method: 'get',
|
|
@@ -11590,7 +11624,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
11590
11624
|
practiceId: practiceId,
|
|
11591
11625
|
query: query
|
|
11592
11626
|
}, opts.hyperMediaEndpoint);
|
|
11593
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11627
|
+
return _context8.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11594
11628
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
11595
11629
|
}), {
|
|
11596
11630
|
method: 'get',
|
|
@@ -11634,7 +11668,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
11634
11668
|
businessId: businessId,
|
|
11635
11669
|
staffId: staffId
|
|
11636
11670
|
}, opts.hyperMediaEndpoint);
|
|
11637
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11671
|
+
return _context9.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11638
11672
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
11639
11673
|
}), {
|
|
11640
11674
|
method: 'get',
|
|
@@ -11677,7 +11711,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
11677
11711
|
doesParamExist.default({
|
|
11678
11712
|
organisationId: organisationId
|
|
11679
11713
|
}, opts.hyperMediaEndpoint);
|
|
11680
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11714
|
+
return _context10.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11681
11715
|
path: pathOrganisationPractices(organisationId)
|
|
11682
11716
|
}), {
|
|
11683
11717
|
method: 'get',
|
|
@@ -11716,7 +11750,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
11716
11750
|
doesParamExist.default({
|
|
11717
11751
|
practiceId: practiceId
|
|
11718
11752
|
}, opts.hyperMediaEndpoint);
|
|
11719
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11753
|
+
return _context11.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11720
11754
|
path: pathPractice(practiceId)
|
|
11721
11755
|
}), {
|
|
11722
11756
|
method: 'get'
|
|
@@ -11745,7 +11779,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
11745
11779
|
opts = {};
|
|
11746
11780
|
}
|
|
11747
11781
|
|
|
11748
|
-
return request(_objectSpread$
|
|
11782
|
+
return request(_objectSpread$I({}, opts, {
|
|
11749
11783
|
path: pathPractice(practiceId) + "/verify/request"
|
|
11750
11784
|
}), {
|
|
11751
11785
|
method: 'post'
|
|
@@ -11763,7 +11797,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
11763
11797
|
opts = {};
|
|
11764
11798
|
}
|
|
11765
11799
|
|
|
11766
|
-
return request(_objectSpread$
|
|
11800
|
+
return request(_objectSpread$I({}, opts, {
|
|
11767
11801
|
path: pathPractice(practiceId) + "/access/request"
|
|
11768
11802
|
}), {
|
|
11769
11803
|
method: 'post',
|
|
@@ -11787,7 +11821,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
11787
11821
|
opts = {};
|
|
11788
11822
|
}
|
|
11789
11823
|
|
|
11790
|
-
return request(_objectSpread$
|
|
11824
|
+
return request(_objectSpread$I({}, opts, {
|
|
11791
11825
|
path: pathOnboardingPractices()
|
|
11792
11826
|
}), {
|
|
11793
11827
|
method: 'get',
|
|
@@ -11816,7 +11850,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
11816
11850
|
businessId: businessId,
|
|
11817
11851
|
practiceId: practiceId
|
|
11818
11852
|
}, opts.hyperMediaEndpoint);
|
|
11819
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11853
|
+
return _context12.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11820
11854
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11821
11855
|
}), {
|
|
11822
11856
|
method: 'put',
|
|
@@ -11857,7 +11891,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11857
11891
|
organisationId: organisationId,
|
|
11858
11892
|
practiceId: practiceId
|
|
11859
11893
|
}, opts.hyperMediaEndpoint);
|
|
11860
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11894
|
+
return _context13.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11861
11895
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11862
11896
|
}), {
|
|
11863
11897
|
method: 'put',
|
|
@@ -11889,11 +11923,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
11889
11923
|
opts = {};
|
|
11890
11924
|
}
|
|
11891
11925
|
|
|
11892
|
-
return request(_objectSpread$
|
|
11926
|
+
return request(_objectSpread$I({}, opts, {
|
|
11893
11927
|
path: pathPractice(practiceId) + "/verify"
|
|
11894
11928
|
}), {
|
|
11895
11929
|
method: 'post',
|
|
11896
|
-
data: _objectSpread$
|
|
11930
|
+
data: _objectSpread$I({}, body, {
|
|
11897
11931
|
otkCode: otkCode
|
|
11898
11932
|
})
|
|
11899
11933
|
});
|
|
@@ -11918,7 +11952,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
11918
11952
|
doesParamExist.default({
|
|
11919
11953
|
practiceId: practiceId
|
|
11920
11954
|
}, opts.hyperMediaEndpoint);
|
|
11921
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
11955
|
+
return _context14.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11922
11956
|
path: pathPractice(practiceId) + "/clone"
|
|
11923
11957
|
}), {
|
|
11924
11958
|
method: 'post',
|
|
@@ -11963,7 +11997,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
11963
11997
|
businessId: businessId,
|
|
11964
11998
|
formId: formId
|
|
11965
11999
|
}, opts.hyperMediaEndpoint);
|
|
11966
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
12000
|
+
return _context15.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11967
12001
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
11968
12002
|
}), {
|
|
11969
12003
|
method: 'get',
|
|
@@ -12006,9 +12040,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
12006
12040
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
12007
12041
|
});
|
|
12008
12042
|
|
|
12009
|
-
function ownKeys$
|
|
12043
|
+
function ownKeys$J(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12010
12044
|
|
|
12011
|
-
function _objectSpread$
|
|
12045
|
+
function _objectSpread$J(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$J(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12012
12046
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
12013
12047
|
/**
|
|
12014
12048
|
* Get practice types
|
|
@@ -12025,7 +12059,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
12025
12059
|
opts = {};
|
|
12026
12060
|
}
|
|
12027
12061
|
|
|
12028
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12062
|
+
return _context.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
12029
12063
|
path: PATH__PRACTICE_TYPES
|
|
12030
12064
|
}), {
|
|
12031
12065
|
method: 'get'
|
|
@@ -12049,9 +12083,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
12049
12083
|
getPracticeTypes: getPracticeTypes
|
|
12050
12084
|
});
|
|
12051
12085
|
|
|
12052
|
-
function ownKeys$
|
|
12086
|
+
function ownKeys$K(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12053
12087
|
|
|
12054
|
-
function _objectSpread$
|
|
12088
|
+
function _objectSpread$K(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$K(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$K(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12055
12089
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
12056
12090
|
return "/businesses/" + businessId + "/products";
|
|
12057
12091
|
};
|
|
@@ -12069,7 +12103,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
12069
12103
|
opts = {};
|
|
12070
12104
|
}
|
|
12071
12105
|
|
|
12072
|
-
return request(_objectSpread$
|
|
12106
|
+
return request(_objectSpread$K({}, opts, {
|
|
12073
12107
|
path: '/products'
|
|
12074
12108
|
}), {
|
|
12075
12109
|
method: 'get',
|
|
@@ -12091,7 +12125,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
12091
12125
|
doesParamExist.default({
|
|
12092
12126
|
businessId: businessId
|
|
12093
12127
|
});
|
|
12094
|
-
return request(_objectSpread$
|
|
12128
|
+
return request(_objectSpread$K({}, opts, {
|
|
12095
12129
|
path: pathBusinessProducts(businessId)
|
|
12096
12130
|
}), {
|
|
12097
12131
|
method: 'get',
|
|
@@ -12114,7 +12148,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
12114
12148
|
businessId: businessId,
|
|
12115
12149
|
productId: productId
|
|
12116
12150
|
});
|
|
12117
|
-
return request(_objectSpread$
|
|
12151
|
+
return request(_objectSpread$K({}, opts, {
|
|
12118
12152
|
path: pathBusinessProduct(businessId, productId)
|
|
12119
12153
|
}), {
|
|
12120
12154
|
method: 'get'
|
|
@@ -12130,9 +12164,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
12130
12164
|
getBusinessProduct: getBusinessProduct
|
|
12131
12165
|
});
|
|
12132
12166
|
|
|
12133
|
-
function ownKeys$
|
|
12167
|
+
function ownKeys$L(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12134
12168
|
|
|
12135
|
-
function _objectSpread$
|
|
12169
|
+
function _objectSpread$L(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$L(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$L(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12136
12170
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
12137
12171
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
12138
12172
|
};
|
|
@@ -12151,7 +12185,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
12151
12185
|
opts = {};
|
|
12152
12186
|
}
|
|
12153
12187
|
|
|
12154
|
-
return request(_objectSpread$
|
|
12188
|
+
return request(_objectSpread$L({}, opts, {
|
|
12155
12189
|
path: pathProfessionalCategories
|
|
12156
12190
|
}), {
|
|
12157
12191
|
method: 'get',
|
|
@@ -12173,7 +12207,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
12173
12207
|
doesParamExist.default({
|
|
12174
12208
|
businessId: businessId
|
|
12175
12209
|
});
|
|
12176
|
-
return request(_objectSpread$
|
|
12210
|
+
return request(_objectSpread$L({}, opts, {
|
|
12177
12211
|
path: pathBusinessProfessionalCategories(businessId)
|
|
12178
12212
|
}), {
|
|
12179
12213
|
method: 'get',
|
|
@@ -12194,7 +12228,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
12194
12228
|
doesParamExist.default({
|
|
12195
12229
|
professionalCategoryId: professionalCategoryId
|
|
12196
12230
|
});
|
|
12197
|
-
return request(_objectSpread$
|
|
12231
|
+
return request(_objectSpread$L({}, opts, {
|
|
12198
12232
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
12199
12233
|
}), {
|
|
12200
12234
|
method: 'get'
|
|
@@ -12211,9 +12245,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
12211
12245
|
getProfessionalCategory: getProfessionalCategory
|
|
12212
12246
|
});
|
|
12213
12247
|
|
|
12214
|
-
function ownKeys$
|
|
12248
|
+
function ownKeys$M(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12215
12249
|
|
|
12216
|
-
function _objectSpread$
|
|
12250
|
+
function _objectSpread$M(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$M(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$M(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12217
12251
|
|
|
12218
12252
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
12219
12253
|
return "/businesses/" + businessId + "/providerrequests";
|
|
@@ -12243,7 +12277,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
12243
12277
|
doesParamExist.default({
|
|
12244
12278
|
businessId: businessId
|
|
12245
12279
|
}, opts.hyperMediaEndpoint);
|
|
12246
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12280
|
+
return _context.abrupt("return", request(_objectSpread$M({}, opts, {
|
|
12247
12281
|
path: pathBusinessProviderRequests(businessId)
|
|
12248
12282
|
}), {
|
|
12249
12283
|
method: 'post',
|
|
@@ -12284,7 +12318,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
12284
12318
|
doesParamExist.default({
|
|
12285
12319
|
businessId: businessId
|
|
12286
12320
|
}, opts.hyperMediaEndpoint);
|
|
12287
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12321
|
+
return _context2.abrupt("return", request(_objectSpread$M({}, opts, {
|
|
12288
12322
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
12289
12323
|
}), {
|
|
12290
12324
|
method: 'post',
|
|
@@ -12312,9 +12346,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
12312
12346
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
12313
12347
|
});
|
|
12314
12348
|
|
|
12315
|
-
function ownKeys$
|
|
12349
|
+
function ownKeys$N(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12316
12350
|
|
|
12317
|
-
function _objectSpread$
|
|
12351
|
+
function _objectSpread$N(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$N(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12318
12352
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
12319
12353
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
12320
12354
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -12335,7 +12369,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
12335
12369
|
opts = {};
|
|
12336
12370
|
}
|
|
12337
12371
|
|
|
12338
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12372
|
+
return _context.abrupt("return", request(_objectSpread$N({}, opts, {
|
|
12339
12373
|
path: pathGetProviderRegistrationTypes
|
|
12340
12374
|
}), {
|
|
12341
12375
|
method: 'get',
|
|
@@ -12370,7 +12404,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
12370
12404
|
opts = {};
|
|
12371
12405
|
}
|
|
12372
12406
|
|
|
12373
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12407
|
+
return _context2.abrupt("return", request(_objectSpread$N({}, opts, {
|
|
12374
12408
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
12375
12409
|
}), {
|
|
12376
12410
|
method: 'get'
|
|
@@ -12397,9 +12431,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
12397
12431
|
getProviderRegistrationType: getProviderRegistrationType
|
|
12398
12432
|
});
|
|
12399
12433
|
|
|
12400
|
-
function ownKeys$
|
|
12434
|
+
function ownKeys$O(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12401
12435
|
|
|
12402
|
-
function _objectSpread$
|
|
12436
|
+
function _objectSpread$O(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$O(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$O(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12403
12437
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
12404
12438
|
return "/providernumbertypes";
|
|
12405
12439
|
};
|
|
@@ -12426,7 +12460,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
12426
12460
|
opts = {};
|
|
12427
12461
|
}
|
|
12428
12462
|
|
|
12429
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12463
|
+
return _context.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12430
12464
|
path: pathProviderNumberTypes()
|
|
12431
12465
|
}), {
|
|
12432
12466
|
method: 'get',
|
|
@@ -12464,7 +12498,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
12464
12498
|
doesParamExist.default({
|
|
12465
12499
|
providerNumberTypeId: providerNumberTypeId
|
|
12466
12500
|
}, opts.hyperMediaEndpoint);
|
|
12467
|
-
return request(_objectSpread$
|
|
12501
|
+
return request(_objectSpread$O({}, opts, {
|
|
12468
12502
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
12469
12503
|
}), {
|
|
12470
12504
|
method: 'get',
|
|
@@ -12480,9 +12514,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
12480
12514
|
getProviderNumberType: getProviderNumberType
|
|
12481
12515
|
});
|
|
12482
12516
|
|
|
12483
|
-
function ownKeys$
|
|
12517
|
+
function ownKeys$P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12484
12518
|
|
|
12485
|
-
function _objectSpread$
|
|
12519
|
+
function _objectSpread$P(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$P(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12486
12520
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
12487
12521
|
/**
|
|
12488
12522
|
* Get provider types
|
|
@@ -12499,7 +12533,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
12499
12533
|
opts = {};
|
|
12500
12534
|
}
|
|
12501
12535
|
|
|
12502
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12536
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12503
12537
|
path: PATH__PROVIDER_TYPES
|
|
12504
12538
|
}), {
|
|
12505
12539
|
method: 'get'
|
|
@@ -12523,16 +12557,16 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
12523
12557
|
getProviderTypes: getProviderTypes
|
|
12524
12558
|
});
|
|
12525
12559
|
|
|
12526
|
-
function ownKeys$
|
|
12560
|
+
function ownKeys$Q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12527
12561
|
|
|
12528
|
-
function _objectSpread$
|
|
12562
|
+
function _objectSpread$Q(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$Q(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$Q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12529
12563
|
var PATH__REF_SOURCES = '/refsources';
|
|
12530
12564
|
var getRefSources = function getRefSources(query, opts) {
|
|
12531
12565
|
if (opts === void 0) {
|
|
12532
12566
|
opts = {};
|
|
12533
12567
|
}
|
|
12534
12568
|
|
|
12535
|
-
return request(_objectSpread$
|
|
12569
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12536
12570
|
path: PATH__REF_SOURCES
|
|
12537
12571
|
}), {
|
|
12538
12572
|
method: 'get',
|
|
@@ -12546,9 +12580,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
12546
12580
|
getRefSources: getRefSources
|
|
12547
12581
|
});
|
|
12548
12582
|
|
|
12549
|
-
function ownKeys$
|
|
12583
|
+
function ownKeys$R(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12550
12584
|
|
|
12551
|
-
function _objectSpread$
|
|
12585
|
+
function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$R(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12552
12586
|
var PATH__TRANSACTIONS = '/transaction';
|
|
12553
12587
|
/**
|
|
12554
12588
|
* Get risk score
|
|
@@ -12569,7 +12603,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
12569
12603
|
doesParamExist.default({
|
|
12570
12604
|
transactionId: transactionId
|
|
12571
12605
|
}, opts.hyperMediaEndpoint);
|
|
12572
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12606
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12573
12607
|
apiName: 'risk',
|
|
12574
12608
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
12575
12609
|
}), {
|
|
@@ -12604,7 +12638,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
12604
12638
|
opts = {};
|
|
12605
12639
|
}
|
|
12606
12640
|
|
|
12607
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12641
|
+
return _context2.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12608
12642
|
apiName: 'risk',
|
|
12609
12643
|
path: PATH__TRANSACTIONS
|
|
12610
12644
|
}), {
|
|
@@ -12631,9 +12665,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
12631
12665
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
12632
12666
|
});
|
|
12633
12667
|
|
|
12634
|
-
function ownKeys$
|
|
12668
|
+
function ownKeys$S(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12635
12669
|
|
|
12636
|
-
function _objectSpread$
|
|
12670
|
+
function _objectSpread$S(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$S(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$S(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12637
12671
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
12638
12672
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
12639
12673
|
};
|
|
@@ -12667,7 +12701,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
12667
12701
|
doesParamExist.default({
|
|
12668
12702
|
businessId: businessId
|
|
12669
12703
|
}, opts.hyperMediaEndpoint);
|
|
12670
|
-
return request(_objectSpread$
|
|
12704
|
+
return request(_objectSpread$S({}, opts, {
|
|
12671
12705
|
path: pathBusinessesRNAs(businessId)
|
|
12672
12706
|
}), {
|
|
12673
12707
|
method: 'get',
|
|
@@ -12690,7 +12724,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
12690
12724
|
businessId: businessId,
|
|
12691
12725
|
rnaId: rnaId
|
|
12692
12726
|
}, opts.hyperMediaEndpoint);
|
|
12693
|
-
return request(_objectSpread$
|
|
12727
|
+
return request(_objectSpread$S({}, opts, {
|
|
12694
12728
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
12695
12729
|
}), {
|
|
12696
12730
|
method: 'get'
|
|
@@ -12711,7 +12745,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
12711
12745
|
doesParamExist.default({
|
|
12712
12746
|
businessId: businessId
|
|
12713
12747
|
}, opts.hyperMediaEndpoint);
|
|
12714
|
-
return request(_objectSpread$
|
|
12748
|
+
return request(_objectSpread$S({}, opts, {
|
|
12715
12749
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
12716
12750
|
}), {
|
|
12717
12751
|
method: 'get',
|
|
@@ -12726,7 +12760,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
12726
12760
|
doesParamExist.default({
|
|
12727
12761
|
healthFundId: healthFundId
|
|
12728
12762
|
}, opts.hyperMediaEndpoint);
|
|
12729
|
-
return request(_objectSpread$
|
|
12763
|
+
return request(_objectSpread$S({}, opts, {
|
|
12730
12764
|
path: pathHealthFundRNAs(healthFundId)
|
|
12731
12765
|
}), {
|
|
12732
12766
|
method: 'post',
|
|
@@ -12742,7 +12776,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
12742
12776
|
healthFundId: healthFundId,
|
|
12743
12777
|
rnaId: rnaId
|
|
12744
12778
|
}, opts.hyperMediaEndpoint);
|
|
12745
|
-
return request(_objectSpread$
|
|
12779
|
+
return request(_objectSpread$S({}, opts, {
|
|
12746
12780
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
12747
12781
|
}), {
|
|
12748
12782
|
method: 'post',
|
|
@@ -12758,7 +12792,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
12758
12792
|
healthFundId: healthFundId,
|
|
12759
12793
|
rnaId: rnaId
|
|
12760
12794
|
}, opts.hyperMediaEndpoint);
|
|
12761
|
-
return request(_objectSpread$
|
|
12795
|
+
return request(_objectSpread$S({}, opts, {
|
|
12762
12796
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
12763
12797
|
}), {
|
|
12764
12798
|
method: 'get',
|
|
@@ -12773,7 +12807,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
12773
12807
|
doesParamExist.default({
|
|
12774
12808
|
healthFundId: healthFundId
|
|
12775
12809
|
}, opts.hyperMediaEndpoint);
|
|
12776
|
-
return request(_objectSpread$
|
|
12810
|
+
return request(_objectSpread$S({}, opts, {
|
|
12777
12811
|
path: pathHealthFundRNAs(healthFundId)
|
|
12778
12812
|
}), {
|
|
12779
12813
|
method: 'get',
|
|
@@ -12790,7 +12824,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
12790
12824
|
rnaId: rnaId,
|
|
12791
12825
|
rnaAppointmentId: rnaAppointmentId
|
|
12792
12826
|
}, opts.hyperMediaEndpoint);
|
|
12793
|
-
return request(_objectSpread$
|
|
12827
|
+
return request(_objectSpread$S({}, opts, {
|
|
12794
12828
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
12795
12829
|
}), {
|
|
12796
12830
|
method: 'put',
|
|
@@ -12816,9 +12850,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
12816
12850
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
12817
12851
|
});
|
|
12818
12852
|
|
|
12819
|
-
function ownKeys$
|
|
12853
|
+
function ownKeys$T(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12820
12854
|
|
|
12821
|
-
function _objectSpread$
|
|
12855
|
+
function _objectSpread$T(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$T(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$T(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12822
12856
|
var PATH__ROLES = '/roles';
|
|
12823
12857
|
/**
|
|
12824
12858
|
* Get roles
|
|
@@ -12835,7 +12869,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
12835
12869
|
opts = {};
|
|
12836
12870
|
}
|
|
12837
12871
|
|
|
12838
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12872
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
12839
12873
|
path: PATH__ROLES
|
|
12840
12874
|
}), {
|
|
12841
12875
|
method: 'get'
|
|
@@ -12859,9 +12893,9 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
12859
12893
|
getRoles: getRoles
|
|
12860
12894
|
});
|
|
12861
12895
|
|
|
12862
|
-
function ownKeys$
|
|
12896
|
+
function ownKeys$U(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12863
12897
|
|
|
12864
|
-
function _objectSpread$
|
|
12898
|
+
function _objectSpread$U(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$U(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$U(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12865
12899
|
var PATH__SELF_CHECKOUT_SESSIONS = '/selfcheckoutsessions';
|
|
12866
12900
|
/**
|
|
12867
12901
|
* Create a self checkout session
|
|
@@ -12879,7 +12913,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12879
12913
|
opts = {};
|
|
12880
12914
|
}
|
|
12881
12915
|
|
|
12882
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12916
|
+
return _context.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12883
12917
|
path: PATH__SELF_CHECKOUT_SESSIONS
|
|
12884
12918
|
}), {
|
|
12885
12919
|
method: 'post',
|
|
@@ -12914,7 +12948,7 @@ var approve = /*#__PURE__*/function () {
|
|
|
12914
12948
|
opts = {};
|
|
12915
12949
|
}
|
|
12916
12950
|
|
|
12917
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12951
|
+
return _context2.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12918
12952
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
|
|
12919
12953
|
}), {
|
|
12920
12954
|
method: 'post',
|
|
@@ -12950,7 +12984,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
12950
12984
|
opts = {};
|
|
12951
12985
|
}
|
|
12952
12986
|
|
|
12953
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12987
|
+
return _context3.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12954
12988
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
|
|
12955
12989
|
}), {
|
|
12956
12990
|
method: 'post',
|
|
@@ -12986,7 +13020,7 @@ var cancelSession = /*#__PURE__*/function () {
|
|
|
12986
13020
|
opts = {};
|
|
12987
13021
|
}
|
|
12988
13022
|
|
|
12989
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
13023
|
+
return _context4.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12990
13024
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
|
|
12991
13025
|
}), {
|
|
12992
13026
|
method: 'post',
|
|
@@ -13021,7 +13055,7 @@ var createMyInvoice = /*#__PURE__*/function () {
|
|
|
13021
13055
|
opts = {};
|
|
13022
13056
|
}
|
|
13023
13057
|
|
|
13024
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
13058
|
+
return _context5.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13025
13059
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
|
|
13026
13060
|
}), {
|
|
13027
13061
|
method: 'post',
|
|
@@ -13055,7 +13089,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
|
|
|
13055
13089
|
opts = {};
|
|
13056
13090
|
}
|
|
13057
13091
|
|
|
13058
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
13092
|
+
return _context6.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13059
13093
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
|
|
13060
13094
|
}), {
|
|
13061
13095
|
method: 'post',
|
|
@@ -13095,7 +13129,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
|
|
|
13095
13129
|
nonce: nonce,
|
|
13096
13130
|
source: source
|
|
13097
13131
|
}, opts.hyperMediaEndpoint);
|
|
13098
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
13132
|
+
return _context7.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13099
13133
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13100
13134
|
}), {
|
|
13101
13135
|
method: 'post',
|
|
@@ -13133,7 +13167,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
13133
13167
|
opts = {};
|
|
13134
13168
|
}
|
|
13135
13169
|
|
|
13136
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
13170
|
+
return _context8.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13137
13171
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13138
13172
|
}), {
|
|
13139
13173
|
method: 'get',
|
|
@@ -13187,7 +13221,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
13187
13221
|
email: email,
|
|
13188
13222
|
memberId: memberId
|
|
13189
13223
|
});
|
|
13190
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
13224
|
+
return _context9.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13191
13225
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
|
|
13192
13226
|
}), {
|
|
13193
13227
|
method: 'get',
|
|
@@ -13224,7 +13258,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
13224
13258
|
opts = {};
|
|
13225
13259
|
}
|
|
13226
13260
|
|
|
13227
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13261
|
+
return _context10.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13228
13262
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
|
|
13229
13263
|
}), {
|
|
13230
13264
|
method: 'post',
|
|
@@ -13259,7 +13293,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13259
13293
|
opts = {};
|
|
13260
13294
|
}
|
|
13261
13295
|
|
|
13262
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
13296
|
+
return _context11.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13263
13297
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13264
13298
|
}), {
|
|
13265
13299
|
method: 'get',
|
|
@@ -13293,7 +13327,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
|
|
|
13293
13327
|
opts = {};
|
|
13294
13328
|
}
|
|
13295
13329
|
|
|
13296
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13330
|
+
return _context12.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13297
13331
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
|
|
13298
13332
|
}), {
|
|
13299
13333
|
method: 'get',
|
|
@@ -13327,7 +13361,7 @@ var rememberMe = /*#__PURE__*/function () {
|
|
|
13327
13361
|
opts = {};
|
|
13328
13362
|
}
|
|
13329
13363
|
|
|
13330
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13364
|
+
return _context13.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13331
13365
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
|
|
13332
13366
|
}), {
|
|
13333
13367
|
method: 'post',
|
|
@@ -13362,7 +13396,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13362
13396
|
opts = {};
|
|
13363
13397
|
}
|
|
13364
13398
|
|
|
13365
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13399
|
+
return _context14.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13366
13400
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13367
13401
|
}), {
|
|
13368
13402
|
method: 'put',
|
|
@@ -13401,7 +13435,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
13401
13435
|
doesParamExist.default({
|
|
13402
13436
|
accountId: accountId
|
|
13403
13437
|
}, opts.hyperMediaEndpoint);
|
|
13404
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13438
|
+
return _context15.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13405
13439
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
|
|
13406
13440
|
}), {
|
|
13407
13441
|
method: 'post',
|
|
@@ -13645,7 +13679,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13645
13679
|
}
|
|
13646
13680
|
|
|
13647
13681
|
_context18.next = 8;
|
|
13648
|
-
return sdk.healthfunds.getMedicareHealthFund(_objectSpread$
|
|
13682
|
+
return sdk.healthfunds.getMedicareHealthFund(_objectSpread$U({}, opts, {
|
|
13649
13683
|
requestConfig: {
|
|
13650
13684
|
tokenType: 'session'
|
|
13651
13685
|
}
|
|
@@ -13677,7 +13711,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13677
13711
|
break;
|
|
13678
13712
|
}
|
|
13679
13713
|
|
|
13680
|
-
healthFundAccountRequestBody = _objectSpread$
|
|
13714
|
+
healthFundAccountRequestBody = _objectSpread$U({
|
|
13681
13715
|
healthFundId: _get(healthFund, '_id')
|
|
13682
13716
|
}, data || {}); // If it's an existing account, delete their current health fund account (if any), and add the new one to their account.
|
|
13683
13717
|
|
|
@@ -13797,7 +13831,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
|
|
|
13797
13831
|
doesParamExist.default({
|
|
13798
13832
|
paymentMethodId: paymentMethodId
|
|
13799
13833
|
}, opts.hyperMediaEndpoint);
|
|
13800
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
13834
|
+
return _context19.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13801
13835
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
|
|
13802
13836
|
}), {
|
|
13803
13837
|
method: 'delete',
|
|
@@ -13840,9 +13874,9 @@ var selfCheckoutSessions = /*#__PURE__*/Object.freeze({
|
|
|
13840
13874
|
deletePaymentMethod: deletePaymentMethod
|
|
13841
13875
|
});
|
|
13842
13876
|
|
|
13843
|
-
function ownKeys$
|
|
13877
|
+
function ownKeys$V(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
13844
13878
|
|
|
13845
|
-
function _objectSpread$
|
|
13879
|
+
function _objectSpread$V(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$V(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$V(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13846
13880
|
|
|
13847
13881
|
var pathBusinessServices = function pathBusinessServices(businessId) {
|
|
13848
13882
|
return "/businesses/" + businessId + "/services";
|
|
@@ -13892,7 +13926,7 @@ var createBusinessService = /*#__PURE__*/function () {
|
|
|
13892
13926
|
doesParamExist.default({
|
|
13893
13927
|
businessId: businessId
|
|
13894
13928
|
}, opts.hyperMediaEndpoint);
|
|
13895
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13929
|
+
return _context.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13896
13930
|
path: "" + pathBusinessServices(businessId)
|
|
13897
13931
|
}), {
|
|
13898
13932
|
method: 'post',
|
|
@@ -13933,7 +13967,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13933
13967
|
businessId: businessId,
|
|
13934
13968
|
practiceId: practiceId
|
|
13935
13969
|
}, opts.hyperMediaEndpoint);
|
|
13936
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13970
|
+
return _context2.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13937
13971
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13938
13972
|
}), {
|
|
13939
13973
|
method: 'post',
|
|
@@ -13973,7 +14007,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
|
|
|
13973
14007
|
businessId: businessId,
|
|
13974
14008
|
serviceId: serviceId
|
|
13975
14009
|
}, opts.hyperMediaEndpoint);
|
|
13976
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
14010
|
+
return _context3.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13977
14011
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13978
14012
|
}), {
|
|
13979
14013
|
method: 'delete'
|
|
@@ -14012,7 +14046,7 @@ var getBusinessService = /*#__PURE__*/function () {
|
|
|
14012
14046
|
businessId: businessId,
|
|
14013
14047
|
serviceId: serviceId
|
|
14014
14048
|
}, opts.hyperMediaEndpoint);
|
|
14015
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
14049
|
+
return _context4.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14016
14050
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14017
14051
|
}), {
|
|
14018
14052
|
method: 'get'
|
|
@@ -14050,7 +14084,7 @@ var getBusinessServices = /*#__PURE__*/function () {
|
|
|
14050
14084
|
doesParamExist.default({
|
|
14051
14085
|
businessId: businessId
|
|
14052
14086
|
}, opts.hyperMediaEndpoint);
|
|
14053
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
14087
|
+
return _context5.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14054
14088
|
path: "" + pathBusinessServices(businessId)
|
|
14055
14089
|
}), {
|
|
14056
14090
|
method: 'get',
|
|
@@ -14092,7 +14126,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
14092
14126
|
practiceId: practiceId,
|
|
14093
14127
|
serviceId: serviceId
|
|
14094
14128
|
}, opts.hyperMediaEndpoint);
|
|
14095
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14129
|
+
return _context6.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14096
14130
|
path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
|
|
14097
14131
|
}), {
|
|
14098
14132
|
method: 'get'
|
|
@@ -14136,7 +14170,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
|
|
|
14136
14170
|
businessId: businessId,
|
|
14137
14171
|
practiceId: practiceId
|
|
14138
14172
|
}, opts.hyperMediaEndpoint);
|
|
14139
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
14173
|
+
return _context7.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14140
14174
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
14141
14175
|
}), {
|
|
14142
14176
|
method: 'get',
|
|
@@ -14183,7 +14217,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14183
14217
|
practiceId: practiceId,
|
|
14184
14218
|
staffId: staffId
|
|
14185
14219
|
}, opts.hyperMediaEndpoint);
|
|
14186
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
14220
|
+
return _context8.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14187
14221
|
path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
|
|
14188
14222
|
}), {
|
|
14189
14223
|
method: 'get',
|
|
@@ -14232,7 +14266,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
|
|
|
14232
14266
|
staffId: staffId,
|
|
14233
14267
|
serviceId: serviceId
|
|
14234
14268
|
}, opts.hyperMediaEndpoint);
|
|
14235
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
14269
|
+
return _context9.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14236
14270
|
path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
|
|
14237
14271
|
}), {
|
|
14238
14272
|
method: 'get',
|
|
@@ -14273,7 +14307,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14273
14307
|
opts = {};
|
|
14274
14308
|
}
|
|
14275
14309
|
|
|
14276
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
14310
|
+
return _context10.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14277
14311
|
path: "" + pathBusinessStaffMemberServices(businessId, staffId)
|
|
14278
14312
|
}), {
|
|
14279
14313
|
method: 'get',
|
|
@@ -14314,7 +14348,7 @@ var updateBusinessService = /*#__PURE__*/function () {
|
|
|
14314
14348
|
businessId: businessId,
|
|
14315
14349
|
serviceId: serviceId
|
|
14316
14350
|
}, opts.hyperMediaEndpoint);
|
|
14317
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14351
|
+
return _context11.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14318
14352
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14319
14353
|
}), {
|
|
14320
14354
|
method: 'put',
|
|
@@ -14349,9 +14383,9 @@ var services = /*#__PURE__*/Object.freeze({
|
|
|
14349
14383
|
updateBusinessService: updateBusinessService
|
|
14350
14384
|
});
|
|
14351
14385
|
|
|
14352
|
-
function ownKeys$
|
|
14386
|
+
function ownKeys$W(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14353
14387
|
|
|
14354
|
-
function _objectSpread$
|
|
14388
|
+
function _objectSpread$W(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$W(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$W(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14355
14389
|
|
|
14356
14390
|
var pathBusiness$1 = function pathBusiness(businessId) {
|
|
14357
14391
|
return "/businesses/" + businessId;
|
|
@@ -14376,7 +14410,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
|
|
|
14376
14410
|
doesParamExist.default({
|
|
14377
14411
|
businessId: businessId
|
|
14378
14412
|
}, opts.hyperMediaEndpoint);
|
|
14379
|
-
return request(_objectSpread$
|
|
14413
|
+
return request(_objectSpread$W({}, opts, {
|
|
14380
14414
|
path: pathBusiness$1(businessId) + "/settlements"
|
|
14381
14415
|
}), {
|
|
14382
14416
|
method: 'get',
|
|
@@ -14402,7 +14436,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
|
|
|
14402
14436
|
doesParamExist.default({
|
|
14403
14437
|
businessId: businessId
|
|
14404
14438
|
}, opts.hyperMediaEndpoint);
|
|
14405
|
-
return request(_objectSpread$
|
|
14439
|
+
return request(_objectSpread$W({}, opts, {
|
|
14406
14440
|
path: pathBusiness$1(businessId) + "/settlementsummaries"
|
|
14407
14441
|
}), {
|
|
14408
14442
|
method: 'get',
|
|
@@ -14428,7 +14462,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
|
|
|
14428
14462
|
doesParamExist.default({
|
|
14429
14463
|
businessId: businessId
|
|
14430
14464
|
}, opts.hyperMediaEndpoint);
|
|
14431
|
-
return request(_objectSpread$
|
|
14465
|
+
return request(_objectSpread$W({}, opts, {
|
|
14432
14466
|
path: pathBusiness$1(businessId) + "/settlementsummaries/period"
|
|
14433
14467
|
}), {
|
|
14434
14468
|
method: 'get',
|
|
@@ -14458,7 +14492,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
|
|
|
14458
14492
|
doesParamExist.default({
|
|
14459
14493
|
settlementSummaryId: settlementSummaryId
|
|
14460
14494
|
}, opts.hyperMediaEndpoint);
|
|
14461
|
-
return request(_objectSpread$
|
|
14495
|
+
return request(_objectSpread$W({}, opts, {
|
|
14462
14496
|
path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
|
|
14463
14497
|
}), {
|
|
14464
14498
|
method: 'get',
|
|
@@ -14474,9 +14508,9 @@ var settlements = /*#__PURE__*/Object.freeze({
|
|
|
14474
14508
|
getBusinessSettlementSummaryById: getBusinessSettlementSummaryById
|
|
14475
14509
|
});
|
|
14476
14510
|
|
|
14477
|
-
function ownKeys$
|
|
14511
|
+
function ownKeys$X(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14478
14512
|
|
|
14479
|
-
function _objectSpread$
|
|
14513
|
+
function _objectSpread$X(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$X(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$X(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14480
14514
|
var pathBusinessSignUp = function pathBusinessSignUp() {
|
|
14481
14515
|
return '/businesses/signup';
|
|
14482
14516
|
};
|
|
@@ -14488,7 +14522,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
|
|
|
14488
14522
|
opts = {};
|
|
14489
14523
|
}
|
|
14490
14524
|
|
|
14491
|
-
return request(_objectSpread$
|
|
14525
|
+
return request(_objectSpread$X({}, opts, {
|
|
14492
14526
|
path: pathBusinessSignUp()
|
|
14493
14527
|
}), {
|
|
14494
14528
|
method: 'post',
|
|
@@ -14500,7 +14534,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
|
|
|
14500
14534
|
opts = {};
|
|
14501
14535
|
}
|
|
14502
14536
|
|
|
14503
|
-
return request(_objectSpread$
|
|
14537
|
+
return request(_objectSpread$X({}, opts, {
|
|
14504
14538
|
path: pathSignUp()
|
|
14505
14539
|
}), {
|
|
14506
14540
|
method: 'post',
|
|
@@ -14516,9 +14550,9 @@ var signUp$1 = /*#__PURE__*/Object.freeze({
|
|
|
14516
14550
|
createConsumerAccount: createConsumerAccount
|
|
14517
14551
|
});
|
|
14518
14552
|
|
|
14519
|
-
function ownKeys$
|
|
14553
|
+
function ownKeys$Y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14520
14554
|
|
|
14521
|
-
function _objectSpread$
|
|
14555
|
+
function _objectSpread$Y(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$Y(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$Y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14522
14556
|
var pathBusinessSpecialties = function pathBusinessSpecialties(businessId) {
|
|
14523
14557
|
return "/businesses/" + businessId + "/specialties";
|
|
14524
14558
|
};
|
|
@@ -14537,7 +14571,7 @@ var getSpecialties = function getSpecialties(query, opts) {
|
|
|
14537
14571
|
opts = {};
|
|
14538
14572
|
}
|
|
14539
14573
|
|
|
14540
|
-
return request(_objectSpread$
|
|
14574
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14541
14575
|
path: pathSpecialties
|
|
14542
14576
|
}), {
|
|
14543
14577
|
method: 'get',
|
|
@@ -14559,7 +14593,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
|
|
|
14559
14593
|
doesParamExist.default({
|
|
14560
14594
|
businessId: businessId
|
|
14561
14595
|
});
|
|
14562
|
-
return request(_objectSpread$
|
|
14596
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14563
14597
|
path: pathBusinessSpecialties(businessId)
|
|
14564
14598
|
}), {
|
|
14565
14599
|
method: 'get',
|
|
@@ -14580,7 +14614,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
|
|
|
14580
14614
|
doesParamExist.default({
|
|
14581
14615
|
specialtyId: specialtyId
|
|
14582
14616
|
});
|
|
14583
|
-
return request(_objectSpread$
|
|
14617
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14584
14618
|
path: pathSpecialty(specialtyId)
|
|
14585
14619
|
}), {
|
|
14586
14620
|
method: 'get'
|
|
@@ -14597,9 +14631,9 @@ var specialties = /*#__PURE__*/Object.freeze({
|
|
|
14597
14631
|
getSpecialty: getSpecialty
|
|
14598
14632
|
});
|
|
14599
14633
|
|
|
14600
|
-
function ownKeys$
|
|
14634
|
+
function ownKeys$Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14601
14635
|
|
|
14602
|
-
function _objectSpread$
|
|
14636
|
+
function _objectSpread$Z(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$Z(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14603
14637
|
var pathLinkStaffProfile = function pathLinkStaffProfile(staffProfileId) {
|
|
14604
14638
|
return "/staffprofiles/" + staffProfileId + "/link";
|
|
14605
14639
|
};
|
|
@@ -14620,7 +14654,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
|
|
|
14620
14654
|
doesParamExist.default({
|
|
14621
14655
|
organisationId: organisationId
|
|
14622
14656
|
}, opts.hyperMediaEndpoint);
|
|
14623
|
-
return request(_objectSpread$
|
|
14657
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14624
14658
|
path: pathOrganisationStaffProfiles(organisationId)
|
|
14625
14659
|
}), {
|
|
14626
14660
|
method: 'get',
|
|
@@ -14635,7 +14669,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
|
|
|
14635
14669
|
doesParamExist.default({
|
|
14636
14670
|
staffProfileId: staffProfileId
|
|
14637
14671
|
}, opts.hyperMediaEndpoint);
|
|
14638
|
-
return request(_objectSpread$
|
|
14672
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14639
14673
|
path: pathStaffProfile(staffProfileId)
|
|
14640
14674
|
}), {
|
|
14641
14675
|
method: 'get'
|
|
@@ -14653,7 +14687,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
|
|
|
14653
14687
|
var body = {
|
|
14654
14688
|
staffId: staffId
|
|
14655
14689
|
};
|
|
14656
|
-
return request(_objectSpread$
|
|
14690
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14657
14691
|
path: pathLinkStaffProfile(staffProfileId)
|
|
14658
14692
|
}), {
|
|
14659
14693
|
method: 'put',
|
|
@@ -14668,7 +14702,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
|
|
|
14668
14702
|
doesParamExist.default({
|
|
14669
14703
|
staffProfileId: staffProfileId
|
|
14670
14704
|
}, opts.hyperMediaEndpoint);
|
|
14671
|
-
return request(_objectSpread$
|
|
14705
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14672
14706
|
path: pathUnlinkStaffProfile(staffProfileId)
|
|
14673
14707
|
}), {
|
|
14674
14708
|
method: 'put'
|
|
@@ -14687,9 +14721,9 @@ var staffProfiles = /*#__PURE__*/Object.freeze({
|
|
|
14687
14721
|
unlinkStaffProfile: unlinkStaffProfile
|
|
14688
14722
|
});
|
|
14689
14723
|
|
|
14690
|
-
function ownKeys$
|
|
14724
|
+
function ownKeys$_(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14691
14725
|
|
|
14692
|
-
function _objectSpread$
|
|
14726
|
+
function _objectSpread$_(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$_(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14693
14727
|
|
|
14694
14728
|
var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
|
|
14695
14729
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
|
|
@@ -14756,7 +14790,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14756
14790
|
doesParamExist.default({
|
|
14757
14791
|
businessId: businessId
|
|
14758
14792
|
}, opts.hyperMediaEndpoint);
|
|
14759
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
14793
|
+
return _context.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14760
14794
|
path: pathBusinessStaff(businessId)
|
|
14761
14795
|
}), {
|
|
14762
14796
|
method: 'post',
|
|
@@ -14795,7 +14829,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
14795
14829
|
doesParamExist.default({
|
|
14796
14830
|
organisationId: organisationId
|
|
14797
14831
|
}, opts.hyperMediaEndpoint);
|
|
14798
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
14832
|
+
return _context2.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14799
14833
|
path: pathOrganisationStaff(organisationId)
|
|
14800
14834
|
}), {
|
|
14801
14835
|
method: 'post',
|
|
@@ -14835,7 +14869,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14835
14869
|
businessId: businessId,
|
|
14836
14870
|
staffId: staffId
|
|
14837
14871
|
}, opts.hyperMediaEndpoint);
|
|
14838
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
14872
|
+
return _context3.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14839
14873
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14840
14874
|
}), {
|
|
14841
14875
|
method: 'delete'
|
|
@@ -14874,7 +14908,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
14874
14908
|
businessId: businessId,
|
|
14875
14909
|
staffId: staffId
|
|
14876
14910
|
}, opts.hyperMediaEndpoint);
|
|
14877
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
14911
|
+
return _context4.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14878
14912
|
path: pathBusinessStaffMember(businessId, staffId) + "/email"
|
|
14879
14913
|
}), {
|
|
14880
14914
|
method: 'delete'
|
|
@@ -14913,7 +14947,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14913
14947
|
businessId: businessId,
|
|
14914
14948
|
staffId: staffId
|
|
14915
14949
|
}, opts.hyperMediaEndpoint);
|
|
14916
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
14950
|
+
return _context5.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14917
14951
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14918
14952
|
}), {
|
|
14919
14953
|
method: 'get'
|
|
@@ -14953,7 +14987,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
|
|
|
14953
14987
|
businessId: businessId,
|
|
14954
14988
|
staffId: staffId
|
|
14955
14989
|
}, opts.hyperMediaEndpoint);
|
|
14956
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14990
|
+
return _context6.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14957
14991
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
14958
14992
|
}), {
|
|
14959
14993
|
method: 'get',
|
|
@@ -14997,7 +15031,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
|
|
|
14997
15031
|
practiceId: practiceId,
|
|
14998
15032
|
staffId: staffId
|
|
14999
15033
|
}, opts.hyperMediaEndpoint);
|
|
15000
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
15034
|
+
return _context7.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15001
15035
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
|
|
15002
15036
|
}), {
|
|
15003
15037
|
method: 'get'
|
|
@@ -15043,7 +15077,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
|
|
|
15043
15077
|
practiceId: practiceId,
|
|
15044
15078
|
staffId: staffId
|
|
15045
15079
|
}, opts.hyperMediaEndpoint);
|
|
15046
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
15080
|
+
return _context8.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15047
15081
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
|
|
15048
15082
|
}), {
|
|
15049
15083
|
method: 'get',
|
|
@@ -15084,7 +15118,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15084
15118
|
businessId: businessId,
|
|
15085
15119
|
practiceId: practiceId
|
|
15086
15120
|
}, opts.hyperMediaEndpoint);
|
|
15087
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
15121
|
+
return _context9.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15088
15122
|
path: pathBusinessPracticeStaffMembers(businessId, practiceId)
|
|
15089
15123
|
}), {
|
|
15090
15124
|
method: 'get',
|
|
@@ -15127,7 +15161,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15127
15161
|
formId: formId,
|
|
15128
15162
|
practiceId: practiceId
|
|
15129
15163
|
}, opts.hyperMediaEndpoint);
|
|
15130
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
15164
|
+
return _context10.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15131
15165
|
path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
|
|
15132
15166
|
}), {
|
|
15133
15167
|
method: 'get',
|
|
@@ -15172,7 +15206,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
|
|
|
15172
15206
|
businessId: businessId,
|
|
15173
15207
|
serviceId: serviceId
|
|
15174
15208
|
}, opts.hyperMediaEndpoint);
|
|
15175
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
15209
|
+
return _context11.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15176
15210
|
path: pathBusinessServiceStaffMembers(businessId, serviceId)
|
|
15177
15211
|
}), {
|
|
15178
15212
|
method: 'get',
|
|
@@ -15209,7 +15243,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
|
|
|
15209
15243
|
doesParamExist.default({
|
|
15210
15244
|
businessId: businessId
|
|
15211
15245
|
}, opts.hyperMediaEndpoint);
|
|
15212
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
15246
|
+
return _context12.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15213
15247
|
path: pathBusinessStaff(businessId)
|
|
15214
15248
|
}), {
|
|
15215
15249
|
method: 'get',
|
|
@@ -15251,7 +15285,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
|
|
|
15251
15285
|
staffId: staffId,
|
|
15252
15286
|
contentType: contentType
|
|
15253
15287
|
}, opts.hyperMediaEndpoint);
|
|
15254
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
15288
|
+
return _context13.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15255
15289
|
path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
|
|
15256
15290
|
}), {
|
|
15257
15291
|
method: 'get',
|
|
@@ -15295,7 +15329,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
|
|
|
15295
15329
|
doesParamExist.default({
|
|
15296
15330
|
organisationId: organisationId
|
|
15297
15331
|
}, opts.hyperMediaEndpoint);
|
|
15298
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
15332
|
+
return _context14.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15299
15333
|
path: pathOrganisationStaff(organisationId)
|
|
15300
15334
|
}), {
|
|
15301
15335
|
method: 'get',
|
|
@@ -15333,7 +15367,7 @@ var getStaffMember = /*#__PURE__*/function () {
|
|
|
15333
15367
|
doesParamExist.default({
|
|
15334
15368
|
staffId: staffId
|
|
15335
15369
|
}, opts.hyperMediaEndpoint);
|
|
15336
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
15370
|
+
return _context15.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15337
15371
|
path: pathStaffMember(staffId)
|
|
15338
15372
|
}), {
|
|
15339
15373
|
method: 'get'
|
|
@@ -15375,7 +15409,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15375
15409
|
practiceId: practiceId,
|
|
15376
15410
|
staffId: staffId
|
|
15377
15411
|
}, opts.hyperMediaEndpoint);
|
|
15378
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
15412
|
+
return _context16.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15379
15413
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15380
15414
|
}), {
|
|
15381
15415
|
method: 'post',
|
|
@@ -15419,11 +15453,11 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15419
15453
|
businessId: businessId,
|
|
15420
15454
|
staffId: staffId
|
|
15421
15455
|
}, opts.hyperMediaEndpoint);
|
|
15422
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
15456
|
+
return _context17.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15423
15457
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15424
15458
|
}), {
|
|
15425
15459
|
method: 'post',
|
|
15426
|
-
data: _objectSpread$
|
|
15460
|
+
data: _objectSpread$_({
|
|
15427
15461
|
roleFullName: roleFullName
|
|
15428
15462
|
}, body)
|
|
15429
15463
|
}));
|
|
@@ -15460,7 +15494,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15460
15494
|
doesParamExist.default({
|
|
15461
15495
|
businessId: businessId
|
|
15462
15496
|
}, opts.hyperMediaEndpoint);
|
|
15463
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
15497
|
+
return _context18.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15464
15498
|
path: pathBusinessStaff(businessId) + "/invites"
|
|
15465
15499
|
}), {
|
|
15466
15500
|
method: 'post',
|
|
@@ -15505,7 +15539,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15505
15539
|
doesParamExist.default({
|
|
15506
15540
|
businessId: businessId
|
|
15507
15541
|
}, opts.hyperMediaEndpoint);
|
|
15508
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
15542
|
+
return _context19.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15509
15543
|
path: pathBusinessStaffMember(businessId, staffId) + "/invites"
|
|
15510
15544
|
}), {
|
|
15511
15545
|
method: 'post',
|
|
@@ -15548,7 +15582,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15548
15582
|
practiceId: practiceId,
|
|
15549
15583
|
staffId: staffId
|
|
15550
15584
|
}, opts.hyperMediaEndpoint);
|
|
15551
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
15585
|
+
return _context20.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15552
15586
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15553
15587
|
}), {
|
|
15554
15588
|
method: 'delete',
|
|
@@ -15592,11 +15626,11 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15592
15626
|
businessId: businessId,
|
|
15593
15627
|
staffId: staffId
|
|
15594
15628
|
}, opts.hyperMediaEndpoint);
|
|
15595
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
15629
|
+
return _context21.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15596
15630
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15597
15631
|
}), {
|
|
15598
15632
|
method: 'delete',
|
|
15599
|
-
data: _objectSpread$
|
|
15633
|
+
data: _objectSpread$_({
|
|
15600
15634
|
roleFullName: roleFullName
|
|
15601
15635
|
}, body)
|
|
15602
15636
|
}));
|
|
@@ -15635,7 +15669,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15635
15669
|
businessId: businessId,
|
|
15636
15670
|
staffId: staffId
|
|
15637
15671
|
}, opts.hyperMediaEndpoint);
|
|
15638
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
15672
|
+
return _context22.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15639
15673
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
15640
15674
|
}), {
|
|
15641
15675
|
method: 'put',
|
|
@@ -15676,7 +15710,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
15676
15710
|
businessId: businessId,
|
|
15677
15711
|
staffId: staffId
|
|
15678
15712
|
}, opts.hyperMediaEndpoint);
|
|
15679
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
15713
|
+
return _context23.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15680
15714
|
path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
|
|
15681
15715
|
}), {
|
|
15682
15716
|
method: 'post',
|
|
@@ -15717,7 +15751,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
15717
15751
|
organisationId: organisationId,
|
|
15718
15752
|
staffId: staffId
|
|
15719
15753
|
}, opts.hyperMediaEndpoint);
|
|
15720
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
15754
|
+
return _context24.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15721
15755
|
path: pathOrganisationStaffMember(organisationId, staffId)
|
|
15722
15756
|
}), {
|
|
15723
15757
|
method: 'put',
|
|
@@ -15756,7 +15790,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
|
|
|
15756
15790
|
doesParamExist.default({
|
|
15757
15791
|
staffId: staffId
|
|
15758
15792
|
}, opts.hyperMediaEndpoint);
|
|
15759
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
15793
|
+
return _context25.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15760
15794
|
path: pathStaffMember(staffId) + "/verify"
|
|
15761
15795
|
}), {
|
|
15762
15796
|
method: 'post',
|
|
@@ -15795,7 +15829,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
|
|
|
15795
15829
|
doesParamExist.default({
|
|
15796
15830
|
staffId: staffId
|
|
15797
15831
|
}, opts.hyperMediaEndpoint);
|
|
15798
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
15832
|
+
return _context26.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15799
15833
|
path: pathStaffMember(staffId) + "/clone"
|
|
15800
15834
|
}), {
|
|
15801
15835
|
method: 'post',
|
|
@@ -15829,7 +15863,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
|
|
|
15829
15863
|
doesParamExist.default({
|
|
15830
15864
|
businessId: businessId
|
|
15831
15865
|
}, opts.hyperMediaEndpoint);
|
|
15832
|
-
return request(_objectSpread$
|
|
15866
|
+
return request(_objectSpread$_({}, opts, {
|
|
15833
15867
|
path: pathBusinessStaff(businessId) + "/exists"
|
|
15834
15868
|
}), {
|
|
15835
15869
|
method: 'get',
|
|
@@ -15858,7 +15892,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15858
15892
|
businessId: businessId,
|
|
15859
15893
|
staffId: staffId
|
|
15860
15894
|
}, opts.hyperMediaEndpoint);
|
|
15861
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
15895
|
+
return _context27.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15862
15896
|
path: "" + pathProviderSetItems(businessId, staffId)
|
|
15863
15897
|
}), {
|
|
15864
15898
|
method: 'post',
|
|
@@ -15901,7 +15935,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15901
15935
|
staffId: staffId,
|
|
15902
15936
|
providerSetItemId: providerSetItemId
|
|
15903
15937
|
}, opts.hyperMediaEndpoint);
|
|
15904
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
15938
|
+
return _context28.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15905
15939
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15906
15940
|
}), {
|
|
15907
15941
|
method: 'put',
|
|
@@ -15943,7 +15977,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15943
15977
|
staffId: staffId,
|
|
15944
15978
|
providerSetItemId: providerSetItemId
|
|
15945
15979
|
}, opts.hyperMediaEndpoint);
|
|
15946
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
15980
|
+
return _context29.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15947
15981
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15948
15982
|
}), {
|
|
15949
15983
|
method: 'delete'
|
|
@@ -15976,11 +16010,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
|
|
|
15976
16010
|
doesParamExist.default({
|
|
15977
16011
|
businessId: businessId
|
|
15978
16012
|
}, opts.hyperMediaEndpoint);
|
|
15979
|
-
return request(_objectSpread$
|
|
16013
|
+
return request(_objectSpread$_({}, opts, {
|
|
15980
16014
|
path: pathProvidersStatus
|
|
15981
16015
|
}), {
|
|
15982
16016
|
method: 'get',
|
|
15983
|
-
params: _objectSpread$
|
|
16017
|
+
params: _objectSpread$_({}, query, {
|
|
15984
16018
|
businessId: businessId
|
|
15985
16019
|
})
|
|
15986
16020
|
});
|
|
@@ -16021,9 +16055,9 @@ var staff = /*#__PURE__*/Object.freeze({
|
|
|
16021
16055
|
getProvidersStatus: getProvidersStatus
|
|
16022
16056
|
});
|
|
16023
16057
|
|
|
16024
|
-
function ownKeys
|
|
16058
|
+
function ownKeys$$(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
16025
16059
|
|
|
16026
|
-
function _objectSpread
|
|
16060
|
+
function _objectSpread$$(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$$(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
16027
16061
|
|
|
16028
16062
|
var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
|
|
16029
16063
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
|
|
@@ -16075,11 +16109,11 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16075
16109
|
doesParamExist.default({
|
|
16076
16110
|
healthFundId: healthFundId
|
|
16077
16111
|
}, opts.hyperMediaEndpoint);
|
|
16078
|
-
return _context.abrupt("return", request(_objectSpread
|
|
16112
|
+
return _context.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16079
16113
|
path: pathTransactionStatsForHealthFundId(healthFundId)
|
|
16080
16114
|
}), {
|
|
16081
16115
|
method: 'get',
|
|
16082
|
-
params: _objectSpread
|
|
16116
|
+
params: _objectSpread$$({
|
|
16083
16117
|
from: from,
|
|
16084
16118
|
to: to
|
|
16085
16119
|
}, query)
|
|
@@ -16123,11 +16157,11 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
|
|
|
16123
16157
|
doesParamExist.default({
|
|
16124
16158
|
healthFundId: healthFundId
|
|
16125
16159
|
}, opts.hyperMediaEndpoint);
|
|
16126
|
-
return _context2.abrupt("return", request(_objectSpread
|
|
16160
|
+
return _context2.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16127
16161
|
path: pathTransactionStatsCSVForHealthFundId(healthFundId)
|
|
16128
16162
|
}), {
|
|
16129
16163
|
method: 'get',
|
|
16130
|
-
params: _objectSpread
|
|
16164
|
+
params: _objectSpread$$({
|
|
16131
16165
|
from: from,
|
|
16132
16166
|
to: to
|
|
16133
16167
|
}, query)
|
|
@@ -16171,11 +16205,11 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16171
16205
|
doesParamExist.default({
|
|
16172
16206
|
healthFundId: healthFundId
|
|
16173
16207
|
}, opts.hyperMediaEndpoint);
|
|
16174
|
-
return _context3.abrupt("return", request(_objectSpread
|
|
16208
|
+
return _context3.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16175
16209
|
path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
|
|
16176
16210
|
}), {
|
|
16177
16211
|
method: 'get',
|
|
16178
|
-
params: _objectSpread
|
|
16212
|
+
params: _objectSpread$$({
|
|
16179
16213
|
from: from,
|
|
16180
16214
|
to: to
|
|
16181
16215
|
}, query)
|
|
@@ -16219,11 +16253,11 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
|
|
|
16219
16253
|
doesParamExist.default({
|
|
16220
16254
|
businessId: businessId
|
|
16221
16255
|
}, opts.hyperMediaEndpoint);
|
|
16222
|
-
return _context4.abrupt("return", request(_objectSpread
|
|
16256
|
+
return _context4.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16223
16257
|
path: pathTransactionStatsForBusiness(businessId)
|
|
16224
16258
|
}), {
|
|
16225
16259
|
method: 'get',
|
|
16226
|
-
params: _objectSpread
|
|
16260
|
+
params: _objectSpread$$({
|
|
16227
16261
|
from: from,
|
|
16228
16262
|
to: to
|
|
16229
16263
|
}, query)
|
|
@@ -16269,11 +16303,11 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
|
|
|
16269
16303
|
businessId: businessId,
|
|
16270
16304
|
practiceId: practiceId
|
|
16271
16305
|
}, opts.hyperMediaEndpoint);
|
|
16272
|
-
return _context5.abrupt("return", request(_objectSpread
|
|
16306
|
+
return _context5.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16273
16307
|
path: pathTransactionStatsForPractice(businessId, practiceId)
|
|
16274
16308
|
}), {
|
|
16275
16309
|
method: 'get',
|
|
16276
|
-
params: _objectSpread
|
|
16310
|
+
params: _objectSpread$$({
|
|
16277
16311
|
from: from,
|
|
16278
16312
|
to: to
|
|
16279
16313
|
}, query)
|
|
@@ -16317,11 +16351,11 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
|
|
|
16317
16351
|
doesParamExist.default({
|
|
16318
16352
|
organisationId: organisationId
|
|
16319
16353
|
}, opts.hyperMediaEndpoint);
|
|
16320
|
-
return _context6.abrupt("return", request(_objectSpread
|
|
16354
|
+
return _context6.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16321
16355
|
path: pathTransactionStatsForOrganisation(organisationId)
|
|
16322
16356
|
}), {
|
|
16323
16357
|
method: 'get',
|
|
16324
|
-
params: _objectSpread
|
|
16358
|
+
params: _objectSpread$$({
|
|
16325
16359
|
from: from,
|
|
16326
16360
|
to: to
|
|
16327
16361
|
}, query)
|
|
@@ -16350,9 +16384,9 @@ var statistics = /*#__PURE__*/Object.freeze({
|
|
|
16350
16384
|
getTransactionStatsForOrganisation: getTransactionStatsForOrganisation
|
|
16351
16385
|
});
|
|
16352
16386
|
|
|
16353
|
-
function ownKeys
|
|
16387
|
+
function ownKeys$10(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
16354
16388
|
|
|
16355
|
-
function _objectSpread
|
|
16389
|
+
function _objectSpread$10(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$10(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$10(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
16356
16390
|
var pathBusinessSubscriptions = function pathBusinessSubscriptions(businessId) {
|
|
16357
16391
|
return "/businesses/" + businessId + "/subscriptions";
|
|
16358
16392
|
};
|
|
@@ -16374,7 +16408,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
|
|
|
16374
16408
|
doesParamExist.default({
|
|
16375
16409
|
businessId: businessId
|
|
16376
16410
|
});
|
|
16377
|
-
return request(_objectSpread
|
|
16411
|
+
return request(_objectSpread$10({}, opts, {
|
|
16378
16412
|
path: pathBusinessSubscriptions(businessId)
|
|
16379
16413
|
}), {
|
|
16380
16414
|
method: 'post',
|
|
@@ -16396,7 +16430,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
|
|
|
16396
16430
|
doesParamExist.default({
|
|
16397
16431
|
businessId: businessId
|
|
16398
16432
|
});
|
|
16399
|
-
return request(_objectSpread
|
|
16433
|
+
return request(_objectSpread$10({}, opts, {
|
|
16400
16434
|
path: pathBusinessSubscriptions(businessId)
|
|
16401
16435
|
}), {
|
|
16402
16436
|
method: 'get',
|
|
@@ -16419,7 +16453,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
|
|
|
16419
16453
|
businessId: businessId,
|
|
16420
16454
|
subscriptionId: subscriptionId
|
|
16421
16455
|
});
|
|
16422
|
-
return request(_objectSpread
|
|
16456
|
+
return request(_objectSpread$10({}, opts, {
|
|
16423
16457
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16424
16458
|
}), {
|
|
16425
16459
|
method: 'get'
|
|
@@ -16442,7 +16476,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
|
|
|
16442
16476
|
businessId: businessId,
|
|
16443
16477
|
subscriptionId: subscriptionId
|
|
16444
16478
|
});
|
|
16445
|
-
return request(_objectSpread
|
|
16479
|
+
return request(_objectSpread$10({}, opts, {
|
|
16446
16480
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16447
16481
|
}), {
|
|
16448
16482
|
method: 'put',
|
|
@@ -16460,9 +16494,9 @@ var subscriptions = /*#__PURE__*/Object.freeze({
|
|
|
16460
16494
|
updateBusinessSubscription: updateBusinessSubscription
|
|
16461
16495
|
});
|
|
16462
16496
|
|
|
16463
|
-
function ownKeys$
|
|
16497
|
+
function ownKeys$11(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
16464
16498
|
|
|
16465
|
-
function _objectSpread$
|
|
16499
|
+
function _objectSpread$11(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$11(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$11(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
16466
16500
|
var pathTerminalsByBusinessId = function pathTerminalsByBusinessId(businessId) {
|
|
16467
16501
|
return "/businesses/" + businessId + "/terminals";
|
|
16468
16502
|
};
|
|
@@ -16500,7 +16534,7 @@ var registerTerminal = /*#__PURE__*/function () {
|
|
|
16500
16534
|
businessId: businessId,
|
|
16501
16535
|
practiceId: practiceId
|
|
16502
16536
|
}, opts.hyperMediaEndpoint);
|
|
16503
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16537
|
+
return _context.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16504
16538
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16505
16539
|
}), {
|
|
16506
16540
|
method: 'post',
|
|
@@ -16539,7 +16573,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
|
|
|
16539
16573
|
doesParamExist.default({
|
|
16540
16574
|
businessId: businessId
|
|
16541
16575
|
}, opts.hyperMediaEndpoint);
|
|
16542
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16576
|
+
return _context2.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16543
16577
|
path: pathTerminalsByBusinessId(businessId)
|
|
16544
16578
|
}), {
|
|
16545
16579
|
method: 'get',
|
|
@@ -16580,7 +16614,7 @@ var getTerminals = /*#__PURE__*/function () {
|
|
|
16580
16614
|
businessId: businessId,
|
|
16581
16615
|
practiceId: practiceId
|
|
16582
16616
|
}, opts.hyperMediaEndpoint);
|
|
16583
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16617
|
+
return _context3.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16584
16618
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16585
16619
|
}), {
|
|
16586
16620
|
method: 'get',
|
|
@@ -16623,7 +16657,7 @@ var getTerminal = /*#__PURE__*/function () {
|
|
|
16623
16657
|
practiceId: practiceId,
|
|
16624
16658
|
terminalId: terminalId
|
|
16625
16659
|
}, opts.hyperMediaEndpoint);
|
|
16626
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16660
|
+
return _context4.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16627
16661
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16628
16662
|
}), {
|
|
16629
16663
|
method: 'get'
|
|
@@ -16665,7 +16699,7 @@ var updateTerminal = /*#__PURE__*/function () {
|
|
|
16665
16699
|
practiceId: practiceId,
|
|
16666
16700
|
terminalId: terminalId
|
|
16667
16701
|
}, opts.hyperMediaEndpoint);
|
|
16668
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16702
|
+
return _context5.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16669
16703
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16670
16704
|
}), {
|
|
16671
16705
|
method: 'put',
|
|
@@ -16707,7 +16741,7 @@ var deleteTerminal = /*#__PURE__*/function () {
|
|
|
16707
16741
|
practiceId: practiceId,
|
|
16708
16742
|
terminalId: terminalId
|
|
16709
16743
|
}, opts.hyperMediaEndpoint);
|
|
16710
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16744
|
+
return _context6.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16711
16745
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16712
16746
|
}), {
|
|
16713
16747
|
method: 'delete'
|
|
@@ -16746,7 +16780,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
16746
16780
|
businessId: businessId,
|
|
16747
16781
|
practiceId: practiceId
|
|
16748
16782
|
}, opts.hyperMediaEndpoint);
|
|
16749
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
16783
|
+
return _context7.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16750
16784
|
path: pathClientTokenByPracticeId(businessId, practiceId)
|
|
16751
16785
|
}), {
|
|
16752
16786
|
method: 'get'
|
|
@@ -16788,7 +16822,7 @@ var resetTerminal = /*#__PURE__*/function () {
|
|
|
16788
16822
|
practiceId: practiceId,
|
|
16789
16823
|
terminalId: terminalId
|
|
16790
16824
|
}, opts.hyperMediaEndpoint);
|
|
16791
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
16825
|
+
return _context8.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16792
16826
|
path: pathResetTerminal(businessId, practiceId, terminalId)
|
|
16793
16827
|
}), {
|
|
16794
16828
|
method: 'post',
|
|
@@ -16825,9 +16859,9 @@ var terminals = /*#__PURE__*/Object.freeze({
|
|
|
16825
16859
|
resetTerminal: resetTerminal
|
|
16826
16860
|
});
|
|
16827
16861
|
|
|
16828
|
-
function ownKeys$
|
|
16862
|
+
function ownKeys$12(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
16829
16863
|
|
|
16830
|
-
function _objectSpread$
|
|
16864
|
+
function _objectSpread$12(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$12(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$12(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
16831
16865
|
var pathCreateHealthFundTransactionExport = function pathCreateHealthFundTransactionExport(healthFundId) {
|
|
16832
16866
|
return "/healthfunds/" + healthFundId + "/transactionexport";
|
|
16833
16867
|
};
|
|
@@ -16854,7 +16888,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16854
16888
|
doesParamExist.default({
|
|
16855
16889
|
healthFundId: healthFundId
|
|
16856
16890
|
}, opts.hyperMediaEndpoint);
|
|
16857
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16891
|
+
return _context.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16858
16892
|
path: pathCreateHealthFundTransactionExport(healthFundId)
|
|
16859
16893
|
}), {
|
|
16860
16894
|
method: 'post',
|
|
@@ -16899,7 +16933,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16899
16933
|
healthFundId: healthFundId,
|
|
16900
16934
|
transactionExportId: transactionExportId
|
|
16901
16935
|
}, opts.hyperMediaEndpoint);
|
|
16902
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16936
|
+
return _context2.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16903
16937
|
path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
|
|
16904
16938
|
}), {
|
|
16905
16939
|
method: 'get',
|
|
@@ -16927,9 +16961,9 @@ var transactionExport = /*#__PURE__*/Object.freeze({
|
|
|
16927
16961
|
getHealthFundTransactionExport: getHealthFundTransactionExport
|
|
16928
16962
|
});
|
|
16929
16963
|
|
|
16930
|
-
function ownKeys$
|
|
16964
|
+
function ownKeys$13(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
16931
16965
|
|
|
16932
|
-
function _objectSpread$
|
|
16966
|
+
function _objectSpread$13(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$13(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$13(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
16933
16967
|
|
|
16934
16968
|
var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
|
|
16935
16969
|
return "/businesses/" + businessId + "/transactions";
|
|
@@ -17147,7 +17181,7 @@ var approveTransaction = /*#__PURE__*/function () {
|
|
|
17147
17181
|
doesParamExist.default({
|
|
17148
17182
|
transactionId: transactionId
|
|
17149
17183
|
}, opts.hyperMediaEndpoint);
|
|
17150
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
17184
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17151
17185
|
path: pathTransactionApprove(transactionId)
|
|
17152
17186
|
}), {
|
|
17153
17187
|
method: 'post',
|
|
@@ -17185,7 +17219,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
|
|
|
17185
17219
|
doesParamExist.default({
|
|
17186
17220
|
healthFundId: healthFundId
|
|
17187
17221
|
}, opts.hyperMediaEndpoint);
|
|
17188
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
17222
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17189
17223
|
path: pathHealthFundTransactionsAssign(healthFundId)
|
|
17190
17224
|
}), {
|
|
17191
17225
|
method: 'post',
|
|
@@ -17225,7 +17259,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17225
17259
|
transactionId: transactionId,
|
|
17226
17260
|
healthFundId: healthFundId
|
|
17227
17261
|
}, opts.hyperMediaEndpoint);
|
|
17228
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
17262
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17229
17263
|
path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
|
|
17230
17264
|
}), {
|
|
17231
17265
|
method: 'put'
|
|
@@ -17262,7 +17296,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17262
17296
|
doesParamExist.default({
|
|
17263
17297
|
transactionId: transactionId
|
|
17264
17298
|
}, opts.hyperMediaEndpoint);
|
|
17265
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
17299
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17266
17300
|
path: pathTransactionByTransactionId(transactionId) + "/assigntome"
|
|
17267
17301
|
}), {
|
|
17268
17302
|
method: 'put'
|
|
@@ -17299,7 +17333,7 @@ var cancelTransaction = /*#__PURE__*/function () {
|
|
|
17299
17333
|
doesParamExist.default({
|
|
17300
17334
|
transactionId: transactionId
|
|
17301
17335
|
}, opts.hyperMediaEndpoint);
|
|
17302
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
17336
|
+
return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17303
17337
|
path: pathTransactionByTransactionId(transactionId) + "/cancellations"
|
|
17304
17338
|
}), {
|
|
17305
17339
|
data: body,
|
|
@@ -17339,7 +17373,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17339
17373
|
transactionId: transactionId,
|
|
17340
17374
|
businessId: businessId
|
|
17341
17375
|
}, opts.hyperMediaEndpoint);
|
|
17342
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
17376
|
+
return _context6.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17343
17377
|
path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
|
|
17344
17378
|
}), {
|
|
17345
17379
|
data: body,
|
|
@@ -17382,7 +17416,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
|
|
|
17382
17416
|
practiceId: practiceId,
|
|
17383
17417
|
staffId: staffId
|
|
17384
17418
|
}, opts.hyperMediaEndpoint);
|
|
17385
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
17419
|
+
return _context7.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17386
17420
|
path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
|
|
17387
17421
|
}), {
|
|
17388
17422
|
method: 'post',
|
|
@@ -17423,7 +17457,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
|
|
|
17423
17457
|
businessId: businessId,
|
|
17424
17458
|
practiceId: practiceId
|
|
17425
17459
|
}, opts.hyperMediaEndpoint);
|
|
17426
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
17460
|
+
return _context8.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17427
17461
|
path: pathBusinessPracticeInvoices(businessId, practiceId)
|
|
17428
17462
|
}), {
|
|
17429
17463
|
method: 'post',
|
|
@@ -17462,7 +17496,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
|
|
|
17462
17496
|
doesParamExist.default({
|
|
17463
17497
|
businessId: businessId
|
|
17464
17498
|
}, opts.hyperMediaEndpoint);
|
|
17465
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
17499
|
+
return _context9.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17466
17500
|
path: pathBusinessTransactionQuotes(businessId)
|
|
17467
17501
|
}), {
|
|
17468
17502
|
method: 'post',
|
|
@@ -17505,7 +17539,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
|
|
|
17505
17539
|
practiceId: practiceId,
|
|
17506
17540
|
staffId: staffId
|
|
17507
17541
|
}, opts.hyperMediaEndpoint);
|
|
17508
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
17542
|
+
return _context10.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17509
17543
|
path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
|
|
17510
17544
|
}), {
|
|
17511
17545
|
method: 'post',
|
|
@@ -17547,7 +17581,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17547
17581
|
doesParamExist.default({
|
|
17548
17582
|
transactionId: transactionId
|
|
17549
17583
|
}, opts.hyperMediaEndpoint);
|
|
17550
|
-
newBody = _objectSpread$
|
|
17584
|
+
newBody = _objectSpread$13({}, body);
|
|
17551
17585
|
|
|
17552
17586
|
if (source && nonce) {
|
|
17553
17587
|
newBody.payment = {
|
|
@@ -17556,7 +17590,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17556
17590
|
};
|
|
17557
17591
|
}
|
|
17558
17592
|
|
|
17559
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
17593
|
+
return _context11.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17560
17594
|
path: pathTransactionByTransactionId(transactionId) + "/payments"
|
|
17561
17595
|
}), {
|
|
17562
17596
|
method: 'post',
|
|
@@ -17595,7 +17629,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
|
|
|
17595
17629
|
doesParamExist.default({
|
|
17596
17630
|
transactionId: transactionId
|
|
17597
17631
|
}, opts.hyperMediaEndpoint);
|
|
17598
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
17632
|
+
return _context12.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17599
17633
|
path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
|
|
17600
17634
|
}), {
|
|
17601
17635
|
method: 'post',
|
|
@@ -17635,7 +17669,7 @@ var completeQuote = /*#__PURE__*/function () {
|
|
|
17635
17669
|
transactionId: transactionId,
|
|
17636
17670
|
memberId: memberId
|
|
17637
17671
|
}, opts.hyperMediaEndpoint);
|
|
17638
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
17672
|
+
return _context13.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17639
17673
|
path: pathTransactionByTransactionId(transactionId) + "/completequote"
|
|
17640
17674
|
}), {
|
|
17641
17675
|
method: 'post',
|
|
@@ -17677,7 +17711,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
|
|
|
17677
17711
|
transactionId: transactionId,
|
|
17678
17712
|
tagId: tagId
|
|
17679
17713
|
}, opts.hyperMediaEndpoint);
|
|
17680
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
17714
|
+
return _context14.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17681
17715
|
path: pathTransactionTag(transactionId, tagId)
|
|
17682
17716
|
}), {
|
|
17683
17717
|
method: 'delete'
|
|
@@ -17714,7 +17748,7 @@ var deleteTransaction = /*#__PURE__*/function () {
|
|
|
17714
17748
|
doesParamExist.default({
|
|
17715
17749
|
transactionId: transactionId
|
|
17716
17750
|
}, opts.hyperMediaEndpoint);
|
|
17717
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
17751
|
+
return _context15.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17718
17752
|
path: pathTransactionByTransactionId(transactionId)
|
|
17719
17753
|
}), {
|
|
17720
17754
|
method: 'delete'
|
|
@@ -17756,7 +17790,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
|
|
|
17756
17790
|
doesParamExist.default({
|
|
17757
17791
|
businessId: businessId
|
|
17758
17792
|
}, opts.hyperMediaEndpoint);
|
|
17759
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
17793
|
+
return _context16.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17760
17794
|
path: pathBusinessTransactions(businessId)
|
|
17761
17795
|
}), {
|
|
17762
17796
|
method: 'get',
|
|
@@ -17796,7 +17830,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17796
17830
|
businessId: businessId,
|
|
17797
17831
|
transactionId: transactionId
|
|
17798
17832
|
}, opts.hyperMediaEndpoint);
|
|
17799
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
17833
|
+
return _context17.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17800
17834
|
path: pathBusinessTransaction(businessId, transactionId)
|
|
17801
17835
|
}), {
|
|
17802
17836
|
method: 'get',
|
|
@@ -17836,7 +17870,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
|
|
|
17836
17870
|
businessId: businessId,
|
|
17837
17871
|
invoiceReference: invoiceReference
|
|
17838
17872
|
}, opts.hyperMediaEndpoint);
|
|
17839
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
17873
|
+
return _context18.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17840
17874
|
path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
|
|
17841
17875
|
}), {
|
|
17842
17876
|
method: 'get'
|
|
@@ -17875,7 +17909,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
17875
17909
|
businessId: businessId,
|
|
17876
17910
|
transactionId: transactionId
|
|
17877
17911
|
}, opts.hyperMediaEndpoint);
|
|
17878
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
17912
|
+
return _context19.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17879
17913
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
|
|
17880
17914
|
}), {
|
|
17881
17915
|
method: 'get',
|
|
@@ -17915,7 +17949,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
17915
17949
|
businessId: businessId,
|
|
17916
17950
|
transactionId: transactionId
|
|
17917
17951
|
}, opts.hyperMediaEndpoint);
|
|
17918
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
17952
|
+
return _context20.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17919
17953
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
|
|
17920
17954
|
}), {
|
|
17921
17955
|
method: 'get',
|
|
@@ -17960,7 +17994,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
|
|
|
17960
17994
|
businessId: businessId,
|
|
17961
17995
|
practiceId: practiceId
|
|
17962
17996
|
}, opts.hyperMediaEndpoint);
|
|
17963
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
17997
|
+
return _context21.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17964
17998
|
path: pathBusinessPracticeTransactions(businessId, practiceId)
|
|
17965
17999
|
}), {
|
|
17966
18000
|
method: 'get',
|
|
@@ -18007,7 +18041,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
|
|
|
18007
18041
|
practiceId: practiceId,
|
|
18008
18042
|
staffId: staffId
|
|
18009
18043
|
}, opts.hyperMediaEndpoint);
|
|
18010
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
18044
|
+
return _context22.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18011
18045
|
path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
|
|
18012
18046
|
}), {
|
|
18013
18047
|
method: 'get',
|
|
@@ -18050,7 +18084,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
|
|
|
18050
18084
|
doesParamExist.default({
|
|
18051
18085
|
healthFundId: healthFundId
|
|
18052
18086
|
}, opts.hyperMediaEndpoint);
|
|
18053
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
18087
|
+
return _context23.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18054
18088
|
path: pathTransactionsForHealthFund(healthFundId)
|
|
18055
18089
|
}), {
|
|
18056
18090
|
method: 'get',
|
|
@@ -18090,7 +18124,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
|
|
|
18090
18124
|
healthFundId: healthFundId,
|
|
18091
18125
|
transactionId: transactionId
|
|
18092
18126
|
}, opts.hyperMediaEndpoint);
|
|
18093
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
18127
|
+
return _context24.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18094
18128
|
path: pathHealthFundTransaction(healthFundId, transactionId)
|
|
18095
18129
|
}), {
|
|
18096
18130
|
method: 'get'
|
|
@@ -18132,7 +18166,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
|
|
|
18132
18166
|
doesParamExist.default({
|
|
18133
18167
|
memberId: memberId
|
|
18134
18168
|
}, opts.hyperMediaEndpoint);
|
|
18135
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
18169
|
+
return _context25.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18136
18170
|
path: pathTransactionsByMember(memberId)
|
|
18137
18171
|
}), {
|
|
18138
18172
|
method: 'get',
|
|
@@ -18176,7 +18210,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
|
|
|
18176
18210
|
doesParamExist.default({
|
|
18177
18211
|
healthFundId: healthFundId
|
|
18178
18212
|
}, opts.hyperMediaEndpoint);
|
|
18179
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
18213
|
+
return _context26.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18180
18214
|
path: pathHealthFundMemberTransactions(healthFundId, memberId)
|
|
18181
18215
|
}), {
|
|
18182
18216
|
method: 'get',
|
|
@@ -18214,7 +18248,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
|
|
|
18214
18248
|
doesParamExist.default({
|
|
18215
18249
|
transactionId: transactionId
|
|
18216
18250
|
}, opts.hyperMediaEndpoint);
|
|
18217
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
18251
|
+
return _context27.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18218
18252
|
path: pathTransactionByTransactionId(transactionId)
|
|
18219
18253
|
}), {
|
|
18220
18254
|
method: 'get',
|
|
@@ -18253,7 +18287,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
|
|
|
18253
18287
|
doesParamExist.default({
|
|
18254
18288
|
transactionId: transactionId
|
|
18255
18289
|
}, opts.hyperMediaEndpoint);
|
|
18256
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
18290
|
+
return _context28.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18257
18291
|
path: pathTransactionByTransactionId(transactionId) + "/pdf"
|
|
18258
18292
|
}), {
|
|
18259
18293
|
method: 'post',
|
|
@@ -18295,7 +18329,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
|
|
|
18295
18329
|
claimId: claimId,
|
|
18296
18330
|
transactionId: transactionId
|
|
18297
18331
|
}, opts.hyperMediaEndpoint);
|
|
18298
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
18332
|
+
return _context29.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18299
18333
|
path: pathTransactionClaimPdf(transactionId, claimId)
|
|
18300
18334
|
}), {
|
|
18301
18335
|
method: 'post',
|
|
@@ -18335,7 +18369,7 @@ var replyToQuote = /*#__PURE__*/function () {
|
|
|
18335
18369
|
doesParamExist.default({
|
|
18336
18370
|
transactionId: transactionId
|
|
18337
18371
|
}, opts.hyperMediaEndpoint);
|
|
18338
|
-
return _context30.abrupt("return", request(_objectSpread$
|
|
18372
|
+
return _context30.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18339
18373
|
path: pathReplyQuote(transactionId)
|
|
18340
18374
|
}), {
|
|
18341
18375
|
method: 'post',
|
|
@@ -18374,7 +18408,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
18374
18408
|
doesParamExist.default({
|
|
18375
18409
|
transactionId: transactionId
|
|
18376
18410
|
}, opts.hyperMediaEndpoint);
|
|
18377
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
18411
|
+
return _context31.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18378
18412
|
path: pathTransactionSendReceipt(transactionId)
|
|
18379
18413
|
}), {
|
|
18380
18414
|
method: 'post',
|
|
@@ -18413,7 +18447,7 @@ var submitInvoice = /*#__PURE__*/function () {
|
|
|
18413
18447
|
doesParamExist.default({
|
|
18414
18448
|
transactionId: transactionId
|
|
18415
18449
|
}, opts.hyperMediaEndpoint);
|
|
18416
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
18450
|
+
return _context32.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18417
18451
|
path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
|
|
18418
18452
|
}), {
|
|
18419
18453
|
method: 'post',
|
|
@@ -18452,7 +18486,7 @@ var updateTransaction = /*#__PURE__*/function () {
|
|
|
18452
18486
|
doesParamExist.default({
|
|
18453
18487
|
transactionId: transactionId
|
|
18454
18488
|
}, opts.hyperMediaEndpoint);
|
|
18455
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
18489
|
+
return _context33.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18456
18490
|
path: pathTransactionByTransactionId(transactionId)
|
|
18457
18491
|
}), {
|
|
18458
18492
|
method: 'put',
|
|
@@ -18490,7 +18524,7 @@ var validateTransaction = /*#__PURE__*/function () {
|
|
|
18490
18524
|
doesParamExist.default({
|
|
18491
18525
|
transactionId: transactionId
|
|
18492
18526
|
}, opts.hyperMediaEndpoint);
|
|
18493
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
18527
|
+
return _context34.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18494
18528
|
path: pathValidateTransaction(transactionId)
|
|
18495
18529
|
}), {
|
|
18496
18530
|
method: 'post'
|
|
@@ -18528,7 +18562,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
|
|
|
18528
18562
|
doesParamExist.default({
|
|
18529
18563
|
transactionId: transactionId
|
|
18530
18564
|
}, opts.hyperMediaEndpoint);
|
|
18531
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
18565
|
+
return _context35.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18532
18566
|
path: pathTransactionSubmitBridgeClaim(transactionId)
|
|
18533
18567
|
}), {
|
|
18534
18568
|
method: 'post',
|
|
@@ -18567,7 +18601,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
|
|
|
18567
18601
|
doesParamExist.default({
|
|
18568
18602
|
transactionId: transactionId
|
|
18569
18603
|
}, opts.hyperMediaEndpoint);
|
|
18570
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
18604
|
+
return _context36.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18571
18605
|
path: pathTransactionSubmitBridgePayment(transactionId)
|
|
18572
18606
|
}), {
|
|
18573
18607
|
method: 'post',
|
|
@@ -18606,7 +18640,7 @@ var triggerBridge = /*#__PURE__*/function () {
|
|
|
18606
18640
|
doesParamExist.default({
|
|
18607
18641
|
transactionId: transactionId
|
|
18608
18642
|
}, opts.hyperMediaEndpoint);
|
|
18609
|
-
return _context37.abrupt("return", request(_objectSpread$
|
|
18643
|
+
return _context37.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18610
18644
|
path: pathTransactionTriggerBridge(transactionId)
|
|
18611
18645
|
}), {
|
|
18612
18646
|
method: 'post',
|
|
@@ -18645,7 +18679,7 @@ var createInvoice = /*#__PURE__*/function () {
|
|
|
18645
18679
|
doesParamExist.default({
|
|
18646
18680
|
businessId: businessId
|
|
18647
18681
|
}, opts.hyperMediaEndpoint);
|
|
18648
|
-
return _context38.abrupt("return", request(_objectSpread$
|
|
18682
|
+
return _context38.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18649
18683
|
path: pathCreateInvoice(businessId)
|
|
18650
18684
|
}), {
|
|
18651
18685
|
method: 'post',
|
|
@@ -18684,7 +18718,7 @@ var createSendClaim = /*#__PURE__*/function () {
|
|
|
18684
18718
|
doesParamExist.default({
|
|
18685
18719
|
transactionId: transactionId
|
|
18686
18720
|
}, opts.hyperMediaEndpoint);
|
|
18687
|
-
return _context39.abrupt("return", request(_objectSpread$
|
|
18721
|
+
return _context39.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18688
18722
|
path: pathCreateSendClaim(transactionId)
|
|
18689
18723
|
}), {
|
|
18690
18724
|
method: 'post',
|
|
@@ -18725,7 +18759,7 @@ var updateClaim = /*#__PURE__*/function () {
|
|
|
18725
18759
|
claimId: claimId,
|
|
18726
18760
|
transactionId: transactionId
|
|
18727
18761
|
}, opts.hyperMediaEndpoint);
|
|
18728
|
-
return _context40.abrupt("return", request(_objectSpread$
|
|
18762
|
+
return _context40.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18729
18763
|
path: pathClaim(transactionId, claimId)
|
|
18730
18764
|
}), {
|
|
18731
18765
|
method: 'put',
|
|
@@ -18763,7 +18797,7 @@ var completeTransaction = /*#__PURE__*/function () {
|
|
|
18763
18797
|
doesParamExist.default({
|
|
18764
18798
|
transactionId: transactionId
|
|
18765
18799
|
}, opts.hyperMediaEndpoint);
|
|
18766
|
-
return _context41.abrupt("return", request(_objectSpread$
|
|
18800
|
+
return _context41.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18767
18801
|
path: pathCompleteTransaction(transactionId)
|
|
18768
18802
|
}), {
|
|
18769
18803
|
method: 'post'
|
|
@@ -18802,7 +18836,7 @@ var approveClaim = /*#__PURE__*/function () {
|
|
|
18802
18836
|
doesParamExist.default({
|
|
18803
18837
|
transactionId: transactionId
|
|
18804
18838
|
}, opts.hyperMediaEndpoint);
|
|
18805
|
-
return _context42.abrupt("return", request(_objectSpread$
|
|
18839
|
+
return _context42.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18806
18840
|
path: pathApproveClaim(transactionId, claimId)
|
|
18807
18841
|
}), {
|
|
18808
18842
|
method: 'post',
|
|
@@ -18842,7 +18876,7 @@ var cancelClaim = /*#__PURE__*/function () {
|
|
|
18842
18876
|
claimId: claimId,
|
|
18843
18877
|
transactionId: transactionId
|
|
18844
18878
|
}, opts.hyperMediaEndpoint);
|
|
18845
|
-
return _context43.abrupt("return", request(_objectSpread$
|
|
18879
|
+
return _context43.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18846
18880
|
path: pathCancelClaim(transactionId, claimId)
|
|
18847
18881
|
}), {
|
|
18848
18882
|
method: 'post',
|
|
@@ -18882,7 +18916,7 @@ var submitClaim = /*#__PURE__*/function () {
|
|
|
18882
18916
|
doesParamExist.default({
|
|
18883
18917
|
transactionId: transactionId
|
|
18884
18918
|
}, opts.hyperMediaEndpoint);
|
|
18885
|
-
return _context44.abrupt("return", request(_objectSpread$
|
|
18919
|
+
return _context44.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18886
18920
|
path: pathSubmitClaim(transactionId, claimId)
|
|
18887
18921
|
}), {
|
|
18888
18922
|
method: 'post',
|
|
@@ -18922,7 +18956,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
|
|
|
18922
18956
|
claimId: claimId,
|
|
18923
18957
|
transactionId: transactionId
|
|
18924
18958
|
}, opts.hyperMediaEndpoint);
|
|
18925
|
-
return _context45.abrupt("return", request(_objectSpread$
|
|
18959
|
+
return _context45.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18926
18960
|
path: pathSaveClaim(transactionId, claimId)
|
|
18927
18961
|
}), {
|
|
18928
18962
|
method: 'post'
|
|
@@ -18960,7 +18994,7 @@ var pay = /*#__PURE__*/function () {
|
|
|
18960
18994
|
doesParamExist.default({
|
|
18961
18995
|
transactionId: transactionId
|
|
18962
18996
|
}, opts.hyperMediaEndpoint);
|
|
18963
|
-
return _context46.abrupt("return", request(_objectSpread$
|
|
18997
|
+
return _context46.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18964
18998
|
path: pathTransactionPays(transactionId)
|
|
18965
18999
|
}), {
|
|
18966
19000
|
method: 'post',
|
|
@@ -18999,7 +19033,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
18999
19033
|
doesParamExist.default({
|
|
19000
19034
|
transactionId: transactionId
|
|
19001
19035
|
}, opts.hyperMediaEndpoint);
|
|
19002
|
-
return _context47.abrupt("return", request(_objectSpread$
|
|
19036
|
+
return _context47.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19003
19037
|
path: pathTransactionProcessingRequests(transactionId)
|
|
19004
19038
|
}), {
|
|
19005
19039
|
method: 'post',
|
|
@@ -19038,7 +19072,7 @@ var cancelInvoice = /*#__PURE__*/function () {
|
|
|
19038
19072
|
doesParamExist.default({
|
|
19039
19073
|
transactionId: transactionId
|
|
19040
19074
|
}, opts.hyperMediaEndpoint);
|
|
19041
|
-
return _context48.abrupt("return", request(_objectSpread$
|
|
19075
|
+
return _context48.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19042
19076
|
path: pathTransactionCancel(transactionId)
|
|
19043
19077
|
}), {
|
|
19044
19078
|
method: 'post',
|
|
@@ -19076,7 +19110,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
19076
19110
|
doesParamExist.default({
|
|
19077
19111
|
transactionId: transactionId
|
|
19078
19112
|
}, opts.hyperMediaEndpoint);
|
|
19079
|
-
return _context49.abrupt("return", request(_objectSpread$
|
|
19113
|
+
return _context49.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19080
19114
|
path: pathTransactionPaymentLink(transactionId)
|
|
19081
19115
|
}), {
|
|
19082
19116
|
method: 'get'
|
|
@@ -19116,7 +19150,7 @@ var refundByBusiness = /*#__PURE__*/function () {
|
|
|
19116
19150
|
businessId: businessId,
|
|
19117
19151
|
transactionId: transactionId
|
|
19118
19152
|
}, opts.hyperMediaEndpoint);
|
|
19119
|
-
return _context50.abrupt("return", request(_objectSpread$
|
|
19153
|
+
return _context50.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19120
19154
|
path: pathBusinessTransactionRefund(businessId, transactionId)
|
|
19121
19155
|
}), {
|
|
19122
19156
|
method: 'post',
|
|
@@ -19155,7 +19189,7 @@ var refund = /*#__PURE__*/function () {
|
|
|
19155
19189
|
doesParamExist.default({
|
|
19156
19190
|
transactionId: transactionId
|
|
19157
19191
|
}, opts.hyperMediaEndpoint);
|
|
19158
|
-
return _context51.abrupt("return", request(_objectSpread$
|
|
19192
|
+
return _context51.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19159
19193
|
path: pathTransactionRefund(transactionId)
|
|
19160
19194
|
}), {
|
|
19161
19195
|
method: 'post',
|
|
@@ -19194,7 +19228,7 @@ var saveDraft = /*#__PURE__*/function () {
|
|
|
19194
19228
|
doesParamExist.default({
|
|
19195
19229
|
businessId: businessId
|
|
19196
19230
|
}, opts.hyperMediaEndpoint);
|
|
19197
|
-
return _context52.abrupt("return", request(_objectSpread$
|
|
19231
|
+
return _context52.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19198
19232
|
path: pathCreateDraft(businessId)
|
|
19199
19233
|
}), {
|
|
19200
19234
|
method: 'post',
|
|
@@ -19233,7 +19267,7 @@ var convertDraft = /*#__PURE__*/function () {
|
|
|
19233
19267
|
doesParamExist.default({
|
|
19234
19268
|
transactionId: transactionId
|
|
19235
19269
|
}, opts.hyperMediaEndpoint);
|
|
19236
|
-
return _context53.abrupt("return", request(_objectSpread$
|
|
19270
|
+
return _context53.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19237
19271
|
path: pathConvertDraft(transactionId)
|
|
19238
19272
|
}), {
|
|
19239
19273
|
method: 'post',
|
|
@@ -19271,7 +19305,7 @@ var archive = /*#__PURE__*/function () {
|
|
|
19271
19305
|
doesParamExist.default({
|
|
19272
19306
|
transactionId: transactionId
|
|
19273
19307
|
}, opts.hyperMediaEndpoint);
|
|
19274
|
-
return _context54.abrupt("return", request(_objectSpread$
|
|
19308
|
+
return _context54.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19275
19309
|
path: pathTransactionArchives(transactionId)
|
|
19276
19310
|
}), {
|
|
19277
19311
|
method: 'put'
|
|
@@ -19308,7 +19342,7 @@ var unarchive = /*#__PURE__*/function () {
|
|
|
19308
19342
|
doesParamExist.default({
|
|
19309
19343
|
transactionId: transactionId
|
|
19310
19344
|
}, opts.hyperMediaEndpoint);
|
|
19311
|
-
return _context55.abrupt("return", request(_objectSpread$
|
|
19345
|
+
return _context55.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19312
19346
|
path: pathTransactionUnarchives(transactionId)
|
|
19313
19347
|
}), {
|
|
19314
19348
|
method: 'put'
|
|
@@ -19346,7 +19380,7 @@ var terminalInput = /*#__PURE__*/function () {
|
|
|
19346
19380
|
doesParamExist.default({
|
|
19347
19381
|
transactionId: transactionId
|
|
19348
19382
|
}, opts.hyperMediaEndpoint);
|
|
19349
|
-
return _context56.abrupt("return", request(_objectSpread$
|
|
19383
|
+
return _context56.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19350
19384
|
path: pathTransactionTerminalInput(transactionId)
|
|
19351
19385
|
}), {
|
|
19352
19386
|
method: 'post',
|
|
@@ -19385,7 +19419,7 @@ var terminalCancellation = /*#__PURE__*/function () {
|
|
|
19385
19419
|
doesParamExist.default({
|
|
19386
19420
|
transactionId: transactionId
|
|
19387
19421
|
}, opts.hyperMediaEndpoint);
|
|
19388
|
-
return _context57.abrupt("return", request(_objectSpread$
|
|
19422
|
+
return _context57.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19389
19423
|
path: pathTransactionTerminalCancel(transactionId)
|
|
19390
19424
|
}), {
|
|
19391
19425
|
method: 'post',
|
|
@@ -19425,7 +19459,7 @@ var refundPayment = /*#__PURE__*/function () {
|
|
|
19425
19459
|
doesParamExist.default({
|
|
19426
19460
|
transactionId: transactionId
|
|
19427
19461
|
}, opts.hyperMediaEndpoint);
|
|
19428
|
-
return _context58.abrupt("return", request(_objectSpread$
|
|
19462
|
+
return _context58.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19429
19463
|
path: pathTransactionPaymentRefund(transactionId, paymentId)
|
|
19430
19464
|
}), {
|
|
19431
19465
|
method: 'post',
|
|
@@ -19460,7 +19494,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19460
19494
|
opts = {};
|
|
19461
19495
|
}
|
|
19462
19496
|
|
|
19463
|
-
return _context59.abrupt("return", request(_objectSpread$
|
|
19497
|
+
return _context59.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19464
19498
|
path: pathCreateEclipseInPatientInvoice()
|
|
19465
19499
|
}), {
|
|
19466
19500
|
method: 'post',
|
|
@@ -19495,7 +19529,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19495
19529
|
opts = {};
|
|
19496
19530
|
}
|
|
19497
19531
|
|
|
19498
|
-
return _context60.abrupt("return", request(_objectSpread$
|
|
19532
|
+
return _context60.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19499
19533
|
path: pathCreateEclipseOverseasInvoice()
|
|
19500
19534
|
}), {
|
|
19501
19535
|
method: 'post',
|
|
@@ -19530,7 +19564,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
|
|
|
19530
19564
|
opts = {};
|
|
19531
19565
|
}
|
|
19532
19566
|
|
|
19533
|
-
return _context61.abrupt("return", request(_objectSpread$
|
|
19567
|
+
return _context61.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19534
19568
|
path: pathCreateEclipseOnlineEligibilityCheckInvoice()
|
|
19535
19569
|
}), {
|
|
19536
19570
|
method: 'post',
|
|
@@ -19570,7 +19604,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
19570
19604
|
businessId: businessId,
|
|
19571
19605
|
transactionId: transactionId
|
|
19572
19606
|
}, opts.hyperMediaEndpoint);
|
|
19573
|
-
return _context62.abrupt("return", request(_objectSpread$
|
|
19607
|
+
return _context62.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19574
19608
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
|
|
19575
19609
|
}), {
|
|
19576
19610
|
method: 'get',
|
|
@@ -19610,7 +19644,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
19610
19644
|
businessId: businessId,
|
|
19611
19645
|
transactionId: transactionId
|
|
19612
19646
|
}, opts.hyperMediaEndpoint);
|
|
19613
|
-
return _context63.abrupt("return", request(_objectSpread$
|
|
19647
|
+
return _context63.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19614
19648
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
|
|
19615
19649
|
}), {
|
|
19616
19650
|
method: 'get',
|
|
@@ -19649,7 +19683,7 @@ var reconcileClaim = /*#__PURE__*/function () {
|
|
|
19649
19683
|
doesParamExist.default({
|
|
19650
19684
|
transactionId: transactionId
|
|
19651
19685
|
}, opts.hyperMediaEndpoint);
|
|
19652
|
-
return _context64.abrupt("return", request(_objectSpread$
|
|
19686
|
+
return _context64.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19653
19687
|
path: pathReconcileClaim(transactionId, claimId)
|
|
19654
19688
|
}), {
|
|
19655
19689
|
method: 'post'
|
|
@@ -19736,9 +19770,9 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
19736
19770
|
reconcileClaim: reconcileClaim
|
|
19737
19771
|
});
|
|
19738
19772
|
|
|
19739
|
-
function ownKeys$
|
|
19773
|
+
function ownKeys$14(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19740
19774
|
|
|
19741
|
-
function _objectSpread$
|
|
19775
|
+
function _objectSpread$14(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$14(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$14(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19742
19776
|
|
|
19743
19777
|
var pathTrigger = function pathTrigger(triggerId) {
|
|
19744
19778
|
return "/triggers/" + triggerId;
|
|
@@ -19765,7 +19799,7 @@ var getTrigger = /*#__PURE__*/function () {
|
|
|
19765
19799
|
doesParamExist.default({
|
|
19766
19800
|
triggerId: triggerId
|
|
19767
19801
|
}, opts.hyperMediaEndpoint);
|
|
19768
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19802
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19769
19803
|
path: pathTrigger(triggerId)
|
|
19770
19804
|
}), {
|
|
19771
19805
|
method: 'get'
|
|
@@ -19803,7 +19837,7 @@ var getTriggers = /*#__PURE__*/function () {
|
|
|
19803
19837
|
opts = {};
|
|
19804
19838
|
}
|
|
19805
19839
|
|
|
19806
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
19840
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19807
19841
|
path: PATH__TRIGGERS
|
|
19808
19842
|
}), {
|
|
19809
19843
|
method: 'get',
|
|
@@ -19842,7 +19876,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
|
|
|
19842
19876
|
opts = {};
|
|
19843
19877
|
}
|
|
19844
19878
|
|
|
19845
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
19879
|
+
return _context3.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19846
19880
|
path: PATH__TRIGGER_CATEGORIES
|
|
19847
19881
|
}), {
|
|
19848
19882
|
method: 'get',
|
|
@@ -19869,9 +19903,9 @@ var triggers = /*#__PURE__*/Object.freeze({
|
|
|
19869
19903
|
getTriggerCategories: getTriggerCategories
|
|
19870
19904
|
});
|
|
19871
19905
|
|
|
19872
|
-
function ownKeys$
|
|
19906
|
+
function ownKeys$15(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19873
19907
|
|
|
19874
|
-
function _objectSpread$
|
|
19908
|
+
function _objectSpread$15(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$15(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$15(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19875
19909
|
var pathHealthFundVendors = function pathHealthFundVendors(healthFundId) {
|
|
19876
19910
|
return "/healthfunds/" + healthFundId + "/vendors";
|
|
19877
19911
|
};
|
|
@@ -19887,7 +19921,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
|
|
|
19887
19921
|
healthFundId: healthFundId,
|
|
19888
19922
|
vendorId: vendorId
|
|
19889
19923
|
}, opts.hyperMediaEndpoint);
|
|
19890
|
-
return request(_objectSpread$
|
|
19924
|
+
return request(_objectSpread$15({}, opts, {
|
|
19891
19925
|
path: pathHealthFundVendor(healthFundId, vendorId)
|
|
19892
19926
|
}), {
|
|
19893
19927
|
method: 'get',
|
|
@@ -19902,7 +19936,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
|
|
|
19902
19936
|
doesParamExist.default({
|
|
19903
19937
|
healthFundId: healthFundId
|
|
19904
19938
|
}, opts.hyperMediaEndpoint);
|
|
19905
|
-
return request(_objectSpread$
|
|
19939
|
+
return request(_objectSpread$15({}, opts, {
|
|
19906
19940
|
path: pathHealthFundVendors(healthFundId)
|
|
19907
19941
|
}), {
|
|
19908
19942
|
method: 'get',
|
|
@@ -19918,9 +19952,9 @@ var vendors = /*#__PURE__*/Object.freeze({
|
|
|
19918
19952
|
getHealthFundVendors: getHealthFundVendors
|
|
19919
19953
|
});
|
|
19920
19954
|
|
|
19921
|
-
function ownKeys$
|
|
19955
|
+
function ownKeys$16(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19922
19956
|
|
|
19923
|
-
function _objectSpread$
|
|
19957
|
+
function _objectSpread$16(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$16(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$16(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19924
19958
|
var PATH__MEDICARE_VERIFY = '/medicare/verify';
|
|
19925
19959
|
/**
|
|
19926
19960
|
* Verify medicare details
|
|
@@ -19938,7 +19972,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
|
|
|
19938
19972
|
opts = {};
|
|
19939
19973
|
}
|
|
19940
19974
|
|
|
19941
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19975
|
+
return _context.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19942
19976
|
path: PATH__MEDICARE_VERIFY
|
|
19943
19977
|
}), {
|
|
19944
19978
|
method: 'POST',
|
|
@@ -19964,9 +19998,9 @@ var verify = /*#__PURE__*/Object.freeze({
|
|
|
19964
19998
|
verifyMedicare: verifyMedicare$1
|
|
19965
19999
|
});
|
|
19966
20000
|
|
|
19967
|
-
function ownKeys$
|
|
20001
|
+
function ownKeys$17(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19968
20002
|
|
|
19969
|
-
function _objectSpread$
|
|
20003
|
+
function _objectSpread$17(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$17(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$17(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19970
20004
|
var pathSendWorkerMessage = function pathSendWorkerMessage() {
|
|
19971
20005
|
return "/workers/messages";
|
|
19972
20006
|
};
|
|
@@ -19975,7 +20009,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
|
|
|
19975
20009
|
opts = {};
|
|
19976
20010
|
}
|
|
19977
20011
|
|
|
19978
|
-
return request(_objectSpread$
|
|
20012
|
+
return request(_objectSpread$17({}, opts, {
|
|
19979
20013
|
path: pathSendWorkerMessage()
|
|
19980
20014
|
}), {
|
|
19981
20015
|
method: 'post',
|
|
@@ -19989,9 +20023,9 @@ var workers = /*#__PURE__*/Object.freeze({
|
|
|
19989
20023
|
sendWorkerMessage: sendWorkerMessage
|
|
19990
20024
|
});
|
|
19991
20025
|
|
|
19992
|
-
function ownKeys$
|
|
20026
|
+
function ownKeys$18(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19993
20027
|
|
|
19994
|
-
function _objectSpread$
|
|
20028
|
+
function _objectSpread$18(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$18(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$18(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19995
20029
|
var pathHealthFundWorkflowExceptions = function pathHealthFundWorkflowExceptions(healthFundId) {
|
|
19996
20030
|
return "/healthfunds/" + healthFundId + "/workflowexceptions";
|
|
19997
20031
|
};
|
|
@@ -20003,7 +20037,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
|
|
|
20003
20037
|
doesParamExist.default({
|
|
20004
20038
|
healthFundId: healthFundId
|
|
20005
20039
|
}, opts.hyperMediaEndpoint);
|
|
20006
|
-
return request(_objectSpread$
|
|
20040
|
+
return request(_objectSpread$18({}, opts, {
|
|
20007
20041
|
path: pathHealthFundWorkflowExceptions(healthFundId)
|
|
20008
20042
|
}), {
|
|
20009
20043
|
method: 'get',
|
|
@@ -20725,9 +20759,9 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
20725
20759
|
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
20726
20760
|
});
|
|
20727
20761
|
|
|
20728
|
-
function ownKeys$
|
|
20762
|
+
function ownKeys$19(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
20729
20763
|
|
|
20730
|
-
function _objectSpread$
|
|
20764
|
+
function _objectSpread$19(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$19(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$19(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
20731
20765
|
/**
|
|
20732
20766
|
* Get current app version
|
|
20733
20767
|
*/
|
|
@@ -20867,7 +20901,7 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20867
20901
|
break;
|
|
20868
20902
|
}
|
|
20869
20903
|
|
|
20870
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20904
|
+
return _context3.abrupt("return", _objectSpread$19({}, versions, {
|
|
20871
20905
|
requiresUpdate: true,
|
|
20872
20906
|
isForced: true
|
|
20873
20907
|
}));
|
|
@@ -20878,12 +20912,12 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20878
20912
|
break;
|
|
20879
20913
|
}
|
|
20880
20914
|
|
|
20881
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20915
|
+
return _context3.abrupt("return", _objectSpread$19({}, versions, {
|
|
20882
20916
|
requiresUpdate: true
|
|
20883
20917
|
}));
|
|
20884
20918
|
|
|
20885
20919
|
case 14:
|
|
20886
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20920
|
+
return _context3.abrupt("return", _objectSpread$19({}, versions, {
|
|
20887
20921
|
requiresUpdate: false
|
|
20888
20922
|
}));
|
|
20889
20923
|
|
|
@@ -20909,9 +20943,9 @@ var versions = /*#__PURE__*/Object.freeze({
|
|
|
20909
20943
|
checkAppVersion: checkAppVersion
|
|
20910
20944
|
});
|
|
20911
20945
|
|
|
20912
|
-
function ownKeys$
|
|
20946
|
+
function ownKeys$1a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
20913
20947
|
|
|
20914
|
-
function _objectSpread$
|
|
20948
|
+
function _objectSpread$1a(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1a(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
20915
20949
|
function parseProfessions(_x, _x2) {
|
|
20916
20950
|
return _parseProfessions.apply(this, arguments);
|
|
20917
20951
|
}
|
|
@@ -20955,17 +20989,17 @@ function _parseProfessions() {
|
|
|
20955
20989
|
professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
|
|
20956
20990
|
var _objectSpread2;
|
|
20957
20991
|
|
|
20958
|
-
return _objectSpread$
|
|
20992
|
+
return _objectSpread$1a({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
20959
20993
|
}, {});
|
|
20960
20994
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
20961
20995
|
var _objectSpread3;
|
|
20962
20996
|
|
|
20963
|
-
return _objectSpread$
|
|
20997
|
+
return _objectSpread$1a({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
20964
20998
|
}, {});
|
|
20965
20999
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
20966
21000
|
var _objectSpread4;
|
|
20967
21001
|
|
|
20968
|
-
return _objectSpread$
|
|
21002
|
+
return _objectSpread$1a({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
|
|
20969
21003
|
}, {});
|
|
20970
21004
|
newProfessions = professions.map(function (registration) {
|
|
20971
21005
|
var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
|
|
@@ -21072,9 +21106,9 @@ var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
|
21072
21106
|
getSelfApplicationCached: getSelfApplicationCached
|
|
21073
21107
|
});
|
|
21074
21108
|
|
|
21075
|
-
function ownKeys$
|
|
21109
|
+
function ownKeys$1b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
21076
21110
|
|
|
21077
|
-
function _objectSpread$
|
|
21111
|
+
function _objectSpread$1b(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1b(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
21078
21112
|
var APP_ID = 'web-application';
|
|
21079
21113
|
var API_VER = '0.82.0';
|
|
21080
21114
|
var API_VERSIONS = {
|
|
@@ -21107,7 +21141,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
21107
21141
|
return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
|
|
21108
21142
|
var _objectSpread2;
|
|
21109
21143
|
|
|
21110
|
-
return _objectSpread$
|
|
21144
|
+
return _objectSpread$1b({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
|
|
21111
21145
|
}, {});
|
|
21112
21146
|
};
|
|
21113
21147
|
|
|
@@ -21157,6 +21191,7 @@ var sdk = {
|
|
|
21157
21191
|
formApplications: formApplications,
|
|
21158
21192
|
forms: forms,
|
|
21159
21193
|
funders: funders,
|
|
21194
|
+
funderServices: funderServices,
|
|
21160
21195
|
funderSettings: funderSettings,
|
|
21161
21196
|
futures: futures,
|
|
21162
21197
|
healthFundAccounts: healthFundAccounts,
|
|
@@ -21238,7 +21273,7 @@ var sdk = {
|
|
|
21238
21273
|
this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
|
|
21239
21274
|
}
|
|
21240
21275
|
|
|
21241
|
-
this.setConfig(_objectSpread$
|
|
21276
|
+
this.setConfig(_objectSpread$1b({}, opts, {
|
|
21242
21277
|
env: env
|
|
21243
21278
|
}));
|
|
21244
21279
|
this.hasInit = true; // Setup request/response interceptors
|
|
@@ -21468,9 +21503,9 @@ var sdk = {
|
|
|
21468
21503
|
}
|
|
21469
21504
|
};
|
|
21470
21505
|
|
|
21471
|
-
function ownKeys$
|
|
21506
|
+
function ownKeys$1c(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
21472
21507
|
|
|
21473
|
-
function _objectSpread$
|
|
21508
|
+
function _objectSpread$1c(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1c(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
21474
21509
|
function parseProviderSet(_x, _x2) {
|
|
21475
21510
|
return _parseProviderSet.apply(this, arguments);
|
|
21476
21511
|
}
|
|
@@ -21579,20 +21614,20 @@ function _parseProviderSet() {
|
|
|
21579
21614
|
fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
|
|
21580
21615
|
var _objectSpread2;
|
|
21581
21616
|
|
|
21582
|
-
return _objectSpread$
|
|
21617
|
+
return _objectSpread$1c({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
|
|
21583
21618
|
}, {});
|
|
21584
21619
|
practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
|
|
21585
21620
|
var _objectSpread3;
|
|
21586
21621
|
|
|
21587
|
-
return _objectSpread$
|
|
21622
|
+
return _objectSpread$1c({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
|
|
21588
21623
|
}, {});
|
|
21589
21624
|
providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
|
|
21590
21625
|
var _objectSpread4;
|
|
21591
21626
|
|
|
21592
|
-
return _objectSpread$
|
|
21627
|
+
return _objectSpread$1c({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
|
|
21593
21628
|
}, {});
|
|
21594
21629
|
newProviderSet = providerSet.map(function (providerData, i) {
|
|
21595
|
-
return _objectSpread$
|
|
21630
|
+
return _objectSpread$1c({}, providerData, {}, providerRegistrations[i], {
|
|
21596
21631
|
practice: practicesMap[providerData.practiceId],
|
|
21597
21632
|
funder: fundersMap[providerData.funderId]
|
|
21598
21633
|
}, parseProviderNumberType && {
|
|
@@ -22184,6 +22219,7 @@ exports.pathUnlinkBusinessProfile = pathUnlinkBusinessProfile;
|
|
|
22184
22219
|
exports.pathUnlinkPracticeProfile = pathUnlinkPracticeProfile;
|
|
22185
22220
|
exports.pathUnlinkStaffProfile = pathUnlinkStaffProfile;
|
|
22186
22221
|
exports.pathUploadUrlByBusinessId = pathUploadUrlByBusinessId;
|
|
22222
|
+
exports.pathVerifyEclipse = pathVerifyEclipse;
|
|
22187
22223
|
exports.pay = pay;
|
|
22188
22224
|
exports.publishHealthFundForm = publishHealthFundForm;
|
|
22189
22225
|
exports.reconcileClaim = reconcileClaim;
|
|
@@ -22305,6 +22341,7 @@ exports.verifyBusinessKyc = verifyBusinessKyc;
|
|
|
22305
22341
|
exports.verifyClaimPractice = verifyClaimPractice;
|
|
22306
22342
|
exports.verifyComcare = verifyComcare;
|
|
22307
22343
|
exports.verifyDVA = verifyDVA;
|
|
22344
|
+
exports.verifyEclipse = verifyEclipse;
|
|
22308
22345
|
exports.verifyIcare = verifyIcare;
|
|
22309
22346
|
exports.verifyMedicare = verifyMedicare;
|
|
22310
22347
|
exports.verifyMedicare$1 = verifyMedicare$1;
|