@medipass/web-sdk 11.66.0 → 11.66.1-feature-business-email-logs.1
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/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 +14 -0
- package/lib/resources/business-email-log.js +51 -0
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.js +1 -1
- package/lib/resources/claim-items.js +1 -1
- package/lib/resources/devices.js +1 -1
- package/lib/resources/doc-accounts.js +1 -1
- package/lib/resources/documents.js +1 -1
- package/lib/resources/emails.js +1 -1
- package/lib/resources/filter-options.js +1 -1
- package/lib/resources/form-application-templates.js +1 -1
- package/lib/resources/form-applications.js +1 -1
- package/lib/resources/forms.js +1 -1
- package/lib/resources/funder-services.js +1 -1
- package/lib/resources/funder-settings.js +1 -1
- package/lib/resources/funder-values.js +1 -1
- package/lib/resources/funders.js +1 -1
- package/lib/resources/futures.js +1 -1
- package/lib/resources/health-fund-accounts.js +1 -1
- package/lib/resources/health-fund-settings.js +1 -1
- package/lib/resources/healthfunds.js +1 -1
- package/lib/resources/icditems.js +1 -1
- package/lib/resources/invoice-scans.js +1 -1
- package/lib/resources/jhcs.js +1 -1
- package/lib/resources/kyc.js +1 -1
- package/lib/resources/logs.js +1 -1
- package/lib/resources/members.js +1 -1
- package/lib/resources/message-mappings.js +1 -1
- package/lib/resources/minions.js +1 -1
- package/lib/resources/modalities.js +1 -1
- package/lib/resources/notes.js +1 -1
- package/lib/resources/onboarding-applications.js +1 -1
- package/lib/resources/onboarding-requests.js +1 -1
- package/lib/resources/ops.js +1 -1
- package/lib/resources/organisations.js +1 -1
- package/lib/resources/partners.js +1 -1
- package/lib/resources/patients.js +1 -1
- package/lib/resources/payments.js +1 -1
- package/lib/resources/pms.js +1 -1
- package/lib/resources/practice-profiles.js +1 -1
- package/lib/resources/practice-types.js +1 -1
- package/lib/resources/practices.js +1 -1
- package/lib/resources/products.js +1 -1
- package/lib/resources/professional-categories.js +1 -1
- package/lib/resources/provider-number-types.js +1 -1
- package/lib/resources/provider-registration-types.js +1 -1
- package/lib/resources/provider-requests.js +1 -1
- package/lib/resources/provider-types.js +1 -1
- package/lib/resources/qbe.js +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-787263f0.js → staff-963fd100.js} +249 -184
- package/lib/types/business-email-log.d.ts +18 -0
- package/lib/types/business-email-log.js +2 -0
- 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 +3 -3
|
@@ -80,9 +80,9 @@ var staffUtils = /*#__PURE__*/Object.freeze({
|
|
|
80
80
|
get parseProviderRegistrations () { return parseProviderRegistrations; }
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
function ownKeys$
|
|
83
|
+
function ownKeys$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
|
|
|
@@ -4073,7 +4073,7 @@ var createBusiness = function createBusiness(body, opts) {
|
|
|
4073
4073
|
opts = {};
|
|
4074
4074
|
}
|
|
4075
4075
|
|
|
4076
|
-
return request(_objectSpread$
|
|
4076
|
+
return request(_objectSpread$15({}, opts, {
|
|
4077
4077
|
path: PATH__BUSINESSES
|
|
4078
4078
|
}), {
|
|
4079
4079
|
method: 'post',
|
|
@@ -4095,7 +4095,7 @@ var createOrganisationBusiness = function createOrganisationBusiness(organisatio
|
|
|
4095
4095
|
utils_doesParamExist["default"]({
|
|
4096
4096
|
organisationId: organisationId
|
|
4097
4097
|
}, opts.hyperMediaEndpoint);
|
|
4098
|
-
return request(_objectSpread$
|
|
4098
|
+
return request(_objectSpread$15({}, opts, {
|
|
4099
4099
|
path: pathOrganisationBusiness(organisationId)
|
|
4100
4100
|
}), {
|
|
4101
4101
|
method: 'post',
|
|
@@ -4116,7 +4116,7 @@ var deleteBusiness = function deleteBusiness(businessId, opts) {
|
|
|
4116
4116
|
utils_doesParamExist["default"]({
|
|
4117
4117
|
businessId: businessId
|
|
4118
4118
|
}, opts.hyperMediaEndpoint);
|
|
4119
|
-
return request(_objectSpread$
|
|
4119
|
+
return request(_objectSpread$15({}, opts, {
|
|
4120
4120
|
path: pathBusiness$1(businessId)
|
|
4121
4121
|
}), {
|
|
4122
4122
|
method: 'delete'
|
|
@@ -4137,7 +4137,7 @@ var disableBusiness = function disableBusiness(businessId, body, opts) {
|
|
|
4137
4137
|
utils_doesParamExist["default"]({
|
|
4138
4138
|
businessId: businessId
|
|
4139
4139
|
}, opts.hyperMediaEndpoint);
|
|
4140
|
-
return request(_objectSpread$
|
|
4140
|
+
return request(_objectSpread$15({}, opts, {
|
|
4141
4141
|
path: pathDisableBusiness(businessId)
|
|
4142
4142
|
}), {
|
|
4143
4143
|
method: 'post',
|
|
@@ -4159,7 +4159,7 @@ var emailBusinessOnboardingQuestions = function emailBusinessOnboardingQuestions
|
|
|
4159
4159
|
utils_doesParamExist["default"]({
|
|
4160
4160
|
businessId: businessId
|
|
4161
4161
|
}, opts.hyperMediaEndpoint);
|
|
4162
|
-
return request(_objectSpread$
|
|
4162
|
+
return request(_objectSpread$15({}, opts, {
|
|
4163
4163
|
path: pathBusinessOnboardingQuestions(businessId)
|
|
4164
4164
|
}), {
|
|
4165
4165
|
method: 'post',
|
|
@@ -4181,7 +4181,7 @@ var enableBusiness = function enableBusiness(businessId, body, opts) {
|
|
|
4181
4181
|
utils_doesParamExist["default"]({
|
|
4182
4182
|
businessId: businessId
|
|
4183
4183
|
}, opts.hyperMediaEndpoint);
|
|
4184
|
-
return request(_objectSpread$
|
|
4184
|
+
return request(_objectSpread$15({}, opts, {
|
|
4185
4185
|
path: pathEnableBusiness(businessId)
|
|
4186
4186
|
}), {
|
|
4187
4187
|
method: 'post',
|
|
@@ -4207,7 +4207,7 @@ var getBusiness = function getBusiness(businessId, query, opts) {
|
|
|
4207
4207
|
utils_doesParamExist["default"]({
|
|
4208
4208
|
businessId: businessId
|
|
4209
4209
|
}, opts.hyperMediaEndpoint);
|
|
4210
|
-
return request(_objectSpread$
|
|
4210
|
+
return request(_objectSpread$15({}, opts, {
|
|
4211
4211
|
path: pathBusiness$1(businessId)
|
|
4212
4212
|
}), {
|
|
4213
4213
|
method: 'get',
|
|
@@ -4233,7 +4233,7 @@ var getBusinessBillingHistoryRecords = function getBusinessBillingHistoryRecords
|
|
|
4233
4233
|
utils_doesParamExist["default"]({
|
|
4234
4234
|
businessId: businessId
|
|
4235
4235
|
}, opts.hyperMediaEndpoint);
|
|
4236
|
-
return request(_objectSpread$
|
|
4236
|
+
return request(_objectSpread$15({}, opts, {
|
|
4237
4237
|
path: pathGetBusinessBillingHistoryRecords(businessId)
|
|
4238
4238
|
}), {
|
|
4239
4239
|
method: 'get',
|
|
@@ -4261,7 +4261,7 @@ var getBusinessBillingHistoryRecord = function getBusinessBillingHistoryRecord(b
|
|
|
4261
4261
|
businessId: businessId,
|
|
4262
4262
|
billingHistoryId: billingHistoryId
|
|
4263
4263
|
}, opts.hyperMediaEndpoint);
|
|
4264
|
-
return request(_objectSpread$
|
|
4264
|
+
return request(_objectSpread$15({}, opts, {
|
|
4265
4265
|
path: pathGetBusinessBillingHistoryRecord(businessId, billingHistoryId)
|
|
4266
4266
|
}), {
|
|
4267
4267
|
method: 'get',
|
|
@@ -4283,7 +4283,7 @@ var getBusinesses = function getBusinesses(query, opts) {
|
|
|
4283
4283
|
opts = {};
|
|
4284
4284
|
}
|
|
4285
4285
|
|
|
4286
|
-
return request(_objectSpread$
|
|
4286
|
+
return request(_objectSpread$15({}, opts, {
|
|
4287
4287
|
path: PATH__BUSINESSES
|
|
4288
4288
|
}), {
|
|
4289
4289
|
method: 'get',
|
|
@@ -4305,7 +4305,7 @@ var getMyBusinesses = function getMyBusinesses(query, opts) {
|
|
|
4305
4305
|
opts = {};
|
|
4306
4306
|
}
|
|
4307
4307
|
|
|
4308
|
-
return request(_objectSpread$
|
|
4308
|
+
return request(_objectSpread$15({}, opts, {
|
|
4309
4309
|
path: PATH__MY_BUSINESSES
|
|
4310
4310
|
}), {
|
|
4311
4311
|
method: 'get',
|
|
@@ -4327,7 +4327,7 @@ var getBusinessPDFs = function getBusinessPDFs(businessId, body, opts) {
|
|
|
4327
4327
|
utils_doesParamExist["default"]({
|
|
4328
4328
|
businessId: businessId
|
|
4329
4329
|
}, opts.hyperMediaEndpoint);
|
|
4330
|
-
return request(_objectSpread$
|
|
4330
|
+
return request(_objectSpread$15({}, opts, {
|
|
4331
4331
|
path: pathBusiness$1(businessId) + "/pdfs"
|
|
4332
4332
|
}), {
|
|
4333
4333
|
method: 'post',
|
|
@@ -4354,7 +4354,7 @@ var getAccountsBusinesses = function getAccountsBusinesses(accountId, query, opt
|
|
|
4354
4354
|
utils_doesParamExist["default"]({
|
|
4355
4355
|
accountId: accountId
|
|
4356
4356
|
}, opts.hyperMediaEndpoint);
|
|
4357
|
-
return request(_objectSpread$
|
|
4357
|
+
return request(_objectSpread$15({}, opts, {
|
|
4358
4358
|
path: pathAccountsBusinesses(accountId)
|
|
4359
4359
|
}), {
|
|
4360
4360
|
method: 'get',
|
|
@@ -4380,7 +4380,7 @@ var getOrganisationBusinesses = function getOrganisationBusinesses(organisationI
|
|
|
4380
4380
|
utils_doesParamExist["default"]({
|
|
4381
4381
|
organisationId: organisationId
|
|
4382
4382
|
}, opts.hyperMediaEndpoint);
|
|
4383
|
-
return request(_objectSpread$
|
|
4383
|
+
return request(_objectSpread$15({}, opts, {
|
|
4384
4384
|
path: pathOrganisationBusiness(organisationId)
|
|
4385
4385
|
}), {
|
|
4386
4386
|
method: 'get',
|
|
@@ -4402,7 +4402,7 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
|
|
|
4402
4402
|
utils_doesParamExist["default"]({
|
|
4403
4403
|
businessId: businessId
|
|
4404
4404
|
}, opts.hyperMediaEndpoint);
|
|
4405
|
-
return request(_objectSpread$
|
|
4405
|
+
return request(_objectSpread$15({}, opts, {
|
|
4406
4406
|
path: pathBusiness$1(businessId)
|
|
4407
4407
|
}), {
|
|
4408
4408
|
method: 'put',
|
|
@@ -4424,7 +4424,7 @@ var unsuspendBusiness = function unsuspendBusiness(businessId, body, opts) {
|
|
|
4424
4424
|
utils_doesParamExist["default"]({
|
|
4425
4425
|
businessId: businessId
|
|
4426
4426
|
}, opts.hyperMediaEndpoint);
|
|
4427
|
-
return request(_objectSpread$
|
|
4427
|
+
return request(_objectSpread$15({}, opts, {
|
|
4428
4428
|
path: pathUnsuspendBusiness(businessId)
|
|
4429
4429
|
}), {
|
|
4430
4430
|
method: 'post',
|
|
@@ -4446,7 +4446,7 @@ var verifyMedicare$1 = function verifyMedicare(businessId, body, opts) {
|
|
|
4446
4446
|
utils_doesParamExist["default"]({
|
|
4447
4447
|
businessId: businessId
|
|
4448
4448
|
}, opts.hyperMediaEndpoint);
|
|
4449
|
-
return request(_objectSpread$
|
|
4449
|
+
return request(_objectSpread$15({}, opts, {
|
|
4450
4450
|
path: pathVerifyMedicare(businessId)
|
|
4451
4451
|
}), {
|
|
4452
4452
|
method: 'post',
|
|
@@ -4468,7 +4468,7 @@ var oldVerifyDVA = function oldVerifyDVA(businessId, body, opts) {
|
|
|
4468
4468
|
utils_doesParamExist["default"]({
|
|
4469
4469
|
businessId: businessId
|
|
4470
4470
|
}, opts.hyperMediaEndpoint);
|
|
4471
|
-
return request(_objectSpread$
|
|
4471
|
+
return request(_objectSpread$15({}, opts, {
|
|
4472
4472
|
path: oldPathVerifyDVA(businessId)
|
|
4473
4473
|
}), {
|
|
4474
4474
|
method: 'post',
|
|
@@ -4490,7 +4490,7 @@ var verifyDVA = function verifyDVA(businessId, body, opts) {
|
|
|
4490
4490
|
utils_doesParamExist["default"]({
|
|
4491
4491
|
businessId: businessId
|
|
4492
4492
|
}, opts.hyperMediaEndpoint);
|
|
4493
|
-
return request(_objectSpread$
|
|
4493
|
+
return request(_objectSpread$15({}, opts, {
|
|
4494
4494
|
path: pathVerifyDVA(businessId)
|
|
4495
4495
|
}), {
|
|
4496
4496
|
method: 'post',
|
|
@@ -4512,7 +4512,7 @@ var verifyIcare = function verifyIcare(businessId, body, opts) {
|
|
|
4512
4512
|
utils_doesParamExist["default"]({
|
|
4513
4513
|
businessId: businessId
|
|
4514
4514
|
}, opts.hyperMediaEndpoint);
|
|
4515
|
-
return request(_objectSpread$
|
|
4515
|
+
return request(_objectSpread$15({}, opts, {
|
|
4516
4516
|
path: pathVerifyIcare(businessId)
|
|
4517
4517
|
}), {
|
|
4518
4518
|
method: 'post',
|
|
@@ -4538,7 +4538,7 @@ var verifyComcare = function verifyComcare(businessId, staffId, providerSetItemI
|
|
|
4538
4538
|
staffId: staffId,
|
|
4539
4539
|
providerSetItemId: providerSetItemId
|
|
4540
4540
|
}, opts.hyperMediaEndpoint);
|
|
4541
|
-
return request(_objectSpread$
|
|
4541
|
+
return request(_objectSpread$15({}, opts, {
|
|
4542
4542
|
path: pathVerifyComcare(businessId, staffId, providerSetItemId)
|
|
4543
4543
|
}), {
|
|
4544
4544
|
method: 'post',
|
|
@@ -4560,7 +4560,7 @@ var createSupportNote = function createSupportNote(businessId, body, opts) {
|
|
|
4560
4560
|
utils_doesParamExist["default"]({
|
|
4561
4561
|
businessId: businessId
|
|
4562
4562
|
}, opts.hyperMediaEndpoint);
|
|
4563
|
-
return request(_objectSpread$
|
|
4563
|
+
return request(_objectSpread$15({}, opts, {
|
|
4564
4564
|
path: pathCreateSupportNote(businessId)
|
|
4565
4565
|
}), {
|
|
4566
4566
|
method: 'post',
|
|
@@ -4582,7 +4582,7 @@ var getBsbDetails = function getBsbDetails(businessId, query, opts) {
|
|
|
4582
4582
|
utils_doesParamExist["default"]({
|
|
4583
4583
|
businessId: businessId
|
|
4584
4584
|
}, opts.hyperMediaEndpoint);
|
|
4585
|
-
return request(_objectSpread$
|
|
4585
|
+
return request(_objectSpread$15({}, opts, {
|
|
4586
4586
|
path: pathBsbDetails(businessId)
|
|
4587
4587
|
}), {
|
|
4588
4588
|
method: 'get',
|
|
@@ -4604,7 +4604,7 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
|
|
|
4604
4604
|
utils_doesParamExist["default"]({
|
|
4605
4605
|
businessId: businessId
|
|
4606
4606
|
}, opts.hyperMediaEndpoint);
|
|
4607
|
-
return request(_objectSpread$
|
|
4607
|
+
return request(_objectSpread$15({}, opts, {
|
|
4608
4608
|
path: pathBusinessSendEmails(businessId)
|
|
4609
4609
|
}), {
|
|
4610
4610
|
method: 'post',
|
|
@@ -4626,7 +4626,7 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
|
4626
4626
|
utils_doesParamExist["default"]({
|
|
4627
4627
|
businessId: businessId
|
|
4628
4628
|
}, opts.hyperMediaEndpoint);
|
|
4629
|
-
return request(_objectSpread$
|
|
4629
|
+
return request(_objectSpread$15({}, opts, {
|
|
4630
4630
|
path: pathSuspendBusiness(businessId)
|
|
4631
4631
|
}), {
|
|
4632
4632
|
method: 'post',
|
|
@@ -4647,7 +4647,7 @@ var getOrgByHealthFundExists = function getOrgByHealthFundExists(businessId, que
|
|
|
4647
4647
|
utils_doesParamExist["default"]({
|
|
4648
4648
|
businessId: businessId
|
|
4649
4649
|
}, opts.hyperMediaEndpoint);
|
|
4650
|
-
return request(_objectSpread$
|
|
4650
|
+
return request(_objectSpread$15({}, opts, {
|
|
4651
4651
|
path: pathGetOrgByHealthFundExists(businessId)
|
|
4652
4652
|
}), {
|
|
4653
4653
|
method: 'get',
|
|
@@ -4669,7 +4669,7 @@ var submitHealthPointManualOnboarding = function submitHealthPointManualOnboardi
|
|
|
4669
4669
|
utils_doesParamExist["default"]({
|
|
4670
4670
|
businessId: businessId
|
|
4671
4671
|
}, opts.hyperMediaEndpoint);
|
|
4672
|
-
return request(_objectSpread$
|
|
4672
|
+
return request(_objectSpread$15({}, opts, {
|
|
4673
4673
|
path: pathSubmitHealthPointManualOnboarding(businessId)
|
|
4674
4674
|
}), {
|
|
4675
4675
|
method: 'post',
|
|
@@ -4690,7 +4690,7 @@ var suspendBusinessEmail = function suspendBusinessEmail(businessId, opts) {
|
|
|
4690
4690
|
utils_doesParamExist["default"]({
|
|
4691
4691
|
businessId: businessId
|
|
4692
4692
|
}, opts.hyperMediaEndpoint);
|
|
4693
|
-
return request(_objectSpread$
|
|
4693
|
+
return request(_objectSpread$15({}, opts, {
|
|
4694
4694
|
path: pathSuspendBusinessEmail(businessId)
|
|
4695
4695
|
}), {
|
|
4696
4696
|
method: 'post'
|
|
@@ -4729,9 +4729,9 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
4729
4729
|
suspendBusinessEmail: suspendBusinessEmail
|
|
4730
4730
|
});
|
|
4731
4731
|
|
|
4732
|
-
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; }
|
|
4733
4733
|
|
|
4734
|
-
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; }
|
|
4735
4735
|
|
|
4736
4736
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
4737
4737
|
var pathBusinessClaimItems = function pathBusinessClaimItems(businessId) {
|
|
@@ -4777,7 +4777,7 @@ var getBusinessClaimItems = /*#__PURE__*/function () {
|
|
|
4777
4777
|
utils_doesParamExist["default"]({
|
|
4778
4778
|
businessId: businessId
|
|
4779
4779
|
}, opts.hyperMediaEndpoint);
|
|
4780
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4780
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4781
4781
|
path: pathBusinessClaimItems(businessId)
|
|
4782
4782
|
}), {
|
|
4783
4783
|
method: 'get',
|
|
@@ -4822,7 +4822,7 @@ var getBusinessClaimItem = /*#__PURE__*/function () {
|
|
|
4822
4822
|
businessId: businessId,
|
|
4823
4823
|
claimItemId: claimItemId
|
|
4824
4824
|
}, opts.hyperMediaEndpoint);
|
|
4825
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
4825
|
+
return _context2.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4826
4826
|
path: pathBusinessClaimItem(businessId, claimItemId)
|
|
4827
4827
|
}), {
|
|
4828
4828
|
method: 'get',
|
|
@@ -4865,7 +4865,7 @@ var getHealthFundClaimItems = /*#__PURE__*/function () {
|
|
|
4865
4865
|
utils_doesParamExist["default"]({
|
|
4866
4866
|
healthFundId: healthFundId
|
|
4867
4867
|
}, opts.hyperMediaEndpoint);
|
|
4868
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
4868
|
+
return _context3.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4869
4869
|
path: pathHealthFundClaimItems(healthFundId)
|
|
4870
4870
|
}), {
|
|
4871
4871
|
method: 'get',
|
|
@@ -4910,7 +4910,7 @@ var getHealthFundClaimItem = /*#__PURE__*/function () {
|
|
|
4910
4910
|
healthFundId: healthFundId,
|
|
4911
4911
|
claimItemId: claimItemId
|
|
4912
4912
|
}, opts.hyperMediaEndpoint);
|
|
4913
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
4913
|
+
return _context4.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
4914
4914
|
path: pathHealthFundClaimItem(healthFundId, claimItemId)
|
|
4915
4915
|
}), {
|
|
4916
4916
|
method: 'get',
|
|
@@ -4938,9 +4938,9 @@ var claimItems = /*#__PURE__*/Object.freeze({
|
|
|
4938
4938
|
getHealthFundClaimItem: getHealthFundClaimItem
|
|
4939
4939
|
});
|
|
4940
4940
|
|
|
4941
|
-
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; }
|
|
4942
4942
|
|
|
4943
|
-
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; }
|
|
4944
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
|
|
4945
4945
|
|
|
4946
4946
|
var pathDocAccount = function pathDocAccount(docAccountId) {
|
|
@@ -4967,7 +4967,7 @@ var getDocAccounts = /*#__PURE__*/function () {
|
|
|
4967
4967
|
opts = {};
|
|
4968
4968
|
}
|
|
4969
4969
|
|
|
4970
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4970
|
+
return _context.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
4971
4971
|
path: PATH__DOC_ACCOUNTS
|
|
4972
4972
|
}), {
|
|
4973
4973
|
method: 'get',
|
|
@@ -5005,7 +5005,7 @@ var getDocAccount = /*#__PURE__*/function () {
|
|
|
5005
5005
|
utils_doesParamExist["default"]({
|
|
5006
5006
|
partnerId: partnerId
|
|
5007
5007
|
}, opts.hyperMediaEndpoint);
|
|
5008
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
5008
|
+
return _context2.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5009
5009
|
path: pathDocAccount(partnerId)
|
|
5010
5010
|
}), {
|
|
5011
5011
|
method: 'get'
|
|
@@ -5039,7 +5039,7 @@ var createDocAccount = /*#__PURE__*/function () {
|
|
|
5039
5039
|
opts = {};
|
|
5040
5040
|
}
|
|
5041
5041
|
|
|
5042
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
5042
|
+
return _context3.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5043
5043
|
path: PATH__DOC_ACCOUNTS
|
|
5044
5044
|
}), {
|
|
5045
5045
|
method: 'post',
|
|
@@ -5078,7 +5078,7 @@ var updateDocAccount = /*#__PURE__*/function () {
|
|
|
5078
5078
|
utils_doesParamExist["default"]({
|
|
5079
5079
|
docAccountId: docAccountId
|
|
5080
5080
|
}, opts.hyperMediaEndpoint);
|
|
5081
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
5081
|
+
return _context4.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5082
5082
|
path: pathDocAccount(docAccountId)
|
|
5083
5083
|
}), {
|
|
5084
5084
|
method: 'put',
|
|
@@ -5116,7 +5116,7 @@ var deleteDocAccount = /*#__PURE__*/function () {
|
|
|
5116
5116
|
utils_doesParamExist["default"]({
|
|
5117
5117
|
docAccountId: docAccountId
|
|
5118
5118
|
}, opts.hyperMediaEndpoint);
|
|
5119
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
5119
|
+
return _context5.abrupt("return", request(_objectSpread$13({}, opts, {
|
|
5120
5120
|
path: pathDocAccount(docAccountId)
|
|
5121
5121
|
}), {
|
|
5122
5122
|
method: 'delete'
|
|
@@ -5144,9 +5144,9 @@ var docAccounts = /*#__PURE__*/Object.freeze({
|
|
|
5144
5144
|
deleteDocAccount: deleteDocAccount
|
|
5145
5145
|
});
|
|
5146
5146
|
|
|
5147
|
-
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; }
|
|
5148
5148
|
|
|
5149
|
-
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; }
|
|
5150
5150
|
var pathBusinessDocuments = function pathBusinessDocuments(businessId) {
|
|
5151
5151
|
return "/businesses/" + businessId + "/documents";
|
|
5152
5152
|
};
|
|
@@ -5202,7 +5202,7 @@ var approveHealthFundDocument = function approveHealthFundDocument(healthFundId,
|
|
|
5202
5202
|
healthFundId: healthFundId,
|
|
5203
5203
|
documentId: documentId
|
|
5204
5204
|
}, opts.hyperMediaEndpoint);
|
|
5205
|
-
return request(_objectSpread$
|
|
5205
|
+
return request(_objectSpread$12({}, opts, {
|
|
5206
5206
|
path: pathHealthFundDocumentApprove(healthFundId, documentId)
|
|
5207
5207
|
}), {
|
|
5208
5208
|
method: 'post'
|
|
@@ -5224,7 +5224,7 @@ var assignHealthFundDocumentToMe = function assignHealthFundDocumentToMe(healthF
|
|
|
5224
5224
|
healthFundId: healthFundId,
|
|
5225
5225
|
documentId: documentId
|
|
5226
5226
|
}, opts.hyperMediaEndpoint);
|
|
5227
|
-
return request(_objectSpread$
|
|
5227
|
+
return request(_objectSpread$12({}, opts, {
|
|
5228
5228
|
path: pathHealthFundDocumentAssignToMe(healthFundId, documentId)
|
|
5229
5229
|
}), {
|
|
5230
5230
|
method: 'put'
|
|
@@ -5246,7 +5246,7 @@ var cancelBusinessDocument = function cancelBusinessDocument(businessId, documen
|
|
|
5246
5246
|
businessId: businessId,
|
|
5247
5247
|
documentId: documentId
|
|
5248
5248
|
}, opts.hyperMediaEndpoint);
|
|
5249
|
-
return request(_objectSpread$
|
|
5249
|
+
return request(_objectSpread$12({}, opts, {
|
|
5250
5250
|
path: pathBusinessDocumentCancel(businessId, documentId)
|
|
5251
5251
|
}), {
|
|
5252
5252
|
method: 'post'
|
|
@@ -5268,7 +5268,7 @@ var declineHealthFundDocument = function declineHealthFundDocument(healthFundId,
|
|
|
5268
5268
|
healthFundId: healthFundId,
|
|
5269
5269
|
documentId: documentId
|
|
5270
5270
|
}, opts.hyperMediaEndpoint);
|
|
5271
|
-
return request(_objectSpread$
|
|
5271
|
+
return request(_objectSpread$12({}, opts, {
|
|
5272
5272
|
path: pathHealthFundDocumentDecline(healthFundId, documentId)
|
|
5273
5273
|
}), {
|
|
5274
5274
|
method: 'post',
|
|
@@ -5291,7 +5291,7 @@ var ceaseHealthFundDocument = function ceaseHealthFundDocument(healthFundId, doc
|
|
|
5291
5291
|
healthFundId: healthFundId,
|
|
5292
5292
|
documentId: documentId
|
|
5293
5293
|
}, opts.hyperMediaEndpoint);
|
|
5294
|
-
return request(_objectSpread$
|
|
5294
|
+
return request(_objectSpread$12({}, opts, {
|
|
5295
5295
|
path: pathHealthFundDocumentCease(healthFundId, documentId)
|
|
5296
5296
|
}), {
|
|
5297
5297
|
method: 'post',
|
|
@@ -5316,7 +5316,7 @@ var deleteHealthFundDocumentTag = function deleteHealthFundDocumentTag(healthFun
|
|
|
5316
5316
|
documentId: documentId,
|
|
5317
5317
|
tagId: tagId
|
|
5318
5318
|
}, opts.hyperMediaEndpoint);
|
|
5319
|
-
return request(_objectSpread$
|
|
5319
|
+
return request(_objectSpread$12({}, opts, {
|
|
5320
5320
|
path: pathHealthFundDocumentTag(healthFundId, documentId, tagId)
|
|
5321
5321
|
}), {
|
|
5322
5322
|
method: 'delete'
|
|
@@ -5337,7 +5337,7 @@ var getBusinessDocuments = function getBusinessDocuments(businessId, query, opts
|
|
|
5337
5337
|
utils_doesParamExist["default"]({
|
|
5338
5338
|
businessId: businessId
|
|
5339
5339
|
}, opts.hyperMediaEndpoint);
|
|
5340
|
-
return request(_objectSpread$
|
|
5340
|
+
return request(_objectSpread$12({}, opts, {
|
|
5341
5341
|
path: pathBusinessDocuments(businessId)
|
|
5342
5342
|
}), {
|
|
5343
5343
|
method: 'get',
|
|
@@ -5359,7 +5359,7 @@ var getBusinessDocument = function getBusinessDocument(businessId, documentId, o
|
|
|
5359
5359
|
utils_doesParamExist["default"]({
|
|
5360
5360
|
businessId: businessId
|
|
5361
5361
|
}, opts.hyperMediaEndpoint);
|
|
5362
|
-
return request(_objectSpread$
|
|
5362
|
+
return request(_objectSpread$12({}, opts, {
|
|
5363
5363
|
path: pathBusinessDocument(businessId, documentId)
|
|
5364
5364
|
}), {
|
|
5365
5365
|
method: 'get'
|
|
@@ -5380,7 +5380,7 @@ var getHealthFundDocuments = function getHealthFundDocuments(healthFundId, query
|
|
|
5380
5380
|
utils_doesParamExist["default"]({
|
|
5381
5381
|
healthFundId: healthFundId
|
|
5382
5382
|
}, opts.hyperMediaEndpoint);
|
|
5383
|
-
return request(_objectSpread$
|
|
5383
|
+
return request(_objectSpread$12({}, opts, {
|
|
5384
5384
|
path: pathHealthFundDocuments(healthFundId)
|
|
5385
5385
|
}), {
|
|
5386
5386
|
method: 'get',
|
|
@@ -5403,7 +5403,7 @@ var getHealthFundDocument = function getHealthFundDocument(healthFundId, documen
|
|
|
5403
5403
|
healthFundId: healthFundId,
|
|
5404
5404
|
documentId: documentId
|
|
5405
5405
|
}, opts.hyperMediaEndpoint);
|
|
5406
|
-
return request(_objectSpread$
|
|
5406
|
+
return request(_objectSpread$12({}, opts, {
|
|
5407
5407
|
path: pathHealthFundDocument(healthFundId, documentId)
|
|
5408
5408
|
}), {
|
|
5409
5409
|
method: 'get'
|
|
@@ -5425,7 +5425,7 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
|
|
|
5425
5425
|
healthFundId: healthFundId,
|
|
5426
5426
|
documentId: documentId
|
|
5427
5427
|
}, opts.hyperMediaEndpoint);
|
|
5428
|
-
return request(_objectSpread$
|
|
5428
|
+
return request(_objectSpread$12({}, opts, {
|
|
5429
5429
|
path: pathHealthFundDocumentPark(healthFundId, documentId)
|
|
5430
5430
|
}), {
|
|
5431
5431
|
method: 'post',
|
|
@@ -5448,7 +5448,7 @@ var getHealthPointRegistrationApplication = function getHealthPointRegistrationA
|
|
|
5448
5448
|
healthFundId: healthFundId,
|
|
5449
5449
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5450
5450
|
}, opts.hyperMediaEndpoint);
|
|
5451
|
-
return request(_objectSpread$
|
|
5451
|
+
return request(_objectSpread$12({}, opts, {
|
|
5452
5452
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5453
5453
|
}), {
|
|
5454
5454
|
method: 'get'
|
|
@@ -5471,7 +5471,7 @@ var updateHealthPointRegistrationApplication = function updateHealthPointRegistr
|
|
|
5471
5471
|
healthFundId: healthFundId,
|
|
5472
5472
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5473
5473
|
}, opts.hyperMediaEndpoint);
|
|
5474
|
-
return request(_objectSpread$
|
|
5474
|
+
return request(_objectSpread$12({}, opts, {
|
|
5475
5475
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5476
5476
|
}), {
|
|
5477
5477
|
method: 'put',
|
|
@@ -5495,7 +5495,7 @@ var activateHealthPointDigitalClaiming = function activateHealthPointDigitalClai
|
|
|
5495
5495
|
healthFundId: healthFundId,
|
|
5496
5496
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5497
5497
|
}, opts.hyperMediaEndpoint);
|
|
5498
|
-
return request(_objectSpread$
|
|
5498
|
+
return request(_objectSpread$12({}, opts, {
|
|
5499
5499
|
path: pathHealthFundHealthPointActivateDigitalClaiming(healthFundId, healthPointRegistrationApplicationId)
|
|
5500
5500
|
}), {
|
|
5501
5501
|
method: 'post',
|
|
@@ -5534,6 +5534,67 @@ var documents = /*#__PURE__*/Object.freeze({
|
|
|
5534
5534
|
activateHealthPointDigitalClaiming: activateHealthPointDigitalClaiming
|
|
5535
5535
|
});
|
|
5536
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
|
+
|
|
5541
|
+
var pathGetBusinessEmailLogs = function pathGetBusinessEmailLogs(businessId) {
|
|
5542
|
+
return "/businesses/" + businessId + "/emaillogs";
|
|
5543
|
+
};
|
|
5544
|
+
|
|
5545
|
+
var pathGetEmailLog = function pathGetEmailLog(emailLogId) {
|
|
5546
|
+
return "/emaillogs/" + emailLogId;
|
|
5547
|
+
};
|
|
5548
|
+
/**
|
|
5549
|
+
* Get business email logs
|
|
5550
|
+
* @param {String} businessId - Business ID
|
|
5551
|
+
* @param {Object} query - Query parameters
|
|
5552
|
+
* @param {Object} opts - Additional options
|
|
5553
|
+
*/
|
|
5554
|
+
|
|
5555
|
+
|
|
5556
|
+
var getBusinessEmailLogs = function getBusinessEmailLogs(businessId, query, opts) {
|
|
5557
|
+
if (opts === void 0) {
|
|
5558
|
+
opts = {};
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5561
|
+
utils_doesParamExist["default"]({
|
|
5562
|
+
businessId: businessId
|
|
5563
|
+
}, opts.hyperMediaEndpoint);
|
|
5564
|
+
return request(_objectSpread$11({}, opts, {
|
|
5565
|
+
path: pathGetBusinessEmailLogs(businessId)
|
|
5566
|
+
}), {
|
|
5567
|
+
method: 'get',
|
|
5568
|
+
params: query
|
|
5569
|
+
});
|
|
5570
|
+
};
|
|
5571
|
+
/**
|
|
5572
|
+
* Get a single business email log
|
|
5573
|
+
* @param {String} emailLogId - Email Log ID
|
|
5574
|
+
* @param {Object} opts - Additional options
|
|
5575
|
+
*/
|
|
5576
|
+
|
|
5577
|
+
var getEmailLog = function getEmailLog(emailLogId, opts) {
|
|
5578
|
+
if (opts === void 0) {
|
|
5579
|
+
opts = {};
|
|
5580
|
+
}
|
|
5581
|
+
|
|
5582
|
+
utils_doesParamExist["default"]({
|
|
5583
|
+
emailLogId: emailLogId
|
|
5584
|
+
}, opts.hyperMediaEndpoint);
|
|
5585
|
+
return request(_objectSpread$11({}, opts, {
|
|
5586
|
+
path: pathGetEmailLog(emailLogId)
|
|
5587
|
+
}), {
|
|
5588
|
+
method: 'get'
|
|
5589
|
+
});
|
|
5590
|
+
};
|
|
5591
|
+
|
|
5592
|
+
var emailLogs = /*#__PURE__*/Object.freeze({
|
|
5593
|
+
__proto__: null,
|
|
5594
|
+
getBusinessEmailLogs: getBusinessEmailLogs,
|
|
5595
|
+
getEmailLog: getEmailLog
|
|
5596
|
+
});
|
|
5597
|
+
|
|
5537
5598
|
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; }
|
|
5538
5599
|
|
|
5539
5600
|
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; }
|
|
@@ -22817,6 +22878,7 @@ var sdkClient = {
|
|
|
22817
22878
|
devices: devices,
|
|
22818
22879
|
docAccounts: docAccounts,
|
|
22819
22880
|
documents: documents,
|
|
22881
|
+
emailLogs: emailLogs,
|
|
22820
22882
|
emails: emails,
|
|
22821
22883
|
filterOptions: filterOptions,
|
|
22822
22884
|
formApplicationTemplates: formApplicationTemplates,
|
|
@@ -23529,6 +23591,7 @@ exports.documents = documents;
|
|
|
23529
23591
|
exports.downloadBusinessSettlementExport = downloadBusinessSettlementExport;
|
|
23530
23592
|
exports.emailBusinessOnboardingQuestions = emailBusinessOnboardingQuestions;
|
|
23531
23593
|
exports.emailInvoice = emailInvoice;
|
|
23594
|
+
exports.emailLogs = emailLogs;
|
|
23532
23595
|
exports.emails = emails;
|
|
23533
23596
|
exports.enableAccount = enableAccount;
|
|
23534
23597
|
exports.enableBusiness = enableBusiness;
|
|
@@ -23581,6 +23644,7 @@ exports.getBusinessDocument = getBusinessDocument;
|
|
|
23581
23644
|
exports.getBusinessDocuments = getBusinessDocuments;
|
|
23582
23645
|
exports.getBusinessEclipseTransactionPaymentReport = getBusinessEclipseTransactionPaymentReport;
|
|
23583
23646
|
exports.getBusinessEclipseTransactionProcessingReport = getBusinessEclipseTransactionProcessingReport;
|
|
23647
|
+
exports.getBusinessEmailLogs = getBusinessEmailLogs;
|
|
23584
23648
|
exports.getBusinessFilterOptions = getBusinessFilterOptions;
|
|
23585
23649
|
exports.getBusinessForm = getBusinessForm;
|
|
23586
23650
|
exports.getBusinessFormApplication = getBusinessFormApplication;
|
|
@@ -23672,6 +23736,7 @@ exports.getDeviceId = getDeviceId;
|
|
|
23672
23736
|
exports.getDocAccount = getDocAccount;
|
|
23673
23737
|
exports.getDocAccounts = getDocAccounts;
|
|
23674
23738
|
exports.getDraftProgressStatus = getDraftProgressStatus;
|
|
23739
|
+
exports.getEmailLog = getEmailLog;
|
|
23675
23740
|
exports.getFunder = getFunder;
|
|
23676
23741
|
exports.getFunders = getFunders;
|
|
23677
23742
|
exports.getFuture = getFuture;
|