@webitel/api-services 26.10.1 → 26.12.1
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
|
@@ -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
|
]),
|