@medipass/web-sdk 11.68.5-feature-new-icare-verification.1 → 11.68.5
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 +0 -2
- package/lib/index.js +1 -1
- 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-email-log.js +1 -1
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.js +1 -1
- package/lib/resources/claim-items.js +1 -1
- package/lib/resources/devices.js +1 -1
- package/lib/resources/doc-accounts.js +1 -1
- package/lib/resources/documents.js +1 -1
- package/lib/resources/emails.js +1 -1
- package/lib/resources/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.js +3 -3
- 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-d6115203.js → staff-51c8cb97.js} +289 -317
- 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
- package/lib/resources/__tests__/icare.test.d.ts +0 -1
- package/lib/resources/icare.d.ts +0 -12
- package/lib/resources/icare.js +0 -49
|
@@ -79,9 +79,9 @@ var staffUtils = /*#__PURE__*/Object.freeze({
|
|
|
79
79
|
get parseProviderRegistrations () { return parseProviderRegistrations; }
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
function ownKeys$
|
|
82
|
+
function ownKeys$1j(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; }
|
|
83
83
|
|
|
84
|
-
function _objectSpread$
|
|
84
|
+
function _objectSpread$1j(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1j(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1j(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
85
85
|
var DEFAULT_API_NAME = 'core';
|
|
86
86
|
|
|
87
87
|
var getBaseUrl = function getBaseUrl(apiName, requestOpts) {
|
|
@@ -103,7 +103,7 @@ var stripBottleneckOpts = function stripBottleneckOpts(axiosRequestOpts) {
|
|
|
103
103
|
axiosRequestOpts = {};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
var opts = _objectSpread$
|
|
106
|
+
var opts = _objectSpread$1j({}, axiosRequestOpts);
|
|
107
107
|
|
|
108
108
|
if (((_opts$params = opts.params) == null ? void 0 : (_opts$params$searchTe = _opts$params.searchText) == null ? void 0 : _opts$params$searchTe.trim().length) < 3) {
|
|
109
109
|
console.error("Unable to query transactions with a search text fewer than 3 characters. Ignoring search for query " + axiosRequestOpts.params.searchText);
|
|
@@ -131,7 +131,7 @@ var request = /*#__PURE__*/function () {
|
|
|
131
131
|
strippedAxiosRequestOpts = medipassRequestOpts.unrestrictBottleneckOpts ? axiosRequestOpts : module.exports.stripBottleneckOpts(axiosRequestOpts);
|
|
132
132
|
_context.prev = 5;
|
|
133
133
|
_context.next = 8;
|
|
134
|
-
return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread$
|
|
134
|
+
return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread$1j({}, strippedAxiosRequestOpts, {}, medipassRequestOpts.requestConfig));
|
|
135
135
|
|
|
136
136
|
case 8:
|
|
137
137
|
res = _context.sent;
|
|
@@ -167,9 +167,9 @@ var request = /*#__PURE__*/function () {
|
|
|
167
167
|
};
|
|
168
168
|
}();
|
|
169
169
|
|
|
170
|
-
function ownKeys$
|
|
170
|
+
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; }
|
|
171
171
|
|
|
172
|
-
function _objectSpread$
|
|
172
|
+
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; }
|
|
173
173
|
var pathGetAbr = function pathGetAbr() {
|
|
174
174
|
return '/abr/search';
|
|
175
175
|
};
|
|
@@ -188,7 +188,7 @@ var getAbr = /*#__PURE__*/function () {
|
|
|
188
188
|
opts = {};
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
191
|
+
return _context.abrupt("return", request(_objectSpread$1i({}, opts, {
|
|
192
192
|
path: pathGetAbr()
|
|
193
193
|
}), {
|
|
194
194
|
method: 'get',
|
|
@@ -214,9 +214,9 @@ var abr = /*#__PURE__*/Object.freeze({
|
|
|
214
214
|
getAbr: getAbr
|
|
215
215
|
});
|
|
216
216
|
|
|
217
|
-
function ownKeys$
|
|
217
|
+
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; }
|
|
218
218
|
|
|
219
|
-
function _objectSpread$
|
|
219
|
+
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; }
|
|
220
220
|
var PATH__ACCOUNTS = '/accounts';
|
|
221
221
|
|
|
222
222
|
var pathAccountsByAccountId = function pathAccountsByAccountId(accountId) {
|
|
@@ -323,7 +323,7 @@ var createAccountSecretKey = /*#__PURE__*/function () {
|
|
|
323
323
|
utils_doesParamExist["default"]({
|
|
324
324
|
accountId: accountId
|
|
325
325
|
}, opts.hyperMediaEndpoint);
|
|
326
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
326
|
+
return _context.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
327
327
|
path: pathAccountSecretKeysByAccountId(accountId)
|
|
328
328
|
}), {
|
|
329
329
|
method: 'post'
|
|
@@ -361,7 +361,7 @@ var createOrganisationAccount = /*#__PURE__*/function () {
|
|
|
361
361
|
utils_doesParamExist["default"]({
|
|
362
362
|
organisationId: organisationId
|
|
363
363
|
}, opts.hyperMediaEndpoint);
|
|
364
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
364
|
+
return _context2.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
365
365
|
path: pathOrganisationAccounts(organisationId)
|
|
366
366
|
}), {
|
|
367
367
|
method: 'post',
|
|
@@ -400,7 +400,7 @@ var createOrganisationSupportAccount = /*#__PURE__*/function () {
|
|
|
400
400
|
utils_doesParamExist["default"]({
|
|
401
401
|
organisationId: organisationId
|
|
402
402
|
}, opts.hyperMediaEndpoint);
|
|
403
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
403
|
+
return _context3.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
404
404
|
path: pathOrganisationSupportAccounts(organisationId)
|
|
405
405
|
}), {
|
|
406
406
|
method: 'post',
|
|
@@ -440,7 +440,7 @@ var deleteAccountSecretKey = /*#__PURE__*/function () {
|
|
|
440
440
|
accountId: accountId,
|
|
441
441
|
secretKey: secretKey
|
|
442
442
|
}, opts.hyperMediaEndpoint);
|
|
443
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
443
|
+
return _context4.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
444
444
|
path: pathAccountSecretKey(accountId, secretKey)
|
|
445
445
|
}), {
|
|
446
446
|
method: 'delete'
|
|
@@ -477,7 +477,7 @@ var deleteAccount = /*#__PURE__*/function () {
|
|
|
477
477
|
utils_doesParamExist["default"]({
|
|
478
478
|
accountId: accountId
|
|
479
479
|
}, opts.hyperMediaEndpoint);
|
|
480
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
480
|
+
return _context5.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
481
481
|
path: pathAccountsByAccountId(accountId)
|
|
482
482
|
}), {
|
|
483
483
|
method: 'delete'
|
|
@@ -514,7 +514,7 @@ var disableAccount = /*#__PURE__*/function () {
|
|
|
514
514
|
utils_doesParamExist["default"]({
|
|
515
515
|
accountId: accountId
|
|
516
516
|
}, opts.hyperMediaEndpoint);
|
|
517
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
517
|
+
return _context6.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
518
518
|
path: pathDisableAccount(accountId)
|
|
519
519
|
}), {
|
|
520
520
|
method: 'put'
|
|
@@ -551,7 +551,7 @@ var enableAccount = /*#__PURE__*/function () {
|
|
|
551
551
|
utils_doesParamExist["default"]({
|
|
552
552
|
accountId: accountId
|
|
553
553
|
}, opts.hyperMediaEndpoint);
|
|
554
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
554
|
+
return _context7.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
555
555
|
path: pathEnableAccount(accountId)
|
|
556
556
|
}), {
|
|
557
557
|
method: 'put'
|
|
@@ -586,7 +586,7 @@ var requestAccountReset = /*#__PURE__*/function () {
|
|
|
586
586
|
opts = {};
|
|
587
587
|
}
|
|
588
588
|
|
|
589
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
589
|
+
return _context8.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
590
590
|
path: PATH__REQUEST_ACCOUNT_RESET
|
|
591
591
|
}), {
|
|
592
592
|
method: 'post',
|
|
@@ -634,17 +634,17 @@ var requestPasswordReset = /*#__PURE__*/function () {
|
|
|
634
634
|
|
|
635
635
|
if (email) {
|
|
636
636
|
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
637
|
-
data = _objectSpread$
|
|
637
|
+
data = _objectSpread$1h({}, data, {
|
|
638
638
|
email: email
|
|
639
639
|
});
|
|
640
640
|
} else if (accountId) {
|
|
641
641
|
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
642
|
-
data = _objectSpread$
|
|
642
|
+
data = _objectSpread$1h({}, data, {
|
|
643
643
|
accountId: accountId
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
646
|
|
|
647
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
647
|
+
return _context9.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
648
648
|
path: PATH__REQUEST_PASSWORD_RESET
|
|
649
649
|
}), {
|
|
650
650
|
method: 'post',
|
|
@@ -689,17 +689,17 @@ var requestMobileReset = /*#__PURE__*/function () {
|
|
|
689
689
|
|
|
690
690
|
if (email) {
|
|
691
691
|
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
692
|
-
data = _objectSpread$
|
|
692
|
+
data = _objectSpread$1h({}, data, {
|
|
693
693
|
email: email
|
|
694
694
|
});
|
|
695
695
|
} else if (accountId) {
|
|
696
696
|
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
697
|
-
data = _objectSpread$
|
|
697
|
+
data = _objectSpread$1h({}, data, {
|
|
698
698
|
accountId: accountId
|
|
699
699
|
});
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
702
|
+
return _context10.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
703
703
|
path: PATH__REQUEST_MOBILE_RESET
|
|
704
704
|
}), {
|
|
705
705
|
method: 'post',
|
|
@@ -734,7 +734,7 @@ var resetAccount = /*#__PURE__*/function () {
|
|
|
734
734
|
opts = {};
|
|
735
735
|
}
|
|
736
736
|
|
|
737
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
737
|
+
return _context11.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
738
738
|
path: PATH__ACCOUNT_RESET
|
|
739
739
|
}), {
|
|
740
740
|
method: 'post',
|
|
@@ -769,7 +769,7 @@ var resetPassword = /*#__PURE__*/function () {
|
|
|
769
769
|
opts = {};
|
|
770
770
|
}
|
|
771
771
|
|
|
772
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
772
|
+
return _context12.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
773
773
|
path: PATH__ACCOUNT_PASSWORD_RESET
|
|
774
774
|
}), {
|
|
775
775
|
method: 'post',
|
|
@@ -804,7 +804,7 @@ var resetMobile = /*#__PURE__*/function () {
|
|
|
804
804
|
opts = {};
|
|
805
805
|
}
|
|
806
806
|
|
|
807
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
807
|
+
return _context13.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
808
808
|
path: PATH__ACCOUNT_MOBILE_RESET
|
|
809
809
|
}), {
|
|
810
810
|
method: 'post',
|
|
@@ -839,7 +839,7 @@ var verifyAccount = /*#__PURE__*/function () {
|
|
|
839
839
|
opts = {};
|
|
840
840
|
}
|
|
841
841
|
|
|
842
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
842
|
+
return _context14.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
843
843
|
path: PATH__ACCOUNT_VERIFY
|
|
844
844
|
}), {
|
|
845
845
|
method: 'post',
|
|
@@ -878,7 +878,7 @@ var getAccounts = /*#__PURE__*/function () {
|
|
|
878
878
|
opts = {};
|
|
879
879
|
}
|
|
880
880
|
|
|
881
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
881
|
+
return _context15.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
882
882
|
path: PATH__ACCOUNTS
|
|
883
883
|
}), {
|
|
884
884
|
method: 'get',
|
|
@@ -918,7 +918,7 @@ var getHealthFundAccount = /*#__PURE__*/function () {
|
|
|
918
918
|
accountId: accountId,
|
|
919
919
|
healthFundId: healthFundId
|
|
920
920
|
}, opts.hyperMediaEndpoint);
|
|
921
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
921
|
+
return _context16.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
922
922
|
path: pathHealthFundAccount(healthFundId, accountId)
|
|
923
923
|
}), {
|
|
924
924
|
method: 'get'
|
|
@@ -960,7 +960,7 @@ var getHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
960
960
|
utils_doesParamExist["default"]({
|
|
961
961
|
healthFundId: healthFundId
|
|
962
962
|
}, opts.hyperMediaEndpoint);
|
|
963
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
963
|
+
return _context17.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
964
964
|
path: pathHealthFundAccounts(healthFundId)
|
|
965
965
|
}), {
|
|
966
966
|
method: 'get',
|
|
@@ -1003,7 +1003,7 @@ var getOrganisationAccounts = /*#__PURE__*/function () {
|
|
|
1003
1003
|
utils_doesParamExist["default"]({
|
|
1004
1004
|
organisationId: organisationId
|
|
1005
1005
|
}, opts.hyperMediaEndpoint);
|
|
1006
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
1006
|
+
return _context18.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1007
1007
|
path: pathOrganisationAccounts(organisationId)
|
|
1008
1008
|
}), {
|
|
1009
1009
|
method: 'get',
|
|
@@ -1043,7 +1043,7 @@ var getAccount = /*#__PURE__*/function () {
|
|
|
1043
1043
|
accountId: accountId
|
|
1044
1044
|
}, opts.hyperMediaEndpoint);
|
|
1045
1045
|
_context19.next = 4;
|
|
1046
|
-
return request(_objectSpread$
|
|
1046
|
+
return request(_objectSpread$1h({}, opts, {
|
|
1047
1047
|
path: pathAccountsByAccountId(accountId)
|
|
1048
1048
|
}), {
|
|
1049
1049
|
method: 'get'
|
|
@@ -1092,7 +1092,7 @@ var getBusinessStaffAccount = /*#__PURE__*/function () {
|
|
|
1092
1092
|
staffId: staffId
|
|
1093
1093
|
}, opts.hyperMediaEndpoint);
|
|
1094
1094
|
_context20.next = 4;
|
|
1095
|
-
return request(_objectSpread$
|
|
1095
|
+
return request(_objectSpread$1h({}, opts, {
|
|
1096
1096
|
path: pathBusinessStaffAccount(businessId, staffId)
|
|
1097
1097
|
}), {
|
|
1098
1098
|
method: 'get'
|
|
@@ -1133,7 +1133,7 @@ var getAccountExists = /*#__PURE__*/function () {
|
|
|
1133
1133
|
opts = {};
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
1136
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
1136
|
+
return _context21.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1137
1137
|
path: pathAccountExists()
|
|
1138
1138
|
}), {
|
|
1139
1139
|
method: 'get',
|
|
@@ -1171,7 +1171,7 @@ var getAccountRoles = /*#__PURE__*/function () {
|
|
|
1171
1171
|
utils_doesParamExist["default"]({
|
|
1172
1172
|
accountId: accountId
|
|
1173
1173
|
}, opts.hyperMediaEndpoint);
|
|
1174
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
1174
|
+
return _context22.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1175
1175
|
path: pathAccountRolesByAccountId(accountId)
|
|
1176
1176
|
}), {
|
|
1177
1177
|
method: 'get'
|
|
@@ -1208,7 +1208,7 @@ var getAccountSecretKeys = /*#__PURE__*/function () {
|
|
|
1208
1208
|
utils_doesParamExist["default"]({
|
|
1209
1209
|
accountId: accountId
|
|
1210
1210
|
}, opts.hyperMediaEndpoint);
|
|
1211
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
1211
|
+
return _context23.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1212
1212
|
path: pathAccountSecretKeysByAccountId(accountId)
|
|
1213
1213
|
}), {
|
|
1214
1214
|
method: 'get'
|
|
@@ -1250,7 +1250,7 @@ var getAccountTransactions = /*#__PURE__*/function () {
|
|
|
1250
1250
|
utils_doesParamExist["default"]({
|
|
1251
1251
|
accountId: accountId
|
|
1252
1252
|
}, opts.hyperMediaEndpoint);
|
|
1253
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
1253
|
+
return _context24.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1254
1254
|
path: pathAccountTransactions(accountId)
|
|
1255
1255
|
}), {
|
|
1256
1256
|
method: 'get',
|
|
@@ -1289,7 +1289,7 @@ var inviteHealthFundAccount = /*#__PURE__*/function () {
|
|
|
1289
1289
|
utils_doesParamExist["default"]({
|
|
1290
1290
|
healthFundId: healthFundId
|
|
1291
1291
|
}, opts.hyperMediaEndpoint);
|
|
1292
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
1292
|
+
return _context25.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1293
1293
|
path: pathHealthFundAccounts(healthFundId) + "/invites"
|
|
1294
1294
|
}), {
|
|
1295
1295
|
method: 'post',
|
|
@@ -1329,7 +1329,7 @@ var removeHealthFundFromAccount = /*#__PURE__*/function () {
|
|
|
1329
1329
|
accountId: accountId,
|
|
1330
1330
|
healthFundId: healthFundId
|
|
1331
1331
|
}, opts.hyperMediaEndpoint);
|
|
1332
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
1332
|
+
return _context26.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1333
1333
|
path: pathHealthFundAccount(healthFundId, accountId)
|
|
1334
1334
|
}), {
|
|
1335
1335
|
method: 'delete'
|
|
@@ -1366,7 +1366,7 @@ var requestToVerifyAccount = /*#__PURE__*/function () {
|
|
|
1366
1366
|
utils_doesParamExist["default"]({
|
|
1367
1367
|
accountId: accountId
|
|
1368
1368
|
}, opts.hyperMediaEndpoint);
|
|
1369
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
1369
|
+
return _context27.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1370
1370
|
path: pathRequestVerifyAccount(accountId)
|
|
1371
1371
|
}), {
|
|
1372
1372
|
method: 'post'
|
|
@@ -1406,11 +1406,11 @@ var signUp$1 = /*#__PURE__*/function () {
|
|
|
1406
1406
|
email: email,
|
|
1407
1407
|
mobile: mobile
|
|
1408
1408
|
}, opts.hyperMediaEndpoint);
|
|
1409
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
1409
|
+
return _context28.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1410
1410
|
path: PATH__SIGN_UP
|
|
1411
1411
|
}), {
|
|
1412
1412
|
method: 'post',
|
|
1413
|
-
data: _objectSpread$
|
|
1413
|
+
data: _objectSpread$1h({
|
|
1414
1414
|
email: email,
|
|
1415
1415
|
mobile: mobile
|
|
1416
1416
|
}, body)
|
|
@@ -1444,7 +1444,7 @@ var acceptInvite = /*#__PURE__*/function () {
|
|
|
1444
1444
|
opts = {};
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
1447
|
+
return _context29.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1448
1448
|
path: PATH__ACCEPT_ACCOUNT_INVITE
|
|
1449
1449
|
}), {
|
|
1450
1450
|
method: 'post',
|
|
@@ -1485,7 +1485,7 @@ var updateAccount = /*#__PURE__*/function () {
|
|
|
1485
1485
|
accountId: accountId
|
|
1486
1486
|
}, opts.hyperMediaEndpoint);
|
|
1487
1487
|
_context30.next = 4;
|
|
1488
|
-
return request(_objectSpread$
|
|
1488
|
+
return request(_objectSpread$1h({}, opts, {
|
|
1489
1489
|
path: pathAccountsByAccountId(accountId)
|
|
1490
1490
|
}), {
|
|
1491
1491
|
method: 'put',
|
|
@@ -1532,7 +1532,7 @@ var updateAccountRoles = /*#__PURE__*/function () {
|
|
|
1532
1532
|
utils_doesParamExist["default"]({
|
|
1533
1533
|
accountId: accountId
|
|
1534
1534
|
}, opts.hyperMediaEndpoint);
|
|
1535
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
1535
|
+
return _context31.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1536
1536
|
path: pathAccountRolesByAccountId(accountId)
|
|
1537
1537
|
}), {
|
|
1538
1538
|
method: 'put',
|
|
@@ -1575,7 +1575,7 @@ var getAccountPractices = /*#__PURE__*/function () {
|
|
|
1575
1575
|
utils_doesParamExist["default"]({
|
|
1576
1576
|
accountId: accountId
|
|
1577
1577
|
}, opts.hyperMediaEndpoint);
|
|
1578
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
1578
|
+
return _context32.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1579
1579
|
path: pathAccountPractices(accountId)
|
|
1580
1580
|
}), {
|
|
1581
1581
|
method: 'get',
|
|
@@ -1610,7 +1610,7 @@ var changePassword = /*#__PURE__*/function () {
|
|
|
1610
1610
|
opts = {};
|
|
1611
1611
|
}
|
|
1612
1612
|
|
|
1613
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
1613
|
+
return _context33.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1614
1614
|
path: pathChangePassword()
|
|
1615
1615
|
}), {
|
|
1616
1616
|
method: 'post',
|
|
@@ -1649,7 +1649,7 @@ var enableTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1649
1649
|
utils_doesParamExist["default"]({
|
|
1650
1650
|
accountId: accountId
|
|
1651
1651
|
}, opts.hyperMediaEndpoint);
|
|
1652
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
1652
|
+
return _context34.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1653
1653
|
path: pathEnableTwoFactorAuthentication(accountId)
|
|
1654
1654
|
}), {
|
|
1655
1655
|
method: 'post',
|
|
@@ -1688,7 +1688,7 @@ var disableTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1688
1688
|
utils_doesParamExist["default"]({
|
|
1689
1689
|
accountId: accountId
|
|
1690
1690
|
}, opts.hyperMediaEndpoint);
|
|
1691
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
1691
|
+
return _context35.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1692
1692
|
path: pathDisableTwoFactorAuthentication(accountId)
|
|
1693
1693
|
}), {
|
|
1694
1694
|
method: 'delete',
|
|
@@ -1727,7 +1727,7 @@ var updateTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1727
1727
|
utils_doesParamExist["default"]({
|
|
1728
1728
|
accountId: accountId
|
|
1729
1729
|
}, opts.hyperMediaEndpoint);
|
|
1730
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
1730
|
+
return _context36.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1731
1731
|
path: pathUpdateTwoFactorAuthentication(accountId)
|
|
1732
1732
|
}), {
|
|
1733
1733
|
method: 'put',
|
|
@@ -1787,9 +1787,9 @@ var accounts = /*#__PURE__*/Object.freeze({
|
|
|
1787
1787
|
updateTwoFactorAuthentication: updateTwoFactorAuthentication
|
|
1788
1788
|
});
|
|
1789
1789
|
|
|
1790
|
-
function ownKeys$
|
|
1790
|
+
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; }
|
|
1791
1791
|
|
|
1792
|
-
function _objectSpread$
|
|
1792
|
+
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; }
|
|
1793
1793
|
var PATH__ACTIONS = '/actions'; // @ts-expect-error TS(7006): Parameter 'actionId' implicitly has an 'any' type.
|
|
1794
1794
|
|
|
1795
1795
|
var pathAction = function pathAction(actionId) {
|
|
@@ -1816,7 +1816,7 @@ var getActions = /*#__PURE__*/function () {
|
|
|
1816
1816
|
opts = {};
|
|
1817
1817
|
}
|
|
1818
1818
|
|
|
1819
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
1819
|
+
return _context.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1820
1820
|
path: PATH__ACTIONS
|
|
1821
1821
|
}), {
|
|
1822
1822
|
method: 'get',
|
|
@@ -1851,7 +1851,7 @@ var getAction = /*#__PURE__*/function () {
|
|
|
1851
1851
|
opts = {};
|
|
1852
1852
|
}
|
|
1853
1853
|
|
|
1854
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
1854
|
+
return _context2.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1855
1855
|
path: pathAction(actionId)
|
|
1856
1856
|
}), {
|
|
1857
1857
|
method: 'get'
|
|
@@ -1876,9 +1876,9 @@ var actions = /*#__PURE__*/Object.freeze({
|
|
|
1876
1876
|
getAction: getAction
|
|
1877
1877
|
});
|
|
1878
1878
|
|
|
1879
|
-
function ownKeys$
|
|
1879
|
+
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; }
|
|
1880
1880
|
|
|
1881
|
-
function _objectSpread$
|
|
1881
|
+
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; }
|
|
1882
1882
|
var pathApiKeysByBusinessId = function pathApiKeysByBusinessId(businessId) {
|
|
1883
1883
|
return "/businesses/" + businessId + "/apikeys";
|
|
1884
1884
|
};
|
|
@@ -1905,7 +1905,7 @@ var createApiKey = /*#__PURE__*/function () {
|
|
|
1905
1905
|
utils_doesParamExist["default"]({
|
|
1906
1906
|
businessId: businessId
|
|
1907
1907
|
}, opts.hyperMediaEndpoint);
|
|
1908
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
1908
|
+
return _context.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
1909
1909
|
path: pathApiKeysByBusinessId(businessId)
|
|
1910
1910
|
}), {
|
|
1911
1911
|
method: 'post',
|
|
@@ -1944,7 +1944,7 @@ var getBusinessApiKeys = /*#__PURE__*/function () {
|
|
|
1944
1944
|
utils_doesParamExist["default"]({
|
|
1945
1945
|
businessId: businessId
|
|
1946
1946
|
}, opts.hyperMediaEndpoint);
|
|
1947
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
1947
|
+
return _context2.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
1948
1948
|
path: pathApiKeysByBusinessId(businessId)
|
|
1949
1949
|
}), {
|
|
1950
1950
|
method: 'get',
|
|
@@ -1984,7 +1984,7 @@ var deleteApiKey = /*#__PURE__*/function () {
|
|
|
1984
1984
|
businessId: businessId,
|
|
1985
1985
|
apiKeyId: apiKeyId
|
|
1986
1986
|
}, opts.hyperMediaEndpoint);
|
|
1987
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
1987
|
+
return _context3.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
1988
1988
|
path: pathApiKeyByApiKeyId(businessId, apiKeyId)
|
|
1989
1989
|
}), {
|
|
1990
1990
|
method: 'delete'
|
|
@@ -2012,9 +2012,9 @@ var apiKeys = /*#__PURE__*/Object.freeze({
|
|
|
2012
2012
|
deleteApiKey: deleteApiKey
|
|
2013
2013
|
});
|
|
2014
2014
|
|
|
2015
|
-
function ownKeys$
|
|
2015
|
+
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; }
|
|
2016
2016
|
|
|
2017
|
-
function _objectSpread$
|
|
2017
|
+
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; }
|
|
2018
2018
|
var pathGetClaimAttachmentUrl = function pathGetClaimAttachmentUrl(businessId, practiceId, staffId) {
|
|
2019
2019
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/attachments/uploadurl";
|
|
2020
2020
|
};
|
|
@@ -2052,7 +2052,7 @@ var getClaimAttachmentUrl = function getClaimAttachmentUrl(businessId, practiceI
|
|
|
2052
2052
|
practiceId: practiceId,
|
|
2053
2053
|
staffId: staffId
|
|
2054
2054
|
}, opts.hyperMediaEndpoint);
|
|
2055
|
-
return request(_objectSpread$
|
|
2055
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2056
2056
|
path: pathGetClaimAttachmentUrl(businessId, practiceId, staffId)
|
|
2057
2057
|
}), {
|
|
2058
2058
|
method: 'get',
|
|
@@ -2078,7 +2078,7 @@ var scanClaimFile = function scanClaimFile(businessId, practiceId, staffId, body
|
|
|
2078
2078
|
practiceId: practiceId,
|
|
2079
2079
|
staffId: staffId
|
|
2080
2080
|
}, opts.hyperMediaEndpoint);
|
|
2081
|
-
return request(_objectSpread$
|
|
2081
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2082
2082
|
path: pathScanClaimFile(businessId, practiceId, staffId)
|
|
2083
2083
|
}), {
|
|
2084
2084
|
method: 'post',
|
|
@@ -2106,7 +2106,7 @@ var getS3SignedUrl = function getS3SignedUrl(businessId, practiceId, staffId, s3
|
|
|
2106
2106
|
staffId: staffId,
|
|
2107
2107
|
s3SignedUrlId: s3SignedUrlId
|
|
2108
2108
|
}, opts.hyperMediaEndpoint);
|
|
2109
|
-
return request(_objectSpread$
|
|
2109
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2110
2110
|
path: pathGetS3SignedUrl(businessId, practiceId, staffId, s3SignedUrlId)
|
|
2111
2111
|
}), {
|
|
2112
2112
|
method: 'get',
|
|
@@ -2128,7 +2128,7 @@ var scanFile = function scanFile(businessId, body, opts) {
|
|
|
2128
2128
|
utils_doesParamExist["default"]({
|
|
2129
2129
|
businessId: businessId
|
|
2130
2130
|
}, opts.hyperMediaEndpoint);
|
|
2131
|
-
return request(_objectSpread$
|
|
2131
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2132
2132
|
path: pathScanFile(businessId)
|
|
2133
2133
|
}), {
|
|
2134
2134
|
method: 'post',
|
|
@@ -2150,7 +2150,7 @@ var getAttachmentUrl = function getAttachmentUrl(businessId, query, opts) {
|
|
|
2150
2150
|
utils_doesParamExist["default"]({
|
|
2151
2151
|
businessId: businessId
|
|
2152
2152
|
}, opts.hyperMediaEndpoint);
|
|
2153
|
-
return request(_objectSpread$
|
|
2153
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2154
2154
|
path: pathGetAttachmentUrl(businessId)
|
|
2155
2155
|
}), {
|
|
2156
2156
|
method: 'get',
|
|
@@ -2174,7 +2174,7 @@ var getBusinessS3SignedUrl = function getBusinessS3SignedUrl(businessId, s3Signe
|
|
|
2174
2174
|
businessId: businessId,
|
|
2175
2175
|
s3SignedUrlId: s3SignedUrlId
|
|
2176
2176
|
}, opts.hyperMediaEndpoint);
|
|
2177
|
-
return request(_objectSpread$
|
|
2177
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2178
2178
|
path: pathGetBusinessS3SignedUrl(businessId, s3SignedUrlId)
|
|
2179
2179
|
}), {
|
|
2180
2180
|
method: 'get',
|
|
@@ -2198,9 +2198,9 @@ var attachments = /*#__PURE__*/Object.freeze({
|
|
|
2198
2198
|
getBusinessS3SignedUrl: getBusinessS3SignedUrl
|
|
2199
2199
|
});
|
|
2200
2200
|
|
|
2201
|
-
function ownKeys$
|
|
2201
|
+
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; }
|
|
2202
2202
|
|
|
2203
|
-
function _objectSpread$
|
|
2203
|
+
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; }
|
|
2204
2204
|
var PATH__MEMBERS = '/members';
|
|
2205
2205
|
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
|
|
2206
2206
|
|
|
@@ -2249,7 +2249,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
2249
2249
|
opts = {};
|
|
2250
2250
|
}
|
|
2251
2251
|
|
|
2252
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
2252
|
+
return _context.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2253
2253
|
path: PATH__MEMBERS + "/checkdupe"
|
|
2254
2254
|
}), {
|
|
2255
2255
|
method: 'post',
|
|
@@ -2285,7 +2285,7 @@ var createAccountMember = /*#__PURE__*/function () {
|
|
|
2285
2285
|
opts = {};
|
|
2286
2286
|
}
|
|
2287
2287
|
|
|
2288
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
2288
|
+
return _context2.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2289
2289
|
path: pathAccountMembers(accountId)
|
|
2290
2290
|
}), {
|
|
2291
2291
|
method: 'post',
|
|
@@ -2324,7 +2324,7 @@ var deleteMember = /*#__PURE__*/function () {
|
|
|
2324
2324
|
utils_doesParamExist["default"]({
|
|
2325
2325
|
memberId: memberId
|
|
2326
2326
|
}, opts.hyperMediaEndpoint);
|
|
2327
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
2327
|
+
return _context3.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2328
2328
|
path: pathMember(memberId)
|
|
2329
2329
|
}), {
|
|
2330
2330
|
method: 'delete'
|
|
@@ -2358,7 +2358,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
2358
2358
|
opts = {};
|
|
2359
2359
|
}
|
|
2360
2360
|
|
|
2361
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
2361
|
+
return _context4.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2362
2362
|
path: PATH__DISCOVER_MEMBERS
|
|
2363
2363
|
}), {
|
|
2364
2364
|
method: 'get',
|
|
@@ -2397,7 +2397,7 @@ var inviteAnyone = /*#__PURE__*/function () {
|
|
|
2397
2397
|
utils_doesParamExist["default"]({
|
|
2398
2398
|
businessId: businessId
|
|
2399
2399
|
}, opts.hyperMediaEndpoint);
|
|
2400
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
2400
|
+
return _context5.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2401
2401
|
path: pathBusinessMembers(businessId) + "/invites"
|
|
2402
2402
|
}), {
|
|
2403
2403
|
method: 'post',
|
|
@@ -2435,7 +2435,7 @@ var inviteMember = /*#__PURE__*/function () {
|
|
|
2435
2435
|
utils_doesParamExist["default"]({
|
|
2436
2436
|
memberId: memberId
|
|
2437
2437
|
}, opts.hyperMediaEndpoint);
|
|
2438
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
2438
|
+
return _context6.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2439
2439
|
path: pathMember(memberId) + "/invites"
|
|
2440
2440
|
}), {
|
|
2441
2441
|
method: 'post'
|
|
@@ -2474,7 +2474,7 @@ var getAccountMembers = /*#__PURE__*/function () {
|
|
|
2474
2474
|
opts = {};
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
2477
|
+
return _context7.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2478
2478
|
path: pathAccountMembers(accountId)
|
|
2479
2479
|
}), {
|
|
2480
2480
|
method: 'get',
|
|
@@ -2513,7 +2513,7 @@ var getMembersForHealthFund = /*#__PURE__*/function () {
|
|
|
2513
2513
|
opts = {};
|
|
2514
2514
|
}
|
|
2515
2515
|
|
|
2516
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
2516
|
+
return _context8.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2517
2517
|
path: pathMembersForHealthFund(healthFundId)
|
|
2518
2518
|
}), {
|
|
2519
2519
|
method: 'get',
|
|
@@ -2549,7 +2549,7 @@ var getHealthFundMemberByMemberId = /*#__PURE__*/function () {
|
|
|
2549
2549
|
opts = {};
|
|
2550
2550
|
}
|
|
2551
2551
|
|
|
2552
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
2552
|
+
return _context9.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2553
2553
|
path: pathHealthFundMemberByMemberId(healthFundId, memberId)
|
|
2554
2554
|
}), {
|
|
2555
2555
|
method: 'get'
|
|
@@ -2591,7 +2591,7 @@ var getBusinessMembers = /*#__PURE__*/function () {
|
|
|
2591
2591
|
utils_doesParamExist["default"]({
|
|
2592
2592
|
businessId: businessId
|
|
2593
2593
|
}, opts.hyperMediaEndpoint);
|
|
2594
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
2594
|
+
return _context10.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2595
2595
|
path: pathBusinessMembers(businessId)
|
|
2596
2596
|
}), {
|
|
2597
2597
|
method: 'get',
|
|
@@ -2630,7 +2630,7 @@ var getBusinessMember = /*#__PURE__*/function () {
|
|
|
2630
2630
|
utils_doesParamExist["default"]({
|
|
2631
2631
|
businessId: businessId
|
|
2632
2632
|
}, opts.hyperMediaEndpoint);
|
|
2633
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
2633
|
+
return _context11.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2634
2634
|
path: pathBusinessMember(businessId, memberId)
|
|
2635
2635
|
}), {
|
|
2636
2636
|
method: 'get'
|
|
@@ -2667,7 +2667,7 @@ var getMembers = /*#__PURE__*/function () {
|
|
|
2667
2667
|
opts = {};
|
|
2668
2668
|
}
|
|
2669
2669
|
|
|
2670
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
2670
|
+
return _context12.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2671
2671
|
path: PATH__MEMBERS
|
|
2672
2672
|
}), {
|
|
2673
2673
|
method: 'get',
|
|
@@ -2707,7 +2707,7 @@ var getMember = /*#__PURE__*/function () {
|
|
|
2707
2707
|
memberId: memberId
|
|
2708
2708
|
}, opts.hyperMediaEndpoint);
|
|
2709
2709
|
_context13.next = 4;
|
|
2710
|
-
return request(_objectSpread$
|
|
2710
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2711
2711
|
path: pathMember(memberId)
|
|
2712
2712
|
}), {
|
|
2713
2713
|
method: 'get'
|
|
@@ -2756,7 +2756,7 @@ var updateMember = /*#__PURE__*/function () {
|
|
|
2756
2756
|
memberId: memberId
|
|
2757
2757
|
}, opts.hyperMediaEndpoint);
|
|
2758
2758
|
_context14.next = 4;
|
|
2759
|
-
return request(_objectSpread$
|
|
2759
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2760
2760
|
path: pathMember(memberId)
|
|
2761
2761
|
}), {
|
|
2762
2762
|
method: 'put',
|
|
@@ -2803,9 +2803,9 @@ var members = /*#__PURE__*/Object.freeze({
|
|
|
2803
2803
|
updateMember: updateMember
|
|
2804
2804
|
});
|
|
2805
2805
|
|
|
2806
|
-
function ownKeys$
|
|
2806
|
+
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; }
|
|
2807
2807
|
|
|
2808
|
-
function _objectSpread$
|
|
2808
|
+
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; }
|
|
2809
2809
|
var PATH__DEVICES = '/devices';
|
|
2810
2810
|
var isRegistering = false; // @ts-expect-error TS(7006): Parameter 'deviceId' implicitly has an 'any' type.
|
|
2811
2811
|
|
|
@@ -2844,7 +2844,7 @@ var registerDevice = /*#__PURE__*/function () {
|
|
|
2844
2844
|
_context.prev = 1;
|
|
2845
2845
|
isRegistering = true;
|
|
2846
2846
|
_context.next = 5;
|
|
2847
|
-
return request(_objectSpread$
|
|
2847
|
+
return request(_objectSpread$1c({}, opts, {
|
|
2848
2848
|
path: PATH__DEVICES
|
|
2849
2849
|
}), {
|
|
2850
2850
|
method: 'post',
|
|
@@ -2956,7 +2956,7 @@ var updateDevice = /*#__PURE__*/function () {
|
|
|
2956
2956
|
utils_doesParamExist["default"]({
|
|
2957
2957
|
deviceId: deviceId
|
|
2958
2958
|
}, opts.hyperMediaEndpoint);
|
|
2959
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
2959
|
+
return _context3.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2960
2960
|
path: pathDeviceByDeviceId(deviceId)
|
|
2961
2961
|
}), {
|
|
2962
2962
|
method: 'put',
|
|
@@ -2984,9 +2984,9 @@ var devices = /*#__PURE__*/Object.freeze({
|
|
|
2984
2984
|
updateDevice: updateDevice
|
|
2985
2985
|
});
|
|
2986
2986
|
|
|
2987
|
-
function ownKeys$
|
|
2987
|
+
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; }
|
|
2988
2988
|
|
|
2989
|
-
function _objectSpread$
|
|
2989
|
+
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; }
|
|
2990
2990
|
var PATH__AUTH = '/auth';
|
|
2991
2991
|
var PATH__OTK = '/otk';
|
|
2992
2992
|
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
|
|
@@ -3026,7 +3026,7 @@ var setupAccountResources = /*#__PURE__*/function () {
|
|
|
3026
3026
|
case 6:
|
|
3027
3027
|
member = _context.sent;
|
|
3028
3028
|
sdkClient.setMember(member);
|
|
3029
|
-
return _context.abrupt("return", _objectSpread$
|
|
3029
|
+
return _context.abrupt("return", _objectSpread$1b({}, account, {
|
|
3030
3030
|
_member: member
|
|
3031
3031
|
}));
|
|
3032
3032
|
|
|
@@ -3073,7 +3073,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3073
3073
|
};
|
|
3074
3074
|
}
|
|
3075
3075
|
|
|
3076
|
-
data = _objectSpread$
|
|
3076
|
+
data = _objectSpread$1b({
|
|
3077
3077
|
email: email
|
|
3078
3078
|
}, body);
|
|
3079
3079
|
|
|
@@ -3083,7 +3083,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
|
|
3085
3085
|
_context2.next = 6;
|
|
3086
|
-
return request(_objectSpread$
|
|
3086
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3087
3087
|
path: PATH__AUTH,
|
|
3088
3088
|
getFullResponse: true
|
|
3089
3089
|
}), {
|
|
@@ -3210,7 +3210,7 @@ var impersonate = /*#__PURE__*/function () {
|
|
|
3210
3210
|
utils_doesParamExist["default"]({
|
|
3211
3211
|
accountId: accountId
|
|
3212
3212
|
}, opts.hyperMediaEndpoint);
|
|
3213
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
3213
|
+
return _context4.abrupt("return", request(_objectSpread$1b({}, opts, {
|
|
3214
3214
|
getFullResponse: true,
|
|
3215
3215
|
path: pathImpersonateAccount(accountId)
|
|
3216
3216
|
}), {
|
|
@@ -3242,7 +3242,7 @@ var logout = /*#__PURE__*/function () {
|
|
|
3242
3242
|
switch (_context5.prev = _context5.next) {
|
|
3243
3243
|
case 0:
|
|
3244
3244
|
_context5.next = 2;
|
|
3245
|
-
return request(_objectSpread$
|
|
3245
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3246
3246
|
getFullResponse: true,
|
|
3247
3247
|
path: PATH__AUTH
|
|
3248
3248
|
}), {
|
|
@@ -3280,12 +3280,12 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
3280
3280
|
while (1) {
|
|
3281
3281
|
switch (_context6.prev = _context6.next) {
|
|
3282
3282
|
case 0:
|
|
3283
|
-
body = _omitBy__default["default"](_objectSpread$
|
|
3283
|
+
body = _omitBy__default["default"](_objectSpread$1b({
|
|
3284
3284
|
email: email,
|
|
3285
3285
|
accountId: accountId
|
|
3286
3286
|
}, requestBody), _isEmpty__default["default"]);
|
|
3287
3287
|
_context6.next = 3;
|
|
3288
|
-
return request(_objectSpread$
|
|
3288
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3289
3289
|
getFullResponse: true,
|
|
3290
3290
|
path: PATH__OTK
|
|
3291
3291
|
}), {
|
|
@@ -3330,7 +3330,7 @@ var generateAuthy = /*#__PURE__*/function () {
|
|
|
3330
3330
|
accountId: accountId
|
|
3331
3331
|
}, opts.hyperMediaEndpoint);
|
|
3332
3332
|
_context7.next = 4;
|
|
3333
|
-
return request(_objectSpread$
|
|
3333
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3334
3334
|
path: pathAuthy(accountId),
|
|
3335
3335
|
getFullResponse: true
|
|
3336
3336
|
}), {
|
|
@@ -3374,7 +3374,7 @@ var removeAuthy = /*#__PURE__*/function () {
|
|
|
3374
3374
|
accountId: accountId
|
|
3375
3375
|
}, opts.hyperMediaEndpoint);
|
|
3376
3376
|
_context8.next = 4;
|
|
3377
|
-
return request(_objectSpread$
|
|
3377
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3378
3378
|
path: pathAuthy(accountId),
|
|
3379
3379
|
getFullResponse: true
|
|
3380
3380
|
}), {
|
|
@@ -3419,7 +3419,7 @@ var verifyAuthy = /*#__PURE__*/function () {
|
|
|
3419
3419
|
accountId: accountId
|
|
3420
3420
|
}, opts.hyperMediaEndpoint);
|
|
3421
3421
|
_context9.next = 4;
|
|
3422
|
-
return request(_objectSpread$
|
|
3422
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3423
3423
|
path: pathAuthyVerify(accountId),
|
|
3424
3424
|
getFullResponse: true
|
|
3425
3425
|
}), {
|
|
@@ -3468,7 +3468,7 @@ var createShortLivedToken = /*#__PURE__*/function () {
|
|
|
3468
3468
|
}, opts.hyperMediaEndpoint);
|
|
3469
3469
|
sdkClient.setToken("Bearer " + apiKey);
|
|
3470
3470
|
_context10.next = 5;
|
|
3471
|
-
return request(_objectSpread$
|
|
3471
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3472
3472
|
path: PATH__AUTH_TOKEN
|
|
3473
3473
|
}), {
|
|
3474
3474
|
method: 'post',
|
|
@@ -3513,9 +3513,9 @@ var auth = /*#__PURE__*/Object.freeze({
|
|
|
3513
3513
|
createShortLivedToken: createShortLivedToken
|
|
3514
3514
|
});
|
|
3515
3515
|
|
|
3516
|
-
function ownKeys$
|
|
3516
|
+
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; }
|
|
3517
3517
|
|
|
3518
|
-
function _objectSpread$
|
|
3518
|
+
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; }
|
|
3519
3519
|
var PATH__APPLICATIONS = '/applications';
|
|
3520
3520
|
var PATH__SELF_APPLICATION = '/applications/me';
|
|
3521
3521
|
|
|
@@ -3533,7 +3533,7 @@ var getSelfApplication = function getSelfApplication(opts) {
|
|
|
3533
3533
|
opts = {};
|
|
3534
3534
|
}
|
|
3535
3535
|
|
|
3536
|
-
return request(_objectSpread$
|
|
3536
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3537
3537
|
path: PATH__SELF_APPLICATION
|
|
3538
3538
|
}), {
|
|
3539
3539
|
method: 'get'
|
|
@@ -3554,7 +3554,7 @@ var getApplications = function getApplications(query, opts) {
|
|
|
3554
3554
|
opts = {};
|
|
3555
3555
|
}
|
|
3556
3556
|
|
|
3557
|
-
return request(_objectSpread$
|
|
3557
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3558
3558
|
path: PATH__APPLICATIONS
|
|
3559
3559
|
}), {
|
|
3560
3560
|
method: 'get',
|
|
@@ -3575,7 +3575,7 @@ var getApplication = function getApplication(applicationId, opts) {
|
|
|
3575
3575
|
utils_doesParamExist["default"]({
|
|
3576
3576
|
applicationId: applicationId
|
|
3577
3577
|
}, opts.hyperMediaEndpoint);
|
|
3578
|
-
return request(_objectSpread$
|
|
3578
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3579
3579
|
path: pathApplication(applicationId)
|
|
3580
3580
|
}), {
|
|
3581
3581
|
method: 'get'
|
|
@@ -3596,7 +3596,7 @@ var updateApplication = function updateApplication(applicationId, body, opts) {
|
|
|
3596
3596
|
utils_doesParamExist["default"]({
|
|
3597
3597
|
applicationId: applicationId
|
|
3598
3598
|
}, opts.hyperMediaEndpoint);
|
|
3599
|
-
return request(_objectSpread$
|
|
3599
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3600
3600
|
path: pathApplication(applicationId)
|
|
3601
3601
|
}), {
|
|
3602
3602
|
method: 'put',
|
|
@@ -3614,7 +3614,7 @@ var createApplication = function createApplication(body, opts) {
|
|
|
3614
3614
|
opts = {};
|
|
3615
3615
|
}
|
|
3616
3616
|
|
|
3617
|
-
return request(_objectSpread$
|
|
3617
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3618
3618
|
path: PATH__APPLICATIONS
|
|
3619
3619
|
}), {
|
|
3620
3620
|
method: 'post',
|
|
@@ -3631,9 +3631,9 @@ var applications = /*#__PURE__*/Object.freeze({
|
|
|
3631
3631
|
createApplication: createApplication
|
|
3632
3632
|
});
|
|
3633
3633
|
|
|
3634
|
-
function ownKeys$
|
|
3634
|
+
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; }
|
|
3635
3635
|
|
|
3636
|
-
function _objectSpread$
|
|
3636
|
+
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; }
|
|
3637
3637
|
var PATH_BLACKLIST_BANK_ACCOUNT = "/blacklistedbankaccounts";
|
|
3638
3638
|
|
|
3639
3639
|
/**
|
|
@@ -3651,7 +3651,7 @@ var createBlacklistedBankAccount = /*#__PURE__*/function () {
|
|
|
3651
3651
|
opts = {};
|
|
3652
3652
|
}
|
|
3653
3653
|
|
|
3654
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3654
|
+
return _context.abrupt("return", request(_objectSpread$19({}, opts, {
|
|
3655
3655
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3656
3656
|
}), {
|
|
3657
3657
|
method: 'post',
|
|
@@ -3686,7 +3686,7 @@ var getBlacklistedBankAccounts = /*#__PURE__*/function () {
|
|
|
3686
3686
|
opts = {};
|
|
3687
3687
|
}
|
|
3688
3688
|
|
|
3689
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3689
|
+
return _context2.abrupt("return", request(_objectSpread$19({}, opts, {
|
|
3690
3690
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3691
3691
|
}), {
|
|
3692
3692
|
method: 'get',
|
|
@@ -3712,9 +3712,9 @@ var blacklist = /*#__PURE__*/Object.freeze({
|
|
|
3712
3712
|
getBlacklistedBankAccounts: getBlacklistedBankAccounts
|
|
3713
3713
|
});
|
|
3714
3714
|
|
|
3715
|
-
function ownKeys$
|
|
3715
|
+
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; }
|
|
3716
3716
|
|
|
3717
|
-
function _objectSpread$
|
|
3717
|
+
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; }
|
|
3718
3718
|
var pathBusinessBulkUploads = function pathBusinessBulkUploads(businessId) {
|
|
3719
3719
|
return "/businesses/" + businessId + "/bulkuploads";
|
|
3720
3720
|
};
|
|
@@ -3739,7 +3739,7 @@ var createBulkUpload = function createBulkUpload(businessId, body, opts) {
|
|
|
3739
3739
|
utils_doesParamExist["default"]({
|
|
3740
3740
|
businessId: businessId
|
|
3741
3741
|
});
|
|
3742
|
-
return request(_objectSpread$
|
|
3742
|
+
return request(_objectSpread$18({}, opts, {
|
|
3743
3743
|
path: pathBusinessBulkUploads(businessId)
|
|
3744
3744
|
}), {
|
|
3745
3745
|
method: 'post',
|
|
@@ -3763,7 +3763,7 @@ var getBulkUpload = function getBulkUpload(businessId, bulkUploadId, opts) {
|
|
|
3763
3763
|
businessId: businessId,
|
|
3764
3764
|
bulkUploadId: bulkUploadId
|
|
3765
3765
|
});
|
|
3766
|
-
return request(_objectSpread$
|
|
3766
|
+
return request(_objectSpread$18({}, opts, {
|
|
3767
3767
|
path: pathBusinessBulkUpload(businessId, bulkUploadId)
|
|
3768
3768
|
}), {
|
|
3769
3769
|
method: 'get'
|
|
@@ -3784,7 +3784,7 @@ var getBulkUploadUrl = function getBulkUploadUrl(businessId, query, opts) {
|
|
|
3784
3784
|
utils_doesParamExist["default"]({
|
|
3785
3785
|
businessId: businessId
|
|
3786
3786
|
});
|
|
3787
|
-
return request(_objectSpread$
|
|
3787
|
+
return request(_objectSpread$18({}, opts, {
|
|
3788
3788
|
path: pathBusinessBulkUploadUrl(businessId)
|
|
3789
3789
|
}), {
|
|
3790
3790
|
method: 'get',
|
|
@@ -3802,9 +3802,9 @@ var bulkUploads = /*#__PURE__*/Object.freeze({
|
|
|
3802
3802
|
getBulkUploadUrl: getBulkUploadUrl
|
|
3803
3803
|
});
|
|
3804
3804
|
|
|
3805
|
-
function ownKeys$
|
|
3805
|
+
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; }
|
|
3806
3806
|
|
|
3807
|
-
function _objectSpread$
|
|
3807
|
+
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; }
|
|
3808
3808
|
var pathSubmitDraftInvoices = function pathSubmitDraftInvoices(businessId) {
|
|
3809
3809
|
return "/businesses/" + businessId + "/bulksubmits";
|
|
3810
3810
|
};
|
|
@@ -3831,7 +3831,7 @@ var submitDraftInvoices = /*#__PURE__*/function () {
|
|
|
3831
3831
|
utils_doesParamExist["default"]({
|
|
3832
3832
|
businessId: businessId
|
|
3833
3833
|
}, opts.hyperMediaEndpoint);
|
|
3834
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3834
|
+
return _context.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
3835
3835
|
path: pathSubmitDraftInvoices(businessId)
|
|
3836
3836
|
}), {
|
|
3837
3837
|
method: 'post',
|
|
@@ -3871,7 +3871,7 @@ var getDraftProgressStatus = /*#__PURE__*/function () {
|
|
|
3871
3871
|
businessId: businessId,
|
|
3872
3872
|
bulkSubmitId: bulkSubmitId
|
|
3873
3873
|
}, opts.hyperMediaEndpoint);
|
|
3874
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3874
|
+
return _context2.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
3875
3875
|
path: pathGetDraftProgressStatus(businessId, bulkSubmitId)
|
|
3876
3876
|
}), {
|
|
3877
3877
|
method: 'get',
|
|
@@ -3899,9 +3899,9 @@ var bulkSubmits = /*#__PURE__*/Object.freeze({
|
|
|
3899
3899
|
getDraftProgressStatus: getDraftProgressStatus
|
|
3900
3900
|
});
|
|
3901
3901
|
|
|
3902
|
-
function ownKeys$
|
|
3902
|
+
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; }
|
|
3903
3903
|
|
|
3904
|
-
function _objectSpread$
|
|
3904
|
+
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; }
|
|
3905
3905
|
var pathLinkBusinessProfile = function pathLinkBusinessProfile(businessProfileId) {
|
|
3906
3906
|
return "/businessprofiles/" + businessProfileId + "/link";
|
|
3907
3907
|
};
|
|
@@ -3919,7 +3919,7 @@ var getOrganisationBusinessProfiles = function getOrganisationBusinessProfiles(o
|
|
|
3919
3919
|
utils_doesParamExist["default"]({
|
|
3920
3920
|
organisationId: organisationId
|
|
3921
3921
|
}, opts.hyperMediaEndpoint);
|
|
3922
|
-
return request(_objectSpread$
|
|
3922
|
+
return request(_objectSpread$16({}, opts, {
|
|
3923
3923
|
path: pathOrganisationBusinessProfiles(organisationId)
|
|
3924
3924
|
}), {
|
|
3925
3925
|
method: 'get',
|
|
@@ -3938,7 +3938,7 @@ var linkBusinessProfile = function linkBusinessProfile(businessProfileId, busine
|
|
|
3938
3938
|
var body = {
|
|
3939
3939
|
businessId: businessId
|
|
3940
3940
|
};
|
|
3941
|
-
return request(_objectSpread$
|
|
3941
|
+
return request(_objectSpread$16({}, opts, {
|
|
3942
3942
|
path: pathLinkBusinessProfile(businessProfileId)
|
|
3943
3943
|
}), {
|
|
3944
3944
|
method: 'put',
|
|
@@ -3953,7 +3953,7 @@ var unlinkBusinessProfile = function unlinkBusinessProfile(businessProfileId, op
|
|
|
3953
3953
|
utils_doesParamExist["default"]({
|
|
3954
3954
|
businessProfileId: businessProfileId
|
|
3955
3955
|
}, opts.hyperMediaEndpoint);
|
|
3956
|
-
return request(_objectSpread$
|
|
3956
|
+
return request(_objectSpread$16({}, opts, {
|
|
3957
3957
|
path: pathUnlinkBusinessProfile(businessProfileId)
|
|
3958
3958
|
}), {
|
|
3959
3959
|
method: 'put'
|
|
@@ -3970,9 +3970,9 @@ var businessProfiles = /*#__PURE__*/Object.freeze({
|
|
|
3970
3970
|
unlinkBusinessProfile: unlinkBusinessProfile
|
|
3971
3971
|
});
|
|
3972
3972
|
|
|
3973
|
-
function ownKeys$
|
|
3973
|
+
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; }
|
|
3974
3974
|
|
|
3975
|
-
function _objectSpread$
|
|
3975
|
+
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; }
|
|
3976
3976
|
var PATH__BUSINESSES = '/businesses';
|
|
3977
3977
|
var PATH__MY_BUSINESSES = '/businesses/me';
|
|
3978
3978
|
|
|
@@ -4068,7 +4068,7 @@ var createBusiness = function createBusiness(body, opts) {
|
|
|
4068
4068
|
opts = {};
|
|
4069
4069
|
}
|
|
4070
4070
|
|
|
4071
|
-
return request(_objectSpread$
|
|
4071
|
+
return request(_objectSpread$15({}, opts, {
|
|
4072
4072
|
path: PATH__BUSINESSES
|
|
4073
4073
|
}), {
|
|
4074
4074
|
method: 'post',
|
|
@@ -4090,7 +4090,7 @@ var createOrganisationBusiness = function createOrganisationBusiness(organisatio
|
|
|
4090
4090
|
utils_doesParamExist["default"]({
|
|
4091
4091
|
organisationId: organisationId
|
|
4092
4092
|
}, opts.hyperMediaEndpoint);
|
|
4093
|
-
return request(_objectSpread$
|
|
4093
|
+
return request(_objectSpread$15({}, opts, {
|
|
4094
4094
|
path: pathOrganisationBusiness(organisationId)
|
|
4095
4095
|
}), {
|
|
4096
4096
|
method: 'post',
|
|
@@ -4111,7 +4111,7 @@ var deleteBusiness = function deleteBusiness(businessId, opts) {
|
|
|
4111
4111
|
utils_doesParamExist["default"]({
|
|
4112
4112
|
businessId: businessId
|
|
4113
4113
|
}, opts.hyperMediaEndpoint);
|
|
4114
|
-
return request(_objectSpread$
|
|
4114
|
+
return request(_objectSpread$15({}, opts, {
|
|
4115
4115
|
path: pathBusiness$1(businessId)
|
|
4116
4116
|
}), {
|
|
4117
4117
|
method: 'delete'
|
|
@@ -4132,7 +4132,7 @@ var disableBusiness = function disableBusiness(businessId, body, opts) {
|
|
|
4132
4132
|
utils_doesParamExist["default"]({
|
|
4133
4133
|
businessId: businessId
|
|
4134
4134
|
}, opts.hyperMediaEndpoint);
|
|
4135
|
-
return request(_objectSpread$
|
|
4135
|
+
return request(_objectSpread$15({}, opts, {
|
|
4136
4136
|
path: pathDisableBusiness(businessId)
|
|
4137
4137
|
}), {
|
|
4138
4138
|
method: 'post',
|
|
@@ -4154,7 +4154,7 @@ var emailBusinessOnboardingQuestions = function emailBusinessOnboardingQuestions
|
|
|
4154
4154
|
utils_doesParamExist["default"]({
|
|
4155
4155
|
businessId: businessId
|
|
4156
4156
|
}, opts.hyperMediaEndpoint);
|
|
4157
|
-
return request(_objectSpread$
|
|
4157
|
+
return request(_objectSpread$15({}, opts, {
|
|
4158
4158
|
path: pathBusinessOnboardingQuestions(businessId)
|
|
4159
4159
|
}), {
|
|
4160
4160
|
method: 'post',
|
|
@@ -4176,7 +4176,7 @@ var enableBusiness = function enableBusiness(businessId, body, opts) {
|
|
|
4176
4176
|
utils_doesParamExist["default"]({
|
|
4177
4177
|
businessId: businessId
|
|
4178
4178
|
}, opts.hyperMediaEndpoint);
|
|
4179
|
-
return request(_objectSpread$
|
|
4179
|
+
return request(_objectSpread$15({}, opts, {
|
|
4180
4180
|
path: pathEnableBusiness(businessId)
|
|
4181
4181
|
}), {
|
|
4182
4182
|
method: 'post',
|
|
@@ -4202,7 +4202,7 @@ var getBusiness = function getBusiness(businessId, query, opts) {
|
|
|
4202
4202
|
utils_doesParamExist["default"]({
|
|
4203
4203
|
businessId: businessId
|
|
4204
4204
|
}, opts.hyperMediaEndpoint);
|
|
4205
|
-
return request(_objectSpread$
|
|
4205
|
+
return request(_objectSpread$15({}, opts, {
|
|
4206
4206
|
path: pathBusiness$1(businessId)
|
|
4207
4207
|
}), {
|
|
4208
4208
|
method: 'get',
|
|
@@ -4228,7 +4228,7 @@ var getBusinessBillingHistoryRecords = function getBusinessBillingHistoryRecords
|
|
|
4228
4228
|
utils_doesParamExist["default"]({
|
|
4229
4229
|
businessId: businessId
|
|
4230
4230
|
}, opts.hyperMediaEndpoint);
|
|
4231
|
-
return request(_objectSpread$
|
|
4231
|
+
return request(_objectSpread$15({}, opts, {
|
|
4232
4232
|
path: pathGetBusinessBillingHistoryRecords(businessId)
|
|
4233
4233
|
}), {
|
|
4234
4234
|
method: 'get',
|
|
@@ -4256,7 +4256,7 @@ var getBusinessBillingHistoryRecord = function getBusinessBillingHistoryRecord(b
|
|
|
4256
4256
|
businessId: businessId,
|
|
4257
4257
|
billingHistoryId: billingHistoryId
|
|
4258
4258
|
}, opts.hyperMediaEndpoint);
|
|
4259
|
-
return request(_objectSpread$
|
|
4259
|
+
return request(_objectSpread$15({}, opts, {
|
|
4260
4260
|
path: pathGetBusinessBillingHistoryRecord(businessId, billingHistoryId)
|
|
4261
4261
|
}), {
|
|
4262
4262
|
method: 'get',
|
|
@@ -4278,7 +4278,7 @@ var getBusinesses = function getBusinesses(query, opts) {
|
|
|
4278
4278
|
opts = {};
|
|
4279
4279
|
}
|
|
4280
4280
|
|
|
4281
|
-
return request(_objectSpread$
|
|
4281
|
+
return request(_objectSpread$15({}, opts, {
|
|
4282
4282
|
path: PATH__BUSINESSES
|
|
4283
4283
|
}), {
|
|
4284
4284
|
method: 'get',
|
|
@@ -4300,7 +4300,7 @@ var getMyBusinesses = function getMyBusinesses(query, opts) {
|
|
|
4300
4300
|
opts = {};
|
|
4301
4301
|
}
|
|
4302
4302
|
|
|
4303
|
-
return request(_objectSpread$
|
|
4303
|
+
return request(_objectSpread$15({}, opts, {
|
|
4304
4304
|
path: PATH__MY_BUSINESSES
|
|
4305
4305
|
}), {
|
|
4306
4306
|
method: 'get',
|
|
@@ -4322,7 +4322,7 @@ var getBusinessPDFs = function getBusinessPDFs(businessId, body, opts) {
|
|
|
4322
4322
|
utils_doesParamExist["default"]({
|
|
4323
4323
|
businessId: businessId
|
|
4324
4324
|
}, opts.hyperMediaEndpoint);
|
|
4325
|
-
return request(_objectSpread$
|
|
4325
|
+
return request(_objectSpread$15({}, opts, {
|
|
4326
4326
|
path: pathBusiness$1(businessId) + "/pdfs"
|
|
4327
4327
|
}), {
|
|
4328
4328
|
method: 'post',
|
|
@@ -4349,7 +4349,7 @@ var getAccountsBusinesses = function getAccountsBusinesses(accountId, query, opt
|
|
|
4349
4349
|
utils_doesParamExist["default"]({
|
|
4350
4350
|
accountId: accountId
|
|
4351
4351
|
}, opts.hyperMediaEndpoint);
|
|
4352
|
-
return request(_objectSpread$
|
|
4352
|
+
return request(_objectSpread$15({}, opts, {
|
|
4353
4353
|
path: pathAccountsBusinesses(accountId)
|
|
4354
4354
|
}), {
|
|
4355
4355
|
method: 'get',
|
|
@@ -4375,7 +4375,7 @@ var getOrganisationBusinesses = function getOrganisationBusinesses(organisationI
|
|
|
4375
4375
|
utils_doesParamExist["default"]({
|
|
4376
4376
|
organisationId: organisationId
|
|
4377
4377
|
}, opts.hyperMediaEndpoint);
|
|
4378
|
-
return request(_objectSpread$
|
|
4378
|
+
return request(_objectSpread$15({}, opts, {
|
|
4379
4379
|
path: pathOrganisationBusiness(organisationId)
|
|
4380
4380
|
}), {
|
|
4381
4381
|
method: 'get',
|
|
@@ -4397,7 +4397,7 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
|
|
|
4397
4397
|
utils_doesParamExist["default"]({
|
|
4398
4398
|
businessId: businessId
|
|
4399
4399
|
}, opts.hyperMediaEndpoint);
|
|
4400
|
-
return request(_objectSpread$
|
|
4400
|
+
return request(_objectSpread$15({}, opts, {
|
|
4401
4401
|
path: pathBusiness$1(businessId)
|
|
4402
4402
|
}), {
|
|
4403
4403
|
method: 'put',
|
|
@@ -4419,7 +4419,7 @@ var unsuspendBusiness = function unsuspendBusiness(businessId, body, opts) {
|
|
|
4419
4419
|
utils_doesParamExist["default"]({
|
|
4420
4420
|
businessId: businessId
|
|
4421
4421
|
}, opts.hyperMediaEndpoint);
|
|
4422
|
-
return request(_objectSpread$
|
|
4422
|
+
return request(_objectSpread$15({}, opts, {
|
|
4423
4423
|
path: pathUnsuspendBusiness(businessId)
|
|
4424
4424
|
}), {
|
|
4425
4425
|
method: 'post',
|
|
@@ -4441,7 +4441,7 @@ var verifyMedicare$1 = function verifyMedicare(businessId, body, opts) {
|
|
|
4441
4441
|
utils_doesParamExist["default"]({
|
|
4442
4442
|
businessId: businessId
|
|
4443
4443
|
}, opts.hyperMediaEndpoint);
|
|
4444
|
-
return request(_objectSpread$
|
|
4444
|
+
return request(_objectSpread$15({}, opts, {
|
|
4445
4445
|
path: pathVerifyMedicare(businessId)
|
|
4446
4446
|
}), {
|
|
4447
4447
|
method: 'post',
|
|
@@ -4463,7 +4463,7 @@ var oldVerifyDVA = function oldVerifyDVA(businessId, body, opts) {
|
|
|
4463
4463
|
utils_doesParamExist["default"]({
|
|
4464
4464
|
businessId: businessId
|
|
4465
4465
|
}, opts.hyperMediaEndpoint);
|
|
4466
|
-
return request(_objectSpread$
|
|
4466
|
+
return request(_objectSpread$15({}, opts, {
|
|
4467
4467
|
path: oldPathVerifyDVA(businessId)
|
|
4468
4468
|
}), {
|
|
4469
4469
|
method: 'post',
|
|
@@ -4485,7 +4485,7 @@ var verifyDVA = function verifyDVA(businessId, body, opts) {
|
|
|
4485
4485
|
utils_doesParamExist["default"]({
|
|
4486
4486
|
businessId: businessId
|
|
4487
4487
|
}, opts.hyperMediaEndpoint);
|
|
4488
|
-
return request(_objectSpread$
|
|
4488
|
+
return request(_objectSpread$15({}, opts, {
|
|
4489
4489
|
path: pathVerifyDVA(businessId)
|
|
4490
4490
|
}), {
|
|
4491
4491
|
method: 'post',
|
|
@@ -4507,7 +4507,7 @@ var verifyIcare = function verifyIcare(businessId, body, opts) {
|
|
|
4507
4507
|
utils_doesParamExist["default"]({
|
|
4508
4508
|
businessId: businessId
|
|
4509
4509
|
}, opts.hyperMediaEndpoint);
|
|
4510
|
-
return request(_objectSpread$
|
|
4510
|
+
return request(_objectSpread$15({}, opts, {
|
|
4511
4511
|
path: pathVerifyIcare(businessId)
|
|
4512
4512
|
}), {
|
|
4513
4513
|
method: 'post',
|
|
@@ -4533,7 +4533,7 @@ var verifyComcare = function verifyComcare(businessId, staffId, providerSetItemI
|
|
|
4533
4533
|
staffId: staffId,
|
|
4534
4534
|
providerSetItemId: providerSetItemId
|
|
4535
4535
|
}, opts.hyperMediaEndpoint);
|
|
4536
|
-
return request(_objectSpread$
|
|
4536
|
+
return request(_objectSpread$15({}, opts, {
|
|
4537
4537
|
path: pathVerifyComcare(businessId, staffId, providerSetItemId)
|
|
4538
4538
|
}), {
|
|
4539
4539
|
method: 'post',
|
|
@@ -4555,7 +4555,7 @@ var createSupportNote = function createSupportNote(businessId, body, opts) {
|
|
|
4555
4555
|
utils_doesParamExist["default"]({
|
|
4556
4556
|
businessId: businessId
|
|
4557
4557
|
}, opts.hyperMediaEndpoint);
|
|
4558
|
-
return request(_objectSpread$
|
|
4558
|
+
return request(_objectSpread$15({}, opts, {
|
|
4559
4559
|
path: pathCreateSupportNote(businessId)
|
|
4560
4560
|
}), {
|
|
4561
4561
|
method: 'post',
|
|
@@ -4577,7 +4577,7 @@ var getBsbDetails = function getBsbDetails(businessId, query, opts) {
|
|
|
4577
4577
|
utils_doesParamExist["default"]({
|
|
4578
4578
|
businessId: businessId
|
|
4579
4579
|
}, opts.hyperMediaEndpoint);
|
|
4580
|
-
return request(_objectSpread$
|
|
4580
|
+
return request(_objectSpread$15({}, opts, {
|
|
4581
4581
|
path: pathBsbDetails(businessId)
|
|
4582
4582
|
}), {
|
|
4583
4583
|
method: 'get',
|
|
@@ -4599,7 +4599,7 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
|
|
|
4599
4599
|
utils_doesParamExist["default"]({
|
|
4600
4600
|
businessId: businessId
|
|
4601
4601
|
}, opts.hyperMediaEndpoint);
|
|
4602
|
-
return request(_objectSpread$
|
|
4602
|
+
return request(_objectSpread$15({}, opts, {
|
|
4603
4603
|
path: pathBusinessSendEmails(businessId)
|
|
4604
4604
|
}), {
|
|
4605
4605
|
method: 'post',
|
|
@@ -4621,7 +4621,7 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
|
4621
4621
|
utils_doesParamExist["default"]({
|
|
4622
4622
|
businessId: businessId
|
|
4623
4623
|
}, opts.hyperMediaEndpoint);
|
|
4624
|
-
return request(_objectSpread$
|
|
4624
|
+
return request(_objectSpread$15({}, opts, {
|
|
4625
4625
|
path: pathSuspendBusiness(businessId)
|
|
4626
4626
|
}), {
|
|
4627
4627
|
method: 'post',
|
|
@@ -4642,7 +4642,7 @@ var getOrgByHealthFundExists = function getOrgByHealthFundExists(businessId, que
|
|
|
4642
4642
|
utils_doesParamExist["default"]({
|
|
4643
4643
|
businessId: businessId
|
|
4644
4644
|
}, opts.hyperMediaEndpoint);
|
|
4645
|
-
return request(_objectSpread$
|
|
4645
|
+
return request(_objectSpread$15({}, opts, {
|
|
4646
4646
|
path: pathGetOrgByHealthFundExists(businessId)
|
|
4647
4647
|
}), {
|
|
4648
4648
|
method: 'get',
|
|
@@ -4663,7 +4663,7 @@ var suspendBusinessEmail = function suspendBusinessEmail(businessId, opts) {
|
|
|
4663
4663
|
utils_doesParamExist["default"]({
|
|
4664
4664
|
businessId: businessId
|
|
4665
4665
|
}, opts.hyperMediaEndpoint);
|
|
4666
|
-
return request(_objectSpread$
|
|
4666
|
+
return request(_objectSpread$15({}, opts, {
|
|
4667
4667
|
path: pathSuspendBusinessEmail(businessId)
|
|
4668
4668
|
}), {
|
|
4669
4669
|
method: 'post'
|
|
@@ -4701,9 +4701,9 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
4701
4701
|
suspendBusinessEmail: suspendBusinessEmail
|
|
4702
4702
|
});
|
|
4703
4703
|
|
|
4704
|
-
function ownKeys$
|
|
4704
|
+
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; }
|
|
4705
4705
|
|
|
4706
|
-
function _objectSpread$
|
|
4706
|
+
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; }
|
|
4707
4707
|
|
|
4708
4708
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
4709
4709
|
var pathBusinessClaimItems = function pathBusinessClaimItems(businessId) {
|
|
@@ -4749,7 +4749,7 @@ var getBusinessClaimItems = /*#__PURE__*/function () {
|
|
|
4749
4749
|
utils_doesParamExist["default"]({
|
|
4750
4750
|
businessId: businessId
|
|
4751
4751
|
}, opts.hyperMediaEndpoint);
|
|
4752
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4752
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4753
4753
|
path: pathBusinessClaimItems(businessId)
|
|
4754
4754
|
}), {
|
|
4755
4755
|
method: 'get',
|
|
@@ -4794,7 +4794,7 @@ var getBusinessClaimItem = /*#__PURE__*/function () {
|
|
|
4794
4794
|
businessId: businessId,
|
|
4795
4795
|
claimItemId: claimItemId
|
|
4796
4796
|
}, opts.hyperMediaEndpoint);
|
|
4797
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
4797
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4798
4798
|
path: pathBusinessClaimItem(businessId, claimItemId)
|
|
4799
4799
|
}), {
|
|
4800
4800
|
method: 'get',
|
|
@@ -4837,7 +4837,7 @@ var getHealthFundClaimItems = /*#__PURE__*/function () {
|
|
|
4837
4837
|
utils_doesParamExist["default"]({
|
|
4838
4838
|
healthFundId: healthFundId
|
|
4839
4839
|
}, opts.hyperMediaEndpoint);
|
|
4840
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
4840
|
+
return _context3.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4841
4841
|
path: pathHealthFundClaimItems(healthFundId)
|
|
4842
4842
|
}), {
|
|
4843
4843
|
method: 'get',
|
|
@@ -4882,7 +4882,7 @@ var getHealthFundClaimItem = /*#__PURE__*/function () {
|
|
|
4882
4882
|
healthFundId: healthFundId,
|
|
4883
4883
|
claimItemId: claimItemId
|
|
4884
4884
|
}, opts.hyperMediaEndpoint);
|
|
4885
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
4885
|
+
return _context4.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4886
4886
|
path: pathHealthFundClaimItem(healthFundId, claimItemId)
|
|
4887
4887
|
}), {
|
|
4888
4888
|
method: 'get',
|
|
@@ -4910,9 +4910,9 @@ var claimItems = /*#__PURE__*/Object.freeze({
|
|
|
4910
4910
|
getHealthFundClaimItem: getHealthFundClaimItem
|
|
4911
4911
|
});
|
|
4912
4912
|
|
|
4913
|
-
function ownKeys$
|
|
4913
|
+
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; }
|
|
4914
4914
|
|
|
4915
|
-
function _objectSpread$
|
|
4915
|
+
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; }
|
|
4916
4916
|
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
|
|
4917
4917
|
|
|
4918
4918
|
var pathDocAccount = function pathDocAccount(docAccountId) {
|
|
@@ -4939,7 +4939,7 @@ var getDocAccounts = /*#__PURE__*/function () {
|
|
|
4939
4939
|
opts = {};
|
|
4940
4940
|
}
|
|
4941
4941
|
|
|
4942
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4942
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
4943
4943
|
path: PATH__DOC_ACCOUNTS
|
|
4944
4944
|
}), {
|
|
4945
4945
|
method: 'get',
|
|
@@ -4977,7 +4977,7 @@ var getDocAccount = /*#__PURE__*/function () {
|
|
|
4977
4977
|
utils_doesParamExist["default"]({
|
|
4978
4978
|
partnerId: partnerId
|
|
4979
4979
|
}, opts.hyperMediaEndpoint);
|
|
4980
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
4980
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
4981
4981
|
path: pathDocAccount(partnerId)
|
|
4982
4982
|
}), {
|
|
4983
4983
|
method: 'get'
|
|
@@ -5011,7 +5011,7 @@ var createDocAccount = /*#__PURE__*/function () {
|
|
|
5011
5011
|
opts = {};
|
|
5012
5012
|
}
|
|
5013
5013
|
|
|
5014
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
5014
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5015
5015
|
path: PATH__DOC_ACCOUNTS
|
|
5016
5016
|
}), {
|
|
5017
5017
|
method: 'post',
|
|
@@ -5050,7 +5050,7 @@ var updateDocAccount = /*#__PURE__*/function () {
|
|
|
5050
5050
|
utils_doesParamExist["default"]({
|
|
5051
5051
|
docAccountId: docAccountId
|
|
5052
5052
|
}, opts.hyperMediaEndpoint);
|
|
5053
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
5053
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5054
5054
|
path: pathDocAccount(docAccountId)
|
|
5055
5055
|
}), {
|
|
5056
5056
|
method: 'put',
|
|
@@ -5088,7 +5088,7 @@ var deleteDocAccount = /*#__PURE__*/function () {
|
|
|
5088
5088
|
utils_doesParamExist["default"]({
|
|
5089
5089
|
docAccountId: docAccountId
|
|
5090
5090
|
}, opts.hyperMediaEndpoint);
|
|
5091
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
5091
|
+
return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5092
5092
|
path: pathDocAccount(docAccountId)
|
|
5093
5093
|
}), {
|
|
5094
5094
|
method: 'delete'
|
|
@@ -5116,9 +5116,9 @@ var docAccounts = /*#__PURE__*/Object.freeze({
|
|
|
5116
5116
|
deleteDocAccount: deleteDocAccount
|
|
5117
5117
|
});
|
|
5118
5118
|
|
|
5119
|
-
function ownKeys$
|
|
5119
|
+
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; }
|
|
5120
5120
|
|
|
5121
|
-
function _objectSpread$
|
|
5121
|
+
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; }
|
|
5122
5122
|
var pathBusinessDocuments = function pathBusinessDocuments(businessId) {
|
|
5123
5123
|
return "/businesses/" + businessId + "/documents";
|
|
5124
5124
|
};
|
|
@@ -5174,7 +5174,7 @@ var approveHealthFundDocument = function approveHealthFundDocument(healthFundId,
|
|
|
5174
5174
|
healthFundId: healthFundId,
|
|
5175
5175
|
documentId: documentId
|
|
5176
5176
|
}, opts.hyperMediaEndpoint);
|
|
5177
|
-
return request(_objectSpread$
|
|
5177
|
+
return request(_objectSpread$12({}, opts, {
|
|
5178
5178
|
path: pathHealthFundDocumentApprove(healthFundId, documentId)
|
|
5179
5179
|
}), {
|
|
5180
5180
|
method: 'post'
|
|
@@ -5196,7 +5196,7 @@ var assignHealthFundDocumentToMe = function assignHealthFundDocumentToMe(healthF
|
|
|
5196
5196
|
healthFundId: healthFundId,
|
|
5197
5197
|
documentId: documentId
|
|
5198
5198
|
}, opts.hyperMediaEndpoint);
|
|
5199
|
-
return request(_objectSpread$
|
|
5199
|
+
return request(_objectSpread$12({}, opts, {
|
|
5200
5200
|
path: pathHealthFundDocumentAssignToMe(healthFundId, documentId)
|
|
5201
5201
|
}), {
|
|
5202
5202
|
method: 'put'
|
|
@@ -5218,7 +5218,7 @@ var cancelBusinessDocument = function cancelBusinessDocument(businessId, documen
|
|
|
5218
5218
|
businessId: businessId,
|
|
5219
5219
|
documentId: documentId
|
|
5220
5220
|
}, opts.hyperMediaEndpoint);
|
|
5221
|
-
return request(_objectSpread$
|
|
5221
|
+
return request(_objectSpread$12({}, opts, {
|
|
5222
5222
|
path: pathBusinessDocumentCancel(businessId, documentId)
|
|
5223
5223
|
}), {
|
|
5224
5224
|
method: 'post'
|
|
@@ -5240,7 +5240,7 @@ var declineHealthFundDocument = function declineHealthFundDocument(healthFundId,
|
|
|
5240
5240
|
healthFundId: healthFundId,
|
|
5241
5241
|
documentId: documentId
|
|
5242
5242
|
}, opts.hyperMediaEndpoint);
|
|
5243
|
-
return request(_objectSpread$
|
|
5243
|
+
return request(_objectSpread$12({}, opts, {
|
|
5244
5244
|
path: pathHealthFundDocumentDecline(healthFundId, documentId)
|
|
5245
5245
|
}), {
|
|
5246
5246
|
method: 'post',
|
|
@@ -5263,7 +5263,7 @@ var ceaseHealthFundDocument = function ceaseHealthFundDocument(healthFundId, doc
|
|
|
5263
5263
|
healthFundId: healthFundId,
|
|
5264
5264
|
documentId: documentId
|
|
5265
5265
|
}, opts.hyperMediaEndpoint);
|
|
5266
|
-
return request(_objectSpread$
|
|
5266
|
+
return request(_objectSpread$12({}, opts, {
|
|
5267
5267
|
path: pathHealthFundDocumentCease(healthFundId, documentId)
|
|
5268
5268
|
}), {
|
|
5269
5269
|
method: 'post',
|
|
@@ -5288,7 +5288,7 @@ var deleteHealthFundDocumentTag = function deleteHealthFundDocumentTag(healthFun
|
|
|
5288
5288
|
documentId: documentId,
|
|
5289
5289
|
tagId: tagId
|
|
5290
5290
|
}, opts.hyperMediaEndpoint);
|
|
5291
|
-
return request(_objectSpread$
|
|
5291
|
+
return request(_objectSpread$12({}, opts, {
|
|
5292
5292
|
path: pathHealthFundDocumentTag(healthFundId, documentId, tagId)
|
|
5293
5293
|
}), {
|
|
5294
5294
|
method: 'delete'
|
|
@@ -5309,7 +5309,7 @@ var getBusinessDocuments = function getBusinessDocuments(businessId, query, opts
|
|
|
5309
5309
|
utils_doesParamExist["default"]({
|
|
5310
5310
|
businessId: businessId
|
|
5311
5311
|
}, opts.hyperMediaEndpoint);
|
|
5312
|
-
return request(_objectSpread$
|
|
5312
|
+
return request(_objectSpread$12({}, opts, {
|
|
5313
5313
|
path: pathBusinessDocuments(businessId)
|
|
5314
5314
|
}), {
|
|
5315
5315
|
method: 'get',
|
|
@@ -5331,7 +5331,7 @@ var getBusinessDocument = function getBusinessDocument(businessId, documentId, o
|
|
|
5331
5331
|
utils_doesParamExist["default"]({
|
|
5332
5332
|
businessId: businessId
|
|
5333
5333
|
}, opts.hyperMediaEndpoint);
|
|
5334
|
-
return request(_objectSpread$
|
|
5334
|
+
return request(_objectSpread$12({}, opts, {
|
|
5335
5335
|
path: pathBusinessDocument(businessId, documentId)
|
|
5336
5336
|
}), {
|
|
5337
5337
|
method: 'get'
|
|
@@ -5352,7 +5352,7 @@ var getHealthFundDocuments = function getHealthFundDocuments(healthFundId, query
|
|
|
5352
5352
|
utils_doesParamExist["default"]({
|
|
5353
5353
|
healthFundId: healthFundId
|
|
5354
5354
|
}, opts.hyperMediaEndpoint);
|
|
5355
|
-
return request(_objectSpread$
|
|
5355
|
+
return request(_objectSpread$12({}, opts, {
|
|
5356
5356
|
path: pathHealthFundDocuments(healthFundId)
|
|
5357
5357
|
}), {
|
|
5358
5358
|
method: 'get',
|
|
@@ -5375,7 +5375,7 @@ var getHealthFundDocument = function getHealthFundDocument(healthFundId, documen
|
|
|
5375
5375
|
healthFundId: healthFundId,
|
|
5376
5376
|
documentId: documentId
|
|
5377
5377
|
}, opts.hyperMediaEndpoint);
|
|
5378
|
-
return request(_objectSpread$
|
|
5378
|
+
return request(_objectSpread$12({}, opts, {
|
|
5379
5379
|
path: pathHealthFundDocument(healthFundId, documentId)
|
|
5380
5380
|
}), {
|
|
5381
5381
|
method: 'get'
|
|
@@ -5397,7 +5397,7 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
|
|
|
5397
5397
|
healthFundId: healthFundId,
|
|
5398
5398
|
documentId: documentId
|
|
5399
5399
|
}, opts.hyperMediaEndpoint);
|
|
5400
|
-
return request(_objectSpread$
|
|
5400
|
+
return request(_objectSpread$12({}, opts, {
|
|
5401
5401
|
path: pathHealthFundDocumentPark(healthFundId, documentId)
|
|
5402
5402
|
}), {
|
|
5403
5403
|
method: 'post',
|
|
@@ -5420,7 +5420,7 @@ var getHealthPointRegistrationApplication = function getHealthPointRegistrationA
|
|
|
5420
5420
|
healthFundId: healthFundId,
|
|
5421
5421
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5422
5422
|
}, opts.hyperMediaEndpoint);
|
|
5423
|
-
return request(_objectSpread$
|
|
5423
|
+
return request(_objectSpread$12({}, opts, {
|
|
5424
5424
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5425
5425
|
}), {
|
|
5426
5426
|
method: 'get'
|
|
@@ -5443,7 +5443,7 @@ var updateHealthPointRegistrationApplication = function updateHealthPointRegistr
|
|
|
5443
5443
|
healthFundId: healthFundId,
|
|
5444
5444
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5445
5445
|
}, opts.hyperMediaEndpoint);
|
|
5446
|
-
return request(_objectSpread$
|
|
5446
|
+
return request(_objectSpread$12({}, opts, {
|
|
5447
5447
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5448
5448
|
}), {
|
|
5449
5449
|
method: 'put',
|
|
@@ -5467,7 +5467,7 @@ var activateHealthPointDigitalClaiming = function activateHealthPointDigitalClai
|
|
|
5467
5467
|
healthFundId: healthFundId,
|
|
5468
5468
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5469
5469
|
}, opts.hyperMediaEndpoint);
|
|
5470
|
-
return request(_objectSpread$
|
|
5470
|
+
return request(_objectSpread$12({}, opts, {
|
|
5471
5471
|
path: pathHealthFundHealthPointActivateDigitalClaiming(healthFundId, healthPointRegistrationApplicationId)
|
|
5472
5472
|
}), {
|
|
5473
5473
|
method: 'post',
|
|
@@ -5506,9 +5506,9 @@ var documents = /*#__PURE__*/Object.freeze({
|
|
|
5506
5506
|
activateHealthPointDigitalClaiming: activateHealthPointDigitalClaiming
|
|
5507
5507
|
});
|
|
5508
5508
|
|
|
5509
|
-
function ownKeys$
|
|
5509
|
+
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; }
|
|
5510
5510
|
|
|
5511
|
-
function _objectSpread$
|
|
5511
|
+
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; }
|
|
5512
5512
|
var pathGetBusinessEmailLogs = function pathGetBusinessEmailLogs(businessId) {
|
|
5513
5513
|
return "/businesses/" + businessId + "/emaillogs";
|
|
5514
5514
|
};
|
|
@@ -5530,7 +5530,7 @@ var getBusinessEmailLogs = function getBusinessEmailLogs(businessId, query, opts
|
|
|
5530
5530
|
utils_doesParamExist["default"]({
|
|
5531
5531
|
businessId: businessId
|
|
5532
5532
|
}, opts.hyperMediaEndpoint);
|
|
5533
|
-
return request(_objectSpread$
|
|
5533
|
+
return request(_objectSpread$11({}, opts, {
|
|
5534
5534
|
path: pathGetBusinessEmailLogs(businessId)
|
|
5535
5535
|
}), {
|
|
5536
5536
|
method: 'get',
|
|
@@ -5551,7 +5551,7 @@ var getEmailLog = function getEmailLog(emailLogId, opts) {
|
|
|
5551
5551
|
utils_doesParamExist["default"]({
|
|
5552
5552
|
emailLogId: emailLogId
|
|
5553
5553
|
}, opts.hyperMediaEndpoint);
|
|
5554
|
-
return request(_objectSpread$
|
|
5554
|
+
return request(_objectSpread$11({}, opts, {
|
|
5555
5555
|
path: pathGetEmailLog(emailLogId)
|
|
5556
5556
|
}), {
|
|
5557
5557
|
method: 'get'
|
|
@@ -5566,9 +5566,9 @@ var emailLogs = /*#__PURE__*/Object.freeze({
|
|
|
5566
5566
|
getEmailLog: getEmailLog
|
|
5567
5567
|
});
|
|
5568
5568
|
|
|
5569
|
-
function ownKeys$
|
|
5569
|
+
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; }
|
|
5570
5570
|
|
|
5571
|
-
function _objectSpread$
|
|
5571
|
+
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; }
|
|
5572
5572
|
var healthFundEmailSections = function healthFundEmailSections(healthFundId, emailTemplateId) {
|
|
5573
5573
|
return "/healthfunds/" + healthFundId + "/emailtemplates/" + emailTemplateId + "/emailsections";
|
|
5574
5574
|
};
|
|
@@ -5600,7 +5600,7 @@ var getHealthFundEmailSections = function getHealthFundEmailSections(healthFundI
|
|
|
5600
5600
|
healthFundId: healthFundId,
|
|
5601
5601
|
emailTemplateId: emailTemplateId
|
|
5602
5602
|
}, opts.hyperMediaEndpoint);
|
|
5603
|
-
return request(_objectSpread$
|
|
5603
|
+
return request(_objectSpread$10({}, opts, {
|
|
5604
5604
|
path: healthFundEmailSections(healthFundId, emailTemplateId)
|
|
5605
5605
|
}), {
|
|
5606
5606
|
method: 'get',
|
|
@@ -5619,7 +5619,7 @@ var getHealthFundEmailTemplates = function getHealthFundEmailTemplates(healthFun
|
|
|
5619
5619
|
utils_doesParamExist["default"]({
|
|
5620
5620
|
healthFundId: healthFundId
|
|
5621
5621
|
}, opts.hyperMediaEndpoint);
|
|
5622
|
-
return request(_objectSpread$
|
|
5622
|
+
return request(_objectSpread$10({}, opts, {
|
|
5623
5623
|
path: healthFundEmailTemplates(healthFundId)
|
|
5624
5624
|
}), {
|
|
5625
5625
|
method: 'get',
|
|
@@ -5635,7 +5635,7 @@ var generateEmailTemplate = function generateEmailTemplate(healthFundId, transac
|
|
|
5635
5635
|
healthFundId: healthFundId,
|
|
5636
5636
|
transactionId: transactionId
|
|
5637
5637
|
}, opts.hyperMediaEndpoint);
|
|
5638
|
-
return request(_objectSpread$
|
|
5638
|
+
return request(_objectSpread$10({}, opts, {
|
|
5639
5639
|
path: healthFundTransactionEmail(healthFundId, transactionId)
|
|
5640
5640
|
}), {
|
|
5641
5641
|
method: 'post',
|
|
@@ -5651,7 +5651,7 @@ var generateDocumentEmailTemplate = function generateDocumentEmailTemplate(healt
|
|
|
5651
5651
|
healthFundId: healthFundId,
|
|
5652
5652
|
documentId: documentId
|
|
5653
5653
|
}, opts.hyperMediaEndpoint);
|
|
5654
|
-
return request(_objectSpread$
|
|
5654
|
+
return request(_objectSpread$10({}, opts, {
|
|
5655
5655
|
path: healthFundDocumentEmail(healthFundId, documentId)
|
|
5656
5656
|
}), {
|
|
5657
5657
|
method: 'post',
|
|
@@ -5666,7 +5666,7 @@ var createEmailPackage = function createEmailPackage(transactionId, body, opts)
|
|
|
5666
5666
|
utils_doesParamExist["default"]({
|
|
5667
5667
|
transactionId: transactionId
|
|
5668
5668
|
}, opts.hyperMediaEndpoint);
|
|
5669
|
-
return request(_objectSpread$
|
|
5669
|
+
return request(_objectSpread$10({}, opts, {
|
|
5670
5670
|
path: transactionEmailPackages(transactionId)
|
|
5671
5671
|
}), {
|
|
5672
5672
|
method: 'post',
|
|
@@ -5682,7 +5682,7 @@ var updateEmailPackage = function updateEmailPackage(transactionId, emailPackage
|
|
|
5682
5682
|
transactionId: transactionId,
|
|
5683
5683
|
emailPackageId: emailPackageId
|
|
5684
5684
|
}, opts.hyperMediaEndpoint);
|
|
5685
|
-
return request(_objectSpread$
|
|
5685
|
+
return request(_objectSpread$10({}, opts, {
|
|
5686
5686
|
path: transactionEmailPackage(transactionId, emailPackageId)
|
|
5687
5687
|
}), {
|
|
5688
5688
|
method: 'put',
|
|
@@ -5698,7 +5698,7 @@ var sendEmailPackage = function sendEmailPackage(transactionId, emailPackageId,
|
|
|
5698
5698
|
transactionId: transactionId,
|
|
5699
5699
|
emailPackageId: emailPackageId
|
|
5700
5700
|
}, opts.hyperMediaEndpoint);
|
|
5701
|
-
return request(_objectSpread$
|
|
5701
|
+
return request(_objectSpread$10({}, opts, {
|
|
5702
5702
|
path: transactionEmailPackage(transactionId, emailPackageId) + "/send"
|
|
5703
5703
|
}), {
|
|
5704
5704
|
method: 'post',
|
|
@@ -5723,9 +5723,9 @@ var emails = /*#__PURE__*/Object.freeze({
|
|
|
5723
5723
|
sendEmailPackage: sendEmailPackage
|
|
5724
5724
|
});
|
|
5725
5725
|
|
|
5726
|
-
function ownKeys
|
|
5726
|
+
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; }
|
|
5727
5727
|
|
|
5728
|
-
function _objectSpread
|
|
5728
|
+
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; }
|
|
5729
5729
|
var pathFilterOptions = function pathFilterOptions(businessId) {
|
|
5730
5730
|
return "/businesses/" + businessId + "/filteroptions";
|
|
5731
5731
|
};
|
|
@@ -5742,7 +5742,7 @@ var getBusinessFilterOptions = /*#__PURE__*/function () {
|
|
|
5742
5742
|
utils_doesParamExist["default"]({
|
|
5743
5743
|
businessId: businessId
|
|
5744
5744
|
}, opts.hyperMediaEndpoint);
|
|
5745
|
-
return _context.abrupt("return", request(_objectSpread
|
|
5745
|
+
return _context.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
5746
5746
|
path: pathFilterOptions(businessId)
|
|
5747
5747
|
}), {
|
|
5748
5748
|
method: 'get',
|
|
@@ -5768,9 +5768,9 @@ var filterOptions = /*#__PURE__*/Object.freeze({
|
|
|
5768
5768
|
getBusinessFilterOptions: getBusinessFilterOptions
|
|
5769
5769
|
});
|
|
5770
5770
|
|
|
5771
|
-
function ownKeys
|
|
5771
|
+
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; }
|
|
5772
5772
|
|
|
5773
|
-
function _objectSpread
|
|
5773
|
+
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; }
|
|
5774
5774
|
var pathBusinessFormApplicationTemplate = function pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId) {
|
|
5775
5775
|
return "/businesses/" + businessId + "/forms/" + formId + "/formapplicationtemplates/" + formApplicationTemplateId;
|
|
5776
5776
|
};
|
|
@@ -5796,7 +5796,7 @@ var getBusinessFormApplicationTemplate = function getBusinessFormApplicationTemp
|
|
|
5796
5796
|
formId: formId,
|
|
5797
5797
|
formApplicationTemplateId: formApplicationTemplateId
|
|
5798
5798
|
}, opts.hyperMediaEndpoint);
|
|
5799
|
-
return request(_objectSpread
|
|
5799
|
+
return request(_objectSpread$_({}, opts, {
|
|
5800
5800
|
path: pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId)
|
|
5801
5801
|
}), {
|
|
5802
5802
|
method: 'get'
|
|
@@ -5819,7 +5819,7 @@ var getHealthFundFormApplicationTemplate = function getHealthFundFormApplication
|
|
|
5819
5819
|
healthFundId: healthFundId,
|
|
5820
5820
|
formApplicationTemplateId: formApplicationTemplateId
|
|
5821
5821
|
}, opts.hyperMediaEndpoint);
|
|
5822
|
-
return request(_objectSpread
|
|
5822
|
+
return request(_objectSpread$_({}, opts, {
|
|
5823
5823
|
path: pathHealthFundFormApplicationTemplate(healthFundId, formApplicationTemplateId)
|
|
5824
5824
|
}), {
|
|
5825
5825
|
method: 'get'
|
|
@@ -5834,9 +5834,9 @@ var formApplicationTemplates = /*#__PURE__*/Object.freeze({
|
|
|
5834
5834
|
getHealthFundFormApplicationTemplate: getHealthFundFormApplicationTemplate
|
|
5835
5835
|
});
|
|
5836
5836
|
|
|
5837
|
-
function ownKeys$
|
|
5837
|
+
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; }
|
|
5838
5838
|
|
|
5839
|
-
function _objectSpread$
|
|
5839
|
+
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; }
|
|
5840
5840
|
var pathBusinessFormApplication = function pathBusinessFormApplication(businessId, formApplicationId) {
|
|
5841
5841
|
return "/businesses/" + businessId + "/formapplications/" + formApplicationId;
|
|
5842
5842
|
};
|
|
@@ -5863,7 +5863,7 @@ var getBusinessFormApplication = function getBusinessFormApplication(businessId,
|
|
|
5863
5863
|
businessId: businessId,
|
|
5864
5864
|
formApplicationId: formApplicationId
|
|
5865
5865
|
}, opts.hyperMediaEndpoint);
|
|
5866
|
-
return request(_objectSpread$
|
|
5866
|
+
return request(_objectSpread$Z({}, opts, {
|
|
5867
5867
|
path: pathBusinessFormApplication(businessId, formApplicationId)
|
|
5868
5868
|
}), {
|
|
5869
5869
|
method: 'get'
|
|
@@ -5886,7 +5886,7 @@ var getHealthFundFormApplication = function getHealthFundFormApplication(healthF
|
|
|
5886
5886
|
healthFundId: healthFundId,
|
|
5887
5887
|
formApplicationId: formApplicationId
|
|
5888
5888
|
}, opts.hyperMediaEndpoint);
|
|
5889
|
-
return request(_objectSpread$
|
|
5889
|
+
return request(_objectSpread$Z({}, opts, {
|
|
5890
5890
|
path: pathHealthFundFormApplication(healthFundId, formApplicationId)
|
|
5891
5891
|
}), {
|
|
5892
5892
|
method: 'get'
|
|
@@ -5913,7 +5913,7 @@ var updatePracticeRepresentative = /*#__PURE__*/function () {
|
|
|
5913
5913
|
healthFundId: healthFundId,
|
|
5914
5914
|
formApplicationId: formApplicationId
|
|
5915
5915
|
}, opts.hyperMediaEndpoint);
|
|
5916
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5916
|
+
return _context.abrupt("return", request(_objectSpread$Z({}, opts, {
|
|
5917
5917
|
path: pathUpdatePracticeRepresentative(healthFundId, formApplicationId)
|
|
5918
5918
|
}), {
|
|
5919
5919
|
method: 'put',
|
|
@@ -5943,9 +5943,9 @@ var formApplications = /*#__PURE__*/Object.freeze({
|
|
|
5943
5943
|
updatePracticeRepresentative: updatePracticeRepresentative
|
|
5944
5944
|
});
|
|
5945
5945
|
|
|
5946
|
-
function ownKeys$
|
|
5946
|
+
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; }
|
|
5947
5947
|
|
|
5948
|
-
function _objectSpread$
|
|
5948
|
+
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; }
|
|
5949
5949
|
var pathBusinessForm = function pathBusinessForm(businessId, formId) {
|
|
5950
5950
|
return "/businesses/" + businessId + "/forms/" + formId;
|
|
5951
5951
|
};
|
|
@@ -5990,7 +5990,7 @@ var applyForBusinessForm = function applyForBusinessForm(businessId, formId, bod
|
|
|
5990
5990
|
businessId: businessId,
|
|
5991
5991
|
formId: formId
|
|
5992
5992
|
}, opts.hyperMediaEndpoint);
|
|
5993
|
-
return request(_objectSpread$
|
|
5993
|
+
return request(_objectSpread$Y({}, opts, {
|
|
5994
5994
|
path: pathBusinessFormApplications(businessId, formId)
|
|
5995
5995
|
}), {
|
|
5996
5996
|
method: 'post',
|
|
@@ -6012,7 +6012,7 @@ var createHealthFundForm = function createHealthFundForm(healthFundId, body, opt
|
|
|
6012
6012
|
utils_doesParamExist["default"]({
|
|
6013
6013
|
healthFundId: healthFundId
|
|
6014
6014
|
}, opts.hyperMediaEndpoint);
|
|
6015
|
-
return request(_objectSpread$
|
|
6015
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6016
6016
|
path: pathHealthFundForms(healthFundId)
|
|
6017
6017
|
}), {
|
|
6018
6018
|
method: 'post',
|
|
@@ -6035,7 +6035,7 @@ var deleteHealthFundForm = function deleteHealthFundForm(healthFundId, formId, o
|
|
|
6035
6035
|
healthFundId: healthFundId,
|
|
6036
6036
|
formId: formId
|
|
6037
6037
|
}, opts.hyperMediaEndpoint);
|
|
6038
|
-
return request(_objectSpread$
|
|
6038
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6039
6039
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6040
6040
|
}), {
|
|
6041
6041
|
method: 'delete'
|
|
@@ -6058,7 +6058,7 @@ var getBusinessForm = function getBusinessForm(businessId, formId, opts) {
|
|
|
6058
6058
|
businessId: businessId,
|
|
6059
6059
|
formId: formId
|
|
6060
6060
|
}, opts.hyperMediaEndpoint);
|
|
6061
|
-
return request(_objectSpread$
|
|
6061
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6062
6062
|
path: pathBusinessForm(businessId, formId)
|
|
6063
6063
|
}), {
|
|
6064
6064
|
method: 'get'
|
|
@@ -6083,7 +6083,7 @@ var getHealthFundForms = function getHealthFundForms(healthFundId, query, opts)
|
|
|
6083
6083
|
utils_doesParamExist["default"]({
|
|
6084
6084
|
healthFundId: healthFundId
|
|
6085
6085
|
}, opts.hyperMediaEndpoint);
|
|
6086
|
-
return request(_objectSpread$
|
|
6086
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6087
6087
|
path: pathHealthFundForms(healthFundId)
|
|
6088
6088
|
}), {
|
|
6089
6089
|
method: 'get',
|
|
@@ -6106,7 +6106,7 @@ var getHealthFundForm = function getHealthFundForm(healthFundId, formId, opts) {
|
|
|
6106
6106
|
healthFundId: healthFundId,
|
|
6107
6107
|
formId: formId
|
|
6108
6108
|
}, opts.hyperMediaEndpoint);
|
|
6109
|
-
return request(_objectSpread$
|
|
6109
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6110
6110
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6111
6111
|
}), {
|
|
6112
6112
|
method: 'get'
|
|
@@ -6131,7 +6131,7 @@ var getHealthFundFormUploadUrl = function getHealthFundFormUploadUrl(healthFundI
|
|
|
6131
6131
|
contentType: contentType,
|
|
6132
6132
|
fileName: fileName
|
|
6133
6133
|
}, opts.hyperMediaEndpoint);
|
|
6134
|
-
return request(_objectSpread$
|
|
6134
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6135
6135
|
path: pathHealthFundFormUploadUrl(healthFundId)
|
|
6136
6136
|
}), {
|
|
6137
6137
|
method: 'get',
|
|
@@ -6154,7 +6154,7 @@ var publishHealthFundForm = function publishHealthFundForm(healthFundId, formId,
|
|
|
6154
6154
|
healthFundId: healthFundId,
|
|
6155
6155
|
formId: formId
|
|
6156
6156
|
}, opts.hyperMediaEndpoint);
|
|
6157
|
-
return request(_objectSpread$
|
|
6157
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6158
6158
|
path: pathHealthFundFormPublish(healthFundId, formId)
|
|
6159
6159
|
}), {
|
|
6160
6160
|
method: 'post'
|
|
@@ -6177,7 +6177,7 @@ var updateHealthFundForm = function updateHealthFundForm(healthFundId, formId, b
|
|
|
6177
6177
|
healthFundId: healthFundId,
|
|
6178
6178
|
formId: formId
|
|
6179
6179
|
}, opts.hyperMediaEndpoint);
|
|
6180
|
-
return request(_objectSpread$
|
|
6180
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6181
6181
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6182
6182
|
}), {
|
|
6183
6183
|
method: 'put',
|
|
@@ -6200,7 +6200,7 @@ var unpublishHealthFundForm = function unpublishHealthFundForm(healthFundId, for
|
|
|
6200
6200
|
healthFundId: healthFundId,
|
|
6201
6201
|
formId: formId
|
|
6202
6202
|
}, opts.hyperMediaEndpoint);
|
|
6203
|
-
return request(_objectSpread$
|
|
6203
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6204
6204
|
path: pathHealthFundFormUnpublish(healthFundId, formId)
|
|
6205
6205
|
}), {
|
|
6206
6206
|
method: 'post'
|
|
@@ -6224,7 +6224,7 @@ var getLatestApprovedDocument = function getLatestApprovedDocument(businessId, p
|
|
|
6224
6224
|
practiceId: practiceId,
|
|
6225
6225
|
formId: formId
|
|
6226
6226
|
}, opts.hyperMediaEndpoint);
|
|
6227
|
-
return request(_objectSpread$
|
|
6227
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6228
6228
|
path: pathGetLatestApprovedDocument(businessId, practiceId, formId)
|
|
6229
6229
|
}), {
|
|
6230
6230
|
method: 'get'
|
|
@@ -6249,7 +6249,7 @@ var getManualFormUploadUrl = function getManualFormUploadUrl(businessId, practic
|
|
|
6249
6249
|
practiceId: practiceId,
|
|
6250
6250
|
formId: formId
|
|
6251
6251
|
}, opts.hyperMediaEndpoint);
|
|
6252
|
-
return request(_objectSpread$
|
|
6252
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6253
6253
|
path: pathGetManualFormUploadUrl(businessId, practiceId, formId)
|
|
6254
6254
|
}), {
|
|
6255
6255
|
method: 'get',
|
|
@@ -6282,9 +6282,9 @@ var forms = /*#__PURE__*/Object.freeze({
|
|
|
6282
6282
|
getManualFormUploadUrl: getManualFormUploadUrl
|
|
6283
6283
|
});
|
|
6284
6284
|
|
|
6285
|
-
function ownKeys$
|
|
6285
|
+
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; }
|
|
6286
6286
|
|
|
6287
|
-
function _objectSpread$
|
|
6287
|
+
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; }
|
|
6288
6288
|
var PATH__FUNDERS = '/funders';
|
|
6289
6289
|
var pathFunder = function pathFunder(funderId) {
|
|
6290
6290
|
return "/funders/" + funderId;
|
|
@@ -6294,7 +6294,7 @@ var getFunders = function getFunders(opts) {
|
|
|
6294
6294
|
opts = {};
|
|
6295
6295
|
}
|
|
6296
6296
|
|
|
6297
|
-
return request(_objectSpread$
|
|
6297
|
+
return request(_objectSpread$X({}, opts, {
|
|
6298
6298
|
path: PATH__FUNDERS
|
|
6299
6299
|
}), {
|
|
6300
6300
|
method: 'get'
|
|
@@ -6305,7 +6305,7 @@ var getFunder = function getFunder(funderId, opts) {
|
|
|
6305
6305
|
opts = {};
|
|
6306
6306
|
}
|
|
6307
6307
|
|
|
6308
|
-
return request(_objectSpread$
|
|
6308
|
+
return request(_objectSpread$X({}, opts, {
|
|
6309
6309
|
path: pathFunder(funderId)
|
|
6310
6310
|
}), {
|
|
6311
6311
|
method: 'get'
|
|
@@ -6320,9 +6320,9 @@ var funders = /*#__PURE__*/Object.freeze({
|
|
|
6320
6320
|
getFunder: getFunder
|
|
6321
6321
|
});
|
|
6322
6322
|
|
|
6323
|
-
function ownKeys$
|
|
6323
|
+
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; }
|
|
6324
6324
|
|
|
6325
|
-
function _objectSpread$
|
|
6325
|
+
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; }
|
|
6326
6326
|
var pathVerifyEclipse = function pathVerifyEclipse() {
|
|
6327
6327
|
return "/eclipse/opvw";
|
|
6328
6328
|
};
|
|
@@ -6340,7 +6340,7 @@ var verifyEclipse = function verifyEclipse(body, opts) {
|
|
|
6340
6340
|
utils_doesParamExist["default"]({
|
|
6341
6341
|
body: body
|
|
6342
6342
|
}, opts.hyperMediaEndpoint);
|
|
6343
|
-
return request(_objectSpread$
|
|
6343
|
+
return request(_objectSpread$W({}, opts, {
|
|
6344
6344
|
path: pathVerifyEclipse()
|
|
6345
6345
|
}), {
|
|
6346
6346
|
method: 'post',
|
|
@@ -6354,9 +6354,9 @@ var funderServices = /*#__PURE__*/Object.freeze({
|
|
|
6354
6354
|
verifyEclipse: verifyEclipse
|
|
6355
6355
|
});
|
|
6356
6356
|
|
|
6357
|
-
function ownKeys$
|
|
6357
|
+
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; }
|
|
6358
6358
|
|
|
6359
|
-
function _objectSpread$
|
|
6359
|
+
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; }
|
|
6360
6360
|
var pathFunderSettings = function pathFunderSettings(businessId) {
|
|
6361
6361
|
return "/businesses/" + businessId + "/fundersettings";
|
|
6362
6362
|
};
|
|
@@ -6375,7 +6375,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
|
|
|
6375
6375
|
utils_doesParamExist["default"]({
|
|
6376
6376
|
businessId: businessId
|
|
6377
6377
|
}, opts.hyperMediaEndpoint);
|
|
6378
|
-
return request(_objectSpread$
|
|
6378
|
+
return request(_objectSpread$V({}, opts, {
|
|
6379
6379
|
path: pathFunderSettings(businessId)
|
|
6380
6380
|
}), {
|
|
6381
6381
|
method: 'get',
|
|
@@ -6391,7 +6391,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
|
|
|
6391
6391
|
businessId: businessId,
|
|
6392
6392
|
funderSettingsId: funderSettingsId
|
|
6393
6393
|
}, opts.hyperMediaEndpoint);
|
|
6394
|
-
return request(_objectSpread$
|
|
6394
|
+
return request(_objectSpread$V({}, opts, {
|
|
6395
6395
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6396
6396
|
}), {
|
|
6397
6397
|
method: 'get'
|
|
@@ -6406,7 +6406,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
|
|
|
6406
6406
|
businessId: businessId,
|
|
6407
6407
|
funderSettingsId: funderSettingsId
|
|
6408
6408
|
}, opts.hyperMediaEndpoint);
|
|
6409
|
-
return request(_objectSpread$
|
|
6409
|
+
return request(_objectSpread$V({}, opts, {
|
|
6410
6410
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6411
6411
|
}), {
|
|
6412
6412
|
method: 'put',
|
|
@@ -6421,7 +6421,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
|
|
|
6421
6421
|
utils_doesParamExist["default"]({
|
|
6422
6422
|
businessId: businessId
|
|
6423
6423
|
}, opts.hyperMediaEndpoint);
|
|
6424
|
-
return request(_objectSpread$
|
|
6424
|
+
return request(_objectSpread$V({}, opts, {
|
|
6425
6425
|
path: pathFunderSettings(businessId)
|
|
6426
6426
|
}), {
|
|
6427
6427
|
method: 'post',
|
|
@@ -6437,7 +6437,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
|
|
|
6437
6437
|
businessId: businessId,
|
|
6438
6438
|
funderSettingsId: funderSettingsId
|
|
6439
6439
|
}, opts.hyperMediaEndpoint);
|
|
6440
|
-
return request(_objectSpread$
|
|
6440
|
+
return request(_objectSpread$V({}, opts, {
|
|
6441
6441
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6442
6442
|
}), {
|
|
6443
6443
|
method: 'delete'
|
|
@@ -6455,9 +6455,9 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
6455
6455
|
deleteBusinesFunderSettings: deleteBusinesFunderSettings
|
|
6456
6456
|
});
|
|
6457
6457
|
|
|
6458
|
-
function ownKeys$
|
|
6458
|
+
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; }
|
|
6459
6459
|
|
|
6460
|
-
function _objectSpread$
|
|
6460
|
+
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; }
|
|
6461
6461
|
var pathFunderValues = function pathFunderValues(businessId) {
|
|
6462
6462
|
return "/businesses/" + businessId + "/fundervalues";
|
|
6463
6463
|
};
|
|
@@ -6477,7 +6477,7 @@ var getBusinessFunderValues = /*#__PURE__*/function () {
|
|
|
6477
6477
|
utils_doesParamExist["default"]({
|
|
6478
6478
|
businessId: businessId
|
|
6479
6479
|
}, opts.hyperMediaEndpoint);
|
|
6480
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6480
|
+
return _context.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
6481
6481
|
path: pathFunderValues(businessId)
|
|
6482
6482
|
}), {
|
|
6483
6483
|
method: 'get',
|
|
@@ -6505,7 +6505,7 @@ var getBusinessFunderValueById = function getBusinessFunderValueById(businessId,
|
|
|
6505
6505
|
businessId: businessId,
|
|
6506
6506
|
funderValueId: funderValueId
|
|
6507
6507
|
}, opts.hyperMediaEndpoint);
|
|
6508
|
-
return request(_objectSpread$
|
|
6508
|
+
return request(_objectSpread$U({}, opts, {
|
|
6509
6509
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6510
6510
|
}), {
|
|
6511
6511
|
method: 'get'
|
|
@@ -6519,7 +6519,7 @@ var createBusinessFunderValue = function createBusinessFunderValue(businessId, b
|
|
|
6519
6519
|
utils_doesParamExist["default"]({
|
|
6520
6520
|
businessId: businessId
|
|
6521
6521
|
}, opts.hyperMediaEndpoint);
|
|
6522
|
-
return request(_objectSpread$
|
|
6522
|
+
return request(_objectSpread$U({}, opts, {
|
|
6523
6523
|
path: pathFunderValues(businessId)
|
|
6524
6524
|
}), {
|
|
6525
6525
|
method: 'post',
|
|
@@ -6535,7 +6535,7 @@ var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, f
|
|
|
6535
6535
|
businessId: businessId,
|
|
6536
6536
|
funderValueId: funderValueId
|
|
6537
6537
|
}, opts.hyperMediaEndpoint);
|
|
6538
|
-
return request(_objectSpread$
|
|
6538
|
+
return request(_objectSpread$U({}, opts, {
|
|
6539
6539
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6540
6540
|
}), {
|
|
6541
6541
|
method: 'put',
|
|
@@ -6551,7 +6551,7 @@ var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, f
|
|
|
6551
6551
|
businessId: businessId,
|
|
6552
6552
|
funderValueId: funderValueId
|
|
6553
6553
|
}, opts.hyperMediaEndpoint);
|
|
6554
|
-
return request(_objectSpread$
|
|
6554
|
+
return request(_objectSpread$U({}, opts, {
|
|
6555
6555
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6556
6556
|
}), {
|
|
6557
6557
|
method: 'delete'
|
|
@@ -6569,9 +6569,9 @@ var funderValues = /*#__PURE__*/Object.freeze({
|
|
|
6569
6569
|
deleteBusinessFunderValue: deleteBusinessFunderValue
|
|
6570
6570
|
});
|
|
6571
6571
|
|
|
6572
|
-
function ownKeys$
|
|
6572
|
+
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; }
|
|
6573
6573
|
|
|
6574
|
-
function _objectSpread$
|
|
6574
|
+
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; }
|
|
6575
6575
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
6576
6576
|
return "/businesses/" + businessId + "/futures";
|
|
6577
6577
|
};
|
|
@@ -6617,7 +6617,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
6617
6617
|
utils_doesParamExist["default"]({
|
|
6618
6618
|
businessId: businessId
|
|
6619
6619
|
}, opts.hyperMediaEndpoint);
|
|
6620
|
-
return request(_objectSpread$
|
|
6620
|
+
return request(_objectSpread$T({}, opts, {
|
|
6621
6621
|
path: pathBusinessHolds(businessId)
|
|
6622
6622
|
}), {
|
|
6623
6623
|
method: 'post',
|
|
@@ -6644,7 +6644,7 @@ var createBusinessInstalmentPlan = /*#__PURE__*/function () {
|
|
|
6644
6644
|
utils_doesParamExist["default"]({
|
|
6645
6645
|
businessId: businessId
|
|
6646
6646
|
}, opts.hyperMediaEndpoint);
|
|
6647
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6647
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6648
6648
|
path: pathBusinessInstalmentPlans(businessId)
|
|
6649
6649
|
}), {
|
|
6650
6650
|
method: 'post',
|
|
@@ -6682,7 +6682,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
6682
6682
|
utils_doesParamExist["default"]({
|
|
6683
6683
|
futureId: futureId
|
|
6684
6684
|
}, opts.hyperMediaEndpoint);
|
|
6685
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6685
|
+
return _context2.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6686
6686
|
path: pathCancels(futureId)
|
|
6687
6687
|
}), {
|
|
6688
6688
|
method: 'post'
|
|
@@ -6720,7 +6720,7 @@ var getBusinessFutures = /*#__PURE__*/function () {
|
|
|
6720
6720
|
utils_doesParamExist["default"]({
|
|
6721
6721
|
businessId: businessId
|
|
6722
6722
|
}, opts.hyperMediaEndpoint);
|
|
6723
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6723
|
+
return _context3.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6724
6724
|
path: pathBusinessFutures(businessId)
|
|
6725
6725
|
}), {
|
|
6726
6726
|
method: 'get',
|
|
@@ -6760,7 +6760,7 @@ var getBusinessFuture = /*#__PURE__*/function () {
|
|
|
6760
6760
|
businessId: businessId,
|
|
6761
6761
|
futureId: futureId
|
|
6762
6762
|
}, opts.hyperMediaEndpoint);
|
|
6763
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6763
|
+
return _context4.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6764
6764
|
path: pathBusinessFuture(businessId, futureId)
|
|
6765
6765
|
}), {
|
|
6766
6766
|
method: 'get'
|
|
@@ -6797,7 +6797,7 @@ var getFuture = /*#__PURE__*/function () {
|
|
|
6797
6797
|
utils_doesParamExist["default"]({
|
|
6798
6798
|
futureId: futureId
|
|
6799
6799
|
}, opts.hyperMediaEndpoint);
|
|
6800
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6800
|
+
return _context5.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6801
6801
|
path: pathFuture(futureId)
|
|
6802
6802
|
}), {
|
|
6803
6803
|
method: 'get'
|
|
@@ -6834,7 +6834,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
6834
6834
|
utils_doesParamExist["default"]({
|
|
6835
6835
|
futureId: futureId
|
|
6836
6836
|
}, opts.hyperMediaEndpoint);
|
|
6837
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6837
|
+
return _context6.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6838
6838
|
path: pathPaymentLink(futureId)
|
|
6839
6839
|
}), {
|
|
6840
6840
|
method: 'get'
|
|
@@ -6872,7 +6872,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
6872
6872
|
utils_doesParamExist["default"]({
|
|
6873
6873
|
futureId: futureId
|
|
6874
6874
|
}, opts.hyperMediaEndpoint);
|
|
6875
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6875
|
+
return _context7.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6876
6876
|
path: pathProcessingRequests(futureId)
|
|
6877
6877
|
}), {
|
|
6878
6878
|
method: 'post',
|
|
@@ -6911,7 +6911,7 @@ var submit = /*#__PURE__*/function () {
|
|
|
6911
6911
|
utils_doesParamExist["default"]({
|
|
6912
6912
|
futureId: futureId
|
|
6913
6913
|
}, opts.hyperMediaEndpoint);
|
|
6914
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
6914
|
+
return _context8.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6915
6915
|
path: pathSubmits(futureId)
|
|
6916
6916
|
}), {
|
|
6917
6917
|
method: 'post',
|
|
@@ -6950,7 +6950,7 @@ var update = /*#__PURE__*/function () {
|
|
|
6950
6950
|
utils_doesParamExist["default"]({
|
|
6951
6951
|
futureId: futureId
|
|
6952
6952
|
}, opts.hyperMediaEndpoint);
|
|
6953
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
6953
|
+
return _context9.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6954
6954
|
path: pathFuture(futureId)
|
|
6955
6955
|
}), {
|
|
6956
6956
|
method: 'put',
|
|
@@ -6989,7 +6989,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
6989
6989
|
utils_doesParamExist["default"]({
|
|
6990
6990
|
futureId: futureId
|
|
6991
6991
|
}, opts.hyperMediaEndpoint);
|
|
6992
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
6992
|
+
return _context10.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
6993
6993
|
path: pathSendReceipt(futureId)
|
|
6994
6994
|
}), {
|
|
6995
6995
|
method: 'post',
|
|
@@ -7034,9 +7034,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
7034
7034
|
sendReceipt: sendReceipt$1
|
|
7035
7035
|
});
|
|
7036
7036
|
|
|
7037
|
-
function ownKeys$
|
|
7037
|
+
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; }
|
|
7038
7038
|
|
|
7039
|
-
function _objectSpread$
|
|
7039
|
+
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; }
|
|
7040
7040
|
|
|
7041
7041
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
7042
7042
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
@@ -7078,7 +7078,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7078
7078
|
utils_doesParamExist["default"]({
|
|
7079
7079
|
memberId: memberId
|
|
7080
7080
|
}, opts.hyperMediaEndpoint);
|
|
7081
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7081
|
+
return _context.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7082
7082
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
7083
7083
|
}), {
|
|
7084
7084
|
method: 'post',
|
|
@@ -7119,7 +7119,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7119
7119
|
businessId: businessId,
|
|
7120
7120
|
patientId: patientId
|
|
7121
7121
|
}, opts.hyperMediaEndpoint);
|
|
7122
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7122
|
+
return _context2.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7123
7123
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
7124
7124
|
}), {
|
|
7125
7125
|
method: 'post',
|
|
@@ -7159,7 +7159,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7159
7159
|
memberId: memberId,
|
|
7160
7160
|
healthFundAccountId: healthFundAccountId
|
|
7161
7161
|
}, opts.hyperMediaEndpoint);
|
|
7162
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7162
|
+
return _context3.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7163
7163
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
7164
7164
|
}), {
|
|
7165
7165
|
method: 'delete'
|
|
@@ -7200,7 +7200,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7200
7200
|
patientId: patientId,
|
|
7201
7201
|
healthFundAccountId: healthFundAccountId
|
|
7202
7202
|
}, opts.hyperMediaEndpoint);
|
|
7203
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7203
|
+
return _context4.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7204
7204
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7205
7205
|
}), {
|
|
7206
7206
|
method: 'delete'
|
|
@@ -7238,7 +7238,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7238
7238
|
utils_doesParamExist["default"]({
|
|
7239
7239
|
memberId: memberId
|
|
7240
7240
|
}, opts.hyperMediaEndpoint);
|
|
7241
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7241
|
+
return _context5.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7242
7242
|
path: pathMemberHealthFundAccounts(memberId)
|
|
7243
7243
|
}), {
|
|
7244
7244
|
method: 'get',
|
|
@@ -7279,7 +7279,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7279
7279
|
businessId: businessId,
|
|
7280
7280
|
patientId: patientId
|
|
7281
7281
|
}, opts.hyperMediaEndpoint);
|
|
7282
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
7282
|
+
return _context6.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7283
7283
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
7284
7284
|
}), {
|
|
7285
7285
|
method: 'get',
|
|
@@ -7319,7 +7319,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7319
7319
|
memberId: memberId,
|
|
7320
7320
|
healthFundAccountId: healthFundAccountId
|
|
7321
7321
|
}, opts.hyperMediaEndpoint);
|
|
7322
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
7322
|
+
return _context7.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7323
7323
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
7324
7324
|
}), {
|
|
7325
7325
|
method: 'get'
|
|
@@ -7360,7 +7360,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7360
7360
|
patientId: patientId,
|
|
7361
7361
|
healthFundAccountId: healthFundAccountId
|
|
7362
7362
|
}, opts.hyperMediaEndpoint);
|
|
7363
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
7363
|
+
return _context8.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7364
7364
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7365
7365
|
}), {
|
|
7366
7366
|
method: 'get'
|
|
@@ -7400,7 +7400,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7400
7400
|
memberId: memberId,
|
|
7401
7401
|
healthFundAccountId: healthFundAccountId
|
|
7402
7402
|
}, opts.hyperMediaEndpoint);
|
|
7403
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
7403
|
+
return _context9.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7404
7404
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
7405
7405
|
}), {
|
|
7406
7406
|
method: 'put',
|
|
@@ -7443,7 +7443,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7443
7443
|
patientId: patientId,
|
|
7444
7444
|
healthFundAccountId: healthFundAccountId
|
|
7445
7445
|
}, opts.hyperMediaEndpoint);
|
|
7446
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7446
|
+
return _context10.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
7447
7447
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7448
7448
|
}), {
|
|
7449
7449
|
method: 'put',
|
|
@@ -7477,9 +7477,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
7477
7477
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
7478
7478
|
});
|
|
7479
7479
|
|
|
7480
|
-
function ownKeys$
|
|
7480
|
+
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; }
|
|
7481
7481
|
|
|
7482
|
-
function _objectSpread$
|
|
7482
|
+
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; }
|
|
7483
7483
|
|
|
7484
7484
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
7485
7485
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
@@ -7519,11 +7519,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7519
7519
|
utils_doesParamExist["default"]({
|
|
7520
7520
|
healthFundId: healthFundId
|
|
7521
7521
|
}, opts.hyperMediaEndpoint);
|
|
7522
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7522
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7523
7523
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
7524
7524
|
}), {
|
|
7525
7525
|
method: 'post',
|
|
7526
|
-
data: _objectSpread$
|
|
7526
|
+
data: _objectSpread$R({
|
|
7527
7527
|
enabled: true
|
|
7528
7528
|
}, body)
|
|
7529
7529
|
}));
|
|
@@ -7560,7 +7560,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7560
7560
|
utils_doesParamExist["default"]({
|
|
7561
7561
|
healthFundId: healthFundId
|
|
7562
7562
|
}, opts.hyperMediaEndpoint);
|
|
7563
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7563
|
+
return _context2.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7564
7564
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
7565
7565
|
}), {
|
|
7566
7566
|
method: 'delete'
|
|
@@ -7605,7 +7605,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
7605
7605
|
utils_doesParamExist["default"]({
|
|
7606
7606
|
healthFundId: healthFundId
|
|
7607
7607
|
}, opts.hyperMediaEndpoint);
|
|
7608
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7608
|
+
return _context3.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7609
7609
|
path: pathHealthFundSettings(healthFundId)
|
|
7610
7610
|
}), {
|
|
7611
7611
|
method: 'get',
|
|
@@ -7655,7 +7655,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
7655
7655
|
practiceId: practiceId,
|
|
7656
7656
|
staffId: staffId
|
|
7657
7657
|
}, opts.hyperMediaEndpoint);
|
|
7658
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7658
|
+
return _context4.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7659
7659
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
7660
7660
|
}), {
|
|
7661
7661
|
method: 'get',
|
|
@@ -7696,7 +7696,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7696
7696
|
healthFundId: healthFundId,
|
|
7697
7697
|
healthFundSettingId: healthFundSettingId
|
|
7698
7698
|
}, opts.hyperMediaEndpoint);
|
|
7699
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7699
|
+
return _context5.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
7700
7700
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
7701
7701
|
}), {
|
|
7702
7702
|
method: 'put',
|
|
@@ -7725,9 +7725,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
7725
7725
|
updateHealthFundSetting: updateHealthFundSetting
|
|
7726
7726
|
});
|
|
7727
7727
|
|
|
7728
|
-
function ownKeys$
|
|
7728
|
+
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; }
|
|
7729
7729
|
|
|
7730
|
-
function _objectSpread$
|
|
7730
|
+
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; }
|
|
7731
7731
|
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
|
|
7732
7732
|
|
|
7733
7733
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -7774,7 +7774,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
7774
7774
|
utils_doesParamExist["default"]({
|
|
7775
7775
|
accountId: accountId
|
|
7776
7776
|
}, opts.hyperMediaEndpoint);
|
|
7777
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7777
|
+
return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7778
7778
|
path: pathHealthFundsByAccountId(accountId)
|
|
7779
7779
|
}), {
|
|
7780
7780
|
method: 'get'
|
|
@@ -7816,7 +7816,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
7816
7816
|
utils_doesParamExist["default"]({
|
|
7817
7817
|
businessId: businessId
|
|
7818
7818
|
}, opts.hyperMediaEndpoint);
|
|
7819
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7819
|
+
return _context2.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7820
7820
|
path: pathBusinessHealthFunds(businessId)
|
|
7821
7821
|
}), {
|
|
7822
7822
|
method: 'get',
|
|
@@ -7851,7 +7851,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
7851
7851
|
opts = {};
|
|
7852
7852
|
}
|
|
7853
7853
|
|
|
7854
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7854
|
+
return _context3.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7855
7855
|
path: PATH__HEALTH_FUNDS
|
|
7856
7856
|
}), {
|
|
7857
7857
|
method: 'get',
|
|
@@ -7895,7 +7895,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
7895
7895
|
utils_doesParamExist["default"]({
|
|
7896
7896
|
organisationId: organisationId
|
|
7897
7897
|
}, opts.hyperMediaEndpoint);
|
|
7898
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7898
|
+
return _context4.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7899
7899
|
path: pathOrganisationHealthFunds(organisationId)
|
|
7900
7900
|
}), {
|
|
7901
7901
|
method: 'get',
|
|
@@ -7931,7 +7931,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
7931
7931
|
opts = {};
|
|
7932
7932
|
}
|
|
7933
7933
|
|
|
7934
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7934
|
+
return _context5.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7935
7935
|
path: PATH__HEALTH_FUNDS
|
|
7936
7936
|
}), {
|
|
7937
7937
|
method: 'post',
|
|
@@ -7969,7 +7969,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
7969
7969
|
utils_doesParamExist["default"]({
|
|
7970
7970
|
healthFundId: healthFundId
|
|
7971
7971
|
}, opts.hyperMediaEndpoint);
|
|
7972
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
7972
|
+
return _context6.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
7973
7973
|
path: pathHealthFund(healthFundId)
|
|
7974
7974
|
}), {
|
|
7975
7975
|
method: 'get'
|
|
@@ -8007,7 +8007,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
8007
8007
|
utils_doesParamExist["default"]({
|
|
8008
8008
|
healthFundId: healthFundId
|
|
8009
8009
|
}, opts.hyperMediaEndpoint);
|
|
8010
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
8010
|
+
return _context7.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
8011
8011
|
path: pathHealthFund(healthFundId)
|
|
8012
8012
|
}), {
|
|
8013
8013
|
method: 'put',
|
|
@@ -8045,7 +8045,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
8045
8045
|
utils_doesParamExist["default"]({
|
|
8046
8046
|
healthFundId: healthFundId
|
|
8047
8047
|
}, opts.hyperMediaEndpoint);
|
|
8048
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
8048
|
+
return _context8.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
8049
8049
|
path: pathHealthFund(healthFundId)
|
|
8050
8050
|
}), {
|
|
8051
8051
|
method: 'delete'
|
|
@@ -8138,7 +8138,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
8138
8138
|
healthFundId: healthFundId,
|
|
8139
8139
|
body: body
|
|
8140
8140
|
}, opts.hyperMediaEndpoint);
|
|
8141
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
8141
|
+
return _context10.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
8142
8142
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
8143
8143
|
}), {
|
|
8144
8144
|
method: 'post',
|
|
@@ -8173,31 +8173,6 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
8173
8173
|
verifyMember: verifyMember
|
|
8174
8174
|
});
|
|
8175
8175
|
|
|
8176
|
-
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; }
|
|
8177
|
-
|
|
8178
|
-
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; }
|
|
8179
|
-
var pathVerifyClaimNumber$1 = function pathVerifyClaimNumber() {
|
|
8180
|
-
return "/icare/verify";
|
|
8181
|
-
};
|
|
8182
|
-
var verifyClaimNumber$1 = function verifyClaimNumber(body, opts) {
|
|
8183
|
-
if (opts === void 0) {
|
|
8184
|
-
opts = {};
|
|
8185
|
-
}
|
|
8186
|
-
|
|
8187
|
-
return request(_objectSpread$Q({}, opts, {
|
|
8188
|
-
path: pathVerifyClaimNumber$1()
|
|
8189
|
-
}), {
|
|
8190
|
-
method: 'post',
|
|
8191
|
-
data: body
|
|
8192
|
-
});
|
|
8193
|
-
};
|
|
8194
|
-
|
|
8195
|
-
var icare = /*#__PURE__*/Object.freeze({
|
|
8196
|
-
__proto__: null,
|
|
8197
|
-
pathVerifyClaimNumber: pathVerifyClaimNumber$1,
|
|
8198
|
-
verifyClaimNumber: verifyClaimNumber$1
|
|
8199
|
-
});
|
|
8200
|
-
|
|
8201
8176
|
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
8177
|
|
|
8203
8178
|
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; }
|
|
@@ -22920,7 +22895,6 @@ var sdkClient = {
|
|
|
22920
22895
|
healthFundAccounts: healthFundAccounts,
|
|
22921
22896
|
healthFundSettings: healthFundSettings,
|
|
22922
22897
|
healthfunds: healthfunds,
|
|
22923
|
-
icare: icare,
|
|
22924
22898
|
icdItems: icdItems,
|
|
22925
22899
|
invoiceScans: invoiceScans,
|
|
22926
22900
|
jhcs: jhcs,
|
|
@@ -24071,8 +24045,7 @@ exports.pathUnlinkPracticeProfile = pathUnlinkPracticeProfile;
|
|
|
24071
24045
|
exports.pathUnlinkStaffProfile = pathUnlinkStaffProfile;
|
|
24072
24046
|
exports.pathUpdatePracticeRepresentative = pathUpdatePracticeRepresentative;
|
|
24073
24047
|
exports.pathUploadUrlByBusinessId = pathUploadUrlByBusinessId;
|
|
24074
|
-
exports.pathVerifyClaimNumber = pathVerifyClaimNumber
|
|
24075
|
-
exports.pathVerifyClaimNumber$1 = pathVerifyClaimNumber;
|
|
24048
|
+
exports.pathVerifyClaimNumber = pathVerifyClaimNumber;
|
|
24076
24049
|
exports.pathVerifyEclipse = pathVerifyEclipse;
|
|
24077
24050
|
exports.patients = patients;
|
|
24078
24051
|
exports.pay = pay;
|
|
@@ -24242,8 +24215,7 @@ exports.verifyAccount = verifyAccount;
|
|
|
24242
24215
|
exports.verifyAuthy = verifyAuthy;
|
|
24243
24216
|
exports.verifyBusinessBeneficialOwner = verifyBusinessBeneficialOwner;
|
|
24244
24217
|
exports.verifyBusinessKyc = verifyBusinessKyc;
|
|
24245
|
-
exports.verifyClaimNumber = verifyClaimNumber
|
|
24246
|
-
exports.verifyClaimNumber$1 = verifyClaimNumber;
|
|
24218
|
+
exports.verifyClaimNumber = verifyClaimNumber;
|
|
24247
24219
|
exports.verifyClaimPractice = verifyClaimPractice;
|
|
24248
24220
|
exports.verifyComcare = verifyComcare;
|
|
24249
24221
|
exports.verifyDVA = verifyDVA;
|