@medipass/web-sdk 11.18.11-fix-sdk-dependency.0 → 11.18.12-chore-staff-types-constant.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/lib/index.js +1 -1
- package/lib/index.js.flow +2 -0
- package/lib/resources/accounts.js +1 -1
- package/lib/resources/actions.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/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.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/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-settings.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 +51 -0
- package/lib/resources/provider-number-types.js.flow +32 -0
- 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-e0e2790e.js → staff-a7191551.js} +327 -239
- 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
|
@@ -12125,6 +12125,89 @@ var providerRegistrationTypes = /*#__PURE__*/Object.freeze({
|
|
|
12125
12125
|
function ownKeys$M(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12126
12126
|
|
|
12127
12127
|
function _objectSpread$M(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$M(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$M(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12128
|
+
var pathProviderNumberTypes = function pathProviderNumberTypes() {
|
|
12129
|
+
return "/providernumbertypes";
|
|
12130
|
+
};
|
|
12131
|
+
var pathProviderNumberType = function pathProviderNumberType(providerNumberTypeId) {
|
|
12132
|
+
return "/providernumbertypes/" + providerNumberTypeId;
|
|
12133
|
+
};
|
|
12134
|
+
/**
|
|
12135
|
+
* Get provider number types
|
|
12136
|
+
* @param {Object} query - Query parameters
|
|
12137
|
+
* @param {Object} opts - Additional options
|
|
12138
|
+
*/
|
|
12139
|
+
|
|
12140
|
+
var getProviderNumberTypes = /*#__PURE__*/function () {
|
|
12141
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(query, opts) {
|
|
12142
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
12143
|
+
while (1) {
|
|
12144
|
+
switch (_context.prev = _context.next) {
|
|
12145
|
+
case 0:
|
|
12146
|
+
if (query === void 0) {
|
|
12147
|
+
query = {};
|
|
12148
|
+
}
|
|
12149
|
+
|
|
12150
|
+
if (opts === void 0) {
|
|
12151
|
+
opts = {};
|
|
12152
|
+
}
|
|
12153
|
+
|
|
12154
|
+
return _context.abrupt("return", request(_objectSpread$M({}, opts, {
|
|
12155
|
+
path: pathProviderNumberTypes()
|
|
12156
|
+
}), {
|
|
12157
|
+
method: 'get',
|
|
12158
|
+
params: query
|
|
12159
|
+
}));
|
|
12160
|
+
|
|
12161
|
+
case 3:
|
|
12162
|
+
case "end":
|
|
12163
|
+
return _context.stop();
|
|
12164
|
+
}
|
|
12165
|
+
}
|
|
12166
|
+
}, _callee);
|
|
12167
|
+
}));
|
|
12168
|
+
|
|
12169
|
+
return function getProviderNumberTypes(_x, _x2) {
|
|
12170
|
+
return _ref.apply(this, arguments);
|
|
12171
|
+
};
|
|
12172
|
+
}();
|
|
12173
|
+
/**
|
|
12174
|
+
* Get provider number type
|
|
12175
|
+
* @param {String} providerNumberTypeId - Provider number type ID
|
|
12176
|
+
* @param {Object} query - Query parameters
|
|
12177
|
+
* @param {Object} opts - Additional options
|
|
12178
|
+
*/
|
|
12179
|
+
|
|
12180
|
+
var getProviderNumberType = function getProviderNumberType(providerNumberTypeId, query, opts) {
|
|
12181
|
+
if (query === void 0) {
|
|
12182
|
+
query = {};
|
|
12183
|
+
}
|
|
12184
|
+
|
|
12185
|
+
if (opts === void 0) {
|
|
12186
|
+
opts = {};
|
|
12187
|
+
}
|
|
12188
|
+
|
|
12189
|
+
doesParamExist.default({
|
|
12190
|
+
providerNumberTypeId: providerNumberTypeId
|
|
12191
|
+
}, opts.hyperMediaEndpoint);
|
|
12192
|
+
return request(_objectSpread$M({}, opts, {
|
|
12193
|
+
path: pathProviderNumberType(providerNumberTypeId)
|
|
12194
|
+
}), {
|
|
12195
|
+
method: 'get',
|
|
12196
|
+
params: query
|
|
12197
|
+
});
|
|
12198
|
+
};
|
|
12199
|
+
|
|
12200
|
+
var providerNumberTypes = /*#__PURE__*/Object.freeze({
|
|
12201
|
+
__proto__: null,
|
|
12202
|
+
pathProviderNumberTypes: pathProviderNumberTypes,
|
|
12203
|
+
pathProviderNumberType: pathProviderNumberType,
|
|
12204
|
+
getProviderNumberTypes: getProviderNumberTypes,
|
|
12205
|
+
getProviderNumberType: getProviderNumberType
|
|
12206
|
+
});
|
|
12207
|
+
|
|
12208
|
+
function ownKeys$N(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12209
|
+
|
|
12210
|
+
function _objectSpread$N(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$N(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12128
12211
|
var PATH__PROVIDER_TYPES = '/providertypes';
|
|
12129
12212
|
/**
|
|
12130
12213
|
* Get provider types
|
|
@@ -12141,7 +12224,7 @@ var getProviderTypes = /*#__PURE__*/function () {
|
|
|
12141
12224
|
opts = {};
|
|
12142
12225
|
}
|
|
12143
12226
|
|
|
12144
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12227
|
+
return _context.abrupt("return", request(_objectSpread$N({}, opts, {
|
|
12145
12228
|
path: PATH__PROVIDER_TYPES
|
|
12146
12229
|
}), {
|
|
12147
12230
|
method: 'get'
|
|
@@ -12165,16 +12248,16 @@ var providerTypes = /*#__PURE__*/Object.freeze({
|
|
|
12165
12248
|
getProviderTypes: getProviderTypes
|
|
12166
12249
|
});
|
|
12167
12250
|
|
|
12168
|
-
function ownKeys$
|
|
12251
|
+
function ownKeys$O(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12169
12252
|
|
|
12170
|
-
function _objectSpread$
|
|
12253
|
+
function _objectSpread$O(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$O(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$O(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12171
12254
|
var PATH__REF_SOURCES = '/refsources';
|
|
12172
12255
|
var getRefSources = function getRefSources(query, opts) {
|
|
12173
12256
|
if (opts === void 0) {
|
|
12174
12257
|
opts = {};
|
|
12175
12258
|
}
|
|
12176
12259
|
|
|
12177
|
-
return request(_objectSpread$
|
|
12260
|
+
return request(_objectSpread$O({}, opts, {
|
|
12178
12261
|
path: PATH__REF_SOURCES
|
|
12179
12262
|
}), {
|
|
12180
12263
|
method: 'get',
|
|
@@ -12188,9 +12271,9 @@ var refSources = /*#__PURE__*/Object.freeze({
|
|
|
12188
12271
|
getRefSources: getRefSources
|
|
12189
12272
|
});
|
|
12190
12273
|
|
|
12191
|
-
function ownKeys$
|
|
12274
|
+
function ownKeys$P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12192
12275
|
|
|
12193
|
-
function _objectSpread$
|
|
12276
|
+
function _objectSpread$P(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$P(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12194
12277
|
var PATH__TRANSACTIONS = '/transaction';
|
|
12195
12278
|
/**
|
|
12196
12279
|
* Get risk score
|
|
@@ -12211,7 +12294,7 @@ var getTransactionRiskScore = /*#__PURE__*/function () {
|
|
|
12211
12294
|
doesParamExist.default({
|
|
12212
12295
|
transactionId: transactionId
|
|
12213
12296
|
}, opts.hyperMediaEndpoint);
|
|
12214
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12297
|
+
return _context.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12215
12298
|
apiName: 'risk',
|
|
12216
12299
|
path: PATH__TRANSACTIONS + "/risk/" + transactionId
|
|
12217
12300
|
}), {
|
|
@@ -12246,7 +12329,7 @@ var scoreAndSaveTransaction = /*#__PURE__*/function () {
|
|
|
12246
12329
|
opts = {};
|
|
12247
12330
|
}
|
|
12248
12331
|
|
|
12249
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12332
|
+
return _context2.abrupt("return", request(_objectSpread$P({}, opts, {
|
|
12250
12333
|
apiName: 'risk',
|
|
12251
12334
|
path: PATH__TRANSACTIONS
|
|
12252
12335
|
}), {
|
|
@@ -12273,9 +12356,9 @@ var risk = /*#__PURE__*/Object.freeze({
|
|
|
12273
12356
|
scoreAndSaveTransaction: scoreAndSaveTransaction
|
|
12274
12357
|
});
|
|
12275
12358
|
|
|
12276
|
-
function ownKeys$
|
|
12359
|
+
function ownKeys$Q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12277
12360
|
|
|
12278
|
-
function _objectSpread$
|
|
12361
|
+
function _objectSpread$Q(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$Q(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$Q(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12279
12362
|
var pathHealthFundRNAs = function pathHealthFundRNAs(healthFundId) {
|
|
12280
12363
|
return "/healthfunds/" + healthFundId + "/rnas";
|
|
12281
12364
|
};
|
|
@@ -12309,7 +12392,7 @@ var getBusinessRNAs = function getBusinessRNAs(businessId, query, opts) {
|
|
|
12309
12392
|
doesParamExist.default({
|
|
12310
12393
|
businessId: businessId
|
|
12311
12394
|
}, opts.hyperMediaEndpoint);
|
|
12312
|
-
return request(_objectSpread$
|
|
12395
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12313
12396
|
path: pathBusinessesRNAs(businessId)
|
|
12314
12397
|
}), {
|
|
12315
12398
|
method: 'get',
|
|
@@ -12332,7 +12415,7 @@ var getBusinessRNA = function getBusinessRNA(businessId, rnaId, opts) {
|
|
|
12332
12415
|
businessId: businessId,
|
|
12333
12416
|
rnaId: rnaId
|
|
12334
12417
|
}, opts.hyperMediaEndpoint);
|
|
12335
|
-
return request(_objectSpread$
|
|
12418
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12336
12419
|
path: "" + pathBusinessRNA(businessId, rnaId)
|
|
12337
12420
|
}), {
|
|
12338
12421
|
method: 'get'
|
|
@@ -12353,7 +12436,7 @@ var checkRNAExists = function checkRNAExists(businessId, query, opts) {
|
|
|
12353
12436
|
doesParamExist.default({
|
|
12354
12437
|
businessId: businessId
|
|
12355
12438
|
}, opts.hyperMediaEndpoint);
|
|
12356
|
-
return request(_objectSpread$
|
|
12439
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12357
12440
|
path: pathBusinessesRNAs(businessId) + "/exists"
|
|
12358
12441
|
}), {
|
|
12359
12442
|
method: 'get',
|
|
@@ -12368,7 +12451,7 @@ var createHealthFundRNA = function createHealthFundRNA(healthFundId, body, opts)
|
|
|
12368
12451
|
doesParamExist.default({
|
|
12369
12452
|
healthFundId: healthFundId
|
|
12370
12453
|
}, opts.hyperMediaEndpoint);
|
|
12371
|
-
return request(_objectSpread$
|
|
12454
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12372
12455
|
path: pathHealthFundRNAs(healthFundId)
|
|
12373
12456
|
}), {
|
|
12374
12457
|
method: 'post',
|
|
@@ -12384,7 +12467,7 @@ var createAppointmentForHealthFundRNA = function createAppointmentForHealthFundR
|
|
|
12384
12467
|
healthFundId: healthFundId,
|
|
12385
12468
|
rnaId: rnaId
|
|
12386
12469
|
}, opts.hyperMediaEndpoint);
|
|
12387
|
-
return request(_objectSpread$
|
|
12470
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12388
12471
|
path: pathHealthFundRNAAppointments(healthFundId, rnaId)
|
|
12389
12472
|
}), {
|
|
12390
12473
|
method: 'post',
|
|
@@ -12400,7 +12483,7 @@ var getHealthFundRNA = function getHealthFundRNA(healthFundId, rnaId, query, opt
|
|
|
12400
12483
|
healthFundId: healthFundId,
|
|
12401
12484
|
rnaId: rnaId
|
|
12402
12485
|
}, opts.hyperMediaEndpoint);
|
|
12403
|
-
return request(_objectSpread$
|
|
12486
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12404
12487
|
path: pathHealthFundRNA(healthFundId, rnaId)
|
|
12405
12488
|
}), {
|
|
12406
12489
|
method: 'get',
|
|
@@ -12415,7 +12498,7 @@ var getHealthFundRNAs = function getHealthFundRNAs(healthFundId, query, opts) {
|
|
|
12415
12498
|
doesParamExist.default({
|
|
12416
12499
|
healthFundId: healthFundId
|
|
12417
12500
|
}, opts.hyperMediaEndpoint);
|
|
12418
|
-
return request(_objectSpread$
|
|
12501
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12419
12502
|
path: pathHealthFundRNAs(healthFundId)
|
|
12420
12503
|
}), {
|
|
12421
12504
|
method: 'get',
|
|
@@ -12432,7 +12515,7 @@ var updateAppointmentForHealthFundRNA = function updateAppointmentForHealthFundR
|
|
|
12432
12515
|
rnaId: rnaId,
|
|
12433
12516
|
rnaAppointmentId: rnaAppointmentId
|
|
12434
12517
|
}, opts.hyperMediaEndpoint);
|
|
12435
|
-
return request(_objectSpread$
|
|
12518
|
+
return request(_objectSpread$Q({}, opts, {
|
|
12436
12519
|
path: pathHealthFundRNAAppointment(healthFundId, rnaId, rnaAppointmentId)
|
|
12437
12520
|
}), {
|
|
12438
12521
|
method: 'put',
|
|
@@ -12458,9 +12541,9 @@ var rnas = /*#__PURE__*/Object.freeze({
|
|
|
12458
12541
|
updateAppointmentForHealthFundRNA: updateAppointmentForHealthFundRNA
|
|
12459
12542
|
});
|
|
12460
12543
|
|
|
12461
|
-
function ownKeys$
|
|
12544
|
+
function ownKeys$R(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12462
12545
|
|
|
12463
|
-
function _objectSpread$
|
|
12546
|
+
function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$R(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12464
12547
|
var PATH__ROLES = '/roles';
|
|
12465
12548
|
/**
|
|
12466
12549
|
* Get roles
|
|
@@ -12477,7 +12560,7 @@ var getRoles = /*#__PURE__*/function () {
|
|
|
12477
12560
|
opts = {};
|
|
12478
12561
|
}
|
|
12479
12562
|
|
|
12480
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12563
|
+
return _context.abrupt("return", request(_objectSpread$R({}, opts, {
|
|
12481
12564
|
path: PATH__ROLES
|
|
12482
12565
|
}), {
|
|
12483
12566
|
method: 'get'
|
|
@@ -12501,9 +12584,9 @@ var roles = /*#__PURE__*/Object.freeze({
|
|
|
12501
12584
|
getRoles: getRoles
|
|
12502
12585
|
});
|
|
12503
12586
|
|
|
12504
|
-
function ownKeys$
|
|
12587
|
+
function ownKeys$S(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12505
12588
|
|
|
12506
|
-
function _objectSpread$
|
|
12589
|
+
function _objectSpread$S(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$S(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$S(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12507
12590
|
var PATH__SELF_CHECKOUT_SESSIONS = '/selfcheckoutsessions';
|
|
12508
12591
|
/**
|
|
12509
12592
|
* Create a self checkout session
|
|
@@ -12521,7 +12604,7 @@ var createSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12521
12604
|
opts = {};
|
|
12522
12605
|
}
|
|
12523
12606
|
|
|
12524
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
12607
|
+
return _context.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12525
12608
|
path: PATH__SELF_CHECKOUT_SESSIONS
|
|
12526
12609
|
}), {
|
|
12527
12610
|
method: 'post',
|
|
@@ -12556,7 +12639,7 @@ var approve = /*#__PURE__*/function () {
|
|
|
12556
12639
|
opts = {};
|
|
12557
12640
|
}
|
|
12558
12641
|
|
|
12559
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
12642
|
+
return _context2.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12560
12643
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/approvals"
|
|
12561
12644
|
}), {
|
|
12562
12645
|
method: 'post',
|
|
@@ -12592,7 +12675,7 @@ var cancel$1 = /*#__PURE__*/function () {
|
|
|
12592
12675
|
opts = {};
|
|
12593
12676
|
}
|
|
12594
12677
|
|
|
12595
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
12678
|
+
return _context3.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12596
12679
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancellations"
|
|
12597
12680
|
}), {
|
|
12598
12681
|
method: 'post',
|
|
@@ -12628,7 +12711,7 @@ var cancelSession = /*#__PURE__*/function () {
|
|
|
12628
12711
|
opts = {};
|
|
12629
12712
|
}
|
|
12630
12713
|
|
|
12631
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
12714
|
+
return _context4.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12632
12715
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/cancels"
|
|
12633
12716
|
}), {
|
|
12634
12717
|
method: 'post',
|
|
@@ -12663,7 +12746,7 @@ var createMyInvoice = /*#__PURE__*/function () {
|
|
|
12663
12746
|
opts = {};
|
|
12664
12747
|
}
|
|
12665
12748
|
|
|
12666
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
12749
|
+
return _context5.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12667
12750
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/invoices"
|
|
12668
12751
|
}), {
|
|
12669
12752
|
method: 'post',
|
|
@@ -12697,7 +12780,7 @@ var createPaymentAuthority = /*#__PURE__*/function () {
|
|
|
12697
12780
|
opts = {};
|
|
12698
12781
|
}
|
|
12699
12782
|
|
|
12700
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
12783
|
+
return _context6.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12701
12784
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentauthorities"
|
|
12702
12785
|
}), {
|
|
12703
12786
|
method: 'post',
|
|
@@ -12737,7 +12820,7 @@ var createPaymentMethod = /*#__PURE__*/function () {
|
|
|
12737
12820
|
nonce: nonce,
|
|
12738
12821
|
source: source
|
|
12739
12822
|
}, opts.hyperMediaEndpoint);
|
|
12740
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
12823
|
+
return _context7.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12741
12824
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
12742
12825
|
}), {
|
|
12743
12826
|
method: 'post',
|
|
@@ -12775,7 +12858,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
12775
12858
|
opts = {};
|
|
12776
12859
|
}
|
|
12777
12860
|
|
|
12778
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
12861
|
+
return _context8.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12779
12862
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/paymentmethods"
|
|
12780
12863
|
}), {
|
|
12781
12864
|
method: 'get',
|
|
@@ -12829,7 +12912,7 @@ var discoverMember$1 = /*#__PURE__*/function () {
|
|
|
12829
12912
|
email: email,
|
|
12830
12913
|
memberId: memberId
|
|
12831
12914
|
});
|
|
12832
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
12915
|
+
return _context9.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12833
12916
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/discovery/members"
|
|
12834
12917
|
}), {
|
|
12835
12918
|
method: 'get',
|
|
@@ -12866,7 +12949,7 @@ var checkDupe$1 = /*#__PURE__*/function () {
|
|
|
12866
12949
|
opts = {};
|
|
12867
12950
|
}
|
|
12868
12951
|
|
|
12869
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
12952
|
+
return _context10.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12870
12953
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/checkdupe"
|
|
12871
12954
|
}), {
|
|
12872
12955
|
method: 'post',
|
|
@@ -12901,7 +12984,7 @@ var getMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
12901
12984
|
opts = {};
|
|
12902
12985
|
}
|
|
12903
12986
|
|
|
12904
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
12987
|
+
return _context11.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12905
12988
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
12906
12989
|
}), {
|
|
12907
12990
|
method: 'get',
|
|
@@ -12935,7 +13018,7 @@ var getMySelfCheckoutSessionTransaction = /*#__PURE__*/function () {
|
|
|
12935
13018
|
opts = {};
|
|
12936
13019
|
}
|
|
12937
13020
|
|
|
12938
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
13021
|
+
return _context12.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12939
13022
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/" + checkoutSessionId + "/transaction"
|
|
12940
13023
|
}), {
|
|
12941
13024
|
method: 'get',
|
|
@@ -12969,7 +13052,7 @@ var rememberMe = /*#__PURE__*/function () {
|
|
|
12969
13052
|
opts = {};
|
|
12970
13053
|
}
|
|
12971
13054
|
|
|
12972
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
13055
|
+
return _context13.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
12973
13056
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me/rememberme"
|
|
12974
13057
|
}), {
|
|
12975
13058
|
method: 'post',
|
|
@@ -13004,7 +13087,7 @@ var updateMySelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13004
13087
|
opts = {};
|
|
13005
13088
|
}
|
|
13006
13089
|
|
|
13007
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
13090
|
+
return _context14.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
13008
13091
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/me"
|
|
13009
13092
|
}), {
|
|
13010
13093
|
method: 'put',
|
|
@@ -13043,7 +13126,7 @@ var requestOtk$1 = /*#__PURE__*/function () {
|
|
|
13043
13126
|
doesParamExist.default({
|
|
13044
13127
|
accountId: accountId
|
|
13045
13128
|
}, opts.hyperMediaEndpoint);
|
|
13046
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
13129
|
+
return _context15.abrupt("return", request(_objectSpread$S({}, opts, {
|
|
13047
13130
|
path: PATH__SELF_CHECKOUT_SESSIONS + "/otk"
|
|
13048
13131
|
}), {
|
|
13049
13132
|
method: 'post',
|
|
@@ -13287,7 +13370,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13287
13370
|
}
|
|
13288
13371
|
|
|
13289
13372
|
_context18.next = 8;
|
|
13290
|
-
return sdk.healthfunds.getMedicareHealthFund(_objectSpread$
|
|
13373
|
+
return sdk.healthfunds.getMedicareHealthFund(_objectSpread$S({}, opts, {
|
|
13291
13374
|
requestConfig: {
|
|
13292
13375
|
tokenType: 'session'
|
|
13293
13376
|
}
|
|
@@ -13319,7 +13402,7 @@ var addHealthFundAccountToSelfCheckoutSession = /*#__PURE__*/function () {
|
|
|
13319
13402
|
break;
|
|
13320
13403
|
}
|
|
13321
13404
|
|
|
13322
|
-
healthFundAccountRequestBody = _objectSpread$
|
|
13405
|
+
healthFundAccountRequestBody = _objectSpread$S({
|
|
13323
13406
|
healthFundId: _get(healthFund, '_id')
|
|
13324
13407
|
}, data || {}); // If it's an existing account, delete their current health fund account (if any), and add the new one to their account.
|
|
13325
13408
|
|
|
@@ -13443,9 +13526,9 @@ var selfCheckoutSessions = /*#__PURE__*/Object.freeze({
|
|
|
13443
13526
|
addHealthFundAccountToSelfCheckoutSession: addHealthFundAccountToSelfCheckoutSession
|
|
13444
13527
|
});
|
|
13445
13528
|
|
|
13446
|
-
function ownKeys$
|
|
13529
|
+
function ownKeys$T(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
13447
13530
|
|
|
13448
|
-
function _objectSpread$
|
|
13531
|
+
function _objectSpread$T(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$T(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$T(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13449
13532
|
|
|
13450
13533
|
var pathBusinessServices = function pathBusinessServices(businessId) {
|
|
13451
13534
|
return "/businesses/" + businessId + "/services";
|
|
@@ -13495,7 +13578,7 @@ var createBusinessService = /*#__PURE__*/function () {
|
|
|
13495
13578
|
doesParamExist.default({
|
|
13496
13579
|
businessId: businessId
|
|
13497
13580
|
}, opts.hyperMediaEndpoint);
|
|
13498
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
13581
|
+
return _context.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13499
13582
|
path: "" + pathBusinessServices(businessId)
|
|
13500
13583
|
}), {
|
|
13501
13584
|
method: 'post',
|
|
@@ -13536,7 +13619,7 @@ var createBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13536
13619
|
businessId: businessId,
|
|
13537
13620
|
practiceId: practiceId
|
|
13538
13621
|
}, opts.hyperMediaEndpoint);
|
|
13539
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
13622
|
+
return _context2.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13540
13623
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13541
13624
|
}), {
|
|
13542
13625
|
method: 'post',
|
|
@@ -13576,7 +13659,7 @@ var deleteBusinessService = /*#__PURE__*/function () {
|
|
|
13576
13659
|
businessId: businessId,
|
|
13577
13660
|
serviceId: serviceId
|
|
13578
13661
|
}, opts.hyperMediaEndpoint);
|
|
13579
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
13662
|
+
return _context3.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13580
13663
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13581
13664
|
}), {
|
|
13582
13665
|
method: 'delete'
|
|
@@ -13615,7 +13698,7 @@ var getBusinessService = /*#__PURE__*/function () {
|
|
|
13615
13698
|
businessId: businessId,
|
|
13616
13699
|
serviceId: serviceId
|
|
13617
13700
|
}, opts.hyperMediaEndpoint);
|
|
13618
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
13701
|
+
return _context4.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13619
13702
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13620
13703
|
}), {
|
|
13621
13704
|
method: 'get'
|
|
@@ -13653,7 +13736,7 @@ var getBusinessServices = /*#__PURE__*/function () {
|
|
|
13653
13736
|
doesParamExist.default({
|
|
13654
13737
|
businessId: businessId
|
|
13655
13738
|
}, opts.hyperMediaEndpoint);
|
|
13656
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
13739
|
+
return _context5.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13657
13740
|
path: "" + pathBusinessServices(businessId)
|
|
13658
13741
|
}), {
|
|
13659
13742
|
method: 'get',
|
|
@@ -13695,7 +13778,7 @@ var getBusinessPracticeService = /*#__PURE__*/function () {
|
|
|
13695
13778
|
practiceId: practiceId,
|
|
13696
13779
|
serviceId: serviceId
|
|
13697
13780
|
}, opts.hyperMediaEndpoint);
|
|
13698
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
13781
|
+
return _context6.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13699
13782
|
path: "" + pathBusinessPracticeService(businessId, practiceId, serviceId)
|
|
13700
13783
|
}), {
|
|
13701
13784
|
method: 'get'
|
|
@@ -13739,7 +13822,7 @@ var getBusinessPracticeServices = /*#__PURE__*/function () {
|
|
|
13739
13822
|
businessId: businessId,
|
|
13740
13823
|
practiceId: practiceId
|
|
13741
13824
|
}, opts.hyperMediaEndpoint);
|
|
13742
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
13825
|
+
return _context7.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13743
13826
|
path: "" + pathBusinessPracticeServices(businessId, practiceId)
|
|
13744
13827
|
}), {
|
|
13745
13828
|
method: 'get',
|
|
@@ -13786,7 +13869,7 @@ var getBusinessPracticeStaffMemberServices = /*#__PURE__*/function () {
|
|
|
13786
13869
|
practiceId: practiceId,
|
|
13787
13870
|
staffId: staffId
|
|
13788
13871
|
}, opts.hyperMediaEndpoint);
|
|
13789
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
13872
|
+
return _context8.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13790
13873
|
path: "" + pathBusinessPracticeStaffMemberServices(businessId, practiceId, staffId)
|
|
13791
13874
|
}), {
|
|
13792
13875
|
method: 'get',
|
|
@@ -13835,7 +13918,7 @@ var getBusinessPracticeStaffMemberService = /*#__PURE__*/function () {
|
|
|
13835
13918
|
staffId: staffId,
|
|
13836
13919
|
serviceId: serviceId
|
|
13837
13920
|
}, opts.hyperMediaEndpoint);
|
|
13838
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
13921
|
+
return _context9.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13839
13922
|
path: "" + pathBusinessPracticeStaffMemberService(businessId, practiceId, staffId, serviceId)
|
|
13840
13923
|
}), {
|
|
13841
13924
|
method: 'get',
|
|
@@ -13876,7 +13959,7 @@ var getBusinessStaffMemberServices = /*#__PURE__*/function () {
|
|
|
13876
13959
|
opts = {};
|
|
13877
13960
|
}
|
|
13878
13961
|
|
|
13879
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
13962
|
+
return _context10.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13880
13963
|
path: "" + pathBusinessStaffMemberServices(businessId, staffId)
|
|
13881
13964
|
}), {
|
|
13882
13965
|
method: 'get',
|
|
@@ -13917,7 +14000,7 @@ var updateBusinessService = /*#__PURE__*/function () {
|
|
|
13917
14000
|
businessId: businessId,
|
|
13918
14001
|
serviceId: serviceId
|
|
13919
14002
|
}, opts.hyperMediaEndpoint);
|
|
13920
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14003
|
+
return _context11.abrupt("return", request(_objectSpread$T({}, opts, {
|
|
13921
14004
|
path: "" + pathBusinessService(businessId, serviceId)
|
|
13922
14005
|
}), {
|
|
13923
14006
|
method: 'put',
|
|
@@ -13952,9 +14035,9 @@ var services = /*#__PURE__*/Object.freeze({
|
|
|
13952
14035
|
updateBusinessService: updateBusinessService
|
|
13953
14036
|
});
|
|
13954
14037
|
|
|
13955
|
-
function ownKeys$
|
|
14038
|
+
function ownKeys$U(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
13956
14039
|
|
|
13957
|
-
function _objectSpread$
|
|
14040
|
+
function _objectSpread$U(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$U(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$U(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13958
14041
|
|
|
13959
14042
|
var pathBusiness$1 = function pathBusiness(businessId) {
|
|
13960
14043
|
return "/businesses/" + businessId;
|
|
@@ -13979,7 +14062,7 @@ var getBusinessSettlements = function getBusinessSettlements(businessId, query,
|
|
|
13979
14062
|
doesParamExist.default({
|
|
13980
14063
|
businessId: businessId
|
|
13981
14064
|
}, opts.hyperMediaEndpoint);
|
|
13982
|
-
return request(_objectSpread$
|
|
14065
|
+
return request(_objectSpread$U({}, opts, {
|
|
13983
14066
|
path: pathBusiness$1(businessId) + "/settlements"
|
|
13984
14067
|
}), {
|
|
13985
14068
|
method: 'get',
|
|
@@ -14005,7 +14088,7 @@ var getBusinessSettlementSummaries = function getBusinessSettlementSummaries(bus
|
|
|
14005
14088
|
doesParamExist.default({
|
|
14006
14089
|
businessId: businessId
|
|
14007
14090
|
}, opts.hyperMediaEndpoint);
|
|
14008
|
-
return request(_objectSpread$
|
|
14091
|
+
return request(_objectSpread$U({}, opts, {
|
|
14009
14092
|
path: pathBusiness$1(businessId) + "/settlementsummaries"
|
|
14010
14093
|
}), {
|
|
14011
14094
|
method: 'get',
|
|
@@ -14031,7 +14114,7 @@ var getBusinessSettlementSummariesByPeriod = function getBusinessSettlementSumma
|
|
|
14031
14114
|
doesParamExist.default({
|
|
14032
14115
|
businessId: businessId
|
|
14033
14116
|
}, opts.hyperMediaEndpoint);
|
|
14034
|
-
return request(_objectSpread$
|
|
14117
|
+
return request(_objectSpread$U({}, opts, {
|
|
14035
14118
|
path: pathBusiness$1(businessId) + "/settlementsummaries/period"
|
|
14036
14119
|
}), {
|
|
14037
14120
|
method: 'get',
|
|
@@ -14061,7 +14144,7 @@ var getBusinessSettlementSummaryById = function getBusinessSettlementSummaryById
|
|
|
14061
14144
|
doesParamExist.default({
|
|
14062
14145
|
settlementSummaryId: settlementSummaryId
|
|
14063
14146
|
}, opts.hyperMediaEndpoint);
|
|
14064
|
-
return request(_objectSpread$
|
|
14147
|
+
return request(_objectSpread$U({}, opts, {
|
|
14065
14148
|
path: pathBusiness$1(businessId) + "/settlementsummaries/" + settlementSummaryId
|
|
14066
14149
|
}), {
|
|
14067
14150
|
method: 'get',
|
|
@@ -14077,9 +14160,9 @@ var settlements = /*#__PURE__*/Object.freeze({
|
|
|
14077
14160
|
getBusinessSettlementSummaryById: getBusinessSettlementSummaryById
|
|
14078
14161
|
});
|
|
14079
14162
|
|
|
14080
|
-
function ownKeys$
|
|
14163
|
+
function ownKeys$V(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14081
14164
|
|
|
14082
|
-
function _objectSpread$
|
|
14165
|
+
function _objectSpread$V(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$V(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$V(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14083
14166
|
var pathBusinessSignUp = function pathBusinessSignUp() {
|
|
14084
14167
|
return '/businesses/signup';
|
|
14085
14168
|
};
|
|
@@ -14091,7 +14174,7 @@ var createBusinessAccount = function createBusinessAccount(body, opts) {
|
|
|
14091
14174
|
opts = {};
|
|
14092
14175
|
}
|
|
14093
14176
|
|
|
14094
|
-
return request(_objectSpread$
|
|
14177
|
+
return request(_objectSpread$V({}, opts, {
|
|
14095
14178
|
path: pathBusinessSignUp()
|
|
14096
14179
|
}), {
|
|
14097
14180
|
method: 'post',
|
|
@@ -14103,7 +14186,7 @@ var createConsumerAccount = function createConsumerAccount(body, opts) {
|
|
|
14103
14186
|
opts = {};
|
|
14104
14187
|
}
|
|
14105
14188
|
|
|
14106
|
-
return request(_objectSpread$
|
|
14189
|
+
return request(_objectSpread$V({}, opts, {
|
|
14107
14190
|
path: pathSignUp()
|
|
14108
14191
|
}), {
|
|
14109
14192
|
method: 'post',
|
|
@@ -14119,9 +14202,9 @@ var signUp$1 = /*#__PURE__*/Object.freeze({
|
|
|
14119
14202
|
createConsumerAccount: createConsumerAccount
|
|
14120
14203
|
});
|
|
14121
14204
|
|
|
14122
|
-
function ownKeys$
|
|
14205
|
+
function ownKeys$W(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14123
14206
|
|
|
14124
|
-
function _objectSpread$
|
|
14207
|
+
function _objectSpread$W(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$W(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$W(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14125
14208
|
var pathBusinessSpecialties = function pathBusinessSpecialties(businessId) {
|
|
14126
14209
|
return "/businesses/" + businessId + "/specialties";
|
|
14127
14210
|
};
|
|
@@ -14140,7 +14223,7 @@ var getSpecialties = function getSpecialties(query, opts) {
|
|
|
14140
14223
|
opts = {};
|
|
14141
14224
|
}
|
|
14142
14225
|
|
|
14143
|
-
return request(_objectSpread$
|
|
14226
|
+
return request(_objectSpread$W({}, opts, {
|
|
14144
14227
|
path: pathSpecialties
|
|
14145
14228
|
}), {
|
|
14146
14229
|
method: 'get',
|
|
@@ -14162,7 +14245,7 @@ var getBusinessSpecialties = function getBusinessSpecialties(businessId, query,
|
|
|
14162
14245
|
doesParamExist.default({
|
|
14163
14246
|
businessId: businessId
|
|
14164
14247
|
});
|
|
14165
|
-
return request(_objectSpread$
|
|
14248
|
+
return request(_objectSpread$W({}, opts, {
|
|
14166
14249
|
path: pathBusinessSpecialties(businessId)
|
|
14167
14250
|
}), {
|
|
14168
14251
|
method: 'get',
|
|
@@ -14183,7 +14266,7 @@ var getSpecialty = function getSpecialty(specialtyId, opts) {
|
|
|
14183
14266
|
doesParamExist.default({
|
|
14184
14267
|
specialtyId: specialtyId
|
|
14185
14268
|
});
|
|
14186
|
-
return request(_objectSpread$
|
|
14269
|
+
return request(_objectSpread$W({}, opts, {
|
|
14187
14270
|
path: pathSpecialty(specialtyId)
|
|
14188
14271
|
}), {
|
|
14189
14272
|
method: 'get'
|
|
@@ -14200,9 +14283,9 @@ var specialties = /*#__PURE__*/Object.freeze({
|
|
|
14200
14283
|
getSpecialty: getSpecialty
|
|
14201
14284
|
});
|
|
14202
14285
|
|
|
14203
|
-
function ownKeys$
|
|
14286
|
+
function ownKeys$X(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14204
14287
|
|
|
14205
|
-
function _objectSpread$
|
|
14288
|
+
function _objectSpread$X(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$X(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$X(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14206
14289
|
var pathLinkStaffProfile = function pathLinkStaffProfile(staffProfileId) {
|
|
14207
14290
|
return "/staffprofiles/" + staffProfileId + "/link";
|
|
14208
14291
|
};
|
|
@@ -14223,7 +14306,7 @@ var getOrganisationStaffProfiles = function getOrganisationStaffProfiles(organis
|
|
|
14223
14306
|
doesParamExist.default({
|
|
14224
14307
|
organisationId: organisationId
|
|
14225
14308
|
}, opts.hyperMediaEndpoint);
|
|
14226
|
-
return request(_objectSpread$
|
|
14309
|
+
return request(_objectSpread$X({}, opts, {
|
|
14227
14310
|
path: pathOrganisationStaffProfiles(organisationId)
|
|
14228
14311
|
}), {
|
|
14229
14312
|
method: 'get',
|
|
@@ -14238,7 +14321,7 @@ var getStaffProfile = function getStaffProfile(staffProfileId, opts) {
|
|
|
14238
14321
|
doesParamExist.default({
|
|
14239
14322
|
staffProfileId: staffProfileId
|
|
14240
14323
|
}, opts.hyperMediaEndpoint);
|
|
14241
|
-
return request(_objectSpread$
|
|
14324
|
+
return request(_objectSpread$X({}, opts, {
|
|
14242
14325
|
path: pathStaffProfile(staffProfileId)
|
|
14243
14326
|
}), {
|
|
14244
14327
|
method: 'get'
|
|
@@ -14256,7 +14339,7 @@ var linkStaffProfile = function linkStaffProfile(staffProfileId, staffId, opts)
|
|
|
14256
14339
|
var body = {
|
|
14257
14340
|
staffId: staffId
|
|
14258
14341
|
};
|
|
14259
|
-
return request(_objectSpread$
|
|
14342
|
+
return request(_objectSpread$X({}, opts, {
|
|
14260
14343
|
path: pathLinkStaffProfile(staffProfileId)
|
|
14261
14344
|
}), {
|
|
14262
14345
|
method: 'put',
|
|
@@ -14271,7 +14354,7 @@ var unlinkStaffProfile = function unlinkStaffProfile(staffProfileId, opts) {
|
|
|
14271
14354
|
doesParamExist.default({
|
|
14272
14355
|
staffProfileId: staffProfileId
|
|
14273
14356
|
}, opts.hyperMediaEndpoint);
|
|
14274
|
-
return request(_objectSpread$
|
|
14357
|
+
return request(_objectSpread$X({}, opts, {
|
|
14275
14358
|
path: pathUnlinkStaffProfile(staffProfileId)
|
|
14276
14359
|
}), {
|
|
14277
14360
|
method: 'put'
|
|
@@ -14290,9 +14373,9 @@ var staffProfiles = /*#__PURE__*/Object.freeze({
|
|
|
14290
14373
|
unlinkStaffProfile: unlinkStaffProfile
|
|
14291
14374
|
});
|
|
14292
14375
|
|
|
14293
|
-
function ownKeys$
|
|
14376
|
+
function ownKeys$Y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
14294
14377
|
|
|
14295
|
-
function _objectSpread$
|
|
14378
|
+
function _objectSpread$Y(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$Y(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$Y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14296
14379
|
|
|
14297
14380
|
var pathBusinessPracticeStaffMembers = function pathBusinessPracticeStaffMembers(businessId, practiceId) {
|
|
14298
14381
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/staff";
|
|
@@ -14358,7 +14441,7 @@ var createBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14358
14441
|
doesParamExist.default({
|
|
14359
14442
|
businessId: businessId
|
|
14360
14443
|
}, opts.hyperMediaEndpoint);
|
|
14361
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
14444
|
+
return _context.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14362
14445
|
path: pathBusinessStaff(businessId)
|
|
14363
14446
|
}), {
|
|
14364
14447
|
method: 'post',
|
|
@@ -14397,7 +14480,7 @@ var createOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
14397
14480
|
doesParamExist.default({
|
|
14398
14481
|
organisationId: organisationId
|
|
14399
14482
|
}, opts.hyperMediaEndpoint);
|
|
14400
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
14483
|
+
return _context2.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14401
14484
|
path: pathOrganisationStaff(organisationId)
|
|
14402
14485
|
}), {
|
|
14403
14486
|
method: 'post',
|
|
@@ -14437,7 +14520,7 @@ var deleteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14437
14520
|
businessId: businessId,
|
|
14438
14521
|
staffId: staffId
|
|
14439
14522
|
}, opts.hyperMediaEndpoint);
|
|
14440
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
14523
|
+
return _context3.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14441
14524
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14442
14525
|
}), {
|
|
14443
14526
|
method: 'delete'
|
|
@@ -14476,7 +14559,7 @@ var deleteBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
14476
14559
|
businessId: businessId,
|
|
14477
14560
|
staffId: staffId
|
|
14478
14561
|
}, opts.hyperMediaEndpoint);
|
|
14479
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
14562
|
+
return _context4.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14480
14563
|
path: pathBusinessStaffMember(businessId, staffId) + "/email"
|
|
14481
14564
|
}), {
|
|
14482
14565
|
method: 'delete'
|
|
@@ -14515,7 +14598,7 @@ var getBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
14515
14598
|
businessId: businessId,
|
|
14516
14599
|
staffId: staffId
|
|
14517
14600
|
}, opts.hyperMediaEndpoint);
|
|
14518
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
14601
|
+
return _context5.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14519
14602
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
14520
14603
|
}), {
|
|
14521
14604
|
method: 'get'
|
|
@@ -14555,7 +14638,7 @@ var getBusinessStaffMemberRoles = /*#__PURE__*/function () {
|
|
|
14555
14638
|
businessId: businessId,
|
|
14556
14639
|
staffId: staffId
|
|
14557
14640
|
}, opts.hyperMediaEndpoint);
|
|
14558
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
14641
|
+
return _context6.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14559
14642
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
14560
14643
|
}), {
|
|
14561
14644
|
method: 'get',
|
|
@@ -14599,7 +14682,7 @@ var getBusinessPracticeStaffMember = /*#__PURE__*/function () {
|
|
|
14599
14682
|
practiceId: practiceId,
|
|
14600
14683
|
staffId: staffId
|
|
14601
14684
|
}, opts.hyperMediaEndpoint);
|
|
14602
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
14685
|
+
return _context7.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14603
14686
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId)
|
|
14604
14687
|
}), {
|
|
14605
14688
|
method: 'get'
|
|
@@ -14645,7 +14728,7 @@ var getBusinessPracticeStaffMemberModalities = /*#__PURE__*/function () {
|
|
|
14645
14728
|
practiceId: practiceId,
|
|
14646
14729
|
staffId: staffId
|
|
14647
14730
|
}, opts.hyperMediaEndpoint);
|
|
14648
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
14731
|
+
return _context8.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14649
14732
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/modalities"
|
|
14650
14733
|
}), {
|
|
14651
14734
|
method: 'get',
|
|
@@ -14686,7 +14769,7 @@ var getBusinessPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
14686
14769
|
businessId: businessId,
|
|
14687
14770
|
practiceId: practiceId
|
|
14688
14771
|
}, opts.hyperMediaEndpoint);
|
|
14689
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
14772
|
+
return _context9.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14690
14773
|
path: pathBusinessPracticeStaffMembers(businessId, practiceId)
|
|
14691
14774
|
}), {
|
|
14692
14775
|
method: 'get',
|
|
@@ -14729,7 +14812,7 @@ var getBusinessFormPracticeStaffMembers = /*#__PURE__*/function () {
|
|
|
14729
14812
|
formId: formId,
|
|
14730
14813
|
practiceId: practiceId
|
|
14731
14814
|
}, opts.hyperMediaEndpoint);
|
|
14732
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
14815
|
+
return _context10.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14733
14816
|
path: pathBusinessFormPracticeStaffMembers(businessId, formId, practiceId)
|
|
14734
14817
|
}), {
|
|
14735
14818
|
method: 'get',
|
|
@@ -14774,7 +14857,7 @@ var getBusinessServiceStaffMembers = /*#__PURE__*/function () {
|
|
|
14774
14857
|
businessId: businessId,
|
|
14775
14858
|
serviceId: serviceId
|
|
14776
14859
|
}, opts.hyperMediaEndpoint);
|
|
14777
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
14860
|
+
return _context11.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14778
14861
|
path: pathBusinessServiceStaffMembers(businessId, serviceId)
|
|
14779
14862
|
}), {
|
|
14780
14863
|
method: 'get',
|
|
@@ -14811,7 +14894,7 @@ var getBusinessStaffMembers = /*#__PURE__*/function () {
|
|
|
14811
14894
|
doesParamExist.default({
|
|
14812
14895
|
businessId: businessId
|
|
14813
14896
|
}, opts.hyperMediaEndpoint);
|
|
14814
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
14897
|
+
return _context12.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14815
14898
|
path: pathBusinessStaff(businessId)
|
|
14816
14899
|
}), {
|
|
14817
14900
|
method: 'get',
|
|
@@ -14853,7 +14936,7 @@ var getBusinessStaffUploadUrl = /*#__PURE__*/function () {
|
|
|
14853
14936
|
staffId: staffId,
|
|
14854
14937
|
contentType: contentType
|
|
14855
14938
|
}, opts.hyperMediaEndpoint);
|
|
14856
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
14939
|
+
return _context13.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14857
14940
|
path: pathBusinessStaffMember(businessId, staffId) + "/uploadurlv2"
|
|
14858
14941
|
}), {
|
|
14859
14942
|
method: 'get',
|
|
@@ -14897,7 +14980,7 @@ var getOrganisationStaffMembers = /*#__PURE__*/function () {
|
|
|
14897
14980
|
doesParamExist.default({
|
|
14898
14981
|
organisationId: organisationId
|
|
14899
14982
|
}, opts.hyperMediaEndpoint);
|
|
14900
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
14983
|
+
return _context14.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14901
14984
|
path: pathOrganisationStaff(organisationId)
|
|
14902
14985
|
}), {
|
|
14903
14986
|
method: 'get',
|
|
@@ -14935,7 +15018,7 @@ var getStaffMember = /*#__PURE__*/function () {
|
|
|
14935
15018
|
doesParamExist.default({
|
|
14936
15019
|
staffId: staffId
|
|
14937
15020
|
}, opts.hyperMediaEndpoint);
|
|
14938
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
15021
|
+
return _context15.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14939
15022
|
path: pathStaffMember(staffId)
|
|
14940
15023
|
}), {
|
|
14941
15024
|
method: 'get'
|
|
@@ -14977,7 +15060,7 @@ var grantBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
14977
15060
|
practiceId: practiceId,
|
|
14978
15061
|
staffId: staffId
|
|
14979
15062
|
}, opts.hyperMediaEndpoint);
|
|
14980
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
15063
|
+
return _context16.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
14981
15064
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
14982
15065
|
}), {
|
|
14983
15066
|
method: 'post',
|
|
@@ -15021,11 +15104,11 @@ var grantBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15021
15104
|
businessId: businessId,
|
|
15022
15105
|
staffId: staffId
|
|
15023
15106
|
}, opts.hyperMediaEndpoint);
|
|
15024
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
15107
|
+
return _context17.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15025
15108
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15026
15109
|
}), {
|
|
15027
15110
|
method: 'post',
|
|
15028
|
-
data: _objectSpread$
|
|
15111
|
+
data: _objectSpread$Y({
|
|
15029
15112
|
roleFullName: roleFullName
|
|
15030
15113
|
}, body)
|
|
15031
15114
|
}));
|
|
@@ -15062,7 +15145,7 @@ var inviteNewBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15062
15145
|
doesParamExist.default({
|
|
15063
15146
|
businessId: businessId
|
|
15064
15147
|
}, opts.hyperMediaEndpoint);
|
|
15065
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
15148
|
+
return _context18.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15066
15149
|
path: pathBusinessStaff(businessId) + "/invites"
|
|
15067
15150
|
}), {
|
|
15068
15151
|
method: 'post',
|
|
@@ -15107,7 +15190,7 @@ var inviteBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15107
15190
|
doesParamExist.default({
|
|
15108
15191
|
businessId: businessId
|
|
15109
15192
|
}, opts.hyperMediaEndpoint);
|
|
15110
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
15193
|
+
return _context19.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15111
15194
|
path: pathBusinessStaffMember(businessId, staffId) + "/invites"
|
|
15112
15195
|
}), {
|
|
15113
15196
|
method: 'post',
|
|
@@ -15150,7 +15233,7 @@ var revokeBusinessPracticeStaffRole = /*#__PURE__*/function () {
|
|
|
15150
15233
|
practiceId: practiceId,
|
|
15151
15234
|
staffId: staffId
|
|
15152
15235
|
}, opts.hyperMediaEndpoint);
|
|
15153
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
15236
|
+
return _context20.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15154
15237
|
path: pathBusinessPracticeStaffMember(businessId, practiceId, staffId) + "/roles"
|
|
15155
15238
|
}), {
|
|
15156
15239
|
method: 'delete',
|
|
@@ -15194,11 +15277,11 @@ var revokeBusinessStaffRole = /*#__PURE__*/function () {
|
|
|
15194
15277
|
businessId: businessId,
|
|
15195
15278
|
staffId: staffId
|
|
15196
15279
|
}, opts.hyperMediaEndpoint);
|
|
15197
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
15280
|
+
return _context21.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15198
15281
|
path: pathBusinessStaffMember(businessId, staffId) + "/roles"
|
|
15199
15282
|
}), {
|
|
15200
15283
|
method: 'delete',
|
|
15201
|
-
data: _objectSpread$
|
|
15284
|
+
data: _objectSpread$Y({
|
|
15202
15285
|
roleFullName: roleFullName
|
|
15203
15286
|
}, body)
|
|
15204
15287
|
}));
|
|
@@ -15237,7 +15320,7 @@ var updateBusinessStaffMember = /*#__PURE__*/function () {
|
|
|
15237
15320
|
businessId: businessId,
|
|
15238
15321
|
staffId: staffId
|
|
15239
15322
|
}, opts.hyperMediaEndpoint);
|
|
15240
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
15323
|
+
return _context22.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15241
15324
|
path: pathBusinessStaffMember(businessId, staffId)
|
|
15242
15325
|
}), {
|
|
15243
15326
|
method: 'put',
|
|
@@ -15278,7 +15361,7 @@ var updateBusinessStaffMemberEmail = /*#__PURE__*/function () {
|
|
|
15278
15361
|
businessId: businessId,
|
|
15279
15362
|
staffId: staffId
|
|
15280
15363
|
}, opts.hyperMediaEndpoint);
|
|
15281
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
15364
|
+
return _context23.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15282
15365
|
path: pathBusinessStaffMember(businessId, staffId) + "/changeemail"
|
|
15283
15366
|
}), {
|
|
15284
15367
|
method: 'post',
|
|
@@ -15319,7 +15402,7 @@ var updateOrganisationStaffMember = /*#__PURE__*/function () {
|
|
|
15319
15402
|
organisationId: organisationId,
|
|
15320
15403
|
staffId: staffId
|
|
15321
15404
|
}, opts.hyperMediaEndpoint);
|
|
15322
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
15405
|
+
return _context24.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15323
15406
|
path: pathOrganisationStaffMember(organisationId, staffId)
|
|
15324
15407
|
}), {
|
|
15325
15408
|
method: 'put',
|
|
@@ -15358,7 +15441,7 @@ var verifyStaffMember = /*#__PURE__*/function () {
|
|
|
15358
15441
|
doesParamExist.default({
|
|
15359
15442
|
staffId: staffId
|
|
15360
15443
|
}, opts.hyperMediaEndpoint);
|
|
15361
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
15444
|
+
return _context25.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15362
15445
|
path: pathStaffMember(staffId) + "/verify"
|
|
15363
15446
|
}), {
|
|
15364
15447
|
method: 'post',
|
|
@@ -15397,7 +15480,7 @@ var cloneStaffMemberIntoBusiness = /*#__PURE__*/function () {
|
|
|
15397
15480
|
doesParamExist.default({
|
|
15398
15481
|
staffId: staffId
|
|
15399
15482
|
}, opts.hyperMediaEndpoint);
|
|
15400
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
15483
|
+
return _context26.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15401
15484
|
path: pathStaffMember(staffId) + "/clone"
|
|
15402
15485
|
}), {
|
|
15403
15486
|
method: 'post',
|
|
@@ -15431,7 +15514,7 @@ var checkStaffMemberEmailExists = function checkStaffMemberEmailExists(businessI
|
|
|
15431
15514
|
doesParamExist.default({
|
|
15432
15515
|
businessId: businessId
|
|
15433
15516
|
}, opts.hyperMediaEndpoint);
|
|
15434
|
-
return request(_objectSpread$
|
|
15517
|
+
return request(_objectSpread$Y({}, opts, {
|
|
15435
15518
|
path: pathBusinessStaff(businessId) + "/exists"
|
|
15436
15519
|
}), {
|
|
15437
15520
|
method: 'get',
|
|
@@ -15460,7 +15543,7 @@ var createStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15460
15543
|
businessId: businessId,
|
|
15461
15544
|
staffId: staffId
|
|
15462
15545
|
}, opts.hyperMediaEndpoint);
|
|
15463
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
15546
|
+
return _context27.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15464
15547
|
path: "" + pathProviderSetItems(businessId, staffId)
|
|
15465
15548
|
}), {
|
|
15466
15549
|
method: 'post',
|
|
@@ -15503,7 +15586,7 @@ var updateStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15503
15586
|
staffId: staffId,
|
|
15504
15587
|
providerSetItemId: providerSetItemId
|
|
15505
15588
|
}, opts.hyperMediaEndpoint);
|
|
15506
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
15589
|
+
return _context28.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15507
15590
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15508
15591
|
}), {
|
|
15509
15592
|
method: 'put',
|
|
@@ -15545,7 +15628,7 @@ var deleteStaffProviderSetItem = /*#__PURE__*/function () {
|
|
|
15545
15628
|
staffId: staffId,
|
|
15546
15629
|
providerSetItemId: providerSetItemId
|
|
15547
15630
|
}, opts.hyperMediaEndpoint);
|
|
15548
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
15631
|
+
return _context29.abrupt("return", request(_objectSpread$Y({}, opts, {
|
|
15549
15632
|
path: pathProviderSetItem(businessId, staffId, providerSetItemId)
|
|
15550
15633
|
}), {
|
|
15551
15634
|
method: 'delete'
|
|
@@ -15598,9 +15681,9 @@ var staff = /*#__PURE__*/Object.freeze({
|
|
|
15598
15681
|
deleteStaffProviderSetItem: deleteStaffProviderSetItem
|
|
15599
15682
|
});
|
|
15600
15683
|
|
|
15601
|
-
function ownKeys$
|
|
15684
|
+
function ownKeys$Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
15602
15685
|
|
|
15603
|
-
function _objectSpread$
|
|
15686
|
+
function _objectSpread$Z(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$Z(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
15604
15687
|
|
|
15605
15688
|
var pathTransactionStatsForPractice = function pathTransactionStatsForPractice(businessId, practiceId) {
|
|
15606
15689
|
return "/businesses/" + businessId + "/practices/" + practiceId + "/transactionstats";
|
|
@@ -15652,11 +15735,11 @@ var getTransactionStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
15652
15735
|
doesParamExist.default({
|
|
15653
15736
|
healthFundId: healthFundId
|
|
15654
15737
|
}, opts.hyperMediaEndpoint);
|
|
15655
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
15738
|
+
return _context.abrupt("return", request(_objectSpread$Z({}, opts, {
|
|
15656
15739
|
path: pathTransactionStatsForHealthFundId(healthFundId)
|
|
15657
15740
|
}), {
|
|
15658
15741
|
method: 'get',
|
|
15659
|
-
params: _objectSpread$
|
|
15742
|
+
params: _objectSpread$Z({
|
|
15660
15743
|
from: from,
|
|
15661
15744
|
to: to
|
|
15662
15745
|
}, query)
|
|
@@ -15700,11 +15783,11 @@ var getTransactionStatsCSVForHealthFundId = /*#__PURE__*/function () {
|
|
|
15700
15783
|
doesParamExist.default({
|
|
15701
15784
|
healthFundId: healthFundId
|
|
15702
15785
|
}, opts.hyperMediaEndpoint);
|
|
15703
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
15786
|
+
return _context2.abrupt("return", request(_objectSpread$Z({}, opts, {
|
|
15704
15787
|
path: pathTransactionStatsCSVForHealthFundId(healthFundId)
|
|
15705
15788
|
}), {
|
|
15706
15789
|
method: 'get',
|
|
15707
|
-
params: _objectSpread$
|
|
15790
|
+
params: _objectSpread$Z({
|
|
15708
15791
|
from: from,
|
|
15709
15792
|
to: to
|
|
15710
15793
|
}, query)
|
|
@@ -15748,11 +15831,11 @@ var getHealthFundAccountStatsForHealthFundId = /*#__PURE__*/function () {
|
|
|
15748
15831
|
doesParamExist.default({
|
|
15749
15832
|
healthFundId: healthFundId
|
|
15750
15833
|
}, opts.hyperMediaEndpoint);
|
|
15751
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
15834
|
+
return _context3.abrupt("return", request(_objectSpread$Z({}, opts, {
|
|
15752
15835
|
path: pathHealthFundAccountStatsForHealthFundId(healthFundId)
|
|
15753
15836
|
}), {
|
|
15754
15837
|
method: 'get',
|
|
15755
|
-
params: _objectSpread$
|
|
15838
|
+
params: _objectSpread$Z({
|
|
15756
15839
|
from: from,
|
|
15757
15840
|
to: to
|
|
15758
15841
|
}, query)
|
|
@@ -15796,11 +15879,11 @@ var getTransactionStatsForBusiness = /*#__PURE__*/function () {
|
|
|
15796
15879
|
doesParamExist.default({
|
|
15797
15880
|
businessId: businessId
|
|
15798
15881
|
}, opts.hyperMediaEndpoint);
|
|
15799
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
15882
|
+
return _context4.abrupt("return", request(_objectSpread$Z({}, opts, {
|
|
15800
15883
|
path: pathTransactionStatsForBusiness(businessId)
|
|
15801
15884
|
}), {
|
|
15802
15885
|
method: 'get',
|
|
15803
|
-
params: _objectSpread$
|
|
15886
|
+
params: _objectSpread$Z({
|
|
15804
15887
|
from: from,
|
|
15805
15888
|
to: to
|
|
15806
15889
|
}, query)
|
|
@@ -15846,11 +15929,11 @@ var getTransactionStatsForPractice = /*#__PURE__*/function () {
|
|
|
15846
15929
|
businessId: businessId,
|
|
15847
15930
|
practiceId: practiceId
|
|
15848
15931
|
}, opts.hyperMediaEndpoint);
|
|
15849
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
15932
|
+
return _context5.abrupt("return", request(_objectSpread$Z({}, opts, {
|
|
15850
15933
|
path: pathTransactionStatsForPractice(businessId, practiceId)
|
|
15851
15934
|
}), {
|
|
15852
15935
|
method: 'get',
|
|
15853
|
-
params: _objectSpread$
|
|
15936
|
+
params: _objectSpread$Z({
|
|
15854
15937
|
from: from,
|
|
15855
15938
|
to: to
|
|
15856
15939
|
}, query)
|
|
@@ -15894,11 +15977,11 @@ var getTransactionStatsForOrganisation = /*#__PURE__*/function () {
|
|
|
15894
15977
|
doesParamExist.default({
|
|
15895
15978
|
organisationId: organisationId
|
|
15896
15979
|
}, opts.hyperMediaEndpoint);
|
|
15897
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
15980
|
+
return _context6.abrupt("return", request(_objectSpread$Z({}, opts, {
|
|
15898
15981
|
path: pathTransactionStatsForOrganisation(organisationId)
|
|
15899
15982
|
}), {
|
|
15900
15983
|
method: 'get',
|
|
15901
|
-
params: _objectSpread$
|
|
15984
|
+
params: _objectSpread$Z({
|
|
15902
15985
|
from: from,
|
|
15903
15986
|
to: to
|
|
15904
15987
|
}, query)
|
|
@@ -15927,9 +16010,9 @@ var statistics = /*#__PURE__*/Object.freeze({
|
|
|
15927
16010
|
getTransactionStatsForOrganisation: getTransactionStatsForOrganisation
|
|
15928
16011
|
});
|
|
15929
16012
|
|
|
15930
|
-
function ownKeys$
|
|
16013
|
+
function ownKeys$_(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
15931
16014
|
|
|
15932
|
-
function _objectSpread$
|
|
16015
|
+
function _objectSpread$_(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$_(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
15933
16016
|
var pathBusinessSubscriptions = function pathBusinessSubscriptions(businessId) {
|
|
15934
16017
|
return "/businesses/" + businessId + "/subscriptions";
|
|
15935
16018
|
};
|
|
@@ -15951,7 +16034,7 @@ var createBusinessSubscription = function createBusinessSubscription(businessId,
|
|
|
15951
16034
|
doesParamExist.default({
|
|
15952
16035
|
businessId: businessId
|
|
15953
16036
|
});
|
|
15954
|
-
return request(_objectSpread$
|
|
16037
|
+
return request(_objectSpread$_({}, opts, {
|
|
15955
16038
|
path: pathBusinessSubscriptions(businessId)
|
|
15956
16039
|
}), {
|
|
15957
16040
|
method: 'post',
|
|
@@ -15973,7 +16056,7 @@ var getBusinessSubscriptions = function getBusinessSubscriptions(businessId, que
|
|
|
15973
16056
|
doesParamExist.default({
|
|
15974
16057
|
businessId: businessId
|
|
15975
16058
|
});
|
|
15976
|
-
return request(_objectSpread$
|
|
16059
|
+
return request(_objectSpread$_({}, opts, {
|
|
15977
16060
|
path: pathBusinessSubscriptions(businessId)
|
|
15978
16061
|
}), {
|
|
15979
16062
|
method: 'get',
|
|
@@ -15996,7 +16079,7 @@ var getBusinessSubscription = function getBusinessSubscription(businessId, subsc
|
|
|
15996
16079
|
businessId: businessId,
|
|
15997
16080
|
subscriptionId: subscriptionId
|
|
15998
16081
|
});
|
|
15999
|
-
return request(_objectSpread$
|
|
16082
|
+
return request(_objectSpread$_({}, opts, {
|
|
16000
16083
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16001
16084
|
}), {
|
|
16002
16085
|
method: 'get'
|
|
@@ -16019,7 +16102,7 @@ var updateBusinessSubscription = function updateBusinessSubscription(businessId,
|
|
|
16019
16102
|
businessId: businessId,
|
|
16020
16103
|
subscriptionId: subscriptionId
|
|
16021
16104
|
});
|
|
16022
|
-
return request(_objectSpread$
|
|
16105
|
+
return request(_objectSpread$_({}, opts, {
|
|
16023
16106
|
path: pathBusinessSubscription(businessId, subscriptionId)
|
|
16024
16107
|
}), {
|
|
16025
16108
|
method: 'put',
|
|
@@ -16037,9 +16120,9 @@ var subscriptions = /*#__PURE__*/Object.freeze({
|
|
|
16037
16120
|
updateBusinessSubscription: updateBusinessSubscription
|
|
16038
16121
|
});
|
|
16039
16122
|
|
|
16040
|
-
function ownKeys
|
|
16123
|
+
function ownKeys$$(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
16041
16124
|
|
|
16042
|
-
function _objectSpread
|
|
16125
|
+
function _objectSpread$$(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$$(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
16043
16126
|
var pathTerminalsByBusinessId = function pathTerminalsByBusinessId(businessId) {
|
|
16044
16127
|
return "/businesses/" + businessId + "/terminals";
|
|
16045
16128
|
};
|
|
@@ -16074,7 +16157,7 @@ var registerTerminal = /*#__PURE__*/function () {
|
|
|
16074
16157
|
businessId: businessId,
|
|
16075
16158
|
practiceId: practiceId
|
|
16076
16159
|
}, opts.hyperMediaEndpoint);
|
|
16077
|
-
return _context.abrupt("return", request(_objectSpread
|
|
16160
|
+
return _context.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16078
16161
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16079
16162
|
}), {
|
|
16080
16163
|
method: 'post',
|
|
@@ -16113,7 +16196,7 @@ var getBusinessTerminals = /*#__PURE__*/function () {
|
|
|
16113
16196
|
doesParamExist.default({
|
|
16114
16197
|
businessId: businessId
|
|
16115
16198
|
}, opts.hyperMediaEndpoint);
|
|
16116
|
-
return _context2.abrupt("return", request(_objectSpread
|
|
16199
|
+
return _context2.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16117
16200
|
path: pathTerminalsByBusinessId(businessId)
|
|
16118
16201
|
}), {
|
|
16119
16202
|
method: 'get',
|
|
@@ -16154,7 +16237,7 @@ var getTerminals = /*#__PURE__*/function () {
|
|
|
16154
16237
|
businessId: businessId,
|
|
16155
16238
|
practiceId: practiceId
|
|
16156
16239
|
}, opts.hyperMediaEndpoint);
|
|
16157
|
-
return _context3.abrupt("return", request(_objectSpread
|
|
16240
|
+
return _context3.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16158
16241
|
path: pathTerminalsByPracticeId(businessId, practiceId)
|
|
16159
16242
|
}), {
|
|
16160
16243
|
method: 'get',
|
|
@@ -16197,7 +16280,7 @@ var getTerminal = /*#__PURE__*/function () {
|
|
|
16197
16280
|
practiceId: practiceId,
|
|
16198
16281
|
terminalId: terminalId
|
|
16199
16282
|
}, opts.hyperMediaEndpoint);
|
|
16200
|
-
return _context4.abrupt("return", request(_objectSpread
|
|
16283
|
+
return _context4.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16201
16284
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16202
16285
|
}), {
|
|
16203
16286
|
method: 'get'
|
|
@@ -16239,7 +16322,7 @@ var updateTerminal = /*#__PURE__*/function () {
|
|
|
16239
16322
|
practiceId: practiceId,
|
|
16240
16323
|
terminalId: terminalId
|
|
16241
16324
|
}, opts.hyperMediaEndpoint);
|
|
16242
|
-
return _context5.abrupt("return", request(_objectSpread
|
|
16325
|
+
return _context5.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16243
16326
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16244
16327
|
}), {
|
|
16245
16328
|
method: 'put',
|
|
@@ -16281,7 +16364,7 @@ var deleteTerminal = /*#__PURE__*/function () {
|
|
|
16281
16364
|
practiceId: practiceId,
|
|
16282
16365
|
terminalId: terminalId
|
|
16283
16366
|
}, opts.hyperMediaEndpoint);
|
|
16284
|
-
return _context6.abrupt("return", request(_objectSpread
|
|
16367
|
+
return _context6.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16285
16368
|
path: pathTerminalByTerminalId(businessId, practiceId, terminalId)
|
|
16286
16369
|
}), {
|
|
16287
16370
|
method: 'delete'
|
|
@@ -16320,7 +16403,7 @@ var getClientToken$1 = /*#__PURE__*/function () {
|
|
|
16320
16403
|
businessId: businessId,
|
|
16321
16404
|
practiceId: practiceId
|
|
16322
16405
|
}, opts.hyperMediaEndpoint);
|
|
16323
|
-
return _context7.abrupt("return", request(_objectSpread
|
|
16406
|
+
return _context7.abrupt("return", request(_objectSpread$$({}, opts, {
|
|
16324
16407
|
path: pathClientTokenByPracticeId(businessId, practiceId)
|
|
16325
16408
|
}), {
|
|
16326
16409
|
method: 'get'
|
|
@@ -16354,9 +16437,9 @@ var terminals = /*#__PURE__*/Object.freeze({
|
|
|
16354
16437
|
getClientToken: getClientToken$1
|
|
16355
16438
|
});
|
|
16356
16439
|
|
|
16357
|
-
function ownKeys
|
|
16440
|
+
function ownKeys$10(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
16358
16441
|
|
|
16359
|
-
function _objectSpread
|
|
16442
|
+
function _objectSpread$10(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$10(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$10(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
16360
16443
|
var pathCreateHealthFundTransactionExport = function pathCreateHealthFundTransactionExport(healthFundId) {
|
|
16361
16444
|
return "/healthfunds/" + healthFundId + "/transactionexport";
|
|
16362
16445
|
};
|
|
@@ -16383,7 +16466,7 @@ var createHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16383
16466
|
doesParamExist.default({
|
|
16384
16467
|
healthFundId: healthFundId
|
|
16385
16468
|
}, opts.hyperMediaEndpoint);
|
|
16386
|
-
return _context.abrupt("return", request(_objectSpread
|
|
16469
|
+
return _context.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16387
16470
|
path: pathCreateHealthFundTransactionExport(healthFundId)
|
|
16388
16471
|
}), {
|
|
16389
16472
|
method: 'post',
|
|
@@ -16428,7 +16511,7 @@ var getHealthFundTransactionExport = /*#__PURE__*/function () {
|
|
|
16428
16511
|
healthFundId: healthFundId,
|
|
16429
16512
|
transactionExportId: transactionExportId
|
|
16430
16513
|
}, opts.hyperMediaEndpoint);
|
|
16431
|
-
return _context2.abrupt("return", request(_objectSpread
|
|
16514
|
+
return _context2.abrupt("return", request(_objectSpread$10({}, opts, {
|
|
16432
16515
|
path: pathGetHealthFundTransactionExport(healthFundId, transactionExportId)
|
|
16433
16516
|
}), {
|
|
16434
16517
|
method: 'get',
|
|
@@ -16456,9 +16539,9 @@ var transactionExport = /*#__PURE__*/Object.freeze({
|
|
|
16456
16539
|
getHealthFundTransactionExport: getHealthFundTransactionExport
|
|
16457
16540
|
});
|
|
16458
16541
|
|
|
16459
|
-
function ownKeys$
|
|
16542
|
+
function ownKeys$11(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
16460
16543
|
|
|
16461
|
-
function _objectSpread$
|
|
16544
|
+
function _objectSpread$11(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$11(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$11(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
16462
16545
|
|
|
16463
16546
|
var pathBusinessTransactions = function pathBusinessTransactions(businessId) {
|
|
16464
16547
|
return "/businesses/" + businessId + "/transactions";
|
|
@@ -16656,7 +16739,7 @@ var approveTransaction = /*#__PURE__*/function () {
|
|
|
16656
16739
|
doesParamExist.default({
|
|
16657
16740
|
transactionId: transactionId
|
|
16658
16741
|
}, opts.hyperMediaEndpoint);
|
|
16659
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
16742
|
+
return _context.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16660
16743
|
path: pathTransactionApprove(transactionId)
|
|
16661
16744
|
}), {
|
|
16662
16745
|
method: 'post',
|
|
@@ -16694,7 +16777,7 @@ var assignHealthFundTransactions = /*#__PURE__*/function () {
|
|
|
16694
16777
|
doesParamExist.default({
|
|
16695
16778
|
healthFundId: healthFundId
|
|
16696
16779
|
}, opts.hyperMediaEndpoint);
|
|
16697
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
16780
|
+
return _context2.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16698
16781
|
path: pathHealthFundTransactionsAssign(healthFundId)
|
|
16699
16782
|
}), {
|
|
16700
16783
|
method: 'post',
|
|
@@ -16734,7 +16817,7 @@ var assignHealthFundTransactionToSelf = /*#__PURE__*/function () {
|
|
|
16734
16817
|
transactionId: transactionId,
|
|
16735
16818
|
healthFundId: healthFundId
|
|
16736
16819
|
}, opts.hyperMediaEndpoint);
|
|
16737
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
16820
|
+
return _context3.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16738
16821
|
path: pathHealthFundTransaction(healthFundId, transactionId) + "/assigntome"
|
|
16739
16822
|
}), {
|
|
16740
16823
|
method: 'put'
|
|
@@ -16771,7 +16854,7 @@ var assignTransactionToSelf = /*#__PURE__*/function () {
|
|
|
16771
16854
|
doesParamExist.default({
|
|
16772
16855
|
transactionId: transactionId
|
|
16773
16856
|
}, opts.hyperMediaEndpoint);
|
|
16774
|
-
return _context4.abrupt("return", request(_objectSpread$
|
|
16857
|
+
return _context4.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16775
16858
|
path: pathTransactionByTransactionId(transactionId) + "/assigntome"
|
|
16776
16859
|
}), {
|
|
16777
16860
|
method: 'put'
|
|
@@ -16808,7 +16891,7 @@ var cancelTransaction = /*#__PURE__*/function () {
|
|
|
16808
16891
|
doesParamExist.default({
|
|
16809
16892
|
transactionId: transactionId
|
|
16810
16893
|
}, opts.hyperMediaEndpoint);
|
|
16811
|
-
return _context5.abrupt("return", request(_objectSpread$
|
|
16894
|
+
return _context5.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16812
16895
|
path: pathTransactionByTransactionId(transactionId) + "/cancellations"
|
|
16813
16896
|
}), {
|
|
16814
16897
|
data: body,
|
|
@@ -16848,7 +16931,7 @@ var cancelBusinessTransaction = /*#__PURE__*/function () {
|
|
|
16848
16931
|
transactionId: transactionId,
|
|
16849
16932
|
businessId: businessId
|
|
16850
16933
|
}, opts.hyperMediaEndpoint);
|
|
16851
|
-
return _context6.abrupt("return", request(_objectSpread$
|
|
16934
|
+
return _context6.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16852
16935
|
path: pathBusinessTransaction(businessId, transactionId) + "/cancellations"
|
|
16853
16936
|
}), {
|
|
16854
16937
|
data: body,
|
|
@@ -16891,7 +16974,7 @@ var createBusinessPracticeStaffMemberInvoice = /*#__PURE__*/function () {
|
|
|
16891
16974
|
practiceId: practiceId,
|
|
16892
16975
|
staffId: staffId
|
|
16893
16976
|
}, opts.hyperMediaEndpoint);
|
|
16894
|
-
return _context7.abrupt("return", request(_objectSpread$
|
|
16977
|
+
return _context7.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16895
16978
|
path: pathBusinessPracticeStaffInvoices(businessId, practiceId, staffId)
|
|
16896
16979
|
}), {
|
|
16897
16980
|
method: 'post',
|
|
@@ -16932,7 +17015,7 @@ var createBusinessPracticeInvoice = /*#__PURE__*/function () {
|
|
|
16932
17015
|
businessId: businessId,
|
|
16933
17016
|
practiceId: practiceId
|
|
16934
17017
|
}, opts.hyperMediaEndpoint);
|
|
16935
|
-
return _context8.abrupt("return", request(_objectSpread$
|
|
17018
|
+
return _context8.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16936
17019
|
path: pathBusinessPracticeInvoices(businessId, practiceId)
|
|
16937
17020
|
}), {
|
|
16938
17021
|
method: 'post',
|
|
@@ -16975,7 +17058,7 @@ var createBusinessPracticeStaffMemberQuote = /*#__PURE__*/function () {
|
|
|
16975
17058
|
practiceId: practiceId,
|
|
16976
17059
|
staffId: staffId
|
|
16977
17060
|
}, opts.hyperMediaEndpoint);
|
|
16978
|
-
return _context9.abrupt("return", request(_objectSpread$
|
|
17061
|
+
return _context9.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
16979
17062
|
path: pathBusinessPracticeStaffQuotes(businessId, practiceId, staffId)
|
|
16980
17063
|
}), {
|
|
16981
17064
|
method: 'post',
|
|
@@ -17017,7 +17100,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17017
17100
|
doesParamExist.default({
|
|
17018
17101
|
transactionId: transactionId
|
|
17019
17102
|
}, opts.hyperMediaEndpoint);
|
|
17020
|
-
newBody = _objectSpread$
|
|
17103
|
+
newBody = _objectSpread$11({}, body);
|
|
17021
17104
|
|
|
17022
17105
|
if (source && nonce) {
|
|
17023
17106
|
newBody.payment = {
|
|
@@ -17026,7 +17109,7 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
17026
17109
|
};
|
|
17027
17110
|
}
|
|
17028
17111
|
|
|
17029
|
-
return _context10.abrupt("return", request(_objectSpread$
|
|
17112
|
+
return _context10.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17030
17113
|
path: pathTransactionByTransactionId(transactionId) + "/payments"
|
|
17031
17114
|
}), {
|
|
17032
17115
|
method: 'post',
|
|
@@ -17065,7 +17148,7 @@ var createPaymentRequest = /*#__PURE__*/function () {
|
|
|
17065
17148
|
doesParamExist.default({
|
|
17066
17149
|
transactionId: transactionId
|
|
17067
17150
|
}, opts.hyperMediaEndpoint);
|
|
17068
|
-
return _context11.abrupt("return", request(_objectSpread$
|
|
17151
|
+
return _context11.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17069
17152
|
path: pathTransactionByTransactionId(transactionId) + "/paymentrequests"
|
|
17070
17153
|
}), {
|
|
17071
17154
|
method: 'post',
|
|
@@ -17105,7 +17188,7 @@ var completeQuote = /*#__PURE__*/function () {
|
|
|
17105
17188
|
transactionId: transactionId,
|
|
17106
17189
|
memberId: memberId
|
|
17107
17190
|
}, opts.hyperMediaEndpoint);
|
|
17108
|
-
return _context12.abrupt("return", request(_objectSpread$
|
|
17191
|
+
return _context12.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17109
17192
|
path: pathTransactionByTransactionId(transactionId) + "/completequote"
|
|
17110
17193
|
}), {
|
|
17111
17194
|
method: 'post',
|
|
@@ -17147,7 +17230,7 @@ var deleteTransactionTag = /*#__PURE__*/function () {
|
|
|
17147
17230
|
transactionId: transactionId,
|
|
17148
17231
|
tagId: tagId
|
|
17149
17232
|
}, opts.hyperMediaEndpoint);
|
|
17150
|
-
return _context13.abrupt("return", request(_objectSpread$
|
|
17233
|
+
return _context13.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17151
17234
|
path: pathTransactionTag(transactionId, tagId)
|
|
17152
17235
|
}), {
|
|
17153
17236
|
method: 'delete'
|
|
@@ -17184,7 +17267,7 @@ var deleteTransaction = /*#__PURE__*/function () {
|
|
|
17184
17267
|
doesParamExist.default({
|
|
17185
17268
|
transactionId: transactionId
|
|
17186
17269
|
}, opts.hyperMediaEndpoint);
|
|
17187
|
-
return _context14.abrupt("return", request(_objectSpread$
|
|
17270
|
+
return _context14.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17188
17271
|
path: pathTransactionByTransactionId(transactionId)
|
|
17189
17272
|
}), {
|
|
17190
17273
|
method: 'delete'
|
|
@@ -17226,7 +17309,7 @@ var getBusinessTransactions = /*#__PURE__*/function () {
|
|
|
17226
17309
|
doesParamExist.default({
|
|
17227
17310
|
businessId: businessId
|
|
17228
17311
|
}, opts.hyperMediaEndpoint);
|
|
17229
|
-
return _context15.abrupt("return", request(_objectSpread$
|
|
17312
|
+
return _context15.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17230
17313
|
path: pathBusinessTransactions(businessId)
|
|
17231
17314
|
}), {
|
|
17232
17315
|
method: 'get',
|
|
@@ -17266,7 +17349,7 @@ var getBusinessTransaction = /*#__PURE__*/function () {
|
|
|
17266
17349
|
businessId: businessId,
|
|
17267
17350
|
transactionId: transactionId
|
|
17268
17351
|
}, opts.hyperMediaEndpoint);
|
|
17269
|
-
return _context16.abrupt("return", request(_objectSpread$
|
|
17352
|
+
return _context16.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17270
17353
|
path: pathBusinessTransaction(businessId, transactionId)
|
|
17271
17354
|
}), {
|
|
17272
17355
|
method: 'get',
|
|
@@ -17306,7 +17389,7 @@ var getBusinessTransactionByInvoiceReference = /*#__PURE__*/function () {
|
|
|
17306
17389
|
businessId: businessId,
|
|
17307
17390
|
invoiceReference: invoiceReference
|
|
17308
17391
|
}, opts.hyperMediaEndpoint);
|
|
17309
|
-
return _context17.abrupt("return", request(_objectSpread$
|
|
17392
|
+
return _context17.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17310
17393
|
path: pathBusinessTransactionsInvoiceReference(businessId, invoiceReference)
|
|
17311
17394
|
}), {
|
|
17312
17395
|
method: 'get'
|
|
@@ -17345,7 +17428,7 @@ var getBusinessTransactionPaymentReport = /*#__PURE__*/function () {
|
|
|
17345
17428
|
businessId: businessId,
|
|
17346
17429
|
transactionId: transactionId
|
|
17347
17430
|
}, opts.hyperMediaEndpoint);
|
|
17348
|
-
return _context18.abrupt("return", request(_objectSpread$
|
|
17431
|
+
return _context18.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17349
17432
|
path: pathBusinessTransaction(businessId, transactionId) + "/paymentreport"
|
|
17350
17433
|
}), {
|
|
17351
17434
|
method: 'get',
|
|
@@ -17385,7 +17468,7 @@ var getBusinessTransactionProcessingReport = /*#__PURE__*/function () {
|
|
|
17385
17468
|
businessId: businessId,
|
|
17386
17469
|
transactionId: transactionId
|
|
17387
17470
|
}, opts.hyperMediaEndpoint);
|
|
17388
|
-
return _context19.abrupt("return", request(_objectSpread$
|
|
17471
|
+
return _context19.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17389
17472
|
path: pathBusinessTransaction(businessId, transactionId) + "/processingreport"
|
|
17390
17473
|
}), {
|
|
17391
17474
|
method: 'get',
|
|
@@ -17430,7 +17513,7 @@ var getBusinessPracticeTransactions = /*#__PURE__*/function () {
|
|
|
17430
17513
|
businessId: businessId,
|
|
17431
17514
|
practiceId: practiceId
|
|
17432
17515
|
}, opts.hyperMediaEndpoint);
|
|
17433
|
-
return _context20.abrupt("return", request(_objectSpread$
|
|
17516
|
+
return _context20.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17434
17517
|
path: pathBusinessPracticeTransactions(businessId, practiceId)
|
|
17435
17518
|
}), {
|
|
17436
17519
|
method: 'get',
|
|
@@ -17477,7 +17560,7 @@ var getBusinessPracticeStaffTransactions = /*#__PURE__*/function () {
|
|
|
17477
17560
|
practiceId: practiceId,
|
|
17478
17561
|
staffId: staffId
|
|
17479
17562
|
}, opts.hyperMediaEndpoint);
|
|
17480
|
-
return _context21.abrupt("return", request(_objectSpread$
|
|
17563
|
+
return _context21.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17481
17564
|
path: pathBusinessPracticeStaffTransactions(businessId, practiceId, staffId)
|
|
17482
17565
|
}), {
|
|
17483
17566
|
method: 'get',
|
|
@@ -17520,7 +17603,7 @@ var getTransactionsForHealthFund = /*#__PURE__*/function () {
|
|
|
17520
17603
|
doesParamExist.default({
|
|
17521
17604
|
healthFundId: healthFundId
|
|
17522
17605
|
}, opts.hyperMediaEndpoint);
|
|
17523
|
-
return _context22.abrupt("return", request(_objectSpread$
|
|
17606
|
+
return _context22.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17524
17607
|
path: pathTransactionsForHealthFund(healthFundId)
|
|
17525
17608
|
}), {
|
|
17526
17609
|
method: 'get',
|
|
@@ -17560,7 +17643,7 @@ var getHealthFundTransaction = /*#__PURE__*/function () {
|
|
|
17560
17643
|
healthFundId: healthFundId,
|
|
17561
17644
|
transactionId: transactionId
|
|
17562
17645
|
}, opts.hyperMediaEndpoint);
|
|
17563
|
-
return _context23.abrupt("return", request(_objectSpread$
|
|
17646
|
+
return _context23.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17564
17647
|
path: pathHealthFundTransaction(healthFundId, transactionId)
|
|
17565
17648
|
}), {
|
|
17566
17649
|
method: 'get'
|
|
@@ -17602,7 +17685,7 @@ var getTransactionsByMember = /*#__PURE__*/function () {
|
|
|
17602
17685
|
doesParamExist.default({
|
|
17603
17686
|
memberId: memberId
|
|
17604
17687
|
}, opts.hyperMediaEndpoint);
|
|
17605
|
-
return _context24.abrupt("return", request(_objectSpread$
|
|
17688
|
+
return _context24.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17606
17689
|
path: pathTransactionsByMember(memberId)
|
|
17607
17690
|
}), {
|
|
17608
17691
|
method: 'get',
|
|
@@ -17646,7 +17729,7 @@ var getHealthFundMemberTransactions = /*#__PURE__*/function () {
|
|
|
17646
17729
|
doesParamExist.default({
|
|
17647
17730
|
healthFundId: healthFundId
|
|
17648
17731
|
}, opts.hyperMediaEndpoint);
|
|
17649
|
-
return _context25.abrupt("return", request(_objectSpread$
|
|
17732
|
+
return _context25.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17650
17733
|
path: pathHealthFundMemberTransactions(healthFundId, memberId)
|
|
17651
17734
|
}), {
|
|
17652
17735
|
method: 'get',
|
|
@@ -17684,7 +17767,7 @@ var getTransactionByTransactionId = /*#__PURE__*/function () {
|
|
|
17684
17767
|
doesParamExist.default({
|
|
17685
17768
|
transactionId: transactionId
|
|
17686
17769
|
}, opts.hyperMediaEndpoint);
|
|
17687
|
-
return _context26.abrupt("return", request(_objectSpread$
|
|
17770
|
+
return _context26.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17688
17771
|
path: pathTransactionByTransactionId(transactionId)
|
|
17689
17772
|
}), {
|
|
17690
17773
|
method: 'get',
|
|
@@ -17723,7 +17806,7 @@ var getTransactionPDF = /*#__PURE__*/function () {
|
|
|
17723
17806
|
doesParamExist.default({
|
|
17724
17807
|
transactionId: transactionId
|
|
17725
17808
|
}, opts.hyperMediaEndpoint);
|
|
17726
|
-
return _context27.abrupt("return", request(_objectSpread$
|
|
17809
|
+
return _context27.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17727
17810
|
path: pathTransactionByTransactionId(transactionId) + "/pdf"
|
|
17728
17811
|
}), {
|
|
17729
17812
|
method: 'post',
|
|
@@ -17765,7 +17848,7 @@ var getTransactionClaimPDF = /*#__PURE__*/function () {
|
|
|
17765
17848
|
claimId: claimId,
|
|
17766
17849
|
transactionId: transactionId
|
|
17767
17850
|
}, opts.hyperMediaEndpoint);
|
|
17768
|
-
return _context28.abrupt("return", request(_objectSpread$
|
|
17851
|
+
return _context28.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17769
17852
|
path: pathTransactionClaimPdf(transactionId, claimId)
|
|
17770
17853
|
}), {
|
|
17771
17854
|
method: 'post',
|
|
@@ -17805,7 +17888,7 @@ var replyToQuote = /*#__PURE__*/function () {
|
|
|
17805
17888
|
doesParamExist.default({
|
|
17806
17889
|
transactionId: transactionId
|
|
17807
17890
|
}, opts.hyperMediaEndpoint);
|
|
17808
|
-
return _context29.abrupt("return", request(_objectSpread$
|
|
17891
|
+
return _context29.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17809
17892
|
path: pathReplyQuote(transactionId)
|
|
17810
17893
|
}), {
|
|
17811
17894
|
method: 'post',
|
|
@@ -17844,7 +17927,7 @@ var sendReceipt$1 = /*#__PURE__*/function () {
|
|
|
17844
17927
|
doesParamExist.default({
|
|
17845
17928
|
transactionId: transactionId
|
|
17846
17929
|
}, opts.hyperMediaEndpoint);
|
|
17847
|
-
return _context30.abrupt("return", request(_objectSpread$
|
|
17930
|
+
return _context30.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17848
17931
|
path: pathTransactionSendReceipt(transactionId)
|
|
17849
17932
|
}), {
|
|
17850
17933
|
method: 'post',
|
|
@@ -17883,7 +17966,7 @@ var submitInvoice = /*#__PURE__*/function () {
|
|
|
17883
17966
|
doesParamExist.default({
|
|
17884
17967
|
transactionId: transactionId
|
|
17885
17968
|
}, opts.hyperMediaEndpoint);
|
|
17886
|
-
return _context31.abrupt("return", request(_objectSpread$
|
|
17969
|
+
return _context31.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17887
17970
|
path: pathTransactionByTransactionId(transactionId) + "/submitinvoice"
|
|
17888
17971
|
}), {
|
|
17889
17972
|
method: 'post',
|
|
@@ -17922,7 +18005,7 @@ var updateTransaction = /*#__PURE__*/function () {
|
|
|
17922
18005
|
doesParamExist.default({
|
|
17923
18006
|
transactionId: transactionId
|
|
17924
18007
|
}, opts.hyperMediaEndpoint);
|
|
17925
|
-
return _context32.abrupt("return", request(_objectSpread$
|
|
18008
|
+
return _context32.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17926
18009
|
path: pathTransactionByTransactionId(transactionId)
|
|
17927
18010
|
}), {
|
|
17928
18011
|
method: 'put',
|
|
@@ -17960,7 +18043,7 @@ var validateTransaction = /*#__PURE__*/function () {
|
|
|
17960
18043
|
doesParamExist.default({
|
|
17961
18044
|
transactionId: transactionId
|
|
17962
18045
|
}, opts.hyperMediaEndpoint);
|
|
17963
|
-
return _context33.abrupt("return", request(_objectSpread$
|
|
18046
|
+
return _context33.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
17964
18047
|
path: pathValidateTransaction(transactionId)
|
|
17965
18048
|
}), {
|
|
17966
18049
|
method: 'post'
|
|
@@ -17998,7 +18081,7 @@ var submitTransactionBridgeClaim = /*#__PURE__*/function () {
|
|
|
17998
18081
|
doesParamExist.default({
|
|
17999
18082
|
transactionId: transactionId
|
|
18000
18083
|
}, opts.hyperMediaEndpoint);
|
|
18001
|
-
return _context34.abrupt("return", request(_objectSpread$
|
|
18084
|
+
return _context34.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18002
18085
|
path: pathTransactionSubmitBridgeClaim(transactionId)
|
|
18003
18086
|
}), {
|
|
18004
18087
|
method: 'post',
|
|
@@ -18037,7 +18120,7 @@ var submitTransactionBridgePayment = /*#__PURE__*/function () {
|
|
|
18037
18120
|
doesParamExist.default({
|
|
18038
18121
|
transactionId: transactionId
|
|
18039
18122
|
}, opts.hyperMediaEndpoint);
|
|
18040
|
-
return _context35.abrupt("return", request(_objectSpread$
|
|
18123
|
+
return _context35.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18041
18124
|
path: pathTransactionSubmitBridgePayment(transactionId)
|
|
18042
18125
|
}), {
|
|
18043
18126
|
method: 'post',
|
|
@@ -18076,7 +18159,7 @@ var triggerBridge = /*#__PURE__*/function () {
|
|
|
18076
18159
|
doesParamExist.default({
|
|
18077
18160
|
transactionId: transactionId
|
|
18078
18161
|
}, opts.hyperMediaEndpoint);
|
|
18079
|
-
return _context36.abrupt("return", request(_objectSpread$
|
|
18162
|
+
return _context36.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18080
18163
|
path: pathTransactionTriggerBridge(transactionId)
|
|
18081
18164
|
}), {
|
|
18082
18165
|
method: 'post',
|
|
@@ -18115,7 +18198,7 @@ var createInvoice = /*#__PURE__*/function () {
|
|
|
18115
18198
|
doesParamExist.default({
|
|
18116
18199
|
businessId: businessId
|
|
18117
18200
|
}, opts.hyperMediaEndpoint);
|
|
18118
|
-
return _context37.abrupt("return", request(_objectSpread$
|
|
18201
|
+
return _context37.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18119
18202
|
path: pathCreateInvoice(businessId)
|
|
18120
18203
|
}), {
|
|
18121
18204
|
method: 'post',
|
|
@@ -18154,7 +18237,7 @@ var createSendClaim = /*#__PURE__*/function () {
|
|
|
18154
18237
|
doesParamExist.default({
|
|
18155
18238
|
transactionId: transactionId
|
|
18156
18239
|
}, opts.hyperMediaEndpoint);
|
|
18157
|
-
return _context38.abrupt("return", request(_objectSpread$
|
|
18240
|
+
return _context38.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18158
18241
|
path: pathCreateSendClaim(transactionId)
|
|
18159
18242
|
}), {
|
|
18160
18243
|
method: 'post',
|
|
@@ -18195,7 +18278,7 @@ var updateClaim = /*#__PURE__*/function () {
|
|
|
18195
18278
|
claimId: claimId,
|
|
18196
18279
|
transactionId: transactionId
|
|
18197
18280
|
}, opts.hyperMediaEndpoint);
|
|
18198
|
-
return _context39.abrupt("return", request(_objectSpread$
|
|
18281
|
+
return _context39.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18199
18282
|
path: pathClaim(transactionId, claimId)
|
|
18200
18283
|
}), {
|
|
18201
18284
|
method: 'put',
|
|
@@ -18233,7 +18316,7 @@ var completeTransaction = /*#__PURE__*/function () {
|
|
|
18233
18316
|
doesParamExist.default({
|
|
18234
18317
|
transactionId: transactionId
|
|
18235
18318
|
}, opts.hyperMediaEndpoint);
|
|
18236
|
-
return _context40.abrupt("return", request(_objectSpread$
|
|
18319
|
+
return _context40.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18237
18320
|
path: pathCompleteTransaction(transactionId)
|
|
18238
18321
|
}), {
|
|
18239
18322
|
method: 'post'
|
|
@@ -18272,7 +18355,7 @@ var approveClaim = /*#__PURE__*/function () {
|
|
|
18272
18355
|
doesParamExist.default({
|
|
18273
18356
|
transactionId: transactionId
|
|
18274
18357
|
}, opts.hyperMediaEndpoint);
|
|
18275
|
-
return _context41.abrupt("return", request(_objectSpread$
|
|
18358
|
+
return _context41.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18276
18359
|
path: pathApproveClaim(transactionId, claimId)
|
|
18277
18360
|
}), {
|
|
18278
18361
|
method: 'post',
|
|
@@ -18312,7 +18395,7 @@ var cancelClaim = /*#__PURE__*/function () {
|
|
|
18312
18395
|
claimId: claimId,
|
|
18313
18396
|
transactionId: transactionId
|
|
18314
18397
|
}, opts.hyperMediaEndpoint);
|
|
18315
|
-
return _context42.abrupt("return", request(_objectSpread$
|
|
18398
|
+
return _context42.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18316
18399
|
path: pathCancelClaim(transactionId, claimId)
|
|
18317
18400
|
}), {
|
|
18318
18401
|
method: 'post'
|
|
@@ -18351,7 +18434,7 @@ var submitClaim = /*#__PURE__*/function () {
|
|
|
18351
18434
|
doesParamExist.default({
|
|
18352
18435
|
transactionId: transactionId
|
|
18353
18436
|
}, opts.hyperMediaEndpoint);
|
|
18354
|
-
return _context43.abrupt("return", request(_objectSpread$
|
|
18437
|
+
return _context43.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18355
18438
|
path: pathSubmitClaim(transactionId, claimId)
|
|
18356
18439
|
}), {
|
|
18357
18440
|
method: 'post',
|
|
@@ -18391,7 +18474,7 @@ var saveClaimDetails = /*#__PURE__*/function () {
|
|
|
18391
18474
|
claimId: claimId,
|
|
18392
18475
|
transactionId: transactionId
|
|
18393
18476
|
}, opts.hyperMediaEndpoint);
|
|
18394
|
-
return _context44.abrupt("return", request(_objectSpread$
|
|
18477
|
+
return _context44.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18395
18478
|
path: pathSaveClaim(transactionId, claimId)
|
|
18396
18479
|
}), {
|
|
18397
18480
|
method: 'post'
|
|
@@ -18429,7 +18512,7 @@ var pay = /*#__PURE__*/function () {
|
|
|
18429
18512
|
doesParamExist.default({
|
|
18430
18513
|
transactionId: transactionId
|
|
18431
18514
|
}, opts.hyperMediaEndpoint);
|
|
18432
|
-
return _context45.abrupt("return", request(_objectSpread$
|
|
18515
|
+
return _context45.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18433
18516
|
path: pathTransactionPays(transactionId)
|
|
18434
18517
|
}), {
|
|
18435
18518
|
method: 'post',
|
|
@@ -18468,7 +18551,7 @@ var sendProcessingRequest$1 = /*#__PURE__*/function () {
|
|
|
18468
18551
|
doesParamExist.default({
|
|
18469
18552
|
transactionId: transactionId
|
|
18470
18553
|
}, opts.hyperMediaEndpoint);
|
|
18471
|
-
return _context46.abrupt("return", request(_objectSpread$
|
|
18554
|
+
return _context46.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18472
18555
|
path: pathTransactionProcessingRequests(transactionId)
|
|
18473
18556
|
}), {
|
|
18474
18557
|
method: 'post',
|
|
@@ -18507,7 +18590,7 @@ var cancelInvoice = /*#__PURE__*/function () {
|
|
|
18507
18590
|
doesParamExist.default({
|
|
18508
18591
|
transactionId: transactionId
|
|
18509
18592
|
}, opts.hyperMediaEndpoint);
|
|
18510
|
-
return _context47.abrupt("return", request(_objectSpread$
|
|
18593
|
+
return _context47.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18511
18594
|
path: pathTransactionCancel(transactionId)
|
|
18512
18595
|
}), {
|
|
18513
18596
|
method: 'post',
|
|
@@ -18545,7 +18628,7 @@ var getPaymentLink$1 = /*#__PURE__*/function () {
|
|
|
18545
18628
|
doesParamExist.default({
|
|
18546
18629
|
transactionId: transactionId
|
|
18547
18630
|
}, opts.hyperMediaEndpoint);
|
|
18548
|
-
return _context48.abrupt("return", request(_objectSpread$
|
|
18631
|
+
return _context48.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18549
18632
|
path: pathTransactionPaymentLink(transactionId)
|
|
18550
18633
|
}), {
|
|
18551
18634
|
method: 'get'
|
|
@@ -18585,7 +18668,7 @@ var refundByBusiness = /*#__PURE__*/function () {
|
|
|
18585
18668
|
businessId: businessId,
|
|
18586
18669
|
transactionId: transactionId
|
|
18587
18670
|
}, opts.hyperMediaEndpoint);
|
|
18588
|
-
return _context49.abrupt("return", request(_objectSpread$
|
|
18671
|
+
return _context49.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18589
18672
|
path: pathBusinessTransactionRefund(businessId, transactionId)
|
|
18590
18673
|
}), {
|
|
18591
18674
|
method: 'post',
|
|
@@ -18624,7 +18707,7 @@ var refund = /*#__PURE__*/function () {
|
|
|
18624
18707
|
doesParamExist.default({
|
|
18625
18708
|
transactionId: transactionId
|
|
18626
18709
|
}, opts.hyperMediaEndpoint);
|
|
18627
|
-
return _context50.abrupt("return", request(_objectSpread$
|
|
18710
|
+
return _context50.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18628
18711
|
path: pathTransactionRefund(transactionId)
|
|
18629
18712
|
}), {
|
|
18630
18713
|
method: 'post',
|
|
@@ -18663,7 +18746,7 @@ var saveDraft = /*#__PURE__*/function () {
|
|
|
18663
18746
|
doesParamExist.default({
|
|
18664
18747
|
businessId: businessId
|
|
18665
18748
|
}, opts.hyperMediaEndpoint);
|
|
18666
|
-
return _context51.abrupt("return", request(_objectSpread$
|
|
18749
|
+
return _context51.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18667
18750
|
path: pathCreateDraft(businessId)
|
|
18668
18751
|
}), {
|
|
18669
18752
|
method: 'post',
|
|
@@ -18702,7 +18785,7 @@ var convertDraft = /*#__PURE__*/function () {
|
|
|
18702
18785
|
doesParamExist.default({
|
|
18703
18786
|
transactionId: transactionId
|
|
18704
18787
|
}, opts.hyperMediaEndpoint);
|
|
18705
|
-
return _context52.abrupt("return", request(_objectSpread$
|
|
18788
|
+
return _context52.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18706
18789
|
path: pathConvertDraft(transactionId)
|
|
18707
18790
|
}), {
|
|
18708
18791
|
method: 'post',
|
|
@@ -18740,7 +18823,7 @@ var archive = /*#__PURE__*/function () {
|
|
|
18740
18823
|
doesParamExist.default({
|
|
18741
18824
|
transactionId: transactionId
|
|
18742
18825
|
}, opts.hyperMediaEndpoint);
|
|
18743
|
-
return _context53.abrupt("return", request(_objectSpread$
|
|
18826
|
+
return _context53.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18744
18827
|
path: pathTransactionArchives(transactionId)
|
|
18745
18828
|
}), {
|
|
18746
18829
|
method: 'put'
|
|
@@ -18777,7 +18860,7 @@ var unarchive = /*#__PURE__*/function () {
|
|
|
18777
18860
|
doesParamExist.default({
|
|
18778
18861
|
transactionId: transactionId
|
|
18779
18862
|
}, opts.hyperMediaEndpoint);
|
|
18780
|
-
return _context54.abrupt("return", request(_objectSpread$
|
|
18863
|
+
return _context54.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18781
18864
|
path: pathTransactionUnarchives(transactionId)
|
|
18782
18865
|
}), {
|
|
18783
18866
|
method: 'put'
|
|
@@ -18815,7 +18898,7 @@ var terminalInput = /*#__PURE__*/function () {
|
|
|
18815
18898
|
doesParamExist.default({
|
|
18816
18899
|
transactionId: transactionId
|
|
18817
18900
|
}, opts.hyperMediaEndpoint);
|
|
18818
|
-
return _context55.abrupt("return", request(_objectSpread$
|
|
18901
|
+
return _context55.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18819
18902
|
path: pathTransactionTerminalInput(transactionId)
|
|
18820
18903
|
}), {
|
|
18821
18904
|
method: 'post',
|
|
@@ -18854,7 +18937,7 @@ var terminalCancellation = /*#__PURE__*/function () {
|
|
|
18854
18937
|
doesParamExist.default({
|
|
18855
18938
|
transactionId: transactionId
|
|
18856
18939
|
}, opts.hyperMediaEndpoint);
|
|
18857
|
-
return _context56.abrupt("return", request(_objectSpread$
|
|
18940
|
+
return _context56.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18858
18941
|
path: pathTransactionTerminalCancel(transactionId)
|
|
18859
18942
|
}), {
|
|
18860
18943
|
method: 'post',
|
|
@@ -18894,7 +18977,7 @@ var refundPayment = /*#__PURE__*/function () {
|
|
|
18894
18977
|
doesParamExist.default({
|
|
18895
18978
|
transactionId: transactionId
|
|
18896
18979
|
}, opts.hyperMediaEndpoint);
|
|
18897
|
-
return _context57.abrupt("return", request(_objectSpread$
|
|
18980
|
+
return _context57.abrupt("return", request(_objectSpread$11({}, opts, {
|
|
18898
18981
|
path: pathTransactionPaymentRefund(transactionId, paymentId)
|
|
18899
18982
|
}), {
|
|
18900
18983
|
method: 'post',
|
|
@@ -18975,9 +19058,9 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
18975
19058
|
refundPayment: refundPayment
|
|
18976
19059
|
});
|
|
18977
19060
|
|
|
18978
|
-
function ownKeys$
|
|
19061
|
+
function ownKeys$12(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
18979
19062
|
|
|
18980
|
-
function _objectSpread$
|
|
19063
|
+
function _objectSpread$12(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$12(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$12(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
18981
19064
|
|
|
18982
19065
|
var pathTrigger = function pathTrigger(triggerId) {
|
|
18983
19066
|
return "/triggers/" + triggerId;
|
|
@@ -19004,7 +19087,7 @@ var getTrigger = /*#__PURE__*/function () {
|
|
|
19004
19087
|
doesParamExist.default({
|
|
19005
19088
|
triggerId: triggerId
|
|
19006
19089
|
}, opts.hyperMediaEndpoint);
|
|
19007
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19090
|
+
return _context.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
19008
19091
|
path: pathTrigger(triggerId)
|
|
19009
19092
|
}), {
|
|
19010
19093
|
method: 'get'
|
|
@@ -19042,7 +19125,7 @@ var getTriggers = /*#__PURE__*/function () {
|
|
|
19042
19125
|
opts = {};
|
|
19043
19126
|
}
|
|
19044
19127
|
|
|
19045
|
-
return _context2.abrupt("return", request(_objectSpread$
|
|
19128
|
+
return _context2.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
19046
19129
|
path: PATH__TRIGGERS
|
|
19047
19130
|
}), {
|
|
19048
19131
|
method: 'get',
|
|
@@ -19081,7 +19164,7 @@ var getTriggerCategories = /*#__PURE__*/function () {
|
|
|
19081
19164
|
opts = {};
|
|
19082
19165
|
}
|
|
19083
19166
|
|
|
19084
|
-
return _context3.abrupt("return", request(_objectSpread$
|
|
19167
|
+
return _context3.abrupt("return", request(_objectSpread$12({}, opts, {
|
|
19085
19168
|
path: PATH__TRIGGER_CATEGORIES
|
|
19086
19169
|
}), {
|
|
19087
19170
|
method: 'get',
|
|
@@ -19108,9 +19191,9 @@ var triggers = /*#__PURE__*/Object.freeze({
|
|
|
19108
19191
|
getTriggerCategories: getTriggerCategories
|
|
19109
19192
|
});
|
|
19110
19193
|
|
|
19111
|
-
function ownKeys$
|
|
19194
|
+
function ownKeys$13(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19112
19195
|
|
|
19113
|
-
function _objectSpread$
|
|
19196
|
+
function _objectSpread$13(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$13(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$13(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19114
19197
|
var pathHealthFundVendors = function pathHealthFundVendors(healthFundId) {
|
|
19115
19198
|
return "/healthfunds/" + healthFundId + "/vendors";
|
|
19116
19199
|
};
|
|
@@ -19126,7 +19209,7 @@ var getHealthFundVendor = function getHealthFundVendor(healthFundId, vendorId, q
|
|
|
19126
19209
|
healthFundId: healthFundId,
|
|
19127
19210
|
vendorId: vendorId
|
|
19128
19211
|
}, opts.hyperMediaEndpoint);
|
|
19129
|
-
return request(_objectSpread$
|
|
19212
|
+
return request(_objectSpread$13({}, opts, {
|
|
19130
19213
|
path: pathHealthFundVendor(healthFundId, vendorId)
|
|
19131
19214
|
}), {
|
|
19132
19215
|
method: 'get',
|
|
@@ -19141,7 +19224,7 @@ var getHealthFundVendors = function getHealthFundVendors(healthFundId, query, op
|
|
|
19141
19224
|
doesParamExist.default({
|
|
19142
19225
|
healthFundId: healthFundId
|
|
19143
19226
|
}, opts.hyperMediaEndpoint);
|
|
19144
|
-
return request(_objectSpread$
|
|
19227
|
+
return request(_objectSpread$13({}, opts, {
|
|
19145
19228
|
path: pathHealthFundVendors(healthFundId)
|
|
19146
19229
|
}), {
|
|
19147
19230
|
method: 'get',
|
|
@@ -19157,9 +19240,9 @@ var vendors = /*#__PURE__*/Object.freeze({
|
|
|
19157
19240
|
getHealthFundVendors: getHealthFundVendors
|
|
19158
19241
|
});
|
|
19159
19242
|
|
|
19160
|
-
function ownKeys$
|
|
19243
|
+
function ownKeys$14(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19161
19244
|
|
|
19162
|
-
function _objectSpread$
|
|
19245
|
+
function _objectSpread$14(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$14(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$14(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19163
19246
|
var PATH__MEDICARE_VERIFY = '/medicare/verify';
|
|
19164
19247
|
/**
|
|
19165
19248
|
* Verify medicare details
|
|
@@ -19177,7 +19260,7 @@ var verifyMedicare$1 = /*#__PURE__*/function () {
|
|
|
19177
19260
|
opts = {};
|
|
19178
19261
|
}
|
|
19179
19262
|
|
|
19180
|
-
return _context.abrupt("return", request(_objectSpread$
|
|
19263
|
+
return _context.abrupt("return", request(_objectSpread$14({}, opts, {
|
|
19181
19264
|
path: PATH__MEDICARE_VERIFY
|
|
19182
19265
|
}), {
|
|
19183
19266
|
method: 'POST',
|
|
@@ -19203,9 +19286,9 @@ var verify = /*#__PURE__*/Object.freeze({
|
|
|
19203
19286
|
verifyMedicare: verifyMedicare$1
|
|
19204
19287
|
});
|
|
19205
19288
|
|
|
19206
|
-
function ownKeys$
|
|
19289
|
+
function ownKeys$15(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19207
19290
|
|
|
19208
|
-
function _objectSpread$
|
|
19291
|
+
function _objectSpread$15(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$15(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$15(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19209
19292
|
var pathSendWorkerMessage = function pathSendWorkerMessage() {
|
|
19210
19293
|
return "/workers/messages";
|
|
19211
19294
|
};
|
|
@@ -19214,7 +19297,7 @@ var sendWorkerMessage = function sendWorkerMessage(body, opts) {
|
|
|
19214
19297
|
opts = {};
|
|
19215
19298
|
}
|
|
19216
19299
|
|
|
19217
|
-
return request(_objectSpread$
|
|
19300
|
+
return request(_objectSpread$15({}, opts, {
|
|
19218
19301
|
path: pathSendWorkerMessage()
|
|
19219
19302
|
}), {
|
|
19220
19303
|
method: 'post',
|
|
@@ -19228,9 +19311,9 @@ var workers = /*#__PURE__*/Object.freeze({
|
|
|
19228
19311
|
sendWorkerMessage: sendWorkerMessage
|
|
19229
19312
|
});
|
|
19230
19313
|
|
|
19231
|
-
function ownKeys$
|
|
19314
|
+
function ownKeys$16(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19232
19315
|
|
|
19233
|
-
function _objectSpread$
|
|
19316
|
+
function _objectSpread$16(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$16(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$16(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19234
19317
|
var pathHealthFundWorkflowExceptions = function pathHealthFundWorkflowExceptions(healthFundId) {
|
|
19235
19318
|
return "/healthfunds/" + healthFundId + "/workflowexceptions";
|
|
19236
19319
|
};
|
|
@@ -19242,7 +19325,7 @@ var getHealthFundWorkflowExceptions = function getHealthFundWorkflowExceptions(h
|
|
|
19242
19325
|
doesParamExist.default({
|
|
19243
19326
|
healthFundId: healthFundId
|
|
19244
19327
|
}, opts.hyperMediaEndpoint);
|
|
19245
|
-
return request(_objectSpread$
|
|
19328
|
+
return request(_objectSpread$16({}, opts, {
|
|
19246
19329
|
path: pathHealthFundWorkflowExceptions(healthFundId)
|
|
19247
19330
|
}), {
|
|
19248
19331
|
method: 'get',
|
|
@@ -19964,9 +20047,9 @@ var aws = /*#__PURE__*/Object.freeze({
|
|
|
19964
20047
|
uploadKycTrustDocumentToS3: uploadKycTrustDocumentToS3
|
|
19965
20048
|
});
|
|
19966
20049
|
|
|
19967
|
-
function ownKeys$
|
|
20050
|
+
function ownKeys$17(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
19968
20051
|
|
|
19969
|
-
function _objectSpread$
|
|
20052
|
+
function _objectSpread$17(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$17(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$17(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
19970
20053
|
/**
|
|
19971
20054
|
* Get current app version
|
|
19972
20055
|
*/
|
|
@@ -20106,7 +20189,7 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20106
20189
|
break;
|
|
20107
20190
|
}
|
|
20108
20191
|
|
|
20109
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20192
|
+
return _context3.abrupt("return", _objectSpread$17({}, versions, {
|
|
20110
20193
|
requiresUpdate: true,
|
|
20111
20194
|
isForced: true
|
|
20112
20195
|
}));
|
|
@@ -20117,12 +20200,12 @@ var checkAppVersion = /*#__PURE__*/function () {
|
|
|
20117
20200
|
break;
|
|
20118
20201
|
}
|
|
20119
20202
|
|
|
20120
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20203
|
+
return _context3.abrupt("return", _objectSpread$17({}, versions, {
|
|
20121
20204
|
requiresUpdate: true
|
|
20122
20205
|
}));
|
|
20123
20206
|
|
|
20124
20207
|
case 14:
|
|
20125
|
-
return _context3.abrupt("return", _objectSpread$
|
|
20208
|
+
return _context3.abrupt("return", _objectSpread$17({}, versions, {
|
|
20126
20209
|
requiresUpdate: false
|
|
20127
20210
|
}));
|
|
20128
20211
|
|
|
@@ -20148,9 +20231,9 @@ var versions = /*#__PURE__*/Object.freeze({
|
|
|
20148
20231
|
checkAppVersion: checkAppVersion
|
|
20149
20232
|
});
|
|
20150
20233
|
|
|
20151
|
-
function ownKeys$
|
|
20234
|
+
function ownKeys$18(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
20152
20235
|
|
|
20153
|
-
function _objectSpread$
|
|
20236
|
+
function _objectSpread$18(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$18(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$18(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
20154
20237
|
function parseProfessions(_x, _x2) {
|
|
20155
20238
|
return _parseProfessions.apply(this, arguments);
|
|
20156
20239
|
}
|
|
@@ -20194,17 +20277,17 @@ function _parseProfessions() {
|
|
|
20194
20277
|
professionalCategoriesMap = _get(professionalCategoriesResponse, 'items', []).reduce(function (currentProfessionalCategories, professionalCategory) {
|
|
20195
20278
|
var _objectSpread2;
|
|
20196
20279
|
|
|
20197
|
-
return _objectSpread$
|
|
20280
|
+
return _objectSpread$18({}, currentProfessionalCategories, (_objectSpread2 = {}, _objectSpread2[professionalCategory._id] = professionalCategory, _objectSpread2));
|
|
20198
20281
|
}, {});
|
|
20199
20282
|
specialtiesMap = _get(specialtiesResponse, 'items', []).reduce(function (currentSpecialties, professionalCategory) {
|
|
20200
20283
|
var _objectSpread3;
|
|
20201
20284
|
|
|
20202
|
-
return _objectSpread$
|
|
20285
|
+
return _objectSpread$18({}, currentSpecialties, (_objectSpread3 = {}, _objectSpread3[professionalCategory._id] = professionalCategory, _objectSpread3));
|
|
20203
20286
|
}, {});
|
|
20204
20287
|
providerRegistrationTypesMap = _get(providerTypesResponse, 'items', []).reduce(function (currentProviderType, providerType) {
|
|
20205
20288
|
var _objectSpread4;
|
|
20206
20289
|
|
|
20207
|
-
return _objectSpread$
|
|
20290
|
+
return _objectSpread$18({}, currentProviderType, (_objectSpread4 = {}, _objectSpread4[providerType._id] = providerType, _objectSpread4));
|
|
20208
20291
|
}, {});
|
|
20209
20292
|
newProfessions = professions.map(function (registration) {
|
|
20210
20293
|
var professionalCategory = professionalCategoriesMap[registration.professionalCategoryId];
|
|
@@ -20311,9 +20394,9 @@ var applicationUtils = /*#__PURE__*/Object.freeze({
|
|
|
20311
20394
|
getSelfApplicationCached: getSelfApplicationCached
|
|
20312
20395
|
});
|
|
20313
20396
|
|
|
20314
|
-
function ownKeys$
|
|
20397
|
+
function ownKeys$19(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
20315
20398
|
|
|
20316
|
-
function _objectSpread$
|
|
20399
|
+
function _objectSpread$19(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$19(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$19(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
20317
20400
|
var APP_ID = 'web-application';
|
|
20318
20401
|
var API_VER = '0.82.0';
|
|
20319
20402
|
var API_VERSIONS = {
|
|
@@ -20346,7 +20429,7 @@ var _getEnvBaseUrls = function _getEnvBaseUrls(envBaseUrls, _ref) {
|
|
|
20346
20429
|
return Object.keys(envBaseUrls).reduce(function (baseUrls, apiName) {
|
|
20347
20430
|
var _objectSpread2;
|
|
20348
20431
|
|
|
20349
|
-
return _objectSpread$
|
|
20432
|
+
return _objectSpread$19({}, baseUrls, (_objectSpread2 = {}, _objectSpread2[apiName] = envBaseUrls[apiName][region][env], _objectSpread2));
|
|
20350
20433
|
}, {});
|
|
20351
20434
|
};
|
|
20352
20435
|
|
|
@@ -20425,6 +20508,7 @@ var sdk = {
|
|
|
20425
20508
|
professionalCategories: professionalCategories,
|
|
20426
20509
|
providerRequests: providerRequests,
|
|
20427
20510
|
providerRegistrationTypes: providerRegistrationTypes,
|
|
20511
|
+
providerNumberTypes: providerNumberTypes,
|
|
20428
20512
|
providerTypes: providerTypes,
|
|
20429
20513
|
refSources: refSources,
|
|
20430
20514
|
risk: risk,
|
|
@@ -20475,7 +20559,7 @@ var sdk = {
|
|
|
20475
20559
|
this.axios.defaults.headers.post.Accept = CONTENT_TYPE;
|
|
20476
20560
|
}
|
|
20477
20561
|
|
|
20478
|
-
this.setConfig(_objectSpread$
|
|
20562
|
+
this.setConfig(_objectSpread$19({}, opts, {
|
|
20479
20563
|
env: env
|
|
20480
20564
|
}));
|
|
20481
20565
|
this.hasInit = true; // Setup request/response interceptors
|
|
@@ -20705,9 +20789,9 @@ var sdk = {
|
|
|
20705
20789
|
}
|
|
20706
20790
|
};
|
|
20707
20791
|
|
|
20708
|
-
function ownKeys$
|
|
20792
|
+
function ownKeys$1a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
20709
20793
|
|
|
20710
|
-
function _objectSpread$
|
|
20794
|
+
function _objectSpread$1a(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1a(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
20711
20795
|
function parseProviderSet(_x, _x2) {
|
|
20712
20796
|
return _parseProviderSet.apply(this, arguments);
|
|
20713
20797
|
}
|
|
@@ -20808,20 +20892,20 @@ function _parseProviderSet() {
|
|
|
20808
20892
|
fundersMap = fundersResponse.reduce(function (currentFunders, funder) {
|
|
20809
20893
|
var _objectSpread2;
|
|
20810
20894
|
|
|
20811
|
-
return _objectSpread$
|
|
20895
|
+
return _objectSpread$1a({}, currentFunders, (_objectSpread2 = {}, _objectSpread2[funder._id] = funder, _objectSpread2));
|
|
20812
20896
|
}, {});
|
|
20813
20897
|
practicesMap = practicesResponse.reduce(function (currentPractices, practice) {
|
|
20814
20898
|
var _objectSpread3;
|
|
20815
20899
|
|
|
20816
|
-
return _objectSpread$
|
|
20900
|
+
return _objectSpread$1a({}, currentPractices, (_objectSpread3 = {}, _objectSpread3[practice._id] = practice, _objectSpread3));
|
|
20817
20901
|
}, {});
|
|
20818
20902
|
modalitiesMap = modalitiesResponse.reduce(function (currentModalities, modality) {
|
|
20819
20903
|
var _objectSpread4;
|
|
20820
20904
|
|
|
20821
|
-
return _objectSpread$
|
|
20905
|
+
return _objectSpread$1a({}, currentModalities, (_objectSpread4 = {}, _objectSpread4[modality._id] = modality, _objectSpread4));
|
|
20822
20906
|
}, {});
|
|
20823
20907
|
newProviderSet = providerSet.map(function (providerData, i) {
|
|
20824
|
-
return _objectSpread$
|
|
20908
|
+
return _objectSpread$1a({}, providerData, {}, providerRegistrations[i], {
|
|
20825
20909
|
practice: practicesMap[providerData.practiceId],
|
|
20826
20910
|
funder: fundersMap[providerData.funderId],
|
|
20827
20911
|
modality: modalitiesMap[providerData.modalityId]
|
|
@@ -21211,6 +21295,8 @@ exports.getPracticesWithApprovedApplications = getPracticesWithApprovedApplicati
|
|
|
21211
21295
|
exports.getProducts = getProducts;
|
|
21212
21296
|
exports.getProfessionalCategories = getProfessionalCategories;
|
|
21213
21297
|
exports.getProfessionalCategory = getProfessionalCategory;
|
|
21298
|
+
exports.getProviderNumberType = getProviderNumberType;
|
|
21299
|
+
exports.getProviderNumberTypes = getProviderNumberTypes;
|
|
21214
21300
|
exports.getProviderRegistrationType = getProviderRegistrationType;
|
|
21215
21301
|
exports.getProviderRegistrationTypes = getProviderRegistrationTypes;
|
|
21216
21302
|
exports.getProviderSetItemOnboardingApplication = getProviderSetItemOnboardingApplication;
|
|
@@ -21370,6 +21456,8 @@ exports.pathPracticeProfile = pathPracticeProfile;
|
|
|
21370
21456
|
exports.pathProcessingRequests = pathProcessingRequests;
|
|
21371
21457
|
exports.pathProfessionalCategories = pathProfessionalCategories;
|
|
21372
21458
|
exports.pathProfessionalCategory = pathProfessionalCategory;
|
|
21459
|
+
exports.pathProviderNumberType = pathProviderNumberType;
|
|
21460
|
+
exports.pathProviderNumberTypes = pathProviderNumberTypes;
|
|
21373
21461
|
exports.pathProviderSetItemOnboardingApplication = pathProviderSetItemOnboardingApplication;
|
|
21374
21462
|
exports.pathProviderSetItemOnboardingApplications = pathProviderSetItemOnboardingApplications;
|
|
21375
21463
|
exports.pathRequestVerificationSupport = pathRequestVerificationSupport;
|