oro-sdk-apis 3.3.1 → 3.4.0
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/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
package/dist/oro-sdk-apis.esm.js
CHANGED
@@ -2242,25 +2242,31 @@ var TellerService = /*#__PURE__*/function () {
|
|
2242
2242
|
}
|
2243
2243
|
var _proto = TellerService.prototype;
|
2244
2244
|
_proto.lockboxDataStore = /*#__PURE__*/function () {
|
2245
|
-
var _lockboxDataStore = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(lockboxUuid, req, lockboxOwnerUuid, previousDataUuid) {
|
2245
|
+
var _lockboxDataStore = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(lockboxUuid, req, lockboxOwnerUuid, previousDataUuid, options) {
|
2246
2246
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
2247
2247
|
while (1) {
|
2248
2248
|
switch (_context.prev = _context.next) {
|
2249
2249
|
case 0:
|
2250
|
+
if (options === void 0) {
|
2251
|
+
options = {
|
2252
|
+
updateMedicalStatus: true
|
2253
|
+
};
|
2254
|
+
}
|
2250
2255
|
return _context.abrupt("return", this.api.post(this.baseURL + "/v1/lockboxes/" + lockboxUuid + "/data", req, {
|
2251
2256
|
params: {
|
2252
2257
|
lockbox_owner_uuid: lockboxOwnerUuid,
|
2253
|
-
data_uuid: previousDataUuid
|
2258
|
+
data_uuid: previousDataUuid,
|
2259
|
+
update_medical_status: options.updateMedicalStatus
|
2254
2260
|
}
|
2255
2261
|
}));
|
2256
|
-
case
|
2262
|
+
case 2:
|
2257
2263
|
case "end":
|
2258
2264
|
return _context.stop();
|
2259
2265
|
}
|
2260
2266
|
}
|
2261
2267
|
}, _callee, this);
|
2262
2268
|
}));
|
2263
|
-
function lockboxDataStore(_x, _x2, _x3, _x4) {
|
2269
|
+
function lockboxDataStore(_x, _x2, _x3, _x4, _x5) {
|
2264
2270
|
return _lockboxDataStore.apply(this, arguments);
|
2265
2271
|
}
|
2266
2272
|
return lockboxDataStore;
|