shuttlepro-shared 1.4.47 → 1.4.49

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.
@@ -109,6 +109,13 @@ class CallRepository {
109
109
  );
110
110
  }
111
111
 
112
+ getCallByFilter(filter) {
113
+ return this._safeExec(
114
+ Call.findOne({ filter }).lean().exec(),
115
+ `Failed to get call filter`
116
+ );
117
+ }
118
+
112
119
  endCall(callId, updateObj = {}, history = {}) {
113
120
  return this._safeExec(
114
121
  Call.findOneAndUpdate(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.4.47",
3
+ "version": "1.4.49",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {