@medipass/web-sdk 11.48.6-chore-fix-warning-messages.1 → 11.48.7
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/CHANGELOG.md +16 -0
- package/lib/index.js +1 -1
- package/lib/resources/abr.js +1 -1
- package/lib/resources/accounts.js +1 -1
- package/lib/resources/actions.js +1 -1
- package/lib/resources/api-keys.js +1 -1
- package/lib/resources/applications.js +1 -1
- package/lib/resources/attachments.js +1 -1
- package/lib/resources/auth.d.ts +7 -0
- package/lib/resources/auth.js +8 -1
- package/lib/resources/blacklist.js +1 -1
- package/lib/resources/bulk-submits.js +1 -1
- package/lib/resources/bulk-uploads.js +1 -1
- package/lib/resources/business-profiles.js +1 -1
- package/lib/resources/businesses.js +1 -1
- package/lib/resources/claim-items.js +1 -1
- package/lib/resources/devices.d.ts +8 -1
- package/lib/resources/devices.js +3 -1
- package/lib/resources/doc-accounts.js +1 -1
- package/lib/resources/documents.js +1 -1
- package/lib/resources/emails.js +1 -1
- package/lib/resources/filter-options.js +1 -1
- package/lib/resources/form-application-templates.js +1 -1
- package/lib/resources/form-applications.js +1 -1
- package/lib/resources/forms.js +1 -1
- package/lib/resources/funder-services.js +1 -1
- package/lib/resources/funder-settings.js +1 -1
- package/lib/resources/funder-values.js +1 -1
- package/lib/resources/funders.js +1 -1
- package/lib/resources/futures.js +1 -1
- package/lib/resources/health-fund-accounts.js +1 -1
- package/lib/resources/health-fund-settings.js +1 -1
- package/lib/resources/healthfunds.js +1 -1
- package/lib/resources/icditems.js +1 -1
- package/lib/resources/invoice-scans.js +1 -1
- package/lib/resources/jhcs.js +1 -1
- package/lib/resources/kyc.js +1 -1
- package/lib/resources/logs.js +1 -1
- package/lib/resources/members.js +1 -1
- package/lib/resources/message-mappings.js +1 -1
- package/lib/resources/minions.js +1 -1
- package/lib/resources/modalities.js +1 -1
- package/lib/resources/notes.js +1 -1
- package/lib/resources/onboarding-applications.js +1 -1
- package/lib/resources/onboarding-requests.js +1 -1
- package/lib/resources/ops.js +1 -1
- package/lib/resources/organisations.js +1 -1
- package/lib/resources/partners.js +1 -1
- package/lib/resources/patients.js +1 -1
- package/lib/resources/payments.js +1 -1
- package/lib/resources/pms.js +1 -1
- package/lib/resources/practice-profiles.js +1 -1
- package/lib/resources/practice-types.js +1 -1
- package/lib/resources/practices.js +1 -1
- package/lib/resources/products.js +1 -1
- package/lib/resources/professional-categories.js +1 -1
- package/lib/resources/provider-number-types.js +1 -1
- package/lib/resources/provider-registration-types.js +1 -1
- package/lib/resources/provider-requests.js +1 -1
- package/lib/resources/provider-types.js +1 -1
- package/lib/resources/ref-sources.js +1 -1
- package/lib/resources/risk.js +1 -1
- package/lib/resources/rnas.js +1 -1
- package/lib/resources/roles.js +1 -1
- package/lib/resources/self-checkout-sessions.js +1 -1
- package/lib/resources/services.js +1 -1
- package/lib/resources/settlements.js +1 -1
- package/lib/resources/sign-up.js +1 -1
- package/lib/resources/specialties.js +1 -1
- package/lib/resources/staff-profiles.js +1 -1
- package/lib/resources/staff.js +1 -1
- package/lib/resources/statistics.js +1 -1
- package/lib/resources/subscriptions.js +1 -1
- package/lib/resources/terminals.js +1 -1
- package/lib/resources/transaction-export.js +1 -1
- package/lib/resources/transactions.js +1 -1
- package/lib/resources/triggers.js +1 -1
- package/lib/resources/vendors.js +1 -1
- package/lib/resources/verify.js +1 -1
- package/lib/resources/workers.js +1 -1
- package/lib/resources/workflow-exceptions.js +1 -1
- package/lib/services/aws.js +1 -1
- package/lib/services/version.js +1 -1
- package/lib/{staff-8589e2a9.js → staff-1af10339.js} +276 -215
- package/lib/types/device.d.ts +20 -0
- package/lib/types/device.js +2 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/utils/application.js +1 -1
- package/lib/utils/professions.js +1 -1
- package/lib/utils/request.js +1 -1
- package/lib/utils/staff.js +1 -1
- package/package.json +3 -3
|
@@ -2478,22 +2478,198 @@ var members = /*#__PURE__*/Object.freeze({
|
|
|
2478
2478
|
function ownKeys$7(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; }
|
|
2479
2479
|
|
|
2480
2480
|
function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$7(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2481
|
+
var PATH__DEVICES = '/devices';
|
|
2482
|
+
var isRegistering = false;
|
|
2483
|
+
var pathDeviceByDeviceId = function pathDeviceByDeviceId(deviceId) {
|
|
2484
|
+
return "/devices/" + deviceId;
|
|
2485
|
+
};
|
|
2486
|
+
var deviceData = {
|
|
2487
|
+
deviceType: 'browser',
|
|
2488
|
+
os: {
|
|
2489
|
+
type: platform.os.family || 'Unknown',
|
|
2490
|
+
ver: platform.os.version || '0'
|
|
2491
|
+
},
|
|
2492
|
+
app: {
|
|
2493
|
+
appId: platform.ua || 'Unknown'
|
|
2494
|
+
}
|
|
2495
|
+
};
|
|
2496
|
+
/**
|
|
2497
|
+
* Register a device
|
|
2498
|
+
* @param {Object} opts - Additional options
|
|
2499
|
+
* @returns {Object} The device data
|
|
2500
|
+
*/
|
|
2501
|
+
|
|
2502
|
+
var registerDevice = /*#__PURE__*/function () {
|
|
2503
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(opts) {
|
|
2504
|
+
var data, _data;
|
|
2505
|
+
|
|
2506
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
2507
|
+
while (1) {
|
|
2508
|
+
switch (_context.prev = _context.next) {
|
|
2509
|
+
case 0:
|
|
2510
|
+
if (isRegistering) {
|
|
2511
|
+
_context.next = 14;
|
|
2512
|
+
break;
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
_context.prev = 1;
|
|
2516
|
+
isRegistering = true;
|
|
2517
|
+
_context.next = 5;
|
|
2518
|
+
return request(_objectSpread$7({}, opts, {
|
|
2519
|
+
path: PATH__DEVICES
|
|
2520
|
+
}), {
|
|
2521
|
+
method: 'post',
|
|
2522
|
+
data: deviceData,
|
|
2523
|
+
skipDeviceCheck: true
|
|
2524
|
+
});
|
|
2525
|
+
|
|
2526
|
+
case 5:
|
|
2527
|
+
data = _context.sent;
|
|
2528
|
+
sdkClient.device = data;
|
|
2529
|
+
storage.default.set('device', data);
|
|
2530
|
+
return _context.abrupt("return", data);
|
|
2531
|
+
|
|
2532
|
+
case 9:
|
|
2533
|
+
_context.prev = 9;
|
|
2534
|
+
isRegistering = false;
|
|
2535
|
+
return _context.finish(9);
|
|
2536
|
+
|
|
2537
|
+
case 12:
|
|
2538
|
+
_context.next = 19;
|
|
2539
|
+
break;
|
|
2540
|
+
|
|
2541
|
+
case 14:
|
|
2542
|
+
_context.next = 16;
|
|
2543
|
+
return new Promise(function (resolve) {
|
|
2544
|
+
return setTimeout(resolve, 100);
|
|
2545
|
+
});
|
|
2546
|
+
|
|
2547
|
+
case 16:
|
|
2548
|
+
_data = sdkClient.device;
|
|
2549
|
+
|
|
2550
|
+
case 17:
|
|
2551
|
+
if (!_data) {
|
|
2552
|
+
_context.next = 14;
|
|
2553
|
+
break;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
case 18:
|
|
2557
|
+
return _context.abrupt("return", _data);
|
|
2558
|
+
|
|
2559
|
+
case 19:
|
|
2560
|
+
case "end":
|
|
2561
|
+
return _context.stop();
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
}, _callee, null, [[1,, 9, 12]]);
|
|
2565
|
+
}));
|
|
2566
|
+
|
|
2567
|
+
return function registerDevice(_x) {
|
|
2568
|
+
return _ref.apply(this, arguments);
|
|
2569
|
+
};
|
|
2570
|
+
}();
|
|
2571
|
+
/**
|
|
2572
|
+
* Check if the device exists, and set the device id request header.
|
|
2573
|
+
*/
|
|
2574
|
+
|
|
2575
|
+
var getDeviceId = /*#__PURE__*/function () {
|
|
2576
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
2577
|
+
var device, data;
|
|
2578
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
2579
|
+
while (1) {
|
|
2580
|
+
switch (_context2.prev = _context2.next) {
|
|
2581
|
+
case 0:
|
|
2582
|
+
device = sdkClient.device || storage.default.get('device');
|
|
2583
|
+
|
|
2584
|
+
if (!(!device || !device.deviceId)) {
|
|
2585
|
+
_context2.next = 6;
|
|
2586
|
+
break;
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
_context2.next = 4;
|
|
2590
|
+
return registerDevice();
|
|
2591
|
+
|
|
2592
|
+
case 4:
|
|
2593
|
+
data = _context2.sent;
|
|
2594
|
+
return _context2.abrupt("return", data.deviceId);
|
|
2595
|
+
|
|
2596
|
+
case 6:
|
|
2597
|
+
return _context2.abrupt("return", device.deviceId);
|
|
2598
|
+
|
|
2599
|
+
case 7:
|
|
2600
|
+
case "end":
|
|
2601
|
+
return _context2.stop();
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
}, _callee2);
|
|
2605
|
+
}));
|
|
2606
|
+
|
|
2607
|
+
return function getDeviceId() {
|
|
2608
|
+
return _ref2.apply(this, arguments);
|
|
2609
|
+
};
|
|
2610
|
+
}();
|
|
2611
|
+
/**
|
|
2612
|
+
* Update device
|
|
2613
|
+
* @param {String} deviceId - Device ID
|
|
2614
|
+
* @param {Object} opts - Additional options
|
|
2615
|
+
*/
|
|
2616
|
+
|
|
2617
|
+
var updateDevice = /*#__PURE__*/function () {
|
|
2618
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(deviceId, opts) {
|
|
2619
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
2620
|
+
while (1) {
|
|
2621
|
+
switch (_context3.prev = _context3.next) {
|
|
2622
|
+
case 0:
|
|
2623
|
+
if (opts === void 0) {
|
|
2624
|
+
opts = {};
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
doesParamExist.default({
|
|
2628
|
+
deviceId: deviceId
|
|
2629
|
+
}, opts.hyperMediaEndpoint);
|
|
2630
|
+
return _context3.abrupt("return", request(_objectSpread$7({}, opts, {
|
|
2631
|
+
path: pathDeviceByDeviceId(deviceId)
|
|
2632
|
+
}), {
|
|
2633
|
+
method: 'put',
|
|
2634
|
+
data: deviceData
|
|
2635
|
+
}));
|
|
2636
|
+
|
|
2637
|
+
case 3:
|
|
2638
|
+
case "end":
|
|
2639
|
+
return _context3.stop();
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
}, _callee3);
|
|
2643
|
+
}));
|
|
2644
|
+
|
|
2645
|
+
return function updateDevice(_x2, _x3) {
|
|
2646
|
+
return _ref3.apply(this, arguments);
|
|
2647
|
+
};
|
|
2648
|
+
}();
|
|
2649
|
+
|
|
2650
|
+
var devices = /*#__PURE__*/Object.freeze({
|
|
2651
|
+
__proto__: null,
|
|
2652
|
+
pathDeviceByDeviceId: pathDeviceByDeviceId,
|
|
2653
|
+
registerDevice: registerDevice,
|
|
2654
|
+
getDeviceId: getDeviceId,
|
|
2655
|
+
updateDevice: updateDevice
|
|
2656
|
+
});
|
|
2657
|
+
|
|
2658
|
+
function ownKeys$8(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; }
|
|
2659
|
+
|
|
2660
|
+
function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$8(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2481
2661
|
var PATH__AUTH = '/auth';
|
|
2482
2662
|
var PATH__OTK = '/otk';
|
|
2483
2663
|
var PATH__AUTH_TOKEN = '/auth/token';
|
|
2484
|
-
|
|
2485
2664
|
var pathImpersonateAccount = function pathImpersonateAccount(accountId) {
|
|
2486
2665
|
return "/auth/impersonate/" + accountId;
|
|
2487
2666
|
};
|
|
2488
|
-
|
|
2489
2667
|
var pathAuthy = function pathAuthy(accountId) {
|
|
2490
2668
|
return "/accounts/" + accountId + "/authy";
|
|
2491
2669
|
};
|
|
2492
|
-
|
|
2493
2670
|
var pathAuthyVerify = function pathAuthyVerify(accountId) {
|
|
2494
2671
|
return "/accounts/" + accountId + "/authy/verify";
|
|
2495
2672
|
};
|
|
2496
|
-
|
|
2497
2673
|
var HEADER__SUPER_ADMIN = 'x-super-admin';
|
|
2498
2674
|
|
|
2499
2675
|
var setupAccountResources = /*#__PURE__*/function () {
|
|
@@ -2519,7 +2695,7 @@ var setupAccountResources = /*#__PURE__*/function () {
|
|
|
2519
2695
|
case 6:
|
|
2520
2696
|
member = _context.sent;
|
|
2521
2697
|
sdkClient.setMember(member);
|
|
2522
|
-
return _context.abrupt("return", _objectSpread$
|
|
2698
|
+
return _context.abrupt("return", _objectSpread$8({}, account, {
|
|
2523
2699
|
_member: member
|
|
2524
2700
|
}));
|
|
2525
2701
|
|
|
@@ -2549,7 +2725,9 @@ var setupAccountResources = /*#__PURE__*/function () {
|
|
|
2549
2725
|
|
|
2550
2726
|
var login = /*#__PURE__*/function () {
|
|
2551
2727
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(email, password, body, opts) {
|
|
2552
|
-
var
|
|
2728
|
+
var _res$headers, _res$config, _res$config$headers;
|
|
2729
|
+
|
|
2730
|
+
var data, res, isSuperAdmin, deviceId, account;
|
|
2553
2731
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
2554
2732
|
while (1) {
|
|
2555
2733
|
switch (_context2.prev = _context2.next) {
|
|
@@ -2564,7 +2742,7 @@ var login = /*#__PURE__*/function () {
|
|
|
2564
2742
|
};
|
|
2565
2743
|
}
|
|
2566
2744
|
|
|
2567
|
-
data = _objectSpread$
|
|
2745
|
+
data = _objectSpread$8({
|
|
2568
2746
|
email: email
|
|
2569
2747
|
}, body);
|
|
2570
2748
|
|
|
@@ -2575,7 +2753,7 @@ var login = /*#__PURE__*/function () {
|
|
|
2575
2753
|
|
|
2576
2754
|
|
|
2577
2755
|
_context2.next = 6;
|
|
2578
|
-
return request(_objectSpread$
|
|
2756
|
+
return request(_objectSpread$8({}, opts, {
|
|
2579
2757
|
path: PATH__AUTH,
|
|
2580
2758
|
getFullResponse: true
|
|
2581
2759
|
}), {
|
|
@@ -2585,10 +2763,14 @@ var login = /*#__PURE__*/function () {
|
|
|
2585
2763
|
|
|
2586
2764
|
case 6:
|
|
2587
2765
|
res = _context2.sent;
|
|
2588
|
-
isSuperAdmin = res.headers[HEADER__SUPER_ADMIN];
|
|
2766
|
+
isSuperAdmin = res == null ? void 0 : (_res$headers = res.headers) == null ? void 0 : _res$headers[HEADER__SUPER_ADMIN];
|
|
2767
|
+
deviceId = res == null ? void 0 : (_res$config = res.config) == null ? void 0 : (_res$config$headers = _res$config.headers) == null ? void 0 : _res$config$headers[HEADER__DEVICE_ID];
|
|
2768
|
+
_context2.next = 11;
|
|
2769
|
+
return updateDevice(deviceId);
|
|
2589
2770
|
|
|
2771
|
+
case 11:
|
|
2590
2772
|
if (!(opts.asSuperAdmin && !isSuperAdmin)) {
|
|
2591
|
-
_context2.next =
|
|
2773
|
+
_context2.next = 14;
|
|
2592
2774
|
break;
|
|
2593
2775
|
}
|
|
2594
2776
|
|
|
@@ -2598,20 +2780,20 @@ var login = /*#__PURE__*/function () {
|
|
|
2598
2780
|
response: 'You need to be a super admin to log in!'
|
|
2599
2781
|
};
|
|
2600
2782
|
|
|
2601
|
-
case
|
|
2783
|
+
case 14:
|
|
2602
2784
|
if (isSuperAdmin) {
|
|
2603
2785
|
sdkClient.isSuperAdmin = isSuperAdmin;
|
|
2604
2786
|
storage.default.set('isSuperAdmin', isSuperAdmin);
|
|
2605
2787
|
}
|
|
2606
2788
|
|
|
2607
|
-
_context2.next =
|
|
2789
|
+
_context2.next = 17;
|
|
2608
2790
|
return setupAccountResources(res.data);
|
|
2609
2791
|
|
|
2610
|
-
case
|
|
2792
|
+
case 17:
|
|
2611
2793
|
account = _context2.sent;
|
|
2612
2794
|
return _context2.abrupt("return", account);
|
|
2613
2795
|
|
|
2614
|
-
case
|
|
2796
|
+
case 19:
|
|
2615
2797
|
case "end":
|
|
2616
2798
|
return _context2.stop();
|
|
2617
2799
|
}
|
|
@@ -2680,7 +2862,7 @@ var impersonate = /*#__PURE__*/function () {
|
|
|
2680
2862
|
doesParamExist.default({
|
|
2681
2863
|
accountId: accountId
|
|
2682
2864
|
}, opts.hyperMediaEndpoint);
|
|
2683
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
2865
|
+
return _context4.abrupt("return", request(_objectSpread$8({}, opts, {
|
|
2684
2866
|
getFullResponse: true,
|
|
2685
2867
|
path: pathImpersonateAccount(accountId)
|
|
2686
2868
|
}), {
|
|
@@ -2712,7 +2894,7 @@ var logout = /*#__PURE__*/function () {
|
|
|
2712
2894
|
switch (_context5.prev = _context5.next) {
|
|
2713
2895
|
case 0:
|
|
2714
2896
|
_context5.next = 2;
|
|
2715
|
-
return request(_objectSpread$
|
|
2897
|
+
return request(_objectSpread$8({}, opts, {
|
|
2716
2898
|
getFullResponse: true,
|
|
2717
2899
|
path: PATH__AUTH
|
|
2718
2900
|
}), {
|
|
@@ -2750,12 +2932,12 @@ var requestOtk = /*#__PURE__*/function () {
|
|
|
2750
2932
|
while (1) {
|
|
2751
2933
|
switch (_context6.prev = _context6.next) {
|
|
2752
2934
|
case 0:
|
|
2753
|
-
body = _omitBy(_objectSpread$
|
|
2935
|
+
body = _omitBy(_objectSpread$8({
|
|
2754
2936
|
email: email,
|
|
2755
2937
|
accountId: accountId
|
|
2756
2938
|
}, requestBody), _isEmpty);
|
|
2757
2939
|
_context6.next = 3;
|
|
2758
|
-
return request(_objectSpread$
|
|
2940
|
+
return request(_objectSpread$8({}, opts, {
|
|
2759
2941
|
getFullResponse: true,
|
|
2760
2942
|
path: PATH__OTK
|
|
2761
2943
|
}), {
|
|
@@ -2800,7 +2982,7 @@ var generateAuthy = /*#__PURE__*/function () {
|
|
|
2800
2982
|
accountId: accountId
|
|
2801
2983
|
}, opts.hyperMediaEndpoint);
|
|
2802
2984
|
_context7.next = 4;
|
|
2803
|
-
return request(_objectSpread$
|
|
2985
|
+
return request(_objectSpread$8({}, opts, {
|
|
2804
2986
|
path: pathAuthy(accountId),
|
|
2805
2987
|
getFullResponse: true
|
|
2806
2988
|
}), {
|
|
@@ -2844,7 +3026,7 @@ var removeAuthy = /*#__PURE__*/function () {
|
|
|
2844
3026
|
accountId: accountId
|
|
2845
3027
|
}, opts.hyperMediaEndpoint);
|
|
2846
3028
|
_context8.next = 4;
|
|
2847
|
-
return request(_objectSpread$
|
|
3029
|
+
return request(_objectSpread$8({}, opts, {
|
|
2848
3030
|
path: pathAuthy(accountId),
|
|
2849
3031
|
getFullResponse: true
|
|
2850
3032
|
}), {
|
|
@@ -2889,7 +3071,7 @@ var verifyAuthy = /*#__PURE__*/function () {
|
|
|
2889
3071
|
accountId: accountId
|
|
2890
3072
|
}, opts.hyperMediaEndpoint);
|
|
2891
3073
|
_context9.next = 4;
|
|
2892
|
-
return request(_objectSpread$
|
|
3074
|
+
return request(_objectSpread$8({}, opts, {
|
|
2893
3075
|
path: pathAuthyVerify(accountId),
|
|
2894
3076
|
getFullResponse: true
|
|
2895
3077
|
}), {
|
|
@@ -2938,7 +3120,7 @@ var createShortLivedToken = /*#__PURE__*/function () {
|
|
|
2938
3120
|
}, opts.hyperMediaEndpoint);
|
|
2939
3121
|
sdkClient.setToken("Bearer " + apiKey);
|
|
2940
3122
|
_context10.next = 5;
|
|
2941
|
-
return request(_objectSpread$
|
|
3123
|
+
return request(_objectSpread$8({}, opts, {
|
|
2942
3124
|
path: PATH__AUTH_TOKEN
|
|
2943
3125
|
}), {
|
|
2944
3126
|
method: 'post',
|
|
@@ -2964,6 +3146,13 @@ var createShortLivedToken = /*#__PURE__*/function () {
|
|
|
2964
3146
|
|
|
2965
3147
|
var auth = /*#__PURE__*/Object.freeze({
|
|
2966
3148
|
__proto__: null,
|
|
3149
|
+
PATH__AUTH: PATH__AUTH,
|
|
3150
|
+
PATH__OTK: PATH__OTK,
|
|
3151
|
+
PATH__AUTH_TOKEN: PATH__AUTH_TOKEN,
|
|
3152
|
+
pathImpersonateAccount: pathImpersonateAccount,
|
|
3153
|
+
pathAuthy: pathAuthy,
|
|
3154
|
+
pathAuthyVerify: pathAuthyVerify,
|
|
3155
|
+
HEADER__SUPER_ADMIN: HEADER__SUPER_ADMIN,
|
|
2967
3156
|
login: login,
|
|
2968
3157
|
loginWithToken: loginWithToken,
|
|
2969
3158
|
impersonate: impersonate,
|
|
@@ -2975,9 +3164,9 @@ var auth = /*#__PURE__*/Object.freeze({
|
|
|
2975
3164
|
createShortLivedToken: createShortLivedToken
|
|
2976
3165
|
});
|
|
2977
3166
|
|
|
2978
|
-
function ownKeys$
|
|
3167
|
+
function ownKeys$9(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; }
|
|
2979
3168
|
|
|
2980
|
-
function _objectSpread$
|
|
3169
|
+
function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2981
3170
|
var PATH__APPLICATIONS = '/applications';
|
|
2982
3171
|
var PATH__SELF_APPLICATION = '/applications/me';
|
|
2983
3172
|
|
|
@@ -2995,7 +3184,7 @@ var getSelfApplication = function getSelfApplication(opts) {
|
|
|
2995
3184
|
opts = {};
|
|
2996
3185
|
}
|
|
2997
3186
|
|
|
2998
|
-
return request(_objectSpread$
|
|
3187
|
+
return request(_objectSpread$9({}, opts, {
|
|
2999
3188
|
path: PATH__SELF_APPLICATION
|
|
3000
3189
|
}), {
|
|
3001
3190
|
method: 'get'
|
|
@@ -3016,7 +3205,7 @@ var getApplications = function getApplications(query, opts) {
|
|
|
3016
3205
|
opts = {};
|
|
3017
3206
|
}
|
|
3018
3207
|
|
|
3019
|
-
return request(_objectSpread$
|
|
3208
|
+
return request(_objectSpread$9({}, opts, {
|
|
3020
3209
|
path: PATH__APPLICATIONS
|
|
3021
3210
|
}), {
|
|
3022
3211
|
method: 'get',
|
|
@@ -3037,7 +3226,7 @@ var getApplication = function getApplication(applicationId, opts) {
|
|
|
3037
3226
|
doesParamExist.default({
|
|
3038
3227
|
applicationId: applicationId
|
|
3039
3228
|
}, opts.hyperMediaEndpoint);
|
|
3040
|
-
return request(_objectSpread$
|
|
3229
|
+
return request(_objectSpread$9({}, opts, {
|
|
3041
3230
|
path: pathApplication(applicationId)
|
|
3042
3231
|
}), {
|
|
3043
3232
|
method: 'get'
|
|
@@ -3058,7 +3247,7 @@ var updateApplication = function updateApplication(applicationId, body, opts) {
|
|
|
3058
3247
|
doesParamExist.default({
|
|
3059
3248
|
applicationId: applicationId
|
|
3060
3249
|
}, opts.hyperMediaEndpoint);
|
|
3061
|
-
return request(_objectSpread$
|
|
3250
|
+
return request(_objectSpread$9({}, opts, {
|
|
3062
3251
|
path: pathApplication(applicationId)
|
|
3063
3252
|
}), {
|
|
3064
3253
|
method: 'put',
|
|
@@ -3076,7 +3265,7 @@ var createApplication = function createApplication(body, opts) {
|
|
|
3076
3265
|
opts = {};
|
|
3077
3266
|
}
|
|
3078
3267
|
|
|
3079
|
-
return request(_objectSpread$
|
|
3268
|
+
return request(_objectSpread$9({}, opts, {
|
|
3080
3269
|
path: PATH__APPLICATIONS
|
|
3081
3270
|
}), {
|
|
3082
3271
|
method: 'post',
|
|
@@ -3093,9 +3282,9 @@ var applications = /*#__PURE__*/Object.freeze({
|
|
|
3093
3282
|
createApplication: createApplication
|
|
3094
3283
|
});
|
|
3095
3284
|
|
|
3096
|
-
function ownKeys$
|
|
3285
|
+
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; }
|
|
3097
3286
|
|
|
3098
|
-
function _objectSpread$
|
|
3287
|
+
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(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; }
|
|
3099
3288
|
var PATH_BLACKLIST_BANK_ACCOUNT = "/blacklistedbankaccounts";
|
|
3100
3289
|
|
|
3101
3290
|
/**
|
|
@@ -3113,7 +3302,7 @@ var createBlacklistedBankAccount = /*#__PURE__*/function () {
|
|
|
3113
3302
|
opts = {};
|
|
3114
3303
|
}
|
|
3115
3304
|
|
|
3116
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3305
|
+
return _context.abrupt("return", request(_objectSpread$a({}, opts, {
|
|
3117
3306
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3118
3307
|
}), {
|
|
3119
3308
|
method: 'post',
|
|
@@ -3148,7 +3337,7 @@ var getBlacklistedBankAccounts = /*#__PURE__*/function () {
|
|
|
3148
3337
|
opts = {};
|
|
3149
3338
|
}
|
|
3150
3339
|
|
|
3151
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3340
|
+
return _context2.abrupt("return", request(_objectSpread$a({}, opts, {
|
|
3152
3341
|
path: PATH_BLACKLIST_BANK_ACCOUNT
|
|
3153
3342
|
}), {
|
|
3154
3343
|
method: 'get',
|
|
@@ -3174,9 +3363,9 @@ var blacklist = /*#__PURE__*/Object.freeze({
|
|
|
3174
3363
|
getBlacklistedBankAccounts: getBlacklistedBankAccounts
|
|
3175
3364
|
});
|
|
3176
3365
|
|
|
3177
|
-
function ownKeys$
|
|
3366
|
+
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; }
|
|
3178
3367
|
|
|
3179
|
-
function _objectSpread$
|
|
3368
|
+
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(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; }
|
|
3180
3369
|
var pathBusinessBulkUploads = function pathBusinessBulkUploads(businessId) {
|
|
3181
3370
|
return "/businesses/" + businessId + "/bulkuploads";
|
|
3182
3371
|
};
|
|
@@ -3201,7 +3390,7 @@ var createBulkUpload = function createBulkUpload(businessId, body, opts) {
|
|
|
3201
3390
|
doesParamExist.default({
|
|
3202
3391
|
businessId: businessId
|
|
3203
3392
|
});
|
|
3204
|
-
return request(_objectSpread$
|
|
3393
|
+
return request(_objectSpread$b({}, opts, {
|
|
3205
3394
|
path: pathBusinessBulkUploads(businessId)
|
|
3206
3395
|
}), {
|
|
3207
3396
|
method: 'post',
|
|
@@ -3225,7 +3414,7 @@ var getBulkUpload = function getBulkUpload(businessId, bulkUploadId, opts) {
|
|
|
3225
3414
|
businessId: businessId,
|
|
3226
3415
|
bulkUploadId: bulkUploadId
|
|
3227
3416
|
});
|
|
3228
|
-
return request(_objectSpread$
|
|
3417
|
+
return request(_objectSpread$b({}, opts, {
|
|
3229
3418
|
path: pathBusinessBulkUpload(businessId, bulkUploadId)
|
|
3230
3419
|
}), {
|
|
3231
3420
|
method: 'get'
|
|
@@ -3246,7 +3435,7 @@ var getBulkUploadUrl = function getBulkUploadUrl(businessId, query, opts) {
|
|
|
3246
3435
|
doesParamExist.default({
|
|
3247
3436
|
businessId: businessId
|
|
3248
3437
|
});
|
|
3249
|
-
return request(_objectSpread$
|
|
3438
|
+
return request(_objectSpread$b({}, opts, {
|
|
3250
3439
|
path: pathBusinessBulkUploadUrl(businessId)
|
|
3251
3440
|
}), {
|
|
3252
3441
|
method: 'get',
|
|
@@ -3264,9 +3453,9 @@ var bulkUploads = /*#__PURE__*/Object.freeze({
|
|
|
3264
3453
|
getBulkUploadUrl: getBulkUploadUrl
|
|
3265
3454
|
});
|
|
3266
3455
|
|
|
3267
|
-
function ownKeys$
|
|
3456
|
+
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; }
|
|
3268
3457
|
|
|
3269
|
-
function _objectSpread$
|
|
3458
|
+
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(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; }
|
|
3270
3459
|
var pathSubmitDraftInvoices = function pathSubmitDraftInvoices(businessId) {
|
|
3271
3460
|
return "/businesses/" + businessId + "/bulksubmits";
|
|
3272
3461
|
};
|
|
@@ -3293,7 +3482,7 @@ var submitDraftInvoices = /*#__PURE__*/function () {
|
|
|
3293
3482
|
doesParamExist.default({
|
|
3294
3483
|
businessId: businessId
|
|
3295
3484
|
}, opts.hyperMediaEndpoint);
|
|
3296
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
3485
|
+
return _context.abrupt("return", request(_objectSpread$c({}, opts, {
|
|
3297
3486
|
path: pathSubmitDraftInvoices(businessId)
|
|
3298
3487
|
}), {
|
|
3299
3488
|
method: 'post',
|
|
@@ -3333,7 +3522,7 @@ var getDraftProgressStatus = /*#__PURE__*/function () {
|
|
|
3333
3522
|
businessId: businessId,
|
|
3334
3523
|
bulkSubmitId: bulkSubmitId
|
|
3335
3524
|
}, opts.hyperMediaEndpoint);
|
|
3336
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
3525
|
+
return _context2.abrupt("return", request(_objectSpread$c({}, opts, {
|
|
3337
3526
|
path: pathGetDraftProgressStatus(businessId, bulkSubmitId)
|
|
3338
3527
|
}), {
|
|
3339
3528
|
method: 'get',
|
|
@@ -3361,9 +3550,9 @@ var bulkSubmits = /*#__PURE__*/Object.freeze({
|
|
|
3361
3550
|
getDraftProgressStatus: getDraftProgressStatus
|
|
3362
3551
|
});
|
|
3363
3552
|
|
|
3364
|
-
function ownKeys$
|
|
3553
|
+
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; }
|
|
3365
3554
|
|
|
3366
|
-
function _objectSpread$
|
|
3555
|
+
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(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; }
|
|
3367
3556
|
var pathLinkBusinessProfile = function pathLinkBusinessProfile(businessProfileId) {
|
|
3368
3557
|
return "/businessprofiles/" + businessProfileId + "/link";
|
|
3369
3558
|
};
|
|
@@ -3381,7 +3570,7 @@ var getOrganisationBusinessProfiles = function getOrganisationBusinessProfiles(o
|
|
|
3381
3570
|
doesParamExist.default({
|
|
3382
3571
|
organisationId: organisationId
|
|
3383
3572
|
}, opts.hyperMediaEndpoint);
|
|
3384
|
-
return request(_objectSpread$
|
|
3573
|
+
return request(_objectSpread$d({}, opts, {
|
|
3385
3574
|
path: pathOrganisationBusinessProfiles(organisationId)
|
|
3386
3575
|
}), {
|
|
3387
3576
|
method: 'get',
|
|
@@ -3400,7 +3589,7 @@ var linkBusinessProfile = function linkBusinessProfile(businessProfileId, busine
|
|
|
3400
3589
|
var body = {
|
|
3401
3590
|
businessId: businessId
|
|
3402
3591
|
};
|
|
3403
|
-
return request(_objectSpread$
|
|
3592
|
+
return request(_objectSpread$d({}, opts, {
|
|
3404
3593
|
path: pathLinkBusinessProfile(businessProfileId)
|
|
3405
3594
|
}), {
|
|
3406
3595
|
method: 'put',
|
|
@@ -3415,7 +3604,7 @@ var unlinkBusinessProfile = function unlinkBusinessProfile(businessProfileId, op
|
|
|
3415
3604
|
doesParamExist.default({
|
|
3416
3605
|
businessProfileId: businessProfileId
|
|
3417
3606
|
}, opts.hyperMediaEndpoint);
|
|
3418
|
-
return request(_objectSpread$
|
|
3607
|
+
return request(_objectSpread$d({}, opts, {
|
|
3419
3608
|
path: pathUnlinkBusinessProfile(businessProfileId)
|
|
3420
3609
|
}), {
|
|
3421
3610
|
method: 'put'
|
|
@@ -3432,9 +3621,9 @@ var businessProfiles = /*#__PURE__*/Object.freeze({
|
|
|
3432
3621
|
unlinkBusinessProfile: unlinkBusinessProfile
|
|
3433
3622
|
});
|
|
3434
3623
|
|
|
3435
|
-
function ownKeys$
|
|
3624
|
+
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; }
|
|
3436
3625
|
|
|
3437
|
-
function _objectSpread$
|
|
3626
|
+
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(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; }
|
|
3438
3627
|
var PATH__BUSINESSES = '/businesses';
|
|
3439
3628
|
var PATH__MY_BUSINESSES = '/businesses/me';
|
|
3440
3629
|
|
|
@@ -3514,7 +3703,7 @@ var createBusiness = function createBusiness(body, opts) {
|
|
|
3514
3703
|
opts = {};
|
|
3515
3704
|
}
|
|
3516
3705
|
|
|
3517
|
-
return request(_objectSpread$
|
|
3706
|
+
return request(_objectSpread$e({}, opts, {
|
|
3518
3707
|
path: PATH__BUSINESSES
|
|
3519
3708
|
}), {
|
|
3520
3709
|
method: 'post',
|
|
@@ -3536,7 +3725,7 @@ var createOrganisationBusiness = function createOrganisationBusiness(organisatio
|
|
|
3536
3725
|
doesParamExist.default({
|
|
3537
3726
|
organisationId: organisationId
|
|
3538
3727
|
}, opts.hyperMediaEndpoint);
|
|
3539
|
-
return request(_objectSpread$
|
|
3728
|
+
return request(_objectSpread$e({}, opts, {
|
|
3540
3729
|
path: pathOrganisationBusiness(organisationId)
|
|
3541
3730
|
}), {
|
|
3542
3731
|
method: 'post',
|
|
@@ -3557,7 +3746,7 @@ var deleteBusiness = function deleteBusiness(businessId, opts) {
|
|
|
3557
3746
|
doesParamExist.default({
|
|
3558
3747
|
businessId: businessId
|
|
3559
3748
|
}, opts.hyperMediaEndpoint);
|
|
3560
|
-
return request(_objectSpread$
|
|
3749
|
+
return request(_objectSpread$e({}, opts, {
|
|
3561
3750
|
path: pathBusiness(businessId)
|
|
3562
3751
|
}), {
|
|
3563
3752
|
method: 'delete'
|
|
@@ -3578,7 +3767,7 @@ var disableBusiness = function disableBusiness(businessId, body, opts) {
|
|
|
3578
3767
|
doesParamExist.default({
|
|
3579
3768
|
businessId: businessId
|
|
3580
3769
|
}, opts.hyperMediaEndpoint);
|
|
3581
|
-
return request(_objectSpread$
|
|
3770
|
+
return request(_objectSpread$e({}, opts, {
|
|
3582
3771
|
path: pathDisableBusiness(businessId)
|
|
3583
3772
|
}), {
|
|
3584
3773
|
method: 'post',
|
|
@@ -3600,7 +3789,7 @@ var emailBusinessOnboardingQuestions = function emailBusinessOnboardingQuestions
|
|
|
3600
3789
|
doesParamExist.default({
|
|
3601
3790
|
businessId: businessId
|
|
3602
3791
|
}, opts.hyperMediaEndpoint);
|
|
3603
|
-
return request(_objectSpread$
|
|
3792
|
+
return request(_objectSpread$e({}, opts, {
|
|
3604
3793
|
path: pathBusinessOnboardingQuestions(businessId)
|
|
3605
3794
|
}), {
|
|
3606
3795
|
method: 'post',
|
|
@@ -3622,7 +3811,7 @@ var enableBusiness = function enableBusiness(businessId, body, opts) {
|
|
|
3622
3811
|
doesParamExist.default({
|
|
3623
3812
|
businessId: businessId
|
|
3624
3813
|
}, opts.hyperMediaEndpoint);
|
|
3625
|
-
return request(_objectSpread$
|
|
3814
|
+
return request(_objectSpread$e({}, opts, {
|
|
3626
3815
|
path: pathEnableBusiness(businessId)
|
|
3627
3816
|
}), {
|
|
3628
3817
|
method: 'post',
|
|
@@ -3648,7 +3837,7 @@ var getBusiness = function getBusiness(businessId, query, opts) {
|
|
|
3648
3837
|
doesParamExist.default({
|
|
3649
3838
|
businessId: businessId
|
|
3650
3839
|
}, opts.hyperMediaEndpoint);
|
|
3651
|
-
return request(_objectSpread$
|
|
3840
|
+
return request(_objectSpread$e({}, opts, {
|
|
3652
3841
|
path: pathBusiness(businessId)
|
|
3653
3842
|
}), {
|
|
3654
3843
|
method: 'get',
|
|
@@ -3670,7 +3859,7 @@ var getBusinesses = function getBusinesses(query, opts) {
|
|
|
3670
3859
|
opts = {};
|
|
3671
3860
|
}
|
|
3672
3861
|
|
|
3673
|
-
return request(_objectSpread$
|
|
3862
|
+
return request(_objectSpread$e({}, opts, {
|
|
3674
3863
|
path: PATH__BUSINESSES
|
|
3675
3864
|
}), {
|
|
3676
3865
|
method: 'get',
|
|
@@ -3692,7 +3881,7 @@ var getMyBusinesses = function getMyBusinesses(query, opts) {
|
|
|
3692
3881
|
opts = {};
|
|
3693
3882
|
}
|
|
3694
3883
|
|
|
3695
|
-
return request(_objectSpread$
|
|
3884
|
+
return request(_objectSpread$e({}, opts, {
|
|
3696
3885
|
path: PATH__MY_BUSINESSES
|
|
3697
3886
|
}), {
|
|
3698
3887
|
method: 'get',
|
|
@@ -3714,7 +3903,7 @@ var getBusinessPDFs = function getBusinessPDFs(businessId, body, opts) {
|
|
|
3714
3903
|
doesParamExist.default({
|
|
3715
3904
|
businessId: businessId
|
|
3716
3905
|
}, opts.hyperMediaEndpoint);
|
|
3717
|
-
return request(_objectSpread$
|
|
3906
|
+
return request(_objectSpread$e({}, opts, {
|
|
3718
3907
|
path: pathBusiness(businessId) + "/pdfs"
|
|
3719
3908
|
}), {
|
|
3720
3909
|
method: 'post',
|
|
@@ -3741,7 +3930,7 @@ var getAccountsBusinesses = function getAccountsBusinesses(accountId, query, opt
|
|
|
3741
3930
|
doesParamExist.default({
|
|
3742
3931
|
accountId: accountId
|
|
3743
3932
|
}, opts.hyperMediaEndpoint);
|
|
3744
|
-
return request(_objectSpread$
|
|
3933
|
+
return request(_objectSpread$e({}, opts, {
|
|
3745
3934
|
path: pathAccountsBusinesses(accountId)
|
|
3746
3935
|
}), {
|
|
3747
3936
|
method: 'get',
|
|
@@ -3767,7 +3956,7 @@ var getOrganisationBusinesses = function getOrganisationBusinesses(organisationI
|
|
|
3767
3956
|
doesParamExist.default({
|
|
3768
3957
|
organisationId: organisationId
|
|
3769
3958
|
}, opts.hyperMediaEndpoint);
|
|
3770
|
-
return request(_objectSpread$
|
|
3959
|
+
return request(_objectSpread$e({}, opts, {
|
|
3771
3960
|
path: pathOrganisationBusiness(organisationId)
|
|
3772
3961
|
}), {
|
|
3773
3962
|
method: 'get',
|
|
@@ -3789,7 +3978,7 @@ var updateBusiness = function updateBusiness(businessId, body, opts) {
|
|
|
3789
3978
|
doesParamExist.default({
|
|
3790
3979
|
businessId: businessId
|
|
3791
3980
|
}, opts.hyperMediaEndpoint);
|
|
3792
|
-
return request(_objectSpread$
|
|
3981
|
+
return request(_objectSpread$e({}, opts, {
|
|
3793
3982
|
path: pathBusiness(businessId)
|
|
3794
3983
|
}), {
|
|
3795
3984
|
method: 'put',
|
|
@@ -3811,7 +4000,7 @@ var unsuspendBusiness = function unsuspendBusiness(businessId, body, opts) {
|
|
|
3811
4000
|
doesParamExist.default({
|
|
3812
4001
|
businessId: businessId
|
|
3813
4002
|
}, opts.hyperMediaEndpoint);
|
|
3814
|
-
return request(_objectSpread$
|
|
4003
|
+
return request(_objectSpread$e({}, opts, {
|
|
3815
4004
|
path: pathUnsuspendBusiness(businessId)
|
|
3816
4005
|
}), {
|
|
3817
4006
|
method: 'post',
|
|
@@ -3833,7 +4022,7 @@ var verifyMedicare = function verifyMedicare(businessId, body, opts) {
|
|
|
3833
4022
|
doesParamExist.default({
|
|
3834
4023
|
businessId: businessId
|
|
3835
4024
|
}, opts.hyperMediaEndpoint);
|
|
3836
|
-
return request(_objectSpread$
|
|
4025
|
+
return request(_objectSpread$e({}, opts, {
|
|
3837
4026
|
path: pathVerifyMedicare(businessId)
|
|
3838
4027
|
}), {
|
|
3839
4028
|
method: 'post',
|
|
@@ -3855,7 +4044,7 @@ var oldVerifyDVA = function oldVerifyDVA(businessId, body, opts) {
|
|
|
3855
4044
|
doesParamExist.default({
|
|
3856
4045
|
businessId: businessId
|
|
3857
4046
|
}, opts.hyperMediaEndpoint);
|
|
3858
|
-
return request(_objectSpread$
|
|
4047
|
+
return request(_objectSpread$e({}, opts, {
|
|
3859
4048
|
path: oldPathVerifyDVA(businessId)
|
|
3860
4049
|
}), {
|
|
3861
4050
|
method: 'post',
|
|
@@ -3877,7 +4066,7 @@ var verifyDVA = function verifyDVA(businessId, body, opts) {
|
|
|
3877
4066
|
doesParamExist.default({
|
|
3878
4067
|
businessId: businessId
|
|
3879
4068
|
}, opts.hyperMediaEndpoint);
|
|
3880
|
-
return request(_objectSpread$
|
|
4069
|
+
return request(_objectSpread$e({}, opts, {
|
|
3881
4070
|
path: pathVerifyDVA(businessId)
|
|
3882
4071
|
}), {
|
|
3883
4072
|
method: 'post',
|
|
@@ -3899,7 +4088,7 @@ var verifyIcare = function verifyIcare(businessId, body, opts) {
|
|
|
3899
4088
|
doesParamExist.default({
|
|
3900
4089
|
businessId: businessId
|
|
3901
4090
|
}, opts.hyperMediaEndpoint);
|
|
3902
|
-
return request(_objectSpread$
|
|
4091
|
+
return request(_objectSpread$e({}, opts, {
|
|
3903
4092
|
path: pathVerifyIcare(businessId)
|
|
3904
4093
|
}), {
|
|
3905
4094
|
method: 'post',
|
|
@@ -3925,7 +4114,7 @@ var verifyComcare = function verifyComcare(businessId, staffId, providerSetItemI
|
|
|
3925
4114
|
staffId: staffId,
|
|
3926
4115
|
providerSetItemId: providerSetItemId
|
|
3927
4116
|
}, opts.hyperMediaEndpoint);
|
|
3928
|
-
return request(_objectSpread$
|
|
4117
|
+
return request(_objectSpread$e({}, opts, {
|
|
3929
4118
|
path: pathVerifyComcare(businessId, staffId, providerSetItemId)
|
|
3930
4119
|
}), {
|
|
3931
4120
|
method: 'post',
|
|
@@ -3947,7 +4136,7 @@ var createSupportNote = function createSupportNote(businessId, body, opts) {
|
|
|
3947
4136
|
doesParamExist.default({
|
|
3948
4137
|
businessId: businessId
|
|
3949
4138
|
}, opts.hyperMediaEndpoint);
|
|
3950
|
-
return request(_objectSpread$
|
|
4139
|
+
return request(_objectSpread$e({}, opts, {
|
|
3951
4140
|
path: pathCreateSupportNote(businessId)
|
|
3952
4141
|
}), {
|
|
3953
4142
|
method: 'post',
|
|
@@ -3969,7 +4158,7 @@ var getBsbDetails = function getBsbDetails(businessId, query, opts) {
|
|
|
3969
4158
|
doesParamExist.default({
|
|
3970
4159
|
businessId: businessId
|
|
3971
4160
|
}, opts.hyperMediaEndpoint);
|
|
3972
|
-
return request(_objectSpread$
|
|
4161
|
+
return request(_objectSpread$e({}, opts, {
|
|
3973
4162
|
path: pathBsbDetails(businessId)
|
|
3974
4163
|
}), {
|
|
3975
4164
|
method: 'get',
|
|
@@ -3991,7 +4180,7 @@ var sendBusinessEmail = function sendBusinessEmail(businessId, body, opts) {
|
|
|
3991
4180
|
doesParamExist.default({
|
|
3992
4181
|
businessId: businessId
|
|
3993
4182
|
}, opts.hyperMediaEndpoint);
|
|
3994
|
-
return request(_objectSpread$
|
|
4183
|
+
return request(_objectSpread$e({}, opts, {
|
|
3995
4184
|
path: pathBusinessSendEmails(businessId)
|
|
3996
4185
|
}), {
|
|
3997
4186
|
method: 'post',
|
|
@@ -4013,7 +4202,7 @@ var suspendBusiness = function suspendBusiness(businessId, body, opts) {
|
|
|
4013
4202
|
doesParamExist.default({
|
|
4014
4203
|
businessId: businessId
|
|
4015
4204
|
}, opts.hyperMediaEndpoint);
|
|
4016
|
-
return request(_objectSpread$
|
|
4205
|
+
return request(_objectSpread$e({}, opts, {
|
|
4017
4206
|
path: pathSuspendBusiness(businessId)
|
|
4018
4207
|
}), {
|
|
4019
4208
|
method: 'post',
|
|
@@ -4048,9 +4237,9 @@ var businesses = /*#__PURE__*/Object.freeze({
|
|
|
4048
4237
|
suspendBusiness: suspendBusiness
|
|
4049
4238
|
});
|
|
4050
4239
|
|
|
4051
|
-
function ownKeys$
|
|
4240
|
+
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; }
|
|
4052
4241
|
|
|
4053
|
-
function _objectSpread$
|
|
4242
|
+
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(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; }
|
|
4054
4243
|
|
|
4055
4244
|
var pathBusinessClaimItems = function pathBusinessClaimItems(businessId) {
|
|
4056
4245
|
return "/businesses/" + businessId + "/claimitems";
|
|
@@ -4092,7 +4281,7 @@ var getBusinessClaimItems = /*#__PURE__*/function () {
|
|
|
4092
4281
|
doesParamExist.default({
|
|
4093
4282
|
businessId: businessId
|
|
4094
4283
|
}, opts.hyperMediaEndpoint);
|
|
4095
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
4284
|
+
return _context.abrupt("return", request(_objectSpread$f({}, opts, {
|
|
4096
4285
|
path: pathBusinessClaimItems(businessId)
|
|
4097
4286
|
}), {
|
|
4098
4287
|
method: 'get',
|
|
@@ -4137,7 +4326,7 @@ var getBusinessClaimItem = /*#__PURE__*/function () {
|
|
|
4137
4326
|
businessId: businessId,
|
|
4138
4327
|
claimItemId: claimItemId
|
|
4139
4328
|
}, opts.hyperMediaEndpoint);
|
|
4140
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
4329
|
+
return _context2.abrupt("return", request(_objectSpread$f({}, opts, {
|
|
4141
4330
|
path: pathBusinessClaimItem(businessId, claimItemId)
|
|
4142
4331
|
}), {
|
|
4143
4332
|
method: 'get',
|
|
@@ -4180,7 +4369,7 @@ var getHealthFundClaimItems = /*#__PURE__*/function () {
|
|
|
4180
4369
|
doesParamExist.default({
|
|
4181
4370
|
healthFundId: healthFundId
|
|
4182
4371
|
}, opts.hyperMediaEndpoint);
|
|
4183
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
4372
|
+
return _context3.abrupt("return", request(_objectSpread$f({}, opts, {
|
|
4184
4373
|
path: pathHealthFundClaimItems(healthFundId)
|
|
4185
4374
|
}), {
|
|
4186
4375
|
method: 'get',
|
|
@@ -4225,7 +4414,7 @@ var getHealthFundClaimItem = /*#__PURE__*/function () {
|
|
|
4225
4414
|
healthFundId: healthFundId,
|
|
4226
4415
|
claimItemId: claimItemId
|
|
4227
4416
|
}, opts.hyperMediaEndpoint);
|
|
4228
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
4417
|
+
return _context4.abrupt("return", request(_objectSpread$f({}, opts, {
|
|
4229
4418
|
path: pathHealthFundClaimItem(healthFundId, claimItemId)
|
|
4230
4419
|
}), {
|
|
4231
4420
|
method: 'get',
|
|
@@ -4253,143 +4442,6 @@ var claimItems = /*#__PURE__*/Object.freeze({
|
|
|
4253
4442
|
getHealthFundClaimItem: getHealthFundClaimItem
|
|
4254
4443
|
});
|
|
4255
4444
|
|
|
4256
|
-
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; }
|
|
4257
|
-
|
|
4258
|
-
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(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; }
|
|
4259
|
-
var PATH__DEVICES = '/devices';
|
|
4260
|
-
var isRegistering = false;
|
|
4261
|
-
/**
|
|
4262
|
-
* Register a device
|
|
4263
|
-
* @param {Object} opts - Additional options
|
|
4264
|
-
* @returns {Object} The device data
|
|
4265
|
-
*/
|
|
4266
|
-
|
|
4267
|
-
var registerDevice = /*#__PURE__*/function () {
|
|
4268
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(opts) {
|
|
4269
|
-
var deviceData, data, _data;
|
|
4270
|
-
|
|
4271
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4272
|
-
while (1) {
|
|
4273
|
-
switch (_context.prev = _context.next) {
|
|
4274
|
-
case 0:
|
|
4275
|
-
if (isRegistering) {
|
|
4276
|
-
_context.next = 15;
|
|
4277
|
-
break;
|
|
4278
|
-
}
|
|
4279
|
-
|
|
4280
|
-
_context.prev = 1;
|
|
4281
|
-
isRegistering = true;
|
|
4282
|
-
deviceData = {
|
|
4283
|
-
deviceType: 'browser',
|
|
4284
|
-
os: {
|
|
4285
|
-
type: platform.os.family || 'Unknown',
|
|
4286
|
-
ver: platform.os.version || '0'
|
|
4287
|
-
},
|
|
4288
|
-
app: {
|
|
4289
|
-
appId: platform.ua || 'Unknown'
|
|
4290
|
-
}
|
|
4291
|
-
};
|
|
4292
|
-
_context.next = 6;
|
|
4293
|
-
return request(_objectSpread$f({}, opts, {
|
|
4294
|
-
path: PATH__DEVICES
|
|
4295
|
-
}), {
|
|
4296
|
-
method: 'post',
|
|
4297
|
-
data: deviceData,
|
|
4298
|
-
skipDeviceCheck: true
|
|
4299
|
-
});
|
|
4300
|
-
|
|
4301
|
-
case 6:
|
|
4302
|
-
data = _context.sent;
|
|
4303
|
-
sdkClient.device = data;
|
|
4304
|
-
storage.default.set('device', data);
|
|
4305
|
-
return _context.abrupt("return", data);
|
|
4306
|
-
|
|
4307
|
-
case 10:
|
|
4308
|
-
_context.prev = 10;
|
|
4309
|
-
isRegistering = false;
|
|
4310
|
-
return _context.finish(10);
|
|
4311
|
-
|
|
4312
|
-
case 13:
|
|
4313
|
-
_context.next = 20;
|
|
4314
|
-
break;
|
|
4315
|
-
|
|
4316
|
-
case 15:
|
|
4317
|
-
_context.next = 17;
|
|
4318
|
-
return new Promise(function (resolve) {
|
|
4319
|
-
return setTimeout(resolve, 100);
|
|
4320
|
-
});
|
|
4321
|
-
|
|
4322
|
-
case 17:
|
|
4323
|
-
_data = sdkClient.device;
|
|
4324
|
-
|
|
4325
|
-
case 18:
|
|
4326
|
-
if (!_data) {
|
|
4327
|
-
_context.next = 15;
|
|
4328
|
-
break;
|
|
4329
|
-
}
|
|
4330
|
-
|
|
4331
|
-
case 19:
|
|
4332
|
-
return _context.abrupt("return", _data);
|
|
4333
|
-
|
|
4334
|
-
case 20:
|
|
4335
|
-
case "end":
|
|
4336
|
-
return _context.stop();
|
|
4337
|
-
}
|
|
4338
|
-
}
|
|
4339
|
-
}, _callee, null, [[1,, 10, 13]]);
|
|
4340
|
-
}));
|
|
4341
|
-
|
|
4342
|
-
return function registerDevice(_x) {
|
|
4343
|
-
return _ref.apply(this, arguments);
|
|
4344
|
-
};
|
|
4345
|
-
}();
|
|
4346
|
-
/**
|
|
4347
|
-
* Check if the device exists, and set the device id request header.
|
|
4348
|
-
*/
|
|
4349
|
-
|
|
4350
|
-
var getDeviceId = /*#__PURE__*/function () {
|
|
4351
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
4352
|
-
var device, data;
|
|
4353
|
-
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
4354
|
-
while (1) {
|
|
4355
|
-
switch (_context2.prev = _context2.next) {
|
|
4356
|
-
case 0:
|
|
4357
|
-
device = sdkClient.device || storage.default.get('device');
|
|
4358
|
-
|
|
4359
|
-
if (!(!device || !device.deviceId)) {
|
|
4360
|
-
_context2.next = 6;
|
|
4361
|
-
break;
|
|
4362
|
-
}
|
|
4363
|
-
|
|
4364
|
-
_context2.next = 4;
|
|
4365
|
-
return registerDevice();
|
|
4366
|
-
|
|
4367
|
-
case 4:
|
|
4368
|
-
data = _context2.sent;
|
|
4369
|
-
return _context2.abrupt("return", data.deviceId);
|
|
4370
|
-
|
|
4371
|
-
case 6:
|
|
4372
|
-
return _context2.abrupt("return", device.deviceId);
|
|
4373
|
-
|
|
4374
|
-
case 7:
|
|
4375
|
-
case "end":
|
|
4376
|
-
return _context2.stop();
|
|
4377
|
-
}
|
|
4378
|
-
}
|
|
4379
|
-
}, _callee2);
|
|
4380
|
-
}));
|
|
4381
|
-
|
|
4382
|
-
return function getDeviceId() {
|
|
4383
|
-
return _ref2.apply(this, arguments);
|
|
4384
|
-
};
|
|
4385
|
-
}();
|
|
4386
|
-
|
|
4387
|
-
var devices = /*#__PURE__*/Object.freeze({
|
|
4388
|
-
__proto__: null,
|
|
4389
|
-
registerDevice: registerDevice,
|
|
4390
|
-
getDeviceId: getDeviceId
|
|
4391
|
-
});
|
|
4392
|
-
|
|
4393
4445
|
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; }
|
|
4394
4446
|
|
|
4395
4447
|
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(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; }
|
|
@@ -22061,10 +22113,14 @@ exports.HEADER__APP_VERSION = HEADER__APP_VERSION;
|
|
|
22061
22113
|
exports.HEADER__DEVICE_ID = HEADER__DEVICE_ID;
|
|
22062
22114
|
exports.HEADER__INTERCOM_HASH = HEADER__INTERCOM_HASH;
|
|
22063
22115
|
exports.HEADER__SDK_VERSION = HEADER__SDK_VERSION;
|
|
22116
|
+
exports.HEADER__SUPER_ADMIN = HEADER__SUPER_ADMIN;
|
|
22064
22117
|
exports.HEADER__TOKEN = HEADER__TOKEN;
|
|
22118
|
+
exports.PATH__AUTH = PATH__AUTH;
|
|
22119
|
+
exports.PATH__AUTH_TOKEN = PATH__AUTH_TOKEN;
|
|
22065
22120
|
exports.PATH__FUNDERS = PATH__FUNDERS;
|
|
22066
22121
|
exports.PATH__JHCS = PATH__JHCS;
|
|
22067
22122
|
exports.PATH__MEDICARE_VERIFY = PATH__MEDICARE_VERIFY;
|
|
22123
|
+
exports.PATH__OTK = PATH__OTK;
|
|
22068
22124
|
exports.PATH__REF_SOURCES = PATH__REF_SOURCES;
|
|
22069
22125
|
exports._isTokenExpired = _isTokenExpired;
|
|
22070
22126
|
exports.abr = abr;
|
|
@@ -22527,6 +22583,8 @@ exports.parseProviderSet = parseProviderSet;
|
|
|
22527
22583
|
exports.partners = partners;
|
|
22528
22584
|
exports.pathApiKeyByApiKeyId = pathApiKeyByApiKeyId;
|
|
22529
22585
|
exports.pathApiKeysByBusinessId = pathApiKeysByBusinessId;
|
|
22586
|
+
exports.pathAuthy = pathAuthy;
|
|
22587
|
+
exports.pathAuthyVerify = pathAuthyVerify;
|
|
22530
22588
|
exports.pathBusinessAddBeneficialOwner = pathBusinessAddBeneficialOwner;
|
|
22531
22589
|
exports.pathBusinessBulkUpload = pathBusinessBulkUpload;
|
|
22532
22590
|
exports.pathBusinessBulkUploadUrl = pathBusinessBulkUploadUrl;
|
|
@@ -22565,6 +22623,7 @@ exports.pathBusinessesRNAs = pathBusinessesRNAs;
|
|
|
22565
22623
|
exports.pathCancels = pathCancels;
|
|
22566
22624
|
exports.pathClientTokenByPracticeId = pathClientTokenByPracticeId;
|
|
22567
22625
|
exports.pathCreateHealthFundTransactionExport = pathCreateHealthFundTransactionExport;
|
|
22626
|
+
exports.pathDeviceByDeviceId = pathDeviceByDeviceId;
|
|
22568
22627
|
exports.pathFilterOptions = pathFilterOptions;
|
|
22569
22628
|
exports.pathFunder = pathFunder;
|
|
22570
22629
|
exports.pathFunderSettings = pathFunderSettings;
|
|
@@ -22608,6 +22667,7 @@ exports.pathHealthFundTransactionNote = pathHealthFundTransactionNote;
|
|
|
22608
22667
|
exports.pathHealthFundVendor = pathHealthFundVendor;
|
|
22609
22668
|
exports.pathHealthFundVendors = pathHealthFundVendors;
|
|
22610
22669
|
exports.pathHealthFundWorkflowExceptions = pathHealthFundWorkflowExceptions;
|
|
22670
|
+
exports.pathImpersonateAccount = pathImpersonateAccount;
|
|
22611
22671
|
exports.pathInvoiceScanByInvoiceScanId = pathInvoiceScanByInvoiceScanId;
|
|
22612
22672
|
exports.pathInvoiceScansByBusinessId = pathInvoiceScansByBusinessId;
|
|
22613
22673
|
exports.pathJHC = pathJHC;
|
|
@@ -22781,6 +22841,7 @@ exports.updateBusinessStaffMember = updateBusinessStaffMember;
|
|
|
22781
22841
|
exports.updateBusinessStaffMemberEmail = updateBusinessStaffMemberEmail;
|
|
22782
22842
|
exports.updateBusinessSubscription = updateBusinessSubscription;
|
|
22783
22843
|
exports.updateClaim = updateClaim;
|
|
22844
|
+
exports.updateDevice = updateDevice;
|
|
22784
22845
|
exports.updateDocAccount = updateDocAccount;
|
|
22785
22846
|
exports.updateEmailPackage = updateEmailPackage;
|
|
22786
22847
|
exports.updateHealthFund = updateHealthFund;
|