@webitel/ui-sdk 25.8.69 → 25.8.71
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 +1 -1
- package/src/api/clients/roles/roles.ts +7 -3
- package/src/locale/en/en.js +1 -1
- package/src/locale/es/es.js +1 -1
- package/src/locale/kz/kz.js +1 -1
- package/src/locale/pl/pl.js +1 -1
- package/src/locale/ro/ro.js +1 -1
- package/src/locale/ru/ru.js +1 -1
- package/src/locale/uk/uk.js +1 -1
- package/src/locale/uz/uz.js +1 -1
- package/src/locale/vi/vi.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "25.8.
|
|
3
|
+
"version": "25.8.71",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
|
|
@@ -90,7 +90,7 @@ const getRole = async ({ itemId: id }) => {
|
|
|
90
90
|
try {
|
|
91
91
|
const response = await rolesApiFactory.readRole(id, fieldsToSend);
|
|
92
92
|
return applyTransform(response.data, [
|
|
93
|
-
snakeToCamel(),
|
|
93
|
+
// snakeToCamel(), // prevent role "access" custom lookups from being converted to camelCase
|
|
94
94
|
merge(defaultObject),
|
|
95
95
|
itemResponseHandler,
|
|
96
96
|
]);
|
|
@@ -107,7 +107,9 @@ const addRole = async ({ itemInstance }) => {
|
|
|
107
107
|
]);
|
|
108
108
|
try {
|
|
109
109
|
const response = await rolesApiFactory.createRole(item);
|
|
110
|
-
return applyTransform(response.data, [
|
|
110
|
+
return applyTransform(response.data, [
|
|
111
|
+
// snakeToCamel(), // prevent role "access" custom lookups from being converted to camelCase
|
|
112
|
+
]);
|
|
111
113
|
} catch (err) {
|
|
112
114
|
throw applyTransform(err, [notify]);
|
|
113
115
|
}
|
|
@@ -122,7 +124,9 @@ const updateRole = async ({ itemInstance, itemId: id }) => {
|
|
|
122
124
|
|
|
123
125
|
try {
|
|
124
126
|
const response = await rolesApiFactory.updateRole(id, item);
|
|
125
|
-
return applyTransform(response.data, [
|
|
127
|
+
return applyTransform(response.data, [
|
|
128
|
+
// snakeToCamel(), // prevent role "access" custom lookups from being converted to camelCase
|
|
129
|
+
]);
|
|
126
130
|
} catch (err) {
|
|
127
131
|
throw applyTransform(err, [notify]);
|
|
128
132
|
}
|
package/src/locale/en/en.js
CHANGED
package/src/locale/es/es.js
CHANGED
package/src/locale/kz/kz.js
CHANGED
package/src/locale/pl/pl.js
CHANGED
package/src/locale/ro/ro.js
CHANGED
package/src/locale/ru/ru.js
CHANGED
package/src/locale/uk/uk.js
CHANGED
package/src/locale/uz/uz.js
CHANGED
package/src/locale/vi/vi.js
CHANGED