@medipass/web-sdk 11.64.17-feature-business-email-logs.0 → 11.64.17-feature-qbe-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.d.ts +2 -0
- package/lib/index.js +1 -1
- package/lib/resources/__tests__/qbe.test.d.ts +1 -0
- package/lib/resources/abr.js +1 -1
- 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/blacklist.js +1 -1
- package/lib/resources/bulk-submits.js +1 -1
- package/lib/resources/bulk-uploads.js +1 -1
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.d.ts +1 -15
- package/lib/resources/businesses.js +1 -3
- 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/filter-options.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 +1 -1
- package/lib/resources/funder-settings.js +1 -1
- package/lib/resources/funder-values.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/qbe.d.ts +16 -0
- package/lib/resources/qbe.js +51 -0
- 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-f12a221d.js → staff-787263f0.js} +517 -548
- package/lib/types/business.d.ts +0 -13
- 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 +3 -3
|
@@ -80,9 +80,9 @@ var staffUtils = /*#__PURE__*/Object.freeze({
|
|
|
80
80
|
get parseProviderRegistrations () { return parseProviderRegistrations; }
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
function ownKeys$
|
|
83
|
+
function ownKeys$1i(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
84
84
|
|
|
85
|
-
function _objectSpread$
|
|
85
|
+
function _objectSpread$1i(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1i(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1i(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
86
86
|
var DEFAULT_API_NAME = 'core';
|
|
87
87
|
|
|
88
88
|
var getBaseUrl = function getBaseUrl(apiName, requestOpts) {
|
|
@@ -104,7 +104,7 @@ var stripBottleneckOpts = function stripBottleneckOpts(axiosRequestOpts) {
|
|
|
104
104
|
axiosRequestOpts = {};
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
var opts = _objectSpread$
|
|
107
|
+
var opts = _objectSpread$1i({}, axiosRequestOpts);
|
|
108
108
|
|
|
109
109
|
if (((_opts$params = opts.params) == null ? void 0 : (_opts$params$searchTe = _opts$params.searchText) == null ? void 0 : _opts$params$searchTe.trim().length) < 3) {
|
|
110
110
|
console.error("Unable to query transactions with a search text fewer than 3 characters. Ignoring search for query " + axiosRequestOpts.params.searchText);
|
|
@@ -132,7 +132,7 @@ var request = /*#__PURE__*/function () {
|
|
|
132
132
|
strippedAxiosRequestOpts = medipassRequestOpts.unrestrictBottleneckOpts ? axiosRequestOpts : module.exports.stripBottleneckOpts(axiosRequestOpts);
|
|
133
133
|
_context.prev = 5;
|
|
134
134
|
_context.next = 8;
|
|
135
|
-
return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread$
|
|
135
|
+
return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread$1i({}, strippedAxiosRequestOpts, {}, medipassRequestOpts.requestConfig));
|
|
136
136
|
|
|
137
137
|
case 8:
|
|
138
138
|
res = _context.sent;
|
|
@@ -168,9 +168,9 @@ var request = /*#__PURE__*/function () {
|
|
|
168
168
|
};
|
|
169
169
|
}();
|
|
170
170
|
|
|
171
|
-
function ownKeys$
|
|
171
|
+
function ownKeys$1h(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
172
172
|
|
|
173
|
-
function _objectSpread$
|
|
173
|
+
function _objectSpread$1h(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1h(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1h(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
174
174
|
var pathGetAbr = function pathGetAbr() {
|
|
175
175
|
return '/abr/search';
|
|
176
176
|
};
|
|
@@ -189,7 +189,7 @@ var getAbr = /*#__PURE__*/function () {
|
|
|
189
189
|
opts = {};
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
192
|
+
return _context.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
193
193
|
path: pathGetAbr()
|
|
194
194
|
}), {
|
|
195
195
|
method: 'get',
|
|
@@ -215,9 +215,9 @@ var abr = /*#__PURE__*/Object.freeze({
|
|
|
215
215
|
getAbr: getAbr
|
|
216
216
|
});
|
|
217
217
|
|
|
218
|
-
function ownKeys$
|
|
218
|
+
function ownKeys$1g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
219
219
|
|
|
220
|
-
function _objectSpread$
|
|
220
|
+
function _objectSpread$1g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1g(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
221
221
|
var PATH__ACCOUNTS = '/accounts';
|
|
222
222
|
|
|
223
223
|
var pathAccountsByAccountId = function pathAccountsByAccountId(accountId) {
|
|
@@ -324,7 +324,7 @@ var createAccountSecretKey = /*#__PURE__*/function () {
|
|
|
324
324
|
utils_doesParamExist["default"]({
|
|
325
325
|
accountId: accountId
|
|
326
326
|
}, opts.hyperMediaEndpoint);
|
|
327
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
327
|
+
return _context.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
328
328
|
path: pathAccountSecretKeysByAccountId(accountId)
|
|
329
329
|
}), {
|
|
330
330
|
method: 'post'
|
|
@@ -362,7 +362,7 @@ var createOrganisationAccount = /*#__PURE__*/function () {
|
|
|
362
362
|
utils_doesParamExist["default"]({
|
|
363
363
|
organisationId: organisationId
|
|
364
364
|
}, opts.hyperMediaEndpoint);
|
|
365
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
365
|
+
return _context2.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
366
366
|
path: pathOrganisationAccounts(organisationId)
|
|
367
367
|
}), {
|
|
368
368
|
method: 'post',
|
|
@@ -401,7 +401,7 @@ var createOrganisationSupportAccount = /*#__PURE__*/function () {
|
|
|
401
401
|
utils_doesParamExist["default"]({
|
|
402
402
|
organisationId: organisationId
|
|
403
403
|
}, opts.hyperMediaEndpoint);
|
|
404
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
404
|
+
return _context3.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
405
405
|
path: pathOrganisationSupportAccounts(organisationId)
|
|
406
406
|
}), {
|
|
407
407
|
method: 'post',
|
|
@@ -441,7 +441,7 @@ var deleteAccountSecretKey = /*#__PURE__*/function () {
|
|
|
441
441
|
accountId: accountId,
|
|
442
442
|
secretKey: secretKey
|
|
443
443
|
}, opts.hyperMediaEndpoint);
|
|
444
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
444
|
+
return _context4.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
445
445
|
path: pathAccountSecretKey(accountId, secretKey)
|
|
446
446
|
}), {
|
|
447
447
|
method: 'delete'
|
|
@@ -478,7 +478,7 @@ var deleteAccount = /*#__PURE__*/function () {
|
|
|
478
478
|
utils_doesParamExist["default"]({
|
|
479
479
|
accountId: accountId
|
|
480
480
|
}, opts.hyperMediaEndpoint);
|
|
481
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
481
|
+
return _context5.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
482
482
|
path: pathAccountsByAccountId(accountId)
|
|
483
483
|
}), {
|
|
484
484
|
method: 'delete'
|
|
@@ -515,7 +515,7 @@ var disableAccount = /*#__PURE__*/function () {
|
|
|
515
515
|
utils_doesParamExist["default"]({
|
|
516
516
|
accountId: accountId
|
|
517
517
|
}, opts.hyperMediaEndpoint);
|
|
518
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
518
|
+
return _context6.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
519
519
|
path: pathDisableAccount(accountId)
|
|
520
520
|
}), {
|
|
521
521
|
method: 'put'
|
|
@@ -552,7 +552,7 @@ var enableAccount = /*#__PURE__*/function () {
|
|
|
552
552
|
utils_doesParamExist["default"]({
|
|
553
553
|
accountId: accountId
|
|
554
554
|
}, opts.hyperMediaEndpoint);
|
|
555
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
555
|
+
return _context7.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
556
556
|
path: pathEnableAccount(accountId)
|
|
557
557
|
}), {
|
|
558
558
|
method: 'put'
|
|
@@ -587,7 +587,7 @@ var requestAccountReset = /*#__PURE__*/function () {
|
|
|
587
587
|
opts = {};
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
590
|
+
return _context8.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
591
591
|
path: PATH__REQUEST_ACCOUNT_RESET
|
|
592
592
|
}), {
|
|
593
593
|
method: 'post',
|
|
@@ -635,17 +635,17 @@ var requestPasswordReset = /*#__PURE__*/function () {
|
|
|
635
635
|
|
|
636
636
|
if (email) {
|
|
637
637
|
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
638
|
-
data = _objectSpread$
|
|
638
|
+
data = _objectSpread$1g({}, data, {
|
|
639
639
|
email: email
|
|
640
640
|
});
|
|
641
641
|
} else if (accountId) {
|
|
642
642
|
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
643
|
-
data = _objectSpread$
|
|
643
|
+
data = _objectSpread$1g({}, data, {
|
|
644
644
|
accountId: accountId
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
647
|
|
|
648
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
648
|
+
return _context9.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
649
649
|
path: PATH__REQUEST_PASSWORD_RESET
|
|
650
650
|
}), {
|
|
651
651
|
method: 'post',
|
|
@@ -690,17 +690,17 @@ var requestMobileReset = /*#__PURE__*/function () {
|
|
|
690
690
|
|
|
691
691
|
if (email) {
|
|
692
692
|
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
693
|
-
data = _objectSpread$
|
|
693
|
+
data = _objectSpread$1g({}, data, {
|
|
694
694
|
email: email
|
|
695
695
|
});
|
|
696
696
|
} else if (accountId) {
|
|
697
697
|
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
698
|
-
data = _objectSpread$
|
|
698
|
+
data = _objectSpread$1g({}, data, {
|
|
699
699
|
accountId: accountId
|
|
700
700
|
});
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
703
|
+
return _context10.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
704
704
|
path: PATH__REQUEST_MOBILE_RESET
|
|
705
705
|
}), {
|
|
706
706
|
method: 'post',
|
|
@@ -735,7 +735,7 @@ var resetAccount = /*#__PURE__*/function () {
|
|
|
735
735
|
opts = {};
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
738
|
+
return _context11.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
739
739
|
path: PATH__ACCOUNT_RESET
|
|
740
740
|
}), {
|
|
741
741
|
method: 'post',
|
|
@@ -770,7 +770,7 @@ var resetPassword = /*#__PURE__*/function () {
|
|
|
770
770
|
opts = {};
|
|
771
771
|
}
|
|
772
772
|
|
|
773
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
773
|
+
return _context12.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
774
774
|
path: PATH__ACCOUNT_PASSWORD_RESET
|
|
775
775
|
}), {
|
|
776
776
|
method: 'post',
|
|
@@ -805,7 +805,7 @@ var resetMobile = /*#__PURE__*/function () {
|
|
|
805
805
|
opts = {};
|
|
806
806
|
}
|
|
807
807
|
|
|
808
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
808
|
+
return _context13.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
809
809
|
path: PATH__ACCOUNT_MOBILE_RESET
|
|
810
810
|
}), {
|
|
811
811
|
method: 'post',
|
|
@@ -840,7 +840,7 @@ var verifyAccount = /*#__PURE__*/function () {
|
|
|
840
840
|
opts = {};
|
|
841
841
|
}
|
|
842
842
|
|
|
843
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
843
|
+
return _context14.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
844
844
|
path: PATH__ACCOUNT_VERIFY
|
|
845
845
|
}), {
|
|
846
846
|
method: 'post',
|
|
@@ -879,7 +879,7 @@ var getAccounts = /*#__PURE__*/function () {
|
|
|
879
879
|
opts = {};
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
882
|
+
return _context15.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
883
883
|
path: PATH__ACCOUNTS
|
|
884
884
|
}), {
|
|
885
885
|
method: 'get',
|
|
@@ -919,7 +919,7 @@ var getHealthFundAccount = /*#__PURE__*/function () {
|
|
|
919
919
|
accountId: accountId,
|
|
920
920
|
healthFundId: healthFundId
|
|
921
921
|
}, opts.hyperMediaEndpoint);
|
|
922
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
922
|
+
return _context16.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
923
923
|
path: pathHealthFundAccount(healthFundId, accountId)
|
|
924
924
|
}), {
|
|
925
925
|
method: 'get'
|
|
@@ -961,7 +961,7 @@ var getHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
961
961
|
utils_doesParamExist["default"]({
|
|
962
962
|
healthFundId: healthFundId
|
|
963
963
|
}, opts.hyperMediaEndpoint);
|
|
964
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
964
|
+
return _context17.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
965
965
|
path: pathHealthFundAccounts(healthFundId)
|
|
966
966
|
}), {
|
|
967
967
|
method: 'get',
|
|
@@ -1004,7 +1004,7 @@ var getOrganisationAccounts = /*#__PURE__*/function () {
|
|
|
1004
1004
|
utils_doesParamExist["default"]({
|
|
1005
1005
|
organisationId: organisationId
|
|
1006
1006
|
}, opts.hyperMediaEndpoint);
|
|
1007
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
1007
|
+
return _context18.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1008
1008
|
path: pathOrganisationAccounts(organisationId)
|
|
1009
1009
|
}), {
|
|
1010
1010
|
method: 'get',
|
|
@@ -1044,7 +1044,7 @@ var getAccount = /*#__PURE__*/function () {
|
|
|
1044
1044
|
accountId: accountId
|
|
1045
1045
|
}, opts.hyperMediaEndpoint);
|
|
1046
1046
|
_context19.next = 4;
|
|
1047
|
-
return request(_objectSpread$
|
|
1047
|
+
return request(_objectSpread$1g({}, opts, {
|
|
1048
1048
|
path: pathAccountsByAccountId(accountId)
|
|
1049
1049
|
}), {
|
|
1050
1050
|
method: 'get'
|
|
@@ -1093,7 +1093,7 @@ var getBusinessStaffAccount = /*#__PURE__*/function () {
|
|
|
1093
1093
|
staffId: staffId
|
|
1094
1094
|
}, opts.hyperMediaEndpoint);
|
|
1095
1095
|
_context20.next = 4;
|
|
1096
|
-
return request(_objectSpread$
|
|
1096
|
+
return request(_objectSpread$1g({}, opts, {
|
|
1097
1097
|
path: pathBusinessStaffAccount(businessId, staffId)
|
|
1098
1098
|
}), {
|
|
1099
1099
|
method: 'get'
|
|
@@ -1134,7 +1134,7 @@ var getAccountExists = /*#__PURE__*/function () {
|
|
|
1134
1134
|
opts = {};
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
1137
|
+
return _context21.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1138
1138
|
path: pathAccountExists()
|
|
1139
1139
|
}), {
|
|
1140
1140
|
method: 'get',
|
|
@@ -1172,7 +1172,7 @@ var getAccountRoles = /*#__PURE__*/function () {
|
|
|
1172
1172
|
utils_doesParamExist["default"]({
|
|
1173
1173
|
accountId: accountId
|
|
1174
1174
|
}, opts.hyperMediaEndpoint);
|
|
1175
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
1175
|
+
return _context22.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1176
1176
|
path: pathAccountRolesByAccountId(accountId)
|
|
1177
1177
|
}), {
|
|
1178
1178
|
method: 'get'
|
|
@@ -1209,7 +1209,7 @@ var getAccountSecretKeys = /*#__PURE__*/function () {
|
|
|
1209
1209
|
utils_doesParamExist["default"]({
|
|
1210
1210
|
accountId: accountId
|
|
1211
1211
|
}, opts.hyperMediaEndpoint);
|
|
1212
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
1212
|
+
return _context23.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1213
1213
|
path: pathAccountSecretKeysByAccountId(accountId)
|
|
1214
1214
|
}), {
|
|
1215
1215
|
method: 'get'
|
|
@@ -1251,7 +1251,7 @@ var getAccountTransactions = /*#__PURE__*/function () {
|
|
|
1251
1251
|
utils_doesParamExist["default"]({
|
|
1252
1252
|
accountId: accountId
|
|
1253
1253
|
}, opts.hyperMediaEndpoint);
|
|
1254
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
1254
|
+
return _context24.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1255
1255
|
path: pathAccountTransactions(accountId)
|
|
1256
1256
|
}), {
|
|
1257
1257
|
method: 'get',
|
|
@@ -1290,7 +1290,7 @@ var inviteHealthFundAccount = /*#__PURE__*/function () {
|
|
|
1290
1290
|
utils_doesParamExist["default"]({
|
|
1291
1291
|
healthFundId: healthFundId
|
|
1292
1292
|
}, opts.hyperMediaEndpoint);
|
|
1293
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
1293
|
+
return _context25.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1294
1294
|
path: pathHealthFundAccounts(healthFundId) + "/invites"
|
|
1295
1295
|
}), {
|
|
1296
1296
|
method: 'post',
|
|
@@ -1330,7 +1330,7 @@ var removeHealthFundFromAccount = /*#__PURE__*/function () {
|
|
|
1330
1330
|
accountId: accountId,
|
|
1331
1331
|
healthFundId: healthFundId
|
|
1332
1332
|
}, opts.hyperMediaEndpoint);
|
|
1333
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
1333
|
+
return _context26.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1334
1334
|
path: pathHealthFundAccount(healthFundId, accountId)
|
|
1335
1335
|
}), {
|
|
1336
1336
|
method: 'delete'
|
|
@@ -1367,7 +1367,7 @@ var requestToVerifyAccount = /*#__PURE__*/function () {
|
|
|
1367
1367
|
utils_doesParamExist["default"]({
|
|
1368
1368
|
accountId: accountId
|
|
1369
1369
|
}, opts.hyperMediaEndpoint);
|
|
1370
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
1370
|
+
return _context27.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1371
1371
|
path: pathRequestVerifyAccount(accountId)
|
|
1372
1372
|
}), {
|
|
1373
1373
|
method: 'post'
|
|
@@ -1407,11 +1407,11 @@ var signUp$1 = /*#__PURE__*/function () {
|
|
|
1407
1407
|
email: email,
|
|
1408
1408
|
mobile: mobile
|
|
1409
1409
|
}, opts.hyperMediaEndpoint);
|
|
1410
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
1410
|
+
return _context28.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1411
1411
|
path: PATH__SIGN_UP
|
|
1412
1412
|
}), {
|
|
1413
1413
|
method: 'post',
|
|
1414
|
-
data: _objectSpread$
|
|
1414
|
+
data: _objectSpread$1g({
|
|
1415
1415
|
email: email,
|
|
1416
1416
|
mobile: mobile
|
|
1417
1417
|
}, body)
|
|
@@ -1445,7 +1445,7 @@ var acceptInvite = /*#__PURE__*/function () {
|
|
|
1445
1445
|
opts = {};
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
1448
|
+
return _context29.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1449
1449
|
path: PATH__ACCEPT_ACCOUNT_INVITE
|
|
1450
1450
|
}), {
|
|
1451
1451
|
method: 'post',
|
|
@@ -1486,7 +1486,7 @@ var updateAccount = /*#__PURE__*/function () {
|
|
|
1486
1486
|
accountId: accountId
|
|
1487
1487
|
}, opts.hyperMediaEndpoint);
|
|
1488
1488
|
_context30.next = 4;
|
|
1489
|
-
return request(_objectSpread$
|
|
1489
|
+
return request(_objectSpread$1g({}, opts, {
|
|
1490
1490
|
path: pathAccountsByAccountId(accountId)
|
|
1491
1491
|
}), {
|
|
1492
1492
|
method: 'put',
|
|
@@ -1533,7 +1533,7 @@ var updateAccountRoles = /*#__PURE__*/function () {
|
|
|
1533
1533
|
utils_doesParamExist["default"]({
|
|
1534
1534
|
accountId: accountId
|
|
1535
1535
|
}, opts.hyperMediaEndpoint);
|
|
1536
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
1536
|
+
return _context31.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1537
1537
|
path: pathAccountRolesByAccountId(accountId)
|
|
1538
1538
|
}), {
|
|
1539
1539
|
method: 'put',
|
|
@@ -1576,7 +1576,7 @@ var getAccountPractices = /*#__PURE__*/function () {
|
|
|
1576
1576
|
utils_doesParamExist["default"]({
|
|
1577
1577
|
accountId: accountId
|
|
1578
1578
|
}, opts.hyperMediaEndpoint);
|
|
1579
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
1579
|
+
return _context32.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1580
1580
|
path: pathAccountPractices(accountId)
|
|
1581
1581
|
}), {
|
|
1582
1582
|
method: 'get',
|
|
@@ -1611,7 +1611,7 @@ var changePassword = /*#__PURE__*/function () {
|
|
|
1611
1611
|
opts = {};
|
|
1612
1612
|
}
|
|
1613
1613
|
|
|
1614
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
1614
|
+
return _context33.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1615
1615
|
path: pathChangePassword()
|
|
1616
1616
|
}), {
|
|
1617
1617
|
method: 'post',
|
|
@@ -1650,7 +1650,7 @@ var enableTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1650
1650
|
utils_doesParamExist["default"]({
|
|
1651
1651
|
accountId: accountId
|
|
1652
1652
|
}, opts.hyperMediaEndpoint);
|
|
1653
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
1653
|
+
return _context34.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1654
1654
|
path: pathEnableTwoFactorAuthentication(accountId)
|
|
1655
1655
|
}), {
|
|
1656
1656
|
method: 'post',
|
|
@@ -1689,7 +1689,7 @@ var disableTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1689
1689
|
utils_doesParamExist["default"]({
|
|
1690
1690
|
accountId: accountId
|
|
1691
1691
|
}, opts.hyperMediaEndpoint);
|
|
1692
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
1692
|
+
return _context35.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1693
1693
|
path: pathDisableTwoFactorAuthentication(accountId)
|
|
1694
1694
|
}), {
|
|
1695
1695
|
method: 'delete',
|
|
@@ -1728,7 +1728,7 @@ var updateTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1728
1728
|
utils_doesParamExist["default"]({
|
|
1729
1729
|
accountId: accountId
|
|
1730
1730
|
}, opts.hyperMediaEndpoint);
|
|
1731
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
1731
|
+
return _context36.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1732
1732
|
path: pathUpdateTwoFactorAuthentication(accountId)
|
|
1733
1733
|
}), {
|
|
1734
1734
|
method: 'put',
|
|
@@ -1788,9 +1788,9 @@ var accounts = /*#__PURE__*/Object.freeze({
|
|
|
1788
1788
|
updateTwoFactorAuthentication: updateTwoFactorAuthentication
|
|
1789
1789
|
});
|
|
1790
1790
|
|
|
1791
|
-
function ownKeys$
|
|
1791
|
+
function ownKeys$1f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1792
1792
|
|
|
1793
|
-
function _objectSpread$
|
|
1793
|
+
function _objectSpread$1f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1f(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1794
1794
|
var PATH__ACTIONS = '/actions'; // @ts-expect-error TS(7006): Parameter 'actionId' implicitly has an 'any' type.
|
|
1795
1795
|
|
|
1796
1796
|
var pathAction = function pathAction(actionId) {
|
|
@@ -1817,7 +1817,7 @@ var getActions = /*#__PURE__*/function () {
|
|
|
1817
1817
|
opts = {};
|
|
1818
1818
|
}
|
|
1819
1819
|
|
|
1820
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
1820
|
+
return _context.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
1821
1821
|
path: PATH__ACTIONS
|
|
1822
1822
|
}), {
|
|
1823
1823
|
method: 'get',
|
|
@@ -1852,7 +1852,7 @@ var getAction = /*#__PURE__*/function () {
|
|
|
1852
1852
|
opts = {};
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
1855
|
+
return _context2.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
1856
1856
|
path: pathAction(actionId)
|
|
1857
1857
|
}), {
|
|
1858
1858
|
method: 'get'
|
|
@@ -1877,9 +1877,9 @@ var actions = /*#__PURE__*/Object.freeze({
|
|
|
1877
1877
|
getAction: getAction
|
|
1878
1878
|
});
|
|
1879
1879
|
|
|
1880
|
-
function ownKeys$
|
|
1880
|
+
function ownKeys$1e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1881
1881
|
|
|
1882
|
-
function _objectSpread$
|
|
1882
|
+
function _objectSpread$1e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1e(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1883
1883
|
var pathApiKeysByBusinessId = function pathApiKeysByBusinessId(businessId) {
|
|
1884
1884
|
return "/businesses/" + businessId + "/apikeys";
|
|
1885
1885
|
};
|
|
@@ -1906,7 +1906,7 @@ var createApiKey = /*#__PURE__*/function () {
|
|
|
1906
1906
|
utils_doesParamExist["default"]({
|
|
1907
1907
|
businessId: businessId
|
|
1908
1908
|
}, opts.hyperMediaEndpoint);
|
|
1909
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
1909
|
+
return _context.abrupt("return", request(_objectSpread$1e({}, opts, {
|
|
1910
1910
|
path: pathApiKeysByBusinessId(businessId)
|
|
1911
1911
|
}), {
|
|
1912
1912
|
method: 'post',
|
|
@@ -1945,7 +1945,7 @@ var getBusinessApiKeys = /*#__PURE__*/function () {
|
|
|
1945
1945
|
utils_doesParamExist["default"]({
|
|
1946
1946
|
businessId: businessId
|
|
1947
1947
|
}, opts.hyperMediaEndpoint);
|
|
1948
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
1948
|
+
return _context2.abrupt("return", request(_objectSpread$1e({}, opts, {
|
|
1949
1949
|
path: pathApiKeysByBusinessId(businessId)
|
|
1950
1950
|
}), {
|
|
1951
1951
|
method: 'get',
|
|
@@ -1985,7 +1985,7 @@ var deleteApiKey = /*#__PURE__*/function () {
|
|
|
1985
1985
|
businessId: businessId,
|
|
1986
1986
|
apiKeyId: apiKeyId
|
|
1987
1987
|
}, opts.hyperMediaEndpoint);
|
|
1988
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
1988
|
+
return _context3.abrupt("return", request(_objectSpread$1e({}, opts, {
|
|
1989
1989
|
path: pathApiKeyByApiKeyId(businessId, apiKeyId)
|
|
1990
1990
|
}), {
|
|
1991
1991
|
method: 'delete'
|
|
@@ -2013,9 +2013,9 @@ var apiKeys = /*#__PURE__*/Object.freeze({
|
|
|
2013
2013
|
deleteApiKey: deleteApiKey
|
|
2014
2014
|
});
|
|
2015
2015
|
|
|
2016
|
-
function ownKeys$
|
|
2016
|
+
function ownKeys$1d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2017
2017
|
|
|
2018
|
-
function _objectSpread$
|
|
2018
|
+
function _objectSpread$1d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1d(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2019
2019
|
var pathGetClaimAttachmentUrl = function pathGetClaimAttachmentUrl(businessId, practiceId, staffId) {
|
|
2020
2020
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/attachments/uploadurl";
|
|
2021
2021
|
};
|
|
@@ -2053,7 +2053,7 @@ var getClaimAttachmentUrl = function getClaimAttachmentUrl(businessId, practiceI
|
|
|
2053
2053
|
practiceId: practiceId,
|
|
2054
2054
|
staffId: staffId
|
|
2055
2055
|
}, opts.hyperMediaEndpoint);
|
|
2056
|
-
return request(_objectSpread$
|
|
2056
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2057
2057
|
path: pathGetClaimAttachmentUrl(businessId, practiceId, staffId)
|
|
2058
2058
|
}), {
|
|
2059
2059
|
method: 'get',
|
|
@@ -2079,7 +2079,7 @@ var scanClaimFile = function scanClaimFile(businessId, practiceId, staffId, body
|
|
|
2079
2079
|
practiceId: practiceId,
|
|
2080
2080
|
staffId: staffId
|
|
2081
2081
|
}, opts.hyperMediaEndpoint);
|
|
2082
|
-
return request(_objectSpread$
|
|
2082
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2083
2083
|
path: pathScanClaimFile(businessId, practiceId, staffId)
|
|
2084
2084
|
}), {
|
|
2085
2085
|
method: 'post',
|
|
@@ -2107,7 +2107,7 @@ var getS3SignedUrl = function getS3SignedUrl(businessId, practiceId, staffId, s3
|
|
|
2107
2107
|
staffId: staffId,
|
|
2108
2108
|
s3SignedUrlId: s3SignedUrlId
|
|
2109
2109
|
}, opts.hyperMediaEndpoint);
|
|
2110
|
-
return request(_objectSpread$
|
|
2110
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2111
2111
|
path: pathGetS3SignedUrl(businessId, practiceId, staffId, s3SignedUrlId)
|
|
2112
2112
|
}), {
|
|
2113
2113
|
method: 'get',
|
|
@@ -2129,7 +2129,7 @@ var scanFile = function scanFile(businessId, body, opts) {
|
|
|
2129
2129
|
utils_doesParamExist["default"]({
|
|
2130
2130
|
businessId: businessId
|
|
2131
2131
|
}, opts.hyperMediaEndpoint);
|
|
2132
|
-
return request(_objectSpread$
|
|
2132
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2133
2133
|
path: pathScanFile(businessId)
|
|
2134
2134
|
}), {
|
|
2135
2135
|
method: 'post',
|
|
@@ -2151,7 +2151,7 @@ var getAttachmentUrl = function getAttachmentUrl(businessId, query, opts) {
|
|
|
2151
2151
|
utils_doesParamExist["default"]({
|
|
2152
2152
|
businessId: businessId
|
|
2153
2153
|
}, opts.hyperMediaEndpoint);
|
|
2154
|
-
return request(_objectSpread$
|
|
2154
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2155
2155
|
path: pathGetAttachmentUrl(businessId)
|
|
2156
2156
|
}), {
|
|
2157
2157
|
method: 'get',
|
|
@@ -2175,7 +2175,7 @@ var getBusinessS3SignedUrl = function getBusinessS3SignedUrl(businessId, s3Signe
|
|
|
2175
2175
|
businessId: businessId,
|
|
2176
2176
|
s3SignedUrlId: s3SignedUrlId
|
|
2177
2177
|
}, opts.hyperMediaEndpoint);
|
|
2178
|
-
return request(_objectSpread$
|
|
2178
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2179
2179
|
path: pathGetBusinessS3SignedUrl(businessId, s3SignedUrlId)
|
|
2180
2180
|
}), {
|
|
2181
2181
|
method: 'get',
|
|
@@ -2199,9 +2199,9 @@ var attachments = /*#__PURE__*/Object.freeze({
|
|
|
2199
2199
|
getBusinessS3SignedUrl: getBusinessS3SignedUrl
|
|
2200
2200
|
});
|
|
2201
2201
|
|
|
2202
|
-
function ownKeys$
|
|
2202
|
+
function ownKeys$1c(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2203
2203
|
|
|
2204
|
-
function _objectSpread$
|
|
2204
|
+
function _objectSpread$1c(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1c(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2205
2205
|
var PATH__MEMBERS = '/members';
|
|
2206
2206
|
var PATH__DISCOVER_MEMBERS = '/discovery/members'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
|
|
2207
2207
|
|
|
@@ -2250,7 +2250,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
2250
2250
|
opts = {};
|
|
2251
2251
|
}
|
|
2252
2252
|
|
|
2253
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
2253
|
+
return _context.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2254
2254
|
path: PATH__MEMBERS + "/checkdupe"
|
|
2255
2255
|
}), {
|
|
2256
2256
|
method: 'post',
|
|
@@ -2286,7 +2286,7 @@ var createAccountMember = /*#__PURE__*/function () {
|
|
|
2286
2286
|
opts = {};
|
|
2287
2287
|
}
|
|
2288
2288
|
|
|
2289
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
2289
|
+
return _context2.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2290
2290
|
path: pathAccountMembers(accountId)
|
|
2291
2291
|
}), {
|
|
2292
2292
|
method: 'post',
|
|
@@ -2325,7 +2325,7 @@ var deleteMember = /*#__PURE__*/function () {
|
|
|
2325
2325
|
utils_doesParamExist["default"]({
|
|
2326
2326
|
memberId: memberId
|
|
2327
2327
|
}, opts.hyperMediaEndpoint);
|
|
2328
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
2328
|
+
return _context3.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2329
2329
|
path: pathMember(memberId)
|
|
2330
2330
|
}), {
|
|
2331
2331
|
method: 'delete'
|
|
@@ -2359,7 +2359,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
2359
2359
|
opts = {};
|
|
2360
2360
|
}
|
|
2361
2361
|
|
|
2362
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
2362
|
+
return _context4.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2363
2363
|
path: PATH__DISCOVER_MEMBERS
|
|
2364
2364
|
}), {
|
|
2365
2365
|
method: 'get',
|
|
@@ -2398,7 +2398,7 @@ var inviteAnyone = /*#__PURE__*/function () {
|
|
|
2398
2398
|
utils_doesParamExist["default"]({
|
|
2399
2399
|
businessId: businessId
|
|
2400
2400
|
}, opts.hyperMediaEndpoint);
|
|
2401
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
2401
|
+
return _context5.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2402
2402
|
path: pathBusinessMembers(businessId) + "/invites"
|
|
2403
2403
|
}), {
|
|
2404
2404
|
method: 'post',
|
|
@@ -2436,7 +2436,7 @@ var inviteMember = /*#__PURE__*/function () {
|
|
|
2436
2436
|
utils_doesParamExist["default"]({
|
|
2437
2437
|
memberId: memberId
|
|
2438
2438
|
}, opts.hyperMediaEndpoint);
|
|
2439
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
2439
|
+
return _context6.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2440
2440
|
path: pathMember(memberId) + "/invites"
|
|
2441
2441
|
}), {
|
|
2442
2442
|
method: 'post'
|
|
@@ -2475,7 +2475,7 @@ var getAccountMembers = /*#__PURE__*/function () {
|
|
|
2475
2475
|
opts = {};
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
2478
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
2478
|
+
return _context7.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2479
2479
|
path: pathAccountMembers(accountId)
|
|
2480
2480
|
}), {
|
|
2481
2481
|
method: 'get',
|
|
@@ -2514,7 +2514,7 @@ var getMembersForHealthFund = /*#__PURE__*/function () {
|
|
|
2514
2514
|
opts = {};
|
|
2515
2515
|
}
|
|
2516
2516
|
|
|
2517
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
2517
|
+
return _context8.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2518
2518
|
path: pathMembersForHealthFund(healthFundId)
|
|
2519
2519
|
}), {
|
|
2520
2520
|
method: 'get',
|
|
@@ -2550,7 +2550,7 @@ var getHealthFundMemberByMemberId = /*#__PURE__*/function () {
|
|
|
2550
2550
|
opts = {};
|
|
2551
2551
|
}
|
|
2552
2552
|
|
|
2553
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
2553
|
+
return _context9.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2554
2554
|
path: pathHealthFundMemberByMemberId(healthFundId, memberId)
|
|
2555
2555
|
}), {
|
|
2556
2556
|
method: 'get'
|
|
@@ -2592,7 +2592,7 @@ var getBusinessMembers = /*#__PURE__*/function () {
|
|
|
2592
2592
|
utils_doesParamExist["default"]({
|
|
2593
2593
|
businessId: businessId
|
|
2594
2594
|
}, opts.hyperMediaEndpoint);
|
|
2595
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
2595
|
+
return _context10.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2596
2596
|
path: pathBusinessMembers(businessId)
|
|
2597
2597
|
}), {
|
|
2598
2598
|
method: 'get',
|
|
@@ -2631,7 +2631,7 @@ var getBusinessMember = /*#__PURE__*/function () {
|
|
|
2631
2631
|
utils_doesParamExist["default"]({
|
|
2632
2632
|
businessId: businessId
|
|
2633
2633
|
}, opts.hyperMediaEndpoint);
|
|
2634
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
2634
|
+
return _context11.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2635
2635
|
path: pathBusinessMember(businessId, memberId)
|
|
2636
2636
|
}), {
|
|
2637
2637
|
method: 'get'
|
|
@@ -2668,7 +2668,7 @@ var getMembers = /*#__PURE__*/function () {
|
|
|
2668
2668
|
opts = {};
|
|
2669
2669
|
}
|
|
2670
2670
|
|
|
2671
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
2671
|
+
return _context12.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2672
2672
|
path: PATH__MEMBERS
|
|
2673
2673
|
}), {
|
|
2674
2674
|
method: 'get',
|
|
@@ -2708,7 +2708,7 @@ var getMember = /*#__PURE__*/function () {
|
|
|
2708
2708
|
memberId: memberId
|
|
2709
2709
|
}, opts.hyperMediaEndpoint);
|
|
2710
2710
|
_context13.next = 4;
|
|
2711
|
-
return request(_objectSpread$
|
|
2711
|
+
return request(_objectSpread$1c({}, opts, {
|
|
2712
2712
|
path: pathMember(memberId)
|
|
2713
2713
|
}), {
|
|
2714
2714
|
method: 'get'
|
|
@@ -2757,7 +2757,7 @@ var updateMember = /*#__PURE__*/function () {
|
|
|
2757
2757
|
memberId: memberId
|
|
2758
2758
|
}, opts.hyperMediaEndpoint);
|
|
2759
2759
|
_context14.next = 4;
|
|
2760
|
-
return request(_objectSpread$
|
|
2760
|
+
return request(_objectSpread$1c({}, opts, {
|
|
2761
2761
|
path: pathMember(memberId)
|
|
2762
2762
|
}), {
|
|
2763
2763
|
method: 'put',
|
|
@@ -2804,9 +2804,9 @@ var members = /*#__PURE__*/Object.freeze({
|
|
|
2804
2804
|
updateMember: updateMember
|
|
2805
2805
|
});
|
|
2806
2806
|
|
|
2807
|
-
function ownKeys$
|
|
2807
|
+
function ownKeys$1b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2808
2808
|
|
|
2809
|
-
function _objectSpread$
|
|
2809
|
+
function _objectSpread$1b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1b(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2810
2810
|
var PATH__DEVICES = '/devices';
|
|
2811
2811
|
var isRegistering = false; // @ts-expect-error TS(7006): Parameter 'deviceId' implicitly has an 'any' type.
|
|
2812
2812
|
|
|
@@ -2845,7 +2845,7 @@ var registerDevice = /*#__PURE__*/function () {
|
|
|
2845
2845
|
_context.prev = 1;
|
|
2846
2846
|
isRegistering = true;
|
|
2847
2847
|
_context.next = 5;
|
|
2848
|
-
return request(_objectSpread$
|
|
2848
|
+
return request(_objectSpread$1b({}, opts, {
|
|
2849
2849
|
path: PATH__DEVICES
|
|
2850
2850
|
}), {
|
|
2851
2851
|
method: 'post',
|
|
@@ -2957,7 +2957,7 @@ var updateDevice = /*#__PURE__*/function () {
|
|
|
2957
2957
|
utils_doesParamExist["default"]({
|
|
2958
2958
|
deviceId: deviceId
|
|
2959
2959
|
}, opts.hyperMediaEndpoint);
|
|
2960
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
2960
|
+
return _context3.abrupt("return", request(_objectSpread$1b({}, opts, {
|
|
2961
2961
|
path: pathDeviceByDeviceId(deviceId)
|
|
2962
2962
|
}), {
|
|
2963
2963
|
method: 'put',
|
|
@@ -2985,9 +2985,9 @@ var devices = /*#__PURE__*/Object.freeze({
|
|
|
2985
2985
|
updateDevice: updateDevice
|
|
2986
2986
|
});
|
|
2987
2987
|
|
|
2988
|
-
function ownKeys$
|
|
2988
|
+
function ownKeys$1a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2989
2989
|
|
|
2990
|
-
function _objectSpread$
|
|
2990
|
+
function _objectSpread$1a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2991
2991
|
var PATH__AUTH = '/auth';
|
|
2992
2992
|
var PATH__OTK = '/otk';
|
|
2993
2993
|
var PATH__AUTH_TOKEN = '/auth/token'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
|
|
@@ -3027,7 +3027,7 @@ var setupAccountResources = /*#__PURE__*/function () {
|
|
|
3027
3027
|
case 6:
|
|
3028
3028
|
member = _context.sent;
|
|
3029
3029
|
sdkClient.setMember(member);
|
|
3030
|
-
return _context.abrupt("return", _objectSpread$
|
|
3030
|
+
return _context.abrupt("return", _objectSpread$1a({}, account, {
|
|
3031
3031
|
_member: member
|
|
3032
3032
|
}));
|
|
3033
3033
|
|
|
@@ -3074,7 +3074,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3074
3074
|
};
|
|
3075
3075
|
}
|
|
3076
3076
|
|
|
3077
|
-
data = _objectSpread$
|
|
3077
|
+
data = _objectSpread$1a({
|
|
3078
3078
|
email: email
|
|
3079
3079
|
}, body);
|
|
3080
3080
|
|
|
@@ -3084,7 +3084,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3084
3084
|
}
|
|
3085
3085
|
|
|
3086
3086
|
_context2.next = 6;
|
|
3087
|
-
return request(_objectSpread$
|
|
3087
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3088
3088
|
path: PATH__AUTH,
|
|
3089
3089
|
getFullResponse: true
|
|
3090
3090
|
}), {
|
|
@@ -3211,7 +3211,7 @@ var impersonate = /*#__PURE__*/function () {
|
|
|
3211
3211
|
utils_doesParamExist["default"]({
|
|
3212
3212
|
accountId: accountId
|
|
3213
3213
|
}, opts.hyperMediaEndpoint);
|
|
3214
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
3214
|
+
return _context4.abrupt("return", request(_objectSpread$1a({}, opts, {
|
|
3215
3215
|
getFullResponse: true,
|
|
3216
3216
|
path: pathImpersonateAccount(accountId)
|
|
3217
3217
|
}), {
|
|
@@ -3243,7 +3243,7 @@ var logout = /*#__PURE__*/function () {
|
|
|
3243
3243
|
switch (_context5.prev = _context5.next) {
|
|
3244
3244
|
case 0:
|
|
3245
3245
|
_context5.next = 2;
|
|
3246
|
-
return request(_objectSpread$
|
|
3246
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3247
3247
|
getFullResponse: true,
|
|
3248
3248
|
path: PATH__AUTH
|
|
3249
3249
|
}), {
|
|
@@ -3281,12 +3281,12 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
3281
3281
|
while (1) {
|
|
3282
3282
|
switch (_context6.prev = _context6.next) {
|
|
3283
3283
|
case 0:
|
|
3284
|
-
body = _omitBy__default["default"](_objectSpread$
|
|
3284
|
+
body = _omitBy__default["default"](_objectSpread$1a({
|
|
3285
3285
|
email: email,
|
|
3286
3286
|
accountId: accountId
|
|
3287
3287
|
}, requestBody), _isEmpty__default["default"]);
|
|
3288
3288
|
_context6.next = 3;
|
|
3289
|
-
return request(_objectSpread$
|
|
3289
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3290
3290
|
getFullResponse: true,
|
|
3291
3291
|
path: PATH__OTK
|
|
3292
3292
|
}), {
|
|
@@ -3331,7 +3331,7 @@ var generateAuthy = /*#__PURE__*/function () {
|
|
|
3331
3331
|
accountId: accountId
|
|
3332
3332
|
}, opts.hyperMediaEndpoint);
|
|
3333
3333
|
_context7.next = 4;
|
|
3334
|
-
return request(_objectSpread$
|
|
3334
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3335
3335
|
path: pathAuthy(accountId),
|
|
3336
3336
|
getFullResponse: true
|
|
3337
3337
|
}), {
|
|
@@ -3375,7 +3375,7 @@ var removeAuthy = /*#__PURE__*/function () {
|
|
|
3375
3375
|
accountId: accountId
|
|
3376
3376
|
}, opts.hyperMediaEndpoint);
|
|
3377
3377
|
_context8.next = 4;
|
|
3378
|
-
return request(_objectSpread$
|
|
3378
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3379
3379
|
path: pathAuthy(accountId),
|
|
3380
3380
|
getFullResponse: true
|
|
3381
3381
|
}), {
|
|
@@ -3420,7 +3420,7 @@ var verifyAuthy = /*#__PURE__*/function () {
|
|
|
3420
3420
|
accountId: accountId
|
|
3421
3421
|
}, opts.hyperMediaEndpoint);
|
|
3422
3422
|
_context9.next = 4;
|
|
3423
|
-
return request(_objectSpread$
|
|
3423
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3424
3424
|
path: pathAuthyVerify(accountId),
|
|
3425
3425
|
getFullResponse: true
|
|
3426
3426
|
}), {
|
|
@@ -3469,7 +3469,7 @@ var createShortLivedToken = /*#__PURE__*/function () {
|
|
|
3469
3469
|
}, opts.hyperMediaEndpoint);
|
|
3470
3470
|
sdkClient.setToken("Bearer " + apiKey);
|
|
3471
3471
|
_context10.next = 5;
|
|
3472
|
-
return request(_objectSpread$
|
|
3472
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3473
3473
|
path: PATH__AUTH_TOKEN
|
|
3474
3474
|
}), {
|
|
3475
3475
|
method: 'post',
|
|
@@ -3514,9 +3514,9 @@ var auth = /*#__PURE__*/Object.freeze({
|
|
|
3514
3514
|
createShortLivedToken: createShortLivedToken
|
|
3515
3515
|
});
|
|
3516
3516
|
|
|
3517
|
-
function ownKeys$
|
|
3517
|
+
function ownKeys$19(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3518
3518
|
|
|
3519
|
-
function _objectSpread$
|
|
3519
|
+
function _objectSpread$19(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$19(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$19(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3520
3520
|
var PATH__APPLICATIONS = '/applications';
|
|
3521
3521
|
var PATH__SELF_APPLICATION = '/applications/me';
|
|
3522
3522
|
|
|
@@ -3534,7 +3534,7 @@ var getSelfApplication = function getSelfApplication(opts) {
|
|
|
3534
3534
|
opts = {};
|
|
3535
3535
|
}
|
|
3536
3536
|
|
|
3537
|
-
return request(_objectSpread$
|
|
3537
|
+
return request(_objectSpread$19({}, opts, {
|
|
3538
3538
|
path: PATH__SELF_APPLICATION
|
|
3539
3539
|
}), {
|
|
3540
3540
|
method: 'get'
|
|
@@ -3555,7 +3555,7 @@ var getApplications = function getApplications(query, opts) {
|
|
|
3555
3555
|
opts = {};
|
|
3556
3556
|
}
|
|
3557
3557
|
|
|
3558
|
-
return request(_objectSpread$
|
|
3558
|
+
return request(_objectSpread$19({}, opts, {
|
|
3559
3559
|
path: PATH__APPLICATIONS
|
|
3560
3560
|
}), {
|
|
3561
3561
|
method: 'get',
|
|
@@ -3576,7 +3576,7 @@ var getApplication = function getApplication(applicationId, opts) {
|
|
|
3576
3576
|
utils_doesParamExist["default"]({
|
|
3577
3577
|
applicationId: applicationId
|
|
3578
3578
|
}, opts.hyperMediaEndpoint);
|
|
3579
|
-
return request(_objectSpread$
|
|
3579
|
+
return request(_objectSpread$19({}, opts, {
|
|
3580
3580
|
path: pathApplication(applicationId)
|
|
3581
3581
|
}), {
|
|
3582
3582
|
method: 'get'
|
|
@@ -3597,7 +3597,7 @@ var updateApplication = function updateApplication(applicationId, body, opts) {
|
|
|
3597
3597
|
utils_doesParamExist["default"]({
|
|
3598
3598
|
applicationId: applicationId
|
|
3599
3599
|
}, opts.hyperMediaEndpoint);
|
|
3600
|
-
return request(_objectSpread$
|
|
3600
|
+
return request(_objectSpread$19({}, opts, {
|
|
3601
3601
|
path: pathApplication(applicationId)
|
|
3602
3602
|
}), {
|
|
3603
3603
|
method: 'put',
|
|
@@ -3615,7 +3615,7 @@ var createApplication = function createApplication(body, opts) {
|
|
|
3615
3615
|
opts = {};
|
|
3616
3616
|
}
|
|
3617
3617
|
|
|
3618
|
-
return request(_objectSpread$
|
|
3618
|
+
return request(_objectSpread$19({}, opts, {
|
|
3619
3619
|
path: PATH__APPLICATIONS
|
|
3620
3620
|
}), {
|
|
3621
3621
|
method: 'post',
|
|
@@ -3632,9 +3632,9 @@ var applications = /*#__PURE__*/Object.freeze({
|
|
|
3632
3632
|
createApplication: createApplication
|
|
3633
3633
|
});
|
|
3634
3634
|
|
|
3635
|
-
function ownKeys$
|
|
3635
|
+
function ownKeys$18(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3636
3636
|
|
|
3637
|
-
function _objectSpread$
|
|
3637
|
+
function _objectSpread$18(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$18(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$18(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3638
3638
|
var PATH_BLACKLIST_BANK_ACCOUNT = "/blacklistedbankaccounts";
|
|
3639
3639
|
|
|
3640
3640
|
/**
|
|
@@ -3652,7 +3652,7 @@ var createBlacklistedBankAccount = /*#__PURE__*/function () {
|
|
|
3652
3652
|
opts = {};
|
|
3653
3653
|
}
|
|
3654
3654
|
|
|
3655
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3655
|
+
return _context.abrupt("return", request(_objectSpread$18({}, opts, {
|
|
3656
3656
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3657
3657
|
}), {
|
|
3658
3658
|
method: 'post',
|
|
@@ -3687,7 +3687,7 @@ var getBlacklistedBankAccounts = /*#__PURE__*/function () {
|
|
|
3687
3687
|
opts = {};
|
|
3688
3688
|
}
|
|
3689
3689
|
|
|
3690
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3690
|
+
return _context2.abrupt("return", request(_objectSpread$18({}, opts, {
|
|
3691
3691
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3692
3692
|
}), {
|
|
3693
3693
|
method: 'get',
|
|
@@ -3713,9 +3713,9 @@ var blacklist = /*#__PURE__*/Object.freeze({
|
|
|
3713
3713
|
getBlacklistedBankAccounts: getBlacklistedBankAccounts
|
|
3714
3714
|
});
|
|
3715
3715
|
|
|
3716
|
-
function ownKeys$
|
|
3716
|
+
function ownKeys$17(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3717
3717
|
|
|
3718
|
-
function _objectSpread$
|
|
3718
|
+
function _objectSpread$17(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$17(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$17(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3719
3719
|
var pathBusinessBulkUploads = function pathBusinessBulkUploads(businessId) {
|
|
3720
3720
|
return "/businesses/" + businessId + "/bulkuploads";
|
|
3721
3721
|
};
|
|
@@ -3740,7 +3740,7 @@ var createBulkUpload = function createBulkUpload(businessId, body, opts) {
|
|
|
3740
3740
|
utils_doesParamExist["default"]({
|
|
3741
3741
|
businessId: businessId
|
|
3742
3742
|
});
|
|
3743
|
-
return request(_objectSpread$
|
|
3743
|
+
return request(_objectSpread$17({}, opts, {
|
|
3744
3744
|
path: pathBusinessBulkUploads(businessId)
|
|
3745
3745
|
}), {
|
|
3746
3746
|
method: 'post',
|
|
@@ -3764,7 +3764,7 @@ var getBulkUpload = function getBulkUpload(businessId, bulkUploadId, opts) {
|
|
|
3764
3764
|
businessId: businessId,
|
|
3765
3765
|
bulkUploadId: bulkUploadId
|
|
3766
3766
|
});
|
|
3767
|
-
return request(_objectSpread$
|
|
3767
|
+
return request(_objectSpread$17({}, opts, {
|
|
3768
3768
|
path: pathBusinessBulkUpload(businessId, bulkUploadId)
|
|
3769
3769
|
}), {
|
|
3770
3770
|
method: 'get'
|
|
@@ -3785,7 +3785,7 @@ var getBulkUploadUrl = function getBulkUploadUrl(businessId, query, opts) {
|
|
|
3785
3785
|
utils_doesParamExist["default"]({
|
|
3786
3786
|
businessId: businessId
|
|
3787
3787
|
});
|
|
3788
|
-
return request(_objectSpread$
|
|
3788
|
+
return request(_objectSpread$17({}, opts, {
|
|
3789
3789
|
path: pathBusinessBulkUploadUrl(businessId)
|
|
3790
3790
|
}), {
|
|
3791
3791
|
method: 'get',
|
|
@@ -3803,9 +3803,9 @@ var bulkUploads = /*#__PURE__*/Object.freeze({
|
|
|
3803
3803
|
getBulkUploadUrl: getBulkUploadUrl
|
|
3804
3804
|
});
|
|
3805
3805
|
|
|
3806
|
-
function ownKeys$
|
|
3806
|
+
function ownKeys$16(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3807
3807
|
|
|
3808
|
-
function _objectSpread$
|
|
3808
|
+
function _objectSpread$16(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$16(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$16(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3809
3809
|
var pathSubmitDraftInvoices = function pathSubmitDraftInvoices(businessId) {
|
|
3810
3810
|
return "/businesses/" + businessId + "/bulksubmits";
|
|
3811
3811
|
};
|
|
@@ -3832,7 +3832,7 @@ var submitDraftInvoices = /*#__PURE__*/function () {
|
|
|
3832
3832
|
utils_doesParamExist["default"]({
|
|
3833
3833
|
businessId: businessId
|
|
3834
3834
|
}, opts.hyperMediaEndpoint);
|
|
3835
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3835
|
+
return _context.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
3836
3836
|
path: pathSubmitDraftInvoices(businessId)
|
|
3837
3837
|
}), {
|
|
3838
3838
|
method: 'post',
|
|
@@ -3872,7 +3872,7 @@ var getDraftProgressStatus = /*#__PURE__*/function () {
|
|
|
3872
3872
|
businessId: businessId,
|
|
3873
3873
|
bulkSubmitId: bulkSubmitId
|
|
3874
3874
|
}, opts.hyperMediaEndpoint);
|
|
3875
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3875
|
+
return _context2.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
3876
3876
|
path: pathGetDraftProgressStatus(businessId, bulkSubmitId)
|
|
3877
3877
|
}), {
|
|
3878
3878
|
method: 'get',
|
|
@@ -3900,9 +3900,9 @@ var bulkSubmits = /*#__PURE__*/Object.freeze({
|
|
|
3900
3900
|
getDraftProgressStatus: getDraftProgressStatus
|
|
3901
3901
|
});
|
|
3902
3902
|
|
|
3903
|
-
function ownKeys$
|
|
3903
|
+
function ownKeys$15(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3904
3904
|
|
|
3905
|
-
function _objectSpread$
|
|
3905
|
+
function _objectSpread$15(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$15(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$15(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3906
3906
|
var pathLinkBusinessProfile = function pathLinkBusinessProfile(businessProfileId) {
|
|
3907
3907
|
return "/businessprofiles/" + businessProfileId + "/link";
|
|
3908
3908
|
};
|
|
@@ -3920,7 +3920,7 @@ var getOrganisationBusinessProfiles = function getOrganisationBusinessProfiles(o
|
|
|
3920
3920
|
utils_doesParamExist["default"]({
|
|
3921
3921
|
organisationId: organisationId
|
|
3922
3922
|
}, opts.hyperMediaEndpoint);
|
|
3923
|
-
return request(_objectSpread$
|
|
3923
|
+
return request(_objectSpread$15({}, opts, {
|
|
3924
3924
|
path: pathOrganisationBusinessProfiles(organisationId)
|
|
3925
3925
|
}), {
|
|
3926
3926
|
method: 'get',
|
|
@@ -3939,7 +3939,7 @@ var linkBusinessProfile = function linkBusinessProfile(businessProfileId, busine
|
|
|
3939
3939
|
var body = {
|
|
3940
3940
|
businessId: businessId
|
|
3941
3941
|
};
|
|
3942
|
-
return request(_objectSpread$
|
|
3942
|
+
return request(_objectSpread$15({}, opts, {
|
|
3943
3943
|
path: pathLinkBusinessProfile(businessProfileId)
|
|
3944
3944
|
}), {
|
|
3945
3945
|
method: 'put',
|
|
@@ -3954,7 +3954,7 @@ var unlinkBusinessProfile = function unlinkBusinessProfile(businessProfileId, op
|
|
|
3954
3954
|
utils_doesParamExist["default"]({
|
|
3955
3955
|
businessProfileId: businessProfileId
|
|
3956
3956
|
}, opts.hyperMediaEndpoint);
|
|
3957
|
-
return request(_objectSpread$
|
|
3957
|
+
return request(_objectSpread$15({}, opts, {
|
|
3958
3958
|
path: pathUnlinkBusinessProfile(businessProfileId)
|
|
3959
3959
|
}), {
|
|
3960
3960
|
method: 'put'
|
|
@@ -3971,9 +3971,9 @@ var businessProfiles = /*#__PURE__*/Object.freeze({
|
|
|
3971
3971
|
unlinkBusinessProfile: unlinkBusinessProfile
|
|
3972
3972
|
});
|
|
3973
3973
|
|
|
3974
|
-
function ownKeys$
|
|
3974
|
+
function ownKeys$14(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3975
3975
|
|
|
3976
|
-
function _objectSpread$
|
|
3976
|
+
function _objectSpread$14(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$14(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$14(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3977
3977
|
var PATH__BUSINESSES = '/businesses';
|
|
3978
3978
|
var PATH__MY_BUSINESSES = '/businesses/me';
|
|
3979
3979
|
|
|
@@ -4061,14 +4061,6 @@ var pathSubmitHealthPointManualOnboarding = function pathSubmitHealthPointManual
|
|
|
4061
4061
|
var pathSuspendBusinessEmail = function pathSuspendBusinessEmail(businessId) {
|
|
4062
4062
|
return "/businesses/" + businessId + "/suspendemail";
|
|
4063
4063
|
};
|
|
4064
|
-
|
|
4065
|
-
var pathGetBusinessEmailLogs = function pathGetBusinessEmailLogs(businessId) {
|
|
4066
|
-
return "/businesses/" + businessId + "/emaillogs";
|
|
4067
|
-
};
|
|
4068
|
-
|
|
4069
|
-
var pathGetEmailLog = function pathGetEmailLog(emailLogId) {
|
|
4070
|
-
return "/emaillogs/" + emailLogId;
|
|
4071
|
-
};
|
|
4072
4064
|
/**
|
|
4073
4065
|
* Create businesses
|
|
4074
4066
|
* @param {Object} body - Request body
|
|
@@ -4081,7 +4073,7 @@ var createBusiness = function createBusiness(body, opts) {
|
|
|
4081
4073
|
opts = {};
|
|
4082
4074
|
}
|
|
4083
4075
|
|
|
4084
|
-
return request(_objectSpread$
|
|
4076
|
+
return request(_objectSpread$14({}, opts, {
|
|
4085
4077
|
path: PATH__BUSINESSES
|
|
4086
4078
|
}), {
|
|
4087
4079
|
method: 'post',
|
|
@@ -4103,7 +4095,7 @@ var createOrganisationBusiness = function createOrganisationBusiness(organisatio
|
|
|
4103
4095
|
utils_doesParamExist["default"]({
|
|
4104
4096
|
organisationId: organisationId
|
|
4105
4097
|
}, opts.hyperMediaEndpoint);
|
|
4106
|
-
return request(_objectSpread$
|
|
4098
|
+
return request(_objectSpread$14({}, opts, {
|
|
4107
4099
|
path: pathOrganisationBusiness(organisationId)
|
|
4108
4100
|
}), {
|
|
4109
4101
|
method: 'post',
|
|
@@ -4124,7 +4116,7 @@ var deleteBusiness = function deleteBusiness(businessId, opts) {
|
|
|
4124
4116
|
utils_doesParamExist["default"]({
|
|
4125
4117
|
businessId: businessId
|
|
4126
4118
|
}, opts.hyperMediaEndpoint);
|
|
4127
|
-
return request(_objectSpread$
|
|
4119
|
+
return request(_objectSpread$14({}, opts, {
|
|
4128
4120
|
path: pathBusiness$1(businessId)
|
|
4129
4121
|
}), {
|
|
4130
4122
|
method: 'delete'
|
|
@@ -4145,7 +4137,7 @@ var disableBusiness = function disableBusiness(businessId, body, opts) {
|
|
|
4145
4137
|
utils_doesParamExist["default"]({
|
|
4146
4138
|
businessId: businessId
|
|
4147
4139
|
}, opts.hyperMediaEndpoint);
|
|
4148
|
-
return request(_objectSpread$
|
|
4140
|
+
return request(_objectSpread$14({}, opts, {
|
|
4149
4141
|
path: pathDisableBusiness(businessId)
|
|
4150
4142
|
}), {
|
|
4151
4143
|
method: 'post',
|
|
@@ -4167,7 +4159,7 @@ var emailBusinessOnboardingQuestions = function emailBusinessOnboardingQuestions
|
|
|
4167
4159
|
utils_doesParamExist["default"]({
|
|
4168
4160
|
businessId: businessId
|
|
4169
4161
|
}, opts.hyperMediaEndpoint);
|
|
4170
|
-
return request(_objectSpread$
|
|
4162
|
+
return request(_objectSpread$14({}, opts, {
|
|
4171
4163
|
path: pathBusinessOnboardingQuestions(businessId)
|
|
4172
4164
|
}), {
|
|
4173
4165
|
method: 'post',
|
|
@@ -4189,7 +4181,7 @@ var enableBusiness = function enableBusiness(businessId, body, opts) {
|
|
|
4189
4181
|
utils_doesParamExist["default"]({
|
|
4190
4182
|
businessId: businessId
|
|
4191
4183
|
}, opts.hyperMediaEndpoint);
|
|
4192
|
-
return request(_objectSpread$
|
|
4184
|
+
return request(_objectSpread$14({}, opts, {
|
|
4193
4185
|
path: pathEnableBusiness(businessId)
|
|
4194
4186
|
}), {
|
|
4195
4187
|
method: 'post',
|
|
@@ -4215,7 +4207,7 @@ var getBusiness = function getBusiness(businessId, query, opts) {
|
|
|
4215
4207
|
utils_doesParamExist["default"]({
|
|
4216
4208
|
businessId: businessId
|
|
4217
4209
|
}, opts.hyperMediaEndpoint);
|
|
4218
|
-
return request(_objectSpread$
|
|
4210
|
+
return request(_objectSpread$14({}, opts, {
|
|
4219
4211
|
path: pathBusiness$1(businessId)
|
|
4220
4212
|
}), {
|
|
4221
4213
|
method: 'get',
|
|
@@ -4241,7 +4233,7 @@ var getBusinessBillingHistoryRecords = function getBusinessBillingHistoryRecords
|
|
|
4241
4233
|
utils_doesParamExist["default"]({
|
|
4242
4234
|
businessId: businessId
|
|
4243
4235
|
}, opts.hyperMediaEndpoint);
|
|
4244
|
-
return request(_objectSpread$
|
|
4236
|
+
return request(_objectSpread$14({}, opts, {
|
|
4245
4237
|
path: pathGetBusinessBillingHistoryRecords(businessId)
|
|
4246
4238
|
}), {
|
|
4247
4239
|
method: 'get',
|
|
@@ -4269,7 +4261,7 @@ var getBusinessBillingHistoryRecord = function getBusinessBillingHistoryRecord(b
|
|
|
4269
4261
|
businessId: businessId,
|
|
4270
4262
|
billingHistoryId: billingHistoryId
|
|
4271
4263
|
}, opts.hyperMediaEndpoint);
|
|
4272
|
-
return request(_objectSpread$
|
|
4264
|
+
return request(_objectSpread$14({}, opts, {
|
|
4273
4265
|
path: pathGetBusinessBillingHistoryRecord(businessId, billingHistoryId)
|
|
4274
4266
|
}), {
|
|
4275
4267
|
method: 'get',
|
|
@@ -4291,7 +4283,7 @@ var getBusinesses = function getBusinesses(query, opts) {
|
|
|
4291
4283
|
opts = {};
|
|
4292
4284
|
}
|
|
4293
4285
|
|
|
4294
|
-
return request(_objectSpread$
|
|
4286
|
+
return request(_objectSpread$14({}, opts, {
|
|
4295
4287
|
path: PATH__BUSINESSES
|
|
4296
4288
|
}), {
|
|
4297
4289
|
method: 'get',
|
|
@@ -4313,7 +4305,7 @@ var getMyBusinesses = function getMyBusinesses(query, opts) {
|
|
|
4313
4305
|
opts = {};
|
|
4314
4306
|
}
|
|
4315
4307
|
|
|
4316
|
-
return request(_objectSpread$
|
|
4308
|
+
return request(_objectSpread$14({}, opts, {
|
|
4317
4309
|
path: PATH__MY_BUSINESSES
|
|
4318
4310
|
}), {
|
|
4319
4311
|
method: 'get',
|
|
@@ -4335,7 +4327,7 @@ var getBusinessPDFs = function getBusinessPDFs(businessId, body, opts) {
|
|
|
4335
4327
|
utils_doesParamExist["default"]({
|
|
4336
4328
|
businessId: businessId
|
|
4337
4329
|
}, opts.hyperMediaEndpoint);
|
|
4338
|
-
return request(_objectSpread$
|
|
4330
|
+
return request(_objectSpread$14({}, opts, {
|
|
4339
4331
|
path: pathBusiness$1(businessId) + "/pdfs"
|
|
4340
4332
|
}), {
|
|
4341
4333
|
method: 'post',
|
|
@@ -4362,7 +4354,7 @@ var getAccountsBusinesses = function getAccountsBusinesses(accountId, query, opt
|
|
|
4362
4354
|
utils_doesParamExist["default"]({
|
|
4363
4355
|
accountId: accountId
|
|
4364
4356
|
}, opts.hyperMediaEndpoint);
|
|
4365
|
-
return request(_objectSpread$
|
|
4357
|
+
return request(_objectSpread$14({}, opts, {
|
|
4366
4358
|
path: pathAccountsBusinesses(accountId)
|
|
4367
4359
|
}), {
|
|
4368
4360
|
method: 'get',
|
|
@@ -4388,7 +4380,7 @@ var getOrganisationBusinesses = function getOrganisationBusinesses(organisationI
|
|
|
4388
4380
|
utils_doesParamExist["default"]({
|
|
4389
4381
|
organisationId: organisationId
|
|
4390
4382
|
}, opts.hyperMediaEndpoint);
|
|
4391
|
-
return request(_objectSpread$
|
|
4383
|
+
return request(_objectSpread$14({}, opts, {
|
|
4392
4384
|
path: pathOrganisationBusiness(organisationId)
|
|
4393
4385
|
}), {
|
|
4394
4386
|
method: 'get',
|
|
@@ -4410,7 +4402,7 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
|
|
|
4410
4402
|
utils_doesParamExist["default"]({
|
|
4411
4403
|
businessId: businessId
|
|
4412
4404
|
}, opts.hyperMediaEndpoint);
|
|
4413
|
-
return request(_objectSpread$
|
|
4405
|
+
return request(_objectSpread$14({}, opts, {
|
|
4414
4406
|
path: pathBusiness$1(businessId)
|
|
4415
4407
|
}), {
|
|
4416
4408
|
method: 'put',
|
|
@@ -4432,7 +4424,7 @@ var unsuspendBusiness = function unsuspendBusiness(businessId, body, opts) {
|
|
|
4432
4424
|
utils_doesParamExist["default"]({
|
|
4433
4425
|
businessId: businessId
|
|
4434
4426
|
}, opts.hyperMediaEndpoint);
|
|
4435
|
-
return request(_objectSpread$
|
|
4427
|
+
return request(_objectSpread$14({}, opts, {
|
|
4436
4428
|
path: pathUnsuspendBusiness(businessId)
|
|
4437
4429
|
}), {
|
|
4438
4430
|
method: 'post',
|
|
@@ -4454,7 +4446,7 @@ var verifyMedicare$1 = function verifyMedicare(businessId, body, opts) {
|
|
|
4454
4446
|
utils_doesParamExist["default"]({
|
|
4455
4447
|
businessId: businessId
|
|
4456
4448
|
}, opts.hyperMediaEndpoint);
|
|
4457
|
-
return request(_objectSpread$
|
|
4449
|
+
return request(_objectSpread$14({}, opts, {
|
|
4458
4450
|
path: pathVerifyMedicare(businessId)
|
|
4459
4451
|
}), {
|
|
4460
4452
|
method: 'post',
|
|
@@ -4476,7 +4468,7 @@ var oldVerifyDVA = function oldVerifyDVA(businessId, body, opts) {
|
|
|
4476
4468
|
utils_doesParamExist["default"]({
|
|
4477
4469
|
businessId: businessId
|
|
4478
4470
|
}, opts.hyperMediaEndpoint);
|
|
4479
|
-
return request(_objectSpread$
|
|
4471
|
+
return request(_objectSpread$14({}, opts, {
|
|
4480
4472
|
path: oldPathVerifyDVA(businessId)
|
|
4481
4473
|
}), {
|
|
4482
4474
|
method: 'post',
|
|
@@ -4498,7 +4490,7 @@ var verifyDVA = function verifyDVA(businessId, body, opts) {
|
|
|
4498
4490
|
utils_doesParamExist["default"]({
|
|
4499
4491
|
businessId: businessId
|
|
4500
4492
|
}, opts.hyperMediaEndpoint);
|
|
4501
|
-
return request(_objectSpread$
|
|
4493
|
+
return request(_objectSpread$14({}, opts, {
|
|
4502
4494
|
path: pathVerifyDVA(businessId)
|
|
4503
4495
|
}), {
|
|
4504
4496
|
method: 'post',
|
|
@@ -4520,7 +4512,7 @@ var verifyIcare = function verifyIcare(businessId, body, opts) {
|
|
|
4520
4512
|
utils_doesParamExist["default"]({
|
|
4521
4513
|
businessId: businessId
|
|
4522
4514
|
}, opts.hyperMediaEndpoint);
|
|
4523
|
-
return request(_objectSpread$
|
|
4515
|
+
return request(_objectSpread$14({}, opts, {
|
|
4524
4516
|
path: pathVerifyIcare(businessId)
|
|
4525
4517
|
}), {
|
|
4526
4518
|
method: 'post',
|
|
@@ -4546,7 +4538,7 @@ var verifyComcare = function verifyComcare(businessId, staffId, providerSetItemI
|
|
|
4546
4538
|
staffId: staffId,
|
|
4547
4539
|
providerSetItemId: providerSetItemId
|
|
4548
4540
|
}, opts.hyperMediaEndpoint);
|
|
4549
|
-
return request(_objectSpread$
|
|
4541
|
+
return request(_objectSpread$14({}, opts, {
|
|
4550
4542
|
path: pathVerifyComcare(businessId, staffId, providerSetItemId)
|
|
4551
4543
|
}), {
|
|
4552
4544
|
method: 'post',
|
|
@@ -4568,7 +4560,7 @@ var createSupportNote = function createSupportNote(businessId, body, opts) {
|
|
|
4568
4560
|
utils_doesParamExist["default"]({
|
|
4569
4561
|
businessId: businessId
|
|
4570
4562
|
}, opts.hyperMediaEndpoint);
|
|
4571
|
-
return request(_objectSpread$
|
|
4563
|
+
return request(_objectSpread$14({}, opts, {
|
|
4572
4564
|
path: pathCreateSupportNote(businessId)
|
|
4573
4565
|
}), {
|
|
4574
4566
|
method: 'post',
|
|
@@ -4590,7 +4582,7 @@ var getBsbDetails = function getBsbDetails(businessId, query, opts) {
|
|
|
4590
4582
|
utils_doesParamExist["default"]({
|
|
4591
4583
|
businessId: businessId
|
|
4592
4584
|
}, opts.hyperMediaEndpoint);
|
|
4593
|
-
return request(_objectSpread$
|
|
4585
|
+
return request(_objectSpread$14({}, opts, {
|
|
4594
4586
|
path: pathBsbDetails(businessId)
|
|
4595
4587
|
}), {
|
|
4596
4588
|
method: 'get',
|
|
@@ -4612,7 +4604,7 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
|
|
|
4612
4604
|
utils_doesParamExist["default"]({
|
|
4613
4605
|
businessId: businessId
|
|
4614
4606
|
}, opts.hyperMediaEndpoint);
|
|
4615
|
-
return request(_objectSpread$
|
|
4607
|
+
return request(_objectSpread$14({}, opts, {
|
|
4616
4608
|
path: pathBusinessSendEmails(businessId)
|
|
4617
4609
|
}), {
|
|
4618
4610
|
method: 'post',
|
|
@@ -4634,7 +4626,7 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
|
4634
4626
|
utils_doesParamExist["default"]({
|
|
4635
4627
|
businessId: businessId
|
|
4636
4628
|
}, opts.hyperMediaEndpoint);
|
|
4637
|
-
return request(_objectSpread$
|
|
4629
|
+
return request(_objectSpread$14({}, opts, {
|
|
4638
4630
|
path: pathSuspendBusiness(businessId)
|
|
4639
4631
|
}), {
|
|
4640
4632
|
method: 'post',
|
|
@@ -4655,7 +4647,7 @@ var getOrgByHealthFundExists = function getOrgByHealthFundExists(businessId, que
|
|
|
4655
4647
|
utils_doesParamExist["default"]({
|
|
4656
4648
|
businessId: businessId
|
|
4657
4649
|
}, opts.hyperMediaEndpoint);
|
|
4658
|
-
return request(_objectSpread$
|
|
4650
|
+
return request(_objectSpread$14({}, opts, {
|
|
4659
4651
|
path: pathGetOrgByHealthFundExists(businessId)
|
|
4660
4652
|
}), {
|
|
4661
4653
|
method: 'get',
|
|
@@ -4677,7 +4669,7 @@ var submitHealthPointManualOnboarding = function submitHealthPointManualOnboardi
|
|
|
4677
4669
|
utils_doesParamExist["default"]({
|
|
4678
4670
|
businessId: businessId
|
|
4679
4671
|
}, opts.hyperMediaEndpoint);
|
|
4680
|
-
return request(_objectSpread$
|
|
4672
|
+
return request(_objectSpread$14({}, opts, {
|
|
4681
4673
|
path: pathSubmitHealthPointManualOnboarding(businessId)
|
|
4682
4674
|
}), {
|
|
4683
4675
|
method: 'post',
|
|
@@ -4698,59 +4690,12 @@ var suspendBusinessEmail = function suspendBusinessEmail(businessId, opts) {
|
|
|
4698
4690
|
utils_doesParamExist["default"]({
|
|
4699
4691
|
businessId: businessId
|
|
4700
4692
|
}, opts.hyperMediaEndpoint);
|
|
4701
|
-
return request(_objectSpread$
|
|
4693
|
+
return request(_objectSpread$14({}, opts, {
|
|
4702
4694
|
path: pathSuspendBusinessEmail(businessId)
|
|
4703
4695
|
}), {
|
|
4704
4696
|
method: 'post'
|
|
4705
4697
|
});
|
|
4706
4698
|
};
|
|
4707
|
-
/**
|
|
4708
|
-
* Get business email logs
|
|
4709
|
-
* @param {String} businessId - Business ID
|
|
4710
|
-
* @param {Object} query - Query parameters
|
|
4711
|
-
* @param {Object} opts - Additional options
|
|
4712
|
-
*/
|
|
4713
|
-
|
|
4714
|
-
var getBusinessEmailLogs = function getBusinessEmailLogs(businessId, query, opts) {
|
|
4715
|
-
if (query === void 0) {
|
|
4716
|
-
query = {};
|
|
4717
|
-
}
|
|
4718
|
-
|
|
4719
|
-
if (opts === void 0) {
|
|
4720
|
-
opts = {};
|
|
4721
|
-
}
|
|
4722
|
-
|
|
4723
|
-
utils_doesParamExist["default"]({
|
|
4724
|
-
businessId: businessId
|
|
4725
|
-
}, opts.hyperMediaEndpoint);
|
|
4726
|
-
return request(_objectSpread$13({}, opts, {
|
|
4727
|
-
path: pathGetBusinessEmailLogs(businessId)
|
|
4728
|
-
}), {
|
|
4729
|
-
method: 'get',
|
|
4730
|
-
params: query
|
|
4731
|
-
});
|
|
4732
|
-
};
|
|
4733
|
-
/**
|
|
4734
|
-
* Get an email log
|
|
4735
|
-
* @param {String} emailLogId - Email Log ID
|
|
4736
|
-
* @param {Object} query - Query parameters
|
|
4737
|
-
* @param {Object} opts - Additional options
|
|
4738
|
-
*/
|
|
4739
|
-
|
|
4740
|
-
var getEmailLog = function getEmailLog(emailLogId, opts) {
|
|
4741
|
-
if (opts === void 0) {
|
|
4742
|
-
opts = {};
|
|
4743
|
-
}
|
|
4744
|
-
|
|
4745
|
-
utils_doesParamExist["default"]({
|
|
4746
|
-
emailLogId: emailLogId
|
|
4747
|
-
}, opts.hyperMediaEndpoint);
|
|
4748
|
-
return request(_objectSpread$13({}, opts, {
|
|
4749
|
-
path: pathGetEmailLog(emailLogId)
|
|
4750
|
-
}), {
|
|
4751
|
-
method: 'get'
|
|
4752
|
-
});
|
|
4753
|
-
};
|
|
4754
4699
|
|
|
4755
4700
|
var businesses = /*#__PURE__*/Object.freeze({
|
|
4756
4701
|
__proto__: null,
|
|
@@ -4781,14 +4726,12 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
4781
4726
|
suspendBusiness: suspendBusiness,
|
|
4782
4727
|
getOrgByHealthFundExists: getOrgByHealthFundExists,
|
|
4783
4728
|
submitHealthPointManualOnboarding: submitHealthPointManualOnboarding,
|
|
4784
|
-
suspendBusinessEmail: suspendBusinessEmail
|
|
4785
|
-
getBusinessEmailLogs: getBusinessEmailLogs,
|
|
4786
|
-
getEmailLog: getEmailLog
|
|
4729
|
+
suspendBusinessEmail: suspendBusinessEmail
|
|
4787
4730
|
});
|
|
4788
4731
|
|
|
4789
|
-
function ownKeys$
|
|
4732
|
+
function ownKeys$13(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4790
4733
|
|
|
4791
|
-
function _objectSpread$
|
|
4734
|
+
function _objectSpread$13(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$13(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$13(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4792
4735
|
|
|
4793
4736
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
4794
4737
|
var pathBusinessClaimItems = function pathBusinessClaimItems(businessId) {
|
|
@@ -4834,7 +4777,7 @@ var getBusinessClaimItems = /*#__PURE__*/function () {
|
|
|
4834
4777
|
utils_doesParamExist["default"]({
|
|
4835
4778
|
businessId: businessId
|
|
4836
4779
|
}, opts.hyperMediaEndpoint);
|
|
4837
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4780
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
4838
4781
|
path: pathBusinessClaimItems(businessId)
|
|
4839
4782
|
}), {
|
|
4840
4783
|
method: 'get',
|
|
@@ -4879,7 +4822,7 @@ var getBusinessClaimItem = /*#__PURE__*/function () {
|
|
|
4879
4822
|
businessId: businessId,
|
|
4880
4823
|
claimItemId: claimItemId
|
|
4881
4824
|
}, opts.hyperMediaEndpoint);
|
|
4882
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
4825
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
4883
4826
|
path: pathBusinessClaimItem(businessId, claimItemId)
|
|
4884
4827
|
}), {
|
|
4885
4828
|
method: 'get',
|
|
@@ -4922,7 +4865,7 @@ var getHealthFundClaimItems = /*#__PURE__*/function () {
|
|
|
4922
4865
|
utils_doesParamExist["default"]({
|
|
4923
4866
|
healthFundId: healthFundId
|
|
4924
4867
|
}, opts.hyperMediaEndpoint);
|
|
4925
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
4868
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
4926
4869
|
path: pathHealthFundClaimItems(healthFundId)
|
|
4927
4870
|
}), {
|
|
4928
4871
|
method: 'get',
|
|
@@ -4967,7 +4910,7 @@ var getHealthFundClaimItem = /*#__PURE__*/function () {
|
|
|
4967
4910
|
healthFundId: healthFundId,
|
|
4968
4911
|
claimItemId: claimItemId
|
|
4969
4912
|
}, opts.hyperMediaEndpoint);
|
|
4970
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
4913
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
4971
4914
|
path: pathHealthFundClaimItem(healthFundId, claimItemId)
|
|
4972
4915
|
}), {
|
|
4973
4916
|
method: 'get',
|
|
@@ -4995,9 +4938,9 @@ var claimItems = /*#__PURE__*/Object.freeze({
|
|
|
4995
4938
|
getHealthFundClaimItem: getHealthFundClaimItem
|
|
4996
4939
|
});
|
|
4997
4940
|
|
|
4998
|
-
function ownKeys$
|
|
4941
|
+
function ownKeys$12(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4999
4942
|
|
|
5000
|
-
function _objectSpread$
|
|
4943
|
+
function _objectSpread$12(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$12(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$12(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5001
4944
|
var PATH__DOC_ACCOUNTS = '/docaccounts'; // @ts-expect-error TS(7006): Parameter 'docAccountId' implicitly has an 'any' t... Remove this comment to see the full error message
|
|
5002
4945
|
|
|
5003
4946
|
var pathDocAccount = function pathDocAccount(docAccountId) {
|
|
@@ -5024,7 +4967,7 @@ var getDocAccounts = /*#__PURE__*/function () {
|
|
|
5024
4967
|
opts = {};
|
|
5025
4968
|
}
|
|
5026
4969
|
|
|
5027
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4970
|
+
return _context.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
5028
4971
|
path: PATH__DOC_ACCOUNTS
|
|
5029
4972
|
}), {
|
|
5030
4973
|
method: 'get',
|
|
@@ -5062,7 +5005,7 @@ var getDocAccount = /*#__PURE__*/function () {
|
|
|
5062
5005
|
utils_doesParamExist["default"]({
|
|
5063
5006
|
partnerId: partnerId
|
|
5064
5007
|
}, opts.hyperMediaEndpoint);
|
|
5065
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
5008
|
+
return _context2.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
5066
5009
|
path: pathDocAccount(partnerId)
|
|
5067
5010
|
}), {
|
|
5068
5011
|
method: 'get'
|
|
@@ -5096,7 +5039,7 @@ var createDocAccount = /*#__PURE__*/function () {
|
|
|
5096
5039
|
opts = {};
|
|
5097
5040
|
}
|
|
5098
5041
|
|
|
5099
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
5042
|
+
return _context3.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
5100
5043
|
path: PATH__DOC_ACCOUNTS
|
|
5101
5044
|
}), {
|
|
5102
5045
|
method: 'post',
|
|
@@ -5135,7 +5078,7 @@ var updateDocAccount = /*#__PURE__*/function () {
|
|
|
5135
5078
|
utils_doesParamExist["default"]({
|
|
5136
5079
|
docAccountId: docAccountId
|
|
5137
5080
|
}, opts.hyperMediaEndpoint);
|
|
5138
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
5081
|
+
return _context4.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
5139
5082
|
path: pathDocAccount(docAccountId)
|
|
5140
5083
|
}), {
|
|
5141
5084
|
method: 'put',
|
|
@@ -5173,7 +5116,7 @@ var deleteDocAccount = /*#__PURE__*/function () {
|
|
|
5173
5116
|
utils_doesParamExist["default"]({
|
|
5174
5117
|
docAccountId: docAccountId
|
|
5175
5118
|
}, opts.hyperMediaEndpoint);
|
|
5176
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
5119
|
+
return _context5.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
5177
5120
|
path: pathDocAccount(docAccountId)
|
|
5178
5121
|
}), {
|
|
5179
5122
|
method: 'delete'
|
|
@@ -5201,9 +5144,9 @@ var docAccounts = /*#__PURE__*/Object.freeze({
|
|
|
5201
5144
|
deleteDocAccount: deleteDocAccount
|
|
5202
5145
|
});
|
|
5203
5146
|
|
|
5204
|
-
function ownKeys$
|
|
5147
|
+
function ownKeys$11(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5205
5148
|
|
|
5206
|
-
function _objectSpread$
|
|
5149
|
+
function _objectSpread$11(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$11(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$11(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5207
5150
|
var pathBusinessDocuments = function pathBusinessDocuments(businessId) {
|
|
5208
5151
|
return "/businesses/" + businessId + "/documents";
|
|
5209
5152
|
};
|
|
@@ -5259,7 +5202,7 @@ var approveHealthFundDocument = function approveHealthFundDocument(healthFundId,
|
|
|
5259
5202
|
healthFundId: healthFundId,
|
|
5260
5203
|
documentId: documentId
|
|
5261
5204
|
}, opts.hyperMediaEndpoint);
|
|
5262
|
-
return request(_objectSpread$
|
|
5205
|
+
return request(_objectSpread$11({}, opts, {
|
|
5263
5206
|
path: pathHealthFundDocumentApprove(healthFundId, documentId)
|
|
5264
5207
|
}), {
|
|
5265
5208
|
method: 'post'
|
|
@@ -5281,7 +5224,7 @@ var assignHealthFundDocumentToMe = function assignHealthFundDocumentToMe(healthF
|
|
|
5281
5224
|
healthFundId: healthFundId,
|
|
5282
5225
|
documentId: documentId
|
|
5283
5226
|
}, opts.hyperMediaEndpoint);
|
|
5284
|
-
return request(_objectSpread$
|
|
5227
|
+
return request(_objectSpread$11({}, opts, {
|
|
5285
5228
|
path: pathHealthFundDocumentAssignToMe(healthFundId, documentId)
|
|
5286
5229
|
}), {
|
|
5287
5230
|
method: 'put'
|
|
@@ -5303,7 +5246,7 @@ var cancelBusinessDocument = function cancelBusinessDocument(businessId, documen
|
|
|
5303
5246
|
businessId: businessId,
|
|
5304
5247
|
documentId: documentId
|
|
5305
5248
|
}, opts.hyperMediaEndpoint);
|
|
5306
|
-
return request(_objectSpread$
|
|
5249
|
+
return request(_objectSpread$11({}, opts, {
|
|
5307
5250
|
path: pathBusinessDocumentCancel(businessId, documentId)
|
|
5308
5251
|
}), {
|
|
5309
5252
|
method: 'post'
|
|
@@ -5325,7 +5268,7 @@ var declineHealthFundDocument = function declineHealthFundDocument(healthFundId,
|
|
|
5325
5268
|
healthFundId: healthFundId,
|
|
5326
5269
|
documentId: documentId
|
|
5327
5270
|
}, opts.hyperMediaEndpoint);
|
|
5328
|
-
return request(_objectSpread$
|
|
5271
|
+
return request(_objectSpread$11({}, opts, {
|
|
5329
5272
|
path: pathHealthFundDocumentDecline(healthFundId, documentId)
|
|
5330
5273
|
}), {
|
|
5331
5274
|
method: 'post',
|
|
@@ -5348,7 +5291,7 @@ var ceaseHealthFundDocument = function ceaseHealthFundDocument(healthFundId, doc
|
|
|
5348
5291
|
healthFundId: healthFundId,
|
|
5349
5292
|
documentId: documentId
|
|
5350
5293
|
}, opts.hyperMediaEndpoint);
|
|
5351
|
-
return request(_objectSpread$
|
|
5294
|
+
return request(_objectSpread$11({}, opts, {
|
|
5352
5295
|
path: pathHealthFundDocumentCease(healthFundId, documentId)
|
|
5353
5296
|
}), {
|
|
5354
5297
|
method: 'post',
|
|
@@ -5373,7 +5316,7 @@ var deleteHealthFundDocumentTag = function deleteHealthFundDocumentTag(healthFun
|
|
|
5373
5316
|
documentId: documentId,
|
|
5374
5317
|
tagId: tagId
|
|
5375
5318
|
}, opts.hyperMediaEndpoint);
|
|
5376
|
-
return request(_objectSpread$
|
|
5319
|
+
return request(_objectSpread$11({}, opts, {
|
|
5377
5320
|
path: pathHealthFundDocumentTag(healthFundId, documentId, tagId)
|
|
5378
5321
|
}), {
|
|
5379
5322
|
method: 'delete'
|
|
@@ -5394,7 +5337,7 @@ var getBusinessDocuments = function getBusinessDocuments(businessId, query, opts
|
|
|
5394
5337
|
utils_doesParamExist["default"]({
|
|
5395
5338
|
businessId: businessId
|
|
5396
5339
|
}, opts.hyperMediaEndpoint);
|
|
5397
|
-
return request(_objectSpread$
|
|
5340
|
+
return request(_objectSpread$11({}, opts, {
|
|
5398
5341
|
path: pathBusinessDocuments(businessId)
|
|
5399
5342
|
}), {
|
|
5400
5343
|
method: 'get',
|
|
@@ -5416,7 +5359,7 @@ var getBusinessDocument = function getBusinessDocument(businessId, documentId, o
|
|
|
5416
5359
|
utils_doesParamExist["default"]({
|
|
5417
5360
|
businessId: businessId
|
|
5418
5361
|
}, opts.hyperMediaEndpoint);
|
|
5419
|
-
return request(_objectSpread$
|
|
5362
|
+
return request(_objectSpread$11({}, opts, {
|
|
5420
5363
|
path: pathBusinessDocument(businessId, documentId)
|
|
5421
5364
|
}), {
|
|
5422
5365
|
method: 'get'
|
|
@@ -5437,7 +5380,7 @@ var getHealthFundDocuments = function getHealthFundDocuments(healthFundId, query
|
|
|
5437
5380
|
utils_doesParamExist["default"]({
|
|
5438
5381
|
healthFundId: healthFundId
|
|
5439
5382
|
}, opts.hyperMediaEndpoint);
|
|
5440
|
-
return request(_objectSpread$
|
|
5383
|
+
return request(_objectSpread$11({}, opts, {
|
|
5441
5384
|
path: pathHealthFundDocuments(healthFundId)
|
|
5442
5385
|
}), {
|
|
5443
5386
|
method: 'get',
|
|
@@ -5460,7 +5403,7 @@ var getHealthFundDocument = function getHealthFundDocument(healthFundId, documen
|
|
|
5460
5403
|
healthFundId: healthFundId,
|
|
5461
5404
|
documentId: documentId
|
|
5462
5405
|
}, opts.hyperMediaEndpoint);
|
|
5463
|
-
return request(_objectSpread$
|
|
5406
|
+
return request(_objectSpread$11({}, opts, {
|
|
5464
5407
|
path: pathHealthFundDocument(healthFundId, documentId)
|
|
5465
5408
|
}), {
|
|
5466
5409
|
method: 'get'
|
|
@@ -5482,7 +5425,7 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
|
|
|
5482
5425
|
healthFundId: healthFundId,
|
|
5483
5426
|
documentId: documentId
|
|
5484
5427
|
}, opts.hyperMediaEndpoint);
|
|
5485
|
-
return request(_objectSpread$
|
|
5428
|
+
return request(_objectSpread$11({}, opts, {
|
|
5486
5429
|
path: pathHealthFundDocumentPark(healthFundId, documentId)
|
|
5487
5430
|
}), {
|
|
5488
5431
|
method: 'post',
|
|
@@ -5505,7 +5448,7 @@ var getHealthPointRegistrationApplication = function getHealthPointRegistrationA
|
|
|
5505
5448
|
healthFundId: healthFundId,
|
|
5506
5449
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5507
5450
|
}, opts.hyperMediaEndpoint);
|
|
5508
|
-
return request(_objectSpread$
|
|
5451
|
+
return request(_objectSpread$11({}, opts, {
|
|
5509
5452
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5510
5453
|
}), {
|
|
5511
5454
|
method: 'get'
|
|
@@ -5528,7 +5471,7 @@ var updateHealthPointRegistrationApplication = function updateHealthPointRegistr
|
|
|
5528
5471
|
healthFundId: healthFundId,
|
|
5529
5472
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5530
5473
|
}, opts.hyperMediaEndpoint);
|
|
5531
|
-
return request(_objectSpread$
|
|
5474
|
+
return request(_objectSpread$11({}, opts, {
|
|
5532
5475
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5533
5476
|
}), {
|
|
5534
5477
|
method: 'put',
|
|
@@ -5552,7 +5495,7 @@ var activateHealthPointDigitalClaiming = function activateHealthPointDigitalClai
|
|
|
5552
5495
|
healthFundId: healthFundId,
|
|
5553
5496
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5554
5497
|
}, opts.hyperMediaEndpoint);
|
|
5555
|
-
return request(_objectSpread$
|
|
5498
|
+
return request(_objectSpread$11({}, opts, {
|
|
5556
5499
|
path: pathHealthFundHealthPointActivateDigitalClaiming(healthFundId, healthPointRegistrationApplicationId)
|
|
5557
5500
|
}), {
|
|
5558
5501
|
method: 'post',
|
|
@@ -5591,9 +5534,9 @@ var documents = /*#__PURE__*/Object.freeze({
|
|
|
5591
5534
|
activateHealthPointDigitalClaiming: activateHealthPointDigitalClaiming
|
|
5592
5535
|
});
|
|
5593
5536
|
|
|
5594
|
-
function ownKeys
|
|
5537
|
+
function ownKeys$10(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5595
5538
|
|
|
5596
|
-
function _objectSpread
|
|
5539
|
+
function _objectSpread$10(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$10(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$10(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5597
5540
|
var healthFundEmailSections = function healthFundEmailSections(healthFundId, emailTemplateId) {
|
|
5598
5541
|
return "/healthfunds/" + healthFundId + "/emailtemplates/" + emailTemplateId + "/emailsections";
|
|
5599
5542
|
};
|
|
@@ -5625,7 +5568,7 @@ var getHealthFundEmailSections = function getHealthFundEmailSections(healthFundI
|
|
|
5625
5568
|
healthFundId: healthFundId,
|
|
5626
5569
|
emailTemplateId: emailTemplateId
|
|
5627
5570
|
}, opts.hyperMediaEndpoint);
|
|
5628
|
-
return request(_objectSpread
|
|
5571
|
+
return request(_objectSpread$10({}, opts, {
|
|
5629
5572
|
path: healthFundEmailSections(healthFundId, emailTemplateId)
|
|
5630
5573
|
}), {
|
|
5631
5574
|
method: 'get',
|
|
@@ -5644,7 +5587,7 @@ var getHealthFundEmailTemplates = function getHealthFundEmailTemplates(healthFun
|
|
|
5644
5587
|
utils_doesParamExist["default"]({
|
|
5645
5588
|
healthFundId: healthFundId
|
|
5646
5589
|
}, opts.hyperMediaEndpoint);
|
|
5647
|
-
return request(_objectSpread
|
|
5590
|
+
return request(_objectSpread$10({}, opts, {
|
|
5648
5591
|
path: healthFundEmailTemplates(healthFundId)
|
|
5649
5592
|
}), {
|
|
5650
5593
|
method: 'get',
|
|
@@ -5660,7 +5603,7 @@ var generateEmailTemplate = function generateEmailTemplate(healthFundId, transac
|
|
|
5660
5603
|
healthFundId: healthFundId,
|
|
5661
5604
|
transactionId: transactionId
|
|
5662
5605
|
}, opts.hyperMediaEndpoint);
|
|
5663
|
-
return request(_objectSpread
|
|
5606
|
+
return request(_objectSpread$10({}, opts, {
|
|
5664
5607
|
path: healthFundTransactionEmail(healthFundId, transactionId)
|
|
5665
5608
|
}), {
|
|
5666
5609
|
method: 'post',
|
|
@@ -5676,7 +5619,7 @@ var generateDocumentEmailTemplate = function generateDocumentEmailTemplate(healt
|
|
|
5676
5619
|
healthFundId: healthFundId,
|
|
5677
5620
|
documentId: documentId
|
|
5678
5621
|
}, opts.hyperMediaEndpoint);
|
|
5679
|
-
return request(_objectSpread
|
|
5622
|
+
return request(_objectSpread$10({}, opts, {
|
|
5680
5623
|
path: healthFundDocumentEmail(healthFundId, documentId)
|
|
5681
5624
|
}), {
|
|
5682
5625
|
method: 'post',
|
|
@@ -5691,7 +5634,7 @@ var createEmailPackage = function createEmailPackage(transactionId, body, opts)
|
|
|
5691
5634
|
utils_doesParamExist["default"]({
|
|
5692
5635
|
transactionId: transactionId
|
|
5693
5636
|
}, opts.hyperMediaEndpoint);
|
|
5694
|
-
return request(_objectSpread
|
|
5637
|
+
return request(_objectSpread$10({}, opts, {
|
|
5695
5638
|
path: transactionEmailPackages(transactionId)
|
|
5696
5639
|
}), {
|
|
5697
5640
|
method: 'post',
|
|
@@ -5707,7 +5650,7 @@ var updateEmailPackage = function updateEmailPackage(transactionId, emailPackage
|
|
|
5707
5650
|
transactionId: transactionId,
|
|
5708
5651
|
emailPackageId: emailPackageId
|
|
5709
5652
|
}, opts.hyperMediaEndpoint);
|
|
5710
|
-
return request(_objectSpread
|
|
5653
|
+
return request(_objectSpread$10({}, opts, {
|
|
5711
5654
|
path: transactionEmailPackage(transactionId, emailPackageId)
|
|
5712
5655
|
}), {
|
|
5713
5656
|
method: 'put',
|
|
@@ -5723,7 +5666,7 @@ var sendEmailPackage = function sendEmailPackage(transactionId, emailPackageId,
|
|
|
5723
5666
|
transactionId: transactionId,
|
|
5724
5667
|
emailPackageId: emailPackageId
|
|
5725
5668
|
}, opts.hyperMediaEndpoint);
|
|
5726
|
-
return request(_objectSpread
|
|
5669
|
+
return request(_objectSpread$10({}, opts, {
|
|
5727
5670
|
path: transactionEmailPackage(transactionId, emailPackageId) + "/send"
|
|
5728
5671
|
}), {
|
|
5729
5672
|
method: 'post',
|
|
@@ -5748,9 +5691,9 @@ var emails = /*#__PURE__*/Object.freeze({
|
|
|
5748
5691
|
sendEmailPackage: sendEmailPackage
|
|
5749
5692
|
});
|
|
5750
5693
|
|
|
5751
|
-
function ownKeys
|
|
5694
|
+
function ownKeys$$(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5752
5695
|
|
|
5753
|
-
function _objectSpread
|
|
5696
|
+
function _objectSpread$$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$$(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5754
5697
|
var pathFilterOptions = function pathFilterOptions(businessId) {
|
|
5755
5698
|
return "/businesses/" + businessId + "/filteroptions";
|
|
5756
5699
|
};
|
|
@@ -5767,7 +5710,7 @@ var getBusinessFilterOptions = /*#__PURE__*/function () {
|
|
|
5767
5710
|
utils_doesParamExist["default"]({
|
|
5768
5711
|
businessId: businessId
|
|
5769
5712
|
}, opts.hyperMediaEndpoint);
|
|
5770
|
-
return _context.abrupt("return", request(_objectSpread
|
|
5713
|
+
return _context.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
5771
5714
|
path: pathFilterOptions(businessId)
|
|
5772
5715
|
}), {
|
|
5773
5716
|
method: 'get',
|
|
@@ -5793,9 +5736,9 @@ var filterOptions = /*#__PURE__*/Object.freeze({
|
|
|
5793
5736
|
getBusinessFilterOptions: getBusinessFilterOptions
|
|
5794
5737
|
});
|
|
5795
5738
|
|
|
5796
|
-
function ownKeys$
|
|
5739
|
+
function ownKeys$_(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5797
5740
|
|
|
5798
|
-
function _objectSpread$
|
|
5741
|
+
function _objectSpread$_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$_(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5799
5742
|
var pathBusinessFormApplicationTemplate = function pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId) {
|
|
5800
5743
|
return "/businesses/" + businessId + "/forms/" + formId + "/formapplicationtemplates/" + formApplicationTemplateId;
|
|
5801
5744
|
};
|
|
@@ -5821,7 +5764,7 @@ var getBusinessFormApplicationTemplate = function getBusinessFormApplicationTemp
|
|
|
5821
5764
|
formId: formId,
|
|
5822
5765
|
formApplicationTemplateId: formApplicationTemplateId
|
|
5823
5766
|
}, opts.hyperMediaEndpoint);
|
|
5824
|
-
return request(_objectSpread$
|
|
5767
|
+
return request(_objectSpread$_({}, opts, {
|
|
5825
5768
|
path: pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId)
|
|
5826
5769
|
}), {
|
|
5827
5770
|
method: 'get'
|
|
@@ -5844,7 +5787,7 @@ var getHealthFundFormApplicationTemplate = function getHealthFundFormApplication
|
|
|
5844
5787
|
healthFundId: healthFundId,
|
|
5845
5788
|
formApplicationTemplateId: formApplicationTemplateId
|
|
5846
5789
|
}, opts.hyperMediaEndpoint);
|
|
5847
|
-
return request(_objectSpread$
|
|
5790
|
+
return request(_objectSpread$_({}, opts, {
|
|
5848
5791
|
path: pathHealthFundFormApplicationTemplate(healthFundId, formApplicationTemplateId)
|
|
5849
5792
|
}), {
|
|
5850
5793
|
method: 'get'
|
|
@@ -5859,9 +5802,9 @@ var formApplicationTemplates = /*#__PURE__*/Object.freeze({
|
|
|
5859
5802
|
getHealthFundFormApplicationTemplate: getHealthFundFormApplicationTemplate
|
|
5860
5803
|
});
|
|
5861
5804
|
|
|
5862
|
-
function ownKeys$
|
|
5805
|
+
function ownKeys$Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5863
5806
|
|
|
5864
|
-
function _objectSpread$
|
|
5807
|
+
function _objectSpread$Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5865
5808
|
var pathBusinessFormApplication = function pathBusinessFormApplication(businessId, formApplicationId) {
|
|
5866
5809
|
return "/businesses/" + businessId + "/formapplications/" + formApplicationId;
|
|
5867
5810
|
};
|
|
@@ -5888,7 +5831,7 @@ var getBusinessFormApplication = function getBusinessFormApplication(businessId,
|
|
|
5888
5831
|
businessId: businessId,
|
|
5889
5832
|
formApplicationId: formApplicationId
|
|
5890
5833
|
}, opts.hyperMediaEndpoint);
|
|
5891
|
-
return request(_objectSpread$
|
|
5834
|
+
return request(_objectSpread$Z({}, opts, {
|
|
5892
5835
|
path: pathBusinessFormApplication(businessId, formApplicationId)
|
|
5893
5836
|
}), {
|
|
5894
5837
|
method: 'get'
|
|
@@ -5911,7 +5854,7 @@ var getHealthFundFormApplication = function getHealthFundFormApplication(healthF
|
|
|
5911
5854
|
healthFundId: healthFundId,
|
|
5912
5855
|
formApplicationId: formApplicationId
|
|
5913
5856
|
}, opts.hyperMediaEndpoint);
|
|
5914
|
-
return request(_objectSpread$
|
|
5857
|
+
return request(_objectSpread$Z({}, opts, {
|
|
5915
5858
|
path: pathHealthFundFormApplication(healthFundId, formApplicationId)
|
|
5916
5859
|
}), {
|
|
5917
5860
|
method: 'get'
|
|
@@ -5938,7 +5881,7 @@ var updatePracticeRepresentative = /*#__PURE__*/function () {
|
|
|
5938
5881
|
healthFundId: healthFundId,
|
|
5939
5882
|
formApplicationId: formApplicationId
|
|
5940
5883
|
}, opts.hyperMediaEndpoint);
|
|
5941
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5884
|
+
return _context.abrupt("return", request(_objectSpread$Z({}, opts, {
|
|
5942
5885
|
path: pathUpdatePracticeRepresentative(healthFundId, formApplicationId)
|
|
5943
5886
|
}), {
|
|
5944
5887
|
method: 'put',
|
|
@@ -5968,9 +5911,9 @@ var formApplications = /*#__PURE__*/Object.freeze({
|
|
|
5968
5911
|
updatePracticeRepresentative: updatePracticeRepresentative
|
|
5969
5912
|
});
|
|
5970
5913
|
|
|
5971
|
-
function ownKeys$
|
|
5914
|
+
function ownKeys$Y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5972
5915
|
|
|
5973
|
-
function _objectSpread$
|
|
5916
|
+
function _objectSpread$Y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Y(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5974
5917
|
var pathBusinessForm = function pathBusinessForm(businessId, formId) {
|
|
5975
5918
|
return "/businesses/" + businessId + "/forms/" + formId;
|
|
5976
5919
|
};
|
|
@@ -6015,7 +5958,7 @@ var applyForBusinessForm = function applyForBusinessForm(businessId, formId, bod
|
|
|
6015
5958
|
businessId: businessId,
|
|
6016
5959
|
formId: formId
|
|
6017
5960
|
}, opts.hyperMediaEndpoint);
|
|
6018
|
-
return request(_objectSpread$
|
|
5961
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6019
5962
|
path: pathBusinessFormApplications(businessId, formId)
|
|
6020
5963
|
}), {
|
|
6021
5964
|
method: 'post',
|
|
@@ -6037,7 +5980,7 @@ var createHealthFundForm = function createHealthFundForm(healthFundId, body, opt
|
|
|
6037
5980
|
utils_doesParamExist["default"]({
|
|
6038
5981
|
healthFundId: healthFundId
|
|
6039
5982
|
}, opts.hyperMediaEndpoint);
|
|
6040
|
-
return request(_objectSpread$
|
|
5983
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6041
5984
|
path: pathHealthFundForms(healthFundId)
|
|
6042
5985
|
}), {
|
|
6043
5986
|
method: 'post',
|
|
@@ -6060,7 +6003,7 @@ var deleteHealthFundForm = function deleteHealthFundForm(healthFundId, formId, o
|
|
|
6060
6003
|
healthFundId: healthFundId,
|
|
6061
6004
|
formId: formId
|
|
6062
6005
|
}, opts.hyperMediaEndpoint);
|
|
6063
|
-
return request(_objectSpread$
|
|
6006
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6064
6007
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6065
6008
|
}), {
|
|
6066
6009
|
method: 'delete'
|
|
@@ -6083,7 +6026,7 @@ var getBusinessForm = function getBusinessForm(businessId, formId, opts) {
|
|
|
6083
6026
|
businessId: businessId,
|
|
6084
6027
|
formId: formId
|
|
6085
6028
|
}, opts.hyperMediaEndpoint);
|
|
6086
|
-
return request(_objectSpread$
|
|
6029
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6087
6030
|
path: pathBusinessForm(businessId, formId)
|
|
6088
6031
|
}), {
|
|
6089
6032
|
method: 'get'
|
|
@@ -6108,7 +6051,7 @@ var getHealthFundForms = function getHealthFundForms(healthFundId, query, opts)
|
|
|
6108
6051
|
utils_doesParamExist["default"]({
|
|
6109
6052
|
healthFundId: healthFundId
|
|
6110
6053
|
}, opts.hyperMediaEndpoint);
|
|
6111
|
-
return request(_objectSpread$
|
|
6054
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6112
6055
|
path: pathHealthFundForms(healthFundId)
|
|
6113
6056
|
}), {
|
|
6114
6057
|
method: 'get',
|
|
@@ -6131,7 +6074,7 @@ var getHealthFundForm = function getHealthFundForm(healthFundId, formId, opts) {
|
|
|
6131
6074
|
healthFundId: healthFundId,
|
|
6132
6075
|
formId: formId
|
|
6133
6076
|
}, opts.hyperMediaEndpoint);
|
|
6134
|
-
return request(_objectSpread$
|
|
6077
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6135
6078
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6136
6079
|
}), {
|
|
6137
6080
|
method: 'get'
|
|
@@ -6156,7 +6099,7 @@ var getHealthFundFormUploadUrl = function getHealthFundFormUploadUrl(healthFundI
|
|
|
6156
6099
|
contentType: contentType,
|
|
6157
6100
|
fileName: fileName
|
|
6158
6101
|
}, opts.hyperMediaEndpoint);
|
|
6159
|
-
return request(_objectSpread$
|
|
6102
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6160
6103
|
path: pathHealthFundFormUploadUrl(healthFundId)
|
|
6161
6104
|
}), {
|
|
6162
6105
|
method: 'get',
|
|
@@ -6179,7 +6122,7 @@ var publishHealthFundForm = function publishHealthFundForm(healthFundId, formId,
|
|
|
6179
6122
|
healthFundId: healthFundId,
|
|
6180
6123
|
formId: formId
|
|
6181
6124
|
}, opts.hyperMediaEndpoint);
|
|
6182
|
-
return request(_objectSpread$
|
|
6125
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6183
6126
|
path: pathHealthFundFormPublish(healthFundId, formId)
|
|
6184
6127
|
}), {
|
|
6185
6128
|
method: 'post'
|
|
@@ -6202,7 +6145,7 @@ var updateHealthFundForm = function updateHealthFundForm(healthFundId, formId, b
|
|
|
6202
6145
|
healthFundId: healthFundId,
|
|
6203
6146
|
formId: formId
|
|
6204
6147
|
}, opts.hyperMediaEndpoint);
|
|
6205
|
-
return request(_objectSpread$
|
|
6148
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6206
6149
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6207
6150
|
}), {
|
|
6208
6151
|
method: 'put',
|
|
@@ -6225,7 +6168,7 @@ var unpublishHealthFundForm = function unpublishHealthFundForm(healthFundId, for
|
|
|
6225
6168
|
healthFundId: healthFundId,
|
|
6226
6169
|
formId: formId
|
|
6227
6170
|
}, opts.hyperMediaEndpoint);
|
|
6228
|
-
return request(_objectSpread$
|
|
6171
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6229
6172
|
path: pathHealthFundFormUnpublish(healthFundId, formId)
|
|
6230
6173
|
}), {
|
|
6231
6174
|
method: 'post'
|
|
@@ -6249,7 +6192,7 @@ var getLatestApprovedDocument = function getLatestApprovedDocument(businessId, p
|
|
|
6249
6192
|
practiceId: practiceId,
|
|
6250
6193
|
formId: formId
|
|
6251
6194
|
}, opts.hyperMediaEndpoint);
|
|
6252
|
-
return request(_objectSpread$
|
|
6195
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6253
6196
|
path: pathGetLatestApprovedDocument(businessId, practiceId, formId)
|
|
6254
6197
|
}), {
|
|
6255
6198
|
method: 'get'
|
|
@@ -6274,7 +6217,7 @@ var getManualFormUploadUrl = function getManualFormUploadUrl(businessId, practic
|
|
|
6274
6217
|
practiceId: practiceId,
|
|
6275
6218
|
formId: formId
|
|
6276
6219
|
}, opts.hyperMediaEndpoint);
|
|
6277
|
-
return request(_objectSpread$
|
|
6220
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6278
6221
|
path: pathGetManualFormUploadUrl(businessId, practiceId, formId)
|
|
6279
6222
|
}), {
|
|
6280
6223
|
method: 'get',
|
|
@@ -6307,9 +6250,9 @@ var forms = /*#__PURE__*/Object.freeze({
|
|
|
6307
6250
|
getManualFormUploadUrl: getManualFormUploadUrl
|
|
6308
6251
|
});
|
|
6309
6252
|
|
|
6310
|
-
function ownKeys$
|
|
6253
|
+
function ownKeys$X(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6311
6254
|
|
|
6312
|
-
function _objectSpread$
|
|
6255
|
+
function _objectSpread$X(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$X(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$X(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6313
6256
|
var PATH__FUNDERS = '/funders';
|
|
6314
6257
|
var pathFunder = function pathFunder(funderId) {
|
|
6315
6258
|
return "/funders/" + funderId;
|
|
@@ -6319,7 +6262,7 @@ var getFunders = function getFunders(opts) {
|
|
|
6319
6262
|
opts = {};
|
|
6320
6263
|
}
|
|
6321
6264
|
|
|
6322
|
-
return request(_objectSpread$
|
|
6265
|
+
return request(_objectSpread$X({}, opts, {
|
|
6323
6266
|
path: PATH__FUNDERS
|
|
6324
6267
|
}), {
|
|
6325
6268
|
method: 'get'
|
|
@@ -6330,7 +6273,7 @@ var getFunder = function getFunder(funderId, opts) {
|
|
|
6330
6273
|
opts = {};
|
|
6331
6274
|
}
|
|
6332
6275
|
|
|
6333
|
-
return request(_objectSpread$
|
|
6276
|
+
return request(_objectSpread$X({}, opts, {
|
|
6334
6277
|
path: pathFunder(funderId)
|
|
6335
6278
|
}), {
|
|
6336
6279
|
method: 'get'
|
|
@@ -6345,9 +6288,9 @@ var funders = /*#__PURE__*/Object.freeze({
|
|
|
6345
6288
|
getFunder: getFunder
|
|
6346
6289
|
});
|
|
6347
6290
|
|
|
6348
|
-
function ownKeys$
|
|
6291
|
+
function ownKeys$W(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6349
6292
|
|
|
6350
|
-
function _objectSpread$
|
|
6293
|
+
function _objectSpread$W(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$W(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$W(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6351
6294
|
var pathVerifyEclipse = function pathVerifyEclipse() {
|
|
6352
6295
|
return "/eclipse/opvw";
|
|
6353
6296
|
};
|
|
@@ -6365,7 +6308,7 @@ var verifyEclipse = function verifyEclipse(body, opts) {
|
|
|
6365
6308
|
utils_doesParamExist["default"]({
|
|
6366
6309
|
body: body
|
|
6367
6310
|
}, opts.hyperMediaEndpoint);
|
|
6368
|
-
return request(_objectSpread$
|
|
6311
|
+
return request(_objectSpread$W({}, opts, {
|
|
6369
6312
|
path: pathVerifyEclipse()
|
|
6370
6313
|
}), {
|
|
6371
6314
|
method: 'post',
|
|
@@ -6379,9 +6322,9 @@ var funderServices = /*#__PURE__*/Object.freeze({
|
|
|
6379
6322
|
verifyEclipse: verifyEclipse
|
|
6380
6323
|
});
|
|
6381
6324
|
|
|
6382
|
-
function ownKeys$
|
|
6325
|
+
function ownKeys$V(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6383
6326
|
|
|
6384
|
-
function _objectSpread$
|
|
6327
|
+
function _objectSpread$V(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$V(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$V(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6385
6328
|
var pathFunderSettings = function pathFunderSettings(businessId) {
|
|
6386
6329
|
return "/businesses/" + businessId + "/fundersettings";
|
|
6387
6330
|
};
|
|
@@ -6400,7 +6343,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
|
|
|
6400
6343
|
utils_doesParamExist["default"]({
|
|
6401
6344
|
businessId: businessId
|
|
6402
6345
|
}, opts.hyperMediaEndpoint);
|
|
6403
|
-
return request(_objectSpread$
|
|
6346
|
+
return request(_objectSpread$V({}, opts, {
|
|
6404
6347
|
path: pathFunderSettings(businessId)
|
|
6405
6348
|
}), {
|
|
6406
6349
|
method: 'get',
|
|
@@ -6416,7 +6359,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
|
|
|
6416
6359
|
businessId: businessId,
|
|
6417
6360
|
funderSettingsId: funderSettingsId
|
|
6418
6361
|
}, opts.hyperMediaEndpoint);
|
|
6419
|
-
return request(_objectSpread$
|
|
6362
|
+
return request(_objectSpread$V({}, opts, {
|
|
6420
6363
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6421
6364
|
}), {
|
|
6422
6365
|
method: 'get'
|
|
@@ -6431,7 +6374,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
|
|
|
6431
6374
|
businessId: businessId,
|
|
6432
6375
|
funderSettingsId: funderSettingsId
|
|
6433
6376
|
}, opts.hyperMediaEndpoint);
|
|
6434
|
-
return request(_objectSpread$
|
|
6377
|
+
return request(_objectSpread$V({}, opts, {
|
|
6435
6378
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6436
6379
|
}), {
|
|
6437
6380
|
method: 'put',
|
|
@@ -6446,7 +6389,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
|
|
|
6446
6389
|
utils_doesParamExist["default"]({
|
|
6447
6390
|
businessId: businessId
|
|
6448
6391
|
}, opts.hyperMediaEndpoint);
|
|
6449
|
-
return request(_objectSpread$
|
|
6392
|
+
return request(_objectSpread$V({}, opts, {
|
|
6450
6393
|
path: pathFunderSettings(businessId)
|
|
6451
6394
|
}), {
|
|
6452
6395
|
method: 'post',
|
|
@@ -6462,7 +6405,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
|
|
|
6462
6405
|
businessId: businessId,
|
|
6463
6406
|
funderSettingsId: funderSettingsId
|
|
6464
6407
|
}, opts.hyperMediaEndpoint);
|
|
6465
|
-
return request(_objectSpread$
|
|
6408
|
+
return request(_objectSpread$V({}, opts, {
|
|
6466
6409
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6467
6410
|
}), {
|
|
6468
6411
|
method: 'delete'
|
|
@@ -6480,9 +6423,9 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
6480
6423
|
deleteBusinesFunderSettings: deleteBusinesFunderSettings
|
|
6481
6424
|
});
|
|
6482
6425
|
|
|
6483
|
-
function ownKeys$
|
|
6426
|
+
function ownKeys$U(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6484
6427
|
|
|
6485
|
-
function _objectSpread$
|
|
6428
|
+
function _objectSpread$U(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$U(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$U(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6486
6429
|
var pathFunderValues = function pathFunderValues(businessId) {
|
|
6487
6430
|
return "/businesses/" + businessId + "/fundervalues";
|
|
6488
6431
|
};
|
|
@@ -6502,7 +6445,7 @@ var getBusinessFunderValues = /*#__PURE__*/function () {
|
|
|
6502
6445
|
utils_doesParamExist["default"]({
|
|
6503
6446
|
businessId: businessId
|
|
6504
6447
|
}, opts.hyperMediaEndpoint);
|
|
6505
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6448
|
+
return _context.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
6506
6449
|
path: pathFunderValues(businessId)
|
|
6507
6450
|
}), {
|
|
6508
6451
|
method: 'get',
|
|
@@ -6530,7 +6473,7 @@ var getBusinessFunderValueById = function getBusinessFunderValueById(businessId,
|
|
|
6530
6473
|
businessId: businessId,
|
|
6531
6474
|
funderValueId: funderValueId
|
|
6532
6475
|
}, opts.hyperMediaEndpoint);
|
|
6533
|
-
return request(_objectSpread$
|
|
6476
|
+
return request(_objectSpread$U({}, opts, {
|
|
6534
6477
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6535
6478
|
}), {
|
|
6536
6479
|
method: 'get'
|
|
@@ -6544,7 +6487,7 @@ var createBusinessFunderValue = function createBusinessFunderValue(businessId, b
|
|
|
6544
6487
|
utils_doesParamExist["default"]({
|
|
6545
6488
|
businessId: businessId
|
|
6546
6489
|
}, opts.hyperMediaEndpoint);
|
|
6547
|
-
return request(_objectSpread$
|
|
6490
|
+
return request(_objectSpread$U({}, opts, {
|
|
6548
6491
|
path: pathFunderValues(businessId)
|
|
6549
6492
|
}), {
|
|
6550
6493
|
method: 'post',
|
|
@@ -6560,7 +6503,7 @@ var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, f
|
|
|
6560
6503
|
businessId: businessId,
|
|
6561
6504
|
funderValueId: funderValueId
|
|
6562
6505
|
}, opts.hyperMediaEndpoint);
|
|
6563
|
-
return request(_objectSpread$
|
|
6506
|
+
return request(_objectSpread$U({}, opts, {
|
|
6564
6507
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6565
6508
|
}), {
|
|
6566
6509
|
method: 'put',
|
|
@@ -6576,7 +6519,7 @@ var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, f
|
|
|
6576
6519
|
businessId: businessId,
|
|
6577
6520
|
funderValueId: funderValueId
|
|
6578
6521
|
}, opts.hyperMediaEndpoint);
|
|
6579
|
-
return request(_objectSpread$
|
|
6522
|
+
return request(_objectSpread$U({}, opts, {
|
|
6580
6523
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6581
6524
|
}), {
|
|
6582
6525
|
method: 'delete'
|
|
@@ -6594,9 +6537,9 @@ var funderValues = /*#__PURE__*/Object.freeze({
|
|
|
6594
6537
|
deleteBusinessFunderValue: deleteBusinessFunderValue
|
|
6595
6538
|
});
|
|
6596
6539
|
|
|
6597
|
-
function ownKeys$
|
|
6540
|
+
function ownKeys$T(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6598
6541
|
|
|
6599
|
-
function _objectSpread$
|
|
6542
|
+
function _objectSpread$T(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$T(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$T(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6600
6543
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
6601
6544
|
return "/businesses/" + businessId + "/futures";
|
|
6602
6545
|
};
|
|
@@ -6642,7 +6585,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
6642
6585
|
utils_doesParamExist["default"]({
|
|
6643
6586
|
businessId: businessId
|
|
6644
6587
|
}, opts.hyperMediaEndpoint);
|
|
6645
|
-
return request(_objectSpread$
|
|
6588
|
+
return request(_objectSpread$T({}, opts, {
|
|
6646
6589
|
path: pathBusinessHolds(businessId)
|
|
6647
6590
|
}), {
|
|
6648
6591
|
method: 'post',
|
|
@@ -6669,7 +6612,7 @@ var createBusinessInstalmentPlan = /*#__PURE__*/function () {
|
|
|
6669
6612
|
utils_doesParamExist["default"]({
|
|
6670
6613
|
businessId: businessId
|
|
6671
6614
|
}, opts.hyperMediaEndpoint);
|
|
6672
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6615
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6673
6616
|
path: pathBusinessInstalmentPlans(businessId)
|
|
6674
6617
|
}), {
|
|
6675
6618
|
method: 'post',
|
|
@@ -6707,7 +6650,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
6707
6650
|
utils_doesParamExist["default"]({
|
|
6708
6651
|
futureId: futureId
|
|
6709
6652
|
}, opts.hyperMediaEndpoint);
|
|
6710
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6653
|
+
return _context2.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6711
6654
|
path: pathCancels(futureId)
|
|
6712
6655
|
}), {
|
|
6713
6656
|
method: 'post'
|
|
@@ -6745,7 +6688,7 @@ var getBusinessFutures = /*#__PURE__*/function () {
|
|
|
6745
6688
|
utils_doesParamExist["default"]({
|
|
6746
6689
|
businessId: businessId
|
|
6747
6690
|
}, opts.hyperMediaEndpoint);
|
|
6748
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6691
|
+
return _context3.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6749
6692
|
path: pathBusinessFutures(businessId)
|
|
6750
6693
|
}), {
|
|
6751
6694
|
method: 'get',
|
|
@@ -6785,7 +6728,7 @@ var getBusinessFuture = /*#__PURE__*/function () {
|
|
|
6785
6728
|
businessId: businessId,
|
|
6786
6729
|
futureId: futureId
|
|
6787
6730
|
}, opts.hyperMediaEndpoint);
|
|
6788
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6731
|
+
return _context4.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6789
6732
|
path: pathBusinessFuture(businessId, futureId)
|
|
6790
6733
|
}), {
|
|
6791
6734
|
method: 'get'
|
|
@@ -6822,7 +6765,7 @@ var getFuture = /*#__PURE__*/function () {
|
|
|
6822
6765
|
utils_doesParamExist["default"]({
|
|
6823
6766
|
futureId: futureId
|
|
6824
6767
|
}, opts.hyperMediaEndpoint);
|
|
6825
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6768
|
+
return _context5.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6826
6769
|
path: pathFuture(futureId)
|
|
6827
6770
|
}), {
|
|
6828
6771
|
method: 'get'
|
|
@@ -6859,7 +6802,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
6859
6802
|
utils_doesParamExist["default"]({
|
|
6860
6803
|
futureId: futureId
|
|
6861
6804
|
}, opts.hyperMediaEndpoint);
|
|
6862
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6805
|
+
return _context6.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6863
6806
|
path: pathPaymentLink(futureId)
|
|
6864
6807
|
}), {
|
|
6865
6808
|
method: 'get'
|
|
@@ -6897,7 +6840,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
6897
6840
|
utils_doesParamExist["default"]({
|
|
6898
6841
|
futureId: futureId
|
|
6899
6842
|
}, opts.hyperMediaEndpoint);
|
|
6900
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6843
|
+
return _context7.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6901
6844
|
path: pathProcessingRequests(futureId)
|
|
6902
6845
|
}), {
|
|
6903
6846
|
method: 'post',
|
|
@@ -6936,7 +6879,7 @@ var submit = /*#__PURE__*/function () {
|
|
|
6936
6879
|
utils_doesParamExist["default"]({
|
|
6937
6880
|
futureId: futureId
|
|
6938
6881
|
}, opts.hyperMediaEndpoint);
|
|
6939
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6882
|
+
return _context8.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6940
6883
|
path: pathSubmits(futureId)
|
|
6941
6884
|
}), {
|
|
6942
6885
|
method: 'post',
|
|
@@ -6975,7 +6918,7 @@ var update = /*#__PURE__*/function () {
|
|
|
6975
6918
|
utils_doesParamExist["default"]({
|
|
6976
6919
|
futureId: futureId
|
|
6977
6920
|
}, opts.hyperMediaEndpoint);
|
|
6978
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6921
|
+
return _context9.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6979
6922
|
path: pathFuture(futureId)
|
|
6980
6923
|
}), {
|
|
6981
6924
|
method: 'put',
|
|
@@ -7014,7 +6957,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
7014
6957
|
utils_doesParamExist["default"]({
|
|
7015
6958
|
futureId: futureId
|
|
7016
6959
|
}, opts.hyperMediaEndpoint);
|
|
7017
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6960
|
+
return _context10.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
7018
6961
|
path: pathSendReceipt(futureId)
|
|
7019
6962
|
}), {
|
|
7020
6963
|
method: 'post',
|
|
@@ -7059,9 +7002,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
7059
7002
|
sendReceipt: sendReceipt$1
|
|
7060
7003
|
});
|
|
7061
7004
|
|
|
7062
|
-
function ownKeys$
|
|
7005
|
+
function ownKeys$S(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7063
7006
|
|
|
7064
|
-
function _objectSpread$
|
|
7007
|
+
function _objectSpread$S(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$S(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$S(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7065
7008
|
|
|
7066
7009
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
7067
7010
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
@@ -7103,7 +7046,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7103
7046
|
utils_doesParamExist["default"]({
|
|
7104
7047
|
memberId: memberId
|
|
7105
7048
|
}, opts.hyperMediaEndpoint);
|
|
7106
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7049
|
+
return _context.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7107
7050
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
7108
7051
|
}), {
|
|
7109
7052
|
method: 'post',
|
|
@@ -7144,7 +7087,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7144
7087
|
businessId: businessId,
|
|
7145
7088
|
patientId: patientId
|
|
7146
7089
|
}, opts.hyperMediaEndpoint);
|
|
7147
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7090
|
+
return _context2.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7148
7091
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
7149
7092
|
}), {
|
|
7150
7093
|
method: 'post',
|
|
@@ -7184,7 +7127,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7184
7127
|
memberId: memberId,
|
|
7185
7128
|
healthFundAccountId: healthFundAccountId
|
|
7186
7129
|
}, opts.hyperMediaEndpoint);
|
|
7187
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7130
|
+
return _context3.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7188
7131
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
7189
7132
|
}), {
|
|
7190
7133
|
method: 'delete'
|
|
@@ -7225,7 +7168,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7225
7168
|
patientId: patientId,
|
|
7226
7169
|
healthFundAccountId: healthFundAccountId
|
|
7227
7170
|
}, opts.hyperMediaEndpoint);
|
|
7228
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7171
|
+
return _context4.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7229
7172
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7230
7173
|
}), {
|
|
7231
7174
|
method: 'delete'
|
|
@@ -7263,7 +7206,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7263
7206
|
utils_doesParamExist["default"]({
|
|
7264
7207
|
memberId: memberId
|
|
7265
7208
|
}, opts.hyperMediaEndpoint);
|
|
7266
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7209
|
+
return _context5.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7267
7210
|
path: pathMemberHealthFundAccounts(memberId)
|
|
7268
7211
|
}), {
|
|
7269
7212
|
method: 'get',
|
|
@@ -7304,7 +7247,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7304
7247
|
businessId: businessId,
|
|
7305
7248
|
patientId: patientId
|
|
7306
7249
|
}, opts.hyperMediaEndpoint);
|
|
7307
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
7250
|
+
return _context6.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7308
7251
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
7309
7252
|
}), {
|
|
7310
7253
|
method: 'get',
|
|
@@ -7344,7 +7287,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7344
7287
|
memberId: memberId,
|
|
7345
7288
|
healthFundAccountId: healthFundAccountId
|
|
7346
7289
|
}, opts.hyperMediaEndpoint);
|
|
7347
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
7290
|
+
return _context7.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7348
7291
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
7349
7292
|
}), {
|
|
7350
7293
|
method: 'get'
|
|
@@ -7385,7 +7328,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7385
7328
|
patientId: patientId,
|
|
7386
7329
|
healthFundAccountId: healthFundAccountId
|
|
7387
7330
|
}, opts.hyperMediaEndpoint);
|
|
7388
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
7331
|
+
return _context8.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7389
7332
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7390
7333
|
}), {
|
|
7391
7334
|
method: 'get'
|
|
@@ -7425,7 +7368,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7425
7368
|
memberId: memberId,
|
|
7426
7369
|
healthFundAccountId: healthFundAccountId
|
|
7427
7370
|
}, opts.hyperMediaEndpoint);
|
|
7428
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
7371
|
+
return _context9.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7429
7372
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
7430
7373
|
}), {
|
|
7431
7374
|
method: 'put',
|
|
@@ -7468,7 +7411,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7468
7411
|
patientId: patientId,
|
|
7469
7412
|
healthFundAccountId: healthFundAccountId
|
|
7470
7413
|
}, opts.hyperMediaEndpoint);
|
|
7471
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7414
|
+
return _context10.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7472
7415
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7473
7416
|
}), {
|
|
7474
7417
|
method: 'put',
|
|
@@ -7502,9 +7445,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
7502
7445
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
7503
7446
|
});
|
|
7504
7447
|
|
|
7505
|
-
function ownKeys$
|
|
7448
|
+
function ownKeys$R(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7506
7449
|
|
|
7507
|
-
function _objectSpread$
|
|
7450
|
+
function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$R(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7508
7451
|
|
|
7509
7452
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
7510
7453
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
@@ -7544,11 +7487,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7544
7487
|
utils_doesParamExist["default"]({
|
|
7545
7488
|
healthFundId: healthFundId
|
|
7546
7489
|
}, opts.hyperMediaEndpoint);
|
|
7547
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7490
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7548
7491
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
7549
7492
|
}), {
|
|
7550
7493
|
method: 'post',
|
|
7551
|
-
data: _objectSpread$
|
|
7494
|
+
data: _objectSpread$R({
|
|
7552
7495
|
enabled: true
|
|
7553
7496
|
}, body)
|
|
7554
7497
|
}));
|
|
@@ -7585,7 +7528,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7585
7528
|
utils_doesParamExist["default"]({
|
|
7586
7529
|
healthFundId: healthFundId
|
|
7587
7530
|
}, opts.hyperMediaEndpoint);
|
|
7588
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7531
|
+
return _context2.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7589
7532
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
7590
7533
|
}), {
|
|
7591
7534
|
method: 'delete'
|
|
@@ -7630,7 +7573,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
7630
7573
|
utils_doesParamExist["default"]({
|
|
7631
7574
|
healthFundId: healthFundId
|
|
7632
7575
|
}, opts.hyperMediaEndpoint);
|
|
7633
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7576
|
+
return _context3.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7634
7577
|
path: pathHealthFundSettings(healthFundId)
|
|
7635
7578
|
}), {
|
|
7636
7579
|
method: 'get',
|
|
@@ -7680,7 +7623,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
7680
7623
|
practiceId: practiceId,
|
|
7681
7624
|
staffId: staffId
|
|
7682
7625
|
}, opts.hyperMediaEndpoint);
|
|
7683
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7626
|
+
return _context4.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7684
7627
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
7685
7628
|
}), {
|
|
7686
7629
|
method: 'get',
|
|
@@ -7721,7 +7664,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7721
7664
|
healthFundId: healthFundId,
|
|
7722
7665
|
healthFundSettingId: healthFundSettingId
|
|
7723
7666
|
}, opts.hyperMediaEndpoint);
|
|
7724
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7667
|
+
return _context5.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7725
7668
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
7726
7669
|
}), {
|
|
7727
7670
|
method: 'put',
|
|
@@ -7750,9 +7693,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
7750
7693
|
updateHealthFundSetting: updateHealthFundSetting
|
|
7751
7694
|
});
|
|
7752
7695
|
|
|
7753
|
-
function ownKeys$
|
|
7696
|
+
function ownKeys$Q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7754
7697
|
|
|
7755
|
-
function _objectSpread$
|
|
7698
|
+
function _objectSpread$Q(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Q(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7756
7699
|
var PATH__HEALTH_FUNDS = '/healthfunds'; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
|
|
7757
7700
|
|
|
7758
7701
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -7799,7 +7742,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
7799
7742
|
utils_doesParamExist["default"]({
|
|
7800
7743
|
accountId: accountId
|
|
7801
7744
|
}, opts.hyperMediaEndpoint);
|
|
7802
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7745
|
+
return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7803
7746
|
path: pathHealthFundsByAccountId(accountId)
|
|
7804
7747
|
}), {
|
|
7805
7748
|
method: 'get'
|
|
@@ -7841,7 +7784,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
7841
7784
|
utils_doesParamExist["default"]({
|
|
7842
7785
|
businessId: businessId
|
|
7843
7786
|
}, opts.hyperMediaEndpoint);
|
|
7844
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7787
|
+
return _context2.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7845
7788
|
path: pathBusinessHealthFunds(businessId)
|
|
7846
7789
|
}), {
|
|
7847
7790
|
method: 'get',
|
|
@@ -7876,7 +7819,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
7876
7819
|
opts = {};
|
|
7877
7820
|
}
|
|
7878
7821
|
|
|
7879
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7822
|
+
return _context3.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7880
7823
|
path: PATH__HEALTH_FUNDS
|
|
7881
7824
|
}), {
|
|
7882
7825
|
method: 'get',
|
|
@@ -7920,7 +7863,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
7920
7863
|
utils_doesParamExist["default"]({
|
|
7921
7864
|
organisationId: organisationId
|
|
7922
7865
|
}, opts.hyperMediaEndpoint);
|
|
7923
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7866
|
+
return _context4.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7924
7867
|
path: pathOrganisationHealthFunds(organisationId)
|
|
7925
7868
|
}), {
|
|
7926
7869
|
method: 'get',
|
|
@@ -7956,7 +7899,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
7956
7899
|
opts = {};
|
|
7957
7900
|
}
|
|
7958
7901
|
|
|
7959
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7902
|
+
return _context5.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7960
7903
|
path: PATH__HEALTH_FUNDS
|
|
7961
7904
|
}), {
|
|
7962
7905
|
method: 'post',
|
|
@@ -7994,7 +7937,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
7994
7937
|
utils_doesParamExist["default"]({
|
|
7995
7938
|
healthFundId: healthFundId
|
|
7996
7939
|
}, opts.hyperMediaEndpoint);
|
|
7997
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
7940
|
+
return _context6.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7998
7941
|
path: pathHealthFund(healthFundId)
|
|
7999
7942
|
}), {
|
|
8000
7943
|
method: 'get'
|
|
@@ -8032,7 +7975,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
8032
7975
|
utils_doesParamExist["default"]({
|
|
8033
7976
|
healthFundId: healthFundId
|
|
8034
7977
|
}, opts.hyperMediaEndpoint);
|
|
8035
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
7978
|
+
return _context7.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
8036
7979
|
path: pathHealthFund(healthFundId)
|
|
8037
7980
|
}), {
|
|
8038
7981
|
method: 'put',
|
|
@@ -8070,7 +8013,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
8070
8013
|
utils_doesParamExist["default"]({
|
|
8071
8014
|
healthFundId: healthFundId
|
|
8072
8015
|
}, opts.hyperMediaEndpoint);
|
|
8073
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
8016
|
+
return _context8.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
8074
8017
|
path: pathHealthFund(healthFundId)
|
|
8075
8018
|
}), {
|
|
8076
8019
|
method: 'delete'
|
|
@@ -8163,7 +8106,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
8163
8106
|
healthFundId: healthFundId,
|
|
8164
8107
|
body: body
|
|
8165
8108
|
}, opts.hyperMediaEndpoint);
|
|
8166
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
8109
|
+
return _context10.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
8167
8110
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
8168
8111
|
}), {
|
|
8169
8112
|
method: 'post',
|
|
@@ -8198,9 +8141,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
8198
8141
|
verifyMember: verifyMember
|
|
8199
8142
|
});
|
|
8200
8143
|
|
|
8201
|
-
function ownKeys$
|
|
8144
|
+
function ownKeys$P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8202
8145
|
|
|
8203
|
-
function _objectSpread$
|
|
8146
|
+
function _objectSpread$P(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$P(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8204
8147
|
var pathICDItems = '/icditems'; // @ts-expect-error TS(7006): Parameter 'modalityId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
8205
8148
|
|
|
8206
8149
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -8229,7 +8172,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
8229
8172
|
};
|
|
8230
8173
|
}
|
|
8231
8174
|
|
|
8232
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8175
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
8233
8176
|
path: pathICDItems
|
|
8234
8177
|
}), {
|
|
8235
8178
|
method: 'get',
|
|
@@ -8274,7 +8217,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
8274
8217
|
utils_doesParamExist["default"]({
|
|
8275
8218
|
modalityId: modalityId
|
|
8276
8219
|
}, opts.hyperMediaEndpoint);
|
|
8277
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8220
|
+
return _context2.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
8278
8221
|
path: pathModalityICDItems(modalityId)
|
|
8279
8222
|
}), {
|
|
8280
8223
|
method: 'get',
|
|
@@ -8300,9 +8243,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
8300
8243
|
getModalityICDItems: getModalityICDItems
|
|
8301
8244
|
});
|
|
8302
8245
|
|
|
8303
|
-
function ownKeys$
|
|
8246
|
+
function ownKeys$O(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8304
8247
|
|
|
8305
|
-
function _objectSpread$
|
|
8248
|
+
function _objectSpread$O(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$O(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$O(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8306
8249
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
8307
8250
|
return "/businesses/" + businessId + "/invoicescans";
|
|
8308
8251
|
};
|
|
@@ -8332,7 +8275,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
8332
8275
|
utils_doesParamExist["default"]({
|
|
8333
8276
|
businessId: businessId
|
|
8334
8277
|
}, opts.hyperMediaEndpoint);
|
|
8335
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8278
|
+
return _context.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
8336
8279
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
8337
8280
|
}), {
|
|
8338
8281
|
method: 'post',
|
|
@@ -8373,7 +8316,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
8373
8316
|
businessId: businessId,
|
|
8374
8317
|
invoiceScanId: invoiceScanId
|
|
8375
8318
|
}, opts.hyperMediaEndpoint);
|
|
8376
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8319
|
+
return _context2.abrupt("return", request(_objectSpread$O({}, opts, {
|
|
8377
8320
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
8378
8321
|
}), {
|
|
8379
8322
|
method: 'get'
|
|
@@ -8406,7 +8349,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
8406
8349
|
utils_doesParamExist["default"]({
|
|
8407
8350
|
businessId: businessId
|
|
8408
8351
|
}, opts.hyperMediaEndpoint);
|
|
8409
|
-
return request(_objectSpread$
|
|
8352
|
+
return request(_objectSpread$O({}, opts, {
|
|
8410
8353
|
path: pathUploadUrlByBusinessId(businessId)
|
|
8411
8354
|
}), {
|
|
8412
8355
|
method: 'get',
|
|
@@ -8424,9 +8367,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
8424
8367
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
8425
8368
|
});
|
|
8426
8369
|
|
|
8427
|
-
function ownKeys$
|
|
8370
|
+
function ownKeys$N(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8428
8371
|
|
|
8429
|
-
function _objectSpread$
|
|
8372
|
+
function _objectSpread$N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$N(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8430
8373
|
var PATH__JHCS = "/jointhealthcentres";
|
|
8431
8374
|
var pathJHC = function pathJHC(jhcId) {
|
|
8432
8375
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -8439,7 +8382,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
8439
8382
|
utils_doesParamExist["default"]({
|
|
8440
8383
|
jhcId: jhcId
|
|
8441
8384
|
}, opts.hyperMediaEndpoint);
|
|
8442
|
-
return request(_objectSpread$
|
|
8385
|
+
return request(_objectSpread$N({}, opts, {
|
|
8443
8386
|
path: pathJHC(jhcId)
|
|
8444
8387
|
}), {
|
|
8445
8388
|
method: 'get'
|
|
@@ -8450,7 +8393,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
8450
8393
|
opts = {};
|
|
8451
8394
|
}
|
|
8452
8395
|
|
|
8453
|
-
return request(_objectSpread$
|
|
8396
|
+
return request(_objectSpread$N({}, opts, {
|
|
8454
8397
|
path: PATH__JHCS
|
|
8455
8398
|
}), {
|
|
8456
8399
|
method: 'get',
|
|
@@ -8466,9 +8409,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
8466
8409
|
getJHCs: getJHCs
|
|
8467
8410
|
});
|
|
8468
8411
|
|
|
8469
|
-
function ownKeys$
|
|
8412
|
+
function ownKeys$M(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8470
8413
|
|
|
8471
|
-
function _objectSpread$
|
|
8414
|
+
function _objectSpread$M(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$M(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$M(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8472
8415
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
8473
8416
|
return "/businesses/" + businessId + "/kyc";
|
|
8474
8417
|
};
|
|
@@ -8525,7 +8468,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
8525
8468
|
utils_doesParamExist["default"]({
|
|
8526
8469
|
businessId: businessId
|
|
8527
8470
|
}, opts.hyperMediaEndpoint);
|
|
8528
|
-
return request(_objectSpread$
|
|
8471
|
+
return request(_objectSpread$M({}, opts, {
|
|
8529
8472
|
path: pathBusinessKyc(businessId)
|
|
8530
8473
|
}), {
|
|
8531
8474
|
method: 'get'
|
|
@@ -8547,7 +8490,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
8547
8490
|
businessId: businessId,
|
|
8548
8491
|
practiceId: practiceId
|
|
8549
8492
|
}, opts.hyperMediaEndpoint);
|
|
8550
|
-
return request(_objectSpread$
|
|
8493
|
+
return request(_objectSpread$M({}, opts, {
|
|
8551
8494
|
path: pathPracticeKyc(businessId, practiceId)
|
|
8552
8495
|
}), {
|
|
8553
8496
|
method: 'get'
|
|
@@ -8568,7 +8511,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
8568
8511
|
utils_doesParamExist["default"]({
|
|
8569
8512
|
businessId: businessId
|
|
8570
8513
|
}, opts.hyperMediaEndpoint);
|
|
8571
|
-
return request(_objectSpread$
|
|
8514
|
+
return request(_objectSpread$M({}, opts, {
|
|
8572
8515
|
path: pathBusinessKyc(businessId)
|
|
8573
8516
|
}), {
|
|
8574
8517
|
method: 'put',
|
|
@@ -8594,7 +8537,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
8594
8537
|
utils_doesParamExist["default"]({
|
|
8595
8538
|
businessId: businessId
|
|
8596
8539
|
}, opts.hyperMediaEndpoint);
|
|
8597
|
-
return request(_objectSpread$
|
|
8540
|
+
return request(_objectSpread$M({}, opts, {
|
|
8598
8541
|
path: pathBusinessCbo(businessId)
|
|
8599
8542
|
}), {
|
|
8600
8543
|
method: 'get',
|
|
@@ -8615,7 +8558,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
8615
8558
|
utils_doesParamExist["default"]({
|
|
8616
8559
|
businessId: businessId
|
|
8617
8560
|
}, opts.hyperMediaEndpoint);
|
|
8618
|
-
return request(_objectSpread$
|
|
8561
|
+
return request(_objectSpread$M({}, opts, {
|
|
8619
8562
|
path: pathBusinessKycVerify(businessId)
|
|
8620
8563
|
}), {
|
|
8621
8564
|
method: 'post'
|
|
@@ -8637,7 +8580,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
8637
8580
|
businessId: businessId,
|
|
8638
8581
|
practiceId: practiceId
|
|
8639
8582
|
}, opts.hyperMediaEndpoint);
|
|
8640
|
-
return request(_objectSpread$
|
|
8583
|
+
return request(_objectSpread$M({}, opts, {
|
|
8641
8584
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
8642
8585
|
}), {
|
|
8643
8586
|
method: 'post',
|
|
@@ -8658,7 +8601,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
8658
8601
|
utils_doesParamExist["default"]({
|
|
8659
8602
|
businessId: businessId
|
|
8660
8603
|
}, opts.hyperMediaEndpoint);
|
|
8661
|
-
return request(_objectSpread$
|
|
8604
|
+
return request(_objectSpread$M({}, opts, {
|
|
8662
8605
|
path: pathBusinessKycUnverify(businessId)
|
|
8663
8606
|
}), {
|
|
8664
8607
|
method: 'post'
|
|
@@ -8680,7 +8623,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
8680
8623
|
businessId: businessId,
|
|
8681
8624
|
practiceId: practiceId
|
|
8682
8625
|
}, opts.hyperMediaEndpoint);
|
|
8683
|
-
return request(_objectSpread$
|
|
8626
|
+
return request(_objectSpread$M({}, opts, {
|
|
8684
8627
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
8685
8628
|
}), {
|
|
8686
8629
|
method: 'post'
|
|
@@ -8701,7 +8644,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
8701
8644
|
utils_doesParamExist["default"]({
|
|
8702
8645
|
businessId: businessId
|
|
8703
8646
|
}, opts.hyperMediaEndpoint);
|
|
8704
|
-
return request(_objectSpread$
|
|
8647
|
+
return request(_objectSpread$M({}, opts, {
|
|
8705
8648
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
8706
8649
|
}), {
|
|
8707
8650
|
method: 'post',
|
|
@@ -8723,7 +8666,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
8723
8666
|
utils_doesParamExist["default"]({
|
|
8724
8667
|
businessId: businessId
|
|
8725
8668
|
}, opts.hyperMediaEndpoint);
|
|
8726
|
-
return request(_objectSpread$
|
|
8669
|
+
return request(_objectSpread$M({}, opts, {
|
|
8727
8670
|
path: pathRequestVerificationSupport(businessId)
|
|
8728
8671
|
}), {
|
|
8729
8672
|
method: 'post',
|
|
@@ -8745,7 +8688,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
8745
8688
|
utils_doesParamExist["default"]({
|
|
8746
8689
|
businessId: businessId
|
|
8747
8690
|
}, opts.hyperMediaEndpoint);
|
|
8748
|
-
return request(_objectSpread$
|
|
8691
|
+
return request(_objectSpread$M({}, opts, {
|
|
8749
8692
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
8750
8693
|
}), {
|
|
8751
8694
|
method: 'post',
|
|
@@ -8768,7 +8711,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
8768
8711
|
utils_doesParamExist["default"]({
|
|
8769
8712
|
businessId: businessId
|
|
8770
8713
|
}, opts.hyperMediaEndpoint);
|
|
8771
|
-
return request(_objectSpread$
|
|
8714
|
+
return request(_objectSpread$M({}, opts, {
|
|
8772
8715
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
8773
8716
|
}), {
|
|
8774
8717
|
method: 'delete'
|
|
@@ -8788,7 +8731,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
8788
8731
|
utils_doesParamExist["default"]({
|
|
8789
8732
|
businessId: businessId
|
|
8790
8733
|
}, opts.hyperMediaEndpoint);
|
|
8791
|
-
return request(_objectSpread$
|
|
8734
|
+
return request(_objectSpread$M({}, opts, {
|
|
8792
8735
|
path: pathResumeComplexVerification(businessId)
|
|
8793
8736
|
}), {
|
|
8794
8737
|
method: 'post'
|
|
@@ -8809,7 +8752,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
8809
8752
|
utils_doesParamExist["default"]({
|
|
8810
8753
|
businessId: businessId
|
|
8811
8754
|
}, opts.hyperMediaEndpoint);
|
|
8812
|
-
return request(_objectSpread$
|
|
8755
|
+
return request(_objectSpread$M({}, opts, {
|
|
8813
8756
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
8814
8757
|
}), {
|
|
8815
8758
|
method: 'get',
|
|
@@ -8827,7 +8770,7 @@ var getBusinessKycPin = function getBusinessKycPin(businessId, opts) {
|
|
|
8827
8770
|
opts = {};
|
|
8828
8771
|
}
|
|
8829
8772
|
|
|
8830
|
-
return request(_objectSpread$
|
|
8773
|
+
return request(_objectSpread$M({}, opts, {
|
|
8831
8774
|
path: pathBusinessKycPin(businessId)
|
|
8832
8775
|
}), {
|
|
8833
8776
|
method: 'get'
|
|
@@ -8867,9 +8810,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
8867
8810
|
getBusinessKycPin: getBusinessKycPin
|
|
8868
8811
|
});
|
|
8869
8812
|
|
|
8870
|
-
function ownKeys$
|
|
8813
|
+
function ownKeys$L(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8871
8814
|
|
|
8872
|
-
function _objectSpread$
|
|
8815
|
+
function _objectSpread$L(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$L(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$L(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8873
8816
|
var pathLog = function pathLog() {
|
|
8874
8817
|
return "/logs";
|
|
8875
8818
|
};
|
|
@@ -8887,7 +8830,7 @@ var createLog = function createLog(body, opts) {
|
|
|
8887
8830
|
opts = {};
|
|
8888
8831
|
}
|
|
8889
8832
|
|
|
8890
|
-
return request(_objectSpread$
|
|
8833
|
+
return request(_objectSpread$L({}, opts, {
|
|
8891
8834
|
path: pathLog()
|
|
8892
8835
|
}), {
|
|
8893
8836
|
method: 'post',
|
|
@@ -8909,7 +8852,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
8909
8852
|
utils_doesParamExist["default"]({
|
|
8910
8853
|
businessId: businessId
|
|
8911
8854
|
});
|
|
8912
|
-
return request(_objectSpread$
|
|
8855
|
+
return request(_objectSpread$L({}, opts, {
|
|
8913
8856
|
path: pathBusinessLog(businessId)
|
|
8914
8857
|
}), {
|
|
8915
8858
|
method: 'post',
|
|
@@ -8925,9 +8868,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
8925
8868
|
createBusinessLog: createBusinessLog
|
|
8926
8869
|
});
|
|
8927
8870
|
|
|
8928
|
-
function ownKeys$
|
|
8871
|
+
function ownKeys$K(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8929
8872
|
|
|
8930
|
-
function _objectSpread$
|
|
8873
|
+
function _objectSpread$K(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$K(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$K(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8931
8874
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
8932
8875
|
return "/businesses/" + businessId + "/messagemappings";
|
|
8933
8876
|
};
|
|
@@ -8946,7 +8889,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
8946
8889
|
utils_doesParamExist["default"]({
|
|
8947
8890
|
businessId: businessId
|
|
8948
8891
|
}, opts.hyperMediaEndpoint);
|
|
8949
|
-
return request(_objectSpread$
|
|
8892
|
+
return request(_objectSpread$K({}, opts, {
|
|
8950
8893
|
path: pathBusinessMessageMappings(businessId)
|
|
8951
8894
|
}), {
|
|
8952
8895
|
method: 'get',
|
|
@@ -8960,9 +8903,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
8960
8903
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
8961
8904
|
});
|
|
8962
8905
|
|
|
8963
|
-
function ownKeys$
|
|
8906
|
+
function ownKeys$J(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8964
8907
|
|
|
8965
|
-
function _objectSpread$
|
|
8908
|
+
function _objectSpread$J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$J(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8966
8909
|
|
|
8967
8910
|
// @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
|
|
8968
8911
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
@@ -9001,12 +8944,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
9001
8944
|
triggerId: triggerId,
|
|
9002
8945
|
actionId: actionId
|
|
9003
8946
|
}, opts.hyperMediaEndpoint);
|
|
9004
|
-
data = _objectSpread$
|
|
8947
|
+
data = _objectSpread$J({
|
|
9005
8948
|
name: name,
|
|
9006
8949
|
triggerId: triggerId,
|
|
9007
8950
|
actionId: actionId
|
|
9008
8951
|
}, body);
|
|
9009
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8952
|
+
return _context.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
9010
8953
|
path: pathMinionsForHealthFund(healthFundId)
|
|
9011
8954
|
}), {
|
|
9012
8955
|
method: 'post',
|
|
@@ -9046,7 +8989,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
9046
8989
|
opts = {};
|
|
9047
8990
|
}
|
|
9048
8991
|
|
|
9049
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8992
|
+
return _context2.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
9050
8993
|
path: pathMinionsForHealthFund(healthFundId)
|
|
9051
8994
|
}), {
|
|
9052
8995
|
method: 'get',
|
|
@@ -9086,7 +9029,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
9086
9029
|
healthFundId: healthFundId,
|
|
9087
9030
|
minionId: minionId
|
|
9088
9031
|
}, opts.hyperMediaEndpoint);
|
|
9089
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9032
|
+
return _context3.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
9090
9033
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
9091
9034
|
}), {
|
|
9092
9035
|
method: 'get'
|
|
@@ -9126,7 +9069,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
9126
9069
|
healthFundId: healthFundId,
|
|
9127
9070
|
minionId: minionId
|
|
9128
9071
|
}, opts.hyperMediaEndpoint);
|
|
9129
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9072
|
+
return _context4.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
9130
9073
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
9131
9074
|
}), {
|
|
9132
9075
|
method: 'put',
|
|
@@ -9166,7 +9109,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
9166
9109
|
healthFundId: healthFundId,
|
|
9167
9110
|
minionId: minionId
|
|
9168
9111
|
}, opts.hyperMediaEndpoint);
|
|
9169
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9112
|
+
return _context5.abrupt("return", request(_objectSpread$J({}, opts, {
|
|
9170
9113
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
9171
9114
|
}), {
|
|
9172
9115
|
method: 'delete'
|
|
@@ -9194,9 +9137,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
9194
9137
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
9195
9138
|
});
|
|
9196
9139
|
|
|
9197
|
-
function ownKeys$
|
|
9140
|
+
function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9198
9141
|
|
|
9199
|
-
function _objectSpread$
|
|
9142
|
+
function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9200
9143
|
var PATH__MODALITIES = '/modalities'; // @ts-expect-error TS(7006): Parameter 'modalityId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
9201
9144
|
|
|
9202
9145
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -9229,7 +9172,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
9229
9172
|
utils_doesParamExist["default"]({
|
|
9230
9173
|
businessId: businessId
|
|
9231
9174
|
}, opts.hyperMediaEndpoint);
|
|
9232
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9175
|
+
return _context.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9233
9176
|
path: pathBusinessModalities(businessId)
|
|
9234
9177
|
}), {
|
|
9235
9178
|
method: 'get'
|
|
@@ -9269,7 +9212,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
9269
9212
|
};
|
|
9270
9213
|
}
|
|
9271
9214
|
|
|
9272
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9215
|
+
return _context2.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9273
9216
|
path: PATH__MODALITIES
|
|
9274
9217
|
}), {
|
|
9275
9218
|
method: 'get',
|
|
@@ -9306,7 +9249,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
9306
9249
|
};
|
|
9307
9250
|
}
|
|
9308
9251
|
|
|
9309
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9252
|
+
return _context3.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9310
9253
|
path: pathModality(modalityId)
|
|
9311
9254
|
}), {
|
|
9312
9255
|
method: 'get'
|
|
@@ -9332,9 +9275,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
9332
9275
|
getModality: getModality
|
|
9333
9276
|
});
|
|
9334
9277
|
|
|
9335
|
-
function ownKeys$
|
|
9278
|
+
function ownKeys$H(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9336
9279
|
|
|
9337
|
-
function _objectSpread$
|
|
9280
|
+
function _objectSpread$H(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$H(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$H(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9338
9281
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
9339
9282
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
9340
9283
|
};
|
|
@@ -9362,7 +9305,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
9362
9305
|
healthFundId: healthFundId,
|
|
9363
9306
|
documentId: documentId
|
|
9364
9307
|
}, opts.hyperMediaEndpoint);
|
|
9365
|
-
return request(_objectSpread$
|
|
9308
|
+
return request(_objectSpread$H({}, opts, {
|
|
9366
9309
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
9367
9310
|
}), {
|
|
9368
9311
|
method: 'post',
|
|
@@ -9378,7 +9321,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
9378
9321
|
healthFundId: healthFundId,
|
|
9379
9322
|
documentId: documentId
|
|
9380
9323
|
}, opts.hyperMediaEndpoint);
|
|
9381
|
-
return request(_objectSpread$
|
|
9324
|
+
return request(_objectSpread$H({}, opts, {
|
|
9382
9325
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
9383
9326
|
}), {
|
|
9384
9327
|
method: 'get'
|
|
@@ -9393,7 +9336,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
9393
9336
|
healthFundId: healthFundId,
|
|
9394
9337
|
transactionId: transactionId
|
|
9395
9338
|
}, opts.hyperMediaEndpoint);
|
|
9396
|
-
return request(_objectSpread$
|
|
9339
|
+
return request(_objectSpread$H({}, opts, {
|
|
9397
9340
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
9398
9341
|
}), {
|
|
9399
9342
|
method: 'get'
|
|
@@ -9408,7 +9351,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
9408
9351
|
healthFundId: healthFundId,
|
|
9409
9352
|
noteId: noteId
|
|
9410
9353
|
}, opts.hyperMediaEndpoint);
|
|
9411
|
-
return request(_objectSpread$
|
|
9354
|
+
return request(_objectSpread$H({}, opts, {
|
|
9412
9355
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
9413
9356
|
}), {
|
|
9414
9357
|
method: 'get'
|
|
@@ -9422,7 +9365,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
9422
9365
|
utils_doesParamExist["default"]({
|
|
9423
9366
|
transactionId: transactionId
|
|
9424
9367
|
}, opts.hyperMediaEndpoint);
|
|
9425
|
-
return request(_objectSpread$
|
|
9368
|
+
return request(_objectSpread$H({}, opts, {
|
|
9426
9369
|
path: pathTransactionNotes(transactionId)
|
|
9427
9370
|
}), {
|
|
9428
9371
|
method: 'get',
|
|
@@ -9438,7 +9381,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
9438
9381
|
businessId: businessId,
|
|
9439
9382
|
transactionId: transactionId
|
|
9440
9383
|
}, opts.hyperMediaEndpoint);
|
|
9441
|
-
return request(_objectSpread$
|
|
9384
|
+
return request(_objectSpread$H({}, opts, {
|
|
9442
9385
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
9443
9386
|
}), {
|
|
9444
9387
|
method: 'get'
|
|
@@ -9452,7 +9395,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
9452
9395
|
utils_doesParamExist["default"]({
|
|
9453
9396
|
transactionId: transactionId
|
|
9454
9397
|
}, opts.hyperMediaEndpoint);
|
|
9455
|
-
return request(_objectSpread$
|
|
9398
|
+
return request(_objectSpread$H({}, opts, {
|
|
9456
9399
|
path: pathTransactionNotes(transactionId)
|
|
9457
9400
|
}), {
|
|
9458
9401
|
method: 'post',
|
|
@@ -9468,7 +9411,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
9468
9411
|
transactionId: transactionId,
|
|
9469
9412
|
transactionNoteId: transactionNoteId
|
|
9470
9413
|
}, opts.hyperMediaEndpoint);
|
|
9471
|
-
return request(_objectSpread$
|
|
9414
|
+
return request(_objectSpread$H({}, opts, {
|
|
9472
9415
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
9473
9416
|
}), {
|
|
9474
9417
|
method: 'delete'
|
|
@@ -9483,7 +9426,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
9483
9426
|
healthFundId: healthFundId,
|
|
9484
9427
|
noteId: noteId
|
|
9485
9428
|
}, opts.hyperMediaEndpoint);
|
|
9486
|
-
return request(_objectSpread$
|
|
9429
|
+
return request(_objectSpread$H({}, opts, {
|
|
9487
9430
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
9488
9431
|
}), {
|
|
9489
9432
|
method: 'put',
|
|
@@ -9499,7 +9442,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
9499
9442
|
healthFundId: healthFundId,
|
|
9500
9443
|
noteId: noteId
|
|
9501
9444
|
}, opts.hyperMediaEndpoint);
|
|
9502
|
-
return request(_objectSpread$
|
|
9445
|
+
return request(_objectSpread$H({}, opts, {
|
|
9503
9446
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
9504
9447
|
}), {
|
|
9505
9448
|
method: 'delete'
|
|
@@ -9526,9 +9469,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
9526
9469
|
deleteHealthFundNote: deleteHealthFundNote
|
|
9527
9470
|
});
|
|
9528
9471
|
|
|
9529
|
-
function ownKeys$
|
|
9472
|
+
function ownKeys$G(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9530
9473
|
|
|
9531
|
-
function _objectSpread$
|
|
9474
|
+
function _objectSpread$G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$G(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9532
9475
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
9533
9476
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
9534
9477
|
};
|
|
@@ -9559,7 +9502,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
9559
9502
|
utils_doesParamExist["default"]({
|
|
9560
9503
|
practiceId: practiceId
|
|
9561
9504
|
});
|
|
9562
|
-
return request(_objectSpread$
|
|
9505
|
+
return request(_objectSpread$G({}, opts, {
|
|
9563
9506
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
9564
9507
|
}), {
|
|
9565
9508
|
method: 'post',
|
|
@@ -9592,7 +9535,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
9592
9535
|
businessId: businessId,
|
|
9593
9536
|
practiceId: practiceId
|
|
9594
9537
|
}, opts.hyperMediaEndpoint);
|
|
9595
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9538
|
+
return _context.abrupt("return", request(_objectSpread$G({}, opts, {
|
|
9596
9539
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
9597
9540
|
}), {
|
|
9598
9541
|
method: 'get',
|
|
@@ -9626,7 +9569,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
9626
9569
|
utils_doesParamExist["default"]({
|
|
9627
9570
|
businessId: businessId
|
|
9628
9571
|
});
|
|
9629
|
-
return request(_objectSpread$
|
|
9572
|
+
return request(_objectSpread$G({}, opts, {
|
|
9630
9573
|
path: pathBusinessOnboardingApplications(businessId)
|
|
9631
9574
|
}), {
|
|
9632
9575
|
method: 'get',
|
|
@@ -9646,7 +9589,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
9646
9589
|
utils_doesParamExist["default"]({
|
|
9647
9590
|
businessId: businessId
|
|
9648
9591
|
});
|
|
9649
|
-
return request(_objectSpread$
|
|
9592
|
+
return request(_objectSpread$G({}, opts, {
|
|
9650
9593
|
path: pathBusinessOnboardingApplications(businessId)
|
|
9651
9594
|
}), {
|
|
9652
9595
|
method: 'post',
|
|
@@ -9666,7 +9609,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
9666
9609
|
utils_doesParamExist["default"]({
|
|
9667
9610
|
businessId: businessId
|
|
9668
9611
|
});
|
|
9669
|
-
return request(_objectSpread$
|
|
9612
|
+
return request(_objectSpread$G({}, opts, {
|
|
9670
9613
|
path: pathBusinessOnboardingApplications(businessId)
|
|
9671
9614
|
}), {
|
|
9672
9615
|
method: 'put',
|
|
@@ -9690,7 +9633,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
9690
9633
|
staffId: staffId,
|
|
9691
9634
|
providerSetItemId: providerSetItemId
|
|
9692
9635
|
});
|
|
9693
|
-
return request(_objectSpread$
|
|
9636
|
+
return request(_objectSpread$G({}, opts, {
|
|
9694
9637
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
9695
9638
|
}), {
|
|
9696
9639
|
method: 'post',
|
|
@@ -9712,7 +9655,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
9712
9655
|
utils_doesParamExist["default"]({
|
|
9713
9656
|
businessId: businessId
|
|
9714
9657
|
});
|
|
9715
|
-
return request(_objectSpread$
|
|
9658
|
+
return request(_objectSpread$G({}, opts, {
|
|
9716
9659
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
9717
9660
|
}), {
|
|
9718
9661
|
method: 'get',
|
|
@@ -9736,9 +9679,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
9736
9679
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
9737
9680
|
});
|
|
9738
9681
|
|
|
9739
|
-
function ownKeys$
|
|
9682
|
+
function ownKeys$F(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9740
9683
|
|
|
9741
|
-
function _objectSpread$
|
|
9684
|
+
function _objectSpread$F(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$F(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9742
9685
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
9743
9686
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
9744
9687
|
};
|
|
@@ -9770,7 +9713,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
9770
9713
|
utils_doesParamExist["default"]({
|
|
9771
9714
|
onboardingRequestId: onboardingRequestId
|
|
9772
9715
|
}, opts.hyperMediaEndpoint);
|
|
9773
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9716
|
+
return _context.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9774
9717
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
9775
9718
|
}), {
|
|
9776
9719
|
method: 'get'
|
|
@@ -9812,7 +9755,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
9812
9755
|
utils_doesParamExist["default"]({
|
|
9813
9756
|
businessId: businessId
|
|
9814
9757
|
}, opts.hyperMediaEndpoint);
|
|
9815
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9758
|
+
return _context2.abrupt("return", request(_objectSpread$F({}, opts, {
|
|
9816
9759
|
path: pathBusinessOnboardingRequests(businessId)
|
|
9817
9760
|
}), {
|
|
9818
9761
|
method: 'get',
|
|
@@ -9844,7 +9787,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
9844
9787
|
utils_doesParamExist["default"]({
|
|
9845
9788
|
businessId: businessId
|
|
9846
9789
|
});
|
|
9847
|
-
return request(_objectSpread$
|
|
9790
|
+
return request(_objectSpread$F({}, opts, {
|
|
9848
9791
|
path: pathBusinessOnboardingRequests(businessId)
|
|
9849
9792
|
}), {
|
|
9850
9793
|
method: 'post',
|
|
@@ -9864,7 +9807,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
9864
9807
|
utils_doesParamExist["default"]({
|
|
9865
9808
|
onboardingRequestId: onboardingRequestId
|
|
9866
9809
|
});
|
|
9867
|
-
return request(_objectSpread$
|
|
9810
|
+
return request(_objectSpread$F({}, opts, {
|
|
9868
9811
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
9869
9812
|
}), {
|
|
9870
9813
|
method: 'post',
|
|
@@ -9885,7 +9828,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
9885
9828
|
utils_doesParamExist["default"]({
|
|
9886
9829
|
onboardingRequestId: onboardingRequestId
|
|
9887
9830
|
});
|
|
9888
|
-
return request(_objectSpread$
|
|
9831
|
+
return request(_objectSpread$F({}, opts, {
|
|
9889
9832
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
9890
9833
|
}), {
|
|
9891
9834
|
method: 'put',
|
|
@@ -9905,7 +9848,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
9905
9848
|
utils_doesParamExist["default"]({
|
|
9906
9849
|
onboardingRequestId: onboardingRequestId
|
|
9907
9850
|
});
|
|
9908
|
-
return request(_objectSpread$
|
|
9851
|
+
return request(_objectSpread$F({}, opts, {
|
|
9909
9852
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
9910
9853
|
}), {
|
|
9911
9854
|
method: 'delete',
|
|
@@ -9927,9 +9870,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
9927
9870
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
9928
9871
|
});
|
|
9929
9872
|
|
|
9930
|
-
function ownKeys$
|
|
9873
|
+
function ownKeys$E(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9931
9874
|
|
|
9932
|
-
function _objectSpread$
|
|
9875
|
+
function _objectSpread$E(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$E(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9933
9876
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
9934
9877
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
9935
9878
|
var PATH__OPS_DECRTPT = '/ops/decrypt'; // @ts-expect-error TS(7006): Parameter 'deploymentId' implicitly has an 'any' t... Remove this comment to see the full error message
|
|
@@ -9963,13 +9906,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
9963
9906
|
type: type
|
|
9964
9907
|
}, opts.hyperMediaEndpoint);
|
|
9965
9908
|
|
|
9966
|
-
var data = _objectSpread$
|
|
9909
|
+
var data = _objectSpread$E({
|
|
9967
9910
|
fullName: fullName,
|
|
9968
9911
|
displayName: displayName,
|
|
9969
9912
|
type: type
|
|
9970
9913
|
}, body);
|
|
9971
9914
|
|
|
9972
|
-
return request(_objectSpread$
|
|
9915
|
+
return request(_objectSpread$E({}, opts, {
|
|
9973
9916
|
path: PATH__OPS_SERVICES
|
|
9974
9917
|
}), {
|
|
9975
9918
|
method: 'post',
|
|
@@ -9990,7 +9933,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
9990
9933
|
utils_doesParamExist["default"]({
|
|
9991
9934
|
serviceId: serviceId
|
|
9992
9935
|
}, opts.hyperMediaEndpoint);
|
|
9993
|
-
return request(_objectSpread$
|
|
9936
|
+
return request(_objectSpread$E({}, opts, {
|
|
9994
9937
|
path: pathOpsService(serviceId)
|
|
9995
9938
|
}), {
|
|
9996
9939
|
method: 'delete'
|
|
@@ -10010,7 +9953,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
10010
9953
|
utils_doesParamExist["default"]({
|
|
10011
9954
|
serviceId: serviceId
|
|
10012
9955
|
}, opts.hyperMediaEndpoint);
|
|
10013
|
-
return request(_objectSpread$
|
|
9956
|
+
return request(_objectSpread$E({}, opts, {
|
|
10014
9957
|
path: PATH__OPS_DEPLOYMENTS
|
|
10015
9958
|
}), {
|
|
10016
9959
|
method: 'post',
|
|
@@ -10034,7 +9977,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
10034
9977
|
opts = {};
|
|
10035
9978
|
}
|
|
10036
9979
|
|
|
10037
|
-
return request(_objectSpread$
|
|
9980
|
+
return request(_objectSpread$E({}, opts, {
|
|
10038
9981
|
path: PATH__OPS_DEPLOYMENTS
|
|
10039
9982
|
}), {
|
|
10040
9983
|
method: 'get',
|
|
@@ -10055,7 +9998,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
10055
9998
|
utils_doesParamExist["default"]({
|
|
10056
9999
|
deploymentId: deploymentId
|
|
10057
10000
|
}, opts.hyperMediaEndpoint);
|
|
10058
|
-
return request(_objectSpread$
|
|
10001
|
+
return request(_objectSpread$E({}, opts, {
|
|
10059
10002
|
path: pathOpsDeployment(deploymentId)
|
|
10060
10003
|
}), {
|
|
10061
10004
|
method: 'get'
|
|
@@ -10076,7 +10019,7 @@ var getServices = function getServices(query, opts) {
|
|
|
10076
10019
|
opts = {};
|
|
10077
10020
|
}
|
|
10078
10021
|
|
|
10079
|
-
return request(_objectSpread$
|
|
10022
|
+
return request(_objectSpread$E({}, opts, {
|
|
10080
10023
|
path: PATH__OPS_SERVICES
|
|
10081
10024
|
}), {
|
|
10082
10025
|
method: 'get',
|
|
@@ -10097,7 +10040,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
10097
10040
|
utils_doesParamExist["default"]({
|
|
10098
10041
|
serviceId: serviceId
|
|
10099
10042
|
}, opts.hyperMediaEndpoint);
|
|
10100
|
-
return request(_objectSpread$
|
|
10043
|
+
return request(_objectSpread$E({}, opts, {
|
|
10101
10044
|
path: pathOpsService(serviceId)
|
|
10102
10045
|
}), {
|
|
10103
10046
|
method: 'get'
|
|
@@ -10118,7 +10061,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
10118
10061
|
utils_doesParamExist["default"]({
|
|
10119
10062
|
serviceId: serviceId
|
|
10120
10063
|
}, opts.hyperMediaEndpoint);
|
|
10121
|
-
return request(_objectSpread$
|
|
10064
|
+
return request(_objectSpread$E({}, opts, {
|
|
10122
10065
|
path: pathOpsService(serviceId)
|
|
10123
10066
|
}), {
|
|
10124
10067
|
method: 'put',
|
|
@@ -10140,7 +10083,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
10140
10083
|
utils_doesParamExist["default"]({
|
|
10141
10084
|
serviceId: serviceId
|
|
10142
10085
|
}, opts.hyperMediaEndpoint);
|
|
10143
|
-
return request(_objectSpread$
|
|
10086
|
+
return request(_objectSpread$E({}, opts, {
|
|
10144
10087
|
path: PATH__OPS_DECRTPT
|
|
10145
10088
|
}), {
|
|
10146
10089
|
method: 'post',
|
|
@@ -10161,9 +10104,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
10161
10104
|
decrypt: decrypt
|
|
10162
10105
|
});
|
|
10163
10106
|
|
|
10164
|
-
function ownKeys$
|
|
10107
|
+
function ownKeys$D(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10165
10108
|
|
|
10166
|
-
function _objectSpread$
|
|
10109
|
+
function _objectSpread$D(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$D(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$D(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10167
10110
|
var PATH__ORGANISATIONS = '/organisations';
|
|
10168
10111
|
/**
|
|
10169
10112
|
* Get organisations
|
|
@@ -10180,7 +10123,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
10180
10123
|
opts = {};
|
|
10181
10124
|
}
|
|
10182
10125
|
|
|
10183
|
-
return request(_objectSpread$
|
|
10126
|
+
return request(_objectSpread$D({}, opts, {
|
|
10184
10127
|
path: PATH__ORGANISATIONS
|
|
10185
10128
|
}), {
|
|
10186
10129
|
method: 'get',
|
|
@@ -10193,9 +10136,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
10193
10136
|
getOrganisations: getOrganisations
|
|
10194
10137
|
});
|
|
10195
10138
|
|
|
10196
|
-
function ownKeys$
|
|
10139
|
+
function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10197
10140
|
|
|
10198
|
-
function _objectSpread$
|
|
10141
|
+
function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$C(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10199
10142
|
var PATH__PARTNERS = '/partners'; // @ts-expect-error TS(7006): Parameter 'partnerId' implicitly has an 'any' type... Remove this comment to see the full error message
|
|
10200
10143
|
|
|
10201
10144
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -10237,7 +10180,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
10237
10180
|
opts = {};
|
|
10238
10181
|
}
|
|
10239
10182
|
|
|
10240
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10183
|
+
return _context.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
10241
10184
|
path: PATH__PARTNERS
|
|
10242
10185
|
}), {
|
|
10243
10186
|
method: 'get',
|
|
@@ -10275,7 +10218,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
10275
10218
|
utils_doesParamExist["default"]({
|
|
10276
10219
|
partnerId: partnerId
|
|
10277
10220
|
}, opts.hyperMediaEndpoint);
|
|
10278
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10221
|
+
return _context2.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
10279
10222
|
path: pathPartner(partnerId)
|
|
10280
10223
|
}), {
|
|
10281
10224
|
method: 'get'
|
|
@@ -10313,7 +10256,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
10313
10256
|
utils_doesParamExist["default"]({
|
|
10314
10257
|
partnerId: partnerId
|
|
10315
10258
|
}, opts.hyperMediaEndpoint);
|
|
10316
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
10259
|
+
return _context3.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
10317
10260
|
path: pathPartner(partnerId)
|
|
10318
10261
|
}), {
|
|
10319
10262
|
method: 'put',
|
|
@@ -10354,10 +10297,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
10354
10297
|
utils_doesParamExist["default"]({
|
|
10355
10298
|
partnerId: partnerId
|
|
10356
10299
|
}, opts.hyperMediaEndpoint);
|
|
10357
|
-
data = _objectSpread$
|
|
10300
|
+
data = _objectSpread$C({
|
|
10358
10301
|
fullNameId: fullNameId
|
|
10359
10302
|
}, body);
|
|
10360
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10303
|
+
return _context4.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
10361
10304
|
path: pathPartnerPractices(partnerId)
|
|
10362
10305
|
}), {
|
|
10363
10306
|
method: 'put',
|
|
@@ -10401,10 +10344,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
10401
10344
|
practiceId: practiceId,
|
|
10402
10345
|
providerNumberId: providerNumberId
|
|
10403
10346
|
}, opts.hyperMediaEndpoint);
|
|
10404
|
-
data = _objectSpread$
|
|
10347
|
+
data = _objectSpread$C({
|
|
10405
10348
|
providerNumberId: providerNumberId
|
|
10406
10349
|
}, body);
|
|
10407
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10350
|
+
return _context5.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
10408
10351
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
10409
10352
|
}), {
|
|
10410
10353
|
method: 'put',
|
|
@@ -10447,7 +10390,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
10447
10390
|
utils_doesParamExist["default"]({
|
|
10448
10391
|
accountId: accountId
|
|
10449
10392
|
}, opts.hyperMediaEndpoint);
|
|
10450
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
10393
|
+
return _context6.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
10451
10394
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
10452
10395
|
}), {
|
|
10453
10396
|
method: 'post',
|
|
@@ -10487,7 +10430,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
10487
10430
|
utils_doesParamExist["default"]({
|
|
10488
10431
|
accountId: accountId
|
|
10489
10432
|
}, opts.hyperMediaEndpoint);
|
|
10490
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
10433
|
+
return _context7.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
10491
10434
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
10492
10435
|
}), {
|
|
10493
10436
|
method: 'post'
|
|
@@ -10517,9 +10460,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
10517
10460
|
notifyPartnerAccount: notifyPartnerAccount
|
|
10518
10461
|
});
|
|
10519
10462
|
|
|
10520
|
-
function ownKeys$
|
|
10463
|
+
function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10521
10464
|
|
|
10522
|
-
function _objectSpread$
|
|
10465
|
+
function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$B(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10523
10466
|
|
|
10524
10467
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
10525
10468
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -10555,7 +10498,7 @@ var requestUpdatePatientPaymentMethod = function requestUpdatePatientPaymentMeth
|
|
|
10555
10498
|
businessId: businessId,
|
|
10556
10499
|
patientId: patientId
|
|
10557
10500
|
}, opts.hyperMediaEndpoint);
|
|
10558
|
-
return request(_objectSpread$
|
|
10501
|
+
return request(_objectSpread$B({}, opts, {
|
|
10559
10502
|
path: pathRequestUpdatePatientPaymentMethod(businessId, patientId)
|
|
10560
10503
|
}), {
|
|
10561
10504
|
method: 'post',
|
|
@@ -10582,7 +10525,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
10582
10525
|
utils_doesParamExist["default"]({
|
|
10583
10526
|
businessId: businessId
|
|
10584
10527
|
}, opts.hyperMediaEndpoint);
|
|
10585
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10528
|
+
return _context.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
10586
10529
|
path: pathBusinessPatients(businessId)
|
|
10587
10530
|
}), {
|
|
10588
10531
|
method: 'post',
|
|
@@ -10625,7 +10568,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
10625
10568
|
utils_doesParamExist["default"]({
|
|
10626
10569
|
businessId: businessId
|
|
10627
10570
|
}, opts.hyperMediaEndpoint);
|
|
10628
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10571
|
+
return _context2.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
10629
10572
|
path: pathBusinessPatients(businessId)
|
|
10630
10573
|
}), {
|
|
10631
10574
|
method: 'get',
|
|
@@ -10664,7 +10607,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
10664
10607
|
utils_doesParamExist["default"]({
|
|
10665
10608
|
businessId: businessId
|
|
10666
10609
|
}, opts.hyperMediaEndpoint);
|
|
10667
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
10610
|
+
return _context3.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
10668
10611
|
path: pathBusinessPatient(businessId, patientId)
|
|
10669
10612
|
}), {
|
|
10670
10613
|
method: 'get'
|
|
@@ -10703,7 +10646,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
10703
10646
|
businessId: businessId,
|
|
10704
10647
|
refId: refId
|
|
10705
10648
|
}, opts.hyperMediaEndpoint);
|
|
10706
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10649
|
+
return _context4.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
10707
10650
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
10708
10651
|
}), {
|
|
10709
10652
|
method: 'get'
|
|
@@ -10742,7 +10685,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
10742
10685
|
utils_doesParamExist["default"]({
|
|
10743
10686
|
businessId: businessId
|
|
10744
10687
|
}, opts.hyperMediaEndpoint);
|
|
10745
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10688
|
+
return _context5.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
10746
10689
|
path: pathBusinessPatient(businessId, patientId)
|
|
10747
10690
|
}), {
|
|
10748
10691
|
method: 'put',
|
|
@@ -10781,7 +10724,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
10781
10724
|
utils_doesParamExist["default"]({
|
|
10782
10725
|
businessId: businessId
|
|
10783
10726
|
}, opts.hyperMediaEndpoint);
|
|
10784
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
10727
|
+
return _context6.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
10785
10728
|
path: pathBusinessPatient(businessId, patientId)
|
|
10786
10729
|
}), {
|
|
10787
10730
|
method: 'delete'
|
|
@@ -10811,9 +10754,9 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
10811
10754
|
deleteBusinessPatient: deleteBusinessPatient
|
|
10812
10755
|
});
|
|
10813
10756
|
|
|
10814
|
-
function ownKeys$
|
|
10757
|
+
function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10815
10758
|
|
|
10816
|
-
function _objectSpread$
|
|
10759
|
+
function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$A(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10817
10760
|
var PATH__PAYMENTS = '/payments'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
|
|
10818
10761
|
|
|
10819
10762
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -10887,7 +10830,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10887
10830
|
nonce: nonce,
|
|
10888
10831
|
source: source
|
|
10889
10832
|
}, opts.hyperMediaEndpoint);
|
|
10890
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10833
|
+
return _context.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
10891
10834
|
path: pathAccountPaymentMethods(accountId)
|
|
10892
10835
|
}), {
|
|
10893
10836
|
method: 'post',
|
|
@@ -10931,7 +10874,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
10931
10874
|
nonce: nonce,
|
|
10932
10875
|
source: source
|
|
10933
10876
|
}, opts.hyperMediaEndpoint);
|
|
10934
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10877
|
+
return _context2.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
10935
10878
|
path: pathBusinessPaymentMethods(businessId)
|
|
10936
10879
|
}), {
|
|
10937
10880
|
method: 'post',
|
|
@@ -10977,7 +10920,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
10977
10920
|
nonce: nonce,
|
|
10978
10921
|
source: source
|
|
10979
10922
|
}, opts.hyperMediaEndpoint);
|
|
10980
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
10923
|
+
return _context3.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
10981
10924
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
10982
10925
|
}), {
|
|
10983
10926
|
method: 'post',
|
|
@@ -11021,7 +10964,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
11021
10964
|
accountId: accountId,
|
|
11022
10965
|
paymentMethodId: paymentMethodId
|
|
11023
10966
|
}, opts.hyperMediaEndpoint);
|
|
11024
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10967
|
+
return _context4.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11025
10968
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
11026
10969
|
}), {
|
|
11027
10970
|
method: 'delete'
|
|
@@ -11061,7 +11004,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
11061
11004
|
businessId: businessId,
|
|
11062
11005
|
paymentMethodId: paymentMethodId
|
|
11063
11006
|
}, opts.hyperMediaEndpoint);
|
|
11064
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11007
|
+
return _context5.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11065
11008
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
11066
11009
|
}), {
|
|
11067
11010
|
method: 'delete'
|
|
@@ -11103,7 +11046,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
11103
11046
|
patientId: patientId,
|
|
11104
11047
|
paymentMethodId: paymentMethodId
|
|
11105
11048
|
}, opts.hyperMediaEndpoint);
|
|
11106
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11049
|
+
return _context6.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11107
11050
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
11108
11051
|
}), {
|
|
11109
11052
|
method: 'delete'
|
|
@@ -11141,7 +11084,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
11141
11084
|
utils_doesParamExist["default"]({
|
|
11142
11085
|
accountId: accountId
|
|
11143
11086
|
}, opts.hyperMediaEndpoint);
|
|
11144
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11087
|
+
return _context7.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11145
11088
|
path: pathAccountPaymentMethods(accountId)
|
|
11146
11089
|
}), {
|
|
11147
11090
|
method: 'get'
|
|
@@ -11179,7 +11122,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
11179
11122
|
utils_doesParamExist["default"]({
|
|
11180
11123
|
businessId: businessId
|
|
11181
11124
|
}, opts.hyperMediaEndpoint);
|
|
11182
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11125
|
+
return _context8.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11183
11126
|
path: pathBusinessPaymentMethods(businessId)
|
|
11184
11127
|
}), {
|
|
11185
11128
|
method: 'get'
|
|
@@ -11218,7 +11161,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
11218
11161
|
businessId: businessId,
|
|
11219
11162
|
patientId: patientId
|
|
11220
11163
|
}, opts.hyperMediaEndpoint);
|
|
11221
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11164
|
+
return _context9.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11222
11165
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
11223
11166
|
}), {
|
|
11224
11167
|
method: 'get'
|
|
@@ -11258,7 +11201,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
|
|
|
11258
11201
|
businessId: businessId,
|
|
11259
11202
|
refId: refId
|
|
11260
11203
|
}, opts.hyperMediaEndpoint);
|
|
11261
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11204
|
+
return _context10.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11262
11205
|
path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
|
|
11263
11206
|
}), {
|
|
11264
11207
|
method: 'get'
|
|
@@ -11298,7 +11241,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
11298
11241
|
accountId: accountId,
|
|
11299
11242
|
paymentMethodId: paymentMethodId
|
|
11300
11243
|
}, opts.hyperMediaEndpoint);
|
|
11301
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11244
|
+
return _context11.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11302
11245
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
11303
11246
|
}), {
|
|
11304
11247
|
method: 'get'
|
|
@@ -11338,7 +11281,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
11338
11281
|
businessId: businessId,
|
|
11339
11282
|
paymentMethodId: paymentMethodId
|
|
11340
11283
|
}, opts.hyperMediaEndpoint);
|
|
11341
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11284
|
+
return _context12.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11342
11285
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
11343
11286
|
}), {
|
|
11344
11287
|
method: 'get'
|
|
@@ -11380,7 +11323,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
11380
11323
|
patientId: patientId,
|
|
11381
11324
|
paymentMethodId: paymentMethodId
|
|
11382
11325
|
}, opts.hyperMediaEndpoint);
|
|
11383
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11326
|
+
return _context13.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11384
11327
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
11385
11328
|
}), {
|
|
11386
11329
|
method: 'get'
|
|
@@ -11420,7 +11363,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
11420
11363
|
businessId: businessId,
|
|
11421
11364
|
source: source
|
|
11422
11365
|
}, opts.hyperMediaEndpoint);
|
|
11423
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
11366
|
+
return _context14.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11424
11367
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
11425
11368
|
}), {
|
|
11426
11369
|
method: 'get',
|
|
@@ -11463,7 +11406,7 @@ var getBusinessPaymentClientToken = /*#__PURE__*/function () {
|
|
|
11463
11406
|
businessId: businessId,
|
|
11464
11407
|
patientId: patientId
|
|
11465
11408
|
}, opts.hyperMediaEndpoint);
|
|
11466
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
11409
|
+
return _context15.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11467
11410
|
path: pathBusinessPaymentClientToken(businessId, patientId)
|
|
11468
11411
|
}), {
|
|
11469
11412
|
method: 'get'
|
|
@@ -11501,7 +11444,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
11501
11444
|
utils_doesParamExist["default"]({
|
|
11502
11445
|
businessId: businessId
|
|
11503
11446
|
}, opts.hyperMediaEndpoint);
|
|
11504
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
11447
|
+
return _context16.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11505
11448
|
path: pathBusinessSalesClientToken(businessId)
|
|
11506
11449
|
}), {
|
|
11507
11450
|
method: 'get'
|
|
@@ -11541,7 +11484,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
11541
11484
|
utils_doesParamExist["default"]({
|
|
11542
11485
|
source: source
|
|
11543
11486
|
}, opts.hyperMediaEndpoint);
|
|
11544
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
11487
|
+
return _context17.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11545
11488
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
11546
11489
|
}), {
|
|
11547
11490
|
method: 'get',
|
|
@@ -11585,7 +11528,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
11585
11528
|
accountId: accountId,
|
|
11586
11529
|
paymentMethodId: paymentMethodId
|
|
11587
11530
|
}, opts.hyperMediaEndpoint);
|
|
11588
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
11531
|
+
return _context18.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11589
11532
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
11590
11533
|
}), {
|
|
11591
11534
|
data: body,
|
|
@@ -11626,7 +11569,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
11626
11569
|
businessId: businessId,
|
|
11627
11570
|
paymentMethodId: paymentMethodId
|
|
11628
11571
|
}, opts.hyperMediaEndpoint);
|
|
11629
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
11572
|
+
return _context19.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11630
11573
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
11631
11574
|
}), {
|
|
11632
11575
|
data: body,
|
|
@@ -11668,7 +11611,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
11668
11611
|
patientId: patientId,
|
|
11669
11612
|
paymentMethodId: paymentMethodId
|
|
11670
11613
|
}, opts.hyperMediaEndpoint);
|
|
11671
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
11614
|
+
return _context20.abrupt("return", request(_objectSpread$A({}, opts, {
|
|
11672
11615
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
11673
11616
|
}), {
|
|
11674
11617
|
data: body,
|
|
@@ -11818,7 +11761,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
11818
11761
|
throw new Error(getPaymentGatewayError(updateSessionResponse));
|
|
11819
11762
|
|
|
11820
11763
|
case 38:
|
|
11821
|
-
return _context21.abrupt("return", _objectSpread$
|
|
11764
|
+
return _context21.abrupt("return", _objectSpread$A({}, clientToken, {
|
|
11822
11765
|
nonce: clientToken.clientToken,
|
|
11823
11766
|
sourceResponse: updateSessionResponse
|
|
11824
11767
|
}));
|
|
@@ -11861,7 +11804,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
11861
11804
|
|
|
11862
11805
|
case 47:
|
|
11863
11806
|
sourceResponse = _context21.sent;
|
|
11864
|
-
return _context21.abrupt("return", _objectSpread$
|
|
11807
|
+
return _context21.abrupt("return", _objectSpread$A({}, clientToken, {
|
|
11865
11808
|
nonce: _get__default["default"](sourceResponse, 'creditCards[0].nonce'),
|
|
11866
11809
|
sourceResponse: sourceResponse
|
|
11867
11810
|
}));
|
|
@@ -11918,7 +11861,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
11918
11861
|
|
|
11919
11862
|
case 66:
|
|
11920
11863
|
sourceResponse = _context21.sent;
|
|
11921
|
-
return _context21.abrupt("return", _objectSpread$
|
|
11864
|
+
return _context21.abrupt("return", _objectSpread$A({}, clientToken, {
|
|
11922
11865
|
nonce: sourceResponse.nonce,
|
|
11923
11866
|
sourceResponse: sourceResponse
|
|
11924
11867
|
}));
|
|
@@ -11948,7 +11891,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
11948
11891
|
|
|
11949
11892
|
case 75:
|
|
11950
11893
|
canMakeApplePayment = _context21.sent;
|
|
11951
|
-
return _context21.abrupt("return", _objectSpread$
|
|
11894
|
+
return _context21.abrupt("return", _objectSpread$A({}, clientToken, {
|
|
11952
11895
|
applePayInstance: applePayInstance,
|
|
11953
11896
|
canMakeApplePayment: canMakeApplePayment,
|
|
11954
11897
|
paymentRequest: paymentRequest
|
|
@@ -11996,9 +11939,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
11996
11939
|
getNonce: getNonce
|
|
11997
11940
|
});
|
|
11998
11941
|
|
|
11999
|
-
function ownKeys$
|
|
11942
|
+
function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12000
11943
|
|
|
12001
|
-
function _objectSpread$
|
|
11944
|
+
function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12002
11945
|
|
|
12003
11946
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
12004
11947
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
@@ -12039,7 +11982,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
12039
11982
|
utils_doesParamExist["default"]({
|
|
12040
11983
|
businessId: businessId
|
|
12041
11984
|
}, opts.hyperMediaEndpoint);
|
|
12042
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
11985
|
+
return _context.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12043
11986
|
path: pathBusinessPmsPractices(businessId)
|
|
12044
11987
|
}), {
|
|
12045
11988
|
method: 'get',
|
|
@@ -12082,7 +12025,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
12082
12025
|
utils_doesParamExist["default"]({
|
|
12083
12026
|
businessId: businessId
|
|
12084
12027
|
}, opts.hyperMediaEndpoint);
|
|
12085
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12028
|
+
return _context2.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12086
12029
|
path: pathBusinessPmsServices(businessId)
|
|
12087
12030
|
}), {
|
|
12088
12031
|
method: 'get',
|
|
@@ -12125,7 +12068,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
12125
12068
|
utils_doesParamExist["default"]({
|
|
12126
12069
|
businessId: businessId
|
|
12127
12070
|
}, opts.hyperMediaEndpoint);
|
|
12128
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12071
|
+
return _context3.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12129
12072
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
12130
12073
|
}), {
|
|
12131
12074
|
method: 'get',
|
|
@@ -12164,7 +12107,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
12164
12107
|
utils_doesParamExist["default"]({
|
|
12165
12108
|
businessId: businessId
|
|
12166
12109
|
}, opts.hyperMediaEndpoint);
|
|
12167
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12110
|
+
return _context4.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12168
12111
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
12169
12112
|
}), {
|
|
12170
12113
|
method: 'post',
|
|
@@ -12203,7 +12146,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
12203
12146
|
utils_doesParamExist["default"]({
|
|
12204
12147
|
businessId: businessId
|
|
12205
12148
|
}, opts.hyperMediaEndpoint);
|
|
12206
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
12149
|
+
return _context5.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12207
12150
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
12208
12151
|
}), {
|
|
12209
12152
|
method: 'post',
|
|
@@ -12242,7 +12185,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
12242
12185
|
utils_doesParamExist["default"]({
|
|
12243
12186
|
businessId: businessId
|
|
12244
12187
|
}, opts.hyperMediaEndpoint);
|
|
12245
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
12188
|
+
return _context6.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12246
12189
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
12247
12190
|
}), {
|
|
12248
12191
|
method: 'post',
|
|
@@ -12272,9 +12215,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
12272
12215
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
12273
12216
|
});
|
|
12274
12217
|
|
|
12275
|
-
function ownKeys$
|
|
12218
|
+
function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12276
12219
|
|
|
12277
|
-
function _objectSpread$
|
|
12220
|
+
function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$y(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12278
12221
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
12279
12222
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
12280
12223
|
};
|
|
@@ -12295,7 +12238,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
12295
12238
|
utils_doesParamExist["default"]({
|
|
12296
12239
|
organisationId: organisationId
|
|
12297
12240
|
}, opts.hyperMediaEndpoint);
|
|
12298
|
-
return request(_objectSpread$
|
|
12241
|
+
return request(_objectSpread$y({}, opts, {
|
|
12299
12242
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
12300
12243
|
}), {
|
|
12301
12244
|
method: 'get',
|
|
@@ -12310,7 +12253,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
12310
12253
|
utils_doesParamExist["default"]({
|
|
12311
12254
|
practiceProfileId: practiceProfileId
|
|
12312
12255
|
}, opts.hyperMediaEndpoint);
|
|
12313
|
-
return request(_objectSpread$
|
|
12256
|
+
return request(_objectSpread$y({}, opts, {
|
|
12314
12257
|
path: pathPracticeProfile(practiceProfileId)
|
|
12315
12258
|
}), {
|
|
12316
12259
|
method: 'get'
|
|
@@ -12328,7 +12271,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
12328
12271
|
var body = {
|
|
12329
12272
|
practiceId: practiceId
|
|
12330
12273
|
};
|
|
12331
|
-
return request(_objectSpread$
|
|
12274
|
+
return request(_objectSpread$y({}, opts, {
|
|
12332
12275
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
12333
12276
|
}), {
|
|
12334
12277
|
method: 'put',
|
|
@@ -12343,7 +12286,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
12343
12286
|
utils_doesParamExist["default"]({
|
|
12344
12287
|
practiceProfileId: practiceProfileId
|
|
12345
12288
|
}, opts.hyperMediaEndpoint);
|
|
12346
|
-
return request(_objectSpread$
|
|
12289
|
+
return request(_objectSpread$y({}, opts, {
|
|
12347
12290
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
12348
12291
|
}), {
|
|
12349
12292
|
method: 'put'
|
|
@@ -12362,9 +12305,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
12362
12305
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
12363
12306
|
});
|
|
12364
12307
|
|
|
12365
|
-
function ownKeys$
|
|
12308
|
+
function ownKeys$x(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12366
12309
|
|
|
12367
|
-
function _objectSpread$
|
|
12310
|
+
function _objectSpread$x(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$x(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$x(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12368
12311
|
|
|
12369
12312
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
12370
12313
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
@@ -12435,7 +12378,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
12435
12378
|
utils_doesParamExist["default"]({
|
|
12436
12379
|
businessId: businessId
|
|
12437
12380
|
}, opts.hyperMediaEndpoint);
|
|
12438
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12381
|
+
return _context.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12439
12382
|
path: pathBusinessPractices(businessId)
|
|
12440
12383
|
}), {
|
|
12441
12384
|
method: 'post',
|
|
@@ -12474,7 +12417,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
12474
12417
|
utils_doesParamExist["default"]({
|
|
12475
12418
|
organisationId: organisationId
|
|
12476
12419
|
}, opts.hyperMediaEndpoint);
|
|
12477
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12420
|
+
return _context2.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12478
12421
|
path: pathOrganisationPractices(organisationId)
|
|
12479
12422
|
}), {
|
|
12480
12423
|
method: 'post',
|
|
@@ -12514,7 +12457,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
12514
12457
|
businessId: businessId,
|
|
12515
12458
|
practiceId: practiceId
|
|
12516
12459
|
}, opts.hyperMediaEndpoint);
|
|
12517
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12460
|
+
return _context3.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12518
12461
|
path: pathBusinessPractice(businessId, practiceId)
|
|
12519
12462
|
}), {
|
|
12520
12463
|
method: 'delete'
|
|
@@ -12553,7 +12496,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
12553
12496
|
organisationId: organisationId,
|
|
12554
12497
|
practiceId: practiceId
|
|
12555
12498
|
}, opts.hyperMediaEndpoint);
|
|
12556
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12499
|
+
return _context4.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12557
12500
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
12558
12501
|
}), {
|
|
12559
12502
|
method: 'delete'
|
|
@@ -12592,7 +12535,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
12592
12535
|
businessId: businessId,
|
|
12593
12536
|
practiceId: practiceId
|
|
12594
12537
|
}, opts.hyperMediaEndpoint);
|
|
12595
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
12538
|
+
return _context5.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12596
12539
|
path: pathBusinessPractice(businessId, practiceId)
|
|
12597
12540
|
}), {
|
|
12598
12541
|
method: 'get'
|
|
@@ -12634,7 +12577,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
12634
12577
|
utils_doesParamExist["default"]({
|
|
12635
12578
|
businessId: businessId
|
|
12636
12579
|
}, opts.hyperMediaEndpoint);
|
|
12637
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
12580
|
+
return _context6.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12638
12581
|
path: pathBusinessPractices(businessId)
|
|
12639
12582
|
}), {
|
|
12640
12583
|
method: 'get',
|
|
@@ -12679,7 +12622,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
12679
12622
|
businessId: businessId,
|
|
12680
12623
|
formId: formId
|
|
12681
12624
|
}, opts.hyperMediaEndpoint);
|
|
12682
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
12625
|
+
return _context7.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12683
12626
|
path: pathBusinessFormPractices(businessId, formId)
|
|
12684
12627
|
}), {
|
|
12685
12628
|
method: 'get',
|
|
@@ -12721,7 +12664,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
12721
12664
|
practiceId: practiceId,
|
|
12722
12665
|
query: query
|
|
12723
12666
|
}, opts.hyperMediaEndpoint);
|
|
12724
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
12667
|
+
return _context8.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12725
12668
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
12726
12669
|
}), {
|
|
12727
12670
|
method: 'get',
|
|
@@ -12765,7 +12708,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
12765
12708
|
businessId: businessId,
|
|
12766
12709
|
staffId: staffId
|
|
12767
12710
|
}, opts.hyperMediaEndpoint);
|
|
12768
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
12711
|
+
return _context9.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12769
12712
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
12770
12713
|
}), {
|
|
12771
12714
|
method: 'get',
|
|
@@ -12808,7 +12751,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
12808
12751
|
utils_doesParamExist["default"]({
|
|
12809
12752
|
organisationId: organisationId
|
|
12810
12753
|
}, opts.hyperMediaEndpoint);
|
|
12811
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
12754
|
+
return _context10.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12812
12755
|
path: pathOrganisationPractices(organisationId)
|
|
12813
12756
|
}), {
|
|
12814
12757
|
method: 'get',
|
|
@@ -12847,7 +12790,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
12847
12790
|
utils_doesParamExist["default"]({
|
|
12848
12791
|
practiceId: practiceId
|
|
12849
12792
|
}, opts.hyperMediaEndpoint);
|
|
12850
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
12793
|
+
return _context11.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12851
12794
|
path: pathPractice(practiceId)
|
|
12852
12795
|
}), {
|
|
12853
12796
|
method: 'get'
|
|
@@ -12876,7 +12819,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
12876
12819
|
opts = {};
|
|
12877
12820
|
}
|
|
12878
12821
|
|
|
12879
|
-
return request(_objectSpread$
|
|
12822
|
+
return request(_objectSpread$x({}, opts, {
|
|
12880
12823
|
path: pathPractice(practiceId) + "/verify/request"
|
|
12881
12824
|
}), {
|
|
12882
12825
|
method: 'post'
|
|
@@ -12894,7 +12837,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
12894
12837
|
opts = {};
|
|
12895
12838
|
}
|
|
12896
12839
|
|
|
12897
|
-
return request(_objectSpread$
|
|
12840
|
+
return request(_objectSpread$x({}, opts, {
|
|
12898
12841
|
path: pathPractice(practiceId) + "/access/request"
|
|
12899
12842
|
}), {
|
|
12900
12843
|
method: 'post',
|
|
@@ -12918,7 +12861,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
12918
12861
|
opts = {};
|
|
12919
12862
|
}
|
|
12920
12863
|
|
|
12921
|
-
return request(_objectSpread$
|
|
12864
|
+
return request(_objectSpread$x({}, opts, {
|
|
12922
12865
|
path: pathOnboardingPractices()
|
|
12923
12866
|
}), {
|
|
12924
12867
|
method: 'get',
|
|
@@ -12947,7 +12890,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
12947
12890
|
businessId: businessId,
|
|
12948
12891
|
practiceId: practiceId
|
|
12949
12892
|
}, opts.hyperMediaEndpoint);
|
|
12950
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
12893
|
+
return _context12.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12951
12894
|
path: pathBusinessPractice(businessId, practiceId)
|
|
12952
12895
|
}), {
|
|
12953
12896
|
method: 'put',
|
|
@@ -12988,7 +12931,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
12988
12931
|
organisationId: organisationId,
|
|
12989
12932
|
practiceId: practiceId
|
|
12990
12933
|
}, opts.hyperMediaEndpoint);
|
|
12991
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
12934
|
+
return _context13.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
12992
12935
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
12993
12936
|
}), {
|
|
12994
12937
|
method: 'put',
|
|
@@ -13020,11 +12963,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
13020
12963
|
opts = {};
|
|
13021
12964
|
}
|
|
13022
12965
|
|
|
13023
|
-
return request(_objectSpread$
|
|
12966
|
+
return request(_objectSpread$x({}, opts, {
|
|
13024
12967
|
path: pathPractice(practiceId) + "/verify"
|
|
13025
12968
|
}), {
|
|
13026
12969
|
method: 'post',
|
|
13027
|
-
data: _objectSpread$
|
|
12970
|
+
data: _objectSpread$x({}, body, {
|
|
13028
12971
|
otkCode: otkCode
|
|
13029
12972
|
})
|
|
13030
12973
|
});
|
|
@@ -13049,7 +12992,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
13049
12992
|
utils_doesParamExist["default"]({
|
|
13050
12993
|
practiceId: practiceId
|
|
13051
12994
|
}, opts.hyperMediaEndpoint);
|
|
13052
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
12995
|
+
return _context14.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
13053
12996
|
path: pathPractice(practiceId) + "/clone"
|
|
13054
12997
|
}), {
|
|
13055
12998
|
method: 'post',
|
|
@@ -13094,7 +13037,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
13094
13037
|
businessId: businessId,
|
|
13095
13038
|
formId: formId
|
|
13096
13039
|
}, opts.hyperMediaEndpoint);
|
|
13097
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13040
|
+
return _context15.abrupt("return", request(_objectSpread$x({}, opts, {
|
|
13098
13041
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
13099
13042
|
}), {
|
|
13100
13043
|
method: 'get',
|
|
@@ -13137,9 +13080,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
13137
13080
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
13138
13081
|
});
|
|
13139
13082
|
|
|
13140
|
-
function ownKeys$
|
|
13083
|
+
function ownKeys$w(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13141
13084
|
|
|
13142
|
-
function _objectSpread$
|
|
13085
|
+
function _objectSpread$w(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$w(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$w(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13143
13086
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
13144
13087
|
/**
|
|
13145
13088
|
* Get practice types
|
|
@@ -13156,7 +13099,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
13156
13099
|
opts = {};
|
|
13157
13100
|
}
|
|
13158
13101
|
|
|
13159
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13102
|
+
return _context.abrupt("return", request(_objectSpread$w({}, opts, {
|
|
13160
13103
|
path: PATH__PRACTICE_TYPES
|
|
13161
13104
|
}), {
|
|
13162
13105
|
method: 'get'
|
|
@@ -13180,9 +13123,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
13180
13123
|
getPracticeTypes: getPracticeTypes
|
|
13181
13124
|
});
|
|
13182
13125
|
|
|
13183
|
-
function ownKeys$
|
|
13126
|
+
function ownKeys$v(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13184
13127
|
|
|
13185
|
-
function _objectSpread$
|
|
13128
|
+
function _objectSpread$v(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$v(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$v(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13186
13129
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
13187
13130
|
return "/businesses/" + businessId + "/products";
|
|
13188
13131
|
};
|
|
@@ -13200,7 +13143,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
13200
13143
|
opts = {};
|
|
13201
13144
|
}
|
|
13202
13145
|
|
|
13203
|
-
return request(_objectSpread$
|
|
13146
|
+
return request(_objectSpread$v({}, opts, {
|
|
13204
13147
|
path: '/products'
|
|
13205
13148
|
}), {
|
|
13206
13149
|
method: 'get',
|
|
@@ -13222,7 +13165,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
13222
13165
|
utils_doesParamExist["default"]({
|
|
13223
13166
|
businessId: businessId
|
|
13224
13167
|
});
|
|
13225
|
-
return request(_objectSpread$
|
|
13168
|
+
return request(_objectSpread$v({}, opts, {
|
|
13226
13169
|
path: pathBusinessProducts(businessId)
|
|
13227
13170
|
}), {
|
|
13228
13171
|
method: 'get',
|
|
@@ -13245,7 +13188,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
13245
13188
|
businessId: businessId,
|
|
13246
13189
|
productId: productId
|
|
13247
13190
|
});
|
|
13248
|
-
return request(_objectSpread$
|
|
13191
|
+
return request(_objectSpread$v({}, opts, {
|
|
13249
13192
|
path: pathBusinessProduct(businessId, productId)
|
|
13250
13193
|
}), {
|
|
13251
13194
|
method: 'get'
|
|
@@ -13261,9 +13204,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
13261
13204
|
getBusinessProduct: getBusinessProduct
|
|
13262
13205
|
});
|
|
13263
13206
|
|
|
13264
|
-
function ownKeys$
|
|
13207
|
+
function ownKeys$u(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13265
13208
|
|
|
13266
|
-
function _objectSpread$
|
|
13209
|
+
function _objectSpread$u(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$u(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$u(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13267
13210
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
13268
13211
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
13269
13212
|
};
|
|
@@ -13282,7 +13225,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
13282
13225
|
opts = {};
|
|
13283
13226
|
}
|
|
13284
13227
|
|
|
13285
|
-
return request(_objectSpread$
|
|
13228
|
+
return request(_objectSpread$u({}, opts, {
|
|
13286
13229
|
path: pathProfessionalCategories
|
|
13287
13230
|
}), {
|
|
13288
13231
|
method: 'get',
|
|
@@ -13304,7 +13247,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
13304
13247
|
utils_doesParamExist["default"]({
|
|
13305
13248
|
businessId: businessId
|
|
13306
13249
|
});
|
|
13307
|
-
return request(_objectSpread$
|
|
13250
|
+
return request(_objectSpread$u({}, opts, {
|
|
13308
13251
|
path: pathBusinessProfessionalCategories(businessId)
|
|
13309
13252
|
}), {
|
|
13310
13253
|
method: 'get',
|
|
@@ -13325,7 +13268,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
13325
13268
|
utils_doesParamExist["default"]({
|
|
13326
13269
|
professionalCategoryId: professionalCategoryId
|
|
13327
13270
|
});
|
|
13328
|
-
return request(_objectSpread$
|
|
13271
|
+
return request(_objectSpread$u({}, opts, {
|
|
13329
13272
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
13330
13273
|
}), {
|
|
13331
13274
|
method: 'get'
|
|
@@ -13342,9 +13285,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
13342
13285
|
getProfessionalCategory: getProfessionalCategory
|
|
13343
13286
|
});
|
|
13344
13287
|
|
|
13345
|
-
function ownKeys$
|
|
13288
|
+
function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13346
13289
|
|
|
13347
|
-
function _objectSpread$
|
|
13290
|
+
function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$t(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13348
13291
|
|
|
13349
13292
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
13350
13293
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
@@ -13376,7 +13319,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
13376
13319
|
utils_doesParamExist["default"]({
|
|
13377
13320
|
businessId: businessId
|
|
13378
13321
|
}, opts.hyperMediaEndpoint);
|
|
13379
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13322
|
+
return _context.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
13380
13323
|
path: pathBusinessProviderRequests(businessId)
|
|
13381
13324
|
}), {
|
|
13382
13325
|
method: 'post',
|
|
@@ -13417,7 +13360,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
13417
13360
|
utils_doesParamExist["default"]({
|
|
13418
13361
|
businessId: businessId
|
|
13419
13362
|
}, opts.hyperMediaEndpoint);
|
|
13420
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13363
|
+
return _context2.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
13421
13364
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
13422
13365
|
}), {
|
|
13423
13366
|
method: 'post',
|
|
@@ -13445,9 +13388,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
13445
13388
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
13446
13389
|
});
|
|
13447
13390
|
|
|
13448
|
-
function ownKeys$
|
|
13391
|
+
function ownKeys$s(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13449
13392
|
|
|
13450
|
-
function _objectSpread$
|
|
13393
|
+
function _objectSpread$s(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$s(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$s(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13451
13394
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
13452
13395
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
13453
13396
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -13468,7 +13411,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
13468
13411
|
opts = {};
|
|
13469
13412
|
}
|
|
13470
13413
|
|
|
13471
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13414
|
+
return _context.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
13472
13415
|
path: pathGetProviderRegistrationTypes
|
|
13473
13416
|
}), {
|
|
13474
13417
|
method: 'get',
|
|
@@ -13503,7 +13446,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
13503
13446
|
opts = {};
|
|
13504
13447
|
}
|
|
13505
13448
|
|
|
13506
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13449
|
+
return _context2.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
13507
13450
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
13508
13451
|
}), {
|
|
13509
13452
|
method: 'get'
|
|
@@ -13530,9 +13473,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
13530
13473
|
getProviderRegistrationType: getProviderRegistrationType
|
|
13531
13474
|
});
|
|
13532
13475
|
|
|
13533
|
-
function ownKeys$
|
|
13476
|
+
function ownKeys$r(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13534
13477
|
|
|
13535
|
-
function _objectSpread$
|
|
13478
|
+
function _objectSpread$r(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$r(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$r(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13536
13479
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
13537
13480
|
return "/providernumbertypes";
|
|
13538
13481
|
};
|
|
@@ -13559,7 +13502,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
13559
13502
|
opts = {};
|
|
13560
13503
|
}
|
|
13561
13504
|
|
|
13562
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13505
|
+
return _context.abrupt("return", request(_objectSpread$r({}, opts, {
|
|
13563
13506
|
path: pathProviderNumberTypes()
|
|
13564
13507
|
}), {
|
|
13565
13508
|
method: 'get',
|
|
@@ -13597,7 +13540,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
13597
13540
|
utils_doesParamExist["default"]({
|
|
13598
13541
|
providerNumberTypeId: providerNumberTypeId
|
|
13599
13542
|
}, opts.hyperMediaEndpoint);
|
|
13600
|
-
return request(_objectSpread$
|
|
13543
|
+
return request(_objectSpread$r({}, opts, {
|
|
13601
13544
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
13602
13545
|
}), {
|
|
13603
13546
|
method: 'get',
|
|
@@ -13613,9 +13556,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
13613
13556
|
getProviderNumberType: getProviderNumberType
|
|
13614
13557
|
});
|
|
13615
13558
|
|
|
13616
|
-
function ownKeys$
|
|
13559
|
+
function ownKeys$q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13617
13560
|
|
|
13618
|
-
function _objectSpread$
|
|
13561
|
+
function _objectSpread$q(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$q(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13619
13562
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
13620
13563
|
/**
|
|
13621
13564
|
* Get provider types
|
|
@@ -13632,7 +13575,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
13632
13575
|
opts = {};
|
|
13633
13576
|
}
|
|
13634
13577
|
|
|
13635
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13578
|
+
return _context.abrupt("return", request(_objectSpread$q({}, opts, {
|
|
13636
13579
|
path: PATH__PROVIDER_TYPES
|
|
13637
13580
|
}), {
|
|
13638
13581
|
method: 'get'
|
|
@@ -13656,6 +13599,31 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
13656
13599
|
getProviderTypes: getProviderTypes
|
|
13657
13600
|
});
|
|
13658
13601
|
|
|
13602
|
+
function ownKeys$p(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13603
|
+
|
|
13604
|
+
function _objectSpread$p(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$p(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$p(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13605
|
+
var pathVerifyClaimNumber = function pathVerifyClaimNumber() {
|
|
13606
|
+
return "/qbe/verify";
|
|
13607
|
+
};
|
|
13608
|
+
var verifyClaimNumber = function verifyClaimNumber(body, opts) {
|
|
13609
|
+
if (opts === void 0) {
|
|
13610
|
+
opts = {};
|
|
13611
|
+
}
|
|
13612
|
+
|
|
13613
|
+
return request(_objectSpread$p({}, opts, {
|
|
13614
|
+
path: pathVerifyClaimNumber()
|
|
13615
|
+
}), {
|
|
13616
|
+
method: 'post',
|
|
13617
|
+
data: body
|
|
13618
|
+
});
|
|
13619
|
+
};
|
|
13620
|
+
|
|
13621
|
+
var qbe = /*#__PURE__*/Object.freeze({
|
|
13622
|
+
__proto__: null,
|
|
13623
|
+
pathVerifyClaimNumber: pathVerifyClaimNumber,
|
|
13624
|
+
verifyClaimNumber: verifyClaimNumber
|
|
13625
|
+
});
|
|
13626
|
+
|
|
13659
13627
|
function ownKeys$o(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13660
13628
|
|
|
13661
13629
|
function _objectSpread$o(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$o(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$o(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -22889,6 +22857,7 @@ var sdkClient = {
|
|
|
22889
22857
|
providerRegistrationTypes: providerRegistrationTypes,
|
|
22890
22858
|
providerNumberTypes: providerNumberTypes,
|
|
22891
22859
|
providerTypes: providerTypes,
|
|
22860
|
+
qbe: qbe,
|
|
22892
22861
|
refSources: refSources,
|
|
22893
22862
|
risk: risk,
|
|
22894
22863
|
rnas: rnas,
|
|
@@ -23612,7 +23581,6 @@ exports.getBusinessDocument = getBusinessDocument;
|
|
|
23612
23581
|
exports.getBusinessDocuments = getBusinessDocuments;
|
|
23613
23582
|
exports.getBusinessEclipseTransactionPaymentReport = getBusinessEclipseTransactionPaymentReport;
|
|
23614
23583
|
exports.getBusinessEclipseTransactionProcessingReport = getBusinessEclipseTransactionProcessingReport;
|
|
23615
|
-
exports.getBusinessEmailLogs = getBusinessEmailLogs;
|
|
23616
23584
|
exports.getBusinessFilterOptions = getBusinessFilterOptions;
|
|
23617
23585
|
exports.getBusinessForm = getBusinessForm;
|
|
23618
23586
|
exports.getBusinessFormApplication = getBusinessFormApplication;
|
|
@@ -23704,7 +23672,6 @@ exports.getDeviceId = getDeviceId;
|
|
|
23704
23672
|
exports.getDocAccount = getDocAccount;
|
|
23705
23673
|
exports.getDocAccounts = getDocAccounts;
|
|
23706
23674
|
exports.getDraftProgressStatus = getDraftProgressStatus;
|
|
23707
|
-
exports.getEmailLog = getEmailLog;
|
|
23708
23675
|
exports.getFunder = getFunder;
|
|
23709
23676
|
exports.getFunders = getFunders;
|
|
23710
23677
|
exports.getFuture = getFuture;
|
|
@@ -24011,6 +23978,7 @@ exports.pathUnlinkPracticeProfile = pathUnlinkPracticeProfile;
|
|
|
24011
23978
|
exports.pathUnlinkStaffProfile = pathUnlinkStaffProfile;
|
|
24012
23979
|
exports.pathUpdatePracticeRepresentative = pathUpdatePracticeRepresentative;
|
|
24013
23980
|
exports.pathUploadUrlByBusinessId = pathUploadUrlByBusinessId;
|
|
23981
|
+
exports.pathVerifyClaimNumber = pathVerifyClaimNumber;
|
|
24014
23982
|
exports.pathVerifyEclipse = pathVerifyEclipse;
|
|
24015
23983
|
exports.patients = patients;
|
|
24016
23984
|
exports.pay = pay;
|
|
@@ -24179,6 +24147,7 @@ exports.verifyAccount = verifyAccount;
|
|
|
24179
24147
|
exports.verifyAuthy = verifyAuthy;
|
|
24180
24148
|
exports.verifyBusinessBeneficialOwner = verifyBusinessBeneficialOwner;
|
|
24181
24149
|
exports.verifyBusinessKyc = verifyBusinessKyc;
|
|
24150
|
+
exports.verifyClaimNumber = verifyClaimNumber;
|
|
24182
24151
|
exports.verifyClaimPractice = verifyClaimPractice;
|
|
24183
24152
|
exports.verifyComcare = verifyComcare;
|
|
24184
24153
|
exports.verifyDVA = verifyDVA;
|