@webitel/ui-sdk 25.6.32 → 25.6.33
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/ui-sdk",
|
|
3
|
-
"version": "25.6.
|
|
3
|
+
"version": "25.6.33",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npm run docs:dev",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"vue-multiselect": "^3.1.0",
|
|
116
116
|
"vue-observe-visibility": "^2.0.0-alpha.1",
|
|
117
117
|
"vue-router": "^4.5.0",
|
|
118
|
-
"webitel-sdk": "^25.4
|
|
118
|
+
"webitel-sdk": "^25.5.4",
|
|
119
119
|
"xlsx": "0.18.5",
|
|
120
120
|
"zod": "^3.25.55"
|
|
121
121
|
},
|
|
@@ -103,12 +103,12 @@ const addStaticContactGroup = async ({ itemInstance }) => {
|
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
|
|
106
|
-
const
|
|
106
|
+
const addContactsToGroups = async ({ contactIds, groupIds }) => {
|
|
107
107
|
try {
|
|
108
|
-
const response = await contactGroupsService.
|
|
109
|
-
|
|
108
|
+
const response = await contactGroupsService.addContactsToGroups({
|
|
109
|
+
groupIds,
|
|
110
110
|
contactIds,
|
|
111
|
-
);
|
|
111
|
+
});
|
|
112
112
|
return applyTransform(response.data, [snakeToCamel()]);
|
|
113
113
|
} catch (err) {
|
|
114
114
|
throw applyTransform(err, [notify]);
|
|
@@ -178,7 +178,7 @@ const ContactGroupsAPI = {
|
|
|
178
178
|
patch: patchStaticContactGroup,
|
|
179
179
|
delete: deleteStaticContactGroup,
|
|
180
180
|
getLookup,
|
|
181
|
-
|
|
181
|
+
addContactsToGroups,
|
|
182
182
|
removeContactsFromGroup,
|
|
183
183
|
|
|
184
184
|
...generatePermissionsApi(baseUrl),
|