@medipass/web-sdk 11.32.0 → 11.32.1-feat-eclipse-patient-verification.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.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 +12 -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-8ebf1663.js} +529 -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,34 @@ 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
|
+
var verifyEclipse = function verifyEclipse(body, opts) {
|
|
5732
|
+
if (opts === void 0) {
|
|
5733
|
+
opts = {};
|
|
5734
|
+
}
|
|
5735
|
+
|
|
5736
|
+
doesParamExist.default({
|
|
5737
|
+
body: body
|
|
5738
|
+
}, opts.hyperMediaEndpoint);
|
|
5739
|
+
return request(_objectSpread$k({}, opts, {
|
|
5740
|
+
path: pathVerifyEclipse()
|
|
5741
|
+
}), {
|
|
5742
|
+
method: 'post',
|
|
5743
|
+
data: body
|
|
5744
|
+
});
|
|
5745
|
+
};
|
|
5746
|
+
|
|
5747
|
+
var funderServices = /*#__PURE__*/Object.freeze({
|
|
5748
|
+
__proto__: null,
|
|
5749
|
+
pathVerifyEclipse: pathVerifyEclipse,
|
|
5750
|
+
verifyEclipse: verifyEclipse
|
|
5751
|
+
});
|
|
5752
|
+
|
|
5753
|
+
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; }
|
|
5754
|
+
|
|
5755
|
+
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
5756
|
var pathFunderSettings = function pathFunderSettings(businessId) {
|
|
5729
5757
|
return "/businesses/" + businessId + "/fundersettings";
|
|
5730
5758
|
};
|
|
@@ -5743,7 +5771,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
|
|
|
5743
5771
|
doesParamExist.default({
|
|
5744
5772
|
businessId: businessId
|
|
5745
5773
|
}, opts.hyperMediaEndpoint);
|
|
5746
|
-
return request(_objectSpread$
|
|
5774
|
+
return request(_objectSpread$l({}, opts, {
|
|
5747
5775
|
path: pathFunderSettings(businessId)
|
|
5748
5776
|
}), {
|
|
5749
5777
|
method: 'get',
|
|
@@ -5759,7 +5787,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
|
|
|
5759
5787
|
businessId: businessId,
|
|
5760
5788
|
funderSettingsId: funderSettingsId
|
|
5761
5789
|
}, opts.hyperMediaEndpoint);
|
|
5762
|
-
return request(_objectSpread$
|
|
5790
|
+
return request(_objectSpread$l({}, opts, {
|
|
5763
5791
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5764
5792
|
}), {
|
|
5765
5793
|
method: 'get'
|
|
@@ -5774,7 +5802,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
|
|
|
5774
5802
|
businessId: businessId,
|
|
5775
5803
|
funderSettingsId: funderSettingsId
|
|
5776
5804
|
}, opts.hyperMediaEndpoint);
|
|
5777
|
-
return request(_objectSpread$
|
|
5805
|
+
return request(_objectSpread$l({}, opts, {
|
|
5778
5806
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5779
5807
|
}), {
|
|
5780
5808
|
method: 'put',
|
|
@@ -5789,7 +5817,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
|
|
|
5789
5817
|
doesParamExist.default({
|
|
5790
5818
|
businessId: businessId
|
|
5791
5819
|
}, opts.hyperMediaEndpoint);
|
|
5792
|
-
return request(_objectSpread$
|
|
5820
|
+
return request(_objectSpread$l({}, opts, {
|
|
5793
5821
|
path: pathFunderSettings(businessId)
|
|
5794
5822
|
}), {
|
|
5795
5823
|
method: 'post',
|
|
@@ -5805,7 +5833,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
|
|
|
5805
5833
|
businessId: businessId,
|
|
5806
5834
|
funderSettingsId: funderSettingsId
|
|
5807
5835
|
}, opts.hyperMediaEndpoint);
|
|
5808
|
-
return request(_objectSpread$
|
|
5836
|
+
return request(_objectSpread$l({}, opts, {
|
|
5809
5837
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
5810
5838
|
}), {
|
|
5811
5839
|
method: 'delete'
|
|
@@ -5823,9 +5851,9 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
5823
5851
|
deleteBusinesFunderSettings: deleteBusinesFunderSettings
|
|
5824
5852
|
});
|
|
5825
5853
|
|
|
5826
|
-
function ownKeys$
|
|
5854
|
+
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
5855
|
|
|
5828
|
-
function _objectSpread$
|
|
5856
|
+
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
5857
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
5830
5858
|
return "/businesses/" + businessId + "/futures";
|
|
5831
5859
|
};
|
|
@@ -5871,7 +5899,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
5871
5899
|
doesParamExist.default({
|
|
5872
5900
|
businessId: businessId
|
|
5873
5901
|
}, opts.hyperMediaEndpoint);
|
|
5874
|
-
return request(_objectSpread$
|
|
5902
|
+
return request(_objectSpread$m({}, opts, {
|
|
5875
5903
|
path: pathBusinessHolds(businessId)
|
|
5876
5904
|
}), {
|
|
5877
5905
|
method: 'post',
|
|
@@ -5893,7 +5921,7 @@ var createBusinessInstalmentPlan = function createBusinessInstalmentPlan(busines
|
|
|
5893
5921
|
doesParamExist.default({
|
|
5894
5922
|
businessId: businessId
|
|
5895
5923
|
}, opts.hyperMediaEndpoint);
|
|
5896
|
-
return request(_objectSpread$
|
|
5924
|
+
return request(_objectSpread$m({}, opts, {
|
|
5897
5925
|
path: pathBusinessInstalmentPlans(businessId)
|
|
5898
5926
|
}), {
|
|
5899
5927
|
method: 'post',
|
|
@@ -5914,7 +5942,7 @@ var cancel = function cancel(futureId, opts) {
|
|
|
5914
5942
|
doesParamExist.default({
|
|
5915
5943
|
futureId: futureId
|
|
5916
5944
|
}, opts.hyperMediaEndpoint);
|
|
5917
|
-
return request(_objectSpread$
|
|
5945
|
+
return request(_objectSpread$m({}, opts, {
|
|
5918
5946
|
path: pathCancels(futureId)
|
|
5919
5947
|
}), {
|
|
5920
5948
|
method: 'post'
|
|
@@ -5935,7 +5963,7 @@ var getBusinessFutures = function getBusinessFutures(businessId, query, opts) {
|
|
|
5935
5963
|
doesParamExist.default({
|
|
5936
5964
|
businessId: businessId
|
|
5937
5965
|
}, opts.hyperMediaEndpoint);
|
|
5938
|
-
return request(_objectSpread$
|
|
5966
|
+
return request(_objectSpread$m({}, opts, {
|
|
5939
5967
|
path: pathBusinessFutures(businessId)
|
|
5940
5968
|
}), {
|
|
5941
5969
|
method: 'get',
|
|
@@ -5958,7 +5986,7 @@ var getBusinessFuture = function getBusinessFuture(businessId, futureId, opts) {
|
|
|
5958
5986
|
businessId: businessId,
|
|
5959
5987
|
futureId: futureId
|
|
5960
5988
|
}, opts.hyperMediaEndpoint);
|
|
5961
|
-
return request(_objectSpread$
|
|
5989
|
+
return request(_objectSpread$m({}, opts, {
|
|
5962
5990
|
path: pathBusinessFuture(businessId, futureId)
|
|
5963
5991
|
}), {
|
|
5964
5992
|
method: 'get'
|
|
@@ -5978,7 +6006,7 @@ var getFuture = function getFuture(futureId, opts) {
|
|
|
5978
6006
|
doesParamExist.default({
|
|
5979
6007
|
futureId: futureId
|
|
5980
6008
|
}, opts.hyperMediaEndpoint);
|
|
5981
|
-
return request(_objectSpread$
|
|
6009
|
+
return request(_objectSpread$m({}, opts, {
|
|
5982
6010
|
path: pathFuture(futureId)
|
|
5983
6011
|
}), {
|
|
5984
6012
|
method: 'get'
|
|
@@ -6003,7 +6031,7 @@ var getPaymentLink = /*#__PURE__*/function () {
|
|
|
6003
6031
|
doesParamExist.default({
|
|
6004
6032
|
futureId: futureId
|
|
6005
6033
|
}, opts.hyperMediaEndpoint);
|
|
6006
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6034
|
+
return _context.abrupt("return", request(_objectSpread$m({}, opts, {
|
|
6007
6035
|
path: pathPaymentLink(futureId)
|
|
6008
6036
|
}), {
|
|
6009
6037
|
method: 'get'
|
|
@@ -6036,7 +6064,7 @@ var sendProcessingRequest = function sendProcessingRequest(futureId, body, opts)
|
|
|
6036
6064
|
doesParamExist.default({
|
|
6037
6065
|
futureId: futureId
|
|
6038
6066
|
}, opts.hyperMediaEndpoint);
|
|
6039
|
-
return request(_objectSpread$
|
|
6067
|
+
return request(_objectSpread$m({}, opts, {
|
|
6040
6068
|
path: pathProcessingRequests(futureId)
|
|
6041
6069
|
}), {
|
|
6042
6070
|
method: 'post',
|
|
@@ -6058,7 +6086,7 @@ var submit = function submit(futureId, body, opts) {
|
|
|
6058
6086
|
doesParamExist.default({
|
|
6059
6087
|
futureId: futureId
|
|
6060
6088
|
}, opts.hyperMediaEndpoint);
|
|
6061
|
-
return request(_objectSpread$
|
|
6089
|
+
return request(_objectSpread$m({}, opts, {
|
|
6062
6090
|
path: pathSubmits(futureId)
|
|
6063
6091
|
}), {
|
|
6064
6092
|
method: 'post',
|
|
@@ -6080,7 +6108,7 @@ var update = function update(futureId, body, opts) {
|
|
|
6080
6108
|
doesParamExist.default({
|
|
6081
6109
|
futureId: futureId
|
|
6082
6110
|
}, opts.hyperMediaEndpoint);
|
|
6083
|
-
return request(_objectSpread$
|
|
6111
|
+
return request(_objectSpread$m({}, opts, {
|
|
6084
6112
|
path: pathFuture(futureId)
|
|
6085
6113
|
}), {
|
|
6086
6114
|
method: 'put',
|
|
@@ -6102,7 +6130,7 @@ var sendReceipt = function sendReceipt(futureId, body, opts) {
|
|
|
6102
6130
|
doesParamExist.default({
|
|
6103
6131
|
futureId: futureId
|
|
6104
6132
|
}, opts.hyperMediaEndpoint);
|
|
6105
|
-
return request(_objectSpread$
|
|
6133
|
+
return request(_objectSpread$m({}, opts, {
|
|
6106
6134
|
path: pathSendReceipt(futureId)
|
|
6107
6135
|
}), {
|
|
6108
6136
|
method: 'post',
|
|
@@ -6135,9 +6163,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
6135
6163
|
sendReceipt: sendReceipt
|
|
6136
6164
|
});
|
|
6137
6165
|
|
|
6138
|
-
function ownKeys$
|
|
6166
|
+
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
6167
|
|
|
6140
|
-
function _objectSpread$
|
|
6168
|
+
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
6169
|
|
|
6142
6170
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
6143
6171
|
return "/businesses/" + businessId + "/patients/" + patientId + "/healthfundaccounts";
|
|
@@ -6175,7 +6203,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6175
6203
|
doesParamExist.default({
|
|
6176
6204
|
memberId: memberId
|
|
6177
6205
|
}, opts.hyperMediaEndpoint);
|
|
6178
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6206
|
+
return _context.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6179
6207
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
6180
6208
|
}), {
|
|
6181
6209
|
method: 'post',
|
|
@@ -6216,7 +6244,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6216
6244
|
businessId: businessId,
|
|
6217
6245
|
patientId: patientId
|
|
6218
6246
|
}, opts.hyperMediaEndpoint);
|
|
6219
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6247
|
+
return _context2.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6220
6248
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6221
6249
|
}), {
|
|
6222
6250
|
method: 'post',
|
|
@@ -6256,7 +6284,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6256
6284
|
memberId: memberId,
|
|
6257
6285
|
healthFundAccountId: healthFundAccountId
|
|
6258
6286
|
}, opts.hyperMediaEndpoint);
|
|
6259
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6287
|
+
return _context3.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6260
6288
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6261
6289
|
}), {
|
|
6262
6290
|
method: 'delete'
|
|
@@ -6297,7 +6325,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6297
6325
|
patientId: patientId,
|
|
6298
6326
|
healthFundAccountId: healthFundAccountId
|
|
6299
6327
|
}, opts.hyperMediaEndpoint);
|
|
6300
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6328
|
+
return _context4.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6301
6329
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6302
6330
|
}), {
|
|
6303
6331
|
method: 'delete'
|
|
@@ -6335,7 +6363,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6335
6363
|
doesParamExist.default({
|
|
6336
6364
|
memberId: memberId
|
|
6337
6365
|
}, opts.hyperMediaEndpoint);
|
|
6338
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6366
|
+
return _context5.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6339
6367
|
path: pathMemberHealthFundAccounts(memberId)
|
|
6340
6368
|
}), {
|
|
6341
6369
|
method: 'get',
|
|
@@ -6376,7 +6404,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6376
6404
|
businessId: businessId,
|
|
6377
6405
|
patientId: patientId
|
|
6378
6406
|
}, opts.hyperMediaEndpoint);
|
|
6379
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6407
|
+
return _context6.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6380
6408
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
6381
6409
|
}), {
|
|
6382
6410
|
method: 'get',
|
|
@@ -6416,7 +6444,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6416
6444
|
memberId: memberId,
|
|
6417
6445
|
healthFundAccountId: healthFundAccountId
|
|
6418
6446
|
}, opts.hyperMediaEndpoint);
|
|
6419
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6447
|
+
return _context7.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6420
6448
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
6421
6449
|
}), {
|
|
6422
6450
|
method: 'get'
|
|
@@ -6457,7 +6485,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6457
6485
|
patientId: patientId,
|
|
6458
6486
|
healthFundAccountId: healthFundAccountId
|
|
6459
6487
|
}, opts.hyperMediaEndpoint);
|
|
6460
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6488
|
+
return _context8.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6461
6489
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6462
6490
|
}), {
|
|
6463
6491
|
method: 'get'
|
|
@@ -6497,7 +6525,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
6497
6525
|
memberId: memberId,
|
|
6498
6526
|
healthFundAccountId: healthFundAccountId
|
|
6499
6527
|
}, opts.hyperMediaEndpoint);
|
|
6500
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6528
|
+
return _context9.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6501
6529
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
6502
6530
|
}), {
|
|
6503
6531
|
method: 'put',
|
|
@@ -6540,7 +6568,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
6540
6568
|
patientId: patientId,
|
|
6541
6569
|
healthFundAccountId: healthFundAccountId
|
|
6542
6570
|
}, opts.hyperMediaEndpoint);
|
|
6543
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6571
|
+
return _context10.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
6544
6572
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
6545
6573
|
}), {
|
|
6546
6574
|
method: 'put',
|
|
@@ -6574,9 +6602,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
6574
6602
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
6575
6603
|
});
|
|
6576
6604
|
|
|
6577
|
-
function ownKeys$
|
|
6605
|
+
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
6606
|
|
|
6579
|
-
function _objectSpread$
|
|
6607
|
+
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
6608
|
|
|
6581
6609
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
6582
6610
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/healthfundsettings";
|
|
@@ -6612,11 +6640,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6612
6640
|
doesParamExist.default({
|
|
6613
6641
|
healthFundId: healthFundId
|
|
6614
6642
|
}, opts.hyperMediaEndpoint);
|
|
6615
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6643
|
+
return _context.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6616
6644
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
6617
6645
|
}), {
|
|
6618
6646
|
method: 'post',
|
|
6619
|
-
data: _objectSpread$
|
|
6647
|
+
data: _objectSpread$o({
|
|
6620
6648
|
enabled: true
|
|
6621
6649
|
}, body)
|
|
6622
6650
|
}));
|
|
@@ -6653,7 +6681,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6653
6681
|
doesParamExist.default({
|
|
6654
6682
|
healthFundId: healthFundId
|
|
6655
6683
|
}, opts.hyperMediaEndpoint);
|
|
6656
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6684
|
+
return _context2.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6657
6685
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6658
6686
|
}), {
|
|
6659
6687
|
method: 'delete'
|
|
@@ -6697,7 +6725,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
6697
6725
|
doesParamExist.default({
|
|
6698
6726
|
healthFundId: healthFundId
|
|
6699
6727
|
}, opts.hyperMediaEndpoint);
|
|
6700
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6728
|
+
return _context3.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6701
6729
|
path: pathHealthFundSettings(healthFundId)
|
|
6702
6730
|
}), {
|
|
6703
6731
|
method: 'get',
|
|
@@ -6746,7 +6774,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
6746
6774
|
practiceId: practiceId,
|
|
6747
6775
|
staffId: staffId
|
|
6748
6776
|
}, opts.hyperMediaEndpoint);
|
|
6749
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6777
|
+
return _context4.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6750
6778
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
6751
6779
|
}), {
|
|
6752
6780
|
method: 'get',
|
|
@@ -6787,7 +6815,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
6787
6815
|
healthFundId: healthFundId,
|
|
6788
6816
|
healthFundSettingId: healthFundSettingId
|
|
6789
6817
|
}, opts.hyperMediaEndpoint);
|
|
6790
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6818
|
+
return _context5.abrupt("return", request(_objectSpread$o({}, opts, {
|
|
6791
6819
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
6792
6820
|
}), {
|
|
6793
6821
|
method: 'put',
|
|
@@ -6816,9 +6844,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
6816
6844
|
updateHealthFundSetting: updateHealthFundSetting
|
|
6817
6845
|
});
|
|
6818
6846
|
|
|
6819
|
-
function ownKeys$
|
|
6847
|
+
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
6848
|
|
|
6821
|
-
function _objectSpread$
|
|
6849
|
+
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
6850
|
var PATH__HEALTH_FUNDS = '/healthfunds';
|
|
6823
6851
|
|
|
6824
6852
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -6861,7 +6889,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
6861
6889
|
doesParamExist.default({
|
|
6862
6890
|
accountId: accountId
|
|
6863
6891
|
}, opts.hyperMediaEndpoint);
|
|
6864
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6892
|
+
return _context.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6865
6893
|
path: pathHealthFundsByAccountId(accountId)
|
|
6866
6894
|
}), {
|
|
6867
6895
|
method: 'get'
|
|
@@ -6903,7 +6931,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
6903
6931
|
doesParamExist.default({
|
|
6904
6932
|
businessId: businessId
|
|
6905
6933
|
}, opts.hyperMediaEndpoint);
|
|
6906
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6934
|
+
return _context2.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6907
6935
|
path: pathBusinessHealthFunds(businessId)
|
|
6908
6936
|
}), {
|
|
6909
6937
|
method: 'get',
|
|
@@ -6938,7 +6966,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
6938
6966
|
opts = {};
|
|
6939
6967
|
}
|
|
6940
6968
|
|
|
6941
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6969
|
+
return _context3.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6942
6970
|
path: PATH__HEALTH_FUNDS
|
|
6943
6971
|
}), {
|
|
6944
6972
|
method: 'get',
|
|
@@ -6982,7 +7010,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
6982
7010
|
doesParamExist.default({
|
|
6983
7011
|
organisationId: organisationId
|
|
6984
7012
|
}, opts.hyperMediaEndpoint);
|
|
6985
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7013
|
+
return _context4.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
6986
7014
|
path: pathOrganisationHealthFunds(organisationId)
|
|
6987
7015
|
}), {
|
|
6988
7016
|
method: 'get',
|
|
@@ -7018,7 +7046,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
7018
7046
|
opts = {};
|
|
7019
7047
|
}
|
|
7020
7048
|
|
|
7021
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7049
|
+
return _context5.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7022
7050
|
path: PATH__HEALTH_FUNDS
|
|
7023
7051
|
}), {
|
|
7024
7052
|
method: 'post',
|
|
@@ -7056,7 +7084,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
7056
7084
|
doesParamExist.default({
|
|
7057
7085
|
healthFundId: healthFundId
|
|
7058
7086
|
}, opts.hyperMediaEndpoint);
|
|
7059
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
7087
|
+
return _context6.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7060
7088
|
path: pathHealthFund(healthFundId)
|
|
7061
7089
|
}), {
|
|
7062
7090
|
method: 'get'
|
|
@@ -7094,7 +7122,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
7094
7122
|
doesParamExist.default({
|
|
7095
7123
|
healthFundId: healthFundId
|
|
7096
7124
|
}, opts.hyperMediaEndpoint);
|
|
7097
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
7125
|
+
return _context7.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7098
7126
|
path: pathHealthFund(healthFundId)
|
|
7099
7127
|
}), {
|
|
7100
7128
|
method: 'put',
|
|
@@ -7132,7 +7160,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
7132
7160
|
doesParamExist.default({
|
|
7133
7161
|
healthFundId: healthFundId
|
|
7134
7162
|
}, opts.hyperMediaEndpoint);
|
|
7135
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
7163
|
+
return _context8.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7136
7164
|
path: pathHealthFund(healthFundId)
|
|
7137
7165
|
}), {
|
|
7138
7166
|
method: 'delete'
|
|
@@ -7225,7 +7253,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
7225
7253
|
healthFundId: healthFundId,
|
|
7226
7254
|
body: body
|
|
7227
7255
|
}, opts.hyperMediaEndpoint);
|
|
7228
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7256
|
+
return _context10.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
7229
7257
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
7230
7258
|
}), {
|
|
7231
7259
|
method: 'post',
|
|
@@ -7260,9 +7288,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
7260
7288
|
verifyMember: verifyMember
|
|
7261
7289
|
});
|
|
7262
7290
|
|
|
7263
|
-
function ownKeys$
|
|
7291
|
+
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
7292
|
|
|
7265
|
-
function _objectSpread$
|
|
7293
|
+
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
7294
|
var pathICDItems = '/icditems';
|
|
7267
7295
|
|
|
7268
7296
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -7291,7 +7319,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
7291
7319
|
};
|
|
7292
7320
|
}
|
|
7293
7321
|
|
|
7294
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7322
|
+
return _context.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
7295
7323
|
path: pathICDItems
|
|
7296
7324
|
}), {
|
|
7297
7325
|
method: 'get',
|
|
@@ -7336,7 +7364,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
7336
7364
|
doesParamExist.default({
|
|
7337
7365
|
modalityId: modalityId
|
|
7338
7366
|
}, opts.hyperMediaEndpoint);
|
|
7339
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7367
|
+
return _context2.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
7340
7368
|
path: pathModalityICDItems(modalityId)
|
|
7341
7369
|
}), {
|
|
7342
7370
|
method: 'get',
|
|
@@ -7362,9 +7390,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
7362
7390
|
getModalityICDItems: getModalityICDItems
|
|
7363
7391
|
});
|
|
7364
7392
|
|
|
7365
|
-
function ownKeys$
|
|
7393
|
+
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
7394
|
|
|
7367
|
-
function _objectSpread$
|
|
7395
|
+
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
7396
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
7369
7397
|
return "/businesses/" + businessId + "/invoicescans";
|
|
7370
7398
|
};
|
|
@@ -7394,7 +7422,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
7394
7422
|
doesParamExist.default({
|
|
7395
7423
|
businessId: businessId
|
|
7396
7424
|
}, opts.hyperMediaEndpoint);
|
|
7397
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7425
|
+
return _context.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7398
7426
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
7399
7427
|
}), {
|
|
7400
7428
|
method: 'post',
|
|
@@ -7435,7 +7463,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
7435
7463
|
businessId: businessId,
|
|
7436
7464
|
invoiceScanId: invoiceScanId
|
|
7437
7465
|
}, opts.hyperMediaEndpoint);
|
|
7438
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7466
|
+
return _context2.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
7439
7467
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
7440
7468
|
}), {
|
|
7441
7469
|
method: 'get'
|
|
@@ -7468,7 +7496,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
7468
7496
|
doesParamExist.default({
|
|
7469
7497
|
businessId: businessId
|
|
7470
7498
|
}, opts.hyperMediaEndpoint);
|
|
7471
|
-
return request(_objectSpread$
|
|
7499
|
+
return request(_objectSpread$r({}, opts, {
|
|
7472
7500
|
path: pathUploadUrlByBusinessId(businessId)
|
|
7473
7501
|
}), {
|
|
7474
7502
|
method: 'get',
|
|
@@ -7486,9 +7514,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
7486
7514
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
7487
7515
|
});
|
|
7488
7516
|
|
|
7489
|
-
function ownKeys$
|
|
7517
|
+
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
7518
|
|
|
7491
|
-
function _objectSpread$
|
|
7519
|
+
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
7520
|
var PATH__JHCS = "/jointhealthcentres";
|
|
7493
7521
|
var pathJHC = function pathJHC(jhcId) {
|
|
7494
7522
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -7501,7 +7529,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
7501
7529
|
doesParamExist.default({
|
|
7502
7530
|
jhcId: jhcId
|
|
7503
7531
|
}, opts.hyperMediaEndpoint);
|
|
7504
|
-
return request(_objectSpread$
|
|
7532
|
+
return request(_objectSpread$s({}, opts, {
|
|
7505
7533
|
path: pathJHC(jhcId)
|
|
7506
7534
|
}), {
|
|
7507
7535
|
method: 'get'
|
|
@@ -7512,7 +7540,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
7512
7540
|
opts = {};
|
|
7513
7541
|
}
|
|
7514
7542
|
|
|
7515
|
-
return request(_objectSpread$
|
|
7543
|
+
return request(_objectSpread$s({}, opts, {
|
|
7516
7544
|
path: PATH__JHCS
|
|
7517
7545
|
}), {
|
|
7518
7546
|
method: 'get',
|
|
@@ -7528,9 +7556,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
7528
7556
|
getJHCs: getJHCs
|
|
7529
7557
|
});
|
|
7530
7558
|
|
|
7531
|
-
function ownKeys$
|
|
7559
|
+
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
7560
|
|
|
7533
|
-
function _objectSpread$
|
|
7561
|
+
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
7562
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
7535
7563
|
return "/businesses/" + businessId + "/kyc";
|
|
7536
7564
|
};
|
|
@@ -7584,7 +7612,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
7584
7612
|
doesParamExist.default({
|
|
7585
7613
|
businessId: businessId
|
|
7586
7614
|
}, opts.hyperMediaEndpoint);
|
|
7587
|
-
return request(_objectSpread$
|
|
7615
|
+
return request(_objectSpread$t({}, opts, {
|
|
7588
7616
|
path: pathBusinessKyc(businessId)
|
|
7589
7617
|
}), {
|
|
7590
7618
|
method: 'get'
|
|
@@ -7606,7 +7634,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
7606
7634
|
businessId: businessId,
|
|
7607
7635
|
practiceId: practiceId
|
|
7608
7636
|
}, opts.hyperMediaEndpoint);
|
|
7609
|
-
return request(_objectSpread$
|
|
7637
|
+
return request(_objectSpread$t({}, opts, {
|
|
7610
7638
|
path: pathPracticeKyc(businessId, practiceId)
|
|
7611
7639
|
}), {
|
|
7612
7640
|
method: 'get'
|
|
@@ -7627,7 +7655,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
7627
7655
|
doesParamExist.default({
|
|
7628
7656
|
businessId: businessId
|
|
7629
7657
|
}, opts.hyperMediaEndpoint);
|
|
7630
|
-
return request(_objectSpread$
|
|
7658
|
+
return request(_objectSpread$t({}, opts, {
|
|
7631
7659
|
path: pathBusinessKyc(businessId)
|
|
7632
7660
|
}), {
|
|
7633
7661
|
method: 'put',
|
|
@@ -7649,7 +7677,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
7649
7677
|
doesParamExist.default({
|
|
7650
7678
|
businessId: businessId
|
|
7651
7679
|
}, opts.hyperMediaEndpoint);
|
|
7652
|
-
return request(_objectSpread$
|
|
7680
|
+
return request(_objectSpread$t({}, opts, {
|
|
7653
7681
|
path: pathBusinessCbo(businessId)
|
|
7654
7682
|
}), {
|
|
7655
7683
|
method: 'get',
|
|
@@ -7670,7 +7698,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
7670
7698
|
doesParamExist.default({
|
|
7671
7699
|
businessId: businessId
|
|
7672
7700
|
}, opts.hyperMediaEndpoint);
|
|
7673
|
-
return request(_objectSpread$
|
|
7701
|
+
return request(_objectSpread$t({}, opts, {
|
|
7674
7702
|
path: pathBusinessKycVerify(businessId)
|
|
7675
7703
|
}), {
|
|
7676
7704
|
method: 'post'
|
|
@@ -7692,7 +7720,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
7692
7720
|
businessId: businessId,
|
|
7693
7721
|
practiceId: practiceId
|
|
7694
7722
|
}, opts.hyperMediaEndpoint);
|
|
7695
|
-
return request(_objectSpread$
|
|
7723
|
+
return request(_objectSpread$t({}, opts, {
|
|
7696
7724
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
7697
7725
|
}), {
|
|
7698
7726
|
method: 'post',
|
|
@@ -7713,7 +7741,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
7713
7741
|
doesParamExist.default({
|
|
7714
7742
|
businessId: businessId
|
|
7715
7743
|
}, opts.hyperMediaEndpoint);
|
|
7716
|
-
return request(_objectSpread$
|
|
7744
|
+
return request(_objectSpread$t({}, opts, {
|
|
7717
7745
|
path: pathBusinessKycUnverify(businessId)
|
|
7718
7746
|
}), {
|
|
7719
7747
|
method: 'post'
|
|
@@ -7735,7 +7763,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
7735
7763
|
businessId: businessId,
|
|
7736
7764
|
practiceId: practiceId
|
|
7737
7765
|
}, opts.hyperMediaEndpoint);
|
|
7738
|
-
return request(_objectSpread$
|
|
7766
|
+
return request(_objectSpread$t({}, opts, {
|
|
7739
7767
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
7740
7768
|
}), {
|
|
7741
7769
|
method: 'post'
|
|
@@ -7756,7 +7784,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
7756
7784
|
doesParamExist.default({
|
|
7757
7785
|
businessId: businessId
|
|
7758
7786
|
}, opts.hyperMediaEndpoint);
|
|
7759
|
-
return request(_objectSpread$
|
|
7787
|
+
return request(_objectSpread$t({}, opts, {
|
|
7760
7788
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
7761
7789
|
}), {
|
|
7762
7790
|
method: 'post',
|
|
@@ -7778,7 +7806,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
7778
7806
|
doesParamExist.default({
|
|
7779
7807
|
businessId: businessId
|
|
7780
7808
|
}, opts.hyperMediaEndpoint);
|
|
7781
|
-
return request(_objectSpread$
|
|
7809
|
+
return request(_objectSpread$t({}, opts, {
|
|
7782
7810
|
path: pathRequestVerificationSupport(businessId)
|
|
7783
7811
|
}), {
|
|
7784
7812
|
method: 'post',
|
|
@@ -7800,7 +7828,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
7800
7828
|
doesParamExist.default({
|
|
7801
7829
|
businessId: businessId
|
|
7802
7830
|
}, opts.hyperMediaEndpoint);
|
|
7803
|
-
return request(_objectSpread$
|
|
7831
|
+
return request(_objectSpread$t({}, opts, {
|
|
7804
7832
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
7805
7833
|
}), {
|
|
7806
7834
|
method: 'post',
|
|
@@ -7823,7 +7851,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
7823
7851
|
doesParamExist.default({
|
|
7824
7852
|
businessId: businessId
|
|
7825
7853
|
}, opts.hyperMediaEndpoint);
|
|
7826
|
-
return request(_objectSpread$
|
|
7854
|
+
return request(_objectSpread$t({}, opts, {
|
|
7827
7855
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
7828
7856
|
}), {
|
|
7829
7857
|
method: 'delete'
|
|
@@ -7843,7 +7871,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
7843
7871
|
doesParamExist.default({
|
|
7844
7872
|
businessId: businessId
|
|
7845
7873
|
}, opts.hyperMediaEndpoint);
|
|
7846
|
-
return request(_objectSpread$
|
|
7874
|
+
return request(_objectSpread$t({}, opts, {
|
|
7847
7875
|
path: pathResumeComplexVerification(businessId)
|
|
7848
7876
|
}), {
|
|
7849
7877
|
method: 'post'
|
|
@@ -7864,7 +7892,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
7864
7892
|
doesParamExist.default({
|
|
7865
7893
|
businessId: businessId
|
|
7866
7894
|
}, opts.hyperMediaEndpoint);
|
|
7867
|
-
return request(_objectSpread$
|
|
7895
|
+
return request(_objectSpread$t({}, opts, {
|
|
7868
7896
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
7869
7897
|
}), {
|
|
7870
7898
|
method: 'get',
|
|
@@ -7903,9 +7931,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
7903
7931
|
getTrustDocumentUploadUrl: getTrustDocumentUploadUrl
|
|
7904
7932
|
});
|
|
7905
7933
|
|
|
7906
|
-
function ownKeys$
|
|
7934
|
+
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
7935
|
|
|
7908
|
-
function _objectSpread$
|
|
7936
|
+
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
7937
|
var pathLog = function pathLog() {
|
|
7910
7938
|
return "/logs";
|
|
7911
7939
|
};
|
|
@@ -7923,7 +7951,7 @@ var createLog = function createLog(body, opts) {
|
|
|
7923
7951
|
opts = {};
|
|
7924
7952
|
}
|
|
7925
7953
|
|
|
7926
|
-
return request(_objectSpread$
|
|
7954
|
+
return request(_objectSpread$u({}, opts, {
|
|
7927
7955
|
path: pathLog()
|
|
7928
7956
|
}), {
|
|
7929
7957
|
method: 'post',
|
|
@@ -7945,7 +7973,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
7945
7973
|
doesParamExist.default({
|
|
7946
7974
|
businessId: businessId
|
|
7947
7975
|
});
|
|
7948
|
-
return request(_objectSpread$
|
|
7976
|
+
return request(_objectSpread$u({}, opts, {
|
|
7949
7977
|
path: pathBusinessLog(businessId)
|
|
7950
7978
|
}), {
|
|
7951
7979
|
method: 'post',
|
|
@@ -7961,9 +7989,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
7961
7989
|
createBusinessLog: createBusinessLog
|
|
7962
7990
|
});
|
|
7963
7991
|
|
|
7964
|
-
function ownKeys$
|
|
7992
|
+
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
7993
|
|
|
7966
|
-
function _objectSpread$
|
|
7994
|
+
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
7995
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
7968
7996
|
return "/businesses/" + businessId + "/messagemappings";
|
|
7969
7997
|
};
|
|
@@ -7982,7 +8010,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
7982
8010
|
doesParamExist.default({
|
|
7983
8011
|
businessId: businessId
|
|
7984
8012
|
}, opts.hyperMediaEndpoint);
|
|
7985
|
-
return request(_objectSpread$
|
|
8013
|
+
return request(_objectSpread$v({}, opts, {
|
|
7986
8014
|
path: pathBusinessMessageMappings(businessId)
|
|
7987
8015
|
}), {
|
|
7988
8016
|
method: 'get',
|
|
@@ -7996,9 +8024,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
7996
8024
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
7997
8025
|
});
|
|
7998
8026
|
|
|
7999
|
-
function ownKeys$
|
|
8027
|
+
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
8028
|
|
|
8001
|
-
function _objectSpread$
|
|
8029
|
+
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
8030
|
|
|
8003
8031
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
8004
8032
|
return "/healthfunds/" + healthFundId + "/minions";
|
|
@@ -8035,12 +8063,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8035
8063
|
triggerId: triggerId,
|
|
8036
8064
|
actionId: actionId
|
|
8037
8065
|
}, opts.hyperMediaEndpoint);
|
|
8038
|
-
data = _objectSpread$
|
|
8066
|
+
data = _objectSpread$w({
|
|
8039
8067
|
name: name,
|
|
8040
8068
|
triggerId: triggerId,
|
|
8041
8069
|
actionId: actionId
|
|
8042
8070
|
}, body);
|
|
8043
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8071
|
+
return _context.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8044
8072
|
path: pathMinionsForHealthFund(healthFundId)
|
|
8045
8073
|
}), {
|
|
8046
8074
|
method: 'post',
|
|
@@ -8080,7 +8108,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
8080
8108
|
opts = {};
|
|
8081
8109
|
}
|
|
8082
8110
|
|
|
8083
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8111
|
+
return _context2.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8084
8112
|
path: pathMinionsForHealthFund(healthFundId)
|
|
8085
8113
|
}), {
|
|
8086
8114
|
method: 'get',
|
|
@@ -8120,7 +8148,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8120
8148
|
healthFundId: healthFundId,
|
|
8121
8149
|
minionId: minionId
|
|
8122
8150
|
}, opts.hyperMediaEndpoint);
|
|
8123
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8151
|
+
return _context3.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8124
8152
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8125
8153
|
}), {
|
|
8126
8154
|
method: 'get'
|
|
@@ -8160,7 +8188,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8160
8188
|
healthFundId: healthFundId,
|
|
8161
8189
|
minionId: minionId
|
|
8162
8190
|
}, opts.hyperMediaEndpoint);
|
|
8163
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
8191
|
+
return _context4.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8164
8192
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8165
8193
|
}), {
|
|
8166
8194
|
method: 'put',
|
|
@@ -8200,7 +8228,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
8200
8228
|
healthFundId: healthFundId,
|
|
8201
8229
|
minionId: minionId
|
|
8202
8230
|
}, opts.hyperMediaEndpoint);
|
|
8203
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
8231
|
+
return _context5.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
8204
8232
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
8205
8233
|
}), {
|
|
8206
8234
|
method: 'delete'
|
|
@@ -8228,9 +8256,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
8228
8256
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
8229
8257
|
});
|
|
8230
8258
|
|
|
8231
|
-
function ownKeys$
|
|
8259
|
+
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
8260
|
|
|
8233
|
-
function _objectSpread$
|
|
8261
|
+
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
8262
|
var PATH__MODALITIES = '/modalities';
|
|
8235
8263
|
|
|
8236
8264
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -8262,7 +8290,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
8262
8290
|
doesParamExist.default({
|
|
8263
8291
|
businessId: businessId
|
|
8264
8292
|
}, opts.hyperMediaEndpoint);
|
|
8265
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8293
|
+
return _context.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
8266
8294
|
path: pathBusinessModalities(businessId)
|
|
8267
8295
|
}), {
|
|
8268
8296
|
method: 'get'
|
|
@@ -8302,7 +8330,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
8302
8330
|
};
|
|
8303
8331
|
}
|
|
8304
8332
|
|
|
8305
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8333
|
+
return _context2.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
8306
8334
|
path: PATH__MODALITIES
|
|
8307
8335
|
}), {
|
|
8308
8336
|
method: 'get',
|
|
@@ -8339,7 +8367,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
8339
8367
|
};
|
|
8340
8368
|
}
|
|
8341
8369
|
|
|
8342
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
8370
|
+
return _context3.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
8343
8371
|
path: pathModality(modalityId)
|
|
8344
8372
|
}), {
|
|
8345
8373
|
method: 'get'
|
|
@@ -8365,9 +8393,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
8365
8393
|
getModality: getModality
|
|
8366
8394
|
});
|
|
8367
8395
|
|
|
8368
|
-
function ownKeys$
|
|
8396
|
+
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
8397
|
|
|
8370
|
-
function _objectSpread$
|
|
8398
|
+
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
8399
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
8372
8400
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
8373
8401
|
};
|
|
@@ -8395,7 +8423,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
8395
8423
|
healthFundId: healthFundId,
|
|
8396
8424
|
documentId: documentId
|
|
8397
8425
|
}, opts.hyperMediaEndpoint);
|
|
8398
|
-
return request(_objectSpread$
|
|
8426
|
+
return request(_objectSpread$y({}, opts, {
|
|
8399
8427
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8400
8428
|
}), {
|
|
8401
8429
|
method: 'post',
|
|
@@ -8411,7 +8439,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
8411
8439
|
healthFundId: healthFundId,
|
|
8412
8440
|
documentId: documentId
|
|
8413
8441
|
}, opts.hyperMediaEndpoint);
|
|
8414
|
-
return request(_objectSpread$
|
|
8442
|
+
return request(_objectSpread$y({}, opts, {
|
|
8415
8443
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
8416
8444
|
}), {
|
|
8417
8445
|
method: 'get'
|
|
@@ -8426,7 +8454,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
8426
8454
|
healthFundId: healthFundId,
|
|
8427
8455
|
transactionId: transactionId
|
|
8428
8456
|
}, opts.hyperMediaEndpoint);
|
|
8429
|
-
return request(_objectSpread$
|
|
8457
|
+
return request(_objectSpread$y({}, opts, {
|
|
8430
8458
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
8431
8459
|
}), {
|
|
8432
8460
|
method: 'get'
|
|
@@ -8441,7 +8469,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
8441
8469
|
healthFundId: healthFundId,
|
|
8442
8470
|
noteId: noteId
|
|
8443
8471
|
}, opts.hyperMediaEndpoint);
|
|
8444
|
-
return request(_objectSpread$
|
|
8472
|
+
return request(_objectSpread$y({}, opts, {
|
|
8445
8473
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8446
8474
|
}), {
|
|
8447
8475
|
method: 'get'
|
|
@@ -8455,7 +8483,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
8455
8483
|
doesParamExist.default({
|
|
8456
8484
|
transactionId: transactionId
|
|
8457
8485
|
}, opts.hyperMediaEndpoint);
|
|
8458
|
-
return request(_objectSpread$
|
|
8486
|
+
return request(_objectSpread$y({}, opts, {
|
|
8459
8487
|
path: pathTransactionNotes(transactionId)
|
|
8460
8488
|
}), {
|
|
8461
8489
|
method: 'get',
|
|
@@ -8471,7 +8499,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
8471
8499
|
businessId: businessId,
|
|
8472
8500
|
transactionId: transactionId
|
|
8473
8501
|
}, opts.hyperMediaEndpoint);
|
|
8474
|
-
return request(_objectSpread$
|
|
8502
|
+
return request(_objectSpread$y({}, opts, {
|
|
8475
8503
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
8476
8504
|
}), {
|
|
8477
8505
|
method: 'get'
|
|
@@ -8485,7 +8513,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
8485
8513
|
doesParamExist.default({
|
|
8486
8514
|
transactionId: transactionId
|
|
8487
8515
|
}, opts.hyperMediaEndpoint);
|
|
8488
|
-
return request(_objectSpread$
|
|
8516
|
+
return request(_objectSpread$y({}, opts, {
|
|
8489
8517
|
path: pathTransactionNotes(transactionId)
|
|
8490
8518
|
}), {
|
|
8491
8519
|
method: 'post',
|
|
@@ -8501,7 +8529,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
8501
8529
|
transactionId: transactionId,
|
|
8502
8530
|
transactionNoteId: transactionNoteId
|
|
8503
8531
|
}, opts.hyperMediaEndpoint);
|
|
8504
|
-
return request(_objectSpread$
|
|
8532
|
+
return request(_objectSpread$y({}, opts, {
|
|
8505
8533
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
8506
8534
|
}), {
|
|
8507
8535
|
method: 'delete'
|
|
@@ -8516,7 +8544,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
8516
8544
|
healthFundId: healthFundId,
|
|
8517
8545
|
noteId: noteId
|
|
8518
8546
|
}, opts.hyperMediaEndpoint);
|
|
8519
|
-
return request(_objectSpread$
|
|
8547
|
+
return request(_objectSpread$y({}, opts, {
|
|
8520
8548
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8521
8549
|
}), {
|
|
8522
8550
|
method: 'put',
|
|
@@ -8532,7 +8560,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
8532
8560
|
healthFundId: healthFundId,
|
|
8533
8561
|
noteId: noteId
|
|
8534
8562
|
}, opts.hyperMediaEndpoint);
|
|
8535
|
-
return request(_objectSpread$
|
|
8563
|
+
return request(_objectSpread$y({}, opts, {
|
|
8536
8564
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
8537
8565
|
}), {
|
|
8538
8566
|
method: 'delete'
|
|
@@ -8559,9 +8587,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
8559
8587
|
deleteHealthFundNote: deleteHealthFundNote
|
|
8560
8588
|
});
|
|
8561
8589
|
|
|
8562
|
-
function ownKeys$
|
|
8590
|
+
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
8591
|
|
|
8564
|
-
function _objectSpread$
|
|
8592
|
+
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
8593
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
8566
8594
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
8567
8595
|
};
|
|
@@ -8592,7 +8620,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
8592
8620
|
doesParamExist.default({
|
|
8593
8621
|
practiceId: practiceId
|
|
8594
8622
|
});
|
|
8595
|
-
return request(_objectSpread$
|
|
8623
|
+
return request(_objectSpread$z({}, opts, {
|
|
8596
8624
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
8597
8625
|
}), {
|
|
8598
8626
|
method: 'post',
|
|
@@ -8625,7 +8653,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
8625
8653
|
businessId: businessId,
|
|
8626
8654
|
practiceId: practiceId
|
|
8627
8655
|
}, opts.hyperMediaEndpoint);
|
|
8628
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8656
|
+
return _context.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
8629
8657
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
8630
8658
|
}), {
|
|
8631
8659
|
method: 'get',
|
|
@@ -8659,7 +8687,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
8659
8687
|
doesParamExist.default({
|
|
8660
8688
|
businessId: businessId
|
|
8661
8689
|
});
|
|
8662
|
-
return request(_objectSpread$
|
|
8690
|
+
return request(_objectSpread$z({}, opts, {
|
|
8663
8691
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8664
8692
|
}), {
|
|
8665
8693
|
method: 'get',
|
|
@@ -8679,7 +8707,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
8679
8707
|
doesParamExist.default({
|
|
8680
8708
|
businessId: businessId
|
|
8681
8709
|
});
|
|
8682
|
-
return request(_objectSpread$
|
|
8710
|
+
return request(_objectSpread$z({}, opts, {
|
|
8683
8711
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8684
8712
|
}), {
|
|
8685
8713
|
method: 'post',
|
|
@@ -8699,7 +8727,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
8699
8727
|
doesParamExist.default({
|
|
8700
8728
|
businessId: businessId
|
|
8701
8729
|
});
|
|
8702
|
-
return request(_objectSpread$
|
|
8730
|
+
return request(_objectSpread$z({}, opts, {
|
|
8703
8731
|
path: pathBusinessOnboardingApplications(businessId)
|
|
8704
8732
|
}), {
|
|
8705
8733
|
method: 'put',
|
|
@@ -8723,7 +8751,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
8723
8751
|
staffId: staffId,
|
|
8724
8752
|
providerSetItemId: providerSetItemId
|
|
8725
8753
|
});
|
|
8726
|
-
return request(_objectSpread$
|
|
8754
|
+
return request(_objectSpread$z({}, opts, {
|
|
8727
8755
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
8728
8756
|
}), {
|
|
8729
8757
|
method: 'post',
|
|
@@ -8745,7 +8773,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
8745
8773
|
doesParamExist.default({
|
|
8746
8774
|
businessId: businessId
|
|
8747
8775
|
});
|
|
8748
|
-
return request(_objectSpread$
|
|
8776
|
+
return request(_objectSpread$z({}, opts, {
|
|
8749
8777
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
8750
8778
|
}), {
|
|
8751
8779
|
method: 'get',
|
|
@@ -8769,9 +8797,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
8769
8797
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
8770
8798
|
});
|
|
8771
8799
|
|
|
8772
|
-
function ownKeys$
|
|
8800
|
+
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
8801
|
|
|
8774
|
-
function _objectSpread$
|
|
8802
|
+
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
8803
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
8776
8804
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
8777
8805
|
};
|
|
@@ -8803,7 +8831,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
8803
8831
|
doesParamExist.default({
|
|
8804
8832
|
onboardingRequestId: onboardingRequestId
|
|
8805
8833
|
}, opts.hyperMediaEndpoint);
|
|
8806
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8834
|
+
return _context.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
8807
8835
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8808
8836
|
}), {
|
|
8809
8837
|
method: 'get'
|
|
@@ -8845,7 +8873,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
8845
8873
|
doesParamExist.default({
|
|
8846
8874
|
businessId: businessId
|
|
8847
8875
|
}, opts.hyperMediaEndpoint);
|
|
8848
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8876
|
+
return _context2.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
8849
8877
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8850
8878
|
}), {
|
|
8851
8879
|
method: 'get',
|
|
@@ -8877,7 +8905,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
8877
8905
|
doesParamExist.default({
|
|
8878
8906
|
businessId: businessId
|
|
8879
8907
|
});
|
|
8880
|
-
return request(_objectSpread$
|
|
8908
|
+
return request(_objectSpread$A({}, opts, {
|
|
8881
8909
|
path: pathBusinessOnboardingRequests(businessId)
|
|
8882
8910
|
}), {
|
|
8883
8911
|
method: 'post',
|
|
@@ -8897,7 +8925,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
8897
8925
|
doesParamExist.default({
|
|
8898
8926
|
onboardingRequestId: onboardingRequestId
|
|
8899
8927
|
});
|
|
8900
|
-
return request(_objectSpread$
|
|
8928
|
+
return request(_objectSpread$A({}, opts, {
|
|
8901
8929
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
8902
8930
|
}), {
|
|
8903
8931
|
method: 'post',
|
|
@@ -8918,7 +8946,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
8918
8946
|
doesParamExist.default({
|
|
8919
8947
|
onboardingRequestId: onboardingRequestId
|
|
8920
8948
|
});
|
|
8921
|
-
return request(_objectSpread$
|
|
8949
|
+
return request(_objectSpread$A({}, opts, {
|
|
8922
8950
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
8923
8951
|
}), {
|
|
8924
8952
|
method: 'put',
|
|
@@ -8938,7 +8966,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
8938
8966
|
doesParamExist.default({
|
|
8939
8967
|
onboardingRequestId: onboardingRequestId
|
|
8940
8968
|
});
|
|
8941
|
-
return request(_objectSpread$
|
|
8969
|
+
return request(_objectSpread$A({}, opts, {
|
|
8942
8970
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
8943
8971
|
}), {
|
|
8944
8972
|
method: 'delete',
|
|
@@ -8960,9 +8988,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
8960
8988
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
8961
8989
|
});
|
|
8962
8990
|
|
|
8963
|
-
function ownKeys$
|
|
8991
|
+
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
8992
|
|
|
8965
|
-
function _objectSpread$
|
|
8993
|
+
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
8994
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
8967
8995
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
8968
8996
|
var PATH__OPS_DECRTPT = '/ops/decrypt';
|
|
@@ -8995,13 +9023,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
8995
9023
|
type: type
|
|
8996
9024
|
}, opts.hyperMediaEndpoint);
|
|
8997
9025
|
|
|
8998
|
-
var data = _objectSpread$
|
|
9026
|
+
var data = _objectSpread$B({
|
|
8999
9027
|
fullName: fullName,
|
|
9000
9028
|
displayName: displayName,
|
|
9001
9029
|
type: type
|
|
9002
9030
|
}, body);
|
|
9003
9031
|
|
|
9004
|
-
return request(_objectSpread$
|
|
9032
|
+
return request(_objectSpread$B({}, opts, {
|
|
9005
9033
|
path: PATH__OPS_SERVICES
|
|
9006
9034
|
}), {
|
|
9007
9035
|
method: 'post',
|
|
@@ -9022,7 +9050,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
9022
9050
|
doesParamExist.default({
|
|
9023
9051
|
serviceId: serviceId
|
|
9024
9052
|
}, opts.hyperMediaEndpoint);
|
|
9025
|
-
return request(_objectSpread$
|
|
9053
|
+
return request(_objectSpread$B({}, opts, {
|
|
9026
9054
|
path: pathOpsService(serviceId)
|
|
9027
9055
|
}), {
|
|
9028
9056
|
method: 'delete'
|
|
@@ -9042,7 +9070,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
9042
9070
|
doesParamExist.default({
|
|
9043
9071
|
serviceId: serviceId
|
|
9044
9072
|
}, opts.hyperMediaEndpoint);
|
|
9045
|
-
return request(_objectSpread$
|
|
9073
|
+
return request(_objectSpread$B({}, opts, {
|
|
9046
9074
|
path: PATH__OPS_DEPLOYMENTS
|
|
9047
9075
|
}), {
|
|
9048
9076
|
method: 'post',
|
|
@@ -9066,7 +9094,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
9066
9094
|
opts = {};
|
|
9067
9095
|
}
|
|
9068
9096
|
|
|
9069
|
-
return request(_objectSpread$
|
|
9097
|
+
return request(_objectSpread$B({}, opts, {
|
|
9070
9098
|
path: PATH__OPS_DEPLOYMENTS
|
|
9071
9099
|
}), {
|
|
9072
9100
|
method: 'get',
|
|
@@ -9087,7 +9115,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
9087
9115
|
doesParamExist.default({
|
|
9088
9116
|
deploymentId: deploymentId
|
|
9089
9117
|
}, opts.hyperMediaEndpoint);
|
|
9090
|
-
return request(_objectSpread$
|
|
9118
|
+
return request(_objectSpread$B({}, opts, {
|
|
9091
9119
|
path: pathOpsDeployment(deploymentId)
|
|
9092
9120
|
}), {
|
|
9093
9121
|
method: 'get'
|
|
@@ -9108,7 +9136,7 @@ var getServices = function getServices(query, opts) {
|
|
|
9108
9136
|
opts = {};
|
|
9109
9137
|
}
|
|
9110
9138
|
|
|
9111
|
-
return request(_objectSpread$
|
|
9139
|
+
return request(_objectSpread$B({}, opts, {
|
|
9112
9140
|
path: PATH__OPS_SERVICES
|
|
9113
9141
|
}), {
|
|
9114
9142
|
method: 'get',
|
|
@@ -9129,7 +9157,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
9129
9157
|
doesParamExist.default({
|
|
9130
9158
|
serviceId: serviceId
|
|
9131
9159
|
}, opts.hyperMediaEndpoint);
|
|
9132
|
-
return request(_objectSpread$
|
|
9160
|
+
return request(_objectSpread$B({}, opts, {
|
|
9133
9161
|
path: pathOpsService(serviceId)
|
|
9134
9162
|
}), {
|
|
9135
9163
|
method: 'get'
|
|
@@ -9150,7 +9178,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
9150
9178
|
doesParamExist.default({
|
|
9151
9179
|
serviceId: serviceId
|
|
9152
9180
|
}, opts.hyperMediaEndpoint);
|
|
9153
|
-
return request(_objectSpread$
|
|
9181
|
+
return request(_objectSpread$B({}, opts, {
|
|
9154
9182
|
path: pathOpsService(serviceId)
|
|
9155
9183
|
}), {
|
|
9156
9184
|
method: 'put',
|
|
@@ -9172,7 +9200,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
9172
9200
|
doesParamExist.default({
|
|
9173
9201
|
serviceId: serviceId
|
|
9174
9202
|
}, opts.hyperMediaEndpoint);
|
|
9175
|
-
return request(_objectSpread$
|
|
9203
|
+
return request(_objectSpread$B({}, opts, {
|
|
9176
9204
|
path: PATH__OPS_DECRTPT
|
|
9177
9205
|
}), {
|
|
9178
9206
|
method: 'post',
|
|
@@ -9193,9 +9221,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
9193
9221
|
decrypt: decrypt
|
|
9194
9222
|
});
|
|
9195
9223
|
|
|
9196
|
-
function ownKeys$
|
|
9224
|
+
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
9225
|
|
|
9198
|
-
function _objectSpread$
|
|
9226
|
+
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
9227
|
var PATH__ORGANISATIONS = '/organisations';
|
|
9200
9228
|
/**
|
|
9201
9229
|
* Get organisations
|
|
@@ -9212,7 +9240,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
9212
9240
|
opts = {};
|
|
9213
9241
|
}
|
|
9214
9242
|
|
|
9215
|
-
return request(_objectSpread$
|
|
9243
|
+
return request(_objectSpread$C({}, opts, {
|
|
9216
9244
|
path: PATH__ORGANISATIONS
|
|
9217
9245
|
}), {
|
|
9218
9246
|
method: 'get',
|
|
@@ -9225,9 +9253,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
9225
9253
|
getOrganisations: getOrganisations
|
|
9226
9254
|
});
|
|
9227
9255
|
|
|
9228
|
-
function ownKeys$
|
|
9256
|
+
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
9257
|
|
|
9230
|
-
function _objectSpread$
|
|
9258
|
+
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
9259
|
var PATH__PARTNERS = '/partners';
|
|
9232
9260
|
|
|
9233
9261
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -9266,7 +9294,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
9266
9294
|
opts = {};
|
|
9267
9295
|
}
|
|
9268
9296
|
|
|
9269
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9297
|
+
return _context.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9270
9298
|
path: PATH__PARTNERS
|
|
9271
9299
|
}), {
|
|
9272
9300
|
method: 'get',
|
|
@@ -9304,7 +9332,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
9304
9332
|
doesParamExist.default({
|
|
9305
9333
|
partnerId: partnerId
|
|
9306
9334
|
}, opts.hyperMediaEndpoint);
|
|
9307
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9335
|
+
return _context2.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9308
9336
|
path: pathPartner(partnerId)
|
|
9309
9337
|
}), {
|
|
9310
9338
|
method: 'get'
|
|
@@ -9342,7 +9370,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
9342
9370
|
doesParamExist.default({
|
|
9343
9371
|
partnerId: partnerId
|
|
9344
9372
|
}, opts.hyperMediaEndpoint);
|
|
9345
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9373
|
+
return _context3.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9346
9374
|
path: pathPartner(partnerId)
|
|
9347
9375
|
}), {
|
|
9348
9376
|
method: 'put',
|
|
@@ -9383,10 +9411,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
9383
9411
|
doesParamExist.default({
|
|
9384
9412
|
partnerId: partnerId
|
|
9385
9413
|
}, opts.hyperMediaEndpoint);
|
|
9386
|
-
data = _objectSpread$
|
|
9414
|
+
data = _objectSpread$D({
|
|
9387
9415
|
fullNameId: fullNameId
|
|
9388
9416
|
}, body);
|
|
9389
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9417
|
+
return _context4.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9390
9418
|
path: pathPartnerPractices(partnerId)
|
|
9391
9419
|
}), {
|
|
9392
9420
|
method: 'put',
|
|
@@ -9430,10 +9458,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
9430
9458
|
practiceId: practiceId,
|
|
9431
9459
|
providerNumberId: providerNumberId
|
|
9432
9460
|
}, opts.hyperMediaEndpoint);
|
|
9433
|
-
data = _objectSpread$
|
|
9461
|
+
data = _objectSpread$D({
|
|
9434
9462
|
providerNumberId: providerNumberId
|
|
9435
9463
|
}, body);
|
|
9436
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9464
|
+
return _context5.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9437
9465
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
9438
9466
|
}), {
|
|
9439
9467
|
method: 'put',
|
|
@@ -9476,7 +9504,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9476
9504
|
doesParamExist.default({
|
|
9477
9505
|
accountId: accountId
|
|
9478
9506
|
}, opts.hyperMediaEndpoint);
|
|
9479
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9507
|
+
return _context6.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9480
9508
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
9481
9509
|
}), {
|
|
9482
9510
|
method: 'post',
|
|
@@ -9516,7 +9544,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
9516
9544
|
doesParamExist.default({
|
|
9517
9545
|
accountId: accountId
|
|
9518
9546
|
}, opts.hyperMediaEndpoint);
|
|
9519
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
9547
|
+
return _context7.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
9520
9548
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
9521
9549
|
}), {
|
|
9522
9550
|
method: 'post'
|
|
@@ -9546,9 +9574,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
9546
9574
|
notifyPartnerAccount: notifyPartnerAccount
|
|
9547
9575
|
});
|
|
9548
9576
|
|
|
9549
|
-
function ownKeys$
|
|
9577
|
+
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
9578
|
|
|
9551
|
-
function _objectSpread$
|
|
9579
|
+
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
9580
|
|
|
9553
9581
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
9554
9582
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -9582,7 +9610,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
9582
9610
|
doesParamExist.default({
|
|
9583
9611
|
businessId: businessId
|
|
9584
9612
|
}, opts.hyperMediaEndpoint);
|
|
9585
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9613
|
+
return _context.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9586
9614
|
path: pathBusinessPatients(businessId)
|
|
9587
9615
|
}), {
|
|
9588
9616
|
method: 'post',
|
|
@@ -9625,7 +9653,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
9625
9653
|
doesParamExist.default({
|
|
9626
9654
|
businessId: businessId
|
|
9627
9655
|
}, opts.hyperMediaEndpoint);
|
|
9628
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9656
|
+
return _context2.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9629
9657
|
path: pathBusinessPatients(businessId)
|
|
9630
9658
|
}), {
|
|
9631
9659
|
method: 'get',
|
|
@@ -9664,7 +9692,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
9664
9692
|
doesParamExist.default({
|
|
9665
9693
|
businessId: businessId
|
|
9666
9694
|
}, opts.hyperMediaEndpoint);
|
|
9667
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9695
|
+
return _context3.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9668
9696
|
path: pathBusinessPatient(businessId, patientId)
|
|
9669
9697
|
}), {
|
|
9670
9698
|
method: 'get'
|
|
@@ -9703,7 +9731,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
9703
9731
|
businessId: businessId,
|
|
9704
9732
|
refId: refId
|
|
9705
9733
|
}, opts.hyperMediaEndpoint);
|
|
9706
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9734
|
+
return _context4.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9707
9735
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
9708
9736
|
}), {
|
|
9709
9737
|
method: 'get'
|
|
@@ -9742,7 +9770,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
9742
9770
|
doesParamExist.default({
|
|
9743
9771
|
businessId: businessId
|
|
9744
9772
|
}, opts.hyperMediaEndpoint);
|
|
9745
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9773
|
+
return _context5.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9746
9774
|
path: pathBusinessPatient(businessId, patientId)
|
|
9747
9775
|
}), {
|
|
9748
9776
|
method: 'put',
|
|
@@ -9781,7 +9809,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
9781
9809
|
doesParamExist.default({
|
|
9782
9810
|
businessId: businessId
|
|
9783
9811
|
}, opts.hyperMediaEndpoint);
|
|
9784
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
9812
|
+
return _context6.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
9785
9813
|
path: pathBusinessPatient(businessId, patientId)
|
|
9786
9814
|
}), {
|
|
9787
9815
|
method: 'delete'
|
|
@@ -9810,9 +9838,9 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
9810
9838
|
deleteBusinessPatient: deleteBusinessPatient
|
|
9811
9839
|
});
|
|
9812
9840
|
|
|
9813
|
-
function ownKeys$
|
|
9841
|
+
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
9842
|
|
|
9815
|
-
function _objectSpread$
|
|
9843
|
+
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
9844
|
var PATH__PAYMENTS = '/payments';
|
|
9817
9845
|
|
|
9818
9846
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -9869,7 +9897,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
9869
9897
|
nonce: nonce,
|
|
9870
9898
|
source: source
|
|
9871
9899
|
}, opts.hyperMediaEndpoint);
|
|
9872
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9900
|
+
return _context.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9873
9901
|
path: pathAccountPaymentMethods(accountId)
|
|
9874
9902
|
}), {
|
|
9875
9903
|
method: 'post',
|
|
@@ -9913,7 +9941,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
9913
9941
|
nonce: nonce,
|
|
9914
9942
|
source: source
|
|
9915
9943
|
}, opts.hyperMediaEndpoint);
|
|
9916
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9944
|
+
return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9917
9945
|
path: pathBusinessPaymentMethods(businessId)
|
|
9918
9946
|
}), {
|
|
9919
9947
|
method: 'post',
|
|
@@ -9959,7 +9987,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
9959
9987
|
nonce: nonce,
|
|
9960
9988
|
source: source
|
|
9961
9989
|
}, opts.hyperMediaEndpoint);
|
|
9962
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9990
|
+
return _context3.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9963
9991
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
9964
9992
|
}), {
|
|
9965
9993
|
method: 'post',
|
|
@@ -10003,7 +10031,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10003
10031
|
accountId: accountId,
|
|
10004
10032
|
paymentMethodId: paymentMethodId
|
|
10005
10033
|
}, opts.hyperMediaEndpoint);
|
|
10006
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10034
|
+
return _context4.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10007
10035
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10008
10036
|
}), {
|
|
10009
10037
|
method: 'delete'
|
|
@@ -10043,7 +10071,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10043
10071
|
businessId: businessId,
|
|
10044
10072
|
paymentMethodId: paymentMethodId
|
|
10045
10073
|
}, opts.hyperMediaEndpoint);
|
|
10046
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10074
|
+
return _context5.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10047
10075
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10048
10076
|
}), {
|
|
10049
10077
|
method: 'delete'
|
|
@@ -10085,7 +10113,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10085
10113
|
patientId: patientId,
|
|
10086
10114
|
paymentMethodId: paymentMethodId
|
|
10087
10115
|
}, opts.hyperMediaEndpoint);
|
|
10088
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
10116
|
+
return _context6.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10089
10117
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10090
10118
|
}), {
|
|
10091
10119
|
method: 'delete'
|
|
@@ -10123,7 +10151,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
10123
10151
|
doesParamExist.default({
|
|
10124
10152
|
accountId: accountId
|
|
10125
10153
|
}, opts.hyperMediaEndpoint);
|
|
10126
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
10154
|
+
return _context7.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10127
10155
|
path: pathAccountPaymentMethods(accountId)
|
|
10128
10156
|
}), {
|
|
10129
10157
|
method: 'get'
|
|
@@ -10161,7 +10189,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
10161
10189
|
doesParamExist.default({
|
|
10162
10190
|
businessId: businessId
|
|
10163
10191
|
}, opts.hyperMediaEndpoint);
|
|
10164
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
10192
|
+
return _context8.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10165
10193
|
path: pathBusinessPaymentMethods(businessId)
|
|
10166
10194
|
}), {
|
|
10167
10195
|
method: 'get'
|
|
@@ -10200,7 +10228,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
10200
10228
|
businessId: businessId,
|
|
10201
10229
|
patientId: patientId
|
|
10202
10230
|
}, opts.hyperMediaEndpoint);
|
|
10203
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
10231
|
+
return _context9.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10204
10232
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
10205
10233
|
}), {
|
|
10206
10234
|
method: 'get'
|
|
@@ -10240,7 +10268,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10240
10268
|
accountId: accountId,
|
|
10241
10269
|
paymentMethodId: paymentMethodId
|
|
10242
10270
|
}, opts.hyperMediaEndpoint);
|
|
10243
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
10271
|
+
return _context10.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10244
10272
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10245
10273
|
}), {
|
|
10246
10274
|
method: 'get'
|
|
@@ -10280,7 +10308,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10280
10308
|
businessId: businessId,
|
|
10281
10309
|
paymentMethodId: paymentMethodId
|
|
10282
10310
|
}, opts.hyperMediaEndpoint);
|
|
10283
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
10311
|
+
return _context11.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10284
10312
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10285
10313
|
}), {
|
|
10286
10314
|
method: 'get'
|
|
@@ -10322,7 +10350,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10322
10350
|
patientId: patientId,
|
|
10323
10351
|
paymentMethodId: paymentMethodId
|
|
10324
10352
|
}, opts.hyperMediaEndpoint);
|
|
10325
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
10353
|
+
return _context12.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10326
10354
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10327
10355
|
}), {
|
|
10328
10356
|
method: 'get'
|
|
@@ -10362,7 +10390,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
10362
10390
|
businessId: businessId,
|
|
10363
10391
|
source: source
|
|
10364
10392
|
}, opts.hyperMediaEndpoint);
|
|
10365
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
10393
|
+
return _context13.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10366
10394
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
10367
10395
|
}), {
|
|
10368
10396
|
method: 'get',
|
|
@@ -10403,7 +10431,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
10403
10431
|
doesParamExist.default({
|
|
10404
10432
|
businessId: businessId
|
|
10405
10433
|
}, opts.hyperMediaEndpoint);
|
|
10406
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
10434
|
+
return _context14.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10407
10435
|
path: pathBusinessSalesClientToken(businessId)
|
|
10408
10436
|
}), {
|
|
10409
10437
|
method: 'get'
|
|
@@ -10443,7 +10471,7 @@ var getClientToken = /*#__PURE__*/function () {
|
|
|
10443
10471
|
doesParamExist.default({
|
|
10444
10472
|
source: source
|
|
10445
10473
|
}, opts.hyperMediaEndpoint);
|
|
10446
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
10474
|
+
return _context15.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10447
10475
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
10448
10476
|
}), {
|
|
10449
10477
|
method: 'get',
|
|
@@ -10487,7 +10515,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10487
10515
|
accountId: accountId,
|
|
10488
10516
|
paymentMethodId: paymentMethodId
|
|
10489
10517
|
}, opts.hyperMediaEndpoint);
|
|
10490
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
10518
|
+
return _context16.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10491
10519
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
10492
10520
|
}), {
|
|
10493
10521
|
data: body,
|
|
@@ -10528,7 +10556,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10528
10556
|
businessId: businessId,
|
|
10529
10557
|
paymentMethodId: paymentMethodId
|
|
10530
10558
|
}, opts.hyperMediaEndpoint);
|
|
10531
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
10559
|
+
return _context17.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10532
10560
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
10533
10561
|
}), {
|
|
10534
10562
|
data: body,
|
|
@@ -10570,7 +10598,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10570
10598
|
patientId: patientId,
|
|
10571
10599
|
paymentMethodId: paymentMethodId
|
|
10572
10600
|
}, opts.hyperMediaEndpoint);
|
|
10573
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
10601
|
+
return _context18.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
10574
10602
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
10575
10603
|
}), {
|
|
10576
10604
|
data: body,
|
|
@@ -10702,7 +10730,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10702
10730
|
throw new Error(getPaymentGatewayError(updateSessionResponse));
|
|
10703
10731
|
|
|
10704
10732
|
case 32:
|
|
10705
|
-
return _context19.abrupt("return", _objectSpread$
|
|
10733
|
+
return _context19.abrupt("return", _objectSpread$F({}, clientToken, {
|
|
10706
10734
|
nonce: clientToken.clientToken,
|
|
10707
10735
|
sourceResponse: updateSessionResponse
|
|
10708
10736
|
}));
|
|
@@ -10745,7 +10773,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10745
10773
|
|
|
10746
10774
|
case 41:
|
|
10747
10775
|
sourceResponse = _context19.sent;
|
|
10748
|
-
return _context19.abrupt("return", _objectSpread$
|
|
10776
|
+
return _context19.abrupt("return", _objectSpread$F({}, clientToken, {
|
|
10749
10777
|
nonce: _get(sourceResponse, 'creditCards[0].nonce'),
|
|
10750
10778
|
sourceResponse: sourceResponse
|
|
10751
10779
|
}));
|
|
@@ -10802,7 +10830,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10802
10830
|
|
|
10803
10831
|
case 60:
|
|
10804
10832
|
sourceResponse = _context19.sent;
|
|
10805
|
-
return _context19.abrupt("return", _objectSpread$
|
|
10833
|
+
return _context19.abrupt("return", _objectSpread$F({}, clientToken, {
|
|
10806
10834
|
nonce: sourceResponse.nonce,
|
|
10807
10835
|
sourceResponse: sourceResponse
|
|
10808
10836
|
}));
|
|
@@ -10831,7 +10859,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
10831
10859
|
|
|
10832
10860
|
case 69:
|
|
10833
10861
|
canMakeApplePayment = _context19.sent;
|
|
10834
|
-
return _context19.abrupt("return", _objectSpread$
|
|
10862
|
+
return _context19.abrupt("return", _objectSpread$F({}, clientToken, {
|
|
10835
10863
|
applePayInstance: applePayInstance,
|
|
10836
10864
|
canMakeApplePayment: canMakeApplePayment,
|
|
10837
10865
|
paymentRequest: paymentRequest
|
|
@@ -10877,9 +10905,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
10877
10905
|
getNonce: getNonce
|
|
10878
10906
|
});
|
|
10879
10907
|
|
|
10880
|
-
function ownKeys$
|
|
10908
|
+
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
10909
|
|
|
10882
|
-
function _objectSpread$
|
|
10910
|
+
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
10911
|
|
|
10884
10912
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
10885
10913
|
return "/businesses/" + businessId + "/pmspractices";
|
|
@@ -10917,7 +10945,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
10917
10945
|
doesParamExist.default({
|
|
10918
10946
|
businessId: businessId
|
|
10919
10947
|
}, opts.hyperMediaEndpoint);
|
|
10920
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10948
|
+
return _context.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10921
10949
|
path: pathBusinessPmsPractices(businessId)
|
|
10922
10950
|
}), {
|
|
10923
10951
|
method: 'get',
|
|
@@ -10960,7 +10988,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
10960
10988
|
doesParamExist.default({
|
|
10961
10989
|
businessId: businessId
|
|
10962
10990
|
}, opts.hyperMediaEndpoint);
|
|
10963
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10991
|
+
return _context2.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
10964
10992
|
path: pathBusinessPmsServices(businessId)
|
|
10965
10993
|
}), {
|
|
10966
10994
|
method: 'get',
|
|
@@ -11003,7 +11031,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
11003
11031
|
doesParamExist.default({
|
|
11004
11032
|
businessId: businessId
|
|
11005
11033
|
}, opts.hyperMediaEndpoint);
|
|
11006
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11034
|
+
return _context3.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
11007
11035
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
11008
11036
|
}), {
|
|
11009
11037
|
method: 'get',
|
|
@@ -11042,7 +11070,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
11042
11070
|
doesParamExist.default({
|
|
11043
11071
|
businessId: businessId
|
|
11044
11072
|
}, opts.hyperMediaEndpoint);
|
|
11045
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11073
|
+
return _context4.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
11046
11074
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
11047
11075
|
}), {
|
|
11048
11076
|
method: 'post',
|
|
@@ -11081,7 +11109,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
11081
11109
|
doesParamExist.default({
|
|
11082
11110
|
businessId: businessId
|
|
11083
11111
|
}, opts.hyperMediaEndpoint);
|
|
11084
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11112
|
+
return _context5.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
11085
11113
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
11086
11114
|
}), {
|
|
11087
11115
|
method: 'post',
|
|
@@ -11120,7 +11148,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
11120
11148
|
doesParamExist.default({
|
|
11121
11149
|
businessId: businessId
|
|
11122
11150
|
}, opts.hyperMediaEndpoint);
|
|
11123
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11151
|
+
return _context6.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
11124
11152
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
11125
11153
|
}), {
|
|
11126
11154
|
method: 'post',
|
|
@@ -11150,9 +11178,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
11150
11178
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
11151
11179
|
});
|
|
11152
11180
|
|
|
11153
|
-
function ownKeys$
|
|
11181
|
+
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
11182
|
|
|
11155
|
-
function _objectSpread$
|
|
11183
|
+
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
11184
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
11157
11185
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
11158
11186
|
};
|
|
@@ -11173,7 +11201,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
11173
11201
|
doesParamExist.default({
|
|
11174
11202
|
organisationId: organisationId
|
|
11175
11203
|
}, opts.hyperMediaEndpoint);
|
|
11176
|
-
return request(_objectSpread$
|
|
11204
|
+
return request(_objectSpread$H({}, opts, {
|
|
11177
11205
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
11178
11206
|
}), {
|
|
11179
11207
|
method: 'get',
|
|
@@ -11188,7 +11216,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
11188
11216
|
doesParamExist.default({
|
|
11189
11217
|
practiceProfileId: practiceProfileId
|
|
11190
11218
|
}, opts.hyperMediaEndpoint);
|
|
11191
|
-
return request(_objectSpread$
|
|
11219
|
+
return request(_objectSpread$H({}, opts, {
|
|
11192
11220
|
path: pathPracticeProfile(practiceProfileId)
|
|
11193
11221
|
}), {
|
|
11194
11222
|
method: 'get'
|
|
@@ -11206,7 +11234,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
11206
11234
|
var body = {
|
|
11207
11235
|
practiceId: practiceId
|
|
11208
11236
|
};
|
|
11209
|
-
return request(_objectSpread$
|
|
11237
|
+
return request(_objectSpread$H({}, opts, {
|
|
11210
11238
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
11211
11239
|
}), {
|
|
11212
11240
|
method: 'put',
|
|
@@ -11221,7 +11249,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
11221
11249
|
doesParamExist.default({
|
|
11222
11250
|
practiceProfileId: practiceProfileId
|
|
11223
11251
|
}, opts.hyperMediaEndpoint);
|
|
11224
|
-
return request(_objectSpread$
|
|
11252
|
+
return request(_objectSpread$H({}, opts, {
|
|
11225
11253
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
11226
11254
|
}), {
|
|
11227
11255
|
method: 'put'
|
|
@@ -11240,9 +11268,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
11240
11268
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
11241
11269
|
});
|
|
11242
11270
|
|
|
11243
|
-
function ownKeys$
|
|
11271
|
+
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
11272
|
|
|
11245
|
-
function _objectSpread$
|
|
11273
|
+
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
11274
|
|
|
11247
11275
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
11248
11276
|
return "/businesses/" + businessId + "/forms/" + formId + "/practices";
|
|
@@ -11304,7 +11332,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
11304
11332
|
doesParamExist.default({
|
|
11305
11333
|
businessId: businessId
|
|
11306
11334
|
}, opts.hyperMediaEndpoint);
|
|
11307
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11335
|
+
return _context.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11308
11336
|
path: pathBusinessPractices(businessId)
|
|
11309
11337
|
}), {
|
|
11310
11338
|
method: 'post',
|
|
@@ -11343,7 +11371,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11343
11371
|
doesParamExist.default({
|
|
11344
11372
|
organisationId: organisationId
|
|
11345
11373
|
}, opts.hyperMediaEndpoint);
|
|
11346
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11374
|
+
return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11347
11375
|
path: pathOrganisationPractices(organisationId)
|
|
11348
11376
|
}), {
|
|
11349
11377
|
method: 'post',
|
|
@@ -11383,7 +11411,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
11383
11411
|
businessId: businessId,
|
|
11384
11412
|
practiceId: practiceId
|
|
11385
11413
|
}, opts.hyperMediaEndpoint);
|
|
11386
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11414
|
+
return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11387
11415
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11388
11416
|
}), {
|
|
11389
11417
|
method: 'delete'
|
|
@@ -11422,7 +11450,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11422
11450
|
organisationId: organisationId,
|
|
11423
11451
|
practiceId: practiceId
|
|
11424
11452
|
}, opts.hyperMediaEndpoint);
|
|
11425
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11453
|
+
return _context4.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11426
11454
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11427
11455
|
}), {
|
|
11428
11456
|
method: 'delete'
|
|
@@ -11461,7 +11489,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
11461
11489
|
businessId: businessId,
|
|
11462
11490
|
practiceId: practiceId
|
|
11463
11491
|
}, opts.hyperMediaEndpoint);
|
|
11464
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11492
|
+
return _context5.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11465
11493
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11466
11494
|
}), {
|
|
11467
11495
|
method: 'get'
|
|
@@ -11503,7 +11531,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
11503
11531
|
doesParamExist.default({
|
|
11504
11532
|
businessId: businessId
|
|
11505
11533
|
}, opts.hyperMediaEndpoint);
|
|
11506
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11534
|
+
return _context6.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11507
11535
|
path: pathBusinessPractices(businessId)
|
|
11508
11536
|
}), {
|
|
11509
11537
|
method: 'get',
|
|
@@ -11548,7 +11576,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
11548
11576
|
businessId: businessId,
|
|
11549
11577
|
formId: formId
|
|
11550
11578
|
}, opts.hyperMediaEndpoint);
|
|
11551
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11579
|
+
return _context7.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11552
11580
|
path: pathBusinessFormPractices(businessId, formId)
|
|
11553
11581
|
}), {
|
|
11554
11582
|
method: 'get',
|
|
@@ -11590,7 +11618,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
11590
11618
|
practiceId: practiceId,
|
|
11591
11619
|
query: query
|
|
11592
11620
|
}, opts.hyperMediaEndpoint);
|
|
11593
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11621
|
+
return _context8.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11594
11622
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
11595
11623
|
}), {
|
|
11596
11624
|
method: 'get',
|
|
@@ -11634,7 +11662,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
11634
11662
|
businessId: businessId,
|
|
11635
11663
|
staffId: staffId
|
|
11636
11664
|
}, opts.hyperMediaEndpoint);
|
|
11637
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11665
|
+
return _context9.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11638
11666
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
11639
11667
|
}), {
|
|
11640
11668
|
method: 'get',
|
|
@@ -11677,7 +11705,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
11677
11705
|
doesParamExist.default({
|
|
11678
11706
|
organisationId: organisationId
|
|
11679
11707
|
}, opts.hyperMediaEndpoint);
|
|
11680
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11708
|
+
return _context10.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11681
11709
|
path: pathOrganisationPractices(organisationId)
|
|
11682
11710
|
}), {
|
|
11683
11711
|
method: 'get',
|
|
@@ -11716,7 +11744,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
11716
11744
|
doesParamExist.default({
|
|
11717
11745
|
practiceId: practiceId
|
|
11718
11746
|
}, opts.hyperMediaEndpoint);
|
|
11719
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11747
|
+
return _context11.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11720
11748
|
path: pathPractice(practiceId)
|
|
11721
11749
|
}), {
|
|
11722
11750
|
method: 'get'
|
|
@@ -11745,7 +11773,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
11745
11773
|
opts = {};
|
|
11746
11774
|
}
|
|
11747
11775
|
|
|
11748
|
-
return request(_objectSpread$
|
|
11776
|
+
return request(_objectSpread$I({}, opts, {
|
|
11749
11777
|
path: pathPractice(practiceId) + "/verify/request"
|
|
11750
11778
|
}), {
|
|
11751
11779
|
method: 'post'
|
|
@@ -11763,7 +11791,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
11763
11791
|
opts = {};
|
|
11764
11792
|
}
|
|
11765
11793
|
|
|
11766
|
-
return request(_objectSpread$
|
|
11794
|
+
return request(_objectSpread$I({}, opts, {
|
|
11767
11795
|
path: pathPractice(practiceId) + "/access/request"
|
|
11768
11796
|
}), {
|
|
11769
11797
|
method: 'post',
|
|
@@ -11787,7 +11815,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
11787
11815
|
opts = {};
|
|
11788
11816
|
}
|
|
11789
11817
|
|
|
11790
|
-
return request(_objectSpread$
|
|
11818
|
+
return request(_objectSpread$I({}, opts, {
|
|
11791
11819
|
path: pathOnboardingPractices()
|
|
11792
11820
|
}), {
|
|
11793
11821
|
method: 'get',
|
|
@@ -11816,7 +11844,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
11816
11844
|
businessId: businessId,
|
|
11817
11845
|
practiceId: practiceId
|
|
11818
11846
|
}, opts.hyperMediaEndpoint);
|
|
11819
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11847
|
+
return _context12.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11820
11848
|
path: pathBusinessPractice(businessId, practiceId)
|
|
11821
11849
|
}), {
|
|
11822
11850
|
method: 'put',
|
|
@@ -11857,7 +11885,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
11857
11885
|
organisationId: organisationId,
|
|
11858
11886
|
practiceId: practiceId
|
|
11859
11887
|
}, opts.hyperMediaEndpoint);
|
|
11860
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11888
|
+
return _context13.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11861
11889
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
11862
11890
|
}), {
|
|
11863
11891
|
method: 'put',
|
|
@@ -11889,11 +11917,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
11889
11917
|
opts = {};
|
|
11890
11918
|
}
|
|
11891
11919
|
|
|
11892
|
-
return request(_objectSpread$
|
|
11920
|
+
return request(_objectSpread$I({}, opts, {
|
|
11893
11921
|
path: pathPractice(practiceId) + "/verify"
|
|
11894
11922
|
}), {
|
|
11895
11923
|
method: 'post',
|
|
11896
|
-
data: _objectSpread$
|
|
11924
|
+
data: _objectSpread$I({}, body, {
|
|
11897
11925
|
otkCode: otkCode
|
|
11898
11926
|
})
|
|
11899
11927
|
});
|
|
@@ -11918,7 +11946,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
11918
11946
|
doesParamExist.default({
|
|
11919
11947
|
practiceId: practiceId
|
|
11920
11948
|
}, opts.hyperMediaEndpoint);
|
|
11921
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
11949
|
+
return _context14.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11922
11950
|
path: pathPractice(practiceId) + "/clone"
|
|
11923
11951
|
}), {
|
|
11924
11952
|
method: 'post',
|
|
@@ -11963,7 +11991,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
11963
11991
|
businessId: businessId,
|
|
11964
11992
|
formId: formId
|
|
11965
11993
|
}, opts.hyperMediaEndpoint);
|
|
11966
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
11994
|
+
return _context15.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
11967
11995
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
11968
11996
|
}), {
|
|
11969
11997
|
method: 'get',
|
|
@@ -12006,9 +12034,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
12006
12034
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
12007
12035
|
});
|
|
12008
12036
|
|
|
12009
|
-
function ownKeys$
|
|
12037
|
+
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
12038
|
|
|
12011
|
-
function _objectSpread$
|
|
12039
|
+
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
12040
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
12013
12041
|
/**
|
|
12014
12042
|
* Get practice types
|
|
@@ -12025,7 +12053,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
12025
12053
|
opts = {};
|
|
12026
12054
|
}
|
|
12027
12055
|
|
|
12028
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12056
|
+
return _context.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
12029
12057
|
path: PATH__PRACTICE_TYPES
|
|
12030
12058
|
}), {
|
|
12031
12059
|
method: 'get'
|
|
@@ -12049,9 +12077,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
12049
12077
|
getPracticeTypes: getPracticeTypes
|
|
12050
12078
|
});
|
|
12051
12079
|
|
|
12052
|
-
function ownKeys$
|
|
12080
|
+
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
12081
|
|
|
12054
|
-
function _objectSpread$
|
|
12082
|
+
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
12083
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
12056
12084
|
return "/businesses/" + businessId + "/products";
|
|
12057
12085
|
};
|
|
@@ -12069,7 +12097,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
12069
12097
|
opts = {};
|
|
12070
12098
|
}
|
|
12071
12099
|
|
|
12072
|
-
return request(_objectSpread$
|
|
12100
|
+
return request(_objectSpread$K({}, opts, {
|
|
12073
12101
|
path: '/products'
|
|
12074
12102
|
}), {
|
|
12075
12103
|
method: 'get',
|
|
@@ -12091,7 +12119,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
12091
12119
|
doesParamExist.default({
|
|
12092
12120
|
businessId: businessId
|
|
12093
12121
|
});
|
|
12094
|
-
return request(_objectSpread$
|
|
12122
|
+
return request(_objectSpread$K({}, opts, {
|
|
12095
12123
|
path: pathBusinessProducts(businessId)
|
|
12096
12124
|
}), {
|
|
12097
12125
|
method: 'get',
|
|
@@ -12114,7 +12142,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
12114
12142
|
businessId: businessId,
|
|
12115
12143
|
productId: productId
|
|
12116
12144
|
});
|
|
12117
|
-
return request(_objectSpread$
|
|
12145
|
+
return request(_objectSpread$K({}, opts, {
|
|
12118
12146
|
path: pathBusinessProduct(businessId, productId)
|
|
12119
12147
|
}), {
|
|
12120
12148
|
method: 'get'
|
|
@@ -12130,9 +12158,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
12130
12158
|
getBusinessProduct: getBusinessProduct
|
|
12131
12159
|
});
|
|
12132
12160
|
|
|
12133
|
-
function ownKeys$
|
|
12161
|
+
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
12162
|
|
|
12135
|
-
function _objectSpread$
|
|
12163
|
+
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
12164
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
12137
12165
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
12138
12166
|
};
|
|
@@ -12151,7 +12179,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
12151
12179
|
opts = {};
|
|
12152
12180
|
}
|
|
12153
12181
|
|
|
12154
|
-
return request(_objectSpread$
|
|
12182
|
+
return request(_objectSpread$L({}, opts, {
|
|
12155
12183
|
path: pathProfessionalCategories
|
|
12156
12184
|
}), {
|
|
12157
12185
|
method: 'get',
|
|
@@ -12173,7 +12201,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
12173
12201
|
doesParamExist.default({
|
|
12174
12202
|
businessId: businessId
|
|
12175
12203
|
});
|
|
12176
|
-
return request(_objectSpread$
|
|
12204
|
+
return request(_objectSpread$L({}, opts, {
|
|
12177
12205
|
path: pathBusinessProfessionalCategories(businessId)
|
|
12178
12206
|
}), {
|
|
12179
12207
|
method: 'get',
|
|
@@ -12194,7 +12222,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
12194
12222
|
doesParamExist.default({
|
|
12195
12223
|
professionalCategoryId: professionalCategoryId
|
|
12196
12224
|
});
|
|
12197
|
-
return request(_objectSpread$
|
|
12225
|
+
return request(_objectSpread$L({}, opts, {
|
|
12198
12226
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
12199
12227
|
}), {
|
|
12200
12228
|
method: 'get'
|
|
@@ -12211,9 +12239,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
12211
12239
|
getProfessionalCategory: getProfessionalCategory
|
|
12212
12240
|
});
|
|
12213
12241
|
|
|
12214
|
-
function ownKeys$
|
|
12242
|
+
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
12243
|
|
|
12216
|
-
function _objectSpread$
|
|
12244
|
+
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
12245
|
|
|
12218
12246
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
12219
12247
|
return "/businesses/" + businessId + "/providerrequests";
|
|
@@ -12243,7 +12271,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
12243
12271
|
doesParamExist.default({
|
|
12244
12272
|
businessId: businessId
|
|
12245
12273
|
}, opts.hyperMediaEndpoint);
|
|
12246
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12274
|
+
return _context.abrupt("return", request(_objectSpread$M({}, opts, {
|
|
12247
12275
|
path: pathBusinessProviderRequests(businessId)
|
|
12248
12276
|
}), {
|
|
12249
12277
|
method: 'post',
|
|
@@ -12284,7 +12312,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
12284
12312
|
doesParamExist.default({
|
|
12285
12313
|
businessId: businessId
|
|
12286
12314
|
}, opts.hyperMediaEndpoint);
|
|
12287
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12315
|
+
return _context2.abrupt("return", request(_objectSpread$M({}, opts, {
|
|
12288
12316
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
12289
12317
|
}), {
|
|
12290
12318
|
method: 'post',
|
|
@@ -12312,9 +12340,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
12312
12340
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
12313
12341
|
});
|
|
12314
12342
|
|
|
12315
|
-
function ownKeys$
|
|
12343
|
+
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
12344
|
|
|
12317
|
-
function _objectSpread$
|
|
12345
|
+
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
12346
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
12319
12347
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
12320
12348
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -12335,7 +12363,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
12335
12363
|
opts = {};
|
|
12336
12364
|
}
|
|
12337
12365
|
|
|
12338
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12366
|
+
return _context.abrupt("return", request(_objectSpread$N({}, opts, {
|
|
12339
12367
|
path: pathGetProviderRegistrationTypes
|
|
12340
12368
|
}), {
|
|
12341
12369
|
method: 'get',
|
|
@@ -12370,7 +12398,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
12370
12398
|
opts = {};
|
|
12371
12399
|
}
|
|
12372
12400
|
|
|
12373
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12401
|
+
return _context2.abrupt("return", request(_objectSpread$N({}, opts, {
|
|
12374
12402
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
12375
12403
|
}), {
|
|
12376
12404
|
method: 'get'
|
|
@@ -12397,9 +12425,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
12397
12425
|
getProviderRegistrationType: getProviderRegistrationType
|
|
12398
12426
|
});
|
|
12399
12427
|
|
|
12400
|
-
function ownKeys$
|
|
12428
|
+
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
12429
|
|
|
12402
|
-
function _objectSpread$
|
|
12430
|
+
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
12431
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
12404
12432
|
return "/providernumbertypes";
|
|
12405
12433
|
};
|
|
@@ -12426,7 +12454,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
12426
12454
|
opts = {};
|
|
12427
12455
|
}
|
|
12428
12456
|
|
|
12429
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12457
|
+
return _context.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
12430
12458
|
path: pathProviderNumberTypes()
|
|
12431
12459
|
}), {
|
|
12432
12460
|
method: 'get',
|
|
@@ -12464,7 +12492,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
12464
12492
|
doesParamExist.default({
|
|
12465
12493
|
providerNumberTypeId: providerNumberTypeId
|
|
12466
12494
|
}, opts.hyperMediaEndpoint);
|
|
12467
|
-
return request(_objectSpread$
|
|
12495
|
+
return request(_objectSpread$O({}, opts, {
|
|
12468
12496
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
12469
12497
|
}), {
|
|
12470
12498
|
method: 'get',
|
|
@@ -12480,9 +12508,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
12480
12508
|
getProviderNumberType: getProviderNumberType
|
|
12481
12509
|
});
|
|
12482
12510
|
|
|
12483
|
-
function ownKeys$
|
|
12511
|
+
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
12512
|
|
|
12485
|
-
function _objectSpread$
|
|
12513
|
+
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
12514
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
12487
12515
|
/**
|
|
12488
12516
|
* Get provider types
|
|
@@ -12499,7 +12527,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
12499
12527
|
opts = {};
|
|
12500
12528
|
}
|
|
12501
12529
|
|
|
12502
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12530
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12503
12531
|
path: PATH__PROVIDER_TYPES
|
|
12504
12532
|
}), {
|
|
12505
12533
|
method: 'get'
|
|
@@ -12523,16 +12551,16 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
12523
12551
|
getProviderTypes: getProviderTypes
|
|
12524
12552
|
});
|
|
12525
12553
|
|
|
12526
|
-
function ownKeys$
|
|
12554
|
+
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
12555
|
|
|
12528
|
-
function _objectSpread$
|
|
12556
|
+
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
12557
|
var PATH__REF_SOURCES = '/refsources';
|
|
12530
12558
|
var getRefSources = function getRefSources(query, opts) {
|
|
12531
12559
|
if (opts === void 0) {
|
|
12532
12560
|
opts = {};
|
|
12533
12561
|
}
|
|
12534
12562
|
|
|
12535
|
-
return request(_objectSpread$
|
|
12563
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12536
12564
|
path: PATH__REF_SOURCES
|
|
12537
12565
|
}), {
|
|
12538
12566
|
method: 'get',
|
|
@@ -12546,9 +12574,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
12546
12574
|
getRefSources: getRefSources
|
|
12547
12575
|
});
|
|
12548
12576
|
|
|
12549
|
-
function ownKeys$
|
|
12577
|
+
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
12578
|
|
|
12551
|
-
function _objectSpread$
|
|
12579
|
+
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
12580
|
var PATH__TRANSACTIONS = '/transaction';
|
|
12553
12581
|
/**
|
|
12554
12582
|
* Get risk score
|
|
@@ -12569,7 +12597,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
12569
12597
|
doesParamExist.default({
|
|
12570
12598
|
transactionId: transactionId
|
|
12571
12599
|
}, opts.hyperMediaEndpoint);
|
|
12572
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12600
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12573
12601
|
apiName: 'risk',
|
|
12574
12602
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
12575
12603
|
}), {
|
|
@@ -12604,7 +12632,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
12604
12632
|
opts = {};
|
|
12605
12633
|
}
|
|
12606
12634
|
|
|
12607
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12635
|
+
return _context2.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12608
12636
|
apiName: 'risk',
|
|
12609
12637
|
path: PATH__TRANSACTIONS
|
|
12610
12638
|
}), {
|
|
@@ -12631,9 +12659,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
12631
12659
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
12632
12660
|
});
|
|
12633
12661
|
|
|
12634
|
-
function ownKeys$
|
|
12662
|
+
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
12663
|
|
|
12636
|
-
function _objectSpread$
|
|
12664
|
+
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
12665
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
12638
12666
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
12639
12667
|
};
|
|
@@ -12667,7 +12695,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
12667
12695
|
doesParamExist.default({
|
|
12668
12696
|
businessId: businessId
|
|
12669
12697
|
}, opts.hyperMediaEndpoint);
|
|
12670
|
-
return request(_objectSpread$
|
|
12698
|
+
return request(_objectSpread$S({}, opts, {
|
|
12671
12699
|
path: pathBusinessesRNAs(businessId)
|
|
12672
12700
|
}), {
|
|
12673
12701
|
method: 'get',
|
|
@@ -12690,7 +12718,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
12690
12718
|
businessId: businessId,
|
|
12691
12719
|
rnaId: rnaId
|
|
12692
12720
|
}, opts.hyperMediaEndpoint);
|
|
12693
|
-
return request(_objectSpread$
|
|
12721
|
+
return request(_objectSpread$S({}, opts, {
|
|
12694
12722
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
12695
12723
|
}), {
|
|
12696
12724
|
method: 'get'
|
|
@@ -12711,7 +12739,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
12711
12739
|
doesParamExist.default({
|
|
12712
12740
|
businessId: businessId
|
|
12713
12741
|
}, opts.hyperMediaEndpoint);
|
|
12714
|
-
return request(_objectSpread$
|
|
12742
|
+
return request(_objectSpread$S({}, opts, {
|
|
12715
12743
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
12716
12744
|
}), {
|
|
12717
12745
|
method: 'get',
|
|
@@ -12726,7 +12754,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
12726
12754
|
doesParamExist.default({
|
|
12727
12755
|
healthFundId: healthFundId
|
|
12728
12756
|
}, opts.hyperMediaEndpoint);
|
|
12729
|
-
return request(_objectSpread$
|
|
12757
|
+
return request(_objectSpread$S({}, opts, {
|
|
12730
12758
|
path: pathHealthFundRNAs(healthFundId)
|
|
12731
12759
|
}), {
|
|
12732
12760
|
method: 'post',
|
|
@@ -12742,7 +12770,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
12742
12770
|
healthFundId: healthFundId,
|
|
12743
12771
|
rnaId: rnaId
|
|
12744
12772
|
}, opts.hyperMediaEndpoint);
|
|
12745
|
-
return request(_objectSpread$
|
|
12773
|
+
return request(_objectSpread$S({}, opts, {
|
|
12746
12774
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
12747
12775
|
}), {
|
|
12748
12776
|
method: 'post',
|
|
@@ -12758,7 +12786,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
12758
12786
|
healthFundId: healthFundId,
|
|
12759
12787
|
rnaId: rnaId
|
|
12760
12788
|
}, opts.hyperMediaEndpoint);
|
|
12761
|
-
return request(_objectSpread$
|
|
12789
|
+
return request(_objectSpread$S({}, opts, {
|
|
12762
12790
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
12763
12791
|
}), {
|
|
12764
12792
|
method: 'get',
|
|
@@ -12773,7 +12801,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
12773
12801
|
doesParamExist.default({
|
|
12774
12802
|
healthFundId: healthFundId
|
|
12775
12803
|
}, opts.hyperMediaEndpoint);
|
|
12776
|
-
return request(_objectSpread$
|
|
12804
|
+
return request(_objectSpread$S({}, opts, {
|
|
12777
12805
|
path: pathHealthFundRNAs(healthFundId)
|
|
12778
12806
|
}), {
|
|
12779
12807
|
method: 'get',
|
|
@@ -12790,7 +12818,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
12790
12818
|
rnaId: rnaId,
|
|
12791
12819
|
rnaAppointmentId: rnaAppointmentId
|
|
12792
12820
|
}, opts.hyperMediaEndpoint);
|
|
12793
|
-
return request(_objectSpread$
|
|
12821
|
+
return request(_objectSpread$S({}, opts, {
|
|
12794
12822
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
12795
12823
|
}), {
|
|
12796
12824
|
method: 'put',
|
|
@@ -12816,9 +12844,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
12816
12844
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
12817
12845
|
});
|
|
12818
12846
|
|
|
12819
|
-
function ownKeys$
|
|
12847
|
+
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
12848
|
|
|
12821
|
-
function _objectSpread$
|
|
12849
|
+
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
12850
|
var PATH__ROLES = '/roles';
|
|
12823
12851
|
/**
|
|
12824
12852
|
* Get roles
|
|
@@ -12835,7 +12863,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
12835
12863
|
opts = {};
|
|
12836
12864
|
}
|
|
12837
12865
|
|
|
12838
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12866
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
12839
12867
|
path: PATH__ROLES
|
|
12840
12868
|
}), {
|
|
12841
12869
|
method: 'get'
|
|
@@ -12859,9 +12887,9 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
12859
12887
|
getRoles: getRoles
|
|
12860
12888
|
});
|
|
12861
12889
|
|
|
12862
|
-
function ownKeys$
|
|
12890
|
+
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
12891
|
|
|
12864
|
-
function _objectSpread$
|
|
12892
|
+
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
12893
|
var PATH__SELF_CHECKOUT_SESSIONS = '/selfcheckoutsessions';
|
|
12866
12894
|
/**
|
|
12867
12895
|
* Create a self checkout session
|
|
@@ -12879,7 +12907,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12879
12907
|
opts = {};
|
|
12880
12908
|
}
|
|
12881
12909
|
|
|
12882
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12910
|
+
return _context.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12883
12911
|
path: PATH__SELF_CHECKOUT_SESSIONS
|
|
12884
12912
|
}), {
|
|
12885
12913
|
method: 'post',
|
|
@@ -12914,7 +12942,7 @@ var approve = /*#__PURE__*/function () {
|
|
|
12914
12942
|
opts = {};
|
|
12915
12943
|
}
|
|
12916
12944
|
|
|
12917
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12945
|
+
return _context2.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12918
12946
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
|
|
12919
12947
|
}), {
|
|
12920
12948
|
method: 'post',
|
|
@@ -12950,7 +12978,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
12950
12978
|
opts = {};
|
|
12951
12979
|
}
|
|
12952
12980
|
|
|
12953
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12981
|
+
return _context3.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12954
12982
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
|
|
12955
12983
|
}), {
|
|
12956
12984
|
method: 'post',
|
|
@@ -12986,7 +13014,7 @@ var cancelSession = /*#__PURE__*/function () {
|
|
|
12986
13014
|
opts = {};
|
|
12987
13015
|
}
|
|
12988
13016
|
|
|
12989
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
13017
|
+
return _context4.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
12990
13018
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
|
|
12991
13019
|
}), {
|
|
12992
13020
|
method: 'post',
|
|
@@ -13021,7 +13049,7 @@ var createMyInvoice = /*#__PURE__*/function () {
|
|
|
13021
13049
|
opts = {};
|
|
13022
13050
|
}
|
|
13023
13051
|
|
|
13024
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
13052
|
+
return _context5.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13025
13053
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
|
|
13026
13054
|
}), {
|
|
13027
13055
|
method: 'post',
|
|
@@ -13055,7 +13083,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
|
|
|
13055
13083
|
opts = {};
|
|
13056
13084
|
}
|
|
13057
13085
|
|
|
13058
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
13086
|
+
return _context6.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13059
13087
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
|
|
13060
13088
|
}), {
|
|
13061
13089
|
method: 'post',
|
|
@@ -13095,7 +13123,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
|
|
|
13095
13123
|
nonce: nonce,
|
|
13096
13124
|
source: source
|
|
13097
13125
|
}, opts.hyperMediaEndpoint);
|
|
13098
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
13126
|
+
return _context7.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13099
13127
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13100
13128
|
}), {
|
|
13101
13129
|
method: 'post',
|
|
@@ -13133,7 +13161,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
13133
13161
|
opts = {};
|
|
13134
13162
|
}
|
|
13135
13163
|
|
|
13136
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
13164
|
+
return _context8.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13137
13165
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
13138
13166
|
}), {
|
|
13139
13167
|
method: 'get',
|
|
@@ -13187,7 +13215,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
13187
13215
|
email: email,
|
|
13188
13216
|
memberId: memberId
|
|
13189
13217
|
});
|
|
13190
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
13218
|
+
return _context9.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13191
13219
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
|
|
13192
13220
|
}), {
|
|
13193
13221
|
method: 'get',
|
|
@@ -13224,7 +13252,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
13224
13252
|
opts = {};
|
|
13225
13253
|
}
|
|
13226
13254
|
|
|
13227
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13255
|
+
return _context10.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13228
13256
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
|
|
13229
13257
|
}), {
|
|
13230
13258
|
method: 'post',
|
|
@@ -13259,7 +13287,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13259
13287
|
opts = {};
|
|
13260
13288
|
}
|
|
13261
13289
|
|
|
13262
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
13290
|
+
return _context11.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13263
13291
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13264
13292
|
}), {
|
|
13265
13293
|
method: 'get',
|
|
@@ -13293,7 +13321,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
|
|
|
13293
13321
|
opts = {};
|
|
13294
13322
|
}
|
|
13295
13323
|
|
|
13296
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13324
|
+
return _context12.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13297
13325
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
|
|
13298
13326
|
}), {
|
|
13299
13327
|
method: 'get',
|
|
@@ -13327,7 +13355,7 @@ var rememberMe = /*#__PURE__*/function () {
|
|
|
13327
13355
|
opts = {};
|
|
13328
13356
|
}
|
|
13329
13357
|
|
|
13330
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13358
|
+
return _context13.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13331
13359
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
|
|
13332
13360
|
}), {
|
|
13333
13361
|
method: 'post',
|
|
@@ -13362,7 +13390,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13362
13390
|
opts = {};
|
|
13363
13391
|
}
|
|
13364
13392
|
|
|
13365
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13393
|
+
return _context14.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13366
13394
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13367
13395
|
}), {
|
|
13368
13396
|
method: 'put',
|
|
@@ -13401,7 +13429,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
13401
13429
|
doesParamExist.default({
|
|
13402
13430
|
accountId: accountId
|
|
13403
13431
|
}, opts.hyperMediaEndpoint);
|
|
13404
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13432
|
+
return _context15.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13405
13433
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
|
|
13406
13434
|
}), {
|
|
13407
13435
|
method: 'post',
|
|
@@ -13645,7 +13673,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13645
13673
|
}
|
|
13646
13674
|
|
|
13647
13675
|
_context18.next = 8;
|
|
13648
|
-
return sdk.healthfunds.getMedicareHealthFund(_objectSpread$
|
|
13676
|
+
return sdk.healthfunds.getMedicareHealthFund(_objectSpread$U({}, opts, {
|
|
13649
13677
|
requestConfig: {
|
|
13650
13678
|
tokenType: 'session'
|
|
13651
13679
|
}
|
|
@@ -13677,7 +13705,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13677
13705
|
break;
|
|
13678
13706
|
}
|
|
13679
13707
|
|
|
13680
|
-
healthFundAccountRequestBody = _objectSpread$
|
|
13708
|
+
healthFundAccountRequestBody = _objectSpread$U({
|
|
13681
13709
|
healthFundId: _get(healthFund, '_id')
|
|
13682
13710
|
}, data || {}); // If it's an existing account, delete their current health fund account (if any), and add the new one to their account.
|
|
13683
13711
|
|
|
@@ -13797,7 +13825,7 @@ var deletePaymentMethod = /*#__PURE__*/function () {
|
|
|
13797
13825
|
doesParamExist.default({
|
|
13798
13826
|
paymentMethodId: paymentMethodId
|
|
13799
13827
|
}, opts.hyperMediaEndpoint);
|
|
13800
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
13828
|
+
return _context19.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
13801
13829
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods/" + paymentMethodId
|
|
13802
13830
|
}), {
|
|
13803
13831
|
method: 'delete',
|
|
@@ -13840,9 +13868,9 @@ var selfCheckoutSessions = /*#__PURE__*/Object.freeze({
|
|
|
13840
13868
|
deletePaymentMethod: deletePaymentMethod
|
|
13841
13869
|
});
|
|
13842
13870
|
|
|
13843
|
-
function ownKeys$
|
|
13871
|
+
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
13872
|
|
|
13845
|
-
function _objectSpread$
|
|
13873
|
+
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
13874
|
|
|
13847
13875
|
var pathBusinessServices = function pathBusinessServices(businessId) {
|
|
13848
13876
|
return "/businesses/" + businessId + "/services";
|
|
@@ -13892,7 +13920,7 @@ var createBusinessService = /*#__PURE__*/function () {
|
|
|
13892
13920
|
doesParamExist.default({
|
|
13893
13921
|
businessId: businessId
|
|
13894
13922
|
}, opts.hyperMediaEndpoint);
|
|
13895
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13923
|
+
return _context.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13896
13924
|
path: "" + pathBusinessServices(businessId)
|
|
13897
13925
|
}), {
|
|
13898
13926
|
method: 'post',
|
|
@@ -13933,7 +13961,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13933
13961
|
businessId: businessId,
|
|
13934
13962
|
practiceId: practiceId
|
|
13935
13963
|
}, opts.hyperMediaEndpoint);
|
|
13936
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13964
|
+
return _context2.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13937
13965
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13938
13966
|
}), {
|
|
13939
13967
|
method: 'post',
|
|
@@ -13973,7 +14001,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
|
|
|
13973
14001
|
businessId: businessId,
|
|
13974
14002
|
serviceId: serviceId
|
|
13975
14003
|
}, opts.hyperMediaEndpoint);
|
|
13976
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
14004
|
+
return _context3.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
13977
14005
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13978
14006
|
}), {
|
|
13979
14007
|
method: 'delete'
|
|
@@ -14012,7 +14040,7 @@ var getBusinessService = /*#__PURE__*/function () {
|
|
|
14012
14040
|
businessId: businessId,
|
|
14013
14041
|
serviceId: serviceId
|
|
14014
14042
|
}, opts.hyperMediaEndpoint);
|
|
14015
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
14043
|
+
return _context4.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14016
14044
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14017
14045
|
}), {
|
|
14018
14046
|
method: 'get'
|
|
@@ -14050,7 +14078,7 @@ var getBusinessServices = /*#__PURE__*/function () {
|
|
|
14050
14078
|
doesParamExist.default({
|
|
14051
14079
|
businessId: businessId
|
|
14052
14080
|
}, opts.hyperMediaEndpoint);
|
|
14053
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
14081
|
+
return _context5.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14054
14082
|
path: "" + pathBusinessServices(businessId)
|
|
14055
14083
|
}), {
|
|
14056
14084
|
method: 'get',
|
|
@@ -14092,7 +14120,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
14092
14120
|
practiceId: practiceId,
|
|
14093
14121
|
serviceId: serviceId
|
|
14094
14122
|
}, opts.hyperMediaEndpoint);
|
|
14095
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14123
|
+
return _context6.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14096
14124
|
path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
|
|
14097
14125
|
}), {
|
|
14098
14126
|
method: 'get'
|
|
@@ -14136,7 +14164,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
|
|
|
14136
14164
|
businessId: businessId,
|
|
14137
14165
|
practiceId: practiceId
|
|
14138
14166
|
}, opts.hyperMediaEndpoint);
|
|
14139
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
14167
|
+
return _context7.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14140
14168
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
14141
14169
|
}), {
|
|
14142
14170
|
method: 'get',
|
|
@@ -14183,7 +14211,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14183
14211
|
practiceId: practiceId,
|
|
14184
14212
|
staffId: staffId
|
|
14185
14213
|
}, opts.hyperMediaEndpoint);
|
|
14186
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
14214
|
+
return _context8.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14187
14215
|
path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
|
|
14188
14216
|
}), {
|
|
14189
14217
|
method: 'get',
|
|
@@ -14232,7 +14260,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
|
|
|
14232
14260
|
staffId: staffId,
|
|
14233
14261
|
serviceId: serviceId
|
|
14234
14262
|
}, opts.hyperMediaEndpoint);
|
|
14235
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
14263
|
+
return _context9.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14236
14264
|
path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
|
|
14237
14265
|
}), {
|
|
14238
14266
|
method: 'get',
|
|
@@ -14273,7 +14301,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
|
|
|
14273
14301
|
opts = {};
|
|
14274
14302
|
}
|
|
14275
14303
|
|
|
14276
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
14304
|
+
return _context10.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14277
14305
|
path: "" + pathBusinessStaffMemberServices(businessId, staffId)
|
|
14278
14306
|
}), {
|
|
14279
14307
|
method: 'get',
|
|
@@ -14314,7 +14342,7 @@ var updateBusinessService = /*#__PURE__*/function () {
|
|
|
14314
14342
|
businessId: businessId,
|
|
14315
14343
|
serviceId: serviceId
|
|
14316
14344
|
}, opts.hyperMediaEndpoint);
|
|
14317
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14345
|
+
return _context11.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
14318
14346
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
14319
14347
|
}), {
|
|
14320
14348
|
method: 'put',
|
|
@@ -14349,9 +14377,9 @@ var services = /*#__PURE__*/Object.freeze({
|
|
|
14349
14377
|
updateBusinessService: updateBusinessService
|
|
14350
14378
|
});
|
|
14351
14379
|
|
|
14352
|
-
function ownKeys$
|
|
14380
|
+
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
14381
|
|
|
14354
|
-
function _objectSpread$
|
|
14382
|
+
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
14383
|
|
|
14356
14384
|
var pathBusiness$1 = function pathBusiness(businessId) {
|
|
14357
14385
|
return "/businesses/" + businessId;
|
|
@@ -14376,7 +14404,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
|
|
|
14376
14404
|
doesParamExist.default({
|
|
14377
14405
|
businessId: businessId
|
|
14378
14406
|
}, opts.hyperMediaEndpoint);
|
|
14379
|
-
return request(_objectSpread$
|
|
14407
|
+
return request(_objectSpread$W({}, opts, {
|
|
14380
14408
|
path: pathBusiness$1(businessId) + "/settlements"
|
|
14381
14409
|
}), {
|
|
14382
14410
|
method: 'get',
|
|
@@ -14402,7 +14430,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
|
|
|
14402
14430
|
doesParamExist.default({
|
|
14403
14431
|
businessId: businessId
|
|
14404
14432
|
}, opts.hyperMediaEndpoint);
|
|
14405
|
-
return request(_objectSpread$
|
|
14433
|
+
return request(_objectSpread$W({}, opts, {
|
|
14406
14434
|
path: pathBusiness$1(businessId) + "/settlementsummaries"
|
|
14407
14435
|
}), {
|
|
14408
14436
|
method: 'get',
|
|
@@ -14428,7 +14456,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
|
|
|
14428
14456
|
doesParamExist.default({
|
|
14429
14457
|
businessId: businessId
|
|
14430
14458
|
}, opts.hyperMediaEndpoint);
|
|
14431
|
-
return request(_objectSpread$
|
|
14459
|
+
return request(_objectSpread$W({}, opts, {
|
|
14432
14460
|
path: pathBusiness$1(businessId) + "/settlementsummaries/period"
|
|
14433
14461
|
}), {
|
|
14434
14462
|
method: 'get',
|
|
@@ -14458,7 +14486,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
|
|
|
14458
14486
|
doesParamExist.default({
|
|
14459
14487
|
settlementSummaryId: settlementSummaryId
|
|
14460
14488
|
}, opts.hyperMediaEndpoint);
|
|
14461
|
-
return request(_objectSpread$
|
|
14489
|
+
return request(_objectSpread$W({}, opts, {
|
|
14462
14490
|
path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
|
|
14463
14491
|
}), {
|
|
14464
14492
|
method: 'get',
|
|
@@ -14474,9 +14502,9 @@ var settlements = /*#__PURE__*/Object.freeze({
|
|
|
14474
14502
|
getBusinessSettlementSummaryById: getBusinessSettlementSummaryById
|
|
14475
14503
|
});
|
|
14476
14504
|
|
|
14477
|
-
function ownKeys$
|
|
14505
|
+
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
14506
|
|
|
14479
|
-
function _objectSpread$
|
|
14507
|
+
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
14508
|
var pathBusinessSignUp = function pathBusinessSignUp() {
|
|
14481
14509
|
return '/businesses/signup';
|
|
14482
14510
|
};
|
|
@@ -14488,7 +14516,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
|
|
|
14488
14516
|
opts = {};
|
|
14489
14517
|
}
|
|
14490
14518
|
|
|
14491
|
-
return request(_objectSpread$
|
|
14519
|
+
return request(_objectSpread$X({}, opts, {
|
|
14492
14520
|
path: pathBusinessSignUp()
|
|
14493
14521
|
}), {
|
|
14494
14522
|
method: 'post',
|
|
@@ -14500,7 +14528,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
|
|
|
14500
14528
|
opts = {};
|
|
14501
14529
|
}
|
|
14502
14530
|
|
|
14503
|
-
return request(_objectSpread$
|
|
14531
|
+
return request(_objectSpread$X({}, opts, {
|
|
14504
14532
|
path: pathSignUp()
|
|
14505
14533
|
}), {
|
|
14506
14534
|
method: 'post',
|
|
@@ -14516,9 +14544,9 @@ var signUp$1 = /*#__PURE__*/Object.freeze({
|
|
|
14516
14544
|
createConsumerAccount: createConsumerAccount
|
|
14517
14545
|
});
|
|
14518
14546
|
|
|
14519
|
-
function ownKeys$
|
|
14547
|
+
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
14548
|
|
|
14521
|
-
function _objectSpread$
|
|
14549
|
+
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
14550
|
var pathBusinessSpecialties = function pathBusinessSpecialties(businessId) {
|
|
14523
14551
|
return "/businesses/" + businessId + "/specialties";
|
|
14524
14552
|
};
|
|
@@ -14537,7 +14565,7 @@ var getSpecialties = function getSpecialties(query, opts) {
|
|
|
14537
14565
|
opts = {};
|
|
14538
14566
|
}
|
|
14539
14567
|
|
|
14540
|
-
return request(_objectSpread$
|
|
14568
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14541
14569
|
path: pathSpecialties
|
|
14542
14570
|
}), {
|
|
14543
14571
|
method: 'get',
|
|
@@ -14559,7 +14587,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
|
|
|
14559
14587
|
doesParamExist.default({
|
|
14560
14588
|
businessId: businessId
|
|
14561
14589
|
});
|
|
14562
|
-
return request(_objectSpread$
|
|
14590
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14563
14591
|
path: pathBusinessSpecialties(businessId)
|
|
14564
14592
|
}), {
|
|
14565
14593
|
method: 'get',
|
|
@@ -14580,7 +14608,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
|
|
|
14580
14608
|
doesParamExist.default({
|
|
14581
14609
|
specialtyId: specialtyId
|
|
14582
14610
|
});
|
|
14583
|
-
return request(_objectSpread$
|
|
14611
|
+
return request(_objectSpread$Y({}, opts, {
|
|
14584
14612
|
path: pathSpecialty(specialtyId)
|
|
14585
14613
|
}), {
|
|
14586
14614
|
method: 'get'
|
|
@@ -14597,9 +14625,9 @@ var specialties = /*#__PURE__*/Object.freeze({
|
|
|
14597
14625
|
getSpecialty: getSpecialty
|
|
14598
14626
|
});
|
|
14599
14627
|
|
|
14600
|
-
function ownKeys$
|
|
14628
|
+
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
14629
|
|
|
14602
|
-
function _objectSpread$
|
|
14630
|
+
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
14631
|
var pathLinkStaffProfile = function pathLinkStaffProfile(staffProfileId) {
|
|
14604
14632
|
return "/staffprofiles/" + staffProfileId + "/link";
|
|
14605
14633
|
};
|
|
@@ -14620,7 +14648,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
|
|
|
14620
14648
|
doesParamExist.default({
|
|
14621
14649
|
organisationId: organisationId
|
|
14622
14650
|
}, opts.hyperMediaEndpoint);
|
|
14623
|
-
return request(_objectSpread$
|
|
14651
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14624
14652
|
path: pathOrganisationStaffProfiles(organisationId)
|
|
14625
14653
|
}), {
|
|
14626
14654
|
method: 'get',
|
|
@@ -14635,7 +14663,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
|
|
|
14635
14663
|
doesParamExist.default({
|
|
14636
14664
|
staffProfileId: staffProfileId
|
|
14637
14665
|
}, opts.hyperMediaEndpoint);
|
|
14638
|
-
return request(_objectSpread$
|
|
14666
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14639
14667
|
path: pathStaffProfile(staffProfileId)
|
|
14640
14668
|
}), {
|
|
14641
14669
|
method: 'get'
|
|
@@ -14653,7 +14681,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
|
|
|
14653
14681
|
var body = {
|
|
14654
14682
|
staffId: staffId
|
|
14655
14683
|
};
|
|
14656
|
-
return request(_objectSpread$
|
|
14684
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14657
14685
|
path: pathLinkStaffProfile(staffProfileId)
|
|
14658
14686
|
}), {
|
|
14659
14687
|
method: 'put',
|
|
@@ -14668,7 +14696,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
|
|
|
14668
14696
|
doesParamExist.default({
|
|
14669
14697
|
staffProfileId: staffProfileId
|
|
14670
14698
|
}, opts.hyperMediaEndpoint);
|
|
14671
|
-
return request(_objectSpread$
|
|
14699
|
+
return request(_objectSpread$Z({}, opts, {
|
|
14672
14700
|
path: pathUnlinkStaffProfile(staffProfileId)
|
|
14673
14701
|
}), {
|
|
14674
14702
|
method: 'put'
|
|
@@ -14687,9 +14715,9 @@ var staffProfiles = /*#__PURE__*/Object.freeze({
|
|
|
14687
14715
|
unlinkStaffProfile: unlinkStaffProfile
|
|
14688
14716
|
});
|
|
14689
14717
|
|
|
14690
|
-
function ownKeys$
|
|
14718
|
+
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
14719
|
|
|
14692
|
-
function _objectSpread$
|
|
14720
|
+
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
14721
|
|
|
14694
14722
|
var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
|
|
14695
14723
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
|
|
@@ -14756,7 +14784,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14756
14784
|
doesParamExist.default({
|
|
14757
14785
|
businessId: businessId
|
|
14758
14786
|
}, opts.hyperMediaEndpoint);
|
|
14759
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
14787
|
+
return _context.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14760
14788
|
path: pathBusinessStaff(businessId)
|
|
14761
14789
|
}), {
|
|
14762
14790
|
method: 'post',
|
|
@@ -14795,7 +14823,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
14795
14823
|
doesParamExist.default({
|
|
14796
14824
|
organisationId: organisationId
|
|
14797
14825
|
}, opts.hyperMediaEndpoint);
|
|
14798
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
14826
|
+
return _context2.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14799
14827
|
path: pathOrganisationStaff(organisationId)
|
|
14800
14828
|
}), {
|
|
14801
14829
|
method: 'post',
|
|
@@ -14835,7 +14863,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14835
14863
|
businessId: businessId,
|
|
14836
14864
|
staffId: staffId
|
|
14837
14865
|
}, opts.hyperMediaEndpoint);
|
|
14838
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
14866
|
+
return _context3.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14839
14867
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14840
14868
|
}), {
|
|
14841
14869
|
method: 'delete'
|
|
@@ -14874,7 +14902,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
14874
14902
|
businessId: businessId,
|
|
14875
14903
|
staffId: staffId
|
|
14876
14904
|
}, opts.hyperMediaEndpoint);
|
|
14877
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
14905
|
+
return _context4.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14878
14906
|
path: pathBusinessStaffMember(businessId, staffId) + "/email"
|
|
14879
14907
|
}), {
|
|
14880
14908
|
method: 'delete'
|
|
@@ -14913,7 +14941,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14913
14941
|
businessId: businessId,
|
|
14914
14942
|
staffId: staffId
|
|
14915
14943
|
}, opts.hyperMediaEndpoint);
|
|
14916
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
14944
|
+
return _context5.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14917
14945
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14918
14946
|
}), {
|
|
14919
14947
|
method: 'get'
|
|
@@ -14953,7 +14981,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
|
|
|
14953
14981
|
businessId: businessId,
|
|
14954
14982
|
staffId: staffId
|
|
14955
14983
|
}, opts.hyperMediaEndpoint);
|
|
14956
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14984
|
+
return _context6.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
14957
14985
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
14958
14986
|
}), {
|
|
14959
14987
|
method: 'get',
|
|
@@ -14997,7 +15025,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
|
|
|
14997
15025
|
practiceId: practiceId,
|
|
14998
15026
|
staffId: staffId
|
|
14999
15027
|
}, opts.hyperMediaEndpoint);
|
|
15000
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
15028
|
+
return _context7.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15001
15029
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
|
|
15002
15030
|
}), {
|
|
15003
15031
|
method: 'get'
|
|
@@ -15043,7 +15071,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
|
|
|
15043
15071
|
practiceId: practiceId,
|
|
15044
15072
|
staffId: staffId
|
|
15045
15073
|
}, opts.hyperMediaEndpoint);
|
|
15046
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
15074
|
+
return _context8.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15047
15075
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
|
|
15048
15076
|
}), {
|
|
15049
15077
|
method: 'get',
|
|
@@ -15084,7 +15112,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15084
15112
|
businessId: businessId,
|
|
15085
15113
|
practiceId: practiceId
|
|
15086
15114
|
}, opts.hyperMediaEndpoint);
|
|
15087
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
15115
|
+
return _context9.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15088
15116
|
path: pathBusinessPracticeStaffMembers(businessId, practiceId)
|
|
15089
15117
|
}), {
|
|
15090
15118
|
method: 'get',
|
|
@@ -15127,7 +15155,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
15127
15155
|
formId: formId,
|
|
15128
15156
|
practiceId: practiceId
|
|
15129
15157
|
}, opts.hyperMediaEndpoint);
|
|
15130
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
15158
|
+
return _context10.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15131
15159
|
path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
|
|
15132
15160
|
}), {
|
|
15133
15161
|
method: 'get',
|
|
@@ -15172,7 +15200,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
|
|
|
15172
15200
|
businessId: businessId,
|
|
15173
15201
|
serviceId: serviceId
|
|
15174
15202
|
}, opts.hyperMediaEndpoint);
|
|
15175
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
15203
|
+
return _context11.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15176
15204
|
path: pathBusinessServiceStaffMembers(businessId, serviceId)
|
|
15177
15205
|
}), {
|
|
15178
15206
|
method: 'get',
|
|
@@ -15209,7 +15237,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
|
|
|
15209
15237
|
doesParamExist.default({
|
|
15210
15238
|
businessId: businessId
|
|
15211
15239
|
}, opts.hyperMediaEndpoint);
|
|
15212
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
15240
|
+
return _context12.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15213
15241
|
path: pathBusinessStaff(businessId)
|
|
15214
15242
|
}), {
|
|
15215
15243
|
method: 'get',
|
|
@@ -15251,7 +15279,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
|
|
|
15251
15279
|
staffId: staffId,
|
|
15252
15280
|
contentType: contentType
|
|
15253
15281
|
}, opts.hyperMediaEndpoint);
|
|
15254
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
15282
|
+
return _context13.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15255
15283
|
path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
|
|
15256
15284
|
}), {
|
|
15257
15285
|
method: 'get',
|
|
@@ -15295,7 +15323,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
|
|
|
15295
15323
|
doesParamExist.default({
|
|
15296
15324
|
organisationId: organisationId
|
|
15297
15325
|
}, opts.hyperMediaEndpoint);
|
|
15298
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
15326
|
+
return _context14.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15299
15327
|
path: pathOrganisationStaff(organisationId)
|
|
15300
15328
|
}), {
|
|
15301
15329
|
method: 'get',
|
|
@@ -15333,7 +15361,7 @@ var getStaffMember = /*#__PURE__*/function () {
|
|
|
15333
15361
|
doesParamExist.default({
|
|
15334
15362
|
staffId: staffId
|
|
15335
15363
|
}, opts.hyperMediaEndpoint);
|
|
15336
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
15364
|
+
return _context15.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15337
15365
|
path: pathStaffMember(staffId)
|
|
15338
15366
|
}), {
|
|
15339
15367
|
method: 'get'
|
|
@@ -15375,7 +15403,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15375
15403
|
practiceId: practiceId,
|
|
15376
15404
|
staffId: staffId
|
|
15377
15405
|
}, opts.hyperMediaEndpoint);
|
|
15378
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
15406
|
+
return _context16.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15379
15407
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15380
15408
|
}), {
|
|
15381
15409
|
method: 'post',
|
|
@@ -15419,11 +15447,11 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15419
15447
|
businessId: businessId,
|
|
15420
15448
|
staffId: staffId
|
|
15421
15449
|
}, opts.hyperMediaEndpoint);
|
|
15422
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
15450
|
+
return _context17.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15423
15451
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15424
15452
|
}), {
|
|
15425
15453
|
method: 'post',
|
|
15426
|
-
data: _objectSpread$
|
|
15454
|
+
data: _objectSpread$_({
|
|
15427
15455
|
roleFullName: roleFullName
|
|
15428
15456
|
}, body)
|
|
15429
15457
|
}));
|
|
@@ -15460,7 +15488,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15460
15488
|
doesParamExist.default({
|
|
15461
15489
|
businessId: businessId
|
|
15462
15490
|
}, opts.hyperMediaEndpoint);
|
|
15463
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
15491
|
+
return _context18.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15464
15492
|
path: pathBusinessStaff(businessId) + "/invites"
|
|
15465
15493
|
}), {
|
|
15466
15494
|
method: 'post',
|
|
@@ -15505,7 +15533,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15505
15533
|
doesParamExist.default({
|
|
15506
15534
|
businessId: businessId
|
|
15507
15535
|
}, opts.hyperMediaEndpoint);
|
|
15508
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
15536
|
+
return _context19.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15509
15537
|
path: pathBusinessStaffMember(businessId, staffId) + "/invites"
|
|
15510
15538
|
}), {
|
|
15511
15539
|
method: 'post',
|
|
@@ -15548,7 +15576,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15548
15576
|
practiceId: practiceId,
|
|
15549
15577
|
staffId: staffId
|
|
15550
15578
|
}, opts.hyperMediaEndpoint);
|
|
15551
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
15579
|
+
return _context20.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15552
15580
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15553
15581
|
}), {
|
|
15554
15582
|
method: 'delete',
|
|
@@ -15592,11 +15620,11 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15592
15620
|
businessId: businessId,
|
|
15593
15621
|
staffId: staffId
|
|
15594
15622
|
}, opts.hyperMediaEndpoint);
|
|
15595
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
15623
|
+
return _context21.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15596
15624
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15597
15625
|
}), {
|
|
15598
15626
|
method: 'delete',
|
|
15599
|
-
data: _objectSpread$
|
|
15627
|
+
data: _objectSpread$_({
|
|
15600
15628
|
roleFullName: roleFullName
|
|
15601
15629
|
}, body)
|
|
15602
15630
|
}));
|
|
@@ -15635,7 +15663,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15635
15663
|
businessId: businessId,
|
|
15636
15664
|
staffId: staffId
|
|
15637
15665
|
}, opts.hyperMediaEndpoint);
|
|
15638
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
15666
|
+
return _context22.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15639
15667
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
15640
15668
|
}), {
|
|
15641
15669
|
method: 'put',
|
|
@@ -15676,7 +15704,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
15676
15704
|
businessId: businessId,
|
|
15677
15705
|
staffId: staffId
|
|
15678
15706
|
}, opts.hyperMediaEndpoint);
|
|
15679
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
15707
|
+
return _context23.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15680
15708
|
path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
|
|
15681
15709
|
}), {
|
|
15682
15710
|
method: 'post',
|
|
@@ -15717,7 +15745,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
15717
15745
|
organisationId: organisationId,
|
|
15718
15746
|
staffId: staffId
|
|
15719
15747
|
}, opts.hyperMediaEndpoint);
|
|
15720
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
15748
|
+
return _context24.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15721
15749
|
path: pathOrganisationStaffMember(organisationId, staffId)
|
|
15722
15750
|
}), {
|
|
15723
15751
|
method: 'put',
|
|
@@ -15756,7 +15784,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
|
|
|
15756
15784
|
doesParamExist.default({
|
|
15757
15785
|
staffId: staffId
|
|
15758
15786
|
}, opts.hyperMediaEndpoint);
|
|
15759
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
15787
|
+
return _context25.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15760
15788
|
path: pathStaffMember(staffId) + "/verify"
|
|
15761
15789
|
}), {
|
|
15762
15790
|
method: 'post',
|
|
@@ -15795,7 +15823,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
|
|
|
15795
15823
|
doesParamExist.default({
|
|
15796
15824
|
staffId: staffId
|
|
15797
15825
|
}, opts.hyperMediaEndpoint);
|
|
15798
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
15826
|
+
return _context26.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15799
15827
|
path: pathStaffMember(staffId) + "/clone"
|
|
15800
15828
|
}), {
|
|
15801
15829
|
method: 'post',
|
|
@@ -15829,7 +15857,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
|
|
|
15829
15857
|
doesParamExist.default({
|
|
15830
15858
|
businessId: businessId
|
|
15831
15859
|
}, opts.hyperMediaEndpoint);
|
|
15832
|
-
return request(_objectSpread$
|
|
15860
|
+
return request(_objectSpread$_({}, opts, {
|
|
15833
15861
|
path: pathBusinessStaff(businessId) + "/exists"
|
|
15834
15862
|
}), {
|
|
15835
15863
|
method: 'get',
|
|
@@ -15858,7 +15886,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15858
15886
|
businessId: businessId,
|
|
15859
15887
|
staffId: staffId
|
|
15860
15888
|
}, opts.hyperMediaEndpoint);
|
|
15861
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
15889
|
+
return _context27.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15862
15890
|
path: "" + pathProviderSetItems(businessId, staffId)
|
|
15863
15891
|
}), {
|
|
15864
15892
|
method: 'post',
|
|
@@ -15901,7 +15929,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15901
15929
|
staffId: staffId,
|
|
15902
15930
|
providerSetItemId: providerSetItemId
|
|
15903
15931
|
}, opts.hyperMediaEndpoint);
|
|
15904
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
15932
|
+
return _context28.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15905
15933
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15906
15934
|
}), {
|
|
15907
15935
|
method: 'put',
|
|
@@ -15943,7 +15971,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15943
15971
|
staffId: staffId,
|
|
15944
15972
|
providerSetItemId: providerSetItemId
|
|
15945
15973
|
}, opts.hyperMediaEndpoint);
|
|
15946
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
15974
|
+
return _context29.abrupt("return", request(_objectSpread$_({}, opts, {
|
|
15947
15975
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15948
15976
|
}), {
|
|
15949
15977
|
method: 'delete'
|
|
@@ -15976,11 +16004,11 @@ var getProvidersStatus = function getProvidersStatus(businessId, query, opts) {
|
|
|
15976
16004
|
doesParamExist.default({
|
|
15977
16005
|
businessId: businessId
|
|
15978
16006
|
}, opts.hyperMediaEndpoint);
|
|
15979
|
-
return request(_objectSpread$
|
|
16007
|
+
return request(_objectSpread$_({}, opts, {
|
|
15980
16008
|
path: pathProvidersStatus
|
|
15981
16009
|
}), {
|
|
15982
16010
|
method: 'get',
|
|
15983
|
-
params: _objectSpread$
|
|
16011
|
+
params: _objectSpread$_({}, query, {
|
|
15984
16012
|
businessId: businessId
|
|
15985
16013
|
})
|
|
15986
16014
|
});
|
|
@@ -16021,9 +16049,9 @@ var staff = /*#__PURE__*/Object.freeze({
|
|
|
16021
16049
|
getProvidersStatus: getProvidersStatus
|
|
16022
16050
|
});
|
|
16023
16051
|
|
|
16024
|
-
function ownKeys
|
|
16052
|
+
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
16053
|
|
|
16026
|
-
function _objectSpread
|
|
16054
|
+
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
16055
|
|
|
16028
16056
|
var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
|
|
16029
16057
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
|
|
@@ -16075,11 +16103,11 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16075
16103
|
doesParamExist.default({
|
|
16076
16104
|
healthFundId: healthFundId
|
|
16077
16105
|
}, opts.hyperMediaEndpoint);
|
|
16078
|
-
return _context.abrupt("return", request(_objectSpread
|
|
16106
|
+
return _context.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16079
16107
|
path: pathTransactionStatsForHealthFundId(healthFundId)
|
|
16080
16108
|
}), {
|
|
16081
16109
|
method: 'get',
|
|
16082
|
-
params: _objectSpread
|
|
16110
|
+
params: _objectSpread$$({
|
|
16083
16111
|
from: from,
|
|
16084
16112
|
to: to
|
|
16085
16113
|
}, query)
|
|
@@ -16123,11 +16151,11 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
|
|
|
16123
16151
|
doesParamExist.default({
|
|
16124
16152
|
healthFundId: healthFundId
|
|
16125
16153
|
}, opts.hyperMediaEndpoint);
|
|
16126
|
-
return _context2.abrupt("return", request(_objectSpread
|
|
16154
|
+
return _context2.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16127
16155
|
path: pathTransactionStatsCSVForHealthFundId(healthFundId)
|
|
16128
16156
|
}), {
|
|
16129
16157
|
method: 'get',
|
|
16130
|
-
params: _objectSpread
|
|
16158
|
+
params: _objectSpread$$({
|
|
16131
16159
|
from: from,
|
|
16132
16160
|
to: to
|
|
16133
16161
|
}, query)
|
|
@@ -16171,11 +16199,11 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
16171
16199
|
doesParamExist.default({
|
|
16172
16200
|
healthFundId: healthFundId
|
|
16173
16201
|
}, opts.hyperMediaEndpoint);
|
|
16174
|
-
return _context3.abrupt("return", request(_objectSpread
|
|
16202
|
+
return _context3.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16175
16203
|
path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
|
|
16176
16204
|
}), {
|
|
16177
16205
|
method: 'get',
|
|
16178
|
-
params: _objectSpread
|
|
16206
|
+
params: _objectSpread$$({
|
|
16179
16207
|
from: from,
|
|
16180
16208
|
to: to
|
|
16181
16209
|
}, query)
|
|
@@ -16219,11 +16247,11 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
|
|
|
16219
16247
|
doesParamExist.default({
|
|
16220
16248
|
businessId: businessId
|
|
16221
16249
|
}, opts.hyperMediaEndpoint);
|
|
16222
|
-
return _context4.abrupt("return", request(_objectSpread
|
|
16250
|
+
return _context4.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16223
16251
|
path: pathTransactionStatsForBusiness(businessId)
|
|
16224
16252
|
}), {
|
|
16225
16253
|
method: 'get',
|
|
16226
|
-
params: _objectSpread
|
|
16254
|
+
params: _objectSpread$$({
|
|
16227
16255
|
from: from,
|
|
16228
16256
|
to: to
|
|
16229
16257
|
}, query)
|
|
@@ -16269,11 +16297,11 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
|
|
|
16269
16297
|
businessId: businessId,
|
|
16270
16298
|
practiceId: practiceId
|
|
16271
16299
|
}, opts.hyperMediaEndpoint);
|
|
16272
|
-
return _context5.abrupt("return", request(_objectSpread
|
|
16300
|
+
return _context5.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16273
16301
|
path: pathTransactionStatsForPractice(businessId, practiceId)
|
|
16274
16302
|
}), {
|
|
16275
16303
|
method: 'get',
|
|
16276
|
-
params: _objectSpread
|
|
16304
|
+
params: _objectSpread$$({
|
|
16277
16305
|
from: from,
|
|
16278
16306
|
to: to
|
|
16279
16307
|
}, query)
|
|
@@ -16317,11 +16345,11 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
|
|
|
16317
16345
|
doesParamExist.default({
|
|
16318
16346
|
organisationId: organisationId
|
|
16319
16347
|
}, opts.hyperMediaEndpoint);
|
|
16320
|
-
return _context6.abrupt("return", request(_objectSpread
|
|
16348
|
+
return _context6.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16321
16349
|
path: pathTransactionStatsForOrganisation(organisationId)
|
|
16322
16350
|
}), {
|
|
16323
16351
|
method: 'get',
|
|
16324
|
-
params: _objectSpread
|
|
16352
|
+
params: _objectSpread$$({
|
|
16325
16353
|
from: from,
|
|
16326
16354
|
to: to
|
|
16327
16355
|
}, query)
|
|
@@ -16350,9 +16378,9 @@ var statistics = /*#__PURE__*/Object.freeze({
|
|
|
16350
16378
|
getTransactionStatsForOrganisation: getTransactionStatsForOrganisation
|
|
16351
16379
|
});
|
|
16352
16380
|
|
|
16353
|
-
function ownKeys
|
|
16381
|
+
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
16382
|
|
|
16355
|
-
function _objectSpread
|
|
16383
|
+
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
16384
|
var pathBusinessSubscriptions = function pathBusinessSubscriptions(businessId) {
|
|
16357
16385
|
return "/businesses/" + businessId + "/subscriptions";
|
|
16358
16386
|
};
|
|
@@ -16374,7 +16402,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
|
|
|
16374
16402
|
doesParamExist.default({
|
|
16375
16403
|
businessId: businessId
|
|
16376
16404
|
});
|
|
16377
|
-
return request(_objectSpread
|
|
16405
|
+
return request(_objectSpread$10({}, opts, {
|
|
16378
16406
|
path: pathBusinessSubscriptions(businessId)
|
|
16379
16407
|
}), {
|
|
16380
16408
|
method: 'post',
|
|
@@ -16396,7 +16424,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
|
|
|
16396
16424
|
doesParamExist.default({
|
|
16397
16425
|
businessId: businessId
|
|
16398
16426
|
});
|
|
16399
|
-
return request(_objectSpread
|
|
16427
|
+
return request(_objectSpread$10({}, opts, {
|
|
16400
16428
|
path: pathBusinessSubscriptions(businessId)
|
|
16401
16429
|
}), {
|
|
16402
16430
|
method: 'get',
|
|
@@ -16419,7 +16447,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
|
|
|
16419
16447
|
businessId: businessId,
|
|
16420
16448
|
subscriptionId: subscriptionId
|
|
16421
16449
|
});
|
|
16422
|
-
return request(_objectSpread
|
|
16450
|
+
return request(_objectSpread$10({}, opts, {
|
|
16423
16451
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16424
16452
|
}), {
|
|
16425
16453
|
method: 'get'
|
|
@@ -16442,7 +16470,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
|
|
|
16442
16470
|
businessId: businessId,
|
|
16443
16471
|
subscriptionId: subscriptionId
|
|
16444
16472
|
});
|
|
16445
|
-
return request(_objectSpread
|
|
16473
|
+
return request(_objectSpread$10({}, opts, {
|
|
16446
16474
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16447
16475
|
}), {
|
|
16448
16476
|
method: 'put',
|
|
@@ -16460,9 +16488,9 @@ var subscriptions = /*#__PURE__*/Object.freeze({
|
|
|
16460
16488
|
updateBusinessSubscription: updateBusinessSubscription
|
|
16461
16489
|
});
|
|
16462
16490
|
|
|
16463
|
-
function ownKeys$
|
|
16491
|
+
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
16492
|
|
|
16465
|
-
function _objectSpread$
|
|
16493
|
+
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
16494
|
var pathTerminalsByBusinessId = function pathTerminalsByBusinessId(businessId) {
|
|
16467
16495
|
return "/businesses/" + businessId + "/terminals";
|
|
16468
16496
|
};
|
|
@@ -16500,7 +16528,7 @@ var registerTerminal = /*#__PURE__*/function () {
|
|
|
16500
16528
|
businessId: businessId,
|
|
16501
16529
|
practiceId: practiceId
|
|
16502
16530
|
}, opts.hyperMediaEndpoint);
|
|
16503
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16531
|
+
return _context.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16504
16532
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16505
16533
|
}), {
|
|
16506
16534
|
method: 'post',
|
|
@@ -16539,7 +16567,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
|
|
|
16539
16567
|
doesParamExist.default({
|
|
16540
16568
|
businessId: businessId
|
|
16541
16569
|
}, opts.hyperMediaEndpoint);
|
|
16542
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16570
|
+
return _context2.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16543
16571
|
path: pathTerminalsByBusinessId(businessId)
|
|
16544
16572
|
}), {
|
|
16545
16573
|
method: 'get',
|
|
@@ -16580,7 +16608,7 @@ var getTerminals = /*#__PURE__*/function () {
|
|
|
16580
16608
|
businessId: businessId,
|
|
16581
16609
|
practiceId: practiceId
|
|
16582
16610
|
}, opts.hyperMediaEndpoint);
|
|
16583
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16611
|
+
return _context3.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16584
16612
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16585
16613
|
}), {
|
|
16586
16614
|
method: 'get',
|
|
@@ -16623,7 +16651,7 @@ var getTerminal = /*#__PURE__*/function () {
|
|
|
16623
16651
|
practiceId: practiceId,
|
|
16624
16652
|
terminalId: terminalId
|
|
16625
16653
|
}, opts.hyperMediaEndpoint);
|
|
16626
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16654
|
+
return _context4.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16627
16655
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16628
16656
|
}), {
|
|
16629
16657
|
method: 'get'
|
|
@@ -16665,7 +16693,7 @@ var updateTerminal = /*#__PURE__*/function () {
|
|
|
16665
16693
|
practiceId: practiceId,
|
|
16666
16694
|
terminalId: terminalId
|
|
16667
16695
|
}, opts.hyperMediaEndpoint);
|
|
16668
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16696
|
+
return _context5.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16669
16697
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16670
16698
|
}), {
|
|
16671
16699
|
method: 'put',
|
|
@@ -16707,7 +16735,7 @@ var deleteTerminal = /*#__PURE__*/function () {
|
|
|
16707
16735
|
practiceId: practiceId,
|
|
16708
16736
|
terminalId: terminalId
|
|
16709
16737
|
}, opts.hyperMediaEndpoint);
|
|
16710
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16738
|
+
return _context6.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16711
16739
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16712
16740
|
}), {
|
|
16713
16741
|
method: 'delete'
|
|
@@ -16746,7 +16774,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
16746
16774
|
businessId: businessId,
|
|
16747
16775
|
practiceId: practiceId
|
|
16748
16776
|
}, opts.hyperMediaEndpoint);
|
|
16749
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
16777
|
+
return _context7.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16750
16778
|
path: pathClientTokenByPracticeId(businessId, practiceId)
|
|
16751
16779
|
}), {
|
|
16752
16780
|
method: 'get'
|
|
@@ -16788,7 +16816,7 @@ var resetTerminal = /*#__PURE__*/function () {
|
|
|
16788
16816
|
practiceId: practiceId,
|
|
16789
16817
|
terminalId: terminalId
|
|
16790
16818
|
}, opts.hyperMediaEndpoint);
|
|
16791
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
16819
|
+
return _context8.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16792
16820
|
path: pathResetTerminal(businessId, practiceId, terminalId)
|
|
16793
16821
|
}), {
|
|
16794
16822
|
method: 'post',
|
|
@@ -16825,9 +16853,9 @@ var terminals = /*#__PURE__*/Object.freeze({
|
|
|
16825
16853
|
resetTerminal: resetTerminal
|
|
16826
16854
|
});
|
|
16827
16855
|
|
|
16828
|
-
function ownKeys$
|
|
16856
|
+
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
16857
|
|
|
16830
|
-
function _objectSpread$
|
|
16858
|
+
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
16859
|
var pathCreateHealthFundTransactionExport = function pathCreateHealthFundTransactionExport(healthFundId) {
|
|
16832
16860
|
return "/healthfunds/" + healthFundId + "/transactionexport";
|
|
16833
16861
|
};
|
|
@@ -16854,7 +16882,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16854
16882
|
doesParamExist.default({
|
|
16855
16883
|
healthFundId: healthFundId
|
|
16856
16884
|
}, opts.hyperMediaEndpoint);
|
|
16857
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16885
|
+
return _context.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16858
16886
|
path: pathCreateHealthFundTransactionExport(healthFundId)
|
|
16859
16887
|
}), {
|
|
16860
16888
|
method: 'post',
|
|
@@ -16899,7 +16927,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16899
16927
|
healthFundId: healthFundId,
|
|
16900
16928
|
transactionExportId: transactionExportId
|
|
16901
16929
|
}, opts.hyperMediaEndpoint);
|
|
16902
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16930
|
+
return _context2.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
16903
16931
|
path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
|
|
16904
16932
|
}), {
|
|
16905
16933
|
method: 'get',
|
|
@@ -16927,9 +16955,9 @@ var transactionExport = /*#__PURE__*/Object.freeze({
|
|
|
16927
16955
|
getHealthFundTransactionExport: getHealthFundTransactionExport
|
|
16928
16956
|
});
|
|
16929
16957
|
|
|
16930
|
-
function ownKeys$
|
|
16958
|
+
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
16959
|
|
|
16932
|
-
function _objectSpread$
|
|
16960
|
+
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
16961
|
|
|
16934
16962
|
var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
|
|
16935
16963
|
return "/businesses/" + businessId + "/transactions";
|
|
@@ -17147,7 +17175,7 @@ var approveTransaction = /*#__PURE__*/function () {
|
|
|
17147
17175
|
doesParamExist.default({
|
|
17148
17176
|
transactionId: transactionId
|
|
17149
17177
|
}, opts.hyperMediaEndpoint);
|
|
17150
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
17178
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17151
17179
|
path: pathTransactionApprove(transactionId)
|
|
17152
17180
|
}), {
|
|
17153
17181
|
method: 'post',
|
|
@@ -17185,7 +17213,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
|
|
|
17185
17213
|
doesParamExist.default({
|
|
17186
17214
|
healthFundId: healthFundId
|
|
17187
17215
|
}, opts.hyperMediaEndpoint);
|
|
17188
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
17216
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17189
17217
|
path: pathHealthFundTransactionsAssign(healthFundId)
|
|
17190
17218
|
}), {
|
|
17191
17219
|
method: 'post',
|
|
@@ -17225,7 +17253,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17225
17253
|
transactionId: transactionId,
|
|
17226
17254
|
healthFundId: healthFundId
|
|
17227
17255
|
}, opts.hyperMediaEndpoint);
|
|
17228
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
17256
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17229
17257
|
path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
|
|
17230
17258
|
}), {
|
|
17231
17259
|
method: 'put'
|
|
@@ -17262,7 +17290,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
|
|
|
17262
17290
|
doesParamExist.default({
|
|
17263
17291
|
transactionId: transactionId
|
|
17264
17292
|
}, opts.hyperMediaEndpoint);
|
|
17265
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
17293
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17266
17294
|
path: pathTransactionByTransactionId(transactionId) + "/assigntome"
|
|
17267
17295
|
}), {
|
|
17268
17296
|
method: 'put'
|
|
@@ -17299,7 +17327,7 @@ var cancelTransaction = /*#__PURE__*/function () {
|
|
|
17299
17327
|
doesParamExist.default({
|
|
17300
17328
|
transactionId: transactionId
|
|
17301
17329
|
}, opts.hyperMediaEndpoint);
|
|
17302
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
17330
|
+
return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17303
17331
|
path: pathTransactionByTransactionId(transactionId) + "/cancellations"
|
|
17304
17332
|
}), {
|
|
17305
17333
|
data: body,
|
|
@@ -17339,7 +17367,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17339
17367
|
transactionId: transactionId,
|
|
17340
17368
|
businessId: businessId
|
|
17341
17369
|
}, opts.hyperMediaEndpoint);
|
|
17342
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
17370
|
+
return _context6.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17343
17371
|
path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
|
|
17344
17372
|
}), {
|
|
17345
17373
|
data: body,
|
|
@@ -17382,7 +17410,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
|
|
|
17382
17410
|
practiceId: practiceId,
|
|
17383
17411
|
staffId: staffId
|
|
17384
17412
|
}, opts.hyperMediaEndpoint);
|
|
17385
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
17413
|
+
return _context7.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17386
17414
|
path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
|
|
17387
17415
|
}), {
|
|
17388
17416
|
method: 'post',
|
|
@@ -17423,7 +17451,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
|
|
|
17423
17451
|
businessId: businessId,
|
|
17424
17452
|
practiceId: practiceId
|
|
17425
17453
|
}, opts.hyperMediaEndpoint);
|
|
17426
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
17454
|
+
return _context8.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17427
17455
|
path: pathBusinessPracticeInvoices(businessId, practiceId)
|
|
17428
17456
|
}), {
|
|
17429
17457
|
method: 'post',
|
|
@@ -17462,7 +17490,7 @@ var createBusinessTransactionQuote = /*#__PURE__*/function () {
|
|
|
17462
17490
|
doesParamExist.default({
|
|
17463
17491
|
businessId: businessId
|
|
17464
17492
|
}, opts.hyperMediaEndpoint);
|
|
17465
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
17493
|
+
return _context9.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17466
17494
|
path: pathBusinessTransactionQuotes(businessId)
|
|
17467
17495
|
}), {
|
|
17468
17496
|
method: 'post',
|
|
@@ -17505,7 +17533,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
|
|
|
17505
17533
|
practiceId: practiceId,
|
|
17506
17534
|
staffId: staffId
|
|
17507
17535
|
}, opts.hyperMediaEndpoint);
|
|
17508
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
17536
|
+
return _context10.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17509
17537
|
path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
|
|
17510
17538
|
}), {
|
|
17511
17539
|
method: 'post',
|
|
@@ -17547,7 +17575,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17547
17575
|
doesParamExist.default({
|
|
17548
17576
|
transactionId: transactionId
|
|
17549
17577
|
}, opts.hyperMediaEndpoint);
|
|
17550
|
-
newBody = _objectSpread$
|
|
17578
|
+
newBody = _objectSpread$13({}, body);
|
|
17551
17579
|
|
|
17552
17580
|
if (source && nonce) {
|
|
17553
17581
|
newBody.payment = {
|
|
@@ -17556,7 +17584,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17556
17584
|
};
|
|
17557
17585
|
}
|
|
17558
17586
|
|
|
17559
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
17587
|
+
return _context11.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17560
17588
|
path: pathTransactionByTransactionId(transactionId) + "/payments"
|
|
17561
17589
|
}), {
|
|
17562
17590
|
method: 'post',
|
|
@@ -17595,7 +17623,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
|
|
|
17595
17623
|
doesParamExist.default({
|
|
17596
17624
|
transactionId: transactionId
|
|
17597
17625
|
}, opts.hyperMediaEndpoint);
|
|
17598
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
17626
|
+
return _context12.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17599
17627
|
path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
|
|
17600
17628
|
}), {
|
|
17601
17629
|
method: 'post',
|
|
@@ -17635,7 +17663,7 @@ var completeQuote = /*#__PURE__*/function () {
|
|
|
17635
17663
|
transactionId: transactionId,
|
|
17636
17664
|
memberId: memberId
|
|
17637
17665
|
}, opts.hyperMediaEndpoint);
|
|
17638
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
17666
|
+
return _context13.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17639
17667
|
path: pathTransactionByTransactionId(transactionId) + "/completequote"
|
|
17640
17668
|
}), {
|
|
17641
17669
|
method: 'post',
|
|
@@ -17677,7 +17705,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
|
|
|
17677
17705
|
transactionId: transactionId,
|
|
17678
17706
|
tagId: tagId
|
|
17679
17707
|
}, opts.hyperMediaEndpoint);
|
|
17680
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
17708
|
+
return _context14.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17681
17709
|
path: pathTransactionTag(transactionId, tagId)
|
|
17682
17710
|
}), {
|
|
17683
17711
|
method: 'delete'
|
|
@@ -17714,7 +17742,7 @@ var deleteTransaction = /*#__PURE__*/function () {
|
|
|
17714
17742
|
doesParamExist.default({
|
|
17715
17743
|
transactionId: transactionId
|
|
17716
17744
|
}, opts.hyperMediaEndpoint);
|
|
17717
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
17745
|
+
return _context15.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17718
17746
|
path: pathTransactionByTransactionId(transactionId)
|
|
17719
17747
|
}), {
|
|
17720
17748
|
method: 'delete'
|
|
@@ -17756,7 +17784,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
|
|
|
17756
17784
|
doesParamExist.default({
|
|
17757
17785
|
businessId: businessId
|
|
17758
17786
|
}, opts.hyperMediaEndpoint);
|
|
17759
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
17787
|
+
return _context16.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17760
17788
|
path: pathBusinessTransactions(businessId)
|
|
17761
17789
|
}), {
|
|
17762
17790
|
method: 'get',
|
|
@@ -17796,7 +17824,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17796
17824
|
businessId: businessId,
|
|
17797
17825
|
transactionId: transactionId
|
|
17798
17826
|
}, opts.hyperMediaEndpoint);
|
|
17799
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
17827
|
+
return _context17.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17800
17828
|
path: pathBusinessTransaction(businessId, transactionId)
|
|
17801
17829
|
}), {
|
|
17802
17830
|
method: 'get',
|
|
@@ -17836,7 +17864,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
|
|
|
17836
17864
|
businessId: businessId,
|
|
17837
17865
|
invoiceReference: invoiceReference
|
|
17838
17866
|
}, opts.hyperMediaEndpoint);
|
|
17839
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
17867
|
+
return _context18.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17840
17868
|
path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
|
|
17841
17869
|
}), {
|
|
17842
17870
|
method: 'get'
|
|
@@ -17875,7 +17903,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
17875
17903
|
businessId: businessId,
|
|
17876
17904
|
transactionId: transactionId
|
|
17877
17905
|
}, opts.hyperMediaEndpoint);
|
|
17878
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
17906
|
+
return _context19.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17879
17907
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
|
|
17880
17908
|
}), {
|
|
17881
17909
|
method: 'get',
|
|
@@ -17915,7 +17943,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
17915
17943
|
businessId: businessId,
|
|
17916
17944
|
transactionId: transactionId
|
|
17917
17945
|
}, opts.hyperMediaEndpoint);
|
|
17918
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
17946
|
+
return _context20.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17919
17947
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
|
|
17920
17948
|
}), {
|
|
17921
17949
|
method: 'get',
|
|
@@ -17960,7 +17988,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
|
|
|
17960
17988
|
businessId: businessId,
|
|
17961
17989
|
practiceId: practiceId
|
|
17962
17990
|
}, opts.hyperMediaEndpoint);
|
|
17963
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
17991
|
+
return _context21.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
17964
17992
|
path: pathBusinessPracticeTransactions(businessId, practiceId)
|
|
17965
17993
|
}), {
|
|
17966
17994
|
method: 'get',
|
|
@@ -18007,7 +18035,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
|
|
|
18007
18035
|
practiceId: practiceId,
|
|
18008
18036
|
staffId: staffId
|
|
18009
18037
|
}, opts.hyperMediaEndpoint);
|
|
18010
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
18038
|
+
return _context22.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18011
18039
|
path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
|
|
18012
18040
|
}), {
|
|
18013
18041
|
method: 'get',
|
|
@@ -18050,7 +18078,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
|
|
|
18050
18078
|
doesParamExist.default({
|
|
18051
18079
|
healthFundId: healthFundId
|
|
18052
18080
|
}, opts.hyperMediaEndpoint);
|
|
18053
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
18081
|
+
return _context23.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18054
18082
|
path: pathTransactionsForHealthFund(healthFundId)
|
|
18055
18083
|
}), {
|
|
18056
18084
|
method: 'get',
|
|
@@ -18090,7 +18118,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
|
|
|
18090
18118
|
healthFundId: healthFundId,
|
|
18091
18119
|
transactionId: transactionId
|
|
18092
18120
|
}, opts.hyperMediaEndpoint);
|
|
18093
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
18121
|
+
return _context24.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18094
18122
|
path: pathHealthFundTransaction(healthFundId, transactionId)
|
|
18095
18123
|
}), {
|
|
18096
18124
|
method: 'get'
|
|
@@ -18132,7 +18160,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
|
|
|
18132
18160
|
doesParamExist.default({
|
|
18133
18161
|
memberId: memberId
|
|
18134
18162
|
}, opts.hyperMediaEndpoint);
|
|
18135
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
18163
|
+
return _context25.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18136
18164
|
path: pathTransactionsByMember(memberId)
|
|
18137
18165
|
}), {
|
|
18138
18166
|
method: 'get',
|
|
@@ -18176,7 +18204,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
|
|
|
18176
18204
|
doesParamExist.default({
|
|
18177
18205
|
healthFundId: healthFundId
|
|
18178
18206
|
}, opts.hyperMediaEndpoint);
|
|
18179
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
18207
|
+
return _context26.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18180
18208
|
path: pathHealthFundMemberTransactions(healthFundId, memberId)
|
|
18181
18209
|
}), {
|
|
18182
18210
|
method: 'get',
|
|
@@ -18214,7 +18242,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
|
|
|
18214
18242
|
doesParamExist.default({
|
|
18215
18243
|
transactionId: transactionId
|
|
18216
18244
|
}, opts.hyperMediaEndpoint);
|
|
18217
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
18245
|
+
return _context27.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18218
18246
|
path: pathTransactionByTransactionId(transactionId)
|
|
18219
18247
|
}), {
|
|
18220
18248
|
method: 'get',
|
|
@@ -18253,7 +18281,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
|
|
|
18253
18281
|
doesParamExist.default({
|
|
18254
18282
|
transactionId: transactionId
|
|
18255
18283
|
}, opts.hyperMediaEndpoint);
|
|
18256
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
18284
|
+
return _context28.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18257
18285
|
path: pathTransactionByTransactionId(transactionId) + "/pdf"
|
|
18258
18286
|
}), {
|
|
18259
18287
|
method: 'post',
|
|
@@ -18295,7 +18323,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
|
|
|
18295
18323
|
claimId: claimId,
|
|
18296
18324
|
transactionId: transactionId
|
|
18297
18325
|
}, opts.hyperMediaEndpoint);
|
|
18298
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
18326
|
+
return _context29.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18299
18327
|
path: pathTransactionClaimPdf(transactionId, claimId)
|
|
18300
18328
|
}), {
|
|
18301
18329
|
method: 'post',
|
|
@@ -18335,7 +18363,7 @@ var replyToQuote = /*#__PURE__*/function () {
|
|
|
18335
18363
|
doesParamExist.default({
|
|
18336
18364
|
transactionId: transactionId
|
|
18337
18365
|
}, opts.hyperMediaEndpoint);
|
|
18338
|
-
return _context30.abrupt("return", request(_objectSpread$
|
|
18366
|
+
return _context30.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18339
18367
|
path: pathReplyQuote(transactionId)
|
|
18340
18368
|
}), {
|
|
18341
18369
|
method: 'post',
|
|
@@ -18374,7 +18402,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
18374
18402
|
doesParamExist.default({
|
|
18375
18403
|
transactionId: transactionId
|
|
18376
18404
|
}, opts.hyperMediaEndpoint);
|
|
18377
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
18405
|
+
return _context31.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18378
18406
|
path: pathTransactionSendReceipt(transactionId)
|
|
18379
18407
|
}), {
|
|
18380
18408
|
method: 'post',
|
|
@@ -18413,7 +18441,7 @@ var submitInvoice = /*#__PURE__*/function () {
|
|
|
18413
18441
|
doesParamExist.default({
|
|
18414
18442
|
transactionId: transactionId
|
|
18415
18443
|
}, opts.hyperMediaEndpoint);
|
|
18416
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
18444
|
+
return _context32.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18417
18445
|
path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
|
|
18418
18446
|
}), {
|
|
18419
18447
|
method: 'post',
|
|
@@ -18452,7 +18480,7 @@ var updateTransaction = /*#__PURE__*/function () {
|
|
|
18452
18480
|
doesParamExist.default({
|
|
18453
18481
|
transactionId: transactionId
|
|
18454
18482
|
}, opts.hyperMediaEndpoint);
|
|
18455
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
18483
|
+
return _context33.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18456
18484
|
path: pathTransactionByTransactionId(transactionId)
|
|
18457
18485
|
}), {
|
|
18458
18486
|
method: 'put',
|
|
@@ -18490,7 +18518,7 @@ var validateTransaction = /*#__PURE__*/function () {
|
|
|
18490
18518
|
doesParamExist.default({
|
|
18491
18519
|
transactionId: transactionId
|
|
18492
18520
|
}, opts.hyperMediaEndpoint);
|
|
18493
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
18521
|
+
return _context34.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18494
18522
|
path: pathValidateTransaction(transactionId)
|
|
18495
18523
|
}), {
|
|
18496
18524
|
method: 'post'
|
|
@@ -18528,7 +18556,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
|
|
|
18528
18556
|
doesParamExist.default({
|
|
18529
18557
|
transactionId: transactionId
|
|
18530
18558
|
}, opts.hyperMediaEndpoint);
|
|
18531
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
18559
|
+
return _context35.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18532
18560
|
path: pathTransactionSubmitBridgeClaim(transactionId)
|
|
18533
18561
|
}), {
|
|
18534
18562
|
method: 'post',
|
|
@@ -18567,7 +18595,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
|
|
|
18567
18595
|
doesParamExist.default({
|
|
18568
18596
|
transactionId: transactionId
|
|
18569
18597
|
}, opts.hyperMediaEndpoint);
|
|
18570
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
18598
|
+
return _context36.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18571
18599
|
path: pathTransactionSubmitBridgePayment(transactionId)
|
|
18572
18600
|
}), {
|
|
18573
18601
|
method: 'post',
|
|
@@ -18606,7 +18634,7 @@ var triggerBridge = /*#__PURE__*/function () {
|
|
|
18606
18634
|
doesParamExist.default({
|
|
18607
18635
|
transactionId: transactionId
|
|
18608
18636
|
}, opts.hyperMediaEndpoint);
|
|
18609
|
-
return _context37.abrupt("return", request(_objectSpread$
|
|
18637
|
+
return _context37.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18610
18638
|
path: pathTransactionTriggerBridge(transactionId)
|
|
18611
18639
|
}), {
|
|
18612
18640
|
method: 'post',
|
|
@@ -18645,7 +18673,7 @@ var createInvoice = /*#__PURE__*/function () {
|
|
|
18645
18673
|
doesParamExist.default({
|
|
18646
18674
|
businessId: businessId
|
|
18647
18675
|
}, opts.hyperMediaEndpoint);
|
|
18648
|
-
return _context38.abrupt("return", request(_objectSpread$
|
|
18676
|
+
return _context38.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18649
18677
|
path: pathCreateInvoice(businessId)
|
|
18650
18678
|
}), {
|
|
18651
18679
|
method: 'post',
|
|
@@ -18684,7 +18712,7 @@ var createSendClaim = /*#__PURE__*/function () {
|
|
|
18684
18712
|
doesParamExist.default({
|
|
18685
18713
|
transactionId: transactionId
|
|
18686
18714
|
}, opts.hyperMediaEndpoint);
|
|
18687
|
-
return _context39.abrupt("return", request(_objectSpread$
|
|
18715
|
+
return _context39.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18688
18716
|
path: pathCreateSendClaim(transactionId)
|
|
18689
18717
|
}), {
|
|
18690
18718
|
method: 'post',
|
|
@@ -18725,7 +18753,7 @@ var updateClaim = /*#__PURE__*/function () {
|
|
|
18725
18753
|
claimId: claimId,
|
|
18726
18754
|
transactionId: transactionId
|
|
18727
18755
|
}, opts.hyperMediaEndpoint);
|
|
18728
|
-
return _context40.abrupt("return", request(_objectSpread$
|
|
18756
|
+
return _context40.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18729
18757
|
path: pathClaim(transactionId, claimId)
|
|
18730
18758
|
}), {
|
|
18731
18759
|
method: 'put',
|
|
@@ -18763,7 +18791,7 @@ var completeTransaction = /*#__PURE__*/function () {
|
|
|
18763
18791
|
doesParamExist.default({
|
|
18764
18792
|
transactionId: transactionId
|
|
18765
18793
|
}, opts.hyperMediaEndpoint);
|
|
18766
|
-
return _context41.abrupt("return", request(_objectSpread$
|
|
18794
|
+
return _context41.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18767
18795
|
path: pathCompleteTransaction(transactionId)
|
|
18768
18796
|
}), {
|
|
18769
18797
|
method: 'post'
|
|
@@ -18802,7 +18830,7 @@ var approveClaim = /*#__PURE__*/function () {
|
|
|
18802
18830
|
doesParamExist.default({
|
|
18803
18831
|
transactionId: transactionId
|
|
18804
18832
|
}, opts.hyperMediaEndpoint);
|
|
18805
|
-
return _context42.abrupt("return", request(_objectSpread$
|
|
18833
|
+
return _context42.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18806
18834
|
path: pathApproveClaim(transactionId, claimId)
|
|
18807
18835
|
}), {
|
|
18808
18836
|
method: 'post',
|
|
@@ -18842,7 +18870,7 @@ var cancelClaim = /*#__PURE__*/function () {
|
|
|
18842
18870
|
claimId: claimId,
|
|
18843
18871
|
transactionId: transactionId
|
|
18844
18872
|
}, opts.hyperMediaEndpoint);
|
|
18845
|
-
return _context43.abrupt("return", request(_objectSpread$
|
|
18873
|
+
return _context43.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18846
18874
|
path: pathCancelClaim(transactionId, claimId)
|
|
18847
18875
|
}), {
|
|
18848
18876
|
method: 'post',
|
|
@@ -18882,7 +18910,7 @@ var submitClaim = /*#__PURE__*/function () {
|
|
|
18882
18910
|
doesParamExist.default({
|
|
18883
18911
|
transactionId: transactionId
|
|
18884
18912
|
}, opts.hyperMediaEndpoint);
|
|
18885
|
-
return _context44.abrupt("return", request(_objectSpread$
|
|
18913
|
+
return _context44.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18886
18914
|
path: pathSubmitClaim(transactionId, claimId)
|
|
18887
18915
|
}), {
|
|
18888
18916
|
method: 'post',
|
|
@@ -18922,7 +18950,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
|
|
|
18922
18950
|
claimId: claimId,
|
|
18923
18951
|
transactionId: transactionId
|
|
18924
18952
|
}, opts.hyperMediaEndpoint);
|
|
18925
|
-
return _context45.abrupt("return", request(_objectSpread$
|
|
18953
|
+
return _context45.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18926
18954
|
path: pathSaveClaim(transactionId, claimId)
|
|
18927
18955
|
}), {
|
|
18928
18956
|
method: 'post'
|
|
@@ -18960,7 +18988,7 @@ var pay = /*#__PURE__*/function () {
|
|
|
18960
18988
|
doesParamExist.default({
|
|
18961
18989
|
transactionId: transactionId
|
|
18962
18990
|
}, opts.hyperMediaEndpoint);
|
|
18963
|
-
return _context46.abrupt("return", request(_objectSpread$
|
|
18991
|
+
return _context46.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
18964
18992
|
path: pathTransactionPays(transactionId)
|
|
18965
18993
|
}), {
|
|
18966
18994
|
method: 'post',
|
|
@@ -18999,7 +19027,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
18999
19027
|
doesParamExist.default({
|
|
19000
19028
|
transactionId: transactionId
|
|
19001
19029
|
}, opts.hyperMediaEndpoint);
|
|
19002
|
-
return _context47.abrupt("return", request(_objectSpread$
|
|
19030
|
+
return _context47.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19003
19031
|
path: pathTransactionProcessingRequests(transactionId)
|
|
19004
19032
|
}), {
|
|
19005
19033
|
method: 'post',
|
|
@@ -19038,7 +19066,7 @@ var cancelInvoice = /*#__PURE__*/function () {
|
|
|
19038
19066
|
doesParamExist.default({
|
|
19039
19067
|
transactionId: transactionId
|
|
19040
19068
|
}, opts.hyperMediaEndpoint);
|
|
19041
|
-
return _context48.abrupt("return", request(_objectSpread$
|
|
19069
|
+
return _context48.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19042
19070
|
path: pathTransactionCancel(transactionId)
|
|
19043
19071
|
}), {
|
|
19044
19072
|
method: 'post',
|
|
@@ -19076,7 +19104,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
19076
19104
|
doesParamExist.default({
|
|
19077
19105
|
transactionId: transactionId
|
|
19078
19106
|
}, opts.hyperMediaEndpoint);
|
|
19079
|
-
return _context49.abrupt("return", request(_objectSpread$
|
|
19107
|
+
return _context49.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19080
19108
|
path: pathTransactionPaymentLink(transactionId)
|
|
19081
19109
|
}), {
|
|
19082
19110
|
method: 'get'
|
|
@@ -19116,7 +19144,7 @@ var refundByBusiness = /*#__PURE__*/function () {
|
|
|
19116
19144
|
businessId: businessId,
|
|
19117
19145
|
transactionId: transactionId
|
|
19118
19146
|
}, opts.hyperMediaEndpoint);
|
|
19119
|
-
return _context50.abrupt("return", request(_objectSpread$
|
|
19147
|
+
return _context50.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19120
19148
|
path: pathBusinessTransactionRefund(businessId, transactionId)
|
|
19121
19149
|
}), {
|
|
19122
19150
|
method: 'post',
|
|
@@ -19155,7 +19183,7 @@ var refund = /*#__PURE__*/function () {
|
|
|
19155
19183
|
doesParamExist.default({
|
|
19156
19184
|
transactionId: transactionId
|
|
19157
19185
|
}, opts.hyperMediaEndpoint);
|
|
19158
|
-
return _context51.abrupt("return", request(_objectSpread$
|
|
19186
|
+
return _context51.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19159
19187
|
path: pathTransactionRefund(transactionId)
|
|
19160
19188
|
}), {
|
|
19161
19189
|
method: 'post',
|
|
@@ -19194,7 +19222,7 @@ var saveDraft = /*#__PURE__*/function () {
|
|
|
19194
19222
|
doesParamExist.default({
|
|
19195
19223
|
businessId: businessId
|
|
19196
19224
|
}, opts.hyperMediaEndpoint);
|
|
19197
|
-
return _context52.abrupt("return", request(_objectSpread$
|
|
19225
|
+
return _context52.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19198
19226
|
path: pathCreateDraft(businessId)
|
|
19199
19227
|
}), {
|
|
19200
19228
|
method: 'post',
|
|
@@ -19233,7 +19261,7 @@ var convertDraft = /*#__PURE__*/function () {
|
|
|
19233
19261
|
doesParamExist.default({
|
|
19234
19262
|
transactionId: transactionId
|
|
19235
19263
|
}, opts.hyperMediaEndpoint);
|
|
19236
|
-
return _context53.abrupt("return", request(_objectSpread$
|
|
19264
|
+
return _context53.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19237
19265
|
path: pathConvertDraft(transactionId)
|
|
19238
19266
|
}), {
|
|
19239
19267
|
method: 'post',
|
|
@@ -19271,7 +19299,7 @@ var archive = /*#__PURE__*/function () {
|
|
|
19271
19299
|
doesParamExist.default({
|
|
19272
19300
|
transactionId: transactionId
|
|
19273
19301
|
}, opts.hyperMediaEndpoint);
|
|
19274
|
-
return _context54.abrupt("return", request(_objectSpread$
|
|
19302
|
+
return _context54.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19275
19303
|
path: pathTransactionArchives(transactionId)
|
|
19276
19304
|
}), {
|
|
19277
19305
|
method: 'put'
|
|
@@ -19308,7 +19336,7 @@ var unarchive = /*#__PURE__*/function () {
|
|
|
19308
19336
|
doesParamExist.default({
|
|
19309
19337
|
transactionId: transactionId
|
|
19310
19338
|
}, opts.hyperMediaEndpoint);
|
|
19311
|
-
return _context55.abrupt("return", request(_objectSpread$
|
|
19339
|
+
return _context55.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19312
19340
|
path: pathTransactionUnarchives(transactionId)
|
|
19313
19341
|
}), {
|
|
19314
19342
|
method: 'put'
|
|
@@ -19346,7 +19374,7 @@ var terminalInput = /*#__PURE__*/function () {
|
|
|
19346
19374
|
doesParamExist.default({
|
|
19347
19375
|
transactionId: transactionId
|
|
19348
19376
|
}, opts.hyperMediaEndpoint);
|
|
19349
|
-
return _context56.abrupt("return", request(_objectSpread$
|
|
19377
|
+
return _context56.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19350
19378
|
path: pathTransactionTerminalInput(transactionId)
|
|
19351
19379
|
}), {
|
|
19352
19380
|
method: 'post',
|
|
@@ -19385,7 +19413,7 @@ var terminalCancellation = /*#__PURE__*/function () {
|
|
|
19385
19413
|
doesParamExist.default({
|
|
19386
19414
|
transactionId: transactionId
|
|
19387
19415
|
}, opts.hyperMediaEndpoint);
|
|
19388
|
-
return _context57.abrupt("return", request(_objectSpread$
|
|
19416
|
+
return _context57.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19389
19417
|
path: pathTransactionTerminalCancel(transactionId)
|
|
19390
19418
|
}), {
|
|
19391
19419
|
method: 'post',
|
|
@@ -19425,7 +19453,7 @@ var refundPayment = /*#__PURE__*/function () {
|
|
|
19425
19453
|
doesParamExist.default({
|
|
19426
19454
|
transactionId: transactionId
|
|
19427
19455
|
}, opts.hyperMediaEndpoint);
|
|
19428
|
-
return _context58.abrupt("return", request(_objectSpread$
|
|
19456
|
+
return _context58.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19429
19457
|
path: pathTransactionPaymentRefund(transactionId, paymentId)
|
|
19430
19458
|
}), {
|
|
19431
19459
|
method: 'post',
|
|
@@ -19460,7 +19488,7 @@ var createEclipseInPatientInvoice = /*#__PURE__*/function () {
|
|
|
19460
19488
|
opts = {};
|
|
19461
19489
|
}
|
|
19462
19490
|
|
|
19463
|
-
return _context59.abrupt("return", request(_objectSpread$
|
|
19491
|
+
return _context59.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19464
19492
|
path: pathCreateEclipseInPatientInvoice()
|
|
19465
19493
|
}), {
|
|
19466
19494
|
method: 'post',
|
|
@@ -19495,7 +19523,7 @@ var createEclipseOverseasInvoice = /*#__PURE__*/function () {
|
|
|
19495
19523
|
opts = {};
|
|
19496
19524
|
}
|
|
19497
19525
|
|
|
19498
|
-
return _context60.abrupt("return", request(_objectSpread$
|
|
19526
|
+
return _context60.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19499
19527
|
path: pathCreateEclipseOverseasInvoice()
|
|
19500
19528
|
}), {
|
|
19501
19529
|
method: 'post',
|
|
@@ -19530,7 +19558,7 @@ var createEclipseOnlineEligibilityCheckInvoice = /*#__PURE__*/function () {
|
|
|
19530
19558
|
opts = {};
|
|
19531
19559
|
}
|
|
19532
19560
|
|
|
19533
|
-
return _context61.abrupt("return", request(_objectSpread$
|
|
19561
|
+
return _context61.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19534
19562
|
path: pathCreateEclipseOnlineEligibilityCheckInvoice()
|
|
19535
19563
|
}), {
|
|
19536
19564
|
method: 'post',
|
|
@@ -19570,7 +19598,7 @@ var getBusinessEclipseTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
19570
19598
|
businessId: businessId,
|
|
19571
19599
|
transactionId: transactionId
|
|
19572
19600
|
}, opts.hyperMediaEndpoint);
|
|
19573
|
-
return _context62.abrupt("return", request(_objectSpread$
|
|
19601
|
+
return _context62.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19574
19602
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport/eclipse"
|
|
19575
19603
|
}), {
|
|
19576
19604
|
method: 'get',
|
|
@@ -19610,7 +19638,7 @@ var getBusinessEclipseTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
19610
19638
|
businessId: businessId,
|
|
19611
19639
|
transactionId: transactionId
|
|
19612
19640
|
}, opts.hyperMediaEndpoint);
|
|
19613
|
-
return _context63.abrupt("return", request(_objectSpread$
|
|
19641
|
+
return _context63.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19614
19642
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport/eclipse"
|
|
19615
19643
|
}), {
|
|
19616
19644
|
method: 'get',
|
|
@@ -19649,7 +19677,7 @@ var reconcileClaim = /*#__PURE__*/function () {
|
|
|
19649
19677
|
doesParamExist.default({
|
|
19650
19678
|
transactionId: transactionId
|
|
19651
19679
|
}, opts.hyperMediaEndpoint);
|
|
19652
|
-
return _context64.abrupt("return", request(_objectSpread$
|
|
19680
|
+
return _context64.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
19653
19681
|
path: pathReconcileClaim(transactionId, claimId)
|
|
19654
19682
|
}), {
|
|
19655
19683
|
method: 'post'
|
|
@@ -19736,9 +19764,9 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
19736
19764
|
reconcileClaim: reconcileClaim
|
|
19737
19765
|
});
|
|
19738
19766
|
|
|
19739
|
-
function ownKeys$
|
|
19767
|
+
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
19768
|
|
|
19741
|
-
function _objectSpread$
|
|
19769
|
+
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
19770
|
|
|
19743
19771
|
var pathTrigger = function pathTrigger(triggerId) {
|
|
19744
19772
|
return "/triggers/" + triggerId;
|
|
@@ -19765,7 +19793,7 @@ var getTrigger = /*#__PURE__*/function () {
|
|
|
19765
19793
|
doesParamExist.default({
|
|
19766
19794
|
triggerId: triggerId
|
|
19767
19795
|
}, opts.hyperMediaEndpoint);
|
|
19768
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19796
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19769
19797
|
path: pathTrigger(triggerId)
|
|
19770
19798
|
}), {
|
|
19771
19799
|
method: 'get'
|
|
@@ -19803,7 +19831,7 @@ var getTriggers = /*#__PURE__*/function () {
|
|
|
19803
19831
|
opts = {};
|
|
19804
19832
|
}
|
|
19805
19833
|
|
|
19806
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
19834
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19807
19835
|
path: PATH__TRIGGERS
|
|
19808
19836
|
}), {
|
|
19809
19837
|
method: 'get',
|
|
@@ -19842,7 +19870,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
|
|
|
19842
19870
|
opts = {};
|
|
19843
19871
|
}
|
|
19844
19872
|
|
|
19845
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
19873
|
+
return _context3.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19846
19874
|
path: PATH__TRIGGER_CATEGORIES
|
|
19847
19875
|
}), {
|
|
19848
19876
|
method: 'get',
|
|
@@ -19869,9 +19897,9 @@ var triggers = /*#__PURE__*/Object.freeze({
|
|
|
19869
19897
|
getTriggerCategories: getTriggerCategories
|
|
19870
19898
|
});
|
|
19871
19899
|
|
|
19872
|
-
function ownKeys$
|
|
19900
|
+
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
19901
|
|
|
19874
|
-
function _objectSpread$
|
|
19902
|
+
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
19903
|
var pathHealthFundVendors = function pathHealthFundVendors(healthFundId) {
|
|
19876
19904
|
return "/healthfunds/" + healthFundId + "/vendors";
|
|
19877
19905
|
};
|
|
@@ -19887,7 +19915,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
|
|
|
19887
19915
|
healthFundId: healthFundId,
|
|
19888
19916
|
vendorId: vendorId
|
|
19889
19917
|
}, opts.hyperMediaEndpoint);
|
|
19890
|
-
return request(_objectSpread$
|
|
19918
|
+
return request(_objectSpread$15({}, opts, {
|
|
19891
19919
|
path: pathHealthFundVendor(healthFundId, vendorId)
|
|
19892
19920
|
}), {
|
|
19893
19921
|
method: 'get',
|
|
@@ -19902,7 +19930,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
|
|
|
19902
19930
|
doesParamExist.default({
|
|
19903
19931
|
healthFundId: healthFundId
|
|
19904
19932
|
}, opts.hyperMediaEndpoint);
|
|
19905
|
-
return request(_objectSpread$
|
|
19933
|
+
return request(_objectSpread$15({}, opts, {
|
|
19906
19934
|
path: pathHealthFundVendors(healthFundId)
|
|
19907
19935
|
}), {
|
|
19908
19936
|
method: 'get',
|
|
@@ -19918,9 +19946,9 @@ var vendors = /*#__PURE__*/Object.freeze({
|
|
|
19918
19946
|
getHealthFundVendors: getHealthFundVendors
|
|
19919
19947
|
});
|
|
19920
19948
|
|
|
19921
|
-
function ownKeys$
|
|
19949
|
+
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
19950
|
|
|
19923
|
-
function _objectSpread$
|
|
19951
|
+
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
19952
|
var PATH__MEDICARE_VERIFY = '/medicare/verify';
|
|
19925
19953
|
/**
|
|
19926
19954
|
* Verify medicare details
|
|
@@ -19938,7 +19966,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
|
|
|
19938
19966
|
opts = {};
|
|
19939
19967
|
}
|
|
19940
19968
|
|
|
19941
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19969
|
+
return _context.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
19942
19970
|
path: PATH__MEDICARE_VERIFY
|
|
19943
19971
|
}), {
|
|
19944
19972
|
method: 'POST',
|
|
@@ -19964,9 +19992,9 @@ var verify = /*#__PURE__*/Object.freeze({
|
|
|
19964
19992
|
verifyMedicare: verifyMedicare$1
|
|
19965
19993
|
});
|
|
19966
19994
|
|
|
19967
|
-
function ownKeys$
|
|
19995
|
+
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
19996
|
|
|
19969
|
-
function _objectSpread$
|
|
19997
|
+
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
19998
|
var pathSendWorkerMessage = function pathSendWorkerMessage() {
|
|
19971
19999
|
return "/workers/messages";
|
|
19972
20000
|
};
|
|
@@ -19975,7 +20003,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
|
|
|
19975
20003
|
opts = {};
|
|
19976
20004
|
}
|
|
19977
20005
|
|
|
19978
|
-
return request(_objectSpread$
|
|
20006
|
+
return request(_objectSpread$17({}, opts, {
|
|
19979
20007
|
path: pathSendWorkerMessage()
|
|
19980
20008
|
}), {
|
|
19981
20009
|
method: 'post',
|
|
@@ -19989,9 +20017,9 @@ var workers = /*#__PURE__*/Object.freeze({
|
|
|
19989
20017
|
sendWorkerMessage: sendWorkerMessage
|
|
19990
20018
|
});
|
|
19991
20019
|
|
|
19992
|
-
function ownKeys$
|
|
20020
|
+
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
20021
|
|
|
19994
|
-
function _objectSpread$
|
|
20022
|
+
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
20023
|
var pathHealthFundWorkflowExceptions = function pathHealthFundWorkflowExceptions(healthFundId) {
|
|
19996
20024
|
return "/healthfunds/" + healthFundId + "/workflowexceptions";
|
|
19997
20025
|
};
|
|
@@ -20003,7 +20031,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
|
|
|
20003
20031
|
doesParamExist.default({
|
|
20004
20032
|
healthFundId: healthFundId
|
|
20005
20033
|
}, opts.hyperMediaEndpoint);
|
|
20006
|
-
return request(_objectSpread$
|
|
20034
|
+
return request(_objectSpread$18({}, opts, {
|
|
20007
20035
|
path: pathHealthFundWorkflowExceptions(healthFundId)
|
|
20008
20036
|
}), {
|
|
20009
20037
|
method: 'get',
|
|
@@ -20725,9 +20753,9 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
20725
20753
|
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
20726
20754
|
});
|
|
20727
20755
|
|
|
20728
|
-
function ownKeys$
|
|
20756
|
+
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
20757
|
|
|
20730
|
-
function _objectSpread$
|
|
20758
|
+
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
20759
|
/**
|
|
20732
20760
|
* Get current app version
|
|
20733
20761
|
*/
|
|
@@ -20867,7 +20895,7 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20867
20895
|
break;
|
|
20868
20896
|
}
|
|
20869
20897
|
|
|
20870
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20898
|
+
return _context3.abrupt("return", _objectSpread$19({}, versions, {
|
|
20871
20899
|
requiresUpdate: true,
|
|
20872
20900
|
isForced: true
|
|
20873
20901
|
}));
|
|
@@ -20878,12 +20906,12 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20878
20906
|
break;
|
|
20879
20907
|
}
|
|
20880
20908
|
|
|
20881
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20909
|
+
return _context3.abrupt("return", _objectSpread$19({}, versions, {
|
|
20882
20910
|
requiresUpdate: true
|
|
20883
20911
|
}));
|
|
20884
20912
|
|
|
20885
20913
|
case 14:
|
|
20886
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20914
|
+
return _context3.abrupt("return", _objectSpread$19({}, versions, {
|
|
20887
20915
|
requiresUpdate: false
|
|
20888
20916
|
}));
|
|
20889
20917
|
|
|
@@ -20909,9 +20937,9 @@ var versions = /*#__PURE__*/Object.freeze({
|
|
|
20909
20937
|
checkAppVersion: checkAppVersion
|
|
20910
20938
|
});
|
|
20911
20939
|
|
|
20912
|
-
function ownKeys$
|
|
20940
|
+
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
20941
|
|
|
20914
|
-
function _objectSpread$
|
|
20942
|
+
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
20943
|
function parseProfessions(_x, _x2) {
|
|
20916
20944
|
return _parseProfessions.apply(this, arguments);
|
|
20917
20945
|
}
|
|
@@ -20955,17 +20983,17 @@ function _parseProfessions() {
|
|
|
20955
20983
|
professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
|
|
20956
20984
|
var _objectSpread2;
|
|
20957
20985
|
|
|
20958
|
-
return _objectSpread$
|
|
20986
|
+
return _objectSpread$1a({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
20959
20987
|
}, {});
|
|
20960
20988
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
20961
20989
|
var _objectSpread3;
|
|
20962
20990
|
|
|
20963
|
-
return _objectSpread$
|
|
20991
|
+
return _objectSpread$1a({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
20964
20992
|
}, {});
|
|
20965
20993
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
20966
20994
|
var _objectSpread4;
|
|
20967
20995
|
|
|
20968
|
-
return _objectSpread$
|
|
20996
|
+
return _objectSpread$1a({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
|
|
20969
20997
|
}, {});
|
|
20970
20998
|
newProfessions = professions.map(function (registration) {
|
|
20971
20999
|
var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
|
|
@@ -21072,9 +21100,9 @@ var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
|
21072
21100
|
getSelfApplicationCached: getSelfApplicationCached
|
|
21073
21101
|
});
|
|
21074
21102
|
|
|
21075
|
-
function ownKeys$
|
|
21103
|
+
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
21104
|
|
|
21077
|
-
function _objectSpread$
|
|
21105
|
+
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
21106
|
var APP_ID = 'web-application';
|
|
21079
21107
|
var API_VER = '0.82.0';
|
|
21080
21108
|
var API_VERSIONS = {
|
|
@@ -21107,7 +21135,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
21107
21135
|
return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
|
|
21108
21136
|
var _objectSpread2;
|
|
21109
21137
|
|
|
21110
|
-
return _objectSpread$
|
|
21138
|
+
return _objectSpread$1b({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
|
|
21111
21139
|
}, {});
|
|
21112
21140
|
};
|
|
21113
21141
|
|
|
@@ -21157,6 +21185,7 @@ var sdk = {
|
|
|
21157
21185
|
formApplications: formApplications,
|
|
21158
21186
|
forms: forms,
|
|
21159
21187
|
funders: funders,
|
|
21188
|
+
funderServices: funderServices,
|
|
21160
21189
|
funderSettings: funderSettings,
|
|
21161
21190
|
futures: futures,
|
|
21162
21191
|
healthFundAccounts: healthFundAccounts,
|
|
@@ -21238,7 +21267,7 @@ var sdk = {
|
|
|
21238
21267
|
this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
|
|
21239
21268
|
}
|
|
21240
21269
|
|
|
21241
|
-
this.setConfig(_objectSpread$
|
|
21270
|
+
this.setConfig(_objectSpread$1b({}, opts, {
|
|
21242
21271
|
env: env
|
|
21243
21272
|
}));
|
|
21244
21273
|
this.hasInit = true; // Setup request/response interceptors
|
|
@@ -21468,9 +21497,9 @@ var sdk = {
|
|
|
21468
21497
|
}
|
|
21469
21498
|
};
|
|
21470
21499
|
|
|
21471
|
-
function ownKeys$
|
|
21500
|
+
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
21501
|
|
|
21473
|
-
function _objectSpread$
|
|
21502
|
+
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
21503
|
function parseProviderSet(_x, _x2) {
|
|
21475
21504
|
return _parseProviderSet.apply(this, arguments);
|
|
21476
21505
|
}
|
|
@@ -21579,20 +21608,20 @@ function _parseProviderSet() {
|
|
|
21579
21608
|
fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
|
|
21580
21609
|
var _objectSpread2;
|
|
21581
21610
|
|
|
21582
|
-
return _objectSpread$
|
|
21611
|
+
return _objectSpread$1c({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
|
|
21583
21612
|
}, {});
|
|
21584
21613
|
practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
|
|
21585
21614
|
var _objectSpread3;
|
|
21586
21615
|
|
|
21587
|
-
return _objectSpread$
|
|
21616
|
+
return _objectSpread$1c({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
|
|
21588
21617
|
}, {});
|
|
21589
21618
|
providerNumberTypesMap = providerNumberTypesResponse == null ? void 0 : providerNumberTypesResponse.reduce(function (currentProviderNumberTypes, providerNumberType) {
|
|
21590
21619
|
var _objectSpread4;
|
|
21591
21620
|
|
|
21592
|
-
return _objectSpread$
|
|
21621
|
+
return _objectSpread$1c({}, currentProviderNumberTypes, (_objectSpread4 = {}, _objectSpread4[providerNumberType._id] = providerNumberType, _objectSpread4));
|
|
21593
21622
|
}, {});
|
|
21594
21623
|
newProviderSet = providerSet.map(function (providerData, i) {
|
|
21595
|
-
return _objectSpread$
|
|
21624
|
+
return _objectSpread$1c({}, providerData, {}, providerRegistrations[i], {
|
|
21596
21625
|
practice: practicesMap[providerData.practiceId],
|
|
21597
21626
|
funder: fundersMap[providerData.funderId]
|
|
21598
21627
|
}, parseProviderNumberType && {
|
|
@@ -22184,6 +22213,7 @@ exports.pathUnlinkBusinessProfile = pathUnlinkBusinessProfile;
|
|
|
22184
22213
|
exports.pathUnlinkPracticeProfile = pathUnlinkPracticeProfile;
|
|
22185
22214
|
exports.pathUnlinkStaffProfile = pathUnlinkStaffProfile;
|
|
22186
22215
|
exports.pathUploadUrlByBusinessId = pathUploadUrlByBusinessId;
|
|
22216
|
+
exports.pathVerifyEclipse = pathVerifyEclipse;
|
|
22187
22217
|
exports.pay = pay;
|
|
22188
22218
|
exports.publishHealthFundForm = publishHealthFundForm;
|
|
22189
22219
|
exports.reconcileClaim = reconcileClaim;
|
|
@@ -22305,6 +22335,7 @@ exports.verifyBusinessKyc = verifyBusinessKyc;
|
|
|
22305
22335
|
exports.verifyClaimPractice = verifyClaimPractice;
|
|
22306
22336
|
exports.verifyComcare = verifyComcare;
|
|
22307
22337
|
exports.verifyDVA = verifyDVA;
|
|
22338
|
+
exports.verifyEclipse = verifyEclipse;
|
|
22308
22339
|
exports.verifyIcare = verifyIcare;
|
|
22309
22340
|
exports.verifyMedicare = verifyMedicare;
|
|
22310
22341
|
exports.verifyMedicare$1 = verifyMedicare$1;
|