@webitel/chat-web-sdk 0.0.16 → 0.0.17
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/dist/index.js
CHANGED
|
@@ -2165,10 +2165,10 @@ function mr(e, { serviceConfig: t, threadId: n }) {
|
|
|
2165
2165
|
//#endregion
|
|
2166
2166
|
//#region src/modules/threads/modules/members/utils/addMember.ts
|
|
2167
2167
|
var hr = (e) => async (t, n) => dr(e).addMember(t, n), gr = ({ axiosInstance: e }) => ({
|
|
2168
|
-
locateVariables: async (t) => r((await e.get(`/v1/threads/${t}/variables`)).data, [A()]),
|
|
2169
|
-
setVariables: async (t, n) => r((await e.post(`/v1/threads/${t}/variables`, n)).data, [A()]),
|
|
2170
|
-
flushVariables: async (t, n) => r((await e.delete(`/v1/threads/${t}/variables/flush`, { data: n })).data, [A()]),
|
|
2171
|
-
searchVariables: async (t) => r((await e.get("/v1/variables", { params: t })).data, [A()])
|
|
2168
|
+
locateVariables: async (t) => r((await e.get(`/v1/threads/${t}/variables`)).data, [A(["variables"])]),
|
|
2169
|
+
setVariables: async (t, n) => r((await e.post(`/v1/threads/${t}/variables`, n)).data, [A(["variables"])]),
|
|
2170
|
+
flushVariables: async (t, n) => r((await e.delete(`/v1/threads/${t}/variables/flush`, { data: n })).data, [A(["variables"])]),
|
|
2171
|
+
searchVariables: async (t) => r((await e.get("/v1/variables", { params: t })).data, [A(["variables"])])
|
|
2172
2172
|
}), _r = (e) => async (t, n) => gr(e).flushVariables(t, n), vr = (e) => async (t) => gr(e).locateVariables(t), yr = (e) => async (t, n) => gr(e).setVariables(t, n), br = class {
|
|
2173
2173
|
_serviceConfig;
|
|
2174
2174
|
_messagesService;
|