@medipass/web-sdk 11.72.2-feature-csv-export-endpoint.4 → 11.72.2-feature-csv-export-endpoint.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -1
- package/lib/resources/__tests__/s3-files.test.d.ts +1 -0
- package/lib/resources/abr.js +1 -1
- package/lib/resources/accounts.js +1 -1
- package/lib/resources/actions.js +1 -1
- package/lib/resources/api-keys.js +1 -1
- package/lib/resources/applePay.js +1 -1
- package/lib/resources/applications.js +1 -1
- package/lib/resources/attachments.js +1 -1
- package/lib/resources/auth.js +1 -1
- package/lib/resources/blacklist.js +1 -1
- package/lib/resources/bulk-submits.js +1 -1
- package/lib/resources/bulk-uploads.js +1 -1
- package/lib/resources/business-email-log.js +1 -1
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.js +1 -1
- package/lib/resources/claim-items.js +1 -1
- package/lib/resources/devices.js +1 -1
- package/lib/resources/doc-accounts.js +1 -1
- package/lib/resources/documents.js +1 -1
- package/lib/resources/emails.js +1 -1
- package/lib/resources/filter-options.js +1 -1
- package/lib/resources/form-application-templates.js +1 -1
- package/lib/resources/form-applications.js +1 -1
- package/lib/resources/forms.js +1 -1
- package/lib/resources/funder-services.js +1 -1
- package/lib/resources/funder-settings.js +1 -1
- package/lib/resources/funder-values.js +1 -1
- package/lib/resources/funders.js +1 -1
- package/lib/resources/futures.js +1 -1
- package/lib/resources/health-fund-accounts.js +1 -1
- package/lib/resources/health-fund-settings.js +1 -1
- package/lib/resources/healthfunds.js +1 -1
- package/lib/resources/icare.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/s3-files.d.ts +19 -0
- package/lib/resources/s3-files.js +51 -0
- package/lib/resources/self-checkout-sessions.js +1 -1
- package/lib/resources/services.js +1 -1
- package/lib/resources/settlements.d.ts +1 -17
- package/lib/resources/settlements.js +1 -3
- 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/transaction-reports.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-b1730a99.js → staff-74721665.js} +591 -572
- package/lib/types/index.d.ts +1 -1
- package/lib/types/{settlement-export.d.ts → s3-file-export.d.ts} +1 -1
- package/lib/utils/application.js +1 -1
- package/lib/utils/professions.js +1 -1
- package/lib/utils/request.js +1 -1
- package/lib/utils/staff.js +1 -1
- package/package.json +2 -2
- /package/lib/types/{settlement-export.js → s3-file-export.js} +0 -0
|
@@ -79,9 +79,9 @@ var staffUtils = /*#__PURE__*/Object.freeze({
|
|
|
79
79
|
get parseProviderRegistrations () { return parseProviderRegistrations; }
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
function ownKeys$
|
|
82
|
+
function ownKeys$1n(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
83
83
|
|
|
84
|
-
function _objectSpread$
|
|
84
|
+
function _objectSpread$1n(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1n(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1n(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
85
85
|
var DEFAULT_API_NAME = 'core';
|
|
86
86
|
|
|
87
87
|
var getBaseUrl = function getBaseUrl(apiName, requestOpts) {
|
|
@@ -103,7 +103,7 @@ var stripBottleneckOpts = function stripBottleneckOpts(axiosRequestOpts) {
|
|
|
103
103
|
axiosRequestOpts = {};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
var opts = _objectSpread$
|
|
106
|
+
var opts = _objectSpread$1n({}, axiosRequestOpts);
|
|
107
107
|
|
|
108
108
|
if (((_opts$params = opts.params) == null ? void 0 : (_opts$params$searchTe = _opts$params.searchText) == null ? void 0 : _opts$params$searchTe.trim().length) < 3) {
|
|
109
109
|
console.error("Unable to query transactions with a search text fewer than 3 characters. Ignoring search for query " + axiosRequestOpts.params.searchText);
|
|
@@ -131,7 +131,7 @@ var request = /*#__PURE__*/function () {
|
|
|
131
131
|
strippedAxiosRequestOpts = medipassRequestOpts.unrestrictBottleneckOpts ? axiosRequestOpts : module.exports.stripBottleneckOpts(axiosRequestOpts);
|
|
132
132
|
_context.prev = 5;
|
|
133
133
|
_context.next = 8;
|
|
134
|
-
return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread$
|
|
134
|
+
return sdkClient.axios(medipassRequestOpts.hyperMediaEndpoint || "" + baseUrl + version + medipassRequestOpts.path, _objectSpread$1n({}, strippedAxiosRequestOpts, {}, medipassRequestOpts.requestConfig));
|
|
135
135
|
|
|
136
136
|
case 8:
|
|
137
137
|
res = _context.sent;
|
|
@@ -167,9 +167,9 @@ var request = /*#__PURE__*/function () {
|
|
|
167
167
|
};
|
|
168
168
|
}();
|
|
169
169
|
|
|
170
|
-
function ownKeys$
|
|
170
|
+
function ownKeys$1m(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
171
171
|
|
|
172
|
-
function _objectSpread$
|
|
172
|
+
function _objectSpread$1m(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1m(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1m(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
173
173
|
var pathGetAbr = function pathGetAbr() {
|
|
174
174
|
return '/abr/search';
|
|
175
175
|
};
|
|
@@ -188,7 +188,7 @@ var getAbr = /*#__PURE__*/function () {
|
|
|
188
188
|
opts = {};
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
191
|
+
return _context.abrupt("return", request(_objectSpread$1m({}, opts, {
|
|
192
192
|
path: pathGetAbr()
|
|
193
193
|
}), {
|
|
194
194
|
method: 'get',
|
|
@@ -214,9 +214,9 @@ var abr = /*#__PURE__*/Object.freeze({
|
|
|
214
214
|
getAbr: getAbr
|
|
215
215
|
});
|
|
216
216
|
|
|
217
|
-
function ownKeys$
|
|
217
|
+
function ownKeys$1l(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
218
218
|
|
|
219
|
-
function _objectSpread$
|
|
219
|
+
function _objectSpread$1l(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1l(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
220
220
|
var pathPerformMerchantValidation = function pathPerformMerchantValidation() {
|
|
221
221
|
return '/applepay/validatesession';
|
|
222
222
|
};
|
|
@@ -237,7 +237,7 @@ var performMerchantValidation = /*#__PURE__*/function () {
|
|
|
237
237
|
opts = {};
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
240
|
+
return _context.abrupt("return", request(_objectSpread$1l({}, opts, {
|
|
241
241
|
path: pathPerformMerchantValidation()
|
|
242
242
|
}), {
|
|
243
243
|
method: 'post',
|
|
@@ -264,9 +264,9 @@ var applePay = /*#__PURE__*/Object.freeze({
|
|
|
264
264
|
performMerchantValidation: performMerchantValidation
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
function ownKeys$
|
|
267
|
+
function ownKeys$1k(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; }
|
|
268
268
|
|
|
269
|
-
function _objectSpread$
|
|
269
|
+
function _objectSpread$1k(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1k(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
270
270
|
var PATH__ACCOUNTS = '/accounts';
|
|
271
271
|
|
|
272
272
|
var pathAccountsByAccountId = function pathAccountsByAccountId(accountId) {
|
|
@@ -373,7 +373,7 @@ var createAccountSecretKey = /*#__PURE__*/function () {
|
|
|
373
373
|
utils_doesParamExist["default"]({
|
|
374
374
|
accountId: accountId
|
|
375
375
|
}, opts.hyperMediaEndpoint);
|
|
376
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
376
|
+
return _context.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
377
377
|
path: pathAccountSecretKeysByAccountId(accountId)
|
|
378
378
|
}), {
|
|
379
379
|
method: 'post'
|
|
@@ -411,7 +411,7 @@ var createOrganisationAccount = /*#__PURE__*/function () {
|
|
|
411
411
|
utils_doesParamExist["default"]({
|
|
412
412
|
organisationId: organisationId
|
|
413
413
|
}, opts.hyperMediaEndpoint);
|
|
414
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
414
|
+
return _context2.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
415
415
|
path: pathOrganisationAccounts(organisationId)
|
|
416
416
|
}), {
|
|
417
417
|
method: 'post',
|
|
@@ -450,7 +450,7 @@ var createOrganisationSupportAccount = /*#__PURE__*/function () {
|
|
|
450
450
|
utils_doesParamExist["default"]({
|
|
451
451
|
organisationId: organisationId
|
|
452
452
|
}, opts.hyperMediaEndpoint);
|
|
453
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
453
|
+
return _context3.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
454
454
|
path: pathOrganisationSupportAccounts(organisationId)
|
|
455
455
|
}), {
|
|
456
456
|
method: 'post',
|
|
@@ -490,7 +490,7 @@ var deleteAccountSecretKey = /*#__PURE__*/function () {
|
|
|
490
490
|
accountId: accountId,
|
|
491
491
|
secretKey: secretKey
|
|
492
492
|
}, opts.hyperMediaEndpoint);
|
|
493
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
493
|
+
return _context4.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
494
494
|
path: pathAccountSecretKey(accountId, secretKey)
|
|
495
495
|
}), {
|
|
496
496
|
method: 'delete'
|
|
@@ -527,7 +527,7 @@ var deleteAccount = /*#__PURE__*/function () {
|
|
|
527
527
|
utils_doesParamExist["default"]({
|
|
528
528
|
accountId: accountId
|
|
529
529
|
}, opts.hyperMediaEndpoint);
|
|
530
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
530
|
+
return _context5.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
531
531
|
path: pathAccountsByAccountId(accountId)
|
|
532
532
|
}), {
|
|
533
533
|
method: 'delete'
|
|
@@ -564,7 +564,7 @@ var disableAccount = /*#__PURE__*/function () {
|
|
|
564
564
|
utils_doesParamExist["default"]({
|
|
565
565
|
accountId: accountId
|
|
566
566
|
}, opts.hyperMediaEndpoint);
|
|
567
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
567
|
+
return _context6.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
568
568
|
path: pathDisableAccount(accountId)
|
|
569
569
|
}), {
|
|
570
570
|
method: 'put'
|
|
@@ -601,7 +601,7 @@ var enableAccount = /*#__PURE__*/function () {
|
|
|
601
601
|
utils_doesParamExist["default"]({
|
|
602
602
|
accountId: accountId
|
|
603
603
|
}, opts.hyperMediaEndpoint);
|
|
604
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
604
|
+
return _context7.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
605
605
|
path: pathEnableAccount(accountId)
|
|
606
606
|
}), {
|
|
607
607
|
method: 'put'
|
|
@@ -636,7 +636,7 @@ var requestAccountReset = /*#__PURE__*/function () {
|
|
|
636
636
|
opts = {};
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
639
|
+
return _context8.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
640
640
|
path: PATH__REQUEST_ACCOUNT_RESET
|
|
641
641
|
}), {
|
|
642
642
|
method: 'post',
|
|
@@ -684,17 +684,17 @@ var requestPasswordReset = /*#__PURE__*/function () {
|
|
|
684
684
|
|
|
685
685
|
if (email) {
|
|
686
686
|
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
687
|
-
data = _objectSpread$
|
|
687
|
+
data = _objectSpread$1k({}, data, {
|
|
688
688
|
email: email
|
|
689
689
|
});
|
|
690
690
|
} else if (accountId) {
|
|
691
691
|
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
692
|
-
data = _objectSpread$
|
|
692
|
+
data = _objectSpread$1k({}, data, {
|
|
693
693
|
accountId: accountId
|
|
694
694
|
});
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
697
|
+
return _context9.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
698
698
|
path: PATH__REQUEST_PASSWORD_RESET
|
|
699
699
|
}), {
|
|
700
700
|
method: 'post',
|
|
@@ -739,17 +739,17 @@ var requestMobileReset = /*#__PURE__*/function () {
|
|
|
739
739
|
|
|
740
740
|
if (email) {
|
|
741
741
|
// @ts-expect-error TS(2322): Type '{ email: string; accountType: string; }' is ... Remove this comment to see the full error message
|
|
742
|
-
data = _objectSpread$
|
|
742
|
+
data = _objectSpread$1k({}, data, {
|
|
743
743
|
email: email
|
|
744
744
|
});
|
|
745
745
|
} else if (accountId) {
|
|
746
746
|
// @ts-expect-error TS(2322): Type '{ accountId: string; accountType: string; }'... Remove this comment to see the full error message
|
|
747
|
-
data = _objectSpread$
|
|
747
|
+
data = _objectSpread$1k({}, data, {
|
|
748
748
|
accountId: accountId
|
|
749
749
|
});
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
752
|
+
return _context10.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
753
753
|
path: PATH__REQUEST_MOBILE_RESET
|
|
754
754
|
}), {
|
|
755
755
|
method: 'post',
|
|
@@ -784,7 +784,7 @@ var resetAccount = /*#__PURE__*/function () {
|
|
|
784
784
|
opts = {};
|
|
785
785
|
}
|
|
786
786
|
|
|
787
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
787
|
+
return _context11.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
788
788
|
path: PATH__ACCOUNT_RESET
|
|
789
789
|
}), {
|
|
790
790
|
method: 'post',
|
|
@@ -819,7 +819,7 @@ var resetPassword = /*#__PURE__*/function () {
|
|
|
819
819
|
opts = {};
|
|
820
820
|
}
|
|
821
821
|
|
|
822
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
822
|
+
return _context12.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
823
823
|
path: PATH__ACCOUNT_PASSWORD_RESET
|
|
824
824
|
}), {
|
|
825
825
|
method: 'post',
|
|
@@ -854,7 +854,7 @@ var resetMobile = /*#__PURE__*/function () {
|
|
|
854
854
|
opts = {};
|
|
855
855
|
}
|
|
856
856
|
|
|
857
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
857
|
+
return _context13.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
858
858
|
path: PATH__ACCOUNT_MOBILE_RESET
|
|
859
859
|
}), {
|
|
860
860
|
method: 'post',
|
|
@@ -889,7 +889,7 @@ var verifyAccount = /*#__PURE__*/function () {
|
|
|
889
889
|
opts = {};
|
|
890
890
|
}
|
|
891
891
|
|
|
892
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
892
|
+
return _context14.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
893
893
|
path: PATH__ACCOUNT_VERIFY
|
|
894
894
|
}), {
|
|
895
895
|
method: 'post',
|
|
@@ -928,7 +928,7 @@ var getAccounts = /*#__PURE__*/function () {
|
|
|
928
928
|
opts = {};
|
|
929
929
|
}
|
|
930
930
|
|
|
931
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
931
|
+
return _context15.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
932
932
|
path: PATH__ACCOUNTS
|
|
933
933
|
}), {
|
|
934
934
|
method: 'get',
|
|
@@ -968,7 +968,7 @@ var getHealthFundAccount = /*#__PURE__*/function () {
|
|
|
968
968
|
accountId: accountId,
|
|
969
969
|
healthFundId: healthFundId
|
|
970
970
|
}, opts.hyperMediaEndpoint);
|
|
971
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
971
|
+
return _context16.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
972
972
|
path: pathHealthFundAccount(healthFundId, accountId)
|
|
973
973
|
}), {
|
|
974
974
|
method: 'get'
|
|
@@ -1010,7 +1010,7 @@ var getHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
1010
1010
|
utils_doesParamExist["default"]({
|
|
1011
1011
|
healthFundId: healthFundId
|
|
1012
1012
|
}, opts.hyperMediaEndpoint);
|
|
1013
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
1013
|
+
return _context17.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1014
1014
|
path: pathHealthFundAccounts(healthFundId)
|
|
1015
1015
|
}), {
|
|
1016
1016
|
method: 'get',
|
|
@@ -1053,7 +1053,7 @@ var getOrganisationAccounts = /*#__PURE__*/function () {
|
|
|
1053
1053
|
utils_doesParamExist["default"]({
|
|
1054
1054
|
organisationId: organisationId
|
|
1055
1055
|
}, opts.hyperMediaEndpoint);
|
|
1056
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
1056
|
+
return _context18.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1057
1057
|
path: pathOrganisationAccounts(organisationId)
|
|
1058
1058
|
}), {
|
|
1059
1059
|
method: 'get',
|
|
@@ -1093,7 +1093,7 @@ var getAccount = /*#__PURE__*/function () {
|
|
|
1093
1093
|
accountId: accountId
|
|
1094
1094
|
}, opts.hyperMediaEndpoint);
|
|
1095
1095
|
_context19.next = 4;
|
|
1096
|
-
return request(_objectSpread$
|
|
1096
|
+
return request(_objectSpread$1k({}, opts, {
|
|
1097
1097
|
path: pathAccountsByAccountId(accountId)
|
|
1098
1098
|
}), {
|
|
1099
1099
|
method: 'get'
|
|
@@ -1142,7 +1142,7 @@ var getBusinessStaffAccount = /*#__PURE__*/function () {
|
|
|
1142
1142
|
staffId: staffId
|
|
1143
1143
|
}, opts.hyperMediaEndpoint);
|
|
1144
1144
|
_context20.next = 4;
|
|
1145
|
-
return request(_objectSpread$
|
|
1145
|
+
return request(_objectSpread$1k({}, opts, {
|
|
1146
1146
|
path: pathBusinessStaffAccount(businessId, staffId)
|
|
1147
1147
|
}), {
|
|
1148
1148
|
method: 'get'
|
|
@@ -1183,7 +1183,7 @@ var getAccountExists = /*#__PURE__*/function () {
|
|
|
1183
1183
|
opts = {};
|
|
1184
1184
|
}
|
|
1185
1185
|
|
|
1186
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
1186
|
+
return _context21.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1187
1187
|
path: pathAccountExists()
|
|
1188
1188
|
}), {
|
|
1189
1189
|
method: 'get',
|
|
@@ -1221,7 +1221,7 @@ var getAccountRoles = /*#__PURE__*/function () {
|
|
|
1221
1221
|
utils_doesParamExist["default"]({
|
|
1222
1222
|
accountId: accountId
|
|
1223
1223
|
}, opts.hyperMediaEndpoint);
|
|
1224
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
1224
|
+
return _context22.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1225
1225
|
path: pathAccountRolesByAccountId(accountId)
|
|
1226
1226
|
}), {
|
|
1227
1227
|
method: 'get'
|
|
@@ -1258,7 +1258,7 @@ var getAccountSecretKeys = /*#__PURE__*/function () {
|
|
|
1258
1258
|
utils_doesParamExist["default"]({
|
|
1259
1259
|
accountId: accountId
|
|
1260
1260
|
}, opts.hyperMediaEndpoint);
|
|
1261
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
1261
|
+
return _context23.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1262
1262
|
path: pathAccountSecretKeysByAccountId(accountId)
|
|
1263
1263
|
}), {
|
|
1264
1264
|
method: 'get'
|
|
@@ -1300,7 +1300,7 @@ var getAccountTransactions = /*#__PURE__*/function () {
|
|
|
1300
1300
|
utils_doesParamExist["default"]({
|
|
1301
1301
|
accountId: accountId
|
|
1302
1302
|
}, opts.hyperMediaEndpoint);
|
|
1303
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
1303
|
+
return _context24.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1304
1304
|
path: pathAccountTransactions(accountId)
|
|
1305
1305
|
}), {
|
|
1306
1306
|
method: 'get',
|
|
@@ -1339,7 +1339,7 @@ var inviteHealthFundAccount = /*#__PURE__*/function () {
|
|
|
1339
1339
|
utils_doesParamExist["default"]({
|
|
1340
1340
|
healthFundId: healthFundId
|
|
1341
1341
|
}, opts.hyperMediaEndpoint);
|
|
1342
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
1342
|
+
return _context25.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1343
1343
|
path: pathHealthFundAccounts(healthFundId) + "/invites"
|
|
1344
1344
|
}), {
|
|
1345
1345
|
method: 'post',
|
|
@@ -1379,7 +1379,7 @@ var removeHealthFundFromAccount = /*#__PURE__*/function () {
|
|
|
1379
1379
|
accountId: accountId,
|
|
1380
1380
|
healthFundId: healthFundId
|
|
1381
1381
|
}, opts.hyperMediaEndpoint);
|
|
1382
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
1382
|
+
return _context26.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1383
1383
|
path: pathHealthFundAccount(healthFundId, accountId)
|
|
1384
1384
|
}), {
|
|
1385
1385
|
method: 'delete'
|
|
@@ -1416,7 +1416,7 @@ var requestToVerifyAccount = /*#__PURE__*/function () {
|
|
|
1416
1416
|
utils_doesParamExist["default"]({
|
|
1417
1417
|
accountId: accountId
|
|
1418
1418
|
}, opts.hyperMediaEndpoint);
|
|
1419
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
1419
|
+
return _context27.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1420
1420
|
path: pathRequestVerifyAccount(accountId)
|
|
1421
1421
|
}), {
|
|
1422
1422
|
method: 'post'
|
|
@@ -1456,11 +1456,11 @@ var signUp$1 = /*#__PURE__*/function () {
|
|
|
1456
1456
|
email: email,
|
|
1457
1457
|
mobile: mobile
|
|
1458
1458
|
}, opts.hyperMediaEndpoint);
|
|
1459
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
1459
|
+
return _context28.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1460
1460
|
path: PATH__SIGN_UP
|
|
1461
1461
|
}), {
|
|
1462
1462
|
method: 'post',
|
|
1463
|
-
data: _objectSpread$
|
|
1463
|
+
data: _objectSpread$1k({
|
|
1464
1464
|
email: email,
|
|
1465
1465
|
mobile: mobile
|
|
1466
1466
|
}, body)
|
|
@@ -1494,7 +1494,7 @@ var acceptInvite = /*#__PURE__*/function () {
|
|
|
1494
1494
|
opts = {};
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
1497
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
1497
|
+
return _context29.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1498
1498
|
path: PATH__ACCEPT_ACCOUNT_INVITE
|
|
1499
1499
|
}), {
|
|
1500
1500
|
method: 'post',
|
|
@@ -1535,7 +1535,7 @@ var updateAccount = /*#__PURE__*/function () {
|
|
|
1535
1535
|
accountId: accountId
|
|
1536
1536
|
}, opts.hyperMediaEndpoint);
|
|
1537
1537
|
_context30.next = 4;
|
|
1538
|
-
return request(_objectSpread$
|
|
1538
|
+
return request(_objectSpread$1k({}, opts, {
|
|
1539
1539
|
path: pathAccountsByAccountId(accountId)
|
|
1540
1540
|
}), {
|
|
1541
1541
|
method: 'put',
|
|
@@ -1582,7 +1582,7 @@ var updateAccountRoles = /*#__PURE__*/function () {
|
|
|
1582
1582
|
utils_doesParamExist["default"]({
|
|
1583
1583
|
accountId: accountId
|
|
1584
1584
|
}, opts.hyperMediaEndpoint);
|
|
1585
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
1585
|
+
return _context31.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1586
1586
|
path: pathAccountRolesByAccountId(accountId)
|
|
1587
1587
|
}), {
|
|
1588
1588
|
method: 'put',
|
|
@@ -1625,7 +1625,7 @@ var getAccountPractices = /*#__PURE__*/function () {
|
|
|
1625
1625
|
utils_doesParamExist["default"]({
|
|
1626
1626
|
accountId: accountId
|
|
1627
1627
|
}, opts.hyperMediaEndpoint);
|
|
1628
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
1628
|
+
return _context32.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1629
1629
|
path: pathAccountPractices(accountId)
|
|
1630
1630
|
}), {
|
|
1631
1631
|
method: 'get',
|
|
@@ -1660,7 +1660,7 @@ var changePassword = /*#__PURE__*/function () {
|
|
|
1660
1660
|
opts = {};
|
|
1661
1661
|
}
|
|
1662
1662
|
|
|
1663
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
1663
|
+
return _context33.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1664
1664
|
path: pathChangePassword()
|
|
1665
1665
|
}), {
|
|
1666
1666
|
method: 'post',
|
|
@@ -1699,7 +1699,7 @@ var enableTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1699
1699
|
utils_doesParamExist["default"]({
|
|
1700
1700
|
accountId: accountId
|
|
1701
1701
|
}, opts.hyperMediaEndpoint);
|
|
1702
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
1702
|
+
return _context34.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1703
1703
|
path: pathEnableTwoFactorAuthentication(accountId)
|
|
1704
1704
|
}), {
|
|
1705
1705
|
method: 'post',
|
|
@@ -1738,7 +1738,7 @@ var disableTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1738
1738
|
utils_doesParamExist["default"]({
|
|
1739
1739
|
accountId: accountId
|
|
1740
1740
|
}, opts.hyperMediaEndpoint);
|
|
1741
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
1741
|
+
return _context35.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1742
1742
|
path: pathDisableTwoFactorAuthentication(accountId)
|
|
1743
1743
|
}), {
|
|
1744
1744
|
method: 'delete',
|
|
@@ -1777,7 +1777,7 @@ var updateTwoFactorAuthentication = /*#__PURE__*/function () {
|
|
|
1777
1777
|
utils_doesParamExist["default"]({
|
|
1778
1778
|
accountId: accountId
|
|
1779
1779
|
}, opts.hyperMediaEndpoint);
|
|
1780
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
1780
|
+
return _context36.abrupt("return", request(_objectSpread$1k({}, opts, {
|
|
1781
1781
|
path: pathUpdateTwoFactorAuthentication(accountId)
|
|
1782
1782
|
}), {
|
|
1783
1783
|
method: 'put',
|
|
@@ -1837,9 +1837,9 @@ var accounts = /*#__PURE__*/Object.freeze({
|
|
|
1837
1837
|
updateTwoFactorAuthentication: updateTwoFactorAuthentication
|
|
1838
1838
|
});
|
|
1839
1839
|
|
|
1840
|
-
function ownKeys$
|
|
1840
|
+
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; }
|
|
1841
1841
|
|
|
1842
|
-
function _objectSpread$
|
|
1842
|
+
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; }
|
|
1843
1843
|
var PATH__ACTIONS = '/actions'; // @ts-expect-error TS(7006): Parameter 'actionId' implicitly has an 'any' type.
|
|
1844
1844
|
|
|
1845
1845
|
var pathAction = function pathAction(actionId) {
|
|
@@ -1866,7 +1866,7 @@ var getActions = /*#__PURE__*/function () {
|
|
|
1866
1866
|
opts = {};
|
|
1867
1867
|
}
|
|
1868
1868
|
|
|
1869
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
1869
|
+
return _context.abrupt("return", request(_objectSpread$1j({}, opts, {
|
|
1870
1870
|
path: PATH__ACTIONS
|
|
1871
1871
|
}), {
|
|
1872
1872
|
method: 'get',
|
|
@@ -1901,7 +1901,7 @@ var getAction = /*#__PURE__*/function () {
|
|
|
1901
1901
|
opts = {};
|
|
1902
1902
|
}
|
|
1903
1903
|
|
|
1904
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
1904
|
+
return _context2.abrupt("return", request(_objectSpread$1j({}, opts, {
|
|
1905
1905
|
path: pathAction(actionId)
|
|
1906
1906
|
}), {
|
|
1907
1907
|
method: 'get'
|
|
@@ -1926,9 +1926,9 @@ var actions = /*#__PURE__*/Object.freeze({
|
|
|
1926
1926
|
getAction: getAction
|
|
1927
1927
|
});
|
|
1928
1928
|
|
|
1929
|
-
function ownKeys$
|
|
1929
|
+
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; }
|
|
1930
1930
|
|
|
1931
|
-
function _objectSpread$
|
|
1931
|
+
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; }
|
|
1932
1932
|
var pathApiKeysByBusinessId = function pathApiKeysByBusinessId(businessId) {
|
|
1933
1933
|
return "/businesses/" + businessId + "/apikeys";
|
|
1934
1934
|
};
|
|
@@ -1955,7 +1955,7 @@ var createApiKey = /*#__PURE__*/function () {
|
|
|
1955
1955
|
utils_doesParamExist["default"]({
|
|
1956
1956
|
businessId: businessId
|
|
1957
1957
|
}, opts.hyperMediaEndpoint);
|
|
1958
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
1958
|
+
return _context.abrupt("return", request(_objectSpread$1i({}, opts, {
|
|
1959
1959
|
path: pathApiKeysByBusinessId(businessId)
|
|
1960
1960
|
}), {
|
|
1961
1961
|
method: 'post',
|
|
@@ -1994,7 +1994,7 @@ var getBusinessApiKeys = /*#__PURE__*/function () {
|
|
|
1994
1994
|
utils_doesParamExist["default"]({
|
|
1995
1995
|
businessId: businessId
|
|
1996
1996
|
}, opts.hyperMediaEndpoint);
|
|
1997
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
1997
|
+
return _context2.abrupt("return", request(_objectSpread$1i({}, opts, {
|
|
1998
1998
|
path: pathApiKeysByBusinessId(businessId)
|
|
1999
1999
|
}), {
|
|
2000
2000
|
method: 'get',
|
|
@@ -2034,7 +2034,7 @@ var deleteApiKey = /*#__PURE__*/function () {
|
|
|
2034
2034
|
businessId: businessId,
|
|
2035
2035
|
apiKeyId: apiKeyId
|
|
2036
2036
|
}, opts.hyperMediaEndpoint);
|
|
2037
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
2037
|
+
return _context3.abrupt("return", request(_objectSpread$1i({}, opts, {
|
|
2038
2038
|
path: pathApiKeyByApiKeyId(businessId, apiKeyId)
|
|
2039
2039
|
}), {
|
|
2040
2040
|
method: 'delete'
|
|
@@ -2062,9 +2062,9 @@ var apiKeys = /*#__PURE__*/Object.freeze({
|
|
|
2062
2062
|
deleteApiKey: deleteApiKey
|
|
2063
2063
|
});
|
|
2064
2064
|
|
|
2065
|
-
function ownKeys$
|
|
2065
|
+
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; }
|
|
2066
2066
|
|
|
2067
|
-
function _objectSpread$
|
|
2067
|
+
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; }
|
|
2068
2068
|
var pathGetClaimAttachmentUrl = function pathGetClaimAttachmentUrl(businessId, practiceId, staffId) {
|
|
2069
2069
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff/" + staffId + "/attachments/uploadurl";
|
|
2070
2070
|
};
|
|
@@ -2102,7 +2102,7 @@ var getClaimAttachmentUrl = function getClaimAttachmentUrl(businessId, practiceI
|
|
|
2102
2102
|
practiceId: practiceId,
|
|
2103
2103
|
staffId: staffId
|
|
2104
2104
|
}, opts.hyperMediaEndpoint);
|
|
2105
|
-
return request(_objectSpread$
|
|
2105
|
+
return request(_objectSpread$1h({}, opts, {
|
|
2106
2106
|
path: pathGetClaimAttachmentUrl(businessId, practiceId, staffId)
|
|
2107
2107
|
}), {
|
|
2108
2108
|
method: 'get',
|
|
@@ -2128,7 +2128,7 @@ var scanClaimFile = function scanClaimFile(businessId, practiceId, staffId, body
|
|
|
2128
2128
|
practiceId: practiceId,
|
|
2129
2129
|
staffId: staffId
|
|
2130
2130
|
}, opts.hyperMediaEndpoint);
|
|
2131
|
-
return request(_objectSpread$
|
|
2131
|
+
return request(_objectSpread$1h({}, opts, {
|
|
2132
2132
|
path: pathScanClaimFile(businessId, practiceId, staffId)
|
|
2133
2133
|
}), {
|
|
2134
2134
|
method: 'post',
|
|
@@ -2156,7 +2156,7 @@ var getS3SignedUrl = function getS3SignedUrl(businessId, practiceId, staffId, s3
|
|
|
2156
2156
|
staffId: staffId,
|
|
2157
2157
|
s3SignedUrlId: s3SignedUrlId
|
|
2158
2158
|
}, opts.hyperMediaEndpoint);
|
|
2159
|
-
return request(_objectSpread$
|
|
2159
|
+
return request(_objectSpread$1h({}, opts, {
|
|
2160
2160
|
path: pathGetS3SignedUrl(businessId, practiceId, staffId, s3SignedUrlId)
|
|
2161
2161
|
}), {
|
|
2162
2162
|
method: 'get',
|
|
@@ -2178,7 +2178,7 @@ var scanFile = function scanFile(businessId, body, opts) {
|
|
|
2178
2178
|
utils_doesParamExist["default"]({
|
|
2179
2179
|
businessId: businessId
|
|
2180
2180
|
}, opts.hyperMediaEndpoint);
|
|
2181
|
-
return request(_objectSpread$
|
|
2181
|
+
return request(_objectSpread$1h({}, opts, {
|
|
2182
2182
|
path: pathScanFile(businessId)
|
|
2183
2183
|
}), {
|
|
2184
2184
|
method: 'post',
|
|
@@ -2200,7 +2200,7 @@ var getAttachmentUrl = function getAttachmentUrl(businessId, query, opts) {
|
|
|
2200
2200
|
utils_doesParamExist["default"]({
|
|
2201
2201
|
businessId: businessId
|
|
2202
2202
|
}, opts.hyperMediaEndpoint);
|
|
2203
|
-
return request(_objectSpread$
|
|
2203
|
+
return request(_objectSpread$1h({}, opts, {
|
|
2204
2204
|
path: pathGetAttachmentUrl(businessId)
|
|
2205
2205
|
}), {
|
|
2206
2206
|
method: 'get',
|
|
@@ -2224,7 +2224,7 @@ var getBusinessS3SignedUrl = function getBusinessS3SignedUrl(businessId, s3Signe
|
|
|
2224
2224
|
businessId: businessId,
|
|
2225
2225
|
s3SignedUrlId: s3SignedUrlId
|
|
2226
2226
|
}, opts.hyperMediaEndpoint);
|
|
2227
|
-
return request(_objectSpread$
|
|
2227
|
+
return request(_objectSpread$1h({}, opts, {
|
|
2228
2228
|
path: pathGetBusinessS3SignedUrl(businessId, s3SignedUrlId)
|
|
2229
2229
|
}), {
|
|
2230
2230
|
method: 'get',
|
|
@@ -2248,9 +2248,9 @@ var attachments = /*#__PURE__*/Object.freeze({
|
|
|
2248
2248
|
getBusinessS3SignedUrl: getBusinessS3SignedUrl
|
|
2249
2249
|
});
|
|
2250
2250
|
|
|
2251
|
-
function ownKeys$
|
|
2251
|
+
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; }
|
|
2252
2252
|
|
|
2253
|
-
function _objectSpread$
|
|
2253
|
+
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; }
|
|
2254
2254
|
var PATH__MEMBERS = '/members';
|
|
2255
2255
|
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
|
|
2256
2256
|
|
|
@@ -2299,7 +2299,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
2299
2299
|
opts = {};
|
|
2300
2300
|
}
|
|
2301
2301
|
|
|
2302
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
2302
|
+
return _context.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2303
2303
|
path: PATH__MEMBERS + "/checkdupe"
|
|
2304
2304
|
}), {
|
|
2305
2305
|
method: 'post',
|
|
@@ -2335,7 +2335,7 @@ var createAccountMember = /*#__PURE__*/function () {
|
|
|
2335
2335
|
opts = {};
|
|
2336
2336
|
}
|
|
2337
2337
|
|
|
2338
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
2338
|
+
return _context2.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2339
2339
|
path: pathAccountMembers(accountId)
|
|
2340
2340
|
}), {
|
|
2341
2341
|
method: 'post',
|
|
@@ -2374,7 +2374,7 @@ var deleteMember = /*#__PURE__*/function () {
|
|
|
2374
2374
|
utils_doesParamExist["default"]({
|
|
2375
2375
|
memberId: memberId
|
|
2376
2376
|
}, opts.hyperMediaEndpoint);
|
|
2377
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
2377
|
+
return _context3.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2378
2378
|
path: pathMember(memberId)
|
|
2379
2379
|
}), {
|
|
2380
2380
|
method: 'delete'
|
|
@@ -2408,7 +2408,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
2408
2408
|
opts = {};
|
|
2409
2409
|
}
|
|
2410
2410
|
|
|
2411
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
2411
|
+
return _context4.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2412
2412
|
path: PATH__DISCOVER_MEMBERS
|
|
2413
2413
|
}), {
|
|
2414
2414
|
method: 'get',
|
|
@@ -2447,7 +2447,7 @@ var inviteAnyone = /*#__PURE__*/function () {
|
|
|
2447
2447
|
utils_doesParamExist["default"]({
|
|
2448
2448
|
businessId: businessId
|
|
2449
2449
|
}, opts.hyperMediaEndpoint);
|
|
2450
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
2450
|
+
return _context5.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2451
2451
|
path: pathBusinessMembers(businessId) + "/invites"
|
|
2452
2452
|
}), {
|
|
2453
2453
|
method: 'post',
|
|
@@ -2485,7 +2485,7 @@ var inviteMember = /*#__PURE__*/function () {
|
|
|
2485
2485
|
utils_doesParamExist["default"]({
|
|
2486
2486
|
memberId: memberId
|
|
2487
2487
|
}, opts.hyperMediaEndpoint);
|
|
2488
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
2488
|
+
return _context6.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2489
2489
|
path: pathMember(memberId) + "/invites"
|
|
2490
2490
|
}), {
|
|
2491
2491
|
method: 'post'
|
|
@@ -2524,7 +2524,7 @@ var getAccountMembers = /*#__PURE__*/function () {
|
|
|
2524
2524
|
opts = {};
|
|
2525
2525
|
}
|
|
2526
2526
|
|
|
2527
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
2527
|
+
return _context7.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2528
2528
|
path: pathAccountMembers(accountId)
|
|
2529
2529
|
}), {
|
|
2530
2530
|
method: 'get',
|
|
@@ -2563,7 +2563,7 @@ var getMembersForHealthFund = /*#__PURE__*/function () {
|
|
|
2563
2563
|
opts = {};
|
|
2564
2564
|
}
|
|
2565
2565
|
|
|
2566
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
2566
|
+
return _context8.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2567
2567
|
path: pathMembersForHealthFund(healthFundId)
|
|
2568
2568
|
}), {
|
|
2569
2569
|
method: 'get',
|
|
@@ -2599,7 +2599,7 @@ var getHealthFundMemberByMemberId = /*#__PURE__*/function () {
|
|
|
2599
2599
|
opts = {};
|
|
2600
2600
|
}
|
|
2601
2601
|
|
|
2602
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
2602
|
+
return _context9.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2603
2603
|
path: pathHealthFundMemberByMemberId(healthFundId, memberId)
|
|
2604
2604
|
}), {
|
|
2605
2605
|
method: 'get'
|
|
@@ -2641,7 +2641,7 @@ var getBusinessMembers = /*#__PURE__*/function () {
|
|
|
2641
2641
|
utils_doesParamExist["default"]({
|
|
2642
2642
|
businessId: businessId
|
|
2643
2643
|
}, opts.hyperMediaEndpoint);
|
|
2644
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
2644
|
+
return _context10.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2645
2645
|
path: pathBusinessMembers(businessId)
|
|
2646
2646
|
}), {
|
|
2647
2647
|
method: 'get',
|
|
@@ -2680,7 +2680,7 @@ var getBusinessMember = /*#__PURE__*/function () {
|
|
|
2680
2680
|
utils_doesParamExist["default"]({
|
|
2681
2681
|
businessId: businessId
|
|
2682
2682
|
}, opts.hyperMediaEndpoint);
|
|
2683
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
2683
|
+
return _context11.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2684
2684
|
path: pathBusinessMember(businessId, memberId)
|
|
2685
2685
|
}), {
|
|
2686
2686
|
method: 'get'
|
|
@@ -2717,7 +2717,7 @@ var getMembers = /*#__PURE__*/function () {
|
|
|
2717
2717
|
opts = {};
|
|
2718
2718
|
}
|
|
2719
2719
|
|
|
2720
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
2720
|
+
return _context12.abrupt("return", request(_objectSpread$1g({}, opts, {
|
|
2721
2721
|
path: PATH__MEMBERS
|
|
2722
2722
|
}), {
|
|
2723
2723
|
method: 'get',
|
|
@@ -2757,7 +2757,7 @@ var getMember = /*#__PURE__*/function () {
|
|
|
2757
2757
|
memberId: memberId
|
|
2758
2758
|
}, opts.hyperMediaEndpoint);
|
|
2759
2759
|
_context13.next = 4;
|
|
2760
|
-
return request(_objectSpread$
|
|
2760
|
+
return request(_objectSpread$1g({}, opts, {
|
|
2761
2761
|
path: pathMember(memberId)
|
|
2762
2762
|
}), {
|
|
2763
2763
|
method: 'get'
|
|
@@ -2806,7 +2806,7 @@ var updateMember = /*#__PURE__*/function () {
|
|
|
2806
2806
|
memberId: memberId
|
|
2807
2807
|
}, opts.hyperMediaEndpoint);
|
|
2808
2808
|
_context14.next = 4;
|
|
2809
|
-
return request(_objectSpread$
|
|
2809
|
+
return request(_objectSpread$1g({}, opts, {
|
|
2810
2810
|
path: pathMember(memberId)
|
|
2811
2811
|
}), {
|
|
2812
2812
|
method: 'put',
|
|
@@ -2853,9 +2853,9 @@ var members = /*#__PURE__*/Object.freeze({
|
|
|
2853
2853
|
updateMember: updateMember
|
|
2854
2854
|
});
|
|
2855
2855
|
|
|
2856
|
-
function ownKeys$
|
|
2856
|
+
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; }
|
|
2857
2857
|
|
|
2858
|
-
function _objectSpread$
|
|
2858
|
+
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; }
|
|
2859
2859
|
var PATH__DEVICES = '/devices';
|
|
2860
2860
|
var isRegistering = false; // @ts-expect-error TS(7006): Parameter 'deviceId' implicitly has an 'any' type.
|
|
2861
2861
|
|
|
@@ -2894,7 +2894,7 @@ var registerDevice = /*#__PURE__*/function () {
|
|
|
2894
2894
|
_context.prev = 1;
|
|
2895
2895
|
isRegistering = true;
|
|
2896
2896
|
_context.next = 5;
|
|
2897
|
-
return request(_objectSpread$
|
|
2897
|
+
return request(_objectSpread$1f({}, opts, {
|
|
2898
2898
|
path: PATH__DEVICES
|
|
2899
2899
|
}), {
|
|
2900
2900
|
method: 'post',
|
|
@@ -3006,7 +3006,7 @@ var updateDevice = /*#__PURE__*/function () {
|
|
|
3006
3006
|
utils_doesParamExist["default"]({
|
|
3007
3007
|
deviceId: deviceId
|
|
3008
3008
|
}, opts.hyperMediaEndpoint);
|
|
3009
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
3009
|
+
return _context3.abrupt("return", request(_objectSpread$1f({}, opts, {
|
|
3010
3010
|
path: pathDeviceByDeviceId(deviceId)
|
|
3011
3011
|
}), {
|
|
3012
3012
|
method: 'put',
|
|
@@ -3034,9 +3034,9 @@ var devices = /*#__PURE__*/Object.freeze({
|
|
|
3034
3034
|
updateDevice: updateDevice
|
|
3035
3035
|
});
|
|
3036
3036
|
|
|
3037
|
-
function ownKeys$
|
|
3037
|
+
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; }
|
|
3038
3038
|
|
|
3039
|
-
function _objectSpread$
|
|
3039
|
+
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; }
|
|
3040
3040
|
var PATH__AUTH = '/auth';
|
|
3041
3041
|
var PATH__OTK = '/otk';
|
|
3042
3042
|
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
|
|
@@ -3076,7 +3076,7 @@ var setupAccountResources = /*#__PURE__*/function () {
|
|
|
3076
3076
|
case 6:
|
|
3077
3077
|
member = _context.sent;
|
|
3078
3078
|
sdkClient.setMember(member);
|
|
3079
|
-
return _context.abrupt("return", _objectSpread$
|
|
3079
|
+
return _context.abrupt("return", _objectSpread$1e({}, account, {
|
|
3080
3080
|
_member: member
|
|
3081
3081
|
}));
|
|
3082
3082
|
|
|
@@ -3123,7 +3123,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3123
3123
|
};
|
|
3124
3124
|
}
|
|
3125
3125
|
|
|
3126
|
-
data = _objectSpread$
|
|
3126
|
+
data = _objectSpread$1e({
|
|
3127
3127
|
email: email
|
|
3128
3128
|
}, body);
|
|
3129
3129
|
|
|
@@ -3133,7 +3133,7 @@ var login = /*#__PURE__*/function () {
|
|
|
3133
3133
|
}
|
|
3134
3134
|
|
|
3135
3135
|
_context2.next = 6;
|
|
3136
|
-
return request(_objectSpread$
|
|
3136
|
+
return request(_objectSpread$1e({}, opts, {
|
|
3137
3137
|
path: PATH__AUTH,
|
|
3138
3138
|
getFullResponse: true
|
|
3139
3139
|
}), {
|
|
@@ -3260,7 +3260,7 @@ var impersonate = /*#__PURE__*/function () {
|
|
|
3260
3260
|
utils_doesParamExist["default"]({
|
|
3261
3261
|
accountId: accountId
|
|
3262
3262
|
}, opts.hyperMediaEndpoint);
|
|
3263
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
3263
|
+
return _context4.abrupt("return", request(_objectSpread$1e({}, opts, {
|
|
3264
3264
|
getFullResponse: true,
|
|
3265
3265
|
path: pathImpersonateAccount(accountId)
|
|
3266
3266
|
}), {
|
|
@@ -3292,7 +3292,7 @@ var logout = /*#__PURE__*/function () {
|
|
|
3292
3292
|
switch (_context5.prev = _context5.next) {
|
|
3293
3293
|
case 0:
|
|
3294
3294
|
_context5.next = 2;
|
|
3295
|
-
return request(_objectSpread$
|
|
3295
|
+
return request(_objectSpread$1e({}, opts, {
|
|
3296
3296
|
getFullResponse: true,
|
|
3297
3297
|
path: PATH__AUTH
|
|
3298
3298
|
}), {
|
|
@@ -3330,12 +3330,12 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
3330
3330
|
while (1) {
|
|
3331
3331
|
switch (_context6.prev = _context6.next) {
|
|
3332
3332
|
case 0:
|
|
3333
|
-
body = _omitBy__default["default"](_objectSpread$
|
|
3333
|
+
body = _omitBy__default["default"](_objectSpread$1e({
|
|
3334
3334
|
email: email,
|
|
3335
3335
|
accountId: accountId
|
|
3336
3336
|
}, requestBody), _isEmpty__default["default"]);
|
|
3337
3337
|
_context6.next = 3;
|
|
3338
|
-
return request(_objectSpread$
|
|
3338
|
+
return request(_objectSpread$1e({}, opts, {
|
|
3339
3339
|
getFullResponse: true,
|
|
3340
3340
|
path: PATH__OTK
|
|
3341
3341
|
}), {
|
|
@@ -3380,7 +3380,7 @@ var generateAuthy = /*#__PURE__*/function () {
|
|
|
3380
3380
|
accountId: accountId
|
|
3381
3381
|
}, opts.hyperMediaEndpoint);
|
|
3382
3382
|
_context7.next = 4;
|
|
3383
|
-
return request(_objectSpread$
|
|
3383
|
+
return request(_objectSpread$1e({}, opts, {
|
|
3384
3384
|
path: pathAuthy(accountId),
|
|
3385
3385
|
getFullResponse: true
|
|
3386
3386
|
}), {
|
|
@@ -3424,7 +3424,7 @@ var removeAuthy = /*#__PURE__*/function () {
|
|
|
3424
3424
|
accountId: accountId
|
|
3425
3425
|
}, opts.hyperMediaEndpoint);
|
|
3426
3426
|
_context8.next = 4;
|
|
3427
|
-
return request(_objectSpread$
|
|
3427
|
+
return request(_objectSpread$1e({}, opts, {
|
|
3428
3428
|
path: pathAuthy(accountId),
|
|
3429
3429
|
getFullResponse: true
|
|
3430
3430
|
}), {
|
|
@@ -3469,7 +3469,7 @@ var verifyAuthy = /*#__PURE__*/function () {
|
|
|
3469
3469
|
accountId: accountId
|
|
3470
3470
|
}, opts.hyperMediaEndpoint);
|
|
3471
3471
|
_context9.next = 4;
|
|
3472
|
-
return request(_objectSpread$
|
|
3472
|
+
return request(_objectSpread$1e({}, opts, {
|
|
3473
3473
|
path: pathAuthyVerify(accountId),
|
|
3474
3474
|
getFullResponse: true
|
|
3475
3475
|
}), {
|
|
@@ -3518,7 +3518,7 @@ var createShortLivedToken = /*#__PURE__*/function () {
|
|
|
3518
3518
|
}, opts.hyperMediaEndpoint);
|
|
3519
3519
|
sdkClient.setToken("Bearer " + apiKey);
|
|
3520
3520
|
_context10.next = 5;
|
|
3521
|
-
return request(_objectSpread$
|
|
3521
|
+
return request(_objectSpread$1e({}, opts, {
|
|
3522
3522
|
path: PATH__AUTH_TOKEN
|
|
3523
3523
|
}), {
|
|
3524
3524
|
method: 'post',
|
|
@@ -3563,9 +3563,9 @@ var auth = /*#__PURE__*/Object.freeze({
|
|
|
3563
3563
|
createShortLivedToken: createShortLivedToken
|
|
3564
3564
|
});
|
|
3565
3565
|
|
|
3566
|
-
function ownKeys$
|
|
3566
|
+
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; }
|
|
3567
3567
|
|
|
3568
|
-
function _objectSpread$
|
|
3568
|
+
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; }
|
|
3569
3569
|
var PATH__APPLICATIONS = '/applications';
|
|
3570
3570
|
var PATH__SELF_APPLICATION = '/applications/me';
|
|
3571
3571
|
|
|
@@ -3583,7 +3583,7 @@ var getSelfApplication = function getSelfApplication(opts) {
|
|
|
3583
3583
|
opts = {};
|
|
3584
3584
|
}
|
|
3585
3585
|
|
|
3586
|
-
return request(_objectSpread$
|
|
3586
|
+
return request(_objectSpread$1d({}, opts, {
|
|
3587
3587
|
path: PATH__SELF_APPLICATION
|
|
3588
3588
|
}), {
|
|
3589
3589
|
method: 'get'
|
|
@@ -3604,7 +3604,7 @@ var getApplications = function getApplications(query, opts) {
|
|
|
3604
3604
|
opts = {};
|
|
3605
3605
|
}
|
|
3606
3606
|
|
|
3607
|
-
return request(_objectSpread$
|
|
3607
|
+
return request(_objectSpread$1d({}, opts, {
|
|
3608
3608
|
path: PATH__APPLICATIONS
|
|
3609
3609
|
}), {
|
|
3610
3610
|
method: 'get',
|
|
@@ -3625,7 +3625,7 @@ var getApplication = function getApplication(applicationId, opts) {
|
|
|
3625
3625
|
utils_doesParamExist["default"]({
|
|
3626
3626
|
applicationId: applicationId
|
|
3627
3627
|
}, opts.hyperMediaEndpoint);
|
|
3628
|
-
return request(_objectSpread$
|
|
3628
|
+
return request(_objectSpread$1d({}, opts, {
|
|
3629
3629
|
path: pathApplication(applicationId)
|
|
3630
3630
|
}), {
|
|
3631
3631
|
method: 'get'
|
|
@@ -3646,7 +3646,7 @@ var updateApplication = function updateApplication(applicationId, body, opts) {
|
|
|
3646
3646
|
utils_doesParamExist["default"]({
|
|
3647
3647
|
applicationId: applicationId
|
|
3648
3648
|
}, opts.hyperMediaEndpoint);
|
|
3649
|
-
return request(_objectSpread$
|
|
3649
|
+
return request(_objectSpread$1d({}, opts, {
|
|
3650
3650
|
path: pathApplication(applicationId)
|
|
3651
3651
|
}), {
|
|
3652
3652
|
method: 'put',
|
|
@@ -3664,7 +3664,7 @@ var createApplication = function createApplication(body, opts) {
|
|
|
3664
3664
|
opts = {};
|
|
3665
3665
|
}
|
|
3666
3666
|
|
|
3667
|
-
return request(_objectSpread$
|
|
3667
|
+
return request(_objectSpread$1d({}, opts, {
|
|
3668
3668
|
path: PATH__APPLICATIONS
|
|
3669
3669
|
}), {
|
|
3670
3670
|
method: 'post',
|
|
@@ -3681,9 +3681,9 @@ var applications = /*#__PURE__*/Object.freeze({
|
|
|
3681
3681
|
createApplication: createApplication
|
|
3682
3682
|
});
|
|
3683
3683
|
|
|
3684
|
-
function ownKeys$
|
|
3684
|
+
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; }
|
|
3685
3685
|
|
|
3686
|
-
function _objectSpread$
|
|
3686
|
+
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; }
|
|
3687
3687
|
var PATH_BLACKLIST_BANK_ACCOUNT = "/blacklistedbankaccounts";
|
|
3688
3688
|
|
|
3689
3689
|
/**
|
|
@@ -3701,7 +3701,7 @@ var createBlacklistedBankAccount = /*#__PURE__*/function () {
|
|
|
3701
3701
|
opts = {};
|
|
3702
3702
|
}
|
|
3703
3703
|
|
|
3704
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3704
|
+
return _context.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
3705
3705
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3706
3706
|
}), {
|
|
3707
3707
|
method: 'post',
|
|
@@ -3736,7 +3736,7 @@ var getBlacklistedBankAccounts = /*#__PURE__*/function () {
|
|
|
3736
3736
|
opts = {};
|
|
3737
3737
|
}
|
|
3738
3738
|
|
|
3739
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3739
|
+
return _context2.abrupt("return", request(_objectSpread$1c({}, opts, {
|
|
3740
3740
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3741
3741
|
}), {
|
|
3742
3742
|
method: 'get',
|
|
@@ -3762,9 +3762,9 @@ var blacklist = /*#__PURE__*/Object.freeze({
|
|
|
3762
3762
|
getBlacklistedBankAccounts: getBlacklistedBankAccounts
|
|
3763
3763
|
});
|
|
3764
3764
|
|
|
3765
|
-
function ownKeys$
|
|
3765
|
+
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; }
|
|
3766
3766
|
|
|
3767
|
-
function _objectSpread$
|
|
3767
|
+
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; }
|
|
3768
3768
|
var pathBusinessBulkUploads = function pathBusinessBulkUploads(businessId) {
|
|
3769
3769
|
return "/businesses/" + businessId + "/bulkuploads";
|
|
3770
3770
|
};
|
|
@@ -3789,7 +3789,7 @@ var createBulkUpload = function createBulkUpload(businessId, body, opts) {
|
|
|
3789
3789
|
utils_doesParamExist["default"]({
|
|
3790
3790
|
businessId: businessId
|
|
3791
3791
|
});
|
|
3792
|
-
return request(_objectSpread$
|
|
3792
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3793
3793
|
path: pathBusinessBulkUploads(businessId)
|
|
3794
3794
|
}), {
|
|
3795
3795
|
method: 'post',
|
|
@@ -3813,7 +3813,7 @@ var getBulkUpload = function getBulkUpload(businessId, bulkUploadId, opts) {
|
|
|
3813
3813
|
businessId: businessId,
|
|
3814
3814
|
bulkUploadId: bulkUploadId
|
|
3815
3815
|
});
|
|
3816
|
-
return request(_objectSpread$
|
|
3816
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3817
3817
|
path: pathBusinessBulkUpload(businessId, bulkUploadId)
|
|
3818
3818
|
}), {
|
|
3819
3819
|
method: 'get'
|
|
@@ -3834,7 +3834,7 @@ var getBulkUploadUrl = function getBulkUploadUrl(businessId, query, opts) {
|
|
|
3834
3834
|
utils_doesParamExist["default"]({
|
|
3835
3835
|
businessId: businessId
|
|
3836
3836
|
});
|
|
3837
|
-
return request(_objectSpread$
|
|
3837
|
+
return request(_objectSpread$1b({}, opts, {
|
|
3838
3838
|
path: pathBusinessBulkUploadUrl(businessId)
|
|
3839
3839
|
}), {
|
|
3840
3840
|
method: 'get',
|
|
@@ -3852,9 +3852,9 @@ var bulkUploads = /*#__PURE__*/Object.freeze({
|
|
|
3852
3852
|
getBulkUploadUrl: getBulkUploadUrl
|
|
3853
3853
|
});
|
|
3854
3854
|
|
|
3855
|
-
function ownKeys$
|
|
3855
|
+
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; }
|
|
3856
3856
|
|
|
3857
|
-
function _objectSpread$
|
|
3857
|
+
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; }
|
|
3858
3858
|
var pathSubmitDraftInvoices = function pathSubmitDraftInvoices(businessId) {
|
|
3859
3859
|
return "/businesses/" + businessId + "/bulksubmits";
|
|
3860
3860
|
};
|
|
@@ -3881,7 +3881,7 @@ var submitDraftInvoices = /*#__PURE__*/function () {
|
|
|
3881
3881
|
utils_doesParamExist["default"]({
|
|
3882
3882
|
businessId: businessId
|
|
3883
3883
|
}, opts.hyperMediaEndpoint);
|
|
3884
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3884
|
+
return _context.abrupt("return", request(_objectSpread$1a({}, opts, {
|
|
3885
3885
|
path: pathSubmitDraftInvoices(businessId)
|
|
3886
3886
|
}), {
|
|
3887
3887
|
method: 'post',
|
|
@@ -3921,7 +3921,7 @@ var getDraftProgressStatus = /*#__PURE__*/function () {
|
|
|
3921
3921
|
businessId: businessId,
|
|
3922
3922
|
bulkSubmitId: bulkSubmitId
|
|
3923
3923
|
}, opts.hyperMediaEndpoint);
|
|
3924
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3924
|
+
return _context2.abrupt("return", request(_objectSpread$1a({}, opts, {
|
|
3925
3925
|
path: pathGetDraftProgressStatus(businessId, bulkSubmitId)
|
|
3926
3926
|
}), {
|
|
3927
3927
|
method: 'get',
|
|
@@ -3949,9 +3949,9 @@ var bulkSubmits = /*#__PURE__*/Object.freeze({
|
|
|
3949
3949
|
getDraftProgressStatus: getDraftProgressStatus
|
|
3950
3950
|
});
|
|
3951
3951
|
|
|
3952
|
-
function ownKeys$
|
|
3952
|
+
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; }
|
|
3953
3953
|
|
|
3954
|
-
function _objectSpread$
|
|
3954
|
+
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; }
|
|
3955
3955
|
var pathLinkBusinessProfile = function pathLinkBusinessProfile(businessProfileId) {
|
|
3956
3956
|
return "/businessprofiles/" + businessProfileId + "/link";
|
|
3957
3957
|
};
|
|
@@ -3969,7 +3969,7 @@ var getOrganisationBusinessProfiles = function getOrganisationBusinessProfiles(o
|
|
|
3969
3969
|
utils_doesParamExist["default"]({
|
|
3970
3970
|
organisationId: organisationId
|
|
3971
3971
|
}, opts.hyperMediaEndpoint);
|
|
3972
|
-
return request(_objectSpread$
|
|
3972
|
+
return request(_objectSpread$19({}, opts, {
|
|
3973
3973
|
path: pathOrganisationBusinessProfiles(organisationId)
|
|
3974
3974
|
}), {
|
|
3975
3975
|
method: 'get',
|
|
@@ -3988,7 +3988,7 @@ var linkBusinessProfile = function linkBusinessProfile(businessProfileId, busine
|
|
|
3988
3988
|
var body = {
|
|
3989
3989
|
businessId: businessId
|
|
3990
3990
|
};
|
|
3991
|
-
return request(_objectSpread$
|
|
3991
|
+
return request(_objectSpread$19({}, opts, {
|
|
3992
3992
|
path: pathLinkBusinessProfile(businessProfileId)
|
|
3993
3993
|
}), {
|
|
3994
3994
|
method: 'put',
|
|
@@ -4003,7 +4003,7 @@ var unlinkBusinessProfile = function unlinkBusinessProfile(businessProfileId, op
|
|
|
4003
4003
|
utils_doesParamExist["default"]({
|
|
4004
4004
|
businessProfileId: businessProfileId
|
|
4005
4005
|
}, opts.hyperMediaEndpoint);
|
|
4006
|
-
return request(_objectSpread$
|
|
4006
|
+
return request(_objectSpread$19({}, opts, {
|
|
4007
4007
|
path: pathUnlinkBusinessProfile(businessProfileId)
|
|
4008
4008
|
}), {
|
|
4009
4009
|
method: 'put'
|
|
@@ -4020,9 +4020,9 @@ var businessProfiles = /*#__PURE__*/Object.freeze({
|
|
|
4020
4020
|
unlinkBusinessProfile: unlinkBusinessProfile
|
|
4021
4021
|
});
|
|
4022
4022
|
|
|
4023
|
-
function ownKeys$
|
|
4023
|
+
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; }
|
|
4024
4024
|
|
|
4025
|
-
function _objectSpread$
|
|
4025
|
+
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; }
|
|
4026
4026
|
var PATH__BUSINESSES = '/businesses';
|
|
4027
4027
|
var PATH__MY_BUSINESSES = '/businesses/me';
|
|
4028
4028
|
|
|
@@ -4122,7 +4122,7 @@ var createBusiness = function createBusiness(body, opts) {
|
|
|
4122
4122
|
opts = {};
|
|
4123
4123
|
}
|
|
4124
4124
|
|
|
4125
|
-
return request(_objectSpread$
|
|
4125
|
+
return request(_objectSpread$18({}, opts, {
|
|
4126
4126
|
path: PATH__BUSINESSES
|
|
4127
4127
|
}), {
|
|
4128
4128
|
method: 'post',
|
|
@@ -4144,7 +4144,7 @@ var createOrganisationBusiness = function createOrganisationBusiness(organisatio
|
|
|
4144
4144
|
utils_doesParamExist["default"]({
|
|
4145
4145
|
organisationId: organisationId
|
|
4146
4146
|
}, opts.hyperMediaEndpoint);
|
|
4147
|
-
return request(_objectSpread$
|
|
4147
|
+
return request(_objectSpread$18({}, opts, {
|
|
4148
4148
|
path: pathOrganisationBusiness(organisationId)
|
|
4149
4149
|
}), {
|
|
4150
4150
|
method: 'post',
|
|
@@ -4165,7 +4165,7 @@ var deleteBusiness = function deleteBusiness(businessId, opts) {
|
|
|
4165
4165
|
utils_doesParamExist["default"]({
|
|
4166
4166
|
businessId: businessId
|
|
4167
4167
|
}, opts.hyperMediaEndpoint);
|
|
4168
|
-
return request(_objectSpread$
|
|
4168
|
+
return request(_objectSpread$18({}, opts, {
|
|
4169
4169
|
path: pathBusiness$1(businessId)
|
|
4170
4170
|
}), {
|
|
4171
4171
|
method: 'delete'
|
|
@@ -4186,7 +4186,7 @@ var disableBusiness = function disableBusiness(businessId, body, opts) {
|
|
|
4186
4186
|
utils_doesParamExist["default"]({
|
|
4187
4187
|
businessId: businessId
|
|
4188
4188
|
}, opts.hyperMediaEndpoint);
|
|
4189
|
-
return request(_objectSpread$
|
|
4189
|
+
return request(_objectSpread$18({}, opts, {
|
|
4190
4190
|
path: pathDisableBusiness(businessId)
|
|
4191
4191
|
}), {
|
|
4192
4192
|
method: 'post',
|
|
@@ -4208,7 +4208,7 @@ var emailBusinessOnboardingQuestions = function emailBusinessOnboardingQuestions
|
|
|
4208
4208
|
utils_doesParamExist["default"]({
|
|
4209
4209
|
businessId: businessId
|
|
4210
4210
|
}, opts.hyperMediaEndpoint);
|
|
4211
|
-
return request(_objectSpread$
|
|
4211
|
+
return request(_objectSpread$18({}, opts, {
|
|
4212
4212
|
path: pathBusinessOnboardingQuestions(businessId)
|
|
4213
4213
|
}), {
|
|
4214
4214
|
method: 'post',
|
|
@@ -4230,7 +4230,7 @@ var enableBusiness = function enableBusiness(businessId, body, opts) {
|
|
|
4230
4230
|
utils_doesParamExist["default"]({
|
|
4231
4231
|
businessId: businessId
|
|
4232
4232
|
}, opts.hyperMediaEndpoint);
|
|
4233
|
-
return request(_objectSpread$
|
|
4233
|
+
return request(_objectSpread$18({}, opts, {
|
|
4234
4234
|
path: pathEnableBusiness(businessId)
|
|
4235
4235
|
}), {
|
|
4236
4236
|
method: 'post',
|
|
@@ -4256,7 +4256,7 @@ var getBusiness = function getBusiness(businessId, query, opts) {
|
|
|
4256
4256
|
utils_doesParamExist["default"]({
|
|
4257
4257
|
businessId: businessId
|
|
4258
4258
|
}, opts.hyperMediaEndpoint);
|
|
4259
|
-
return request(_objectSpread$
|
|
4259
|
+
return request(_objectSpread$18({}, opts, {
|
|
4260
4260
|
path: pathBusiness$1(businessId)
|
|
4261
4261
|
}), {
|
|
4262
4262
|
method: 'get',
|
|
@@ -4282,7 +4282,7 @@ var getBusinessBillingHistoryRecords = function getBusinessBillingHistoryRecords
|
|
|
4282
4282
|
utils_doesParamExist["default"]({
|
|
4283
4283
|
businessId: businessId
|
|
4284
4284
|
}, opts.hyperMediaEndpoint);
|
|
4285
|
-
return request(_objectSpread$
|
|
4285
|
+
return request(_objectSpread$18({}, opts, {
|
|
4286
4286
|
path: pathGetBusinessBillingHistoryRecords(businessId)
|
|
4287
4287
|
}), {
|
|
4288
4288
|
method: 'get',
|
|
@@ -4310,7 +4310,7 @@ var getBusinessBillingHistoryRecord = function getBusinessBillingHistoryRecord(b
|
|
|
4310
4310
|
businessId: businessId,
|
|
4311
4311
|
billingHistoryId: billingHistoryId
|
|
4312
4312
|
}, opts.hyperMediaEndpoint);
|
|
4313
|
-
return request(_objectSpread$
|
|
4313
|
+
return request(_objectSpread$18({}, opts, {
|
|
4314
4314
|
path: pathGetBusinessBillingHistoryRecord(businessId, billingHistoryId)
|
|
4315
4315
|
}), {
|
|
4316
4316
|
method: 'get',
|
|
@@ -4332,7 +4332,7 @@ var getBusinesses = function getBusinesses(query, opts) {
|
|
|
4332
4332
|
opts = {};
|
|
4333
4333
|
}
|
|
4334
4334
|
|
|
4335
|
-
return request(_objectSpread$
|
|
4335
|
+
return request(_objectSpread$18({}, opts, {
|
|
4336
4336
|
path: PATH__BUSINESSES
|
|
4337
4337
|
}), {
|
|
4338
4338
|
method: 'get',
|
|
@@ -4354,7 +4354,7 @@ var getMyBusinesses = function getMyBusinesses(query, opts) {
|
|
|
4354
4354
|
opts = {};
|
|
4355
4355
|
}
|
|
4356
4356
|
|
|
4357
|
-
return request(_objectSpread$
|
|
4357
|
+
return request(_objectSpread$18({}, opts, {
|
|
4358
4358
|
path: PATH__MY_BUSINESSES
|
|
4359
4359
|
}), {
|
|
4360
4360
|
method: 'get',
|
|
@@ -4376,7 +4376,7 @@ var getBusinessPDFs = function getBusinessPDFs(businessId, body, opts) {
|
|
|
4376
4376
|
utils_doesParamExist["default"]({
|
|
4377
4377
|
businessId: businessId
|
|
4378
4378
|
}, opts.hyperMediaEndpoint);
|
|
4379
|
-
return request(_objectSpread$
|
|
4379
|
+
return request(_objectSpread$18({}, opts, {
|
|
4380
4380
|
path: pathBusiness$1(businessId) + "/pdfs"
|
|
4381
4381
|
}), {
|
|
4382
4382
|
method: 'post',
|
|
@@ -4403,7 +4403,7 @@ var getAccountsBusinesses = function getAccountsBusinesses(accountId, query, opt
|
|
|
4403
4403
|
utils_doesParamExist["default"]({
|
|
4404
4404
|
accountId: accountId
|
|
4405
4405
|
}, opts.hyperMediaEndpoint);
|
|
4406
|
-
return request(_objectSpread$
|
|
4406
|
+
return request(_objectSpread$18({}, opts, {
|
|
4407
4407
|
path: pathAccountsBusinesses(accountId)
|
|
4408
4408
|
}), {
|
|
4409
4409
|
method: 'get',
|
|
@@ -4429,7 +4429,7 @@ var getOrganisationBusinesses = function getOrganisationBusinesses(organisationI
|
|
|
4429
4429
|
utils_doesParamExist["default"]({
|
|
4430
4430
|
organisationId: organisationId
|
|
4431
4431
|
}, opts.hyperMediaEndpoint);
|
|
4432
|
-
return request(_objectSpread$
|
|
4432
|
+
return request(_objectSpread$18({}, opts, {
|
|
4433
4433
|
path: pathOrganisationBusiness(organisationId)
|
|
4434
4434
|
}), {
|
|
4435
4435
|
method: 'get',
|
|
@@ -4451,7 +4451,7 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
|
|
|
4451
4451
|
utils_doesParamExist["default"]({
|
|
4452
4452
|
businessId: businessId
|
|
4453
4453
|
}, opts.hyperMediaEndpoint);
|
|
4454
|
-
return request(_objectSpread$
|
|
4454
|
+
return request(_objectSpread$18({}, opts, {
|
|
4455
4455
|
path: pathBusiness$1(businessId)
|
|
4456
4456
|
}), {
|
|
4457
4457
|
method: 'put',
|
|
@@ -4473,7 +4473,7 @@ var unsuspendBusiness = function unsuspendBusiness(businessId, body, opts) {
|
|
|
4473
4473
|
utils_doesParamExist["default"]({
|
|
4474
4474
|
businessId: businessId
|
|
4475
4475
|
}, opts.hyperMediaEndpoint);
|
|
4476
|
-
return request(_objectSpread$
|
|
4476
|
+
return request(_objectSpread$18({}, opts, {
|
|
4477
4477
|
path: pathUnsuspendBusiness(businessId)
|
|
4478
4478
|
}), {
|
|
4479
4479
|
method: 'post',
|
|
@@ -4495,7 +4495,7 @@ var verifyMedicare$1 = function verifyMedicare(businessId, body, opts) {
|
|
|
4495
4495
|
utils_doesParamExist["default"]({
|
|
4496
4496
|
businessId: businessId
|
|
4497
4497
|
}, opts.hyperMediaEndpoint);
|
|
4498
|
-
return request(_objectSpread$
|
|
4498
|
+
return request(_objectSpread$18({}, opts, {
|
|
4499
4499
|
path: pathVerifyMedicare(businessId)
|
|
4500
4500
|
}), {
|
|
4501
4501
|
method: 'post',
|
|
@@ -4517,7 +4517,7 @@ var oldVerifyDVA = function oldVerifyDVA(businessId, body, opts) {
|
|
|
4517
4517
|
utils_doesParamExist["default"]({
|
|
4518
4518
|
businessId: businessId
|
|
4519
4519
|
}, opts.hyperMediaEndpoint);
|
|
4520
|
-
return request(_objectSpread$
|
|
4520
|
+
return request(_objectSpread$18({}, opts, {
|
|
4521
4521
|
path: oldPathVerifyDVA(businessId)
|
|
4522
4522
|
}), {
|
|
4523
4523
|
method: 'post',
|
|
@@ -4539,7 +4539,7 @@ var verifyDVA = function verifyDVA(businessId, body, opts) {
|
|
|
4539
4539
|
utils_doesParamExist["default"]({
|
|
4540
4540
|
businessId: businessId
|
|
4541
4541
|
}, opts.hyperMediaEndpoint);
|
|
4542
|
-
return request(_objectSpread$
|
|
4542
|
+
return request(_objectSpread$18({}, opts, {
|
|
4543
4543
|
path: pathVerifyDVA(businessId)
|
|
4544
4544
|
}), {
|
|
4545
4545
|
method: 'post',
|
|
@@ -4561,7 +4561,7 @@ var verifyIcare = function verifyIcare(businessId, body, opts) {
|
|
|
4561
4561
|
utils_doesParamExist["default"]({
|
|
4562
4562
|
businessId: businessId
|
|
4563
4563
|
}, opts.hyperMediaEndpoint);
|
|
4564
|
-
return request(_objectSpread$
|
|
4564
|
+
return request(_objectSpread$18({}, opts, {
|
|
4565
4565
|
path: pathVerifyIcare(businessId)
|
|
4566
4566
|
}), {
|
|
4567
4567
|
method: 'post',
|
|
@@ -4587,7 +4587,7 @@ var verifyComcare = function verifyComcare(businessId, staffId, providerSetItemI
|
|
|
4587
4587
|
staffId: staffId,
|
|
4588
4588
|
providerSetItemId: providerSetItemId
|
|
4589
4589
|
}, opts.hyperMediaEndpoint);
|
|
4590
|
-
return request(_objectSpread$
|
|
4590
|
+
return request(_objectSpread$18({}, opts, {
|
|
4591
4591
|
path: pathVerifyComcare(businessId, staffId, providerSetItemId)
|
|
4592
4592
|
}), {
|
|
4593
4593
|
method: 'post',
|
|
@@ -4609,7 +4609,7 @@ var createSupportNote = function createSupportNote(businessId, body, opts) {
|
|
|
4609
4609
|
utils_doesParamExist["default"]({
|
|
4610
4610
|
businessId: businessId
|
|
4611
4611
|
}, opts.hyperMediaEndpoint);
|
|
4612
|
-
return request(_objectSpread$
|
|
4612
|
+
return request(_objectSpread$18({}, opts, {
|
|
4613
4613
|
path: pathCreateSupportNote(businessId)
|
|
4614
4614
|
}), {
|
|
4615
4615
|
method: 'post',
|
|
@@ -4631,7 +4631,7 @@ var getBsbDetails = function getBsbDetails(businessId, query, opts) {
|
|
|
4631
4631
|
utils_doesParamExist["default"]({
|
|
4632
4632
|
businessId: businessId
|
|
4633
4633
|
}, opts.hyperMediaEndpoint);
|
|
4634
|
-
return request(_objectSpread$
|
|
4634
|
+
return request(_objectSpread$18({}, opts, {
|
|
4635
4635
|
path: pathBsbDetails(businessId)
|
|
4636
4636
|
}), {
|
|
4637
4637
|
method: 'get',
|
|
@@ -4653,7 +4653,7 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
|
|
|
4653
4653
|
utils_doesParamExist["default"]({
|
|
4654
4654
|
businessId: businessId
|
|
4655
4655
|
}, opts.hyperMediaEndpoint);
|
|
4656
|
-
return request(_objectSpread$
|
|
4656
|
+
return request(_objectSpread$18({}, opts, {
|
|
4657
4657
|
path: pathBusinessSendEmails(businessId)
|
|
4658
4658
|
}), {
|
|
4659
4659
|
method: 'post',
|
|
@@ -4675,7 +4675,7 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
|
4675
4675
|
utils_doesParamExist["default"]({
|
|
4676
4676
|
businessId: businessId
|
|
4677
4677
|
}, opts.hyperMediaEndpoint);
|
|
4678
|
-
return request(_objectSpread$
|
|
4678
|
+
return request(_objectSpread$18({}, opts, {
|
|
4679
4679
|
path: pathSuspendBusiness(businessId)
|
|
4680
4680
|
}), {
|
|
4681
4681
|
method: 'post',
|
|
@@ -4696,7 +4696,7 @@ var getOrgByHealthFundExists = function getOrgByHealthFundExists(businessId, que
|
|
|
4696
4696
|
utils_doesParamExist["default"]({
|
|
4697
4697
|
businessId: businessId
|
|
4698
4698
|
}, opts.hyperMediaEndpoint);
|
|
4699
|
-
return request(_objectSpread$
|
|
4699
|
+
return request(_objectSpread$18({}, opts, {
|
|
4700
4700
|
path: pathGetOrgByHealthFundExists(businessId)
|
|
4701
4701
|
}), {
|
|
4702
4702
|
method: 'get',
|
|
@@ -4717,7 +4717,7 @@ var suspendBusinessEmail = function suspendBusinessEmail(businessId, opts) {
|
|
|
4717
4717
|
utils_doesParamExist["default"]({
|
|
4718
4718
|
businessId: businessId
|
|
4719
4719
|
}, opts.hyperMediaEndpoint);
|
|
4720
|
-
return request(_objectSpread$
|
|
4720
|
+
return request(_objectSpread$18({}, opts, {
|
|
4721
4721
|
path: pathSuspendBusinessEmail(businessId)
|
|
4722
4722
|
}), {
|
|
4723
4723
|
method: 'post'
|
|
@@ -4737,7 +4737,7 @@ var getBusinessTerminalPin = function getBusinessTerminalPin(businessId, opts) {
|
|
|
4737
4737
|
utils_doesParamExist["default"]({
|
|
4738
4738
|
businessId: businessId
|
|
4739
4739
|
}, opts.hyperMediaEndpoint);
|
|
4740
|
-
return request(_objectSpread$
|
|
4740
|
+
return request(_objectSpread$18({}, opts, {
|
|
4741
4741
|
path: pathTerminalPinCode(businessId)
|
|
4742
4742
|
}), {
|
|
4743
4743
|
method: 'get'
|
|
@@ -4757,7 +4757,7 @@ var createBusinessTerminalPin = function createBusinessTerminalPin(businessId, o
|
|
|
4757
4757
|
utils_doesParamExist["default"]({
|
|
4758
4758
|
businessId: businessId
|
|
4759
4759
|
}, opts.hyperMediaEndpoint);
|
|
4760
|
-
return request(_objectSpread$
|
|
4760
|
+
return request(_objectSpread$18({}, opts, {
|
|
4761
4761
|
path: pathTerminalPinCode(businessId)
|
|
4762
4762
|
}), {
|
|
4763
4763
|
method: 'post'
|
|
@@ -4797,9 +4797,9 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
4797
4797
|
createBusinessTerminalPin: createBusinessTerminalPin
|
|
4798
4798
|
});
|
|
4799
4799
|
|
|
4800
|
-
function ownKeys$
|
|
4800
|
+
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; }
|
|
4801
4801
|
|
|
4802
|
-
function _objectSpread$
|
|
4802
|
+
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; }
|
|
4803
4803
|
|
|
4804
4804
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
4805
4805
|
var pathBusinessClaimItems = function pathBusinessClaimItems(businessId) {
|
|
@@ -4845,7 +4845,7 @@ var getBusinessClaimItems = /*#__PURE__*/function () {
|
|
|
4845
4845
|
utils_doesParamExist["default"]({
|
|
4846
4846
|
businessId: businessId
|
|
4847
4847
|
}, opts.hyperMediaEndpoint);
|
|
4848
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4848
|
+
return _context.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
4849
4849
|
path: pathBusinessClaimItems(businessId)
|
|
4850
4850
|
}), {
|
|
4851
4851
|
method: 'get',
|
|
@@ -4890,7 +4890,7 @@ var getBusinessClaimItem = /*#__PURE__*/function () {
|
|
|
4890
4890
|
businessId: businessId,
|
|
4891
4891
|
claimItemId: claimItemId
|
|
4892
4892
|
}, opts.hyperMediaEndpoint);
|
|
4893
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
4893
|
+
return _context2.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
4894
4894
|
path: pathBusinessClaimItem(businessId, claimItemId)
|
|
4895
4895
|
}), {
|
|
4896
4896
|
method: 'get',
|
|
@@ -4933,7 +4933,7 @@ var getHealthFundClaimItems = /*#__PURE__*/function () {
|
|
|
4933
4933
|
utils_doesParamExist["default"]({
|
|
4934
4934
|
healthFundId: healthFundId
|
|
4935
4935
|
}, opts.hyperMediaEndpoint);
|
|
4936
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
4936
|
+
return _context3.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
4937
4937
|
path: pathHealthFundClaimItems(healthFundId)
|
|
4938
4938
|
}), {
|
|
4939
4939
|
method: 'get',
|
|
@@ -4978,7 +4978,7 @@ var getHealthFundClaimItem = /*#__PURE__*/function () {
|
|
|
4978
4978
|
healthFundId: healthFundId,
|
|
4979
4979
|
claimItemId: claimItemId
|
|
4980
4980
|
}, opts.hyperMediaEndpoint);
|
|
4981
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
4981
|
+
return _context4.abrupt("return", request(_objectSpread$17({}, opts, {
|
|
4982
4982
|
path: pathHealthFundClaimItem(healthFundId, claimItemId)
|
|
4983
4983
|
}), {
|
|
4984
4984
|
method: 'get',
|
|
@@ -5006,9 +5006,9 @@ var claimItems = /*#__PURE__*/Object.freeze({
|
|
|
5006
5006
|
getHealthFundClaimItem: getHealthFundClaimItem
|
|
5007
5007
|
});
|
|
5008
5008
|
|
|
5009
|
-
function ownKeys$
|
|
5009
|
+
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; }
|
|
5010
5010
|
|
|
5011
|
-
function _objectSpread$
|
|
5011
|
+
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; }
|
|
5012
5012
|
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
|
|
5013
5013
|
|
|
5014
5014
|
var pathDocAccount = function pathDocAccount(docAccountId) {
|
|
@@ -5035,7 +5035,7 @@ var getDocAccounts = /*#__PURE__*/function () {
|
|
|
5035
5035
|
opts = {};
|
|
5036
5036
|
}
|
|
5037
5037
|
|
|
5038
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5038
|
+
return _context.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
5039
5039
|
path: PATH__DOC_ACCOUNTS
|
|
5040
5040
|
}), {
|
|
5041
5041
|
method: 'get',
|
|
@@ -5073,7 +5073,7 @@ var getDocAccount = /*#__PURE__*/function () {
|
|
|
5073
5073
|
utils_doesParamExist["default"]({
|
|
5074
5074
|
partnerId: partnerId
|
|
5075
5075
|
}, opts.hyperMediaEndpoint);
|
|
5076
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
5076
|
+
return _context2.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
5077
5077
|
path: pathDocAccount(partnerId)
|
|
5078
5078
|
}), {
|
|
5079
5079
|
method: 'get'
|
|
@@ -5107,7 +5107,7 @@ var createDocAccount = /*#__PURE__*/function () {
|
|
|
5107
5107
|
opts = {};
|
|
5108
5108
|
}
|
|
5109
5109
|
|
|
5110
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
5110
|
+
return _context3.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
5111
5111
|
path: PATH__DOC_ACCOUNTS
|
|
5112
5112
|
}), {
|
|
5113
5113
|
method: 'post',
|
|
@@ -5146,7 +5146,7 @@ var updateDocAccount = /*#__PURE__*/function () {
|
|
|
5146
5146
|
utils_doesParamExist["default"]({
|
|
5147
5147
|
docAccountId: docAccountId
|
|
5148
5148
|
}, opts.hyperMediaEndpoint);
|
|
5149
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
5149
|
+
return _context4.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
5150
5150
|
path: pathDocAccount(docAccountId)
|
|
5151
5151
|
}), {
|
|
5152
5152
|
method: 'put',
|
|
@@ -5184,7 +5184,7 @@ var deleteDocAccount = /*#__PURE__*/function () {
|
|
|
5184
5184
|
utils_doesParamExist["default"]({
|
|
5185
5185
|
docAccountId: docAccountId
|
|
5186
5186
|
}, opts.hyperMediaEndpoint);
|
|
5187
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
5187
|
+
return _context5.abrupt("return", request(_objectSpread$16({}, opts, {
|
|
5188
5188
|
path: pathDocAccount(docAccountId)
|
|
5189
5189
|
}), {
|
|
5190
5190
|
method: 'delete'
|
|
@@ -5212,9 +5212,9 @@ var docAccounts = /*#__PURE__*/Object.freeze({
|
|
|
5212
5212
|
deleteDocAccount: deleteDocAccount
|
|
5213
5213
|
});
|
|
5214
5214
|
|
|
5215
|
-
function ownKeys$
|
|
5215
|
+
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; }
|
|
5216
5216
|
|
|
5217
|
-
function _objectSpread$
|
|
5217
|
+
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; }
|
|
5218
5218
|
var pathBusinessDocuments = function pathBusinessDocuments(businessId) {
|
|
5219
5219
|
return "/businesses/" + businessId + "/documents";
|
|
5220
5220
|
};
|
|
@@ -5270,7 +5270,7 @@ var approveHealthFundDocument = function approveHealthFundDocument(healthFundId,
|
|
|
5270
5270
|
healthFundId: healthFundId,
|
|
5271
5271
|
documentId: documentId
|
|
5272
5272
|
}, opts.hyperMediaEndpoint);
|
|
5273
|
-
return request(_objectSpread$
|
|
5273
|
+
return request(_objectSpread$15({}, opts, {
|
|
5274
5274
|
path: pathHealthFundDocumentApprove(healthFundId, documentId)
|
|
5275
5275
|
}), {
|
|
5276
5276
|
method: 'post'
|
|
@@ -5292,7 +5292,7 @@ var assignHealthFundDocumentToMe = function assignHealthFundDocumentToMe(healthF
|
|
|
5292
5292
|
healthFundId: healthFundId,
|
|
5293
5293
|
documentId: documentId
|
|
5294
5294
|
}, opts.hyperMediaEndpoint);
|
|
5295
|
-
return request(_objectSpread$
|
|
5295
|
+
return request(_objectSpread$15({}, opts, {
|
|
5296
5296
|
path: pathHealthFundDocumentAssignToMe(healthFundId, documentId)
|
|
5297
5297
|
}), {
|
|
5298
5298
|
method: 'put'
|
|
@@ -5314,7 +5314,7 @@ var cancelBusinessDocument = function cancelBusinessDocument(businessId, documen
|
|
|
5314
5314
|
businessId: businessId,
|
|
5315
5315
|
documentId: documentId
|
|
5316
5316
|
}, opts.hyperMediaEndpoint);
|
|
5317
|
-
return request(_objectSpread$
|
|
5317
|
+
return request(_objectSpread$15({}, opts, {
|
|
5318
5318
|
path: pathBusinessDocumentCancel(businessId, documentId)
|
|
5319
5319
|
}), {
|
|
5320
5320
|
method: 'post'
|
|
@@ -5336,7 +5336,7 @@ var declineHealthFundDocument = function declineHealthFundDocument(healthFundId,
|
|
|
5336
5336
|
healthFundId: healthFundId,
|
|
5337
5337
|
documentId: documentId
|
|
5338
5338
|
}, opts.hyperMediaEndpoint);
|
|
5339
|
-
return request(_objectSpread$
|
|
5339
|
+
return request(_objectSpread$15({}, opts, {
|
|
5340
5340
|
path: pathHealthFundDocumentDecline(healthFundId, documentId)
|
|
5341
5341
|
}), {
|
|
5342
5342
|
method: 'post',
|
|
@@ -5359,7 +5359,7 @@ var ceaseHealthFundDocument = function ceaseHealthFundDocument(healthFundId, doc
|
|
|
5359
5359
|
healthFundId: healthFundId,
|
|
5360
5360
|
documentId: documentId
|
|
5361
5361
|
}, opts.hyperMediaEndpoint);
|
|
5362
|
-
return request(_objectSpread$
|
|
5362
|
+
return request(_objectSpread$15({}, opts, {
|
|
5363
5363
|
path: pathHealthFundDocumentCease(healthFundId, documentId)
|
|
5364
5364
|
}), {
|
|
5365
5365
|
method: 'post',
|
|
@@ -5384,7 +5384,7 @@ var deleteHealthFundDocumentTag = function deleteHealthFundDocumentTag(healthFun
|
|
|
5384
5384
|
documentId: documentId,
|
|
5385
5385
|
tagId: tagId
|
|
5386
5386
|
}, opts.hyperMediaEndpoint);
|
|
5387
|
-
return request(_objectSpread$
|
|
5387
|
+
return request(_objectSpread$15({}, opts, {
|
|
5388
5388
|
path: pathHealthFundDocumentTag(healthFundId, documentId, tagId)
|
|
5389
5389
|
}), {
|
|
5390
5390
|
method: 'delete'
|
|
@@ -5405,7 +5405,7 @@ var getBusinessDocuments = function getBusinessDocuments(businessId, query, opts
|
|
|
5405
5405
|
utils_doesParamExist["default"]({
|
|
5406
5406
|
businessId: businessId
|
|
5407
5407
|
}, opts.hyperMediaEndpoint);
|
|
5408
|
-
return request(_objectSpread$
|
|
5408
|
+
return request(_objectSpread$15({}, opts, {
|
|
5409
5409
|
path: pathBusinessDocuments(businessId)
|
|
5410
5410
|
}), {
|
|
5411
5411
|
method: 'get',
|
|
@@ -5427,7 +5427,7 @@ var getBusinessDocument = function getBusinessDocument(businessId, documentId, o
|
|
|
5427
5427
|
utils_doesParamExist["default"]({
|
|
5428
5428
|
businessId: businessId
|
|
5429
5429
|
}, opts.hyperMediaEndpoint);
|
|
5430
|
-
return request(_objectSpread$
|
|
5430
|
+
return request(_objectSpread$15({}, opts, {
|
|
5431
5431
|
path: pathBusinessDocument(businessId, documentId)
|
|
5432
5432
|
}), {
|
|
5433
5433
|
method: 'get'
|
|
@@ -5448,7 +5448,7 @@ var getHealthFundDocuments = function getHealthFundDocuments(healthFundId, query
|
|
|
5448
5448
|
utils_doesParamExist["default"]({
|
|
5449
5449
|
healthFundId: healthFundId
|
|
5450
5450
|
}, opts.hyperMediaEndpoint);
|
|
5451
|
-
return request(_objectSpread$
|
|
5451
|
+
return request(_objectSpread$15({}, opts, {
|
|
5452
5452
|
path: pathHealthFundDocuments(healthFundId)
|
|
5453
5453
|
}), {
|
|
5454
5454
|
method: 'get',
|
|
@@ -5471,7 +5471,7 @@ var getHealthFundDocument = function getHealthFundDocument(healthFundId, documen
|
|
|
5471
5471
|
healthFundId: healthFundId,
|
|
5472
5472
|
documentId: documentId
|
|
5473
5473
|
}, opts.hyperMediaEndpoint);
|
|
5474
|
-
return request(_objectSpread$
|
|
5474
|
+
return request(_objectSpread$15({}, opts, {
|
|
5475
5475
|
path: pathHealthFundDocument(healthFundId, documentId)
|
|
5476
5476
|
}), {
|
|
5477
5477
|
method: 'get'
|
|
@@ -5493,7 +5493,7 @@ var parkHealthFundDocument = function parkHealthFundDocument(healthFundId, docum
|
|
|
5493
5493
|
healthFundId: healthFundId,
|
|
5494
5494
|
documentId: documentId
|
|
5495
5495
|
}, opts.hyperMediaEndpoint);
|
|
5496
|
-
return request(_objectSpread$
|
|
5496
|
+
return request(_objectSpread$15({}, opts, {
|
|
5497
5497
|
path: pathHealthFundDocumentPark(healthFundId, documentId)
|
|
5498
5498
|
}), {
|
|
5499
5499
|
method: 'post',
|
|
@@ -5516,7 +5516,7 @@ var getHealthPointRegistrationApplication = function getHealthPointRegistrationA
|
|
|
5516
5516
|
healthFundId: healthFundId,
|
|
5517
5517
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5518
5518
|
}, opts.hyperMediaEndpoint);
|
|
5519
|
-
return request(_objectSpread$
|
|
5519
|
+
return request(_objectSpread$15({}, opts, {
|
|
5520
5520
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5521
5521
|
}), {
|
|
5522
5522
|
method: 'get'
|
|
@@ -5539,7 +5539,7 @@ var updateHealthPointRegistrationApplication = function updateHealthPointRegistr
|
|
|
5539
5539
|
healthFundId: healthFundId,
|
|
5540
5540
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5541
5541
|
}, opts.hyperMediaEndpoint);
|
|
5542
|
-
return request(_objectSpread$
|
|
5542
|
+
return request(_objectSpread$15({}, opts, {
|
|
5543
5543
|
path: pathHealthFundHealthPointRegistrationApplication(healthFundId, healthPointRegistrationApplicationId)
|
|
5544
5544
|
}), {
|
|
5545
5545
|
method: 'put',
|
|
@@ -5563,7 +5563,7 @@ var activateHealthPointDigitalClaiming = function activateHealthPointDigitalClai
|
|
|
5563
5563
|
healthFundId: healthFundId,
|
|
5564
5564
|
healthPointRegistrationApplicationId: healthPointRegistrationApplicationId
|
|
5565
5565
|
}, opts.hyperMediaEndpoint);
|
|
5566
|
-
return request(_objectSpread$
|
|
5566
|
+
return request(_objectSpread$15({}, opts, {
|
|
5567
5567
|
path: pathHealthFundHealthPointActivateDigitalClaiming(healthFundId, healthPointRegistrationApplicationId)
|
|
5568
5568
|
}), {
|
|
5569
5569
|
method: 'post',
|
|
@@ -5602,9 +5602,9 @@ var documents = /*#__PURE__*/Object.freeze({
|
|
|
5602
5602
|
activateHealthPointDigitalClaiming: activateHealthPointDigitalClaiming
|
|
5603
5603
|
});
|
|
5604
5604
|
|
|
5605
|
-
function ownKeys$
|
|
5605
|
+
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; }
|
|
5606
5606
|
|
|
5607
|
-
function _objectSpread$
|
|
5607
|
+
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; }
|
|
5608
5608
|
var pathGetBusinessEmailLogs = function pathGetBusinessEmailLogs(businessId) {
|
|
5609
5609
|
return "/businesses/" + businessId + "/emaillogs";
|
|
5610
5610
|
};
|
|
@@ -5626,7 +5626,7 @@ var getBusinessEmailLogs = function getBusinessEmailLogs(businessId, query, opts
|
|
|
5626
5626
|
utils_doesParamExist["default"]({
|
|
5627
5627
|
businessId: businessId
|
|
5628
5628
|
}, opts.hyperMediaEndpoint);
|
|
5629
|
-
return request(_objectSpread$
|
|
5629
|
+
return request(_objectSpread$14({}, opts, {
|
|
5630
5630
|
path: pathGetBusinessEmailLogs(businessId)
|
|
5631
5631
|
}), {
|
|
5632
5632
|
method: 'get',
|
|
@@ -5647,7 +5647,7 @@ var getEmailLog = function getEmailLog(emailLogId, opts) {
|
|
|
5647
5647
|
utils_doesParamExist["default"]({
|
|
5648
5648
|
emailLogId: emailLogId
|
|
5649
5649
|
}, opts.hyperMediaEndpoint);
|
|
5650
|
-
return request(_objectSpread$
|
|
5650
|
+
return request(_objectSpread$14({}, opts, {
|
|
5651
5651
|
path: pathGetEmailLog(emailLogId)
|
|
5652
5652
|
}), {
|
|
5653
5653
|
method: 'get'
|
|
@@ -5662,9 +5662,9 @@ var emailLogs = /*#__PURE__*/Object.freeze({
|
|
|
5662
5662
|
getEmailLog: getEmailLog
|
|
5663
5663
|
});
|
|
5664
5664
|
|
|
5665
|
-
function ownKeys$
|
|
5665
|
+
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; }
|
|
5666
5666
|
|
|
5667
|
-
function _objectSpread$
|
|
5667
|
+
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; }
|
|
5668
5668
|
var healthFundEmailSections = function healthFundEmailSections(healthFundId, emailTemplateId) {
|
|
5669
5669
|
return "/healthfunds/" + healthFundId + "/emailtemplates/" + emailTemplateId + "/emailsections";
|
|
5670
5670
|
};
|
|
@@ -5696,7 +5696,7 @@ var getHealthFundEmailSections = function getHealthFundEmailSections(healthFundI
|
|
|
5696
5696
|
healthFundId: healthFundId,
|
|
5697
5697
|
emailTemplateId: emailTemplateId
|
|
5698
5698
|
}, opts.hyperMediaEndpoint);
|
|
5699
|
-
return request(_objectSpread$
|
|
5699
|
+
return request(_objectSpread$13({}, opts, {
|
|
5700
5700
|
path: healthFundEmailSections(healthFundId, emailTemplateId)
|
|
5701
5701
|
}), {
|
|
5702
5702
|
method: 'get',
|
|
@@ -5715,7 +5715,7 @@ var getHealthFundEmailTemplates = function getHealthFundEmailTemplates(healthFun
|
|
|
5715
5715
|
utils_doesParamExist["default"]({
|
|
5716
5716
|
healthFundId: healthFundId
|
|
5717
5717
|
}, opts.hyperMediaEndpoint);
|
|
5718
|
-
return request(_objectSpread$
|
|
5718
|
+
return request(_objectSpread$13({}, opts, {
|
|
5719
5719
|
path: healthFundEmailTemplates(healthFundId)
|
|
5720
5720
|
}), {
|
|
5721
5721
|
method: 'get',
|
|
@@ -5731,7 +5731,7 @@ var generateEmailTemplate = function generateEmailTemplate(healthFundId, transac
|
|
|
5731
5731
|
healthFundId: healthFundId,
|
|
5732
5732
|
transactionId: transactionId
|
|
5733
5733
|
}, opts.hyperMediaEndpoint);
|
|
5734
|
-
return request(_objectSpread$
|
|
5734
|
+
return request(_objectSpread$13({}, opts, {
|
|
5735
5735
|
path: healthFundTransactionEmail(healthFundId, transactionId)
|
|
5736
5736
|
}), {
|
|
5737
5737
|
method: 'post',
|
|
@@ -5747,7 +5747,7 @@ var generateDocumentEmailTemplate = function generateDocumentEmailTemplate(healt
|
|
|
5747
5747
|
healthFundId: healthFundId,
|
|
5748
5748
|
documentId: documentId
|
|
5749
5749
|
}, opts.hyperMediaEndpoint);
|
|
5750
|
-
return request(_objectSpread$
|
|
5750
|
+
return request(_objectSpread$13({}, opts, {
|
|
5751
5751
|
path: healthFundDocumentEmail(healthFundId, documentId)
|
|
5752
5752
|
}), {
|
|
5753
5753
|
method: 'post',
|
|
@@ -5762,7 +5762,7 @@ var createEmailPackage = function createEmailPackage(transactionId, body, opts)
|
|
|
5762
5762
|
utils_doesParamExist["default"]({
|
|
5763
5763
|
transactionId: transactionId
|
|
5764
5764
|
}, opts.hyperMediaEndpoint);
|
|
5765
|
-
return request(_objectSpread$
|
|
5765
|
+
return request(_objectSpread$13({}, opts, {
|
|
5766
5766
|
path: transactionEmailPackages(transactionId)
|
|
5767
5767
|
}), {
|
|
5768
5768
|
method: 'post',
|
|
@@ -5778,7 +5778,7 @@ var updateEmailPackage = function updateEmailPackage(transactionId, emailPackage
|
|
|
5778
5778
|
transactionId: transactionId,
|
|
5779
5779
|
emailPackageId: emailPackageId
|
|
5780
5780
|
}, opts.hyperMediaEndpoint);
|
|
5781
|
-
return request(_objectSpread$
|
|
5781
|
+
return request(_objectSpread$13({}, opts, {
|
|
5782
5782
|
path: transactionEmailPackage(transactionId, emailPackageId)
|
|
5783
5783
|
}), {
|
|
5784
5784
|
method: 'put',
|
|
@@ -5794,7 +5794,7 @@ var sendEmailPackage = function sendEmailPackage(transactionId, emailPackageId,
|
|
|
5794
5794
|
transactionId: transactionId,
|
|
5795
5795
|
emailPackageId: emailPackageId
|
|
5796
5796
|
}, opts.hyperMediaEndpoint);
|
|
5797
|
-
return request(_objectSpread$
|
|
5797
|
+
return request(_objectSpread$13({}, opts, {
|
|
5798
5798
|
path: transactionEmailPackage(transactionId, emailPackageId) + "/send"
|
|
5799
5799
|
}), {
|
|
5800
5800
|
method: 'post',
|
|
@@ -5819,9 +5819,9 @@ var emails = /*#__PURE__*/Object.freeze({
|
|
|
5819
5819
|
sendEmailPackage: sendEmailPackage
|
|
5820
5820
|
});
|
|
5821
5821
|
|
|
5822
|
-
function ownKeys$
|
|
5822
|
+
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; }
|
|
5823
5823
|
|
|
5824
|
-
function _objectSpread$
|
|
5824
|
+
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; }
|
|
5825
5825
|
var pathFilterOptions = function pathFilterOptions(businessId) {
|
|
5826
5826
|
return "/businesses/" + businessId + "/filteroptions";
|
|
5827
5827
|
};
|
|
@@ -5838,7 +5838,7 @@ var getBusinessFilterOptions = /*#__PURE__*/function () {
|
|
|
5838
5838
|
utils_doesParamExist["default"]({
|
|
5839
5839
|
businessId: businessId
|
|
5840
5840
|
}, opts.hyperMediaEndpoint);
|
|
5841
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
5841
|
+
return _context.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
5842
5842
|
path: pathFilterOptions(businessId)
|
|
5843
5843
|
}), {
|
|
5844
5844
|
method: 'get',
|
|
@@ -5864,9 +5864,9 @@ var filterOptions = /*#__PURE__*/Object.freeze({
|
|
|
5864
5864
|
getBusinessFilterOptions: getBusinessFilterOptions
|
|
5865
5865
|
});
|
|
5866
5866
|
|
|
5867
|
-
function ownKeys$
|
|
5867
|
+
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; }
|
|
5868
5868
|
|
|
5869
|
-
function _objectSpread$
|
|
5869
|
+
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; }
|
|
5870
5870
|
var pathBusinessFormApplicationTemplate = function pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId) {
|
|
5871
5871
|
return "/businesses/" + businessId + "/forms/" + formId + "/formapplicationtemplates/" + formApplicationTemplateId;
|
|
5872
5872
|
};
|
|
@@ -5892,7 +5892,7 @@ var getBusinessFormApplicationTemplate = function getBusinessFormApplicationTemp
|
|
|
5892
5892
|
formId: formId,
|
|
5893
5893
|
formApplicationTemplateId: formApplicationTemplateId
|
|
5894
5894
|
}, opts.hyperMediaEndpoint);
|
|
5895
|
-
return request(_objectSpread$
|
|
5895
|
+
return request(_objectSpread$11({}, opts, {
|
|
5896
5896
|
path: pathBusinessFormApplicationTemplate(businessId, formId, formApplicationTemplateId)
|
|
5897
5897
|
}), {
|
|
5898
5898
|
method: 'get'
|
|
@@ -5915,7 +5915,7 @@ var getHealthFundFormApplicationTemplate = function getHealthFundFormApplication
|
|
|
5915
5915
|
healthFundId: healthFundId,
|
|
5916
5916
|
formApplicationTemplateId: formApplicationTemplateId
|
|
5917
5917
|
}, opts.hyperMediaEndpoint);
|
|
5918
|
-
return request(_objectSpread$
|
|
5918
|
+
return request(_objectSpread$11({}, opts, {
|
|
5919
5919
|
path: pathHealthFundFormApplicationTemplate(healthFundId, formApplicationTemplateId)
|
|
5920
5920
|
}), {
|
|
5921
5921
|
method: 'get'
|
|
@@ -5930,9 +5930,9 @@ var formApplicationTemplates = /*#__PURE__*/Object.freeze({
|
|
|
5930
5930
|
getHealthFundFormApplicationTemplate: getHealthFundFormApplicationTemplate
|
|
5931
5931
|
});
|
|
5932
5932
|
|
|
5933
|
-
function ownKeys
|
|
5933
|
+
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; }
|
|
5934
5934
|
|
|
5935
|
-
function _objectSpread
|
|
5935
|
+
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; }
|
|
5936
5936
|
var pathBusinessFormApplication = function pathBusinessFormApplication(businessId, formApplicationId) {
|
|
5937
5937
|
return "/businesses/" + businessId + "/formapplications/" + formApplicationId;
|
|
5938
5938
|
};
|
|
@@ -5959,7 +5959,7 @@ var getBusinessFormApplication = function getBusinessFormApplication(businessId,
|
|
|
5959
5959
|
businessId: businessId,
|
|
5960
5960
|
formApplicationId: formApplicationId
|
|
5961
5961
|
}, opts.hyperMediaEndpoint);
|
|
5962
|
-
return request(_objectSpread
|
|
5962
|
+
return request(_objectSpread$10({}, opts, {
|
|
5963
5963
|
path: pathBusinessFormApplication(businessId, formApplicationId)
|
|
5964
5964
|
}), {
|
|
5965
5965
|
method: 'get'
|
|
@@ -5982,7 +5982,7 @@ var getHealthFundFormApplication = function getHealthFundFormApplication(healthF
|
|
|
5982
5982
|
healthFundId: healthFundId,
|
|
5983
5983
|
formApplicationId: formApplicationId
|
|
5984
5984
|
}, opts.hyperMediaEndpoint);
|
|
5985
|
-
return request(_objectSpread
|
|
5985
|
+
return request(_objectSpread$10({}, opts, {
|
|
5986
5986
|
path: pathHealthFundFormApplication(healthFundId, formApplicationId)
|
|
5987
5987
|
}), {
|
|
5988
5988
|
method: 'get'
|
|
@@ -6009,7 +6009,7 @@ var updatePracticeRepresentative = /*#__PURE__*/function () {
|
|
|
6009
6009
|
healthFundId: healthFundId,
|
|
6010
6010
|
formApplicationId: formApplicationId
|
|
6011
6011
|
}, opts.hyperMediaEndpoint);
|
|
6012
|
-
return _context.abrupt("return", request(_objectSpread
|
|
6012
|
+
return _context.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
6013
6013
|
path: pathUpdatePracticeRepresentative(healthFundId, formApplicationId)
|
|
6014
6014
|
}), {
|
|
6015
6015
|
method: 'put',
|
|
@@ -6039,9 +6039,9 @@ var formApplications = /*#__PURE__*/Object.freeze({
|
|
|
6039
6039
|
updatePracticeRepresentative: updatePracticeRepresentative
|
|
6040
6040
|
});
|
|
6041
6041
|
|
|
6042
|
-
function ownKeys
|
|
6042
|
+
function ownKeys$$(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6043
6043
|
|
|
6044
|
-
function _objectSpread
|
|
6044
|
+
function _objectSpread$$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$$(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6045
6045
|
var pathBusinessForm = function pathBusinessForm(businessId, formId) {
|
|
6046
6046
|
return "/businesses/" + businessId + "/forms/" + formId;
|
|
6047
6047
|
};
|
|
@@ -6086,7 +6086,7 @@ var applyForBusinessForm = function applyForBusinessForm(businessId, formId, bod
|
|
|
6086
6086
|
businessId: businessId,
|
|
6087
6087
|
formId: formId
|
|
6088
6088
|
}, opts.hyperMediaEndpoint);
|
|
6089
|
-
return request(_objectSpread
|
|
6089
|
+
return request(_objectSpread$$({}, opts, {
|
|
6090
6090
|
path: pathBusinessFormApplications(businessId, formId)
|
|
6091
6091
|
}), {
|
|
6092
6092
|
method: 'post',
|
|
@@ -6108,7 +6108,7 @@ var createHealthFundForm = function createHealthFundForm(healthFundId, body, opt
|
|
|
6108
6108
|
utils_doesParamExist["default"]({
|
|
6109
6109
|
healthFundId: healthFundId
|
|
6110
6110
|
}, opts.hyperMediaEndpoint);
|
|
6111
|
-
return request(_objectSpread
|
|
6111
|
+
return request(_objectSpread$$({}, opts, {
|
|
6112
6112
|
path: pathHealthFundForms(healthFundId)
|
|
6113
6113
|
}), {
|
|
6114
6114
|
method: 'post',
|
|
@@ -6131,7 +6131,7 @@ var deleteHealthFundForm = function deleteHealthFundForm(healthFundId, formId, o
|
|
|
6131
6131
|
healthFundId: healthFundId,
|
|
6132
6132
|
formId: formId
|
|
6133
6133
|
}, opts.hyperMediaEndpoint);
|
|
6134
|
-
return request(_objectSpread
|
|
6134
|
+
return request(_objectSpread$$({}, opts, {
|
|
6135
6135
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6136
6136
|
}), {
|
|
6137
6137
|
method: 'delete'
|
|
@@ -6154,7 +6154,7 @@ var getBusinessForm = function getBusinessForm(businessId, formId, opts) {
|
|
|
6154
6154
|
businessId: businessId,
|
|
6155
6155
|
formId: formId
|
|
6156
6156
|
}, opts.hyperMediaEndpoint);
|
|
6157
|
-
return request(_objectSpread
|
|
6157
|
+
return request(_objectSpread$$({}, opts, {
|
|
6158
6158
|
path: pathBusinessForm(businessId, formId)
|
|
6159
6159
|
}), {
|
|
6160
6160
|
method: 'get'
|
|
@@ -6179,7 +6179,7 @@ var getHealthFundForms = function getHealthFundForms(healthFundId, query, opts)
|
|
|
6179
6179
|
utils_doesParamExist["default"]({
|
|
6180
6180
|
healthFundId: healthFundId
|
|
6181
6181
|
}, opts.hyperMediaEndpoint);
|
|
6182
|
-
return request(_objectSpread
|
|
6182
|
+
return request(_objectSpread$$({}, opts, {
|
|
6183
6183
|
path: pathHealthFundForms(healthFundId)
|
|
6184
6184
|
}), {
|
|
6185
6185
|
method: 'get',
|
|
@@ -6202,7 +6202,7 @@ var getHealthFundForm = function getHealthFundForm(healthFundId, formId, opts) {
|
|
|
6202
6202
|
healthFundId: healthFundId,
|
|
6203
6203
|
formId: formId
|
|
6204
6204
|
}, opts.hyperMediaEndpoint);
|
|
6205
|
-
return request(_objectSpread
|
|
6205
|
+
return request(_objectSpread$$({}, opts, {
|
|
6206
6206
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6207
6207
|
}), {
|
|
6208
6208
|
method: 'get'
|
|
@@ -6227,7 +6227,7 @@ var getHealthFundFormUploadUrl = function getHealthFundFormUploadUrl(healthFundI
|
|
|
6227
6227
|
contentType: contentType,
|
|
6228
6228
|
fileName: fileName
|
|
6229
6229
|
}, opts.hyperMediaEndpoint);
|
|
6230
|
-
return request(_objectSpread
|
|
6230
|
+
return request(_objectSpread$$({}, opts, {
|
|
6231
6231
|
path: pathHealthFundFormUploadUrl(healthFundId)
|
|
6232
6232
|
}), {
|
|
6233
6233
|
method: 'get',
|
|
@@ -6250,7 +6250,7 @@ var publishHealthFundForm = function publishHealthFundForm(healthFundId, formId,
|
|
|
6250
6250
|
healthFundId: healthFundId,
|
|
6251
6251
|
formId: formId
|
|
6252
6252
|
}, opts.hyperMediaEndpoint);
|
|
6253
|
-
return request(_objectSpread
|
|
6253
|
+
return request(_objectSpread$$({}, opts, {
|
|
6254
6254
|
path: pathHealthFundFormPublish(healthFundId, formId)
|
|
6255
6255
|
}), {
|
|
6256
6256
|
method: 'post'
|
|
@@ -6273,7 +6273,7 @@ var updateHealthFundForm = function updateHealthFundForm(healthFundId, formId, b
|
|
|
6273
6273
|
healthFundId: healthFundId,
|
|
6274
6274
|
formId: formId
|
|
6275
6275
|
}, opts.hyperMediaEndpoint);
|
|
6276
|
-
return request(_objectSpread
|
|
6276
|
+
return request(_objectSpread$$({}, opts, {
|
|
6277
6277
|
path: pathHealthFundForm(healthFundId, formId)
|
|
6278
6278
|
}), {
|
|
6279
6279
|
method: 'put',
|
|
@@ -6296,7 +6296,7 @@ var unpublishHealthFundForm = function unpublishHealthFundForm(healthFundId, for
|
|
|
6296
6296
|
healthFundId: healthFundId,
|
|
6297
6297
|
formId: formId
|
|
6298
6298
|
}, opts.hyperMediaEndpoint);
|
|
6299
|
-
return request(_objectSpread
|
|
6299
|
+
return request(_objectSpread$$({}, opts, {
|
|
6300
6300
|
path: pathHealthFundFormUnpublish(healthFundId, formId)
|
|
6301
6301
|
}), {
|
|
6302
6302
|
method: 'post'
|
|
@@ -6320,7 +6320,7 @@ var getLatestApprovedDocument = function getLatestApprovedDocument(businessId, p
|
|
|
6320
6320
|
practiceId: practiceId,
|
|
6321
6321
|
formId: formId
|
|
6322
6322
|
}, opts.hyperMediaEndpoint);
|
|
6323
|
-
return request(_objectSpread
|
|
6323
|
+
return request(_objectSpread$$({}, opts, {
|
|
6324
6324
|
path: pathGetLatestApprovedDocument(businessId, practiceId, formId)
|
|
6325
6325
|
}), {
|
|
6326
6326
|
method: 'get'
|
|
@@ -6345,7 +6345,7 @@ var getManualFormUploadUrl = function getManualFormUploadUrl(businessId, practic
|
|
|
6345
6345
|
practiceId: practiceId,
|
|
6346
6346
|
formId: formId
|
|
6347
6347
|
}, opts.hyperMediaEndpoint);
|
|
6348
|
-
return request(_objectSpread
|
|
6348
|
+
return request(_objectSpread$$({}, opts, {
|
|
6349
6349
|
path: pathGetManualFormUploadUrl(businessId, practiceId, formId)
|
|
6350
6350
|
}), {
|
|
6351
6351
|
method: 'get',
|
|
@@ -6378,9 +6378,9 @@ var forms = /*#__PURE__*/Object.freeze({
|
|
|
6378
6378
|
getManualFormUploadUrl: getManualFormUploadUrl
|
|
6379
6379
|
});
|
|
6380
6380
|
|
|
6381
|
-
function ownKeys$
|
|
6381
|
+
function ownKeys$_(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6382
6382
|
|
|
6383
|
-
function _objectSpread$
|
|
6383
|
+
function _objectSpread$_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$_(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6384
6384
|
var PATH__FUNDERS = '/funders';
|
|
6385
6385
|
var pathFunder = function pathFunder(funderId) {
|
|
6386
6386
|
return "/funders/" + funderId;
|
|
@@ -6390,7 +6390,7 @@ var getFunders = function getFunders(opts) {
|
|
|
6390
6390
|
opts = {};
|
|
6391
6391
|
}
|
|
6392
6392
|
|
|
6393
|
-
return request(_objectSpread$
|
|
6393
|
+
return request(_objectSpread$_({}, opts, {
|
|
6394
6394
|
path: PATH__FUNDERS
|
|
6395
6395
|
}), {
|
|
6396
6396
|
method: 'get'
|
|
@@ -6401,7 +6401,7 @@ var getFunder = function getFunder(funderId, opts) {
|
|
|
6401
6401
|
opts = {};
|
|
6402
6402
|
}
|
|
6403
6403
|
|
|
6404
|
-
return request(_objectSpread$
|
|
6404
|
+
return request(_objectSpread$_({}, opts, {
|
|
6405
6405
|
path: pathFunder(funderId)
|
|
6406
6406
|
}), {
|
|
6407
6407
|
method: 'get'
|
|
@@ -6416,9 +6416,9 @@ var funders = /*#__PURE__*/Object.freeze({
|
|
|
6416
6416
|
getFunder: getFunder
|
|
6417
6417
|
});
|
|
6418
6418
|
|
|
6419
|
-
function ownKeys$
|
|
6419
|
+
function ownKeys$Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6420
6420
|
|
|
6421
|
-
function _objectSpread$
|
|
6421
|
+
function _objectSpread$Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6422
6422
|
var pathVerifyEclipse = function pathVerifyEclipse() {
|
|
6423
6423
|
return "/eclipse/opvw";
|
|
6424
6424
|
};
|
|
@@ -6436,7 +6436,7 @@ var verifyEclipse = function verifyEclipse(body, opts) {
|
|
|
6436
6436
|
utils_doesParamExist["default"]({
|
|
6437
6437
|
body: body
|
|
6438
6438
|
}, opts.hyperMediaEndpoint);
|
|
6439
|
-
return request(_objectSpread$
|
|
6439
|
+
return request(_objectSpread$Z({}, opts, {
|
|
6440
6440
|
path: pathVerifyEclipse()
|
|
6441
6441
|
}), {
|
|
6442
6442
|
method: 'post',
|
|
@@ -6450,9 +6450,9 @@ var funderServices = /*#__PURE__*/Object.freeze({
|
|
|
6450
6450
|
verifyEclipse: verifyEclipse
|
|
6451
6451
|
});
|
|
6452
6452
|
|
|
6453
|
-
function ownKeys$
|
|
6453
|
+
function ownKeys$Y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6454
6454
|
|
|
6455
|
-
function _objectSpread$
|
|
6455
|
+
function _objectSpread$Y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Y(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6456
6456
|
var pathFunderSettings = function pathFunderSettings(businessId) {
|
|
6457
6457
|
return "/businesses/" + businessId + "/fundersettings";
|
|
6458
6458
|
};
|
|
@@ -6471,7 +6471,7 @@ var getBusinessFunderSettings = function getBusinessFunderSettings(businessId, q
|
|
|
6471
6471
|
utils_doesParamExist["default"]({
|
|
6472
6472
|
businessId: businessId
|
|
6473
6473
|
}, opts.hyperMediaEndpoint);
|
|
6474
|
-
return request(_objectSpread$
|
|
6474
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6475
6475
|
path: pathFunderSettings(businessId)
|
|
6476
6476
|
}), {
|
|
6477
6477
|
method: 'get',
|
|
@@ -6487,7 +6487,7 @@ var getBusinesFunderSettingsById = function getBusinesFunderSettingsById(busines
|
|
|
6487
6487
|
businessId: businessId,
|
|
6488
6488
|
funderSettingsId: funderSettingsId
|
|
6489
6489
|
}, opts.hyperMediaEndpoint);
|
|
6490
|
-
return request(_objectSpread$
|
|
6490
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6491
6491
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6492
6492
|
}), {
|
|
6493
6493
|
method: 'get'
|
|
@@ -6502,7 +6502,7 @@ var updateBusinesFunderSettings = function updateBusinesFunderSettings(businessI
|
|
|
6502
6502
|
businessId: businessId,
|
|
6503
6503
|
funderSettingsId: funderSettingsId
|
|
6504
6504
|
}, opts.hyperMediaEndpoint);
|
|
6505
|
-
return request(_objectSpread$
|
|
6505
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6506
6506
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6507
6507
|
}), {
|
|
6508
6508
|
method: 'put',
|
|
@@ -6517,7 +6517,7 @@ var createBusinesFunderSettings = function createBusinesFunderSettings(businessI
|
|
|
6517
6517
|
utils_doesParamExist["default"]({
|
|
6518
6518
|
businessId: businessId
|
|
6519
6519
|
}, opts.hyperMediaEndpoint);
|
|
6520
|
-
return request(_objectSpread$
|
|
6520
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6521
6521
|
path: pathFunderSettings(businessId)
|
|
6522
6522
|
}), {
|
|
6523
6523
|
method: 'post',
|
|
@@ -6533,7 +6533,7 @@ var deleteBusinesFunderSettings = function deleteBusinesFunderSettings(businessI
|
|
|
6533
6533
|
businessId: businessId,
|
|
6534
6534
|
funderSettingsId: funderSettingsId
|
|
6535
6535
|
}, opts.hyperMediaEndpoint);
|
|
6536
|
-
return request(_objectSpread$
|
|
6536
|
+
return request(_objectSpread$Y({}, opts, {
|
|
6537
6537
|
path: pathFunderSettingsById(businessId, funderSettingsId)
|
|
6538
6538
|
}), {
|
|
6539
6539
|
method: 'delete'
|
|
@@ -6551,9 +6551,9 @@ var funderSettings = /*#__PURE__*/Object.freeze({
|
|
|
6551
6551
|
deleteBusinesFunderSettings: deleteBusinesFunderSettings
|
|
6552
6552
|
});
|
|
6553
6553
|
|
|
6554
|
-
function ownKeys$
|
|
6554
|
+
function ownKeys$X(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6555
6555
|
|
|
6556
|
-
function _objectSpread$
|
|
6556
|
+
function _objectSpread$X(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$X(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$X(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6557
6557
|
var pathFunderValues = function pathFunderValues(businessId) {
|
|
6558
6558
|
return "/businesses/" + businessId + "/fundervalues";
|
|
6559
6559
|
};
|
|
@@ -6573,7 +6573,7 @@ var getBusinessFunderValues = /*#__PURE__*/function () {
|
|
|
6573
6573
|
utils_doesParamExist["default"]({
|
|
6574
6574
|
businessId: businessId
|
|
6575
6575
|
}, opts.hyperMediaEndpoint);
|
|
6576
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6576
|
+
return _context.abrupt("return", request(_objectSpread$X({}, opts, {
|
|
6577
6577
|
path: pathFunderValues(businessId)
|
|
6578
6578
|
}), {
|
|
6579
6579
|
method: 'get',
|
|
@@ -6601,7 +6601,7 @@ var getBusinessFunderValueById = function getBusinessFunderValueById(businessId,
|
|
|
6601
6601
|
businessId: businessId,
|
|
6602
6602
|
funderValueId: funderValueId
|
|
6603
6603
|
}, opts.hyperMediaEndpoint);
|
|
6604
|
-
return request(_objectSpread$
|
|
6604
|
+
return request(_objectSpread$X({}, opts, {
|
|
6605
6605
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6606
6606
|
}), {
|
|
6607
6607
|
method: 'get'
|
|
@@ -6615,7 +6615,7 @@ var createBusinessFunderValue = function createBusinessFunderValue(businessId, b
|
|
|
6615
6615
|
utils_doesParamExist["default"]({
|
|
6616
6616
|
businessId: businessId
|
|
6617
6617
|
}, opts.hyperMediaEndpoint);
|
|
6618
|
-
return request(_objectSpread$
|
|
6618
|
+
return request(_objectSpread$X({}, opts, {
|
|
6619
6619
|
path: pathFunderValues(businessId)
|
|
6620
6620
|
}), {
|
|
6621
6621
|
method: 'post',
|
|
@@ -6631,7 +6631,7 @@ var updateBusinessFunderValue = function updateBusinessFunderValue(businessId, f
|
|
|
6631
6631
|
businessId: businessId,
|
|
6632
6632
|
funderValueId: funderValueId
|
|
6633
6633
|
}, opts.hyperMediaEndpoint);
|
|
6634
|
-
return request(_objectSpread$
|
|
6634
|
+
return request(_objectSpread$X({}, opts, {
|
|
6635
6635
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6636
6636
|
}), {
|
|
6637
6637
|
method: 'put',
|
|
@@ -6647,7 +6647,7 @@ var deleteBusinessFunderValue = function deleteBusinessFunderValue(businessId, f
|
|
|
6647
6647
|
businessId: businessId,
|
|
6648
6648
|
funderValueId: funderValueId
|
|
6649
6649
|
}, opts.hyperMediaEndpoint);
|
|
6650
|
-
return request(_objectSpread$
|
|
6650
|
+
return request(_objectSpread$X({}, opts, {
|
|
6651
6651
|
path: pathFunderValuesById(businessId, funderValueId)
|
|
6652
6652
|
}), {
|
|
6653
6653
|
method: 'delete'
|
|
@@ -6665,9 +6665,9 @@ var funderValues = /*#__PURE__*/Object.freeze({
|
|
|
6665
6665
|
deleteBusinessFunderValue: deleteBusinessFunderValue
|
|
6666
6666
|
});
|
|
6667
6667
|
|
|
6668
|
-
function ownKeys$
|
|
6668
|
+
function ownKeys$W(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6669
6669
|
|
|
6670
|
-
function _objectSpread$
|
|
6670
|
+
function _objectSpread$W(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$W(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$W(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6671
6671
|
var pathBusinessFutures = function pathBusinessFutures(businessId) {
|
|
6672
6672
|
return "/businesses/" + businessId + "/futures";
|
|
6673
6673
|
};
|
|
@@ -6713,7 +6713,7 @@ var createBusinessHold = function createBusinessHold(businessId, body, opts) {
|
|
|
6713
6713
|
utils_doesParamExist["default"]({
|
|
6714
6714
|
businessId: businessId
|
|
6715
6715
|
}, opts.hyperMediaEndpoint);
|
|
6716
|
-
return request(_objectSpread$
|
|
6716
|
+
return request(_objectSpread$W({}, opts, {
|
|
6717
6717
|
path: pathBusinessHolds(businessId)
|
|
6718
6718
|
}), {
|
|
6719
6719
|
method: 'post',
|
|
@@ -6740,7 +6740,7 @@ var createBusinessInstalmentPlan = /*#__PURE__*/function () {
|
|
|
6740
6740
|
utils_doesParamExist["default"]({
|
|
6741
6741
|
businessId: businessId
|
|
6742
6742
|
}, opts.hyperMediaEndpoint);
|
|
6743
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
6743
|
+
return _context.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
6744
6744
|
path: pathBusinessInstalmentPlans(businessId)
|
|
6745
6745
|
}), {
|
|
6746
6746
|
method: 'post',
|
|
@@ -6778,7 +6778,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
6778
6778
|
utils_doesParamExist["default"]({
|
|
6779
6779
|
futureId: futureId
|
|
6780
6780
|
}, opts.hyperMediaEndpoint);
|
|
6781
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
6781
|
+
return _context2.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
6782
6782
|
path: pathCancels(futureId)
|
|
6783
6783
|
}), {
|
|
6784
6784
|
method: 'post'
|
|
@@ -6816,7 +6816,7 @@ var getBusinessFutures = /*#__PURE__*/function () {
|
|
|
6816
6816
|
utils_doesParamExist["default"]({
|
|
6817
6817
|
businessId: businessId
|
|
6818
6818
|
}, opts.hyperMediaEndpoint);
|
|
6819
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
6819
|
+
return _context3.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
6820
6820
|
path: pathBusinessFutures(businessId)
|
|
6821
6821
|
}), {
|
|
6822
6822
|
method: 'get',
|
|
@@ -6856,7 +6856,7 @@ var getBusinessFuture = /*#__PURE__*/function () {
|
|
|
6856
6856
|
businessId: businessId,
|
|
6857
6857
|
futureId: futureId
|
|
6858
6858
|
}, opts.hyperMediaEndpoint);
|
|
6859
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
6859
|
+
return _context4.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
6860
6860
|
path: pathBusinessFuture(businessId, futureId)
|
|
6861
6861
|
}), {
|
|
6862
6862
|
method: 'get'
|
|
@@ -6893,7 +6893,7 @@ var getFuture = /*#__PURE__*/function () {
|
|
|
6893
6893
|
utils_doesParamExist["default"]({
|
|
6894
6894
|
futureId: futureId
|
|
6895
6895
|
}, opts.hyperMediaEndpoint);
|
|
6896
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
6896
|
+
return _context5.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
6897
6897
|
path: pathFuture(futureId)
|
|
6898
6898
|
}), {
|
|
6899
6899
|
method: 'get'
|
|
@@ -6930,7 +6930,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
6930
6930
|
utils_doesParamExist["default"]({
|
|
6931
6931
|
futureId: futureId
|
|
6932
6932
|
}, opts.hyperMediaEndpoint);
|
|
6933
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
6933
|
+
return _context6.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
6934
6934
|
path: pathPaymentLink(futureId)
|
|
6935
6935
|
}), {
|
|
6936
6936
|
method: 'get'
|
|
@@ -6968,7 +6968,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
6968
6968
|
utils_doesParamExist["default"]({
|
|
6969
6969
|
futureId: futureId
|
|
6970
6970
|
}, opts.hyperMediaEndpoint);
|
|
6971
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
6971
|
+
return _context7.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
6972
6972
|
path: pathProcessingRequests(futureId)
|
|
6973
6973
|
}), {
|
|
6974
6974
|
method: 'post',
|
|
@@ -7007,7 +7007,7 @@ var submit = /*#__PURE__*/function () {
|
|
|
7007
7007
|
utils_doesParamExist["default"]({
|
|
7008
7008
|
futureId: futureId
|
|
7009
7009
|
}, opts.hyperMediaEndpoint);
|
|
7010
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
7010
|
+
return _context8.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
7011
7011
|
path: pathSubmits(futureId)
|
|
7012
7012
|
}), {
|
|
7013
7013
|
method: 'post',
|
|
@@ -7046,7 +7046,7 @@ var update = /*#__PURE__*/function () {
|
|
|
7046
7046
|
utils_doesParamExist["default"]({
|
|
7047
7047
|
futureId: futureId
|
|
7048
7048
|
}, opts.hyperMediaEndpoint);
|
|
7049
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
7049
|
+
return _context9.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
7050
7050
|
path: pathFuture(futureId)
|
|
7051
7051
|
}), {
|
|
7052
7052
|
method: 'put',
|
|
@@ -7085,7 +7085,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
7085
7085
|
utils_doesParamExist["default"]({
|
|
7086
7086
|
futureId: futureId
|
|
7087
7087
|
}, opts.hyperMediaEndpoint);
|
|
7088
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7088
|
+
return _context10.abrupt("return", request(_objectSpread$W({}, opts, {
|
|
7089
7089
|
path: pathSendReceipt(futureId)
|
|
7090
7090
|
}), {
|
|
7091
7091
|
method: 'post',
|
|
@@ -7130,9 +7130,9 @@ var futures = /*#__PURE__*/Object.freeze({
|
|
|
7130
7130
|
sendReceipt: sendReceipt$1
|
|
7131
7131
|
});
|
|
7132
7132
|
|
|
7133
|
-
function ownKeys$
|
|
7133
|
+
function ownKeys$V(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7134
7134
|
|
|
7135
|
-
function _objectSpread$
|
|
7135
|
+
function _objectSpread$V(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$V(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$V(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7136
7136
|
|
|
7137
7137
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
7138
7138
|
var pathBusinessPatientHealthFundAccounts = function pathBusinessPatientHealthFundAccounts(businessId, patientId) {
|
|
@@ -7174,7 +7174,7 @@ var createMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7174
7174
|
utils_doesParamExist["default"]({
|
|
7175
7175
|
memberId: memberId
|
|
7176
7176
|
}, opts.hyperMediaEndpoint);
|
|
7177
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7177
|
+
return _context.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7178
7178
|
path: "" + pathMemberHealthFundAccounts(memberId)
|
|
7179
7179
|
}), {
|
|
7180
7180
|
method: 'post',
|
|
@@ -7215,7 +7215,7 @@ var createBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7215
7215
|
businessId: businessId,
|
|
7216
7216
|
patientId: patientId
|
|
7217
7217
|
}, opts.hyperMediaEndpoint);
|
|
7218
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7218
|
+
return _context2.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7219
7219
|
path: "" + pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
7220
7220
|
}), {
|
|
7221
7221
|
method: 'post',
|
|
@@ -7255,7 +7255,7 @@ var deleteMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7255
7255
|
memberId: memberId,
|
|
7256
7256
|
healthFundAccountId: healthFundAccountId
|
|
7257
7257
|
}, opts.hyperMediaEndpoint);
|
|
7258
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7258
|
+
return _context3.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7259
7259
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
7260
7260
|
}), {
|
|
7261
7261
|
method: 'delete'
|
|
@@ -7296,7 +7296,7 @@ var deleteBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7296
7296
|
patientId: patientId,
|
|
7297
7297
|
healthFundAccountId: healthFundAccountId
|
|
7298
7298
|
}, opts.hyperMediaEndpoint);
|
|
7299
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7299
|
+
return _context4.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7300
7300
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7301
7301
|
}), {
|
|
7302
7302
|
method: 'delete'
|
|
@@ -7334,7 +7334,7 @@ var getMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7334
7334
|
utils_doesParamExist["default"]({
|
|
7335
7335
|
memberId: memberId
|
|
7336
7336
|
}, opts.hyperMediaEndpoint);
|
|
7337
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7337
|
+
return _context5.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7338
7338
|
path: pathMemberHealthFundAccounts(memberId)
|
|
7339
7339
|
}), {
|
|
7340
7340
|
method: 'get',
|
|
@@ -7375,7 +7375,7 @@ var getBusinessPatientHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7375
7375
|
businessId: businessId,
|
|
7376
7376
|
patientId: patientId
|
|
7377
7377
|
}, opts.hyperMediaEndpoint);
|
|
7378
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
7378
|
+
return _context6.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7379
7379
|
path: pathBusinessPatientHealthFundAccounts(businessId, patientId)
|
|
7380
7380
|
}), {
|
|
7381
7381
|
method: 'get',
|
|
@@ -7415,7 +7415,7 @@ var getMembersHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7415
7415
|
memberId: memberId,
|
|
7416
7416
|
healthFundAccountId: healthFundAccountId
|
|
7417
7417
|
}, opts.hyperMediaEndpoint);
|
|
7418
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
7418
|
+
return _context7.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7419
7419
|
path: pathMemberHealthFundAccount(memberId, healthFundAccountId)
|
|
7420
7420
|
}), {
|
|
7421
7421
|
method: 'get'
|
|
@@ -7456,7 +7456,7 @@ var getBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7456
7456
|
patientId: patientId,
|
|
7457
7457
|
healthFundAccountId: healthFundAccountId
|
|
7458
7458
|
}, opts.hyperMediaEndpoint);
|
|
7459
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
7459
|
+
return _context8.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7460
7460
|
path: pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7461
7461
|
}), {
|
|
7462
7462
|
method: 'get'
|
|
@@ -7496,7 +7496,7 @@ var updateMembersHealthFundAccounts = /*#__PURE__*/function () {
|
|
|
7496
7496
|
memberId: memberId,
|
|
7497
7497
|
healthFundAccountId: healthFundAccountId
|
|
7498
7498
|
}, opts.hyperMediaEndpoint);
|
|
7499
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
7499
|
+
return _context9.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7500
7500
|
path: pathMemberHealthFundAccounts(memberId) + "/" + healthFundAccountId
|
|
7501
7501
|
}), {
|
|
7502
7502
|
method: 'put',
|
|
@@ -7539,7 +7539,7 @@ var updateBusinessPatientHealthFundAccount = /*#__PURE__*/function () {
|
|
|
7539
7539
|
patientId: patientId,
|
|
7540
7540
|
healthFundAccountId: healthFundAccountId
|
|
7541
7541
|
}, opts.hyperMediaEndpoint);
|
|
7542
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
7542
|
+
return _context10.abrupt("return", request(_objectSpread$V({}, opts, {
|
|
7543
7543
|
path: "" + pathBusinessPatientHealthFundAccount(businessId, patientId, healthFundAccountId)
|
|
7544
7544
|
}), {
|
|
7545
7545
|
method: 'put',
|
|
@@ -7573,9 +7573,9 @@ var healthFundAccounts = /*#__PURE__*/Object.freeze({
|
|
|
7573
7573
|
updateBusinessPatientHealthFundAccount: updateBusinessPatientHealthFundAccount
|
|
7574
7574
|
});
|
|
7575
7575
|
|
|
7576
|
-
function ownKeys$
|
|
7576
|
+
function ownKeys$U(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7577
7577
|
|
|
7578
|
-
function _objectSpread$
|
|
7578
|
+
function _objectSpread$U(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$U(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$U(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7579
7579
|
|
|
7580
7580
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
7581
7581
|
var pathBusinessPracticeStaffMemberHealthFundSettings = function pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId) {
|
|
@@ -7615,11 +7615,11 @@ var createHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7615
7615
|
utils_doesParamExist["default"]({
|
|
7616
7616
|
healthFundId: healthFundId
|
|
7617
7617
|
}, opts.hyperMediaEndpoint);
|
|
7618
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7618
|
+
return _context.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
7619
7619
|
path: "" + pathHealthFundSettings(healthFundId)
|
|
7620
7620
|
}), {
|
|
7621
7621
|
method: 'post',
|
|
7622
|
-
data: _objectSpread$
|
|
7622
|
+
data: _objectSpread$U({
|
|
7623
7623
|
enabled: true
|
|
7624
7624
|
}, body)
|
|
7625
7625
|
}));
|
|
@@ -7656,7 +7656,7 @@ var deleteHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7656
7656
|
utils_doesParamExist["default"]({
|
|
7657
7657
|
healthFundId: healthFundId
|
|
7658
7658
|
}, opts.hyperMediaEndpoint);
|
|
7659
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7659
|
+
return _context2.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
7660
7660
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
7661
7661
|
}), {
|
|
7662
7662
|
method: 'delete'
|
|
@@ -7701,7 +7701,7 @@ var getHealthFundSettings = /*#__PURE__*/function () {
|
|
|
7701
7701
|
utils_doesParamExist["default"]({
|
|
7702
7702
|
healthFundId: healthFundId
|
|
7703
7703
|
}, opts.hyperMediaEndpoint);
|
|
7704
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7704
|
+
return _context3.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
7705
7705
|
path: pathHealthFundSettings(healthFundId)
|
|
7706
7706
|
}), {
|
|
7707
7707
|
method: 'get',
|
|
@@ -7751,7 +7751,7 @@ var getBusinessPracticeStaffMemberHealthFundSettings = /*#__PURE__*/function ()
|
|
|
7751
7751
|
practiceId: practiceId,
|
|
7752
7752
|
staffId: staffId
|
|
7753
7753
|
}, opts.hyperMediaEndpoint);
|
|
7754
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7754
|
+
return _context4.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
7755
7755
|
path: pathBusinessPracticeStaffMemberHealthFundSettings(businessId, practiceId, staffId)
|
|
7756
7756
|
}), {
|
|
7757
7757
|
method: 'get',
|
|
@@ -7792,7 +7792,7 @@ var updateHealthFundSetting = /*#__PURE__*/function () {
|
|
|
7792
7792
|
healthFundId: healthFundId,
|
|
7793
7793
|
healthFundSettingId: healthFundSettingId
|
|
7794
7794
|
}, opts.hyperMediaEndpoint);
|
|
7795
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
7795
|
+
return _context5.abrupt("return", request(_objectSpread$U({}, opts, {
|
|
7796
7796
|
path: pathHealthFundSetting(healthFundId, healthFundSettingId)
|
|
7797
7797
|
}), {
|
|
7798
7798
|
method: 'put',
|
|
@@ -7821,9 +7821,9 @@ var healthFundSettings = /*#__PURE__*/Object.freeze({
|
|
|
7821
7821
|
updateHealthFundSetting: updateHealthFundSetting
|
|
7822
7822
|
});
|
|
7823
7823
|
|
|
7824
|
-
function ownKeys$
|
|
7824
|
+
function ownKeys$T(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7825
7825
|
|
|
7826
|
-
function _objectSpread$
|
|
7826
|
+
function _objectSpread$T(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$T(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$T(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7827
7827
|
var PATH__HEALTH_FUNDS = '/healthfunds'; // @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
|
|
7828
7828
|
|
|
7829
7829
|
var pathHealthFund = function pathHealthFund(healthFundId) {
|
|
@@ -7870,7 +7870,7 @@ var getHealthFundsForAccount = /*#__PURE__*/function () {
|
|
|
7870
7870
|
utils_doesParamExist["default"]({
|
|
7871
7871
|
accountId: accountId
|
|
7872
7872
|
}, opts.hyperMediaEndpoint);
|
|
7873
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
7873
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
7874
7874
|
path: pathHealthFundsByAccountId(accountId)
|
|
7875
7875
|
}), {
|
|
7876
7876
|
method: 'get'
|
|
@@ -7912,7 +7912,7 @@ var getBusinessHealthFunds = /*#__PURE__*/function () {
|
|
|
7912
7912
|
utils_doesParamExist["default"]({
|
|
7913
7913
|
businessId: businessId
|
|
7914
7914
|
}, opts.hyperMediaEndpoint);
|
|
7915
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
7915
|
+
return _context2.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
7916
7916
|
path: pathBusinessHealthFunds(businessId)
|
|
7917
7917
|
}), {
|
|
7918
7918
|
method: 'get',
|
|
@@ -7947,7 +7947,7 @@ var getHealthFunds = /*#__PURE__*/function () {
|
|
|
7947
7947
|
opts = {};
|
|
7948
7948
|
}
|
|
7949
7949
|
|
|
7950
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
7950
|
+
return _context3.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
7951
7951
|
path: PATH__HEALTH_FUNDS
|
|
7952
7952
|
}), {
|
|
7953
7953
|
method: 'get',
|
|
@@ -7991,7 +7991,7 @@ var getOrganisationHealthFunds = /*#__PURE__*/function () {
|
|
|
7991
7991
|
utils_doesParamExist["default"]({
|
|
7992
7992
|
organisationId: organisationId
|
|
7993
7993
|
}, opts.hyperMediaEndpoint);
|
|
7994
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
7994
|
+
return _context4.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
7995
7995
|
path: pathOrganisationHealthFunds(organisationId)
|
|
7996
7996
|
}), {
|
|
7997
7997
|
method: 'get',
|
|
@@ -8027,7 +8027,7 @@ var createHealthFund = /*#__PURE__*/function () {
|
|
|
8027
8027
|
opts = {};
|
|
8028
8028
|
}
|
|
8029
8029
|
|
|
8030
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
8030
|
+
return _context5.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
8031
8031
|
path: PATH__HEALTH_FUNDS
|
|
8032
8032
|
}), {
|
|
8033
8033
|
method: 'post',
|
|
@@ -8065,7 +8065,7 @@ var getHealthFund = /*#__PURE__*/function () {
|
|
|
8065
8065
|
utils_doesParamExist["default"]({
|
|
8066
8066
|
healthFundId: healthFundId
|
|
8067
8067
|
}, opts.hyperMediaEndpoint);
|
|
8068
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
8068
|
+
return _context6.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
8069
8069
|
path: pathHealthFund(healthFundId)
|
|
8070
8070
|
}), {
|
|
8071
8071
|
method: 'get'
|
|
@@ -8103,7 +8103,7 @@ var updateHealthFund = /*#__PURE__*/function () {
|
|
|
8103
8103
|
utils_doesParamExist["default"]({
|
|
8104
8104
|
healthFundId: healthFundId
|
|
8105
8105
|
}, opts.hyperMediaEndpoint);
|
|
8106
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
8106
|
+
return _context7.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
8107
8107
|
path: pathHealthFund(healthFundId)
|
|
8108
8108
|
}), {
|
|
8109
8109
|
method: 'put',
|
|
@@ -8141,7 +8141,7 @@ var deleteHealthFund = /*#__PURE__*/function () {
|
|
|
8141
8141
|
utils_doesParamExist["default"]({
|
|
8142
8142
|
healthFundId: healthFundId
|
|
8143
8143
|
}, opts.hyperMediaEndpoint);
|
|
8144
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
8144
|
+
return _context8.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
8145
8145
|
path: pathHealthFund(healthFundId)
|
|
8146
8146
|
}), {
|
|
8147
8147
|
method: 'delete'
|
|
@@ -8234,7 +8234,7 @@ var verifyMember = /*#__PURE__*/function () {
|
|
|
8234
8234
|
healthFundId: healthFundId,
|
|
8235
8235
|
body: body
|
|
8236
8236
|
}, opts.hyperMediaEndpoint);
|
|
8237
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
8237
|
+
return _context10.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
8238
8238
|
path: "" + pathHealthFundVerifyMember(healthFundId)
|
|
8239
8239
|
}), {
|
|
8240
8240
|
method: 'post',
|
|
@@ -8269,9 +8269,9 @@ var healthfunds = /*#__PURE__*/Object.freeze({
|
|
|
8269
8269
|
verifyMember: verifyMember
|
|
8270
8270
|
});
|
|
8271
8271
|
|
|
8272
|
-
function ownKeys$
|
|
8272
|
+
function ownKeys$S(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8273
8273
|
|
|
8274
|
-
function _objectSpread$
|
|
8274
|
+
function _objectSpread$S(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$S(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$S(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8275
8275
|
var pathVerifyClaimNumber$1 = function pathVerifyClaimNumber() {
|
|
8276
8276
|
return "/icare/verify";
|
|
8277
8277
|
};
|
|
@@ -8280,7 +8280,7 @@ var verifyClaimNumber$1 = function verifyClaimNumber(body, opts) {
|
|
|
8280
8280
|
opts = {};
|
|
8281
8281
|
}
|
|
8282
8282
|
|
|
8283
|
-
return request(_objectSpread$
|
|
8283
|
+
return request(_objectSpread$S({}, opts, {
|
|
8284
8284
|
path: pathVerifyClaimNumber$1()
|
|
8285
8285
|
}), {
|
|
8286
8286
|
method: 'post',
|
|
@@ -8294,9 +8294,9 @@ var icare = /*#__PURE__*/Object.freeze({
|
|
|
8294
8294
|
verifyClaimNumber: verifyClaimNumber$1
|
|
8295
8295
|
});
|
|
8296
8296
|
|
|
8297
|
-
function ownKeys$
|
|
8297
|
+
function ownKeys$R(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8298
8298
|
|
|
8299
|
-
function _objectSpread$
|
|
8299
|
+
function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$R(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8300
8300
|
var pathICDItems = '/icditems'; // @ts-expect-error TS(7006): Parameter 'modalityId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
8301
8301
|
|
|
8302
8302
|
var pathModalityICDItems = function pathModalityICDItems(modalityId) {
|
|
@@ -8325,7 +8325,7 @@ var getICDItems = /*#__PURE__*/function () {
|
|
|
8325
8325
|
};
|
|
8326
8326
|
}
|
|
8327
8327
|
|
|
8328
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8328
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
8329
8329
|
path: pathICDItems
|
|
8330
8330
|
}), {
|
|
8331
8331
|
method: 'get',
|
|
@@ -8370,7 +8370,7 @@ var getModalityICDItems = /*#__PURE__*/function () {
|
|
|
8370
8370
|
utils_doesParamExist["default"]({
|
|
8371
8371
|
modalityId: modalityId
|
|
8372
8372
|
}, opts.hyperMediaEndpoint);
|
|
8373
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8373
|
+
return _context2.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
8374
8374
|
path: pathModalityICDItems(modalityId)
|
|
8375
8375
|
}), {
|
|
8376
8376
|
method: 'get',
|
|
@@ -8396,9 +8396,9 @@ var icdItems = /*#__PURE__*/Object.freeze({
|
|
|
8396
8396
|
getModalityICDItems: getModalityICDItems
|
|
8397
8397
|
});
|
|
8398
8398
|
|
|
8399
|
-
function ownKeys$
|
|
8399
|
+
function ownKeys$Q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8400
8400
|
|
|
8401
|
-
function _objectSpread$
|
|
8401
|
+
function _objectSpread$Q(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$Q(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$Q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8402
8402
|
var pathInvoiceScansByBusinessId = function pathInvoiceScansByBusinessId(businessId) {
|
|
8403
8403
|
return "/businesses/" + businessId + "/invoicescans";
|
|
8404
8404
|
};
|
|
@@ -8428,7 +8428,7 @@ var createInvoiceScan = /*#__PURE__*/function () {
|
|
|
8428
8428
|
utils_doesParamExist["default"]({
|
|
8429
8429
|
businessId: businessId
|
|
8430
8430
|
}, opts.hyperMediaEndpoint);
|
|
8431
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
8431
|
+
return _context.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
8432
8432
|
path: pathInvoiceScansByBusinessId(businessId)
|
|
8433
8433
|
}), {
|
|
8434
8434
|
method: 'post',
|
|
@@ -8469,7 +8469,7 @@ var getInvoiceScan = /*#__PURE__*/function () {
|
|
|
8469
8469
|
businessId: businessId,
|
|
8470
8470
|
invoiceScanId: invoiceScanId
|
|
8471
8471
|
}, opts.hyperMediaEndpoint);
|
|
8472
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
8472
|
+
return _context2.abrupt("return", request(_objectSpread$Q({}, opts, {
|
|
8473
8473
|
path: pathInvoiceScanByInvoiceScanId(businessId, invoiceScanId)
|
|
8474
8474
|
}), {
|
|
8475
8475
|
method: 'get'
|
|
@@ -8502,7 +8502,7 @@ var getInvoiceScanUploadUrl = function getInvoiceScanUploadUrl(businessId, query
|
|
|
8502
8502
|
utils_doesParamExist["default"]({
|
|
8503
8503
|
businessId: businessId
|
|
8504
8504
|
}, opts.hyperMediaEndpoint);
|
|
8505
|
-
return request(_objectSpread$
|
|
8505
|
+
return request(_objectSpread$Q({}, opts, {
|
|
8506
8506
|
path: pathUploadUrlByBusinessId(businessId)
|
|
8507
8507
|
}), {
|
|
8508
8508
|
method: 'get',
|
|
@@ -8520,9 +8520,9 @@ var invoiceScans = /*#__PURE__*/Object.freeze({
|
|
|
8520
8520
|
getInvoiceScanUploadUrl: getInvoiceScanUploadUrl
|
|
8521
8521
|
});
|
|
8522
8522
|
|
|
8523
|
-
function ownKeys$
|
|
8523
|
+
function ownKeys$P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8524
8524
|
|
|
8525
|
-
function _objectSpread$
|
|
8525
|
+
function _objectSpread$P(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$P(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8526
8526
|
var PATH__JHCS = "/jointhealthcentres";
|
|
8527
8527
|
var pathJHC = function pathJHC(jhcId) {
|
|
8528
8528
|
return "/jointhealthcentres/" + jhcId;
|
|
@@ -8535,7 +8535,7 @@ var getJHC = function getJHC(jhcId, opts) {
|
|
|
8535
8535
|
utils_doesParamExist["default"]({
|
|
8536
8536
|
jhcId: jhcId
|
|
8537
8537
|
}, opts.hyperMediaEndpoint);
|
|
8538
|
-
return request(_objectSpread$
|
|
8538
|
+
return request(_objectSpread$P({}, opts, {
|
|
8539
8539
|
path: pathJHC(jhcId)
|
|
8540
8540
|
}), {
|
|
8541
8541
|
method: 'get'
|
|
@@ -8546,7 +8546,7 @@ var getJHCs = function getJHCs(query, opts) {
|
|
|
8546
8546
|
opts = {};
|
|
8547
8547
|
}
|
|
8548
8548
|
|
|
8549
|
-
return request(_objectSpread$
|
|
8549
|
+
return request(_objectSpread$P({}, opts, {
|
|
8550
8550
|
path: PATH__JHCS
|
|
8551
8551
|
}), {
|
|
8552
8552
|
method: 'get',
|
|
@@ -8562,9 +8562,9 @@ var jhcs = /*#__PURE__*/Object.freeze({
|
|
|
8562
8562
|
getJHCs: getJHCs
|
|
8563
8563
|
});
|
|
8564
8564
|
|
|
8565
|
-
function ownKeys$
|
|
8565
|
+
function ownKeys$O(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8566
8566
|
|
|
8567
|
-
function _objectSpread$
|
|
8567
|
+
function _objectSpread$O(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$O(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$O(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8568
8568
|
var pathBusinessKyc = function pathBusinessKyc(businessId) {
|
|
8569
8569
|
return "/businesses/" + businessId + "/kyc";
|
|
8570
8570
|
};
|
|
@@ -8621,7 +8621,7 @@ var getBusinessKyc = function getBusinessKyc(businessId, opts) {
|
|
|
8621
8621
|
utils_doesParamExist["default"]({
|
|
8622
8622
|
businessId: businessId
|
|
8623
8623
|
}, opts.hyperMediaEndpoint);
|
|
8624
|
-
return request(_objectSpread$
|
|
8624
|
+
return request(_objectSpread$O({}, opts, {
|
|
8625
8625
|
path: pathBusinessKyc(businessId)
|
|
8626
8626
|
}), {
|
|
8627
8627
|
method: 'get'
|
|
@@ -8643,7 +8643,7 @@ var getPracticeKyc = function getPracticeKyc(businessId, practiceId, opts) {
|
|
|
8643
8643
|
businessId: businessId,
|
|
8644
8644
|
practiceId: practiceId
|
|
8645
8645
|
}, opts.hyperMediaEndpoint);
|
|
8646
|
-
return request(_objectSpread$
|
|
8646
|
+
return request(_objectSpread$O({}, opts, {
|
|
8647
8647
|
path: pathPracticeKyc(businessId, practiceId)
|
|
8648
8648
|
}), {
|
|
8649
8649
|
method: 'get'
|
|
@@ -8664,7 +8664,7 @@ var updateBusinessKyc = function updateBusinessKyc(businessId, body, opts) {
|
|
|
8664
8664
|
utils_doesParamExist["default"]({
|
|
8665
8665
|
businessId: businessId
|
|
8666
8666
|
}, opts.hyperMediaEndpoint);
|
|
8667
|
-
return request(_objectSpread$
|
|
8667
|
+
return request(_objectSpread$O({}, opts, {
|
|
8668
8668
|
path: pathBusinessKyc(businessId)
|
|
8669
8669
|
}), {
|
|
8670
8670
|
method: 'put',
|
|
@@ -8690,7 +8690,7 @@ var getBusinessCbo = function getBusinessCbo(businessId, query, opts) {
|
|
|
8690
8690
|
utils_doesParamExist["default"]({
|
|
8691
8691
|
businessId: businessId
|
|
8692
8692
|
}, opts.hyperMediaEndpoint);
|
|
8693
|
-
return request(_objectSpread$
|
|
8693
|
+
return request(_objectSpread$O({}, opts, {
|
|
8694
8694
|
path: pathBusinessCbo(businessId)
|
|
8695
8695
|
}), {
|
|
8696
8696
|
method: 'get',
|
|
@@ -8711,7 +8711,7 @@ var verifyBusinessKyc = function verifyBusinessKyc(businessId, opts) {
|
|
|
8711
8711
|
utils_doesParamExist["default"]({
|
|
8712
8712
|
businessId: businessId
|
|
8713
8713
|
}, opts.hyperMediaEndpoint);
|
|
8714
|
-
return request(_objectSpread$
|
|
8714
|
+
return request(_objectSpread$O({}, opts, {
|
|
8715
8715
|
path: pathBusinessKycVerify(businessId)
|
|
8716
8716
|
}), {
|
|
8717
8717
|
method: 'post'
|
|
@@ -8733,7 +8733,7 @@ var verifyPracticeKyc = function verifyPracticeKyc(businessId, practiceId, body,
|
|
|
8733
8733
|
businessId: businessId,
|
|
8734
8734
|
practiceId: practiceId
|
|
8735
8735
|
}, opts.hyperMediaEndpoint);
|
|
8736
|
-
return request(_objectSpread$
|
|
8736
|
+
return request(_objectSpread$O({}, opts, {
|
|
8737
8737
|
path: pathPracticeKycVerify(businessId, practiceId)
|
|
8738
8738
|
}), {
|
|
8739
8739
|
method: 'post',
|
|
@@ -8754,7 +8754,7 @@ var unverifyBusinessKyc = function unverifyBusinessKyc(businessId, opts) {
|
|
|
8754
8754
|
utils_doesParamExist["default"]({
|
|
8755
8755
|
businessId: businessId
|
|
8756
8756
|
}, opts.hyperMediaEndpoint);
|
|
8757
|
-
return request(_objectSpread$
|
|
8757
|
+
return request(_objectSpread$O({}, opts, {
|
|
8758
8758
|
path: pathBusinessKycUnverify(businessId)
|
|
8759
8759
|
}), {
|
|
8760
8760
|
method: 'post'
|
|
@@ -8776,7 +8776,7 @@ var unverifyPracticeKyc = function unverifyPracticeKyc(businessId, practiceId, o
|
|
|
8776
8776
|
businessId: businessId,
|
|
8777
8777
|
practiceId: practiceId
|
|
8778
8778
|
}, opts.hyperMediaEndpoint);
|
|
8779
|
-
return request(_objectSpread$
|
|
8779
|
+
return request(_objectSpread$O({}, opts, {
|
|
8780
8780
|
path: pathPracticeKycUnverify(businessId, practiceId)
|
|
8781
8781
|
}), {
|
|
8782
8782
|
method: 'post'
|
|
@@ -8797,7 +8797,7 @@ var verifyBusinessBeneficialOwner = function verifyBusinessBeneficialOwner(busin
|
|
|
8797
8797
|
utils_doesParamExist["default"]({
|
|
8798
8798
|
businessId: businessId
|
|
8799
8799
|
}, opts.hyperMediaEndpoint);
|
|
8800
|
-
return request(_objectSpread$
|
|
8800
|
+
return request(_objectSpread$O({}, opts, {
|
|
8801
8801
|
path: pathBusinessVerifyBeneficialOwner(businessId)
|
|
8802
8802
|
}), {
|
|
8803
8803
|
method: 'post',
|
|
@@ -8819,7 +8819,7 @@ var requestVerificationSupport = function requestVerificationSupport(businessId,
|
|
|
8819
8819
|
utils_doesParamExist["default"]({
|
|
8820
8820
|
businessId: businessId
|
|
8821
8821
|
}, opts.hyperMediaEndpoint);
|
|
8822
|
-
return request(_objectSpread$
|
|
8822
|
+
return request(_objectSpread$O({}, opts, {
|
|
8823
8823
|
path: pathRequestVerificationSupport(businessId)
|
|
8824
8824
|
}), {
|
|
8825
8825
|
method: 'post',
|
|
@@ -8841,7 +8841,7 @@ var addBeneficialOwner = function addBeneficialOwner(businessId, body, opts) {
|
|
|
8841
8841
|
utils_doesParamExist["default"]({
|
|
8842
8842
|
businessId: businessId
|
|
8843
8843
|
}, opts.hyperMediaEndpoint);
|
|
8844
|
-
return request(_objectSpread$
|
|
8844
|
+
return request(_objectSpread$O({}, opts, {
|
|
8845
8845
|
path: pathBusinessAddBeneficialOwner(businessId)
|
|
8846
8846
|
}), {
|
|
8847
8847
|
method: 'post',
|
|
@@ -8864,7 +8864,7 @@ var removeBeneficialOwner = function removeBeneficialOwner(businessId, beneficia
|
|
|
8864
8864
|
utils_doesParamExist["default"]({
|
|
8865
8865
|
businessId: businessId
|
|
8866
8866
|
}, opts.hyperMediaEndpoint);
|
|
8867
|
-
return request(_objectSpread$
|
|
8867
|
+
return request(_objectSpread$O({}, opts, {
|
|
8868
8868
|
path: pathBusinessRemoveBeneficialOwner(businessId, beneficialOwnerId)
|
|
8869
8869
|
}), {
|
|
8870
8870
|
method: 'delete'
|
|
@@ -8884,7 +8884,7 @@ var resumeComplexVerification = function resumeComplexVerification(businessId, o
|
|
|
8884
8884
|
utils_doesParamExist["default"]({
|
|
8885
8885
|
businessId: businessId
|
|
8886
8886
|
}, opts.hyperMediaEndpoint);
|
|
8887
|
-
return request(_objectSpread$
|
|
8887
|
+
return request(_objectSpread$O({}, opts, {
|
|
8888
8888
|
path: pathResumeComplexVerification(businessId)
|
|
8889
8889
|
}), {
|
|
8890
8890
|
method: 'post'
|
|
@@ -8905,7 +8905,7 @@ var getTrustDocumentUploadUrl = function getTrustDocumentUploadUrl(businessId, q
|
|
|
8905
8905
|
utils_doesParamExist["default"]({
|
|
8906
8906
|
businessId: businessId
|
|
8907
8907
|
}, opts.hyperMediaEndpoint);
|
|
8908
|
-
return request(_objectSpread$
|
|
8908
|
+
return request(_objectSpread$O({}, opts, {
|
|
8909
8909
|
path: pathGetTrustDocumentUploadUrl(businessId)
|
|
8910
8910
|
}), {
|
|
8911
8911
|
method: 'get',
|
|
@@ -8923,7 +8923,7 @@ var getBusinessKycPin = function getBusinessKycPin(businessId, opts) {
|
|
|
8923
8923
|
opts = {};
|
|
8924
8924
|
}
|
|
8925
8925
|
|
|
8926
|
-
return request(_objectSpread$
|
|
8926
|
+
return request(_objectSpread$O({}, opts, {
|
|
8927
8927
|
path: pathBusinessKycPin(businessId)
|
|
8928
8928
|
}), {
|
|
8929
8929
|
method: 'get'
|
|
@@ -8963,9 +8963,9 @@ var kyc = /*#__PURE__*/Object.freeze({
|
|
|
8963
8963
|
getBusinessKycPin: getBusinessKycPin
|
|
8964
8964
|
});
|
|
8965
8965
|
|
|
8966
|
-
function ownKeys$
|
|
8966
|
+
function ownKeys$N(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8967
8967
|
|
|
8968
|
-
function _objectSpread$
|
|
8968
|
+
function _objectSpread$N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$N(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8969
8969
|
var pathLog = function pathLog() {
|
|
8970
8970
|
return "/logs";
|
|
8971
8971
|
};
|
|
@@ -8983,7 +8983,7 @@ var createLog = function createLog(body, opts) {
|
|
|
8983
8983
|
opts = {};
|
|
8984
8984
|
}
|
|
8985
8985
|
|
|
8986
|
-
return request(_objectSpread$
|
|
8986
|
+
return request(_objectSpread$N({}, opts, {
|
|
8987
8987
|
path: pathLog()
|
|
8988
8988
|
}), {
|
|
8989
8989
|
method: 'post',
|
|
@@ -9005,7 +9005,7 @@ var createBusinessLog = function createBusinessLog(businessId, body, opts) {
|
|
|
9005
9005
|
utils_doesParamExist["default"]({
|
|
9006
9006
|
businessId: businessId
|
|
9007
9007
|
});
|
|
9008
|
-
return request(_objectSpread$
|
|
9008
|
+
return request(_objectSpread$N({}, opts, {
|
|
9009
9009
|
path: pathBusinessLog(businessId)
|
|
9010
9010
|
}), {
|
|
9011
9011
|
method: 'post',
|
|
@@ -9021,9 +9021,9 @@ var logs = /*#__PURE__*/Object.freeze({
|
|
|
9021
9021
|
createBusinessLog: createBusinessLog
|
|
9022
9022
|
});
|
|
9023
9023
|
|
|
9024
|
-
function ownKeys$
|
|
9024
|
+
function ownKeys$M(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9025
9025
|
|
|
9026
|
-
function _objectSpread$
|
|
9026
|
+
function _objectSpread$M(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$M(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$M(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9027
9027
|
var pathBusinessMessageMappings = function pathBusinessMessageMappings(businessId) {
|
|
9028
9028
|
return "/businesses/" + businessId + "/messagemappings";
|
|
9029
9029
|
};
|
|
@@ -9042,7 +9042,7 @@ var getBusinessMessageMappings = function getBusinessMessageMappings(businessId,
|
|
|
9042
9042
|
utils_doesParamExist["default"]({
|
|
9043
9043
|
businessId: businessId
|
|
9044
9044
|
}, opts.hyperMediaEndpoint);
|
|
9045
|
-
return request(_objectSpread$
|
|
9045
|
+
return request(_objectSpread$M({}, opts, {
|
|
9046
9046
|
path: pathBusinessMessageMappings(businessId)
|
|
9047
9047
|
}), {
|
|
9048
9048
|
method: 'get',
|
|
@@ -9056,9 +9056,9 @@ var messageMappings = /*#__PURE__*/Object.freeze({
|
|
|
9056
9056
|
getBusinessMessageMappings: getBusinessMessageMappings
|
|
9057
9057
|
});
|
|
9058
9058
|
|
|
9059
|
-
function ownKeys$
|
|
9059
|
+
function ownKeys$L(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9060
9060
|
|
|
9061
|
-
function _objectSpread$
|
|
9061
|
+
function _objectSpread$L(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$L(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$L(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9062
9062
|
|
|
9063
9063
|
// @ts-expect-error TS(7006): Parameter 'healthFundId' implicitly has an 'any' t... Remove this comment to see the full error message
|
|
9064
9064
|
var pathMinionsForHealthFund = function pathMinionsForHealthFund(healthFundId) {
|
|
@@ -9097,12 +9097,12 @@ var createMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
9097
9097
|
triggerId: triggerId,
|
|
9098
9098
|
actionId: actionId
|
|
9099
9099
|
}, opts.hyperMediaEndpoint);
|
|
9100
|
-
data = _objectSpread$
|
|
9100
|
+
data = _objectSpread$L({
|
|
9101
9101
|
name: name,
|
|
9102
9102
|
triggerId: triggerId,
|
|
9103
9103
|
actionId: actionId
|
|
9104
9104
|
}, body);
|
|
9105
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9105
|
+
return _context.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
9106
9106
|
path: pathMinionsForHealthFund(healthFundId)
|
|
9107
9107
|
}), {
|
|
9108
9108
|
method: 'post',
|
|
@@ -9142,7 +9142,7 @@ var getMinionsForHealthFund = /*#__PURE__*/function () {
|
|
|
9142
9142
|
opts = {};
|
|
9143
9143
|
}
|
|
9144
9144
|
|
|
9145
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9145
|
+
return _context2.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
9146
9146
|
path: pathMinionsForHealthFund(healthFundId)
|
|
9147
9147
|
}), {
|
|
9148
9148
|
method: 'get',
|
|
@@ -9182,7 +9182,7 @@ var getMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
9182
9182
|
healthFundId: healthFundId,
|
|
9183
9183
|
minionId: minionId
|
|
9184
9184
|
}, opts.hyperMediaEndpoint);
|
|
9185
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9185
|
+
return _context3.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
9186
9186
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
9187
9187
|
}), {
|
|
9188
9188
|
method: 'get'
|
|
@@ -9222,7 +9222,7 @@ var updateMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
9222
9222
|
healthFundId: healthFundId,
|
|
9223
9223
|
minionId: minionId
|
|
9224
9224
|
}, opts.hyperMediaEndpoint);
|
|
9225
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
9225
|
+
return _context4.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
9226
9226
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
9227
9227
|
}), {
|
|
9228
9228
|
method: 'put',
|
|
@@ -9262,7 +9262,7 @@ var deleteMinionForHealthFund = /*#__PURE__*/function () {
|
|
|
9262
9262
|
healthFundId: healthFundId,
|
|
9263
9263
|
minionId: minionId
|
|
9264
9264
|
}, opts.hyperMediaEndpoint);
|
|
9265
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
9265
|
+
return _context5.abrupt("return", request(_objectSpread$L({}, opts, {
|
|
9266
9266
|
path: pathMinionForHealthFund(healthFundId, minionId)
|
|
9267
9267
|
}), {
|
|
9268
9268
|
method: 'delete'
|
|
@@ -9290,9 +9290,9 @@ var minions = /*#__PURE__*/Object.freeze({
|
|
|
9290
9290
|
deleteMinionForHealthFund: deleteMinionForHealthFund
|
|
9291
9291
|
});
|
|
9292
9292
|
|
|
9293
|
-
function ownKeys$
|
|
9293
|
+
function ownKeys$K(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9294
9294
|
|
|
9295
|
-
function _objectSpread$
|
|
9295
|
+
function _objectSpread$K(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$K(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$K(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9296
9296
|
var PATH__MODALITIES = '/modalities'; // @ts-expect-error TS(7006): Parameter 'modalityId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
9297
9297
|
|
|
9298
9298
|
var pathModality = function pathModality(modalityId) {
|
|
@@ -9325,7 +9325,7 @@ var getBusinessModalities = /*#__PURE__*/function () {
|
|
|
9325
9325
|
utils_doesParamExist["default"]({
|
|
9326
9326
|
businessId: businessId
|
|
9327
9327
|
}, opts.hyperMediaEndpoint);
|
|
9328
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9328
|
+
return _context.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
9329
9329
|
path: pathBusinessModalities(businessId)
|
|
9330
9330
|
}), {
|
|
9331
9331
|
method: 'get'
|
|
@@ -9365,7 +9365,7 @@ var getModalities = /*#__PURE__*/function () {
|
|
|
9365
9365
|
};
|
|
9366
9366
|
}
|
|
9367
9367
|
|
|
9368
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9368
|
+
return _context2.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
9369
9369
|
path: PATH__MODALITIES
|
|
9370
9370
|
}), {
|
|
9371
9371
|
method: 'get',
|
|
@@ -9402,7 +9402,7 @@ var getModality = /*#__PURE__*/function () {
|
|
|
9402
9402
|
};
|
|
9403
9403
|
}
|
|
9404
9404
|
|
|
9405
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
9405
|
+
return _context3.abrupt("return", request(_objectSpread$K({}, opts, {
|
|
9406
9406
|
path: pathModality(modalityId)
|
|
9407
9407
|
}), {
|
|
9408
9408
|
method: 'get'
|
|
@@ -9428,9 +9428,9 @@ var modalities = /*#__PURE__*/Object.freeze({
|
|
|
9428
9428
|
getModality: getModality
|
|
9429
9429
|
});
|
|
9430
9430
|
|
|
9431
|
-
function ownKeys$
|
|
9431
|
+
function ownKeys$J(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9432
9432
|
|
|
9433
|
-
function _objectSpread$
|
|
9433
|
+
function _objectSpread$J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$J(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9434
9434
|
var pathHealthFundDocumentNotes = function pathHealthFundDocumentNotes(healthFundId, documentId) {
|
|
9435
9435
|
return "/healthfunds/" + healthFundId + "/documents/" + documentId + "/notes";
|
|
9436
9436
|
};
|
|
@@ -9458,7 +9458,7 @@ var createHealthFundDocumentNote = function createHealthFundDocumentNote(healthF
|
|
|
9458
9458
|
healthFundId: healthFundId,
|
|
9459
9459
|
documentId: documentId
|
|
9460
9460
|
}, opts.hyperMediaEndpoint);
|
|
9461
|
-
return request(_objectSpread$
|
|
9461
|
+
return request(_objectSpread$J({}, opts, {
|
|
9462
9462
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
9463
9463
|
}), {
|
|
9464
9464
|
method: 'post',
|
|
@@ -9474,7 +9474,7 @@ var getHealthFundDocumentNotes = function getHealthFundDocumentNotes(healthFundI
|
|
|
9474
9474
|
healthFundId: healthFundId,
|
|
9475
9475
|
documentId: documentId
|
|
9476
9476
|
}, opts.hyperMediaEndpoint);
|
|
9477
|
-
return request(_objectSpread$
|
|
9477
|
+
return request(_objectSpread$J({}, opts, {
|
|
9478
9478
|
path: pathHealthFundDocumentNotes(healthFundId, documentId)
|
|
9479
9479
|
}), {
|
|
9480
9480
|
method: 'get'
|
|
@@ -9489,7 +9489,7 @@ var getHealthFundTransactionNote = function getHealthFundTransactionNote(healthF
|
|
|
9489
9489
|
healthFundId: healthFundId,
|
|
9490
9490
|
transactionId: transactionId
|
|
9491
9491
|
}, opts.hyperMediaEndpoint);
|
|
9492
|
-
return request(_objectSpread$
|
|
9492
|
+
return request(_objectSpread$J({}, opts, {
|
|
9493
9493
|
path: pathHealthFundTransactionNote(healthFundId, transactionId)
|
|
9494
9494
|
}), {
|
|
9495
9495
|
method: 'get'
|
|
@@ -9504,7 +9504,7 @@ var getHealthFundNote = function getHealthFundNote(healthFundId, noteId, opts) {
|
|
|
9504
9504
|
healthFundId: healthFundId,
|
|
9505
9505
|
noteId: noteId
|
|
9506
9506
|
}, opts.hyperMediaEndpoint);
|
|
9507
|
-
return request(_objectSpread$
|
|
9507
|
+
return request(_objectSpread$J({}, opts, {
|
|
9508
9508
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
9509
9509
|
}), {
|
|
9510
9510
|
method: 'get'
|
|
@@ -9518,7 +9518,7 @@ var getTransactionNotes = function getTransactionNotes(transactionId, query, opt
|
|
|
9518
9518
|
utils_doesParamExist["default"]({
|
|
9519
9519
|
transactionId: transactionId
|
|
9520
9520
|
}, opts.hyperMediaEndpoint);
|
|
9521
|
-
return request(_objectSpread$
|
|
9521
|
+
return request(_objectSpread$J({}, opts, {
|
|
9522
9522
|
path: pathTransactionNotes(transactionId)
|
|
9523
9523
|
}), {
|
|
9524
9524
|
method: 'get',
|
|
@@ -9534,7 +9534,7 @@ var getTransactionNote = function getTransactionNote(businessId, transactionId,
|
|
|
9534
9534
|
businessId: businessId,
|
|
9535
9535
|
transactionId: transactionId
|
|
9536
9536
|
}, opts.hyperMediaEndpoint);
|
|
9537
|
-
return request(_objectSpread$
|
|
9537
|
+
return request(_objectSpread$J({}, opts, {
|
|
9538
9538
|
path: pathGetTransactionNote(businessId, transactionId)
|
|
9539
9539
|
}), {
|
|
9540
9540
|
method: 'get'
|
|
@@ -9548,7 +9548,7 @@ var addTransactionNote = function addTransactionNote(transactionId, body, opts)
|
|
|
9548
9548
|
utils_doesParamExist["default"]({
|
|
9549
9549
|
transactionId: transactionId
|
|
9550
9550
|
}, opts.hyperMediaEndpoint);
|
|
9551
|
-
return request(_objectSpread$
|
|
9551
|
+
return request(_objectSpread$J({}, opts, {
|
|
9552
9552
|
path: pathTransactionNotes(transactionId)
|
|
9553
9553
|
}), {
|
|
9554
9554
|
method: 'post',
|
|
@@ -9564,7 +9564,7 @@ var deleteTransactionNote = function deleteTransactionNote(transactionId, transa
|
|
|
9564
9564
|
transactionId: transactionId,
|
|
9565
9565
|
transactionNoteId: transactionNoteId
|
|
9566
9566
|
}, opts.hyperMediaEndpoint);
|
|
9567
|
-
return request(_objectSpread$
|
|
9567
|
+
return request(_objectSpread$J({}, opts, {
|
|
9568
9568
|
path: pathTransactionNote(transactionId, transactionNoteId)
|
|
9569
9569
|
}), {
|
|
9570
9570
|
method: 'delete'
|
|
@@ -9579,7 +9579,7 @@ var updateHealthFundNote = function updateHealthFundNote(healthFundId, noteId, b
|
|
|
9579
9579
|
healthFundId: healthFundId,
|
|
9580
9580
|
noteId: noteId
|
|
9581
9581
|
}, opts.hyperMediaEndpoint);
|
|
9582
|
-
return request(_objectSpread$
|
|
9582
|
+
return request(_objectSpread$J({}, opts, {
|
|
9583
9583
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
9584
9584
|
}), {
|
|
9585
9585
|
method: 'put',
|
|
@@ -9595,7 +9595,7 @@ var deleteHealthFundNote = function deleteHealthFundNote(healthFundId, noteId, o
|
|
|
9595
9595
|
healthFundId: healthFundId,
|
|
9596
9596
|
noteId: noteId
|
|
9597
9597
|
}, opts.hyperMediaEndpoint);
|
|
9598
|
-
return request(_objectSpread$
|
|
9598
|
+
return request(_objectSpread$J({}, opts, {
|
|
9599
9599
|
path: pathHealthFundNote(healthFundId, noteId)
|
|
9600
9600
|
}), {
|
|
9601
9601
|
method: 'delete'
|
|
@@ -9622,9 +9622,9 @@ var notes = /*#__PURE__*/Object.freeze({
|
|
|
9622
9622
|
deleteHealthFundNote: deleteHealthFundNote
|
|
9623
9623
|
});
|
|
9624
9624
|
|
|
9625
|
-
function ownKeys$
|
|
9625
|
+
function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9626
9626
|
|
|
9627
|
-
function _objectSpread$
|
|
9627
|
+
function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9628
9628
|
var pathPracticeOnboardingApplications = function pathPracticeOnboardingApplications(practiceId) {
|
|
9629
9629
|
return "/practices/" + practiceId + "/onboardingapplications";
|
|
9630
9630
|
};
|
|
@@ -9655,7 +9655,7 @@ var submitPracticeOnboardingApplication = function submitPracticeOnboardingAppli
|
|
|
9655
9655
|
utils_doesParamExist["default"]({
|
|
9656
9656
|
practiceId: practiceId
|
|
9657
9657
|
});
|
|
9658
|
-
return request(_objectSpread$
|
|
9658
|
+
return request(_objectSpread$I({}, opts, {
|
|
9659
9659
|
path: pathPracticeOnboardingApplications(practiceId)
|
|
9660
9660
|
}), {
|
|
9661
9661
|
method: 'post',
|
|
@@ -9688,7 +9688,7 @@ var getBusinessPracticeOnboardingApplications = /*#__PURE__*/function () {
|
|
|
9688
9688
|
businessId: businessId,
|
|
9689
9689
|
practiceId: practiceId
|
|
9690
9690
|
}, opts.hyperMediaEndpoint);
|
|
9691
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9691
|
+
return _context.abrupt("return", request(_objectSpread$I({}, opts, {
|
|
9692
9692
|
path: pathBusinessPracticeOnboardingApplications(businessId, practiceId)
|
|
9693
9693
|
}), {
|
|
9694
9694
|
method: 'get',
|
|
@@ -9722,7 +9722,7 @@ var getBusinessOnboardingApplications = function getBusinessOnboardingApplicatio
|
|
|
9722
9722
|
utils_doesParamExist["default"]({
|
|
9723
9723
|
businessId: businessId
|
|
9724
9724
|
});
|
|
9725
|
-
return request(_objectSpread$
|
|
9725
|
+
return request(_objectSpread$I({}, opts, {
|
|
9726
9726
|
path: pathBusinessOnboardingApplications(businessId)
|
|
9727
9727
|
}), {
|
|
9728
9728
|
method: 'get',
|
|
@@ -9742,7 +9742,7 @@ var createBusinessOnboardingApplication = function createBusinessOnboardingAppli
|
|
|
9742
9742
|
utils_doesParamExist["default"]({
|
|
9743
9743
|
businessId: businessId
|
|
9744
9744
|
});
|
|
9745
|
-
return request(_objectSpread$
|
|
9745
|
+
return request(_objectSpread$I({}, opts, {
|
|
9746
9746
|
path: pathBusinessOnboardingApplications(businessId)
|
|
9747
9747
|
}), {
|
|
9748
9748
|
method: 'post',
|
|
@@ -9762,7 +9762,7 @@ var updateBusinessOnboardingApplication = function updateBusinessOnboardingAppli
|
|
|
9762
9762
|
utils_doesParamExist["default"]({
|
|
9763
9763
|
businessId: businessId
|
|
9764
9764
|
});
|
|
9765
|
-
return request(_objectSpread$
|
|
9765
|
+
return request(_objectSpread$I({}, opts, {
|
|
9766
9766
|
path: pathBusinessOnboardingApplications(businessId)
|
|
9767
9767
|
}), {
|
|
9768
9768
|
method: 'put',
|
|
@@ -9786,7 +9786,7 @@ var createProviderSetItemOnboardingApplication = function createProviderSetItemO
|
|
|
9786
9786
|
staffId: staffId,
|
|
9787
9787
|
providerSetItemId: providerSetItemId
|
|
9788
9788
|
});
|
|
9789
|
-
return request(_objectSpread$
|
|
9789
|
+
return request(_objectSpread$I({}, opts, {
|
|
9790
9790
|
path: pathProviderSetItemOnboardingApplications(businessId, staffId, providerSetItemId)
|
|
9791
9791
|
}), {
|
|
9792
9792
|
method: 'post',
|
|
@@ -9808,7 +9808,7 @@ var getProviderSetItemOnboardingApplication = function getProviderSetItemOnboard
|
|
|
9808
9808
|
utils_doesParamExist["default"]({
|
|
9809
9809
|
businessId: businessId
|
|
9810
9810
|
});
|
|
9811
|
-
return request(_objectSpread$
|
|
9811
|
+
return request(_objectSpread$I({}, opts, {
|
|
9812
9812
|
path: pathProviderSetItemOnboardingApplication(businessId, staffId, providerSetItemId)
|
|
9813
9813
|
}), {
|
|
9814
9814
|
method: 'get',
|
|
@@ -9832,9 +9832,9 @@ var onboardingApplications = /*#__PURE__*/Object.freeze({
|
|
|
9832
9832
|
getProviderSetItemOnboardingApplication: getProviderSetItemOnboardingApplication
|
|
9833
9833
|
});
|
|
9834
9834
|
|
|
9835
|
-
function ownKeys$
|
|
9835
|
+
function ownKeys$H(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9836
9836
|
|
|
9837
|
-
function _objectSpread$
|
|
9837
|
+
function _objectSpread$H(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$H(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$H(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9838
9838
|
var pathOnboardingRequest = function pathOnboardingRequest(onboardingRequestId) {
|
|
9839
9839
|
return "/onboardingrequests/" + onboardingRequestId;
|
|
9840
9840
|
};
|
|
@@ -9866,7 +9866,7 @@ var getOnboardingRequest = /*#__PURE__*/function () {
|
|
|
9866
9866
|
utils_doesParamExist["default"]({
|
|
9867
9867
|
onboardingRequestId: onboardingRequestId
|
|
9868
9868
|
}, opts.hyperMediaEndpoint);
|
|
9869
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
9869
|
+
return _context.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9870
9870
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
9871
9871
|
}), {
|
|
9872
9872
|
method: 'get'
|
|
@@ -9908,7 +9908,7 @@ var getBusinessOnboardingRequests = /*#__PURE__*/function () {
|
|
|
9908
9908
|
utils_doesParamExist["default"]({
|
|
9909
9909
|
businessId: businessId
|
|
9910
9910
|
}, opts.hyperMediaEndpoint);
|
|
9911
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
9911
|
+
return _context2.abrupt("return", request(_objectSpread$H({}, opts, {
|
|
9912
9912
|
path: pathBusinessOnboardingRequests(businessId)
|
|
9913
9913
|
}), {
|
|
9914
9914
|
method: 'get',
|
|
@@ -9940,7 +9940,7 @@ var createBusinessOnboardingRequest = function createBusinessOnboardingRequest(b
|
|
|
9940
9940
|
utils_doesParamExist["default"]({
|
|
9941
9941
|
businessId: businessId
|
|
9942
9942
|
});
|
|
9943
|
-
return request(_objectSpread$
|
|
9943
|
+
return request(_objectSpread$H({}, opts, {
|
|
9944
9944
|
path: pathBusinessOnboardingRequests(businessId)
|
|
9945
9945
|
}), {
|
|
9946
9946
|
method: 'post',
|
|
@@ -9960,7 +9960,7 @@ var submitOnboardingRequest = function submitOnboardingRequest(onboardingRequest
|
|
|
9960
9960
|
utils_doesParamExist["default"]({
|
|
9961
9961
|
onboardingRequestId: onboardingRequestId
|
|
9962
9962
|
});
|
|
9963
|
-
return request(_objectSpread$
|
|
9963
|
+
return request(_objectSpread$H({}, opts, {
|
|
9964
9964
|
path: pathOnboardingRequestSubmit(onboardingRequestId)
|
|
9965
9965
|
}), {
|
|
9966
9966
|
method: 'post',
|
|
@@ -9981,7 +9981,7 @@ var updateOnboardingRequestStep = function updateOnboardingRequestStep(onboardin
|
|
|
9981
9981
|
utils_doesParamExist["default"]({
|
|
9982
9982
|
onboardingRequestId: onboardingRequestId
|
|
9983
9983
|
});
|
|
9984
|
-
return request(_objectSpread$
|
|
9984
|
+
return request(_objectSpread$H({}, opts, {
|
|
9985
9985
|
path: pathOnboardingRequestOnboardingStep(onboardingRequestId, onboardingStepId)
|
|
9986
9986
|
}), {
|
|
9987
9987
|
method: 'put',
|
|
@@ -10001,7 +10001,7 @@ var deleteOnboardingRequest = function deleteOnboardingRequest(onboardingRequest
|
|
|
10001
10001
|
utils_doesParamExist["default"]({
|
|
10002
10002
|
onboardingRequestId: onboardingRequestId
|
|
10003
10003
|
});
|
|
10004
|
-
return request(_objectSpread$
|
|
10004
|
+
return request(_objectSpread$H({}, opts, {
|
|
10005
10005
|
path: pathOnboardingRequest(onboardingRequestId)
|
|
10006
10006
|
}), {
|
|
10007
10007
|
method: 'delete',
|
|
@@ -10023,9 +10023,9 @@ var onboardingRequests = /*#__PURE__*/Object.freeze({
|
|
|
10023
10023
|
deleteOnboardingRequest: deleteOnboardingRequest
|
|
10024
10024
|
});
|
|
10025
10025
|
|
|
10026
|
-
function ownKeys$
|
|
10026
|
+
function ownKeys$G(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10027
10027
|
|
|
10028
|
-
function _objectSpread$
|
|
10028
|
+
function _objectSpread$G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$G(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10029
10029
|
var PATH__OPS_DEPLOYMENTS = '/ops/deployments';
|
|
10030
10030
|
var PATH__OPS_SERVICES = '/ops/services';
|
|
10031
10031
|
var PATH__OPS_DECRTPT = '/ops/decrypt'; // @ts-expect-error TS(7006): Parameter 'deploymentId' implicitly has an 'any' t... Remove this comment to see the full error message
|
|
@@ -10059,13 +10059,13 @@ var createService = function createService(fullName, displayName, type, body, op
|
|
|
10059
10059
|
type: type
|
|
10060
10060
|
}, opts.hyperMediaEndpoint);
|
|
10061
10061
|
|
|
10062
|
-
var data = _objectSpread$
|
|
10062
|
+
var data = _objectSpread$G({
|
|
10063
10063
|
fullName: fullName,
|
|
10064
10064
|
displayName: displayName,
|
|
10065
10065
|
type: type
|
|
10066
10066
|
}, body);
|
|
10067
10067
|
|
|
10068
|
-
return request(_objectSpread$
|
|
10068
|
+
return request(_objectSpread$G({}, opts, {
|
|
10069
10069
|
path: PATH__OPS_SERVICES
|
|
10070
10070
|
}), {
|
|
10071
10071
|
method: 'post',
|
|
@@ -10086,7 +10086,7 @@ var deleteService = function deleteService(serviceId, opts) {
|
|
|
10086
10086
|
utils_doesParamExist["default"]({
|
|
10087
10087
|
serviceId: serviceId
|
|
10088
10088
|
}, opts.hyperMediaEndpoint);
|
|
10089
|
-
return request(_objectSpread$
|
|
10089
|
+
return request(_objectSpread$G({}, opts, {
|
|
10090
10090
|
path: pathOpsService(serviceId)
|
|
10091
10091
|
}), {
|
|
10092
10092
|
method: 'delete'
|
|
@@ -10106,7 +10106,7 @@ var deployService = function deployService(serviceId, opts) {
|
|
|
10106
10106
|
utils_doesParamExist["default"]({
|
|
10107
10107
|
serviceId: serviceId
|
|
10108
10108
|
}, opts.hyperMediaEndpoint);
|
|
10109
|
-
return request(_objectSpread$
|
|
10109
|
+
return request(_objectSpread$G({}, opts, {
|
|
10110
10110
|
path: PATH__OPS_DEPLOYMENTS
|
|
10111
10111
|
}), {
|
|
10112
10112
|
method: 'post',
|
|
@@ -10130,7 +10130,7 @@ var getDeployments = function getDeployments(query, opts) {
|
|
|
10130
10130
|
opts = {};
|
|
10131
10131
|
}
|
|
10132
10132
|
|
|
10133
|
-
return request(_objectSpread$
|
|
10133
|
+
return request(_objectSpread$G({}, opts, {
|
|
10134
10134
|
path: PATH__OPS_DEPLOYMENTS
|
|
10135
10135
|
}), {
|
|
10136
10136
|
method: 'get',
|
|
@@ -10151,7 +10151,7 @@ var getDeployment = function getDeployment(deploymentId, opts) {
|
|
|
10151
10151
|
utils_doesParamExist["default"]({
|
|
10152
10152
|
deploymentId: deploymentId
|
|
10153
10153
|
}, opts.hyperMediaEndpoint);
|
|
10154
|
-
return request(_objectSpread$
|
|
10154
|
+
return request(_objectSpread$G({}, opts, {
|
|
10155
10155
|
path: pathOpsDeployment(deploymentId)
|
|
10156
10156
|
}), {
|
|
10157
10157
|
method: 'get'
|
|
@@ -10172,7 +10172,7 @@ var getServices = function getServices(query, opts) {
|
|
|
10172
10172
|
opts = {};
|
|
10173
10173
|
}
|
|
10174
10174
|
|
|
10175
|
-
return request(_objectSpread$
|
|
10175
|
+
return request(_objectSpread$G({}, opts, {
|
|
10176
10176
|
path: PATH__OPS_SERVICES
|
|
10177
10177
|
}), {
|
|
10178
10178
|
method: 'get',
|
|
@@ -10193,7 +10193,7 @@ var getService = function getService(serviceId, opts) {
|
|
|
10193
10193
|
utils_doesParamExist["default"]({
|
|
10194
10194
|
serviceId: serviceId
|
|
10195
10195
|
}, opts.hyperMediaEndpoint);
|
|
10196
|
-
return request(_objectSpread$
|
|
10196
|
+
return request(_objectSpread$G({}, opts, {
|
|
10197
10197
|
path: pathOpsService(serviceId)
|
|
10198
10198
|
}), {
|
|
10199
10199
|
method: 'get'
|
|
@@ -10214,7 +10214,7 @@ var updateService = function updateService(serviceId, body, opts) {
|
|
|
10214
10214
|
utils_doesParamExist["default"]({
|
|
10215
10215
|
serviceId: serviceId
|
|
10216
10216
|
}, opts.hyperMediaEndpoint);
|
|
10217
|
-
return request(_objectSpread$
|
|
10217
|
+
return request(_objectSpread$G({}, opts, {
|
|
10218
10218
|
path: pathOpsService(serviceId)
|
|
10219
10219
|
}), {
|
|
10220
10220
|
method: 'put',
|
|
@@ -10236,7 +10236,7 @@ var decrypt = function decrypt(serviceId, body, opts) {
|
|
|
10236
10236
|
utils_doesParamExist["default"]({
|
|
10237
10237
|
serviceId: serviceId
|
|
10238
10238
|
}, opts.hyperMediaEndpoint);
|
|
10239
|
-
return request(_objectSpread$
|
|
10239
|
+
return request(_objectSpread$G({}, opts, {
|
|
10240
10240
|
path: PATH__OPS_DECRTPT
|
|
10241
10241
|
}), {
|
|
10242
10242
|
method: 'post',
|
|
@@ -10257,9 +10257,9 @@ var ops = /*#__PURE__*/Object.freeze({
|
|
|
10257
10257
|
decrypt: decrypt
|
|
10258
10258
|
});
|
|
10259
10259
|
|
|
10260
|
-
function ownKeys$
|
|
10260
|
+
function ownKeys$F(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10261
10261
|
|
|
10262
|
-
function _objectSpread$
|
|
10262
|
+
function _objectSpread$F(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$F(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10263
10263
|
var PATH__ORGANISATIONS = '/organisations';
|
|
10264
10264
|
/**
|
|
10265
10265
|
* Get organisations
|
|
@@ -10276,7 +10276,7 @@ var getOrganisations = function getOrganisations(query, opts) {
|
|
|
10276
10276
|
opts = {};
|
|
10277
10277
|
}
|
|
10278
10278
|
|
|
10279
|
-
return request(_objectSpread$
|
|
10279
|
+
return request(_objectSpread$F({}, opts, {
|
|
10280
10280
|
path: PATH__ORGANISATIONS
|
|
10281
10281
|
}), {
|
|
10282
10282
|
method: 'get',
|
|
@@ -10289,9 +10289,9 @@ var organisations = /*#__PURE__*/Object.freeze({
|
|
|
10289
10289
|
getOrganisations: getOrganisations
|
|
10290
10290
|
});
|
|
10291
10291
|
|
|
10292
|
-
function ownKeys$
|
|
10292
|
+
function ownKeys$E(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10293
10293
|
|
|
10294
|
-
function _objectSpread$
|
|
10294
|
+
function _objectSpread$E(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$E(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10295
10295
|
var PATH__PARTNERS = '/partners'; // @ts-expect-error TS(7006): Parameter 'partnerId' implicitly has an 'any' type... Remove this comment to see the full error message
|
|
10296
10296
|
|
|
10297
10297
|
var pathPartner = function pathPartner(partnerId) {
|
|
@@ -10333,7 +10333,7 @@ var getPartners = /*#__PURE__*/function () {
|
|
|
10333
10333
|
opts = {};
|
|
10334
10334
|
}
|
|
10335
10335
|
|
|
10336
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10336
|
+
return _context.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
10337
10337
|
path: PATH__PARTNERS
|
|
10338
10338
|
}), {
|
|
10339
10339
|
method: 'get',
|
|
@@ -10371,7 +10371,7 @@ var getPartner = /*#__PURE__*/function () {
|
|
|
10371
10371
|
utils_doesParamExist["default"]({
|
|
10372
10372
|
partnerId: partnerId
|
|
10373
10373
|
}, opts.hyperMediaEndpoint);
|
|
10374
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10374
|
+
return _context2.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
10375
10375
|
path: pathPartner(partnerId)
|
|
10376
10376
|
}), {
|
|
10377
10377
|
method: 'get'
|
|
@@ -10409,7 +10409,7 @@ var updatePartner = /*#__PURE__*/function () {
|
|
|
10409
10409
|
utils_doesParamExist["default"]({
|
|
10410
10410
|
partnerId: partnerId
|
|
10411
10411
|
}, opts.hyperMediaEndpoint);
|
|
10412
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
10412
|
+
return _context3.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
10413
10413
|
path: pathPartner(partnerId)
|
|
10414
10414
|
}), {
|
|
10415
10415
|
method: 'put',
|
|
@@ -10450,10 +10450,10 @@ var updatePartnerPractice = /*#__PURE__*/function () {
|
|
|
10450
10450
|
utils_doesParamExist["default"]({
|
|
10451
10451
|
partnerId: partnerId
|
|
10452
10452
|
}, opts.hyperMediaEndpoint);
|
|
10453
|
-
data = _objectSpread$
|
|
10453
|
+
data = _objectSpread$E({
|
|
10454
10454
|
fullNameId: fullNameId
|
|
10455
10455
|
}, body);
|
|
10456
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10456
|
+
return _context4.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
10457
10457
|
path: pathPartnerPractices(partnerId)
|
|
10458
10458
|
}), {
|
|
10459
10459
|
method: 'put',
|
|
@@ -10497,10 +10497,10 @@ var updatePartnerPracticeProviderData = /*#__PURE__*/function () {
|
|
|
10497
10497
|
practiceId: practiceId,
|
|
10498
10498
|
providerNumberId: providerNumberId
|
|
10499
10499
|
}, opts.hyperMediaEndpoint);
|
|
10500
|
-
data = _objectSpread$
|
|
10500
|
+
data = _objectSpread$E({
|
|
10501
10501
|
providerNumberId: providerNumberId
|
|
10502
10502
|
}, body);
|
|
10503
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10503
|
+
return _context5.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
10504
10504
|
path: pathPartnerPracticeProviderData(partnerId, practiceId)
|
|
10505
10505
|
}), {
|
|
10506
10506
|
method: 'put',
|
|
@@ -10543,7 +10543,7 @@ var verifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
10543
10543
|
utils_doesParamExist["default"]({
|
|
10544
10544
|
accountId: accountId
|
|
10545
10545
|
}, opts.hyperMediaEndpoint);
|
|
10546
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
10546
|
+
return _context6.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
10547
10547
|
path: pathPartnerAccount(accountId) + "/verify"
|
|
10548
10548
|
}), {
|
|
10549
10549
|
method: 'post',
|
|
@@ -10583,7 +10583,7 @@ var notifyPartnerAccount = /*#__PURE__*/function () {
|
|
|
10583
10583
|
utils_doesParamExist["default"]({
|
|
10584
10584
|
accountId: accountId
|
|
10585
10585
|
}, opts.hyperMediaEndpoint);
|
|
10586
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
10586
|
+
return _context7.abrupt("return", request(_objectSpread$E({}, opts, {
|
|
10587
10587
|
path: pathPartnerAccount(accountId) + "/notify"
|
|
10588
10588
|
}), {
|
|
10589
10589
|
method: 'post'
|
|
@@ -10613,9 +10613,9 @@ var partners = /*#__PURE__*/Object.freeze({
|
|
|
10613
10613
|
notifyPartnerAccount: notifyPartnerAccount
|
|
10614
10614
|
});
|
|
10615
10615
|
|
|
10616
|
-
function ownKeys$
|
|
10616
|
+
function ownKeys$D(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10617
10617
|
|
|
10618
|
-
function _objectSpread$
|
|
10618
|
+
function _objectSpread$D(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$D(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$D(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10619
10619
|
|
|
10620
10620
|
var pathBusinessPatients = function pathBusinessPatients(businessId) {
|
|
10621
10621
|
return "/businesses/" + businessId + "/patients";
|
|
@@ -10651,7 +10651,7 @@ var requestUpdatePatientPaymentMethod = function requestUpdatePatientPaymentMeth
|
|
|
10651
10651
|
businessId: businessId,
|
|
10652
10652
|
patientId: patientId
|
|
10653
10653
|
}, opts.hyperMediaEndpoint);
|
|
10654
|
-
return request(_objectSpread$
|
|
10654
|
+
return request(_objectSpread$D({}, opts, {
|
|
10655
10655
|
path: pathRequestUpdatePatientPaymentMethod(businessId, patientId)
|
|
10656
10656
|
}), {
|
|
10657
10657
|
method: 'post',
|
|
@@ -10678,7 +10678,7 @@ var createBusinessPatient = /*#__PURE__*/function () {
|
|
|
10678
10678
|
utils_doesParamExist["default"]({
|
|
10679
10679
|
businessId: businessId
|
|
10680
10680
|
}, opts.hyperMediaEndpoint);
|
|
10681
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10681
|
+
return _context.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
10682
10682
|
path: pathBusinessPatients(businessId)
|
|
10683
10683
|
}), {
|
|
10684
10684
|
method: 'post',
|
|
@@ -10721,7 +10721,7 @@ var getBusinessPatients = /*#__PURE__*/function () {
|
|
|
10721
10721
|
utils_doesParamExist["default"]({
|
|
10722
10722
|
businessId: businessId
|
|
10723
10723
|
}, opts.hyperMediaEndpoint);
|
|
10724
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
10724
|
+
return _context2.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
10725
10725
|
path: pathBusinessPatients(businessId)
|
|
10726
10726
|
}), {
|
|
10727
10727
|
method: 'get',
|
|
@@ -10760,7 +10760,7 @@ var getBusinessPatient = /*#__PURE__*/function () {
|
|
|
10760
10760
|
utils_doesParamExist["default"]({
|
|
10761
10761
|
businessId: businessId
|
|
10762
10762
|
}, opts.hyperMediaEndpoint);
|
|
10763
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
10763
|
+
return _context3.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
10764
10764
|
path: pathBusinessPatient(businessId, patientId)
|
|
10765
10765
|
}), {
|
|
10766
10766
|
method: 'get'
|
|
@@ -10799,7 +10799,7 @@ var getBusinessPatientByRefId = /*#__PURE__*/function () {
|
|
|
10799
10799
|
businessId: businessId,
|
|
10800
10800
|
refId: refId
|
|
10801
10801
|
}, opts.hyperMediaEndpoint);
|
|
10802
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
10802
|
+
return _context4.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
10803
10803
|
path: pathBusinessPatientByRefId(businessId, refId)
|
|
10804
10804
|
}), {
|
|
10805
10805
|
method: 'get'
|
|
@@ -10838,7 +10838,7 @@ var updateBusinessPatient = /*#__PURE__*/function () {
|
|
|
10838
10838
|
utils_doesParamExist["default"]({
|
|
10839
10839
|
businessId: businessId
|
|
10840
10840
|
}, opts.hyperMediaEndpoint);
|
|
10841
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
10841
|
+
return _context5.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
10842
10842
|
path: pathBusinessPatient(businessId, patientId)
|
|
10843
10843
|
}), {
|
|
10844
10844
|
method: 'put',
|
|
@@ -10877,7 +10877,7 @@ var deleteBusinessPatient = /*#__PURE__*/function () {
|
|
|
10877
10877
|
utils_doesParamExist["default"]({
|
|
10878
10878
|
businessId: businessId
|
|
10879
10879
|
}, opts.hyperMediaEndpoint);
|
|
10880
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
10880
|
+
return _context6.abrupt("return", request(_objectSpread$D({}, opts, {
|
|
10881
10881
|
path: pathBusinessPatient(businessId, patientId)
|
|
10882
10882
|
}), {
|
|
10883
10883
|
method: 'delete'
|
|
@@ -10907,9 +10907,9 @@ var patients = /*#__PURE__*/Object.freeze({
|
|
|
10907
10907
|
deleteBusinessPatient: deleteBusinessPatient
|
|
10908
10908
|
});
|
|
10909
10909
|
|
|
10910
|
-
function ownKeys$
|
|
10910
|
+
function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10911
10911
|
|
|
10912
|
-
function _objectSpread$
|
|
10912
|
+
function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$C(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10913
10913
|
var PATH__PAYMENTS = '/payments';
|
|
10914
10914
|
|
|
10915
10915
|
var pathAccountPaymentMethods = function pathAccountPaymentMethods(accountId) {
|
|
@@ -10974,7 +10974,7 @@ var createAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
10974
10974
|
nonce: nonce,
|
|
10975
10975
|
source: source
|
|
10976
10976
|
}, opts.hyperMediaEndpoint);
|
|
10977
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
10977
|
+
return _context.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
10978
10978
|
path: pathAccountPaymentMethods(accountId)
|
|
10979
10979
|
}), {
|
|
10980
10980
|
method: 'post',
|
|
@@ -11018,7 +11018,7 @@ var createBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
11018
11018
|
nonce: nonce,
|
|
11019
11019
|
source: source
|
|
11020
11020
|
}, opts.hyperMediaEndpoint);
|
|
11021
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
11021
|
+
return _context2.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11022
11022
|
path: pathBusinessPaymentMethods(businessId)
|
|
11023
11023
|
}), {
|
|
11024
11024
|
method: 'post',
|
|
@@ -11064,7 +11064,7 @@ var createBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
11064
11064
|
nonce: nonce,
|
|
11065
11065
|
source: source
|
|
11066
11066
|
}, opts.hyperMediaEndpoint);
|
|
11067
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
11067
|
+
return _context3.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11068
11068
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
11069
11069
|
}), {
|
|
11070
11070
|
method: 'post',
|
|
@@ -11108,7 +11108,7 @@ var deleteAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
11108
11108
|
accountId: accountId,
|
|
11109
11109
|
paymentMethodId: paymentMethodId
|
|
11110
11110
|
}, opts.hyperMediaEndpoint);
|
|
11111
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
11111
|
+
return _context4.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11112
11112
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
11113
11113
|
}), {
|
|
11114
11114
|
method: 'delete'
|
|
@@ -11148,7 +11148,7 @@ var deleteBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
11148
11148
|
businessId: businessId,
|
|
11149
11149
|
paymentMethodId: paymentMethodId
|
|
11150
11150
|
}, opts.hyperMediaEndpoint);
|
|
11151
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
11151
|
+
return _context5.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11152
11152
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
11153
11153
|
}), {
|
|
11154
11154
|
method: 'delete'
|
|
@@ -11190,7 +11190,7 @@ var deleteBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
11190
11190
|
patientId: patientId,
|
|
11191
11191
|
paymentMethodId: paymentMethodId
|
|
11192
11192
|
}, opts.hyperMediaEndpoint);
|
|
11193
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
11193
|
+
return _context6.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11194
11194
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
11195
11195
|
}), {
|
|
11196
11196
|
method: 'delete'
|
|
@@ -11228,7 +11228,7 @@ var getAccountPaymentMethods = /*#__PURE__*/function () {
|
|
|
11228
11228
|
utils_doesParamExist["default"]({
|
|
11229
11229
|
accountId: accountId
|
|
11230
11230
|
}, opts.hyperMediaEndpoint);
|
|
11231
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
11231
|
+
return _context7.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11232
11232
|
path: pathAccountPaymentMethods(accountId)
|
|
11233
11233
|
}), {
|
|
11234
11234
|
method: 'get'
|
|
@@ -11266,7 +11266,7 @@ var getBusinessPaymentMethods = /*#__PURE__*/function () {
|
|
|
11266
11266
|
utils_doesParamExist["default"]({
|
|
11267
11267
|
businessId: businessId
|
|
11268
11268
|
}, opts.hyperMediaEndpoint);
|
|
11269
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
11269
|
+
return _context8.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11270
11270
|
path: pathBusinessPaymentMethods(businessId)
|
|
11271
11271
|
}), {
|
|
11272
11272
|
method: 'get'
|
|
@@ -11305,7 +11305,7 @@ var getBusinessPatientPaymentMethods = /*#__PURE__*/function () {
|
|
|
11305
11305
|
businessId: businessId,
|
|
11306
11306
|
patientId: patientId
|
|
11307
11307
|
}, opts.hyperMediaEndpoint);
|
|
11308
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
11308
|
+
return _context9.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11309
11309
|
path: pathBusinessPatientPaymentMethods(businessId, patientId)
|
|
11310
11310
|
}), {
|
|
11311
11311
|
method: 'get'
|
|
@@ -11345,7 +11345,7 @@ var getBusinessPatientPaymentMethodsByRefId = /*#__PURE__*/function () {
|
|
|
11345
11345
|
businessId: businessId,
|
|
11346
11346
|
refId: refId
|
|
11347
11347
|
}, opts.hyperMediaEndpoint);
|
|
11348
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
11348
|
+
return _context10.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11349
11349
|
path: pathBusinessPatientPaymentMethodsByRefId(businessId, refId)
|
|
11350
11350
|
}), {
|
|
11351
11351
|
method: 'get'
|
|
@@ -11385,7 +11385,7 @@ var getAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
11385
11385
|
accountId: accountId,
|
|
11386
11386
|
paymentMethodId: paymentMethodId
|
|
11387
11387
|
}, opts.hyperMediaEndpoint);
|
|
11388
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
11388
|
+
return _context11.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11389
11389
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
11390
11390
|
}), {
|
|
11391
11391
|
method: 'get'
|
|
@@ -11425,7 +11425,7 @@ var getBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
11425
11425
|
businessId: businessId,
|
|
11426
11426
|
paymentMethodId: paymentMethodId
|
|
11427
11427
|
}, opts.hyperMediaEndpoint);
|
|
11428
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
11428
|
+
return _context12.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11429
11429
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
11430
11430
|
}), {
|
|
11431
11431
|
method: 'get'
|
|
@@ -11467,7 +11467,7 @@ var getBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
11467
11467
|
patientId: patientId,
|
|
11468
11468
|
paymentMethodId: paymentMethodId
|
|
11469
11469
|
}, opts.hyperMediaEndpoint);
|
|
11470
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
11470
|
+
return _context13.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11471
11471
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
11472
11472
|
}), {
|
|
11473
11473
|
method: 'get'
|
|
@@ -11507,7 +11507,7 @@ var getBusinessClientToken = /*#__PURE__*/function () {
|
|
|
11507
11507
|
businessId: businessId,
|
|
11508
11508
|
source: source
|
|
11509
11509
|
}, opts.hyperMediaEndpoint);
|
|
11510
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
11510
|
+
return _context14.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11511
11511
|
path: pathBusinessPaymentsClientTokens(businessId)
|
|
11512
11512
|
}), {
|
|
11513
11513
|
method: 'get',
|
|
@@ -11550,7 +11550,7 @@ var getBusinessPaymentClientToken = /*#__PURE__*/function () {
|
|
|
11550
11550
|
businessId: businessId,
|
|
11551
11551
|
patientId: patientId
|
|
11552
11552
|
}, opts.hyperMediaEndpoint);
|
|
11553
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
11553
|
+
return _context15.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11554
11554
|
path: pathBusinessPaymentClientToken(businessId, patientId)
|
|
11555
11555
|
}), {
|
|
11556
11556
|
method: 'get'
|
|
@@ -11588,7 +11588,7 @@ var getBusinessSalesClientToken = /*#__PURE__*/function () {
|
|
|
11588
11588
|
utils_doesParamExist["default"]({
|
|
11589
11589
|
businessId: businessId
|
|
11590
11590
|
}, opts.hyperMediaEndpoint);
|
|
11591
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
11591
|
+
return _context16.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11592
11592
|
path: pathBusinessSalesClientToken(businessId)
|
|
11593
11593
|
}), {
|
|
11594
11594
|
method: 'get'
|
|
@@ -11628,7 +11628,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
11628
11628
|
utils_doesParamExist["default"]({
|
|
11629
11629
|
source: source
|
|
11630
11630
|
}, opts.hyperMediaEndpoint);
|
|
11631
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
11631
|
+
return _context17.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11632
11632
|
path: PATH__PAYMENTS + "/clienttoken"
|
|
11633
11633
|
}), {
|
|
11634
11634
|
method: 'get',
|
|
@@ -11672,7 +11672,7 @@ var updateAccountPaymentMethod = /*#__PURE__*/function () {
|
|
|
11672
11672
|
accountId: accountId,
|
|
11673
11673
|
paymentMethodId: paymentMethodId
|
|
11674
11674
|
}, opts.hyperMediaEndpoint);
|
|
11675
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
11675
|
+
return _context18.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11676
11676
|
path: pathAccountPaymentMethod(accountId, paymentMethodId)
|
|
11677
11677
|
}), {
|
|
11678
11678
|
data: body,
|
|
@@ -11713,7 +11713,7 @@ var updateBusinessPaymentMethod = /*#__PURE__*/function () {
|
|
|
11713
11713
|
businessId: businessId,
|
|
11714
11714
|
paymentMethodId: paymentMethodId
|
|
11715
11715
|
}, opts.hyperMediaEndpoint);
|
|
11716
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
11716
|
+
return _context19.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11717
11717
|
path: pathBusinessPaymentMethod(businessId, paymentMethodId)
|
|
11718
11718
|
}), {
|
|
11719
11719
|
data: body,
|
|
@@ -11755,7 +11755,7 @@ var updateBusinessPatientPaymentMethod = /*#__PURE__*/function () {
|
|
|
11755
11755
|
patientId: patientId,
|
|
11756
11756
|
paymentMethodId: paymentMethodId
|
|
11757
11757
|
}, opts.hyperMediaEndpoint);
|
|
11758
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
11758
|
+
return _context20.abrupt("return", request(_objectSpread$C({}, opts, {
|
|
11759
11759
|
path: pathBusinessPatientPaymentMethod(businessId, patientId, paymentMethodId)
|
|
11760
11760
|
}), {
|
|
11761
11761
|
data: body,
|
|
@@ -11916,7 +11916,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
11916
11916
|
throw new Error(error);
|
|
11917
11917
|
|
|
11918
11918
|
case 41:
|
|
11919
|
-
return _context21.abrupt("return", _objectSpread$
|
|
11919
|
+
return _context21.abrupt("return", _objectSpread$C({}, clientToken, {
|
|
11920
11920
|
nonce: clientToken.clientToken,
|
|
11921
11921
|
sourceResponse: updateSessionResponse
|
|
11922
11922
|
}));
|
|
@@ -11986,7 +11986,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
11986
11986
|
|
|
11987
11987
|
case 54:
|
|
11988
11988
|
paymentData = _context21.sent;
|
|
11989
|
-
return _context21.abrupt("return", _objectSpread$
|
|
11989
|
+
return _context21.abrupt("return", _objectSpread$C({}, clientToken, {
|
|
11990
11990
|
nonce: paymentData.paymentMethodData.tokenizationData.token,
|
|
11991
11991
|
sourceResponse: paymentData
|
|
11992
11992
|
}));
|
|
@@ -12009,7 +12009,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
12009
12009
|
}
|
|
12010
12010
|
};
|
|
12011
12011
|
applePayInstance = null;
|
|
12012
|
-
return _context21.abrupt("return", _objectSpread$
|
|
12012
|
+
return _context21.abrupt("return", _objectSpread$C({}, clientToken, {
|
|
12013
12013
|
applePayInstance: applePayInstance,
|
|
12014
12014
|
canMakeApplePayment: canMakeApplePayment,
|
|
12015
12015
|
paymentRequest: paymentRequest
|
|
@@ -12056,7 +12056,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
12056
12056
|
|
|
12057
12057
|
case 70:
|
|
12058
12058
|
sourceResponse = _context21.sent;
|
|
12059
|
-
return _context21.abrupt("return", _objectSpread$
|
|
12059
|
+
return _context21.abrupt("return", _objectSpread$C({}, clientToken, {
|
|
12060
12060
|
nonce: (_sourceResponse = sourceResponse) == null ? void 0 : (_sourceResponse$credi = _sourceResponse.creditCards) == null ? void 0 : (_sourceResponse$credi2 = _sourceResponse$credi[0]) == null ? void 0 : _sourceResponse$credi2.nonce,
|
|
12061
12061
|
sourceResponse: sourceResponse
|
|
12062
12062
|
}));
|
|
@@ -12113,7 +12113,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
12113
12113
|
|
|
12114
12114
|
case 89:
|
|
12115
12115
|
sourceResponse = _context21.sent;
|
|
12116
|
-
return _context21.abrupt("return", _objectSpread$
|
|
12116
|
+
return _context21.abrupt("return", _objectSpread$C({}, clientToken, {
|
|
12117
12117
|
nonce: sourceResponse.nonce,
|
|
12118
12118
|
sourceResponse: sourceResponse
|
|
12119
12119
|
}));
|
|
@@ -12142,7 +12142,7 @@ var getNonce = /*#__PURE__*/function () {
|
|
|
12142
12142
|
|
|
12143
12143
|
case 98:
|
|
12144
12144
|
_canMakeApplePayment = _context21.sent;
|
|
12145
|
-
return _context21.abrupt("return", _objectSpread$
|
|
12145
|
+
return _context21.abrupt("return", _objectSpread$C({}, clientToken, {
|
|
12146
12146
|
applePayInstance: _applePayInstance,
|
|
12147
12147
|
canMakeApplePayment: _canMakeApplePayment,
|
|
12148
12148
|
paymentRequest: _paymentRequest
|
|
@@ -12190,9 +12190,9 @@ var payments = /*#__PURE__*/Object.freeze({
|
|
|
12190
12190
|
getNonce: getNonce
|
|
12191
12191
|
});
|
|
12192
12192
|
|
|
12193
|
-
function ownKeys$
|
|
12193
|
+
function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12194
12194
|
|
|
12195
|
-
function _objectSpread$
|
|
12195
|
+
function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$B(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12196
12196
|
|
|
12197
12197
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
12198
12198
|
var pathBusinessPmsPractices = function pathBusinessPmsPractices(businessId) {
|
|
@@ -12233,7 +12233,7 @@ var getBusinessPMSPractices = /*#__PURE__*/function () {
|
|
|
12233
12233
|
utils_doesParamExist["default"]({
|
|
12234
12234
|
businessId: businessId
|
|
12235
12235
|
}, opts.hyperMediaEndpoint);
|
|
12236
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12236
|
+
return _context.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
12237
12237
|
path: pathBusinessPmsPractices(businessId)
|
|
12238
12238
|
}), {
|
|
12239
12239
|
method: 'get',
|
|
@@ -12276,7 +12276,7 @@ var getBusinessPMSServices = /*#__PURE__*/function () {
|
|
|
12276
12276
|
utils_doesParamExist["default"]({
|
|
12277
12277
|
businessId: businessId
|
|
12278
12278
|
}, opts.hyperMediaEndpoint);
|
|
12279
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12279
|
+
return _context2.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
12280
12280
|
path: pathBusinessPmsServices(businessId)
|
|
12281
12281
|
}), {
|
|
12282
12282
|
method: 'get',
|
|
@@ -12319,7 +12319,7 @@ var getBusinessPMSStaffMembers = /*#__PURE__*/function () {
|
|
|
12319
12319
|
utils_doesParamExist["default"]({
|
|
12320
12320
|
businessId: businessId
|
|
12321
12321
|
}, opts.hyperMediaEndpoint);
|
|
12322
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12322
|
+
return _context3.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
12323
12323
|
path: pathBusinessPmsStaffMembers(businessId)
|
|
12324
12324
|
}), {
|
|
12325
12325
|
method: 'get',
|
|
@@ -12358,7 +12358,7 @@ var importBusinessPMSPractice = /*#__PURE__*/function () {
|
|
|
12358
12358
|
utils_doesParamExist["default"]({
|
|
12359
12359
|
businessId: businessId
|
|
12360
12360
|
}, opts.hyperMediaEndpoint);
|
|
12361
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12361
|
+
return _context4.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
12362
12362
|
path: pathBusinessPmsPractices(businessId) + "/import"
|
|
12363
12363
|
}), {
|
|
12364
12364
|
method: 'post',
|
|
@@ -12397,7 +12397,7 @@ var importBusinessPMSService = /*#__PURE__*/function () {
|
|
|
12397
12397
|
utils_doesParamExist["default"]({
|
|
12398
12398
|
businessId: businessId
|
|
12399
12399
|
}, opts.hyperMediaEndpoint);
|
|
12400
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
12400
|
+
return _context5.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
12401
12401
|
path: pathBusinessPmsServices(businessId) + "/import"
|
|
12402
12402
|
}), {
|
|
12403
12403
|
method: 'post',
|
|
@@ -12436,7 +12436,7 @@ var importBusinessPMSStaffMember = /*#__PURE__*/function () {
|
|
|
12436
12436
|
utils_doesParamExist["default"]({
|
|
12437
12437
|
businessId: businessId
|
|
12438
12438
|
}, opts.hyperMediaEndpoint);
|
|
12439
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
12439
|
+
return _context6.abrupt("return", request(_objectSpread$B({}, opts, {
|
|
12440
12440
|
path: pathBusinessPmsStaffMembers(businessId) + "/import"
|
|
12441
12441
|
}), {
|
|
12442
12442
|
method: 'post',
|
|
@@ -12466,9 +12466,9 @@ var pms = /*#__PURE__*/Object.freeze({
|
|
|
12466
12466
|
importBusinessPMSStaffMember: importBusinessPMSStaffMember
|
|
12467
12467
|
});
|
|
12468
12468
|
|
|
12469
|
-
function ownKeys$
|
|
12469
|
+
function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12470
12470
|
|
|
12471
|
-
function _objectSpread$
|
|
12471
|
+
function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$A(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12472
12472
|
var pathLinkPracticeProfile = function pathLinkPracticeProfile(practiceProfileId) {
|
|
12473
12473
|
return "/practiceprofiles/" + practiceProfileId + "/link";
|
|
12474
12474
|
};
|
|
@@ -12489,7 +12489,7 @@ var getOrganisationPracticeProfiles = function getOrganisationPracticeProfiles(o
|
|
|
12489
12489
|
utils_doesParamExist["default"]({
|
|
12490
12490
|
organisationId: organisationId
|
|
12491
12491
|
}, opts.hyperMediaEndpoint);
|
|
12492
|
-
return request(_objectSpread$
|
|
12492
|
+
return request(_objectSpread$A({}, opts, {
|
|
12493
12493
|
path: pathOrganisationPracticeProfiles(organisationId)
|
|
12494
12494
|
}), {
|
|
12495
12495
|
method: 'get',
|
|
@@ -12504,7 +12504,7 @@ var getPracticeProfile = function getPracticeProfile(practiceProfileId, opts) {
|
|
|
12504
12504
|
utils_doesParamExist["default"]({
|
|
12505
12505
|
practiceProfileId: practiceProfileId
|
|
12506
12506
|
}, opts.hyperMediaEndpoint);
|
|
12507
|
-
return request(_objectSpread$
|
|
12507
|
+
return request(_objectSpread$A({}, opts, {
|
|
12508
12508
|
path: pathPracticeProfile(practiceProfileId)
|
|
12509
12509
|
}), {
|
|
12510
12510
|
method: 'get'
|
|
@@ -12522,7 +12522,7 @@ var linkPracticeProfile = function linkPracticeProfile(practiceProfileId, practi
|
|
|
12522
12522
|
var body = {
|
|
12523
12523
|
practiceId: practiceId
|
|
12524
12524
|
};
|
|
12525
|
-
return request(_objectSpread$
|
|
12525
|
+
return request(_objectSpread$A({}, opts, {
|
|
12526
12526
|
path: pathLinkPracticeProfile(practiceProfileId)
|
|
12527
12527
|
}), {
|
|
12528
12528
|
method: 'put',
|
|
@@ -12537,7 +12537,7 @@ var unlinkPracticeProfile = function unlinkPracticeProfile(practiceProfileId, op
|
|
|
12537
12537
|
utils_doesParamExist["default"]({
|
|
12538
12538
|
practiceProfileId: practiceProfileId
|
|
12539
12539
|
}, opts.hyperMediaEndpoint);
|
|
12540
|
-
return request(_objectSpread$
|
|
12540
|
+
return request(_objectSpread$A({}, opts, {
|
|
12541
12541
|
path: pathUnlinkPracticeProfile(practiceProfileId)
|
|
12542
12542
|
}), {
|
|
12543
12543
|
method: 'put'
|
|
@@ -12556,9 +12556,9 @@ var practiceProfiles = /*#__PURE__*/Object.freeze({
|
|
|
12556
12556
|
unlinkPracticeProfile: unlinkPracticeProfile
|
|
12557
12557
|
});
|
|
12558
12558
|
|
|
12559
|
-
function ownKeys$
|
|
12559
|
+
function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12560
12560
|
|
|
12561
|
-
function _objectSpread$
|
|
12561
|
+
function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12562
12562
|
|
|
12563
12563
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
12564
12564
|
var pathBusinessFormPractices = function pathBusinessFormPractices(businessId, formId) {
|
|
@@ -12629,7 +12629,7 @@ var createBusinessPractice = /*#__PURE__*/function () {
|
|
|
12629
12629
|
utils_doesParamExist["default"]({
|
|
12630
12630
|
businessId: businessId
|
|
12631
12631
|
}, opts.hyperMediaEndpoint);
|
|
12632
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12632
|
+
return _context.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12633
12633
|
path: pathBusinessPractices(businessId)
|
|
12634
12634
|
}), {
|
|
12635
12635
|
method: 'post',
|
|
@@ -12668,7 +12668,7 @@ var createOrganisationPractice = /*#__PURE__*/function () {
|
|
|
12668
12668
|
utils_doesParamExist["default"]({
|
|
12669
12669
|
organisationId: organisationId
|
|
12670
12670
|
}, opts.hyperMediaEndpoint);
|
|
12671
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12671
|
+
return _context2.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12672
12672
|
path: pathOrganisationPractices(organisationId)
|
|
12673
12673
|
}), {
|
|
12674
12674
|
method: 'post',
|
|
@@ -12708,7 +12708,7 @@ var deleteBusinessPractice = /*#__PURE__*/function () {
|
|
|
12708
12708
|
businessId: businessId,
|
|
12709
12709
|
practiceId: practiceId
|
|
12710
12710
|
}, opts.hyperMediaEndpoint);
|
|
12711
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12711
|
+
return _context3.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12712
12712
|
path: pathBusinessPractice(businessId, practiceId)
|
|
12713
12713
|
}), {
|
|
12714
12714
|
method: 'delete'
|
|
@@ -12747,7 +12747,7 @@ var deleteOrganisationPractice = /*#__PURE__*/function () {
|
|
|
12747
12747
|
organisationId: organisationId,
|
|
12748
12748
|
practiceId: practiceId
|
|
12749
12749
|
}, opts.hyperMediaEndpoint);
|
|
12750
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12750
|
+
return _context4.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12751
12751
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
12752
12752
|
}), {
|
|
12753
12753
|
method: 'delete'
|
|
@@ -12786,7 +12786,7 @@ var getBusinessPractice = /*#__PURE__*/function () {
|
|
|
12786
12786
|
businessId: businessId,
|
|
12787
12787
|
practiceId: practiceId
|
|
12788
12788
|
}, opts.hyperMediaEndpoint);
|
|
12789
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
12789
|
+
return _context5.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12790
12790
|
path: pathBusinessPractice(businessId, practiceId)
|
|
12791
12791
|
}), {
|
|
12792
12792
|
method: 'get'
|
|
@@ -12828,7 +12828,7 @@ var getBusinessPractices = /*#__PURE__*/function () {
|
|
|
12828
12828
|
utils_doesParamExist["default"]({
|
|
12829
12829
|
businessId: businessId
|
|
12830
12830
|
}, opts.hyperMediaEndpoint);
|
|
12831
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
12831
|
+
return _context6.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12832
12832
|
path: pathBusinessPractices(businessId)
|
|
12833
12833
|
}), {
|
|
12834
12834
|
method: 'get',
|
|
@@ -12873,7 +12873,7 @@ var getBusinessFormPractices = /*#__PURE__*/function () {
|
|
|
12873
12873
|
businessId: businessId,
|
|
12874
12874
|
formId: formId
|
|
12875
12875
|
}, opts.hyperMediaEndpoint);
|
|
12876
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
12876
|
+
return _context7.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12877
12877
|
path: pathBusinessFormPractices(businessId, formId)
|
|
12878
12878
|
}), {
|
|
12879
12879
|
method: 'get',
|
|
@@ -12915,7 +12915,7 @@ var getBusinessPracticeUploadUrl = /*#__PURE__*/function () {
|
|
|
12915
12915
|
practiceId: practiceId,
|
|
12916
12916
|
query: query
|
|
12917
12917
|
}, opts.hyperMediaEndpoint);
|
|
12918
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
12918
|
+
return _context8.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12919
12919
|
path: pathBusinessPracticeUploadUrl(businessId, practiceId)
|
|
12920
12920
|
}), {
|
|
12921
12921
|
method: 'get',
|
|
@@ -12959,7 +12959,7 @@ var getBusinessStaffPractices = /*#__PURE__*/function () {
|
|
|
12959
12959
|
businessId: businessId,
|
|
12960
12960
|
staffId: staffId
|
|
12961
12961
|
}, opts.hyperMediaEndpoint);
|
|
12962
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
12962
|
+
return _context9.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
12963
12963
|
path: pathBusinessStaffPractices(businessId, staffId)
|
|
12964
12964
|
}), {
|
|
12965
12965
|
method: 'get',
|
|
@@ -13002,7 +13002,7 @@ var getOrganisationPractices = /*#__PURE__*/function () {
|
|
|
13002
13002
|
utils_doesParamExist["default"]({
|
|
13003
13003
|
organisationId: organisationId
|
|
13004
13004
|
}, opts.hyperMediaEndpoint);
|
|
13005
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13005
|
+
return _context10.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
13006
13006
|
path: pathOrganisationPractices(organisationId)
|
|
13007
13007
|
}), {
|
|
13008
13008
|
method: 'get',
|
|
@@ -13041,7 +13041,7 @@ var getPractice = /*#__PURE__*/function () {
|
|
|
13041
13041
|
utils_doesParamExist["default"]({
|
|
13042
13042
|
practiceId: practiceId
|
|
13043
13043
|
}, opts.hyperMediaEndpoint);
|
|
13044
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
13044
|
+
return _context11.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
13045
13045
|
path: pathPractice(practiceId)
|
|
13046
13046
|
}), {
|
|
13047
13047
|
method: 'get'
|
|
@@ -13070,7 +13070,7 @@ var requestClaimPractice = function requestClaimPractice(practiceId, opts) {
|
|
|
13070
13070
|
opts = {};
|
|
13071
13071
|
}
|
|
13072
13072
|
|
|
13073
|
-
return request(_objectSpread$
|
|
13073
|
+
return request(_objectSpread$z({}, opts, {
|
|
13074
13074
|
path: pathPractice(practiceId) + "/verify/request"
|
|
13075
13075
|
}), {
|
|
13076
13076
|
method: 'post'
|
|
@@ -13088,7 +13088,7 @@ var requestToAddProviderToPractice = function requestToAddProviderToPractice(pra
|
|
|
13088
13088
|
opts = {};
|
|
13089
13089
|
}
|
|
13090
13090
|
|
|
13091
|
-
return request(_objectSpread$
|
|
13091
|
+
return request(_objectSpread$z({}, opts, {
|
|
13092
13092
|
path: pathPractice(practiceId) + "/access/request"
|
|
13093
13093
|
}), {
|
|
13094
13094
|
method: 'post',
|
|
@@ -13112,7 +13112,7 @@ var searchOnboardingPractices = function searchOnboardingPractices(query, opts)
|
|
|
13112
13112
|
opts = {};
|
|
13113
13113
|
}
|
|
13114
13114
|
|
|
13115
|
-
return request(_objectSpread$
|
|
13115
|
+
return request(_objectSpread$z({}, opts, {
|
|
13116
13116
|
path: pathOnboardingPractices()
|
|
13117
13117
|
}), {
|
|
13118
13118
|
method: 'get',
|
|
@@ -13141,7 +13141,7 @@ var updateBusinessPractice = /*#__PURE__*/function () {
|
|
|
13141
13141
|
businessId: businessId,
|
|
13142
13142
|
practiceId: practiceId
|
|
13143
13143
|
}, opts.hyperMediaEndpoint);
|
|
13144
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13144
|
+
return _context12.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
13145
13145
|
path: pathBusinessPractice(businessId, practiceId)
|
|
13146
13146
|
}), {
|
|
13147
13147
|
method: 'put',
|
|
@@ -13182,7 +13182,7 @@ var updateOrganisationPractice = /*#__PURE__*/function () {
|
|
|
13182
13182
|
organisationId: organisationId,
|
|
13183
13183
|
practiceId: practiceId
|
|
13184
13184
|
}, opts.hyperMediaEndpoint);
|
|
13185
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13185
|
+
return _context13.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
13186
13186
|
path: pathOrganisationPractice(organisationId, practiceId)
|
|
13187
13187
|
}), {
|
|
13188
13188
|
method: 'put',
|
|
@@ -13214,11 +13214,11 @@ var verifyClaimPractice = function verifyClaimPractice(practiceId, otkCode, body
|
|
|
13214
13214
|
opts = {};
|
|
13215
13215
|
}
|
|
13216
13216
|
|
|
13217
|
-
return request(_objectSpread$
|
|
13217
|
+
return request(_objectSpread$z({}, opts, {
|
|
13218
13218
|
path: pathPractice(practiceId) + "/verify"
|
|
13219
13219
|
}), {
|
|
13220
13220
|
method: 'post',
|
|
13221
|
-
data: _objectSpread$
|
|
13221
|
+
data: _objectSpread$z({}, body, {
|
|
13222
13222
|
otkCode: otkCode
|
|
13223
13223
|
})
|
|
13224
13224
|
});
|
|
@@ -13243,7 +13243,7 @@ var clonePracticeIntoBusiness = /*#__PURE__*/function () {
|
|
|
13243
13243
|
utils_doesParamExist["default"]({
|
|
13244
13244
|
practiceId: practiceId
|
|
13245
13245
|
}, opts.hyperMediaEndpoint);
|
|
13246
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13246
|
+
return _context14.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
13247
13247
|
path: pathPractice(practiceId) + "/clone"
|
|
13248
13248
|
}), {
|
|
13249
13249
|
method: 'post',
|
|
@@ -13288,7 +13288,7 @@ var getPracticesWithApprovedApplications = /*#__PURE__*/function () {
|
|
|
13288
13288
|
businessId: businessId,
|
|
13289
13289
|
formId: formId
|
|
13290
13290
|
}, opts.hyperMediaEndpoint);
|
|
13291
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13291
|
+
return _context15.abrupt("return", request(_objectSpread$z({}, opts, {
|
|
13292
13292
|
path: pathGetPracticesWithApprovedApplications(businessId, formId)
|
|
13293
13293
|
}), {
|
|
13294
13294
|
method: 'get',
|
|
@@ -13331,9 +13331,9 @@ var practices = /*#__PURE__*/Object.freeze({
|
|
|
13331
13331
|
getPracticesWithApprovedApplications: getPracticesWithApprovedApplications
|
|
13332
13332
|
});
|
|
13333
13333
|
|
|
13334
|
-
function ownKeys$
|
|
13334
|
+
function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13335
13335
|
|
|
13336
|
-
function _objectSpread$
|
|
13336
|
+
function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$y(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13337
13337
|
var PATH__PRACTICE_TYPES = '/practicetypes';
|
|
13338
13338
|
/**
|
|
13339
13339
|
* Get practice types
|
|
@@ -13350,7 +13350,7 @@ var getPracticeTypes = /*#__PURE__*/function () {
|
|
|
13350
13350
|
opts = {};
|
|
13351
13351
|
}
|
|
13352
13352
|
|
|
13353
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13353
|
+
return _context.abrupt("return", request(_objectSpread$y({}, opts, {
|
|
13354
13354
|
path: PATH__PRACTICE_TYPES
|
|
13355
13355
|
}), {
|
|
13356
13356
|
method: 'get'
|
|
@@ -13374,9 +13374,9 @@ var practiceTypes = /*#__PURE__*/Object.freeze({
|
|
|
13374
13374
|
getPracticeTypes: getPracticeTypes
|
|
13375
13375
|
});
|
|
13376
13376
|
|
|
13377
|
-
function ownKeys$
|
|
13377
|
+
function ownKeys$x(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13378
13378
|
|
|
13379
|
-
function _objectSpread$
|
|
13379
|
+
function _objectSpread$x(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$x(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$x(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13380
13380
|
var pathBusinessProducts = function pathBusinessProducts(businessId) {
|
|
13381
13381
|
return "/businesses/" + businessId + "/products";
|
|
13382
13382
|
};
|
|
@@ -13394,7 +13394,7 @@ var getProducts = function getProducts(query, opts) {
|
|
|
13394
13394
|
opts = {};
|
|
13395
13395
|
}
|
|
13396
13396
|
|
|
13397
|
-
return request(_objectSpread$
|
|
13397
|
+
return request(_objectSpread$x({}, opts, {
|
|
13398
13398
|
path: '/products'
|
|
13399
13399
|
}), {
|
|
13400
13400
|
method: 'get',
|
|
@@ -13416,7 +13416,7 @@ var getBusinessProducts = function getBusinessProducts(businessId, query, opts)
|
|
|
13416
13416
|
utils_doesParamExist["default"]({
|
|
13417
13417
|
businessId: businessId
|
|
13418
13418
|
});
|
|
13419
|
-
return request(_objectSpread$
|
|
13419
|
+
return request(_objectSpread$x({}, opts, {
|
|
13420
13420
|
path: pathBusinessProducts(businessId)
|
|
13421
13421
|
}), {
|
|
13422
13422
|
method: 'get',
|
|
@@ -13439,7 +13439,7 @@ var getBusinessProduct = function getBusinessProduct(businessId, productId, opts
|
|
|
13439
13439
|
businessId: businessId,
|
|
13440
13440
|
productId: productId
|
|
13441
13441
|
});
|
|
13442
|
-
return request(_objectSpread$
|
|
13442
|
+
return request(_objectSpread$x({}, opts, {
|
|
13443
13443
|
path: pathBusinessProduct(businessId, productId)
|
|
13444
13444
|
}), {
|
|
13445
13445
|
method: 'get'
|
|
@@ -13455,9 +13455,9 @@ var products = /*#__PURE__*/Object.freeze({
|
|
|
13455
13455
|
getBusinessProduct: getBusinessProduct
|
|
13456
13456
|
});
|
|
13457
13457
|
|
|
13458
|
-
function ownKeys$
|
|
13458
|
+
function ownKeys$w(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13459
13459
|
|
|
13460
|
-
function _objectSpread$
|
|
13460
|
+
function _objectSpread$w(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$w(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$w(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13461
13461
|
var pathBusinessProfessionalCategories = function pathBusinessProfessionalCategories(businessId) {
|
|
13462
13462
|
return "/businesses/" + businessId + "/professionalcategories";
|
|
13463
13463
|
};
|
|
@@ -13476,7 +13476,7 @@ var getProfessionalCategories = function getProfessionalCategories(query, opts)
|
|
|
13476
13476
|
opts = {};
|
|
13477
13477
|
}
|
|
13478
13478
|
|
|
13479
|
-
return request(_objectSpread$
|
|
13479
|
+
return request(_objectSpread$w({}, opts, {
|
|
13480
13480
|
path: pathProfessionalCategories
|
|
13481
13481
|
}), {
|
|
13482
13482
|
method: 'get',
|
|
@@ -13498,7 +13498,7 @@ var getBusinessProfessionalCategories = function getBusinessProfessionalCategori
|
|
|
13498
13498
|
utils_doesParamExist["default"]({
|
|
13499
13499
|
businessId: businessId
|
|
13500
13500
|
});
|
|
13501
|
-
return request(_objectSpread$
|
|
13501
|
+
return request(_objectSpread$w({}, opts, {
|
|
13502
13502
|
path: pathBusinessProfessionalCategories(businessId)
|
|
13503
13503
|
}), {
|
|
13504
13504
|
method: 'get',
|
|
@@ -13519,7 +13519,7 @@ var getProfessionalCategory = function getProfessionalCategory(professionalCateg
|
|
|
13519
13519
|
utils_doesParamExist["default"]({
|
|
13520
13520
|
professionalCategoryId: professionalCategoryId
|
|
13521
13521
|
});
|
|
13522
|
-
return request(_objectSpread$
|
|
13522
|
+
return request(_objectSpread$w({}, opts, {
|
|
13523
13523
|
path: pathProfessionalCategory(professionalCategoryId)
|
|
13524
13524
|
}), {
|
|
13525
13525
|
method: 'get'
|
|
@@ -13536,9 +13536,9 @@ var professionalCategories = /*#__PURE__*/Object.freeze({
|
|
|
13536
13536
|
getProfessionalCategory: getProfessionalCategory
|
|
13537
13537
|
});
|
|
13538
13538
|
|
|
13539
|
-
function ownKeys$
|
|
13539
|
+
function ownKeys$v(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13540
13540
|
|
|
13541
|
-
function _objectSpread$
|
|
13541
|
+
function _objectSpread$v(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$v(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$v(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13542
13542
|
|
|
13543
13543
|
// @ts-expect-error TS(7006): Parameter 'businessId' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
13544
13544
|
var pathBusinessProviderRequests = function pathBusinessProviderRequests(businessId) {
|
|
@@ -13570,7 +13570,7 @@ var createProviderRequest = /*#__PURE__*/function () {
|
|
|
13570
13570
|
utils_doesParamExist["default"]({
|
|
13571
13571
|
businessId: businessId
|
|
13572
13572
|
}, opts.hyperMediaEndpoint);
|
|
13573
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13573
|
+
return _context.abrupt("return", request(_objectSpread$v({}, opts, {
|
|
13574
13574
|
path: pathBusinessProviderRequests(businessId)
|
|
13575
13575
|
}), {
|
|
13576
13576
|
method: 'post',
|
|
@@ -13611,7 +13611,7 @@ var requestBusinessPracticeStaffMemberProviderNumberToBeEnabled = /*#__PURE__*/f
|
|
|
13611
13611
|
utils_doesParamExist["default"]({
|
|
13612
13612
|
businessId: businessId
|
|
13613
13613
|
}, opts.hyperMediaEndpoint);
|
|
13614
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13614
|
+
return _context2.abrupt("return", request(_objectSpread$v({}, opts, {
|
|
13615
13615
|
path: pathBusinessPracticeStaffMemberProviderRequest(businessId, practiceId, staffId)
|
|
13616
13616
|
}), {
|
|
13617
13617
|
method: 'post',
|
|
@@ -13639,9 +13639,9 @@ var providerRequests = /*#__PURE__*/Object.freeze({
|
|
|
13639
13639
|
requestBusinessPracticeStaffMemberProviderNumberToBeEnabled: requestBusinessPracticeStaffMemberProviderNumberToBeEnabled
|
|
13640
13640
|
});
|
|
13641
13641
|
|
|
13642
|
-
function ownKeys$
|
|
13642
|
+
function ownKeys$u(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13643
13643
|
|
|
13644
|
-
function _objectSpread$
|
|
13644
|
+
function _objectSpread$u(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$u(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$u(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13645
13645
|
var pathGetProviderRegistrationTypes = '/providerregistrationtypes';
|
|
13646
13646
|
var pathGetProviderRegistrationType = function pathGetProviderRegistrationType(providerRegistrationTypeId) {
|
|
13647
13647
|
return "/providerregistrationtypes/" + providerRegistrationTypeId;
|
|
@@ -13662,7 +13662,7 @@ var getProviderRegistrationTypes = /*#__PURE__*/function () {
|
|
|
13662
13662
|
opts = {};
|
|
13663
13663
|
}
|
|
13664
13664
|
|
|
13665
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13665
|
+
return _context.abrupt("return", request(_objectSpread$u({}, opts, {
|
|
13666
13666
|
path: pathGetProviderRegistrationTypes
|
|
13667
13667
|
}), {
|
|
13668
13668
|
method: 'get',
|
|
@@ -13697,7 +13697,7 @@ var getProviderRegistrationType = /*#__PURE__*/function () {
|
|
|
13697
13697
|
opts = {};
|
|
13698
13698
|
}
|
|
13699
13699
|
|
|
13700
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13700
|
+
return _context2.abrupt("return", request(_objectSpread$u({}, opts, {
|
|
13701
13701
|
path: pathGetProviderRegistrationType(providerRegistrationTypeId)
|
|
13702
13702
|
}), {
|
|
13703
13703
|
method: 'get'
|
|
@@ -13724,9 +13724,9 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
13724
13724
|
getProviderRegistrationType: getProviderRegistrationType
|
|
13725
13725
|
});
|
|
13726
13726
|
|
|
13727
|
-
function ownKeys$
|
|
13727
|
+
function ownKeys$t(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13728
13728
|
|
|
13729
|
-
function _objectSpread$
|
|
13729
|
+
function _objectSpread$t(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$t(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$t(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13730
13730
|
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
13731
13731
|
return "/providernumbertypes";
|
|
13732
13732
|
};
|
|
@@ -13753,7 +13753,7 @@ var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
|
13753
13753
|
opts = {};
|
|
13754
13754
|
}
|
|
13755
13755
|
|
|
13756
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13756
|
+
return _context.abrupt("return", request(_objectSpread$t({}, opts, {
|
|
13757
13757
|
path: pathProviderNumberTypes()
|
|
13758
13758
|
}), {
|
|
13759
13759
|
method: 'get',
|
|
@@ -13791,7 +13791,7 @@ var getProviderNumberType = function getProviderNumberType(providerNumberTypeId,
|
|
|
13791
13791
|
utils_doesParamExist["default"]({
|
|
13792
13792
|
providerNumberTypeId: providerNumberTypeId
|
|
13793
13793
|
}, opts.hyperMediaEndpoint);
|
|
13794
|
-
return request(_objectSpread$
|
|
13794
|
+
return request(_objectSpread$t({}, opts, {
|
|
13795
13795
|
path: pathProviderNumberType(providerNumberTypeId)
|
|
13796
13796
|
}), {
|
|
13797
13797
|
method: 'get',
|
|
@@ -13807,9 +13807,9 @@ var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
|
13807
13807
|
getProviderNumberType: getProviderNumberType
|
|
13808
13808
|
});
|
|
13809
13809
|
|
|
13810
|
-
function ownKeys$
|
|
13810
|
+
function ownKeys$s(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13811
13811
|
|
|
13812
|
-
function _objectSpread$
|
|
13812
|
+
function _objectSpread$s(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$s(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$s(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13813
13813
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
13814
13814
|
/**
|
|
13815
13815
|
* Get provider types
|
|
@@ -13826,7 +13826,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
13826
13826
|
opts = {};
|
|
13827
13827
|
}
|
|
13828
13828
|
|
|
13829
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13829
|
+
return _context.abrupt("return", request(_objectSpread$s({}, opts, {
|
|
13830
13830
|
path: PATH__PROVIDER_TYPES
|
|
13831
13831
|
}), {
|
|
13832
13832
|
method: 'get'
|
|
@@ -13850,9 +13850,9 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
13850
13850
|
getProviderTypes: getProviderTypes
|
|
13851
13851
|
});
|
|
13852
13852
|
|
|
13853
|
-
function ownKeys$
|
|
13853
|
+
function ownKeys$r(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13854
13854
|
|
|
13855
|
-
function _objectSpread$
|
|
13855
|
+
function _objectSpread$r(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$r(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$r(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13856
13856
|
var pathVerifyClaimNumber = function pathVerifyClaimNumber() {
|
|
13857
13857
|
return "/qbe/verify";
|
|
13858
13858
|
};
|
|
@@ -13867,7 +13867,7 @@ var verifyClaimNumber = function verifyClaimNumber(body, opts) {
|
|
|
13867
13867
|
opts = {};
|
|
13868
13868
|
}
|
|
13869
13869
|
|
|
13870
|
-
return request(_objectSpread$
|
|
13870
|
+
return request(_objectSpread$r({}, opts, {
|
|
13871
13871
|
path: pathVerifyClaimNumber()
|
|
13872
13872
|
}), {
|
|
13873
13873
|
method: 'post',
|
|
@@ -13879,7 +13879,7 @@ var submitClaim$1 = function submitClaim(body, opts) {
|
|
|
13879
13879
|
opts = {};
|
|
13880
13880
|
}
|
|
13881
13881
|
|
|
13882
|
-
return request(_objectSpread$
|
|
13882
|
+
return request(_objectSpread$r({}, opts, {
|
|
13883
13883
|
path: pathSubmitClaim$1()
|
|
13884
13884
|
}), {
|
|
13885
13885
|
method: 'post',
|
|
@@ -13891,7 +13891,7 @@ var saveDraft$1 = function saveDraft(body, opts) {
|
|
|
13891
13891
|
opts = {};
|
|
13892
13892
|
}
|
|
13893
13893
|
|
|
13894
|
-
return request(_objectSpread$
|
|
13894
|
+
return request(_objectSpread$r({}, opts, {
|
|
13895
13895
|
path: pathSaveDraft()
|
|
13896
13896
|
}), {
|
|
13897
13897
|
method: 'post',
|
|
@@ -13909,16 +13909,16 @@ var qbe = /*#__PURE__*/Object.freeze({
|
|
|
13909
13909
|
saveDraft: saveDraft$1
|
|
13910
13910
|
});
|
|
13911
13911
|
|
|
13912
|
-
function ownKeys$
|
|
13912
|
+
function ownKeys$q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13913
13913
|
|
|
13914
|
-
function _objectSpread$
|
|
13914
|
+
function _objectSpread$q(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$q(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13915
13915
|
var PATH__REF_SOURCES = '/refsources';
|
|
13916
13916
|
var getRefSources = function getRefSources(query, opts) {
|
|
13917
13917
|
if (opts === void 0) {
|
|
13918
13918
|
opts = {};
|
|
13919
13919
|
}
|
|
13920
13920
|
|
|
13921
|
-
return request(_objectSpread$
|
|
13921
|
+
return request(_objectSpread$q({}, opts, {
|
|
13922
13922
|
path: PATH__REF_SOURCES
|
|
13923
13923
|
}), {
|
|
13924
13924
|
method: 'get',
|
|
@@ -13932,9 +13932,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
13932
13932
|
getRefSources: getRefSources
|
|
13933
13933
|
});
|
|
13934
13934
|
|
|
13935
|
-
function ownKeys$
|
|
13935
|
+
function ownKeys$p(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13936
13936
|
|
|
13937
|
-
function _objectSpread$
|
|
13937
|
+
function _objectSpread$p(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$p(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$p(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13938
13938
|
var PATH__TRANSACTIONS = '/transaction';
|
|
13939
13939
|
/**
|
|
13940
13940
|
* Get risk score
|
|
@@ -13955,7 +13955,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
13955
13955
|
utils_doesParamExist["default"]({
|
|
13956
13956
|
transactionId: transactionId
|
|
13957
13957
|
}, opts.hyperMediaEndpoint);
|
|
13958
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13958
|
+
return _context.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
13959
13959
|
apiName: 'risk',
|
|
13960
13960
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
13961
13961
|
}), {
|
|
@@ -13990,7 +13990,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
13990
13990
|
opts = {};
|
|
13991
13991
|
}
|
|
13992
13992
|
|
|
13993
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13993
|
+
return _context2.abrupt("return", request(_objectSpread$p({}, opts, {
|
|
13994
13994
|
apiName: 'risk',
|
|
13995
13995
|
path: PATH__TRANSACTIONS
|
|
13996
13996
|
}), {
|
|
@@ -14017,9 +14017,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
14017
14017
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
14018
14018
|
});
|
|
14019
14019
|
|
|
14020
|
-
function ownKeys$
|
|
14020
|
+
function ownKeys$o(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14021
14021
|
|
|
14022
|
-
function _objectSpread$
|
|
14022
|
+
function _objectSpread$o(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$o(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$o(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14023
14023
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
14024
14024
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
14025
14025
|
};
|
|
@@ -14053,7 +14053,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
14053
14053
|
utils_doesParamExist["default"]({
|
|
14054
14054
|
businessId: businessId
|
|
14055
14055
|
}, opts.hyperMediaEndpoint);
|
|
14056
|
-
return request(_objectSpread$
|
|
14056
|
+
return request(_objectSpread$o({}, opts, {
|
|
14057
14057
|
path: pathBusinessesRNAs(businessId)
|
|
14058
14058
|
}), {
|
|
14059
14059
|
method: 'get',
|
|
@@ -14076,7 +14076,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
14076
14076
|
businessId: businessId,
|
|
14077
14077
|
rnaId: rnaId
|
|
14078
14078
|
}, opts.hyperMediaEndpoint);
|
|
14079
|
-
return request(_objectSpread$
|
|
14079
|
+
return request(_objectSpread$o({}, opts, {
|
|
14080
14080
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
14081
14081
|
}), {
|
|
14082
14082
|
method: 'get'
|
|
@@ -14097,7 +14097,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
14097
14097
|
utils_doesParamExist["default"]({
|
|
14098
14098
|
businessId: businessId
|
|
14099
14099
|
}, opts.hyperMediaEndpoint);
|
|
14100
|
-
return request(_objectSpread$
|
|
14100
|
+
return request(_objectSpread$o({}, opts, {
|
|
14101
14101
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
14102
14102
|
}), {
|
|
14103
14103
|
method: 'get',
|
|
@@ -14112,7 +14112,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
14112
14112
|
utils_doesParamExist["default"]({
|
|
14113
14113
|
healthFundId: healthFundId
|
|
14114
14114
|
}, opts.hyperMediaEndpoint);
|
|
14115
|
-
return request(_objectSpread$
|
|
14115
|
+
return request(_objectSpread$o({}, opts, {
|
|
14116
14116
|
path: pathHealthFundRNAs(healthFundId)
|
|
14117
14117
|
}), {
|
|
14118
14118
|
method: 'post',
|
|
@@ -14128,7 +14128,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
14128
14128
|
healthFundId: healthFundId,
|
|
14129
14129
|
rnaId: rnaId
|
|
14130
14130
|
}, opts.hyperMediaEndpoint);
|
|
14131
|
-
return request(_objectSpread$
|
|
14131
|
+
return request(_objectSpread$o({}, opts, {
|
|
14132
14132
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
14133
14133
|
}), {
|
|
14134
14134
|
method: 'post',
|
|
@@ -14144,7 +14144,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
14144
14144
|
healthFundId: healthFundId,
|
|
14145
14145
|
rnaId: rnaId
|
|
14146
14146
|
}, opts.hyperMediaEndpoint);
|
|
14147
|
-
return request(_objectSpread$
|
|
14147
|
+
return request(_objectSpread$o({}, opts, {
|
|
14148
14148
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
14149
14149
|
}), {
|
|
14150
14150
|
method: 'get',
|
|
@@ -14159,7 +14159,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
14159
14159
|
utils_doesParamExist["default"]({
|
|
14160
14160
|
healthFundId: healthFundId
|
|
14161
14161
|
}, opts.hyperMediaEndpoint);
|
|
14162
|
-
return request(_objectSpread$
|
|
14162
|
+
return request(_objectSpread$o({}, opts, {
|
|
14163
14163
|
path: pathHealthFundRNAs(healthFundId)
|
|
14164
14164
|
}), {
|
|
14165
14165
|
method: 'get',
|
|
@@ -14176,7 +14176,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
14176
14176
|
rnaId: rnaId,
|
|
14177
14177
|
rnaAppointmentId: rnaAppointmentId
|
|
14178
14178
|
}, opts.hyperMediaEndpoint);
|
|
14179
|
-
return request(_objectSpread$
|
|
14179
|
+
return request(_objectSpread$o({}, opts, {
|
|
14180
14180
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
14181
14181
|
}), {
|
|
14182
14182
|
method: 'put',
|
|
@@ -14202,9 +14202,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
14202
14202
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
14203
14203
|
});
|
|
14204
14204
|
|
|
14205
|
-
function ownKeys$
|
|
14205
|
+
function ownKeys$n(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14206
14206
|
|
|
14207
|
-
function _objectSpread$
|
|
14207
|
+
function _objectSpread$n(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$n(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$n(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14208
14208
|
var PATH__ROLES = '/roles';
|
|
14209
14209
|
/**
|
|
14210
14210
|
* Get roles
|
|
@@ -14221,7 +14221,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
14221
14221
|
opts = {};
|
|
14222
14222
|
}
|
|
14223
14223
|
|
|
14224
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
14224
|
+
return _context.abrupt("return", request(_objectSpread$n({}, opts, {
|
|
14225
14225
|
path: PATH__ROLES
|
|
14226
14226
|
}), {
|
|
14227
14227
|
method: 'get'
|
|
@@ -14245,6 +14245,66 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
14245
14245
|
getRoles: getRoles
|
|
14246
14246
|
});
|
|
14247
14247
|
|
|
14248
|
+
function ownKeys$m(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14249
|
+
|
|
14250
|
+
function _objectSpread$m(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$m(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$m(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14251
|
+
var pathCheckStatusOfFileExport = function pathCheckStatusOfFileExport(businessId, s3FileId) {
|
|
14252
|
+
return "/businesses/" + businessId + "/s3Files/" + s3FileId;
|
|
14253
|
+
};
|
|
14254
|
+
var pathDownloadBusinessExport = function pathDownloadBusinessExport(businessId, s3FileId) {
|
|
14255
|
+
return "/businesses/" + businessId + "/s3Files/" + s3FileId + "/s3signedurl";
|
|
14256
|
+
};
|
|
14257
|
+
/**
|
|
14258
|
+
This can be used to query the file ID until the status is completed or errored.
|
|
14259
|
+
* @param {String} businessId - Business ID
|
|
14260
|
+
* @param {String} s3FileId - S3File ID
|
|
14261
|
+
* @param {Object} opts - Additional options
|
|
14262
|
+
*/
|
|
14263
|
+
|
|
14264
|
+
var checkStatusOfFileExport = function checkStatusOfFileExport(businessId, s3FileId, opts) {
|
|
14265
|
+
if (opts === void 0) {
|
|
14266
|
+
opts = {};
|
|
14267
|
+
}
|
|
14268
|
+
|
|
14269
|
+
utils_doesParamExist["default"]({
|
|
14270
|
+
businessId: businessId
|
|
14271
|
+
}, opts.hyperMediaEndpoint);
|
|
14272
|
+
return request(_objectSpread$m({}, opts, {
|
|
14273
|
+
path: pathCheckStatusOfFileExport(businessId, s3FileId)
|
|
14274
|
+
}), {
|
|
14275
|
+
method: 'get'
|
|
14276
|
+
});
|
|
14277
|
+
};
|
|
14278
|
+
/**
|
|
14279
|
+
This can be used to download the file from S3 when the status has completed.
|
|
14280
|
+
* @param {String} businessId - Business ID
|
|
14281
|
+
* @param {String} s3FileId - S3File ID
|
|
14282
|
+
* @param {Object} opts - Additional options
|
|
14283
|
+
*/
|
|
14284
|
+
|
|
14285
|
+
var downloadBusinessExport = function downloadBusinessExport(businessId, s3FileId, opts) {
|
|
14286
|
+
if (opts === void 0) {
|
|
14287
|
+
opts = {};
|
|
14288
|
+
}
|
|
14289
|
+
|
|
14290
|
+
utils_doesParamExist["default"]({
|
|
14291
|
+
businessId: businessId
|
|
14292
|
+
}, opts.hyperMediaEndpoint);
|
|
14293
|
+
return request(_objectSpread$m({}, opts, {
|
|
14294
|
+
path: pathDownloadBusinessExport(businessId, s3FileId)
|
|
14295
|
+
}), {
|
|
14296
|
+
method: 'get'
|
|
14297
|
+
});
|
|
14298
|
+
};
|
|
14299
|
+
|
|
14300
|
+
var s3Files = /*#__PURE__*/Object.freeze({
|
|
14301
|
+
__proto__: null,
|
|
14302
|
+
pathCheckStatusOfFileExport: pathCheckStatusOfFileExport,
|
|
14303
|
+
pathDownloadBusinessExport: pathDownloadBusinessExport,
|
|
14304
|
+
checkStatusOfFileExport: checkStatusOfFileExport,
|
|
14305
|
+
downloadBusinessExport: downloadBusinessExport
|
|
14306
|
+
});
|
|
14307
|
+
|
|
14248
14308
|
function ownKeys$l(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14249
14309
|
|
|
14250
14310
|
function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$l(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -15774,48 +15834,6 @@ var initiateBusinessSettlementExport = function initiateBusinessSettlementExport
|
|
|
15774
15834
|
params: query
|
|
15775
15835
|
});
|
|
15776
15836
|
};
|
|
15777
|
-
/**
|
|
15778
|
-
This can be used to query the file ID until the status is completed or errored.
|
|
15779
|
-
* @param {String} businessId - Business ID
|
|
15780
|
-
* @param {String} s3FileId - S3File ID
|
|
15781
|
-
* @param {Object} opts - Additional options
|
|
15782
|
-
*/
|
|
15783
|
-
|
|
15784
|
-
var checkStatusOfBusinessSettlementExport = function checkStatusOfBusinessSettlementExport(businessId, s3FileId, opts) {
|
|
15785
|
-
if (opts === void 0) {
|
|
15786
|
-
opts = {};
|
|
15787
|
-
}
|
|
15788
|
-
|
|
15789
|
-
utils_doesParamExist["default"]({
|
|
15790
|
-
businessId: businessId
|
|
15791
|
-
}, opts.hyperMediaEndpoint);
|
|
15792
|
-
return request(_objectSpread$j({}, opts, {
|
|
15793
|
-
path: pathBusiness(businessId) + "/s3files/" + s3FileId
|
|
15794
|
-
}), {
|
|
15795
|
-
method: 'get'
|
|
15796
|
-
});
|
|
15797
|
-
};
|
|
15798
|
-
/**
|
|
15799
|
-
This can be used to download the file from S3 when the status has completed.
|
|
15800
|
-
* @param {String} businessId - Business ID
|
|
15801
|
-
* @param {String} s3FileId - S3File ID
|
|
15802
|
-
* @param {Object} opts - Additional options
|
|
15803
|
-
*/
|
|
15804
|
-
|
|
15805
|
-
var downloadBusinessSettlementExport = function downloadBusinessSettlementExport(businessId, s3FileId, opts) {
|
|
15806
|
-
if (opts === void 0) {
|
|
15807
|
-
opts = {};
|
|
15808
|
-
}
|
|
15809
|
-
|
|
15810
|
-
utils_doesParamExist["default"]({
|
|
15811
|
-
businessId: businessId
|
|
15812
|
-
}, opts.hyperMediaEndpoint);
|
|
15813
|
-
return request(_objectSpread$j({}, opts, {
|
|
15814
|
-
path: pathBusiness(businessId) + "/s3files/" + s3FileId + "/s3signedurl"
|
|
15815
|
-
}), {
|
|
15816
|
-
method: 'get'
|
|
15817
|
-
});
|
|
15818
|
-
};
|
|
15819
15837
|
/**
|
|
15820
15838
|
* Get business settlements
|
|
15821
15839
|
* @param {String} businessId - Business ID
|
|
@@ -15954,8 +15972,6 @@ var getBusinessSettlementSummariesSearchOptions = function getBusinessSettlement
|
|
|
15954
15972
|
var settlements = /*#__PURE__*/Object.freeze({
|
|
15955
15973
|
__proto__: null,
|
|
15956
15974
|
initiateBusinessSettlementExport: initiateBusinessSettlementExport,
|
|
15957
|
-
checkStatusOfBusinessSettlementExport: checkStatusOfBusinessSettlementExport,
|
|
15958
|
-
downloadBusinessSettlementExport: downloadBusinessSettlementExport,
|
|
15959
15975
|
getBusinessSettlements: getBusinessSettlements,
|
|
15960
15976
|
getBusinessSettlementSummaries: getBusinessSettlementSummaries,
|
|
15961
15977
|
getBusinessSettlementSummariesByPeriod: getBusinessSettlementSummariesByPeriod,
|
|
@@ -23377,6 +23393,7 @@ var sdkClient = {
|
|
|
23377
23393
|
risk: risk,
|
|
23378
23394
|
rnas: rnas,
|
|
23379
23395
|
roles: roles,
|
|
23396
|
+
s3Files: s3Files,
|
|
23380
23397
|
selfCheckoutSessions: selfCheckoutSessions,
|
|
23381
23398
|
settlements: settlements,
|
|
23382
23399
|
services: services,
|
|
@@ -23920,7 +23937,7 @@ exports.checkDupe = checkDupe$1;
|
|
|
23920
23937
|
exports.checkDupe$1 = checkDupe;
|
|
23921
23938
|
exports.checkRNAExists = checkRNAExists;
|
|
23922
23939
|
exports.checkStaffMemberEmailExists = checkStaffMemberEmailExists;
|
|
23923
|
-
exports.
|
|
23940
|
+
exports.checkStatusOfFileExport = checkStatusOfFileExport;
|
|
23924
23941
|
exports.claimItems = claimItems;
|
|
23925
23942
|
exports.clonePracticeIntoBusiness = clonePracticeIntoBusiness;
|
|
23926
23943
|
exports.cloneStaffMemberIntoBusiness = cloneStaffMemberIntoBusiness;
|
|
@@ -24041,7 +24058,7 @@ exports.discoverMember = discoverMember$1;
|
|
|
24041
24058
|
exports.discoverMember$1 = discoverMember;
|
|
24042
24059
|
exports.docAccounts = docAccounts;
|
|
24043
24060
|
exports.documents = documents;
|
|
24044
|
-
exports.
|
|
24061
|
+
exports.downloadBusinessExport = downloadBusinessExport;
|
|
24045
24062
|
exports.emailBusinessOnboardingQuestions = emailBusinessOnboardingQuestions;
|
|
24046
24063
|
exports.emailInvoice = emailInvoice;
|
|
24047
24064
|
exports.emailLogs = emailLogs;
|
|
@@ -24397,9 +24414,11 @@ exports.pathBusinessSubscriptions = pathBusinessSubscriptions;
|
|
|
24397
24414
|
exports.pathBusinessVerifyBeneficialOwner = pathBusinessVerifyBeneficialOwner;
|
|
24398
24415
|
exports.pathBusinessesRNAs = pathBusinessesRNAs;
|
|
24399
24416
|
exports.pathCancels = pathCancels;
|
|
24417
|
+
exports.pathCheckStatusOfFileExport = pathCheckStatusOfFileExport;
|
|
24400
24418
|
exports.pathClientTokenByPracticeId = pathClientTokenByPracticeId;
|
|
24401
24419
|
exports.pathCreateHealthFundTransactionExport = pathCreateHealthFundTransactionExport;
|
|
24402
24420
|
exports.pathDeviceByDeviceId = pathDeviceByDeviceId;
|
|
24421
|
+
exports.pathDownloadBusinessExport = pathDownloadBusinessExport;
|
|
24403
24422
|
exports.pathFilterOptions = pathFilterOptions;
|
|
24404
24423
|
exports.pathFunder = pathFunder;
|
|
24405
24424
|
exports.pathFunderSettings = pathFunderSettings;
|