@medipass/web-sdk 11.66.1-feature-business-email-logs.0 → 11.66.1-feature-business-email-logs.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +3 -1
- package/lib/index.js +2 -1
- package/lib/resources/__tests__/business-email-log.test.d.ts +1 -0
- package/lib/resources/abr.js +1 -1
- package/lib/resources/accounts.js +1 -1
- package/lib/resources/actions.js +1 -1
- package/lib/resources/api-keys.js +1 -1
- package/lib/resources/applications.js +1 -1
- package/lib/resources/attachments.js +1 -1
- package/lib/resources/auth.js +1 -1
- package/lib/resources/blacklist.js +1 -1
- package/lib/resources/bulk-submits.js +1 -1
- package/lib/resources/bulk-uploads.js +1 -1
- package/lib/resources/business-email-log.d.ts +16 -0
- package/lib/resources/business-email-log.js +53 -0
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.d.ts +1 -14
- package/lib/resources/businesses.js +1 -3
- package/lib/resources/claim-items.js +1 -1
- package/lib/resources/devices.js +1 -1
- package/lib/resources/doc-accounts.js +1 -1
- package/lib/resources/documents.js +1 -1
- package/lib/resources/emails.js +1 -1
- package/lib/resources/filter-options.js +1 -1
- package/lib/resources/form-application-templates.js +1 -1
- package/lib/resources/form-applications.js +1 -1
- package/lib/resources/forms.js +1 -1
- package/lib/resources/funder-services.js +1 -1
- package/lib/resources/funder-settings.js +1 -1
- package/lib/resources/funder-values.js +1 -1
- package/lib/resources/funders.js +1 -1
- package/lib/resources/futures.js +1 -1
- package/lib/resources/health-fund-accounts.js +1 -1
- package/lib/resources/health-fund-settings.js +1 -1
- package/lib/resources/healthfunds.js +1 -1
- package/lib/resources/icditems.js +1 -1
- package/lib/resources/invoice-scans.js +1 -1
- package/lib/resources/jhcs.js +1 -1
- package/lib/resources/kyc.js +1 -1
- package/lib/resources/logs.js +1 -1
- package/lib/resources/members.js +1 -1
- package/lib/resources/message-mappings.js +1 -1
- package/lib/resources/minions.js +1 -1
- package/lib/resources/modalities.js +1 -1
- package/lib/resources/notes.js +1 -1
- package/lib/resources/onboarding-applications.js +1 -1
- package/lib/resources/onboarding-requests.js +1 -1
- package/lib/resources/ops.js +1 -1
- package/lib/resources/organisations.js +1 -1
- package/lib/resources/partners.js +1 -1
- package/lib/resources/patients.js +1 -1
- package/lib/resources/payments.js +1 -1
- package/lib/resources/pms.js +1 -1
- package/lib/resources/practice-profiles.js +1 -1
- package/lib/resources/practice-types.js +1 -1
- package/lib/resources/practices.js +1 -1
- package/lib/resources/products.js +1 -1
- package/lib/resources/professional-categories.js +1 -1
- package/lib/resources/provider-number-types.js +1 -1
- package/lib/resources/provider-registration-types.js +1 -1
- package/lib/resources/provider-requests.js +1 -1
- package/lib/resources/provider-types.js +1 -1
- package/lib/resources/qbe.js +1 -1
- package/lib/resources/ref-sources.js +1 -1
- package/lib/resources/risk.js +1 -1
- package/lib/resources/rnas.js +1 -1
- package/lib/resources/roles.js +1 -1
- package/lib/resources/self-checkout-sessions.js +1 -1
- package/lib/resources/services.js +1 -1
- package/lib/resources/settlements.js +1 -1
- package/lib/resources/sign-up.js +1 -1
- package/lib/resources/specialties.js +1 -1
- package/lib/resources/staff-profiles.js +1 -1
- package/lib/resources/staff.js +1 -1
- package/lib/resources/statistics.js +1 -1
- package/lib/resources/subscriptions.js +1 -1
- package/lib/resources/terminals.js +1 -1
- package/lib/resources/transaction-export.js +1 -1
- package/lib/resources/transactions.js +1 -1
- package/lib/resources/triggers.js +1 -1
- package/lib/resources/vendors.js +1 -1
- package/lib/resources/verify.js +1 -1
- package/lib/resources/workers.js +1 -1
- package/lib/resources/workflow-exceptions.js +1 -1
- package/lib/services/aws.js +1 -1
- package/lib/services/version.js +1 -1
- package/lib/{staff-1b3ca863.js → staff-aeeaef6e.js} +249 -237
- package/lib/types/business-email-log.d.ts +18 -0
- package/lib/types/business-email-log.js +2 -0
- package/lib/types/business.d.ts +0 -18
- package/lib/types/index.d.ts +1 -0
- package/lib/utils/application.js +1 -1
- package/lib/utils/professions.js +1 -1
- package/lib/utils/request.js +1 -1
- package/lib/utils/staff.js +1 -1
- package/package.json +2 -2
|
@@ -80,9 +80,9 @@ var staffUtils = /*#__PURE__*/Object.freeze({
|
|
|
80
80
|
get parseProviderRegistrations () { return parseProviderRegistrations; }
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
function ownKeys$
|
|
83
|
+
function ownKeys$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; }
|
|
84
84
|
|
|
85
|
-
function _objectSpread$
|
|
85
|
+
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; }
|
|
86
86
|
var DEFAULT_API_NAME = 'core';
|
|
87
87
|
|
|
88
88
|
var getBaseUrl = function getBaseUrl(apiName, requestOpts) {
|
|
@@ -104,7 +104,7 @@ var stripBottleneckOpts = function stripBottleneckOpts(axiosRequestOpts) {
|
|
|
104
104
|
axiosRequestOpts = {};
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
var opts = _objectSpread$
|
|
107
|
+
var opts = _objectSpread$1j({}, axiosRequestOpts);
|
|
108
108
|
|
|
109
109
|
if (((_opts$params = opts.params) == null ? void 0 : (_opts$params$searchTe = _opts$params.searchText) == null ? void 0 : _opts$params$searchTe.trim().length) < 3) {
|
|
110
110
|
console.error("Unable to query transactions with a search text fewer than 3 characters. Ignoring search for query " + axiosRequestOpts.params.searchText);
|
|
@@ -132,7 +132,7 @@ var request = /*#__PURE__*/function () {
|
|
|
132
132
|
strippedAxiosRequestOpts = medipassRequestOpts.unrestrictBottleneckOpts ? axiosRequestOpts : module.exports.stripBottleneckOpts(axiosRequestOpts);
|
|
133
133
|
_context.prev = 5;
|
|
134
134
|
_context.next = 8;
|
|
135
|
-
return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread$
|
|
135
|
+
return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread$1j({}, strippedAxiosRequestOpts, {}, medipassRequestOpts.requestConfig));
|
|
136
136
|
|
|
137
137
|
case 8:
|
|
138
138
|
res = _context.sent;
|
|
@@ -168,9 +168,9 @@ var request = /*#__PURE__*/function () {
|
|
|
168
168
|
};
|
|
169
169
|
}();
|
|
170
170
|
|
|
171
|
-
function ownKeys$
|
|
171
|
+
function ownKeys$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; }
|
|
172
172
|
|
|
173
|
-
function _objectSpread$
|
|
173
|
+
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; }
|
|
174
174
|
var pathGetAbr = function pathGetAbr() {
|
|
175
175
|
return '/abr/search';
|
|
176
176
|
};
|
|
@@ -189,7 +189,7 @@ var getAbr = /*#__PURE__*/function () {
|
|
|
189
189
|
opts = {};
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
192
|
+
return _context.abrupt("return", request(_objectSpread$1i({}, opts, {
|
|
193
193
|
path: pathGetAbr()
|
|
194
194
|
}), {
|
|
195
195
|
method: 'get',
|
|
@@ -215,9 +215,9 @@ var abr = /*#__PURE__*/Object.freeze({
|
|
|
215
215
|
getAbr: getAbr
|
|
216
216
|
});
|
|
217
217
|
|
|
218
|
-
function ownKeys$
|
|
218
|
+
function ownKeys$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; }
|
|
219
219
|
|
|
220
|
-
function _objectSpread$
|
|
220
|
+
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; }
|
|
221
221
|
var PATH__ACCOUNTS = '/accounts';
|
|
222
222
|
|
|
223
223
|
var pathAccountsByAccountId = function pathAccountsByAccountId(accountId) {
|
|
@@ -324,7 +324,7 @@ var createAccountSecretKey = /*#__PURE__*/function () {
|
|
|
324
324
|
utils_doesParamExist["default"]({
|
|
325
325
|
accountId: accountId
|
|
326
326
|
}, opts.hyperMediaEndpoint);
|
|
327
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
327
|
+
return _context.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
328
328
|
path: pathAccountSecretKeysByAccountId(accountId)
|
|
329
329
|
}), {
|
|
330
330
|
method: 'post'
|
|
@@ -362,7 +362,7 @@ var createOrganisationAccount = /*#__PURE__*/function () {
|
|
|
362
362
|
utils_doesParamExist["default"]({
|
|
363
363
|
organisationId: organisationId
|
|
364
364
|
}, opts.hyperMediaEndpoint);
|
|
365
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
365
|
+
return _context2.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
366
366
|
path: pathOrganisationAccounts(organisationId)
|
|
367
367
|
}), {
|
|
368
368
|
method: 'post',
|
|
@@ -401,7 +401,7 @@ var createOrganisationSupportAccount = /*#__PURE__*/function () {
|
|
|
401
401
|
utils_doesParamExist["default"]({
|
|
402
402
|
organisationId: organisationId
|
|
403
403
|
}, opts.hyperMediaEndpoint);
|
|
404
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
404
|
+
return _context3.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
405
405
|
path: pathOrganisationSupportAccounts(organisationId)
|
|
406
406
|
}), {
|
|
407
407
|
method: 'post',
|
|
@@ -441,7 +441,7 @@ var deleteAccountSecretKey = /*#__PURE__*/function () {
|
|
|
441
441
|
accountId: accountId,
|
|
442
442
|
secretKey: secretKey
|
|
443
443
|
}, opts.hyperMediaEndpoint);
|
|
444
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
444
|
+
return _context4.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
445
445
|
path: pathAccountSecretKey(accountId, secretKey)
|
|
446
446
|
}), {
|
|
447
447
|
method: 'delete'
|
|
@@ -478,7 +478,7 @@ var deleteAccount = /*#__PURE__*/function () {
|
|
|
478
478
|
utils_doesParamExist["default"]({
|
|
479
479
|
accountId: accountId
|
|
480
480
|
}, opts.hyperMediaEndpoint);
|
|
481
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
481
|
+
return _context5.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
482
482
|
path: pathAccountsByAccountId(accountId)
|
|
483
483
|
}), {
|
|
484
484
|
method: 'delete'
|
|
@@ -515,7 +515,7 @@ var disableAccount = /*#__PURE__*/function () {
|
|
|
515
515
|
utils_doesParamExist["default"]({
|
|
516
516
|
accountId: accountId
|
|
517
517
|
}, opts.hyperMediaEndpoint);
|
|
518
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
518
|
+
return _context6.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
519
519
|
path: pathDisableAccount(accountId)
|
|
520
520
|
}), {
|
|
521
521
|
method: 'put'
|
|
@@ -552,7 +552,7 @@ var enableAccount = /*#__PURE__*/function () {
|
|
|
552
552
|
utils_doesParamExist["default"]({
|
|
553
553
|
accountId: accountId
|
|
554
554
|
}, opts.hyperMediaEndpoint);
|
|
555
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
555
|
+
return _context7.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
556
556
|
path: pathEnableAccount(accountId)
|
|
557
557
|
}), {
|
|
558
558
|
method: 'put'
|
|
@@ -587,7 +587,7 @@ var requestAccountReset = /*#__PURE__*/function () {
|
|
|
587
587
|
opts = {};
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
590
|
+
return _context8.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
591
591
|
path: PATH__REQUEST_ACCOUNT_RESET
|
|
592
592
|
}), {
|
|
593
593
|
method: 'post',
|
|
@@ -635,17 +635,17 @@ var requestPasswordReset = /*#__PURE__*/function () {
|
|
|
635
635
|
|
|
636
636
|
if (email) {
|
|
637
637
|
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
638
|
-
data = _objectSpread$
|
|
638
|
+
data = _objectSpread$1h({}, data, {
|
|
639
639
|
email: email
|
|
640
640
|
});
|
|
641
641
|
} else if (accountId) {
|
|
642
642
|
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
643
|
-
data = _objectSpread$
|
|
643
|
+
data = _objectSpread$1h({}, data, {
|
|
644
644
|
accountId: accountId
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
647
|
|
|
648
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
648
|
+
return _context9.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
649
649
|
path: PATH__REQUEST_PASSWORD_RESET
|
|
650
650
|
}), {
|
|
651
651
|
method: 'post',
|
|
@@ -690,17 +690,17 @@ var requestMobileReset = /*#__PURE__*/function () {
|
|
|
690
690
|
|
|
691
691
|
if (email) {
|
|
692
692
|
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
693
|
-
data = _objectSpread$
|
|
693
|
+
data = _objectSpread$1h({}, data, {
|
|
694
694
|
email: email
|
|
695
695
|
});
|
|
696
696
|
} else if (accountId) {
|
|
697
697
|
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
698
|
-
data = _objectSpread$
|
|
698
|
+
data = _objectSpread$1h({}, data, {
|
|
699
699
|
accountId: accountId
|
|
700
700
|
});
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
703
|
+
return _context10.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
704
704
|
path: PATH__REQUEST_MOBILE_RESET
|
|
705
705
|
}), {
|
|
706
706
|
method: 'post',
|
|
@@ -735,7 +735,7 @@ var resetAccount = /*#__PURE__*/function () {
|
|
|
735
735
|
opts = {};
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
738
|
+
return _context11.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
739
739
|
path: PATH__ACCOUNT_RESET
|
|
740
740
|
}), {
|
|
741
741
|
method: 'post',
|
|
@@ -770,7 +770,7 @@ var resetPassword = /*#__PURE__*/function () {
|
|
|
770
770
|
opts = {};
|
|
771
771
|
}
|
|
772
772
|
|
|
773
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
773
|
+
return _context12.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
774
774
|
path: PATH__ACCOUNT_PASSWORD_RESET
|
|
775
775
|
}), {
|
|
776
776
|
method: 'post',
|
|
@@ -805,7 +805,7 @@ var resetMobile = /*#__PURE__*/function () {
|
|
|
805
805
|
opts = {};
|
|
806
806
|
}
|
|
807
807
|
|
|
808
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
808
|
+
return _context13.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
809
809
|
path: PATH__ACCOUNT_MOBILE_RESET
|
|
810
810
|
}), {
|
|
811
811
|
method: 'post',
|
|
@@ -840,7 +840,7 @@ var verifyAccount = /*#__PURE__*/function () {
|
|
|
840
840
|
opts = {};
|
|
841
841
|
}
|
|
842
842
|
|
|
843
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
843
|
+
return _context14.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
844
844
|
path: PATH__ACCOUNT_VERIFY
|
|
845
845
|
}), {
|
|
846
846
|
method: 'post',
|
|
@@ -879,7 +879,7 @@ var getAccounts = /*#__PURE__*/function () {
|
|
|
879
879
|
opts = {};
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
882
|
+
return _context15.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
883
883
|
path: PATH__ACCOUNTS
|
|
884
884
|
}), {
|
|
885
885
|
method: 'get',
|
|
@@ -919,7 +919,7 @@ var getHealthFundAccount = /*#__PURE__*/function () {
|
|
|
919
919
|
accountId: accountId,
|
|
920
920
|
healthFundId: healthFundId
|
|
921
921
|
}, opts.hyperMediaEndpoint);
|
|
922
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
922
|
+
return _context16.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
923
923
|
path: pathHealthFundAccount(healthFundId, accountId)
|
|
924
924
|
}), {
|
|
925
925
|
method: 'get'
|
|
@@ -961,7 +961,7 @@ var getHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
961
961
|
utils_doesParamExist["default"]({
|
|
962
962
|
healthFundId: healthFundId
|
|
963
963
|
}, opts.hyperMediaEndpoint);
|
|
964
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
964
|
+
return _context17.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
965
965
|
path: pathHealthFundAccounts(healthFundId)
|
|
966
966
|
}), {
|
|
967
967
|
method: 'get',
|
|
@@ -1004,7 +1004,7 @@ var getOrganisationAccounts = /*#__PURE__*/function () {
|
|
|
1004
1004
|
utils_doesParamExist["default"]({
|
|
1005
1005
|
organisationId: organisationId
|
|
1006
1006
|
}, opts.hyperMediaEndpoint);
|
|
1007
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
1007
|
+
return _context18.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1008
1008
|
path: pathOrganisationAccounts(organisationId)
|
|
1009
1009
|
}), {
|
|
1010
1010
|
method: 'get',
|
|
@@ -1044,7 +1044,7 @@ var getAccount = /*#__PURE__*/function () {
|
|
|
1044
1044
|
accountId: accountId
|
|
1045
1045
|
}, opts.hyperMediaEndpoint);
|
|
1046
1046
|
_context19.next = 4;
|
|
1047
|
-
return request(_objectSpread$
|
|
1047
|
+
return request(_objectSpread$1h({}, opts, {
|
|
1048
1048
|
path: pathAccountsByAccountId(accountId)
|
|
1049
1049
|
}), {
|
|
1050
1050
|
method: 'get'
|
|
@@ -1093,7 +1093,7 @@ var getBusinessStaffAccount = /*#__PURE__*/function () {
|
|
|
1093
1093
|
staffId: staffId
|
|
1094
1094
|
}, opts.hyperMediaEndpoint);
|
|
1095
1095
|
_context20.next = 4;
|
|
1096
|
-
return request(_objectSpread$
|
|
1096
|
+
return request(_objectSpread$1h({}, opts, {
|
|
1097
1097
|
path: pathBusinessStaffAccount(businessId, staffId)
|
|
1098
1098
|
}), {
|
|
1099
1099
|
method: 'get'
|
|
@@ -1134,7 +1134,7 @@ var getAccountExists = /*#__PURE__*/function () {
|
|
|
1134
1134
|
opts = {};
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
1137
|
+
return _context21.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1138
1138
|
path: pathAccountExists()
|
|
1139
1139
|
}), {
|
|
1140
1140
|
method: 'get',
|
|
@@ -1172,7 +1172,7 @@ var getAccountRoles = /*#__PURE__*/function () {
|
|
|
1172
1172
|
utils_doesParamExist["default"]({
|
|
1173
1173
|
accountId: accountId
|
|
1174
1174
|
}, opts.hyperMediaEndpoint);
|
|
1175
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
1175
|
+
return _context22.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1176
1176
|
path: pathAccountRolesByAccountId(accountId)
|
|
1177
1177
|
}), {
|
|
1178
1178
|
method: 'get'
|
|
@@ -1209,7 +1209,7 @@ var getAccountSecretKeys = /*#__PURE__*/function () {
|
|
|
1209
1209
|
utils_doesParamExist["default"]({
|
|
1210
1210
|
accountId: accountId
|
|
1211
1211
|
}, opts.hyperMediaEndpoint);
|
|
1212
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
1212
|
+
return _context23.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1213
1213
|
path: pathAccountSecretKeysByAccountId(accountId)
|
|
1214
1214
|
}), {
|
|
1215
1215
|
method: 'get'
|
|
@@ -1251,7 +1251,7 @@ var getAccountTransactions = /*#__PURE__*/function () {
|
|
|
1251
1251
|
utils_doesParamExist["default"]({
|
|
1252
1252
|
accountId: accountId
|
|
1253
1253
|
}, opts.hyperMediaEndpoint);
|
|
1254
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
1254
|
+
return _context24.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1255
1255
|
path: pathAccountTransactions(accountId)
|
|
1256
1256
|
}), {
|
|
1257
1257
|
method: 'get',
|
|
@@ -1290,7 +1290,7 @@ var inviteHealthFundAccount = /*#__PURE__*/function () {
|
|
|
1290
1290
|
utils_doesParamExist["default"]({
|
|
1291
1291
|
healthFundId: healthFundId
|
|
1292
1292
|
}, opts.hyperMediaEndpoint);
|
|
1293
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
1293
|
+
return _context25.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1294
1294
|
path: pathHealthFundAccounts(healthFundId) + "/invites"
|
|
1295
1295
|
}), {
|
|
1296
1296
|
method: 'post',
|
|
@@ -1330,7 +1330,7 @@ var removeHealthFundFromAccount = /*#__PURE__*/function () {
|
|
|
1330
1330
|
accountId: accountId,
|
|
1331
1331
|
healthFundId: healthFundId
|
|
1332
1332
|
}, opts.hyperMediaEndpoint);
|
|
1333
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
1333
|
+
return _context26.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1334
1334
|
path: pathHealthFundAccount(healthFundId, accountId)
|
|
1335
1335
|
}), {
|
|
1336
1336
|
method: 'delete'
|
|
@@ -1367,7 +1367,7 @@ var requestToVerifyAccount = /*#__PURE__*/function () {
|
|
|
1367
1367
|
utils_doesParamExist["default"]({
|
|
1368
1368
|
accountId: accountId
|
|
1369
1369
|
}, opts.hyperMediaEndpoint);
|
|
1370
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
1370
|
+
return _context27.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1371
1371
|
path: pathRequestVerifyAccount(accountId)
|
|
1372
1372
|
}), {
|
|
1373
1373
|
method: 'post'
|
|
@@ -1407,11 +1407,11 @@ var signUp$1 = /*#__PURE__*/function () {
|
|
|
1407
1407
|
email: email,
|
|
1408
1408
|
mobile: mobile
|
|
1409
1409
|
}, opts.hyperMediaEndpoint);
|
|
1410
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
1410
|
+
return _context28.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1411
1411
|
path: PATH__SIGN_UP
|
|
1412
1412
|
}), {
|
|
1413
1413
|
method: 'post',
|
|
1414
|
-
data: _objectSpread$
|
|
1414
|
+
data: _objectSpread$1h({
|
|
1415
1415
|
email: email,
|
|
1416
1416
|
mobile: mobile
|
|
1417
1417
|
}, body)
|
|
@@ -1445,7 +1445,7 @@ var acceptInvite = /*#__PURE__*/function () {
|
|
|
1445
1445
|
opts = {};
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
1448
|
+
return _context29.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1449
1449
|
path: PATH__ACCEPT_ACCOUNT_INVITE
|
|
1450
1450
|
}), {
|
|
1451
1451
|
method: 'post',
|
|
@@ -1486,7 +1486,7 @@ var updateAccount = /*#__PURE__*/function () {
|
|
|
1486
1486
|
accountId: accountId
|
|
1487
1487
|
}, opts.hyperMediaEndpoint);
|
|
1488
1488
|
_context30.next = 4;
|
|
1489
|
-
return request(_objectSpread$
|
|
1489
|
+
return request(_objectSpread$1h({}, opts, {
|
|
1490
1490
|
path: pathAccountsByAccountId(accountId)
|
|
1491
1491
|
}), {
|
|
1492
1492
|
method: 'put',
|
|
@@ -1533,7 +1533,7 @@ var updateAccountRoles = /*#__PURE__*/function () {
|
|
|
1533
1533
|
utils_doesParamExist["default"]({
|
|
1534
1534
|
accountId: accountId
|
|
1535
1535
|
}, opts.hyperMediaEndpoint);
|
|
1536
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
1536
|
+
return _context31.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1537
1537
|
path: pathAccountRolesByAccountId(accountId)
|
|
1538
1538
|
}), {
|
|
1539
1539
|
method: 'put',
|
|
@@ -1576,7 +1576,7 @@ var getAccountPractices = /*#__PURE__*/function () {
|
|
|
1576
1576
|
utils_doesParamExist["default"]({
|
|
1577
1577
|
accountId: accountId
|
|
1578
1578
|
}, opts.hyperMediaEndpoint);
|
|
1579
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
1579
|
+
return _context32.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1580
1580
|
path: pathAccountPractices(accountId)
|
|
1581
1581
|
}), {
|
|
1582
1582
|
method: 'get',
|
|
@@ -1611,7 +1611,7 @@ var changePassword = /*#__PURE__*/function () {
|
|
|
1611
1611
|
opts = {};
|
|
1612
1612
|
}
|
|
1613
1613
|
|
|
1614
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
1614
|
+
return _context33.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1615
1615
|
path: pathChangePassword()
|
|
1616
1616
|
}), {
|
|
1617
1617
|
method: 'post',
|
|
@@ -1650,7 +1650,7 @@ var enableTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1650
1650
|
utils_doesParamExist["default"]({
|
|
1651
1651
|
accountId: accountId
|
|
1652
1652
|
}, opts.hyperMediaEndpoint);
|
|
1653
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
1653
|
+
return _context34.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1654
1654
|
path: pathEnableTwoFactorAuthentication(accountId)
|
|
1655
1655
|
}), {
|
|
1656
1656
|
method: 'post',
|
|
@@ -1689,7 +1689,7 @@ var disableTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1689
1689
|
utils_doesParamExist["default"]({
|
|
1690
1690
|
accountId: accountId
|
|
1691
1691
|
}, opts.hyperMediaEndpoint);
|
|
1692
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
1692
|
+
return _context35.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1693
1693
|
path: pathDisableTwoFactorAuthentication(accountId)
|
|
1694
1694
|
}), {
|
|
1695
1695
|
method: 'delete',
|
|
@@ -1728,7 +1728,7 @@ var updateTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1728
1728
|
utils_doesParamExist["default"]({
|
|
1729
1729
|
accountId: accountId
|
|
1730
1730
|
}, opts.hyperMediaEndpoint);
|
|
1731
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
1731
|
+
return _context36.abrupt("return", request(_objectSpread$1h({}, opts, {
|
|
1732
1732
|
path: pathUpdateTwoFactorAuthentication(accountId)
|
|
1733
1733
|
}), {
|
|
1734
1734
|
method: 'put',
|
|
@@ -1788,9 +1788,9 @@ var accounts = /*#__PURE__*/Object.freeze({
|
|
|
1788
1788
|
updateTwoFactorAuthentication: updateTwoFactorAuthentication
|
|
1789
1789
|
});
|
|
1790
1790
|
|
|
1791
|
-
function ownKeys$
|
|
1791
|
+
function ownKeys$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; }
|
|
1792
1792
|
|
|
1793
|
-
function _objectSpread$
|
|
1793
|
+
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; }
|
|
1794
1794
|
var PATH__ACTIONS = '/actions'; // @ts-expect-error TS(7006): Parameter 'actionId' implicitly has an 'any' type.
|
|
1795
1795
|
|
|
1796
1796
|
var pathAction = function pathAction(actionId) {
|
|
@@ -1817,7 +1817,7 @@ var getActions = /*#__PURE__*/function () {
|
|
|
1817
1817
|
opts = {};
|
|
1818
1818
|
}
|
|
1819
1819
|
|
|
1820
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
1820
|
+
return _context.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1821
1821
|
path: PATH__ACTIONS
|
|
1822
1822
|
}), {
|
|
1823
1823
|
method: 'get',
|
|
@@ -1852,7 +1852,7 @@ var getAction = /*#__PURE__*/function () {
|
|
|
1852
1852
|
opts = {};
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
1855
|
+
return _context2.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
1856
1856
|
path: pathAction(actionId)
|
|
1857
1857
|
}), {
|
|
1858
1858
|
method: 'get'
|
|
@@ -1877,9 +1877,9 @@ var actions = /*#__PURE__*/Object.freeze({
|
|
|
1877
1877
|
getAction: getAction
|
|
1878
1878
|
});
|
|
1879
1879
|
|
|
1880
|
-
function ownKeys$
|
|
1880
|
+
function ownKeys$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; }
|
|
1881
1881
|
|
|
1882
|
-
function _objectSpread$
|
|
1882
|
+
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; }
|
|
1883
1883
|
var pathApiKeysByBusinessId = function pathApiKeysByBusinessId(businessId) {
|
|
1884
1884
|
return "/businesses/" + businessId + "/apikeys";
|
|
1885
1885
|
};
|
|
@@ -1906,7 +1906,7 @@ var createApiKey = /*#__PURE__*/function () {
|
|
|
1906
1906
|
utils_doesParamExist["default"]({
|
|
1907
1907
|
businessId: businessId
|
|
1908
1908
|
}, opts.hyperMediaEndpoint);
|
|
1909
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
1909
|
+
return _context.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
1910
1910
|
path: pathApiKeysByBusinessId(businessId)
|
|
1911
1911
|
}), {
|
|
1912
1912
|
method: 'post',
|
|
@@ -1945,7 +1945,7 @@ var getBusinessApiKeys = /*#__PURE__*/function () {
|
|
|
1945
1945
|
utils_doesParamExist["default"]({
|
|
1946
1946
|
businessId: businessId
|
|
1947
1947
|
}, opts.hyperMediaEndpoint);
|
|
1948
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
1948
|
+
return _context2.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
1949
1949
|
path: pathApiKeysByBusinessId(businessId)
|
|
1950
1950
|
}), {
|
|
1951
1951
|
method: 'get',
|
|
@@ -1985,7 +1985,7 @@ var deleteApiKey = /*#__PURE__*/function () {
|
|
|
1985
1985
|
businessId: businessId,
|
|
1986
1986
|
apiKeyId: apiKeyId
|
|
1987
1987
|
}, opts.hyperMediaEndpoint);
|
|
1988
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
1988
|
+
return _context3.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
1989
1989
|
path: pathApiKeyByApiKeyId(businessId, apiKeyId)
|
|
1990
1990
|
}), {
|
|
1991
1991
|
method: 'delete'
|
|
@@ -2013,9 +2013,9 @@ var apiKeys = /*#__PURE__*/Object.freeze({
|
|
|
2013
2013
|
deleteApiKey: deleteApiKey
|
|
2014
2014
|
});
|
|
2015
2015
|
|
|
2016
|
-
function ownKeys$
|
|
2016
|
+
function ownKeys$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; }
|
|
2017
2017
|
|
|
2018
|
-
function _objectSpread$
|
|
2018
|
+
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; }
|
|
2019
2019
|
var pathGetClaimAttachmentUrl = function pathGetClaimAttachmentUrl(businessId, practiceId, staffId) {
|
|
2020
2020
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/attachments/uploadurl";
|
|
2021
2021
|
};
|
|
@@ -2053,7 +2053,7 @@ var getClaimAttachmentUrl = function getClaimAttachmentUrl(businessId, practiceI
|
|
|
2053
2053
|
practiceId: practiceId,
|
|
2054
2054
|
staffId: staffId
|
|
2055
2055
|
}, opts.hyperMediaEndpoint);
|
|
2056
|
-
return request(_objectSpread$
|
|
2056
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2057
2057
|
path: pathGetClaimAttachmentUrl(businessId, practiceId, staffId)
|
|
2058
2058
|
}), {
|
|
2059
2059
|
method: 'get',
|
|
@@ -2079,7 +2079,7 @@ var scanClaimFile = function scanClaimFile(businessId, practiceId, staffId, body
|
|
|
2079
2079
|
practiceId: practiceId,
|
|
2080
2080
|
staffId: staffId
|
|
2081
2081
|
}, opts.hyperMediaEndpoint);
|
|
2082
|
-
return request(_objectSpread$
|
|
2082
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2083
2083
|
path: pathScanClaimFile(businessId, practiceId, staffId)
|
|
2084
2084
|
}), {
|
|
2085
2085
|
method: 'post',
|
|
@@ -2107,7 +2107,7 @@ var getS3SignedUrl = function getS3SignedUrl(businessId, practiceId, staffId, s3
|
|
|
2107
2107
|
staffId: staffId,
|
|
2108
2108
|
s3SignedUrlId: s3SignedUrlId
|
|
2109
2109
|
}, opts.hyperMediaEndpoint);
|
|
2110
|
-
return request(_objectSpread$
|
|
2110
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2111
2111
|
path: pathGetS3SignedUrl(businessId, practiceId, staffId, s3SignedUrlId)
|
|
2112
2112
|
}), {
|
|
2113
2113
|
method: 'get',
|
|
@@ -2129,7 +2129,7 @@ var scanFile = function scanFile(businessId, body, opts) {
|
|
|
2129
2129
|
utils_doesParamExist["default"]({
|
|
2130
2130
|
businessId: businessId
|
|
2131
2131
|
}, opts.hyperMediaEndpoint);
|
|
2132
|
-
return request(_objectSpread$
|
|
2132
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2133
2133
|
path: pathScanFile(businessId)
|
|
2134
2134
|
}), {
|
|
2135
2135
|
method: 'post',
|
|
@@ -2151,7 +2151,7 @@ var getAttachmentUrl = function getAttachmentUrl(businessId, query, opts) {
|
|
|
2151
2151
|
utils_doesParamExist["default"]({
|
|
2152
2152
|
businessId: businessId
|
|
2153
2153
|
}, opts.hyperMediaEndpoint);
|
|
2154
|
-
return request(_objectSpread$
|
|
2154
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2155
2155
|
path: pathGetAttachmentUrl(businessId)
|
|
2156
2156
|
}), {
|
|
2157
2157
|
method: 'get',
|
|
@@ -2175,7 +2175,7 @@ var getBusinessS3SignedUrl = function getBusinessS3SignedUrl(businessId, s3Signe
|
|
|
2175
2175
|
businessId: businessId,
|
|
2176
2176
|
s3SignedUrlId: s3SignedUrlId
|
|
2177
2177
|
}, opts.hyperMediaEndpoint);
|
|
2178
|
-
return request(_objectSpread$
|
|
2178
|
+
return request(_objectSpread$1e({}, opts, {
|
|
2179
2179
|
path: pathGetBusinessS3SignedUrl(businessId, s3SignedUrlId)
|
|
2180
2180
|
}), {
|
|
2181
2181
|
method: 'get',
|
|
@@ -2199,9 +2199,9 @@ var attachments = /*#__PURE__*/Object.freeze({
|
|
|
2199
2199
|
getBusinessS3SignedUrl: getBusinessS3SignedUrl
|
|
2200
2200
|
});
|
|
2201
2201
|
|
|
2202
|
-
function ownKeys$
|
|
2202
|
+
function ownKeys$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; }
|
|
2203
2203
|
|
|
2204
|
-
function _objectSpread$
|
|
2204
|
+
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; }
|
|
2205
2205
|
var PATH__MEMBERS = '/members';
|
|
2206
2206
|
var PATH__DISCOVER_MEMBERS = '/discovery/members'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
|
|
2207
2207
|
|
|
@@ -2250,7 +2250,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
2250
2250
|
opts = {};
|
|
2251
2251
|
}
|
|
2252
2252
|
|
|
2253
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
2253
|
+
return _context.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2254
2254
|
path: PATH__MEMBERS + "/checkdupe"
|
|
2255
2255
|
}), {
|
|
2256
2256
|
method: 'post',
|
|
@@ -2286,7 +2286,7 @@ var createAccountMember = /*#__PURE__*/function () {
|
|
|
2286
2286
|
opts = {};
|
|
2287
2287
|
}
|
|
2288
2288
|
|
|
2289
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
2289
|
+
return _context2.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2290
2290
|
path: pathAccountMembers(accountId)
|
|
2291
2291
|
}), {
|
|
2292
2292
|
method: 'post',
|
|
@@ -2325,7 +2325,7 @@ var deleteMember = /*#__PURE__*/function () {
|
|
|
2325
2325
|
utils_doesParamExist["default"]({
|
|
2326
2326
|
memberId: memberId
|
|
2327
2327
|
}, opts.hyperMediaEndpoint);
|
|
2328
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
2328
|
+
return _context3.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2329
2329
|
path: pathMember(memberId)
|
|
2330
2330
|
}), {
|
|
2331
2331
|
method: 'delete'
|
|
@@ -2359,7 +2359,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
2359
2359
|
opts = {};
|
|
2360
2360
|
}
|
|
2361
2361
|
|
|
2362
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
2362
|
+
return _context4.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2363
2363
|
path: PATH__DISCOVER_MEMBERS
|
|
2364
2364
|
}), {
|
|
2365
2365
|
method: 'get',
|
|
@@ -2398,7 +2398,7 @@ var inviteAnyone = /*#__PURE__*/function () {
|
|
|
2398
2398
|
utils_doesParamExist["default"]({
|
|
2399
2399
|
businessId: businessId
|
|
2400
2400
|
}, opts.hyperMediaEndpoint);
|
|
2401
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
2401
|
+
return _context5.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2402
2402
|
path: pathBusinessMembers(businessId) + "/invites"
|
|
2403
2403
|
}), {
|
|
2404
2404
|
method: 'post',
|
|
@@ -2436,7 +2436,7 @@ var inviteMember = /*#__PURE__*/function () {
|
|
|
2436
2436
|
utils_doesParamExist["default"]({
|
|
2437
2437
|
memberId: memberId
|
|
2438
2438
|
}, opts.hyperMediaEndpoint);
|
|
2439
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
2439
|
+
return _context6.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2440
2440
|
path: pathMember(memberId) + "/invites"
|
|
2441
2441
|
}), {
|
|
2442
2442
|
method: 'post'
|
|
@@ -2475,7 +2475,7 @@ var getAccountMembers = /*#__PURE__*/function () {
|
|
|
2475
2475
|
opts = {};
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
2478
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
2478
|
+
return _context7.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2479
2479
|
path: pathAccountMembers(accountId)
|
|
2480
2480
|
}), {
|
|
2481
2481
|
method: 'get',
|
|
@@ -2514,7 +2514,7 @@ var getMembersForHealthFund = /*#__PURE__*/function () {
|
|
|
2514
2514
|
opts = {};
|
|
2515
2515
|
}
|
|
2516
2516
|
|
|
2517
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
2517
|
+
return _context8.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2518
2518
|
path: pathMembersForHealthFund(healthFundId)
|
|
2519
2519
|
}), {
|
|
2520
2520
|
method: 'get',
|
|
@@ -2550,7 +2550,7 @@ var getHealthFundMemberByMemberId = /*#__PURE__*/function () {
|
|
|
2550
2550
|
opts = {};
|
|
2551
2551
|
}
|
|
2552
2552
|
|
|
2553
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
2553
|
+
return _context9.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2554
2554
|
path: pathHealthFundMemberByMemberId(healthFundId, memberId)
|
|
2555
2555
|
}), {
|
|
2556
2556
|
method: 'get'
|
|
@@ -2592,7 +2592,7 @@ var getBusinessMembers = /*#__PURE__*/function () {
|
|
|
2592
2592
|
utils_doesParamExist["default"]({
|
|
2593
2593
|
businessId: businessId
|
|
2594
2594
|
}, opts.hyperMediaEndpoint);
|
|
2595
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
2595
|
+
return _context10.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2596
2596
|
path: pathBusinessMembers(businessId)
|
|
2597
2597
|
}), {
|
|
2598
2598
|
method: 'get',
|
|
@@ -2631,7 +2631,7 @@ var getBusinessMember = /*#__PURE__*/function () {
|
|
|
2631
2631
|
utils_doesParamExist["default"]({
|
|
2632
2632
|
businessId: businessId
|
|
2633
2633
|
}, opts.hyperMediaEndpoint);
|
|
2634
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
2634
|
+
return _context11.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2635
2635
|
path: pathBusinessMember(businessId, memberId)
|
|
2636
2636
|
}), {
|
|
2637
2637
|
method: 'get'
|
|
@@ -2668,7 +2668,7 @@ var getMembers = /*#__PURE__*/function () {
|
|
|
2668
2668
|
opts = {};
|
|
2669
2669
|
}
|
|
2670
2670
|
|
|
2671
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
2671
|
+
return _context12.abrupt("return", request(_objectSpread$1d({}, opts, {
|
|
2672
2672
|
path: PATH__MEMBERS
|
|
2673
2673
|
}), {
|
|
2674
2674
|
method: 'get',
|
|
@@ -2708,7 +2708,7 @@ var getMember = /*#__PURE__*/function () {
|
|
|
2708
2708
|
memberId: memberId
|
|
2709
2709
|
}, opts.hyperMediaEndpoint);
|
|
2710
2710
|
_context13.next = 4;
|
|
2711
|
-
return request(_objectSpread$
|
|
2711
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2712
2712
|
path: pathMember(memberId)
|
|
2713
2713
|
}), {
|
|
2714
2714
|
method: 'get'
|
|
@@ -2757,7 +2757,7 @@ var updateMember = /*#__PURE__*/function () {
|
|
|
2757
2757
|
memberId: memberId
|
|
2758
2758
|
}, opts.hyperMediaEndpoint);
|
|
2759
2759
|
_context14.next = 4;
|
|
2760
|
-
return request(_objectSpread$
|
|
2760
|
+
return request(_objectSpread$1d({}, opts, {
|
|
2761
2761
|
path: pathMember(memberId)
|
|
2762
2762
|
}), {
|
|
2763
2763
|
method: 'put',
|
|
@@ -2804,9 +2804,9 @@ var members = /*#__PURE__*/Object.freeze({
|
|
|
2804
2804
|
updateMember: updateMember
|
|
2805
2805
|
});
|
|
2806
2806
|
|
|
2807
|
-
function ownKeys$
|
|
2807
|
+
function ownKeys$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; }
|
|
2808
2808
|
|
|
2809
|
-
function _objectSpread$
|
|
2809
|
+
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; }
|
|
2810
2810
|
var PATH__DEVICES = '/devices';
|
|
2811
2811
|
var isRegistering = false; // @ts-expect-error TS(7006): Parameter 'deviceId' implicitly has an 'any' type.
|
|
2812
2812
|
|
|
@@ -2845,7 +2845,7 @@ var registerDevice = /*#__PURE__*/function () {
|
|
|
2845
2845
|
_context.prev = 1;
|
|
2846
2846
|
isRegistering = true;
|
|
2847
2847
|
_context.next = 5;
|
|
2848
|
-
return request(_objectSpread$
|
|
2848
|
+
return request(_objectSpread$1c({}, opts, {
|
|
2849
2849
|
path: PATH__DEVICES
|
|
2850
2850
|
}), {
|
|
2851
2851
|
method: 'post',
|
|
@@ -2957,7 +2957,7 @@ var updateDevice = /*#__PURE__*/function () {
|
|
|
2957
2957
|
utils_doesParamExist["default"]({
|
|
2958
2958
|
deviceId: deviceId
|
|
2959
2959
|
}, opts.hyperMediaEndpoint);
|
|
2960
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
2960
|
+
return _context3.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
2961
2961
|
path: pathDeviceByDeviceId(deviceId)
|
|
2962
2962
|
}), {
|
|
2963
2963
|
method: 'put',
|
|
@@ -2985,9 +2985,9 @@ var devices = /*#__PURE__*/Object.freeze({
|
|
|
2985
2985
|
updateDevice: updateDevice
|
|
2986
2986
|
});
|
|
2987
2987
|
|
|
2988
|
-
function ownKeys$
|
|
2988
|
+
function ownKeys$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; }
|
|
2989
2989
|
|
|
2990
|
-
function _objectSpread$
|
|
2990
|
+
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; }
|
|
2991
2991
|
var PATH__AUTH = '/auth';
|
|
2992
2992
|
var PATH__OTK = '/otk';
|
|
2993
2993
|
var PATH__AUTH_TOKEN = '/auth/token'; // @ts-expect-error TS(7006): Parameter 'accountId' implicitly has an 'any' type... Remove this comment to see the full error message
|
|
@@ -3027,7 +3027,7 @@ var setupAccountResources = /*#__PURE__*/function () {
|
|
|
3027
3027
|
case 6:
|
|
3028
3028
|
member = _context.sent;
|
|
3029
3029
|
sdkClient.setMember(member);
|
|
3030
|
-
return _context.abrupt("return", _objectSpread$
|
|
3030
|
+
return _context.abrupt("return", _objectSpread$1b({}, account, {
|
|
3031
3031
|
_member: member
|
|
3032
3032
|
}));
|
|
3033
3033
|
|
|
@@ -3074,7 +3074,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3074
3074
|
};
|
|
3075
3075
|
}
|
|
3076
3076
|
|
|
3077
|
-
data = _objectSpread$
|
|
3077
|
+
data = _objectSpread$1b({
|
|
3078
3078
|
email: email
|
|
3079
3079
|
}, body);
|
|
3080
3080
|
|
|
@@ -3084,7 +3084,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3084
3084
|
}
|
|
3085
3085
|
|
|
3086
3086
|
_context2.next = 6;
|
|
3087
|
-
return request(_objectSpread$
|
|
3087
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3088
3088
|
path: PATH__AUTH,
|
|
3089
3089
|
getFullResponse: true
|
|
3090
3090
|
}), {
|
|
@@ -3211,7 +3211,7 @@ var impersonate = /*#__PURE__*/function () {
|
|
|
3211
3211
|
utils_doesParamExist["default"]({
|
|
3212
3212
|
accountId: accountId
|
|
3213
3213
|
}, opts.hyperMediaEndpoint);
|
|
3214
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
3214
|
+
return _context4.abrupt("return", request(_objectSpread$1b({}, opts, {
|
|
3215
3215
|
getFullResponse: true,
|
|
3216
3216
|
path: pathImpersonateAccount(accountId)
|
|
3217
3217
|
}), {
|
|
@@ -3243,7 +3243,7 @@ var logout = /*#__PURE__*/function () {
|
|
|
3243
3243
|
switch (_context5.prev = _context5.next) {
|
|
3244
3244
|
case 0:
|
|
3245
3245
|
_context5.next = 2;
|
|
3246
|
-
return request(_objectSpread$
|
|
3246
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3247
3247
|
getFullResponse: true,
|
|
3248
3248
|
path: PATH__AUTH
|
|
3249
3249
|
}), {
|
|
@@ -3281,12 +3281,12 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
3281
3281
|
while (1) {
|
|
3282
3282
|
switch (_context6.prev = _context6.next) {
|
|
3283
3283
|
case 0:
|
|
3284
|
-
body = _omitBy__default["default"](_objectSpread$
|
|
3284
|
+
body = _omitBy__default["default"](_objectSpread$1b({
|
|
3285
3285
|
email: email,
|
|
3286
3286
|
accountId: accountId
|
|
3287
3287
|
}, requestBody), _isEmpty__default["default"]);
|
|
3288
3288
|
_context6.next = 3;
|
|
3289
|
-
return request(_objectSpread$
|
|
3289
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3290
3290
|
getFullResponse: true,
|
|
3291
3291
|
path: PATH__OTK
|
|
3292
3292
|
}), {
|
|
@@ -3331,7 +3331,7 @@ var generateAuthy = /*#__PURE__*/function () {
|
|
|
3331
3331
|
accountId: accountId
|
|
3332
3332
|
}, opts.hyperMediaEndpoint);
|
|
3333
3333
|
_context7.next = 4;
|
|
3334
|
-
return request(_objectSpread$
|
|
3334
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3335
3335
|
path: pathAuthy(accountId),
|
|
3336
3336
|
getFullResponse: true
|
|
3337
3337
|
}), {
|
|
@@ -3375,7 +3375,7 @@ var removeAuthy = /*#__PURE__*/function () {
|
|
|
3375
3375
|
accountId: accountId
|
|
3376
3376
|
}, opts.hyperMediaEndpoint);
|
|
3377
3377
|
_context8.next = 4;
|
|
3378
|
-
return request(_objectSpread$
|
|
3378
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3379
3379
|
path: pathAuthy(accountId),
|
|
3380
3380
|
getFullResponse: true
|
|
3381
3381
|
}), {
|
|
@@ -3420,7 +3420,7 @@ var verifyAuthy = /*#__PURE__*/function () {
|
|
|
3420
3420
|
accountId: accountId
|
|
3421
3421
|
}, opts.hyperMediaEndpoint);
|
|
3422
3422
|
_context9.next = 4;
|
|
3423
|
-
return request(_objectSpread$
|
|
3423
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3424
3424
|
path: pathAuthyVerify(accountId),
|
|
3425
3425
|
getFullResponse: true
|
|
3426
3426
|
}), {
|
|
@@ -3469,7 +3469,7 @@ var createShortLivedToken = /*#__PURE__*/function () {
|
|
|
3469
3469
|
}, opts.hyperMediaEndpoint);
|
|
3470
3470
|
sdkClient.setToken("Bearer " + apiKey);
|
|
3471
3471
|
_context10.next = 5;
|
|
3472
|
-
return request(_objectSpread$
|
|
3472
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3473
3473
|
path: PATH__AUTH_TOKEN
|
|
3474
3474
|
}), {
|
|
3475
3475
|
method: 'post',
|
|
@@ -3514,9 +3514,9 @@ var auth = /*#__PURE__*/Object.freeze({
|
|
|
3514
3514
|
createShortLivedToken: createShortLivedToken
|
|
3515
3515
|
});
|
|
3516
3516
|
|
|
3517
|
-
function ownKeys$
|
|
3517
|
+
function ownKeys$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; }
|
|
3518
3518
|
|
|
3519
|
-
function _objectSpread$
|
|
3519
|
+
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; }
|
|
3520
3520
|
var PATH__APPLICATIONS = '/applications';
|
|
3521
3521
|
var PATH__SELF_APPLICATION = '/applications/me';
|
|
3522
3522
|
|
|
@@ -3534,7 +3534,7 @@ var getSelfApplication = function getSelfApplication(opts) {
|
|
|
3534
3534
|
opts = {};
|
|
3535
3535
|
}
|
|
3536
3536
|
|
|
3537
|
-
return request(_objectSpread$
|
|
3537
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3538
3538
|
path: PATH__SELF_APPLICATION
|
|
3539
3539
|
}), {
|
|
3540
3540
|
method: 'get'
|
|
@@ -3555,7 +3555,7 @@ var getApplications = function getApplications(query, opts) {
|
|
|
3555
3555
|
opts = {};
|
|
3556
3556
|
}
|
|
3557
3557
|
|
|
3558
|
-
return request(_objectSpread$
|
|
3558
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3559
3559
|
path: PATH__APPLICATIONS
|
|
3560
3560
|
}), {
|
|
3561
3561
|
method: 'get',
|
|
@@ -3576,7 +3576,7 @@ var getApplication = function getApplication(applicationId, opts) {
|
|
|
3576
3576
|
utils_doesParamExist["default"]({
|
|
3577
3577
|
applicationId: applicationId
|
|
3578
3578
|
}, opts.hyperMediaEndpoint);
|
|
3579
|
-
return request(_objectSpread$
|
|
3579
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3580
3580
|
path: pathApplication(applicationId)
|
|
3581
3581
|
}), {
|
|
3582
3582
|
method: 'get'
|
|
@@ -3597,7 +3597,7 @@ var updateApplication = function updateApplication(applicationId, body, opts) {
|
|
|
3597
3597
|
utils_doesParamExist["default"]({
|
|
3598
3598
|
applicationId: applicationId
|
|
3599
3599
|
}, opts.hyperMediaEndpoint);
|
|
3600
|
-
return request(_objectSpread$
|
|
3600
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3601
3601
|
path: pathApplication(applicationId)
|
|
3602
3602
|
}), {
|
|
3603
3603
|
method: 'put',
|
|
@@ -3615,7 +3615,7 @@ var createApplication = function createApplication(body, opts) {
|
|
|
3615
3615
|
opts = {};
|
|
3616
3616
|
}
|
|
3617
3617
|
|
|
3618
|
-
return request(_objectSpread$
|
|
3618
|
+
return request(_objectSpread$1a({}, opts, {
|
|
3619
3619
|
path: PATH__APPLICATIONS
|
|
3620
3620
|
}), {
|
|
3621
3621
|
method: 'post',
|
|
@@ -3632,9 +3632,9 @@ var applications = /*#__PURE__*/Object.freeze({
|
|
|
3632
3632
|
createApplication: createApplication
|
|
3633
3633
|
});
|
|
3634
3634
|
|
|
3635
|
-
function ownKeys$
|
|
3635
|
+
function ownKeys$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; }
|
|
3636
3636
|
|
|
3637
|
-
function _objectSpread$
|
|
3637
|
+
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; }
|
|
3638
3638
|
var PATH_BLACKLIST_BANK_ACCOUNT = "/blacklistedbankaccounts";
|
|
3639
3639
|
|
|
3640
3640
|
/**
|
|
@@ -3652,7 +3652,7 @@ var createBlacklistedBankAccount = /*#__PURE__*/function () {
|
|
|
3652
3652
|
opts = {};
|
|
3653
3653
|
}
|
|
3654
3654
|
|
|
3655
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3655
|
+
return _context.abrupt("return", request(_objectSpread$19({}, opts, {
|
|
3656
3656
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3657
3657
|
}), {
|
|
3658
3658
|
method: 'post',
|
|
@@ -3687,7 +3687,7 @@ var getBlacklistedBankAccounts = /*#__PURE__*/function () {
|
|
|
3687
3687
|
opts = {};
|
|
3688
3688
|
}
|
|
3689
3689
|
|
|
3690
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3690
|
+
return _context2.abrupt("return", request(_objectSpread$19({}, opts, {
|
|
3691
3691
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3692
3692
|
}), {
|
|
3693
3693
|
method: 'get',
|
|
@@ -3713,9 +3713,9 @@ var blacklist = /*#__PURE__*/Object.freeze({
|
|
|
3713
3713
|
getBlacklistedBankAccounts: getBlacklistedBankAccounts
|
|
3714
3714
|
});
|
|
3715
3715
|
|
|
3716
|
-
function ownKeys$
|
|
3716
|
+
function ownKeys$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; }
|
|
3717
3717
|
|
|
3718
|
-
function _objectSpread$
|
|
3718
|
+
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; }
|
|
3719
3719
|
var pathBusinessBulkUploads = function pathBusinessBulkUploads(businessId) {
|
|
3720
3720
|
return "/businesses/" + businessId + "/bulkuploads";
|
|
3721
3721
|
};
|
|
@@ -3740,7 +3740,7 @@ var createBulkUpload = function createBulkUpload(businessId, body, opts) {
|
|
|
3740
3740
|
utils_doesParamExist["default"]({
|
|
3741
3741
|
businessId: businessId
|
|
3742
3742
|
});
|
|
3743
|
-
return request(_objectSpread$
|
|
3743
|
+
return request(_objectSpread$18({}, opts, {
|
|
3744
3744
|
path: pathBusinessBulkUploads(businessId)
|
|
3745
3745
|
}), {
|
|
3746
3746
|
method: 'post',
|
|
@@ -3764,7 +3764,7 @@ var getBulkUpload = function getBulkUpload(businessId, bulkUploadId, opts) {
|
|
|
3764
3764
|
businessId: businessId,
|
|
3765
3765
|
bulkUploadId: bulkUploadId
|
|
3766
3766
|
});
|
|
3767
|
-
return request(_objectSpread$
|
|
3767
|
+
return request(_objectSpread$18({}, opts, {
|
|
3768
3768
|
path: pathBusinessBulkUpload(businessId, bulkUploadId)
|
|
3769
3769
|
}), {
|
|
3770
3770
|
method: 'get'
|
|
@@ -3785,7 +3785,7 @@ var getBulkUploadUrl = function getBulkUploadUrl(businessId, query, opts) {
|
|
|
3785
3785
|
utils_doesParamExist["default"]({
|
|
3786
3786
|
businessId: businessId
|
|
3787
3787
|
});
|
|
3788
|
-
return request(_objectSpread$
|
|
3788
|
+
return request(_objectSpread$18({}, opts, {
|
|
3789
3789
|
path: pathBusinessBulkUploadUrl(businessId)
|
|
3790
3790
|
}), {
|
|
3791
3791
|
method: 'get',
|
|
@@ -3803,9 +3803,9 @@ var bulkUploads = /*#__PURE__*/Object.freeze({
|
|
|
3803
3803
|
getBulkUploadUrl: getBulkUploadUrl
|
|
3804
3804
|
});
|
|
3805
3805
|
|
|
3806
|
-
function ownKeys$
|
|
3806
|
+
function ownKeys$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; }
|
|
3807
3807
|
|
|
3808
|
-
function _objectSpread$
|
|
3808
|
+
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; }
|
|
3809
3809
|
var pathSubmitDraftInvoices = function pathSubmitDraftInvoices(businessId) {
|
|
3810
3810
|
return "/businesses/" + businessId + "/bulksubmits";
|
|
3811
3811
|
};
|
|
@@ -3832,7 +3832,7 @@ var submitDraftInvoices = /*#__PURE__*/function () {
|
|
|
3832
3832
|
utils_doesParamExist["default"]({
|
|
3833
3833
|
businessId: businessId
|
|
3834
3834
|
}, opts.hyperMediaEndpoint);
|
|
3835
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3835
|
+
return _context.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
3836
3836
|
path: pathSubmitDraftInvoices(businessId)
|
|
3837
3837
|
}), {
|
|
3838
3838
|
method: 'post',
|
|
@@ -3872,7 +3872,7 @@ var getDraftProgressStatus = /*#__PURE__*/function () {
|
|
|
3872
3872
|
businessId: businessId,
|
|
3873
3873
|
bulkSubmitId: bulkSubmitId
|
|
3874
3874
|
}, opts.hyperMediaEndpoint);
|
|
3875
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3875
|
+
return _context2.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
3876
3876
|
path: pathGetDraftProgressStatus(businessId, bulkSubmitId)
|
|
3877
3877
|
}), {
|
|
3878
3878
|
method: 'get',
|
|
@@ -3900,9 +3900,9 @@ var bulkSubmits = /*#__PURE__*/Object.freeze({
|
|
|
3900
3900
|
getDraftProgressStatus: getDraftProgressStatus
|
|
3901
3901
|
});
|
|
3902
3902
|
|
|
3903
|
-
function ownKeys$
|
|
3903
|
+
function ownKeys$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; }
|
|
3904
3904
|
|
|
3905
|
-
function _objectSpread$
|
|
3905
|
+
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; }
|
|
3906
3906
|
var pathLinkBusinessProfile = function pathLinkBusinessProfile(businessProfileId) {
|
|
3907
3907
|
return "/businessprofiles/" + businessProfileId + "/link";
|
|
3908
3908
|
};
|
|
@@ -3920,7 +3920,7 @@ var getOrganisationBusinessProfiles = function getOrganisationBusinessProfiles(o
|
|
|
3920
3920
|
utils_doesParamExist["default"]({
|
|
3921
3921
|
organisationId: organisationId
|
|
3922
3922
|
}, opts.hyperMediaEndpoint);
|
|
3923
|
-
return request(_objectSpread$
|
|
3923
|
+
return request(_objectSpread$16({}, opts, {
|
|
3924
3924
|
path: pathOrganisationBusinessProfiles(organisationId)
|
|
3925
3925
|
}), {
|
|
3926
3926
|
method: 'get',
|
|
@@ -3939,7 +3939,7 @@ var linkBusinessProfile = function linkBusinessProfile(businessProfileId, busine
|
|
|
3939
3939
|
var body = {
|
|
3940
3940
|
businessId: businessId
|
|
3941
3941
|
};
|
|
3942
|
-
return request(_objectSpread$
|
|
3942
|
+
return request(_objectSpread$16({}, opts, {
|
|
3943
3943
|
path: pathLinkBusinessProfile(businessProfileId)
|
|
3944
3944
|
}), {
|
|
3945
3945
|
method: 'put',
|
|
@@ -3954,7 +3954,7 @@ var unlinkBusinessProfile = function unlinkBusinessProfile(businessProfileId, op
|
|
|
3954
3954
|
utils_doesParamExist["default"]({
|
|
3955
3955
|
businessProfileId: businessProfileId
|
|
3956
3956
|
}, opts.hyperMediaEndpoint);
|
|
3957
|
-
return request(_objectSpread$
|
|
3957
|
+
return request(_objectSpread$16({}, opts, {
|
|
3958
3958
|
path: pathUnlinkBusinessProfile(businessProfileId)
|
|
3959
3959
|
}), {
|
|
3960
3960
|
method: 'put'
|
|
@@ -3971,9 +3971,9 @@ var businessProfiles = /*#__PURE__*/Object.freeze({
|
|
|
3971
3971
|
unlinkBusinessProfile: unlinkBusinessProfile
|
|
3972
3972
|
});
|
|
3973
3973
|
|
|
3974
|
-
function ownKeys$
|
|
3974
|
+
function ownKeys$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; }
|
|
3975
3975
|
|
|
3976
|
-
function _objectSpread$
|
|
3976
|
+
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; }
|
|
3977
3977
|
var PATH__BUSINESSES = '/businesses';
|
|
3978
3978
|
var PATH__MY_BUSINESSES = '/businesses/me';
|
|
3979
3979
|
|
|
@@ -4061,14 +4061,6 @@ var pathSubmitHealthPointManualOnboarding = function pathSubmitHealthPointManual
|
|
|
4061
4061
|
var pathSuspendBusinessEmail = function pathSuspendBusinessEmail(businessId) {
|
|
4062
4062
|
return "/businesses/" + businessId + "/suspendemail";
|
|
4063
4063
|
};
|
|
4064
|
-
|
|
4065
|
-
var pathGetBusinessEmailLogs = function pathGetBusinessEmailLogs(businessId) {
|
|
4066
|
-
return "/businesses/" + businessId + "/emaillogs";
|
|
4067
|
-
};
|
|
4068
|
-
|
|
4069
|
-
var pathGetEmailLog = function pathGetEmailLog(emailLogId) {
|
|
4070
|
-
return "/emaillogs/" + emailLogId;
|
|
4071
|
-
};
|
|
4072
4064
|
/**
|
|
4073
4065
|
* Create businesses
|
|
4074
4066
|
* @param {Object} body - Request body
|
|
@@ -4081,7 +4073,7 @@ var createBusiness = function createBusiness(body, opts) {
|
|
|
4081
4073
|
opts = {};
|
|
4082
4074
|
}
|
|
4083
4075
|
|
|
4084
|
-
return request(_objectSpread$
|
|
4076
|
+
return request(_objectSpread$15({}, opts, {
|
|
4085
4077
|
path: PATH__BUSINESSES
|
|
4086
4078
|
}), {
|
|
4087
4079
|
method: 'post',
|
|
@@ -4103,7 +4095,7 @@ var createOrganisationBusiness = function createOrganisationBusiness(organisatio
|
|
|
4103
4095
|
utils_doesParamExist["default"]({
|
|
4104
4096
|
organisationId: organisationId
|
|
4105
4097
|
}, opts.hyperMediaEndpoint);
|
|
4106
|
-
return request(_objectSpread$
|
|
4098
|
+
return request(_objectSpread$15({}, opts, {
|
|
4107
4099
|
path: pathOrganisationBusiness(organisationId)
|
|
4108
4100
|
}), {
|
|
4109
4101
|
method: 'post',
|
|
@@ -4124,7 +4116,7 @@ var deleteBusiness = function deleteBusiness(businessId, opts) {
|
|
|
4124
4116
|
utils_doesParamExist["default"]({
|
|
4125
4117
|
businessId: businessId
|
|
4126
4118
|
}, opts.hyperMediaEndpoint);
|
|
4127
|
-
return request(_objectSpread$
|
|
4119
|
+
return request(_objectSpread$15({}, opts, {
|
|
4128
4120
|
path: pathBusiness$1(businessId)
|
|
4129
4121
|
}), {
|
|
4130
4122
|
method: 'delete'
|
|
@@ -4145,7 +4137,7 @@ var disableBusiness = function disableBusiness(businessId, body, opts) {
|
|
|
4145
4137
|
utils_doesParamExist["default"]({
|
|
4146
4138
|
businessId: businessId
|
|
4147
4139
|
}, opts.hyperMediaEndpoint);
|
|
4148
|
-
return request(_objectSpread$
|
|
4140
|
+
return request(_objectSpread$15({}, opts, {
|
|
4149
4141
|
path: pathDisableBusiness(businessId)
|
|
4150
4142
|
}), {
|
|
4151
4143
|
method: 'post',
|
|
@@ -4167,7 +4159,7 @@ var emailBusinessOnboardingQuestions = function emailBusinessOnboardingQuestions
|
|
|
4167
4159
|
utils_doesParamExist["default"]({
|
|
4168
4160
|
businessId: businessId
|
|
4169
4161
|
}, opts.hyperMediaEndpoint);
|
|
4170
|
-
return request(_objectSpread$
|
|
4162
|
+
return request(_objectSpread$15({}, opts, {
|
|
4171
4163
|
path: pathBusinessOnboardingQuestions(businessId)
|
|
4172
4164
|
}), {
|
|
4173
4165
|
method: 'post',
|
|
@@ -4189,7 +4181,7 @@ var enableBusiness = function enableBusiness(businessId, body, opts) {
|
|
|
4189
4181
|
utils_doesParamExist["default"]({
|
|
4190
4182
|
businessId: businessId
|
|
4191
4183
|
}, opts.hyperMediaEndpoint);
|
|
4192
|
-
return request(_objectSpread$
|
|
4184
|
+
return request(_objectSpread$15({}, opts, {
|
|
4193
4185
|
path: pathEnableBusiness(businessId)
|
|
4194
4186
|
}), {
|
|
4195
4187
|
method: 'post',
|
|
@@ -4215,7 +4207,7 @@ var getBusiness = function getBusiness(businessId, query, opts) {
|
|
|
4215
4207
|
utils_doesParamExist["default"]({
|
|
4216
4208
|
businessId: businessId
|
|
4217
4209
|
}, opts.hyperMediaEndpoint);
|
|
4218
|
-
return request(_objectSpread$
|
|
4210
|
+
return request(_objectSpread$15({}, opts, {
|
|
4219
4211
|
path: pathBusiness$1(businessId)
|
|
4220
4212
|
}), {
|
|
4221
4213
|
method: 'get',
|
|
@@ -4241,7 +4233,7 @@ var getBusinessBillingHistoryRecords = function getBusinessBillingHistoryRecords
|
|
|
4241
4233
|
utils_doesParamExist["default"]({
|
|
4242
4234
|
businessId: businessId
|
|
4243
4235
|
}, opts.hyperMediaEndpoint);
|
|
4244
|
-
return request(_objectSpread$
|
|
4236
|
+
return request(_objectSpread$15({}, opts, {
|
|
4245
4237
|
path: pathGetBusinessBillingHistoryRecords(businessId)
|
|
4246
4238
|
}), {
|
|
4247
4239
|
method: 'get',
|
|
@@ -4269,7 +4261,7 @@ var getBusinessBillingHistoryRecord = function getBusinessBillingHistoryRecord(b
|
|
|
4269
4261
|
businessId: businessId,
|
|
4270
4262
|
billingHistoryId: billingHistoryId
|
|
4271
4263
|
}, opts.hyperMediaEndpoint);
|
|
4272
|
-
return request(_objectSpread$
|
|
4264
|
+
return request(_objectSpread$15({}, opts, {
|
|
4273
4265
|
path: pathGetBusinessBillingHistoryRecord(businessId, billingHistoryId)
|
|
4274
4266
|
}), {
|
|
4275
4267
|
method: 'get',
|
|
@@ -4291,7 +4283,7 @@ var getBusinesses = function getBusinesses(query, opts) {
|
|
|
4291
4283
|
opts = {};
|
|
4292
4284
|
}
|
|
4293
4285
|
|
|
4294
|
-
return request(_objectSpread$
|
|
4286
|
+
return request(_objectSpread$15({}, opts, {
|
|
4295
4287
|
path: PATH__BUSINESSES
|
|
4296
4288
|
}), {
|
|
4297
4289
|
method: 'get',
|
|
@@ -4313,7 +4305,7 @@ var getMyBusinesses = function getMyBusinesses(query, opts) {
|
|
|
4313
4305
|
opts = {};
|
|
4314
4306
|
}
|
|
4315
4307
|
|
|
4316
|
-
return request(_objectSpread$
|
|
4308
|
+
return request(_objectSpread$15({}, opts, {
|
|
4317
4309
|
path: PATH__MY_BUSINESSES
|
|
4318
4310
|
}), {
|
|
4319
4311
|
method: 'get',
|
|
@@ -4335,7 +4327,7 @@ var getBusinessPDFs = function getBusinessPDFs(businessId, body, opts) {
|
|
|
4335
4327
|
utils_doesParamExist["default"]({
|
|
4336
4328
|
businessId: businessId
|
|
4337
4329
|
}, opts.hyperMediaEndpoint);
|
|
4338
|
-
return request(_objectSpread$
|
|
4330
|
+
return request(_objectSpread$15({}, opts, {
|
|
4339
4331
|
path: pathBusiness$1(businessId) + "/pdfs"
|
|
4340
4332
|
}), {
|
|
4341
4333
|
method: 'post',
|
|
@@ -4362,7 +4354,7 @@ var getAccountsBusinesses = function getAccountsBusinesses(accountId, query, opt
|
|
|
4362
4354
|
utils_doesParamExist["default"]({
|
|
4363
4355
|
accountId: accountId
|
|
4364
4356
|
}, opts.hyperMediaEndpoint);
|
|
4365
|
-
return request(_objectSpread$
|
|
4357
|
+
return request(_objectSpread$15({}, opts, {
|
|
4366
4358
|
path: pathAccountsBusinesses(accountId)
|
|
4367
4359
|
}), {
|
|
4368
4360
|
method: 'get',
|
|
@@ -4388,7 +4380,7 @@ var getOrganisationBusinesses = function getOrganisationBusinesses(organisationI
|
|
|
4388
4380
|
utils_doesParamExist["default"]({
|
|
4389
4381
|
organisationId: organisationId
|
|
4390
4382
|
}, opts.hyperMediaEndpoint);
|
|
4391
|
-
return request(_objectSpread$
|
|
4383
|
+
return request(_objectSpread$15({}, opts, {
|
|
4392
4384
|
path: pathOrganisationBusiness(organisationId)
|
|
4393
4385
|
}), {
|
|
4394
4386
|
method: 'get',
|
|
@@ -4410,7 +4402,7 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
|
|
|
4410
4402
|
utils_doesParamExist["default"]({
|
|
4411
4403
|
businessId: businessId
|
|
4412
4404
|
}, opts.hyperMediaEndpoint);
|
|
4413
|
-
return request(_objectSpread$
|
|
4405
|
+
return request(_objectSpread$15({}, opts, {
|
|
4414
4406
|
path: pathBusiness$1(businessId)
|
|
4415
4407
|
}), {
|
|
4416
4408
|
method: 'put',
|
|
@@ -4432,7 +4424,7 @@ var unsuspendBusiness = function unsuspendBusiness(businessId, body, opts) {
|
|
|
4432
4424
|
utils_doesParamExist["default"]({
|
|
4433
4425
|
businessId: businessId
|
|
4434
4426
|
}, opts.hyperMediaEndpoint);
|
|
4435
|
-
return request(_objectSpread$
|
|
4427
|
+
return request(_objectSpread$15({}, opts, {
|
|
4436
4428
|
path: pathUnsuspendBusiness(businessId)
|
|
4437
4429
|
}), {
|
|
4438
4430
|
method: 'post',
|
|
@@ -4454,7 +4446,7 @@ var verifyMedicare$1 = function verifyMedicare(businessId, body, opts) {
|
|
|
4454
4446
|
utils_doesParamExist["default"]({
|
|
4455
4447
|
businessId: businessId
|
|
4456
4448
|
}, opts.hyperMediaEndpoint);
|
|
4457
|
-
return request(_objectSpread$
|
|
4449
|
+
return request(_objectSpread$15({}, opts, {
|
|
4458
4450
|
path: pathVerifyMedicare(businessId)
|
|
4459
4451
|
}), {
|
|
4460
4452
|
method: 'post',
|
|
@@ -4476,7 +4468,7 @@ var oldVerifyDVA = function oldVerifyDVA(businessId, body, opts) {
|
|
|
4476
4468
|
utils_doesParamExist["default"]({
|
|
4477
4469
|
businessId: businessId
|
|
4478
4470
|
}, opts.hyperMediaEndpoint);
|
|
4479
|
-
return request(_objectSpread$
|
|
4471
|
+
return request(_objectSpread$15({}, opts, {
|
|
4480
4472
|
path: oldPathVerifyDVA(businessId)
|
|
4481
4473
|
}), {
|
|
4482
4474
|
method: 'post',
|
|
@@ -4498,7 +4490,7 @@ var verifyDVA = function verifyDVA(businessId, body, opts) {
|
|
|
4498
4490
|
utils_doesParamExist["default"]({
|
|
4499
4491
|
businessId: businessId
|
|
4500
4492
|
}, opts.hyperMediaEndpoint);
|
|
4501
|
-
return request(_objectSpread$
|
|
4493
|
+
return request(_objectSpread$15({}, opts, {
|
|
4502
4494
|
path: pathVerifyDVA(businessId)
|
|
4503
4495
|
}), {
|
|
4504
4496
|
method: 'post',
|
|
@@ -4520,7 +4512,7 @@ var verifyIcare = function verifyIcare(businessId, body, opts) {
|
|
|
4520
4512
|
utils_doesParamExist["default"]({
|
|
4521
4513
|
businessId: businessId
|
|
4522
4514
|
}, opts.hyperMediaEndpoint);
|
|
4523
|
-
return request(_objectSpread$
|
|
4515
|
+
return request(_objectSpread$15({}, opts, {
|
|
4524
4516
|
path: pathVerifyIcare(businessId)
|
|
4525
4517
|
}), {
|
|
4526
4518
|
method: 'post',
|
|
@@ -4546,7 +4538,7 @@ var verifyComcare = function verifyComcare(businessId, staffId, providerSetItemI
|
|
|
4546
4538
|
staffId: staffId,
|
|
4547
4539
|
providerSetItemId: providerSetItemId
|
|
4548
4540
|
}, opts.hyperMediaEndpoint);
|
|
4549
|
-
return request(_objectSpread$
|
|
4541
|
+
return request(_objectSpread$15({}, opts, {
|
|
4550
4542
|
path: pathVerifyComcare(businessId, staffId, providerSetItemId)
|
|
4551
4543
|
}), {
|
|
4552
4544
|
method: 'post',
|
|
@@ -4568,7 +4560,7 @@ var createSupportNote = function createSupportNote(businessId, body, opts) {
|
|
|
4568
4560
|
utils_doesParamExist["default"]({
|
|
4569
4561
|
businessId: businessId
|
|
4570
4562
|
}, opts.hyperMediaEndpoint);
|
|
4571
|
-
return request(_objectSpread$
|
|
4563
|
+
return request(_objectSpread$15({}, opts, {
|
|
4572
4564
|
path: pathCreateSupportNote(businessId)
|
|
4573
4565
|
}), {
|
|
4574
4566
|
method: 'post',
|
|
@@ -4590,7 +4582,7 @@ var getBsbDetails = function getBsbDetails(businessId, query, opts) {
|
|
|
4590
4582
|
utils_doesParamExist["default"]({
|
|
4591
4583
|
businessId: businessId
|
|
4592
4584
|
}, opts.hyperMediaEndpoint);
|
|
4593
|
-
return request(_objectSpread$
|
|
4585
|
+
return request(_objectSpread$15({}, opts, {
|
|
4594
4586
|
path: pathBsbDetails(businessId)
|
|
4595
4587
|
}), {
|
|
4596
4588
|
method: 'get',
|
|
@@ -4612,7 +4604,7 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
|
|
|
4612
4604
|
utils_doesParamExist["default"]({
|
|
4613
4605
|
businessId: businessId
|
|
4614
4606
|
}, opts.hyperMediaEndpoint);
|
|
4615
|
-
return request(_objectSpread$
|
|
4607
|
+
return request(_objectSpread$15({}, opts, {
|
|
4616
4608
|
path: pathBusinessSendEmails(businessId)
|
|
4617
4609
|
}), {
|
|
4618
4610
|
method: 'post',
|
|
@@ -4634,7 +4626,7 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
|
4634
4626
|
utils_doesParamExist["default"]({
|
|
4635
4627
|
businessId: businessId
|
|
4636
4628
|
}, opts.hyperMediaEndpoint);
|
|
4637
|
-
return request(_objectSpread$
|
|
4629
|
+
return request(_objectSpread$15({}, opts, {
|
|
4638
4630
|
path: pathSuspendBusiness(businessId)
|
|
4639
4631
|
}), {
|
|
4640
4632
|
method: 'post',
|
|
@@ -4655,7 +4647,7 @@ var getOrgByHealthFundExists = function getOrgByHealthFundExists(businessId, que
|
|
|
4655
4647
|
utils_doesParamExist["default"]({
|
|
4656
4648
|
businessId: businessId
|
|
4657
4649
|
}, opts.hyperMediaEndpoint);
|
|
4658
|
-
return request(_objectSpread$
|
|
4650
|
+
return request(_objectSpread$15({}, opts, {
|
|
4659
4651
|
path: pathGetOrgByHealthFundExists(businessId)
|
|
4660
4652
|
}), {
|
|
4661
4653
|
method: 'get',
|
|
@@ -4677,7 +4669,7 @@ var submitHealthPointManualOnboarding = function submitHealthPointManualOnboardi
|
|
|
4677
4669
|
utils_doesParamExist["default"]({
|
|
4678
4670
|
businessId: businessId
|
|
4679
4671
|
}, opts.hyperMediaEndpoint);
|
|
4680
|
-
return request(_objectSpread$
|
|
4672
|
+
return request(_objectSpread$15({}, opts, {
|
|
4681
4673
|
path: pathSubmitHealthPointManualOnboarding(businessId)
|
|
4682
4674
|
}), {
|
|
4683
4675
|
method: 'post',
|
|
@@ -4698,54 +4690,12 @@ var suspendBusinessEmail = function suspendBusinessEmail(businessId, opts) {
|
|
|
4698
4690
|
utils_doesParamExist["default"]({
|
|
4699
4691
|
businessId: businessId
|
|
4700
4692
|
}, opts.hyperMediaEndpoint);
|
|
4701
|
-
return request(_objectSpread$
|
|
4693
|
+
return request(_objectSpread$15({}, opts, {
|
|
4702
4694
|
path: pathSuspendBusinessEmail(businessId)
|
|
4703
4695
|
}), {
|
|
4704
4696
|
method: 'post'
|
|
4705
4697
|
});
|
|
4706
4698
|
};
|
|
4707
|
-
/**
|
|
4708
|
-
* Get business email logs
|
|
4709
|
-
* @param {String} businessId - Business ID
|
|
4710
|
-
* @param {Object} query - Query parameters
|
|
4711
|
-
* @param {Object} opts - Additional options
|
|
4712
|
-
*/
|
|
4713
|
-
|
|
4714
|
-
var getBusinessEmailLogs = function getBusinessEmailLogs(businessId, query, opts) {
|
|
4715
|
-
if (opts === void 0) {
|
|
4716
|
-
opts = {};
|
|
4717
|
-
}
|
|
4718
|
-
|
|
4719
|
-
utils_doesParamExist["default"]({
|
|
4720
|
-
businessId: businessId
|
|
4721
|
-
}, opts.hyperMediaEndpoint);
|
|
4722
|
-
return request(_objectSpread$14({}, opts, {
|
|
4723
|
-
path: pathGetBusinessEmailLogs(businessId)
|
|
4724
|
-
}), {
|
|
4725
|
-
method: 'get',
|
|
4726
|
-
params: query
|
|
4727
|
-
});
|
|
4728
|
-
};
|
|
4729
|
-
/**
|
|
4730
|
-
* Get a single business email log
|
|
4731
|
-
* @param {String} emailLogId - Email Log ID
|
|
4732
|
-
* @param {Object} opts - Additional options
|
|
4733
|
-
*/
|
|
4734
|
-
|
|
4735
|
-
var getEmailLog = function getEmailLog(emailLogId, opts) {
|
|
4736
|
-
if (opts === void 0) {
|
|
4737
|
-
opts = {};
|
|
4738
|
-
}
|
|
4739
|
-
|
|
4740
|
-
utils_doesParamExist["default"]({
|
|
4741
|
-
emailLogId: emailLogId
|
|
4742
|
-
}, opts.hyperMediaEndpoint);
|
|
4743
|
-
return request(_objectSpread$14({}, opts, {
|
|
4744
|
-
path: pathGetEmailLog(emailLogId)
|
|
4745
|
-
}), {
|
|
4746
|
-
method: 'get'
|
|
4747
|
-
});
|
|
4748
|
-
};
|
|
4749
4699
|
|
|
4750
4700
|
var businesses = /*#__PURE__*/Object.freeze({
|
|
4751
4701
|
__proto__: null,
|
|
@@ -4776,14 +4726,12 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
4776
4726
|
suspendBusiness: suspendBusiness,
|
|
4777
4727
|
getOrgByHealthFundExists: getOrgByHealthFundExists,
|
|
4778
4728
|
submitHealthPointManualOnboarding: submitHealthPointManualOnboarding,
|
|
4779
|
-
suspendBusinessEmail: suspendBusinessEmail
|
|
4780
|
-
getBusinessEmailLogs: getBusinessEmailLogs,
|
|
4781
|
-
getEmailLog: getEmailLog
|
|
4729
|
+
suspendBusinessEmail: suspendBusinessEmail
|
|
4782
4730
|
});
|
|
4783
4731
|
|
|
4784
|
-
function ownKeys$
|
|
4732
|
+
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; }
|
|
4785
4733
|
|
|
4786
|
-
function _objectSpread$
|
|
4734
|
+
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; }
|
|
4787
4735
|
|
|
4788
4736
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
4789
4737
|
var pathBusinessClaimItems = function pathBusinessClaimItems(businessId) {
|
|
@@ -4829,7 +4777,7 @@ var getBusinessClaimItems = /*#__PURE__*/function () {
|
|
|
4829
4777
|
utils_doesParamExist["default"]({
|
|
4830
4778
|
businessId: businessId
|
|
4831
4779
|
}, opts.hyperMediaEndpoint);
|
|
4832
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4780
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4833
4781
|
path: pathBusinessClaimItems(businessId)
|
|
4834
4782
|
}), {
|
|
4835
4783
|
method: 'get',
|
|
@@ -4874,7 +4822,7 @@ var getBusinessClaimItem = /*#__PURE__*/function () {
|
|
|
4874
4822
|
businessId: businessId,
|
|
4875
4823
|
claimItemId: claimItemId
|
|
4876
4824
|
}, opts.hyperMediaEndpoint);
|
|
4877
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
4825
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4878
4826
|
path: pathBusinessClaimItem(businessId, claimItemId)
|
|
4879
4827
|
}), {
|
|
4880
4828
|
method: 'get',
|
|
@@ -4917,7 +4865,7 @@ var getHealthFundClaimItems = /*#__PURE__*/function () {
|
|
|
4917
4865
|
utils_doesParamExist["default"]({
|
|
4918
4866
|
healthFundId: healthFundId
|
|
4919
4867
|
}, opts.hyperMediaEndpoint);
|
|
4920
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
4868
|
+
return _context3.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4921
4869
|
path: pathHealthFundClaimItems(healthFundId)
|
|
4922
4870
|
}), {
|
|
4923
4871
|
method: 'get',
|
|
@@ -4962,7 +4910,7 @@ var getHealthFundClaimItem = /*#__PURE__*/function () {
|
|
|
4962
4910
|
healthFundId: healthFundId,
|
|
4963
4911
|
claimItemId: claimItemId
|
|
4964
4912
|
}, opts.hyperMediaEndpoint);
|
|
4965
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
4913
|
+
return _context4.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4966
4914
|
path: pathHealthFundClaimItem(healthFundId, claimItemId)
|
|
4967
4915
|
}), {
|
|
4968
4916
|
method: 'get',
|
|
@@ -4990,9 +4938,9 @@ var claimItems = /*#__PURE__*/Object.freeze({
|
|
|
4990
4938
|
getHealthFundClaimItem: getHealthFundClaimItem
|
|
4991
4939
|
});
|
|
4992
4940
|
|
|
4993
|
-
function ownKeys$
|
|
4941
|
+
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; }
|
|
4994
4942
|
|
|
4995
|
-
function _objectSpread$
|
|
4943
|
+
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; }
|
|
4996
4944
|
var PATH__DOC_ACCOUNTS = '/docaccounts'; // @ts-expect-error TS(7006): Parameter 'docAccountId' implicitly has an 'any' t... Remove this comment to see the full error message
|
|
4997
4945
|
|
|
4998
4946
|
var pathDocAccount = function pathDocAccount(docAccountId) {
|
|
@@ -5019,7 +4967,7 @@ var getDocAccounts = /*#__PURE__*/function () {
|
|
|
5019
4967
|
opts = {};
|
|
5020
4968
|
}
|
|
5021
4969
|
|
|
5022
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4970
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5023
4971
|
path: PATH__DOC_ACCOUNTS
|
|
5024
4972
|
}), {
|
|
5025
4973
|
method: 'get',
|
|
@@ -5057,7 +5005,7 @@ var getDocAccount = /*#__PURE__*/function () {
|
|
|
5057
5005
|
utils_doesParamExist["default"]({
|
|
5058
5006
|
partnerId: partnerId
|
|
5059
5007
|
}, opts.hyperMediaEndpoint);
|
|
5060
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
5008
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5061
5009
|
path: pathDocAccount(partnerId)
|
|
5062
5010
|
}), {
|
|
5063
5011
|
method: 'get'
|
|
@@ -5091,7 +5039,7 @@ var createDocAccount = /*#__PURE__*/function () {
|
|
|
5091
5039
|
opts = {};
|
|
5092
5040
|
}
|
|
5093
5041
|
|
|
5094
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
5042
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5095
5043
|
path: PATH__DOC_ACCOUNTS
|
|
5096
5044
|
}), {
|
|
5097
5045
|
method: 'post',
|
|
@@ -5130,7 +5078,7 @@ var updateDocAccount = /*#__PURE__*/function () {
|
|
|
5130
5078
|
utils_doesParamExist["default"]({
|
|
5131
5079
|
docAccountId: docAccountId
|
|
5132
5080
|
}, opts.hyperMediaEndpoint);
|
|
5133
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
5081
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5134
5082
|
path: pathDocAccount(docAccountId)
|
|
5135
5083
|
}), {
|
|
5136
5084
|
method: 'put',
|
|
@@ -5168,7 +5116,7 @@ var deleteDocAccount = /*#__PURE__*/function () {
|
|
|
5168
5116
|
utils_doesParamExist["default"]({
|
|
5169
5117
|
docAccountId: docAccountId
|
|
5170
5118
|
}, opts.hyperMediaEndpoint);
|
|
5171
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
5119
|
+
return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5172
5120
|
path: pathDocAccount(docAccountId)
|
|
5173
5121
|
}), {
|
|
5174
5122
|
method: 'delete'
|
|
@@ -5196,9 +5144,9 @@ var docAccounts = /*#__PURE__*/Object.freeze({
|
|
|
5196
5144
|
deleteDocAccount: deleteDocAccount
|
|
5197
5145
|
});
|
|
5198
5146
|
|
|
5199
|
-
function ownKeys$
|
|
5147
|
+
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; }
|
|
5200
5148
|
|
|
5201
|
-
function _objectSpread$
|
|
5149
|
+
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; }
|
|
5202
5150
|
var pathBusinessDocuments = function pathBusinessDocuments(businessId) {
|
|
5203
5151
|
return "/businesses/" + businessId + "/documents";
|
|
5204
5152
|
};
|
|
@@ -5254,7 +5202,7 @@ var approveHealthFundDocument = function approveHealthFundDocument(healthFundId,
|
|
|
5254
5202
|
healthFundId: healthFundId,
|
|
5255
5203
|
documentId: documentId
|
|
5256
5204
|
}, opts.hyperMediaEndpoint);
|
|
5257
|
-
return request(_objectSpread$
|
|
5205
|
+
return request(_objectSpread$12({}, opts, {
|
|
5258
5206
|
path: pathHealthFundDocumentApprove(healthFundId, documentId)
|
|
5259
5207
|
}), {
|
|
5260
5208
|
method: 'post'
|
|
@@ -5276,7 +5224,7 @@ var assignHealthFundDocumentToMe = function assignHealthFundDocumentToMe(healthF
|
|
|
5276
5224
|
healthFundId: healthFundId,
|
|
5277
5225
|
documentId: documentId
|
|
5278
5226
|
}, opts.hyperMediaEndpoint);
|
|
5279
|
-
return request(_objectSpread$
|
|
5227
|
+
return request(_objectSpread$12({}, opts, {
|
|
5280
5228
|
path: pathHealthFundDocumentAssignToMe(healthFundId, documentId)
|
|
5281
5229
|
}), {
|
|
5282
5230
|
method: 'put'
|
|
@@ -5298,7 +5246,7 @@ var cancelBusinessDocument = function cancelBusinessDocument(businessId, documen
|
|
|
5298
5246
|
businessId: businessId,
|
|
5299
5247
|
documentId: documentId
|
|
5300
5248
|
}, opts.hyperMediaEndpoint);
|
|
5301
|
-
return request(_objectSpread$
|
|
5249
|
+
return request(_objectSpread$12({}, opts, {
|
|
5302
5250
|
path: pathBusinessDocumentCancel(businessId, documentId)
|
|
5303
5251
|
}), {
|
|
5304
5252
|
method: 'post'
|
|
@@ -5320,7 +5268,7 @@ var declineHealthFundDocument = function declineHealthFundDocument(healthFundId,
|
|
|
5320
5268
|
healthFundId: healthFundId,
|
|
5321
5269
|
documentId: documentId
|
|
5322
5270
|
}, opts.hyperMediaEndpoint);
|
|
5323
|
-
return request(_objectSpread$
|
|
5271
|
+
return request(_objectSpread$12({}, opts, {
|
|
5324
5272
|
path: pathHealthFundDocumentDecline(healthFundId, documentId)
|
|
5325
5273
|
}), {
|
|
5326
5274
|
method: 'post',
|
|
@@ -5343,7 +5291,7 @@ var ceaseHealthFundDocument = function ceaseHealthFundDocument(healthFundId, doc
|
|
|
5343
5291
|
healthFundId: healthFundId,
|
|
5344
5292
|
documentId: documentId
|
|
5345
5293
|
}, opts.hyperMediaEndpoint);
|
|
5346
|
-
return request(_objectSpread$
|
|
5294
|
+
return request(_objectSpread$12({}, opts, {
|
|
5347
5295
|
path: pathHealthFundDocumentCease(healthFundId, documentId)
|
|
5348
5296
|
}), {
|
|
5349
5297
|
method: 'post',
|
|
@@ -5368,7 +5316,7 @@ var deleteHealthFundDocumentTag = function deleteHealthFundDocumentTag(healthFun
|
|
|
5368
5316
|
documentId: documentId,
|
|
5369
5317
|
tagId: tagId
|
|
5370
5318
|
}, opts.hyperMediaEndpoint);
|
|
5371
|
-
return request(_objectSpread$
|
|
5319
|
+
return request(_objectSpread$12({}, opts, {
|
|
5372
5320
|
path: pathHealthFundDocumentTag(healthFundId, documentId, tagId)
|
|
5373
5321
|
}), {
|
|
5374
5322
|
method: 'delete'
|
|
@@ -5389,7 +5337,7 @@ var getBusinessDocuments = function getBusinessDocuments(businessId, query, opts
|
|
|
5389
5337
|
utils_doesParamExist["default"]({
|
|
5390
5338
|
businessId: businessId
|
|
5391
5339
|
}, opts.hyperMediaEndpoint);
|
|
5392
|
-
return request(_objectSpread$
|
|
5340
|
+
return request(_objectSpread$12({}, opts, {
|
|
5393
5341
|
path: pathBusinessDocuments(businessId)
|
|
5394
5342
|
}), {
|
|
5395
5343
|
method: 'get',
|
|
@@ -5411,7 +5359,7 @@ var getBusinessDocument = function getBusinessDocument(businessId, documentId, o
|
|
|
5411
5359
|
utils_doesParamExist["default"]({
|
|
5412
5360
|
businessId: businessId
|
|
5413
5361
|
}, opts.hyperMediaEndpoint);
|
|
5414
|
-
return request(_objectSpread$
|
|
5362
|
+
return request(_objectSpread$12({}, opts, {
|
|
5415
5363
|
path: pathBusinessDocument(businessId, documentId)
|
|
5416
5364
|
}), {
|
|
5417
5365
|
method: 'get'
|
|
@@ -5432,7 +5380,7 @@ var getHealthFundDocuments = function getHealthFundDocuments(healthFundId, query
|
|
|
5432
5380
|
utils_doesParamExist["default"]({
|
|
5433
5381
|
healthFundId: healthFundId
|
|
5434
5382
|
}, opts.hyperMediaEndpoint);
|
|
5435
|
-
return request(_objectSpread$
|
|
5383
|
+
return request(_objectSpread$12({}, opts, {
|
|
5436
5384
|
path: pathHealthFundDocuments(healthFundId)
|
|
5437
5385
|
}), {
|
|
5438
5386
|
method: 'get',
|
|
@@ -5455,7 +5403,7 @@ var getHealthFundDocument = function getHealthFundDocument(healthFundId, documen
|
|
|
5455
5403
|
healthFundId: healthFundId,
|
|
5456
5404
|
documentId: documentId
|
|
5457
5405
|
}, opts.hyperMediaEndpoint);
|
|
5458
|
-
return request(_objectSpread$
|
|
5406
|
+
return request(_objectSpread$12({}, opts, {
|
|
5459
5407
|
path: pathHealthFundDocument(healthFundId, documentId)
|
|
5460
5408
|
}), {
|
|
5461
5409
|
method: 'get'
|
|
@@ -5477,7 +5425,7 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
|
|
|
5477
5425
|
healthFundId: healthFundId,
|
|
5478
5426
|
documentId: documentId
|
|
5479
5427
|
}, opts.hyperMediaEndpoint);
|
|
5480
|
-
return request(_objectSpread$
|
|
5428
|
+
return request(_objectSpread$12({}, opts, {
|
|
5481
5429
|
path: pathHealthFundDocumentPark(healthFundId, documentId)
|
|
5482
5430
|
}), {
|
|
5483
5431
|
method: 'post',
|
|
@@ -5500,7 +5448,7 @@ var getHealthPointRegistrationApplication = function getHealthPointRegistrationA
|
|
|
5500
5448
|
healthFundId: healthFundId,
|
|
5501
5449
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5502
5450
|
}, opts.hyperMediaEndpoint);
|
|
5503
|
-
return request(_objectSpread$
|
|
5451
|
+
return request(_objectSpread$12({}, opts, {
|
|
5504
5452
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5505
5453
|
}), {
|
|
5506
5454
|
method: 'get'
|
|
@@ -5523,7 +5471,7 @@ var updateHealthPointRegistrationApplication = function updateHealthPointRegistr
|
|
|
5523
5471
|
healthFundId: healthFundId,
|
|
5524
5472
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5525
5473
|
}, opts.hyperMediaEndpoint);
|
|
5526
|
-
return request(_objectSpread$
|
|
5474
|
+
return request(_objectSpread$12({}, opts, {
|
|
5527
5475
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5528
5476
|
}), {
|
|
5529
5477
|
method: 'put',
|
|
@@ -5547,7 +5495,7 @@ var activateHealthPointDigitalClaiming = function activateHealthPointDigitalClai
|
|
|
5547
5495
|
healthFundId: healthFundId,
|
|
5548
5496
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5549
5497
|
}, opts.hyperMediaEndpoint);
|
|
5550
|
-
return request(_objectSpread$
|
|
5498
|
+
return request(_objectSpread$12({}, opts, {
|
|
5551
5499
|
path: pathHealthFundHealthPointActivateDigitalClaiming(healthFundId, healthPointRegistrationApplicationId)
|
|
5552
5500
|
}), {
|
|
5553
5501
|
method: 'post',
|
|
@@ -5586,6 +5534,66 @@ var documents = /*#__PURE__*/Object.freeze({
|
|
|
5586
5534
|
activateHealthPointDigitalClaiming: activateHealthPointDigitalClaiming
|
|
5587
5535
|
});
|
|
5588
5536
|
|
|
5537
|
+
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; }
|
|
5538
|
+
|
|
5539
|
+
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; }
|
|
5540
|
+
var pathGetBusinessEmailLogs = function pathGetBusinessEmailLogs(businessId) {
|
|
5541
|
+
return "/businesses/" + businessId + "/emaillogs";
|
|
5542
|
+
};
|
|
5543
|
+
var pathGetEmailLog = function pathGetEmailLog(emailLogId) {
|
|
5544
|
+
return "/emaillogs/" + emailLogId;
|
|
5545
|
+
};
|
|
5546
|
+
/**
|
|
5547
|
+
* Get business email logs
|
|
5548
|
+
* @param {String} businessId - Business ID
|
|
5549
|
+
* @param {Object} query - Query parameters
|
|
5550
|
+
* @param {Object} opts - Additional options
|
|
5551
|
+
*/
|
|
5552
|
+
|
|
5553
|
+
var getBusinessEmailLogs = function getBusinessEmailLogs(businessId, query, opts) {
|
|
5554
|
+
if (opts === void 0) {
|
|
5555
|
+
opts = {};
|
|
5556
|
+
}
|
|
5557
|
+
|
|
5558
|
+
utils_doesParamExist["default"]({
|
|
5559
|
+
businessId: businessId
|
|
5560
|
+
}, opts.hyperMediaEndpoint);
|
|
5561
|
+
return request(_objectSpread$11({}, opts, {
|
|
5562
|
+
path: pathGetBusinessEmailLogs(businessId)
|
|
5563
|
+
}), {
|
|
5564
|
+
method: 'get',
|
|
5565
|
+
params: query
|
|
5566
|
+
});
|
|
5567
|
+
};
|
|
5568
|
+
/**
|
|
5569
|
+
* Get a single business email log
|
|
5570
|
+
* @param {String} emailLogId - Email Log ID
|
|
5571
|
+
* @param {Object} opts - Additional options
|
|
5572
|
+
*/
|
|
5573
|
+
|
|
5574
|
+
var getEmailLog = function getEmailLog(emailLogId, opts) {
|
|
5575
|
+
if (opts === void 0) {
|
|
5576
|
+
opts = {};
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5579
|
+
utils_doesParamExist["default"]({
|
|
5580
|
+
emailLogId: emailLogId
|
|
5581
|
+
}, opts.hyperMediaEndpoint);
|
|
5582
|
+
return request(_objectSpread$11({}, opts, {
|
|
5583
|
+
path: pathGetEmailLog(emailLogId)
|
|
5584
|
+
}), {
|
|
5585
|
+
method: 'get'
|
|
5586
|
+
});
|
|
5587
|
+
};
|
|
5588
|
+
|
|
5589
|
+
var emailLogs = /*#__PURE__*/Object.freeze({
|
|
5590
|
+
__proto__: null,
|
|
5591
|
+
pathGetBusinessEmailLogs: pathGetBusinessEmailLogs,
|
|
5592
|
+
pathGetEmailLog: pathGetEmailLog,
|
|
5593
|
+
getBusinessEmailLogs: getBusinessEmailLogs,
|
|
5594
|
+
getEmailLog: getEmailLog
|
|
5595
|
+
});
|
|
5596
|
+
|
|
5589
5597
|
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; }
|
|
5590
5598
|
|
|
5591
5599
|
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; }
|
|
@@ -22869,6 +22877,7 @@ var sdkClient = {
|
|
|
22869
22877
|
devices: devices,
|
|
22870
22878
|
docAccounts: docAccounts,
|
|
22871
22879
|
documents: documents,
|
|
22880
|
+
emailLogs: emailLogs,
|
|
22872
22881
|
emails: emails,
|
|
22873
22882
|
filterOptions: filterOptions,
|
|
22874
22883
|
formApplicationTemplates: formApplicationTemplates,
|
|
@@ -23581,6 +23590,7 @@ exports.documents = documents;
|
|
|
23581
23590
|
exports.downloadBusinessSettlementExport = downloadBusinessSettlementExport;
|
|
23582
23591
|
exports.emailBusinessOnboardingQuestions = emailBusinessOnboardingQuestions;
|
|
23583
23592
|
exports.emailInvoice = emailInvoice;
|
|
23593
|
+
exports.emailLogs = emailLogs;
|
|
23584
23594
|
exports.emails = emails;
|
|
23585
23595
|
exports.enableAccount = enableAccount;
|
|
23586
23596
|
exports.enableBusiness = enableBusiness;
|
|
@@ -23944,9 +23954,11 @@ exports.pathFunderValuesById = pathFunderValuesById;
|
|
|
23944
23954
|
exports.pathFuture = pathFuture;
|
|
23945
23955
|
exports.pathGetAbr = pathGetAbr;
|
|
23946
23956
|
exports.pathGetAttachmentUrl = pathGetAttachmentUrl;
|
|
23957
|
+
exports.pathGetBusinessEmailLogs = pathGetBusinessEmailLogs;
|
|
23947
23958
|
exports.pathGetBusinessS3SignedUrl = pathGetBusinessS3SignedUrl;
|
|
23948
23959
|
exports.pathGetClaimAttachmentUrl = pathGetClaimAttachmentUrl;
|
|
23949
23960
|
exports.pathGetDraftProgressStatus = pathGetDraftProgressStatus;
|
|
23961
|
+
exports.pathGetEmailLog = pathGetEmailLog;
|
|
23950
23962
|
exports.pathGetHealthFundTransactionExport = pathGetHealthFundTransactionExport;
|
|
23951
23963
|
exports.pathGetLatestApprovedDocument = pathGetLatestApprovedDocument;
|
|
23952
23964
|
exports.pathGetManualFormUploadUrl = pathGetManualFormUploadUrl;
|