@webitel/api-services 26.8.92 → 26.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/api-services",
3
- "version": "26.8.92",
3
+ "version": "26.10.2",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -104,6 +104,7 @@ const itemResponseHandler = (response: ApiParams) => {
104
104
  const communications = mapDefaultCommunications(copy);
105
105
  return {
106
106
  ...response,
107
+ priority: copy.priority ?? 0,
107
108
  variables,
108
109
  communications,
109
110
  };
@@ -114,6 +115,7 @@ const getMembersList = async (params: ApiParams) => {
114
115
  const copy = deepCopy(items);
115
116
  return copy.map((item: ApiParams) => ({
116
117
  ...item,
118
+ priority: item.priority ?? 0,
117
119
  communications: applyTransform(item, [
118
120
  mapDefaultCommunications,
119
121
  ]),