oro-sdk-apis 3.3.1 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/oro-sdk-apis.cjs.development.js +10 -4
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +10 -4
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/teller.d.ts +3 -1
- package/package.json +1 -1
- package/src/services/teller.ts +6 -2
@@ -2199,25 +2199,31 @@ var TellerService = /*#__PURE__*/function () {
|
|
2199
2199
|
}
|
2200
2200
|
var _proto = TellerService.prototype;
|
2201
2201
|
_proto.lockboxDataStore = /*#__PURE__*/function () {
|
2202
|
-
var _lockboxDataStore = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(lockboxUuid, req, lockboxOwnerUuid, previousDataUuid) {
|
2202
|
+
var _lockboxDataStore = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(lockboxUuid, req, lockboxOwnerUuid, previousDataUuid, options) {
|
2203
2203
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
2204
2204
|
while (1) {
|
2205
2205
|
switch (_context.prev = _context.next) {
|
2206
2206
|
case 0:
|
2207
|
+
if (options === void 0) {
|
2208
|
+
options = {
|
2209
|
+
updateMedicalStatus: true
|
2210
|
+
};
|
2211
|
+
}
|
2207
2212
|
return _context.abrupt("return", this.api.post(this.baseURL + "/v1/lockboxes/" + lockboxUuid + "/data", req, {
|
2208
2213
|
params: {
|
2209
2214
|
lockbox_owner_uuid: lockboxOwnerUuid,
|
2210
|
-
data_uuid: previousDataUuid
|
2215
|
+
data_uuid: previousDataUuid,
|
2216
|
+
update_medical_status: options.updateMedicalStatus
|
2211
2217
|
}
|
2212
2218
|
}));
|
2213
|
-
case
|
2219
|
+
case 2:
|
2214
2220
|
case "end":
|
2215
2221
|
return _context.stop();
|
2216
2222
|
}
|
2217
2223
|
}
|
2218
2224
|
}, _callee, this);
|
2219
2225
|
}));
|
2220
|
-
function lockboxDataStore(_x, _x2, _x3, _x4) {
|
2226
|
+
function lockboxDataStore(_x, _x2, _x3, _x4, _x5) {
|
2221
2227
|
return _lockboxDataStore.apply(this, arguments);
|
2222
2228
|
}
|
2223
2229
|
return lockboxDataStore;
|