e1ab69491f97215b6c0a5366835eacaa2d378157
[motion2.git] / server / services / routing / rpc / openchannelInteraction.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x6203=['update','Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','../client'];(function(_0x39df1d,_0x48c2ed){var _0x1888ee=function(_0x2d6b98){while(--_0x2d6b98){_0x39df1d['push'](_0x39df1d['shift']());}};_0x1888ee(++_0x48c2ed);}(_0x6203,0xad));var _0x3620=function(_0x3ba438,_0x276e90){_0x3ba438=_0x3ba438-0x0;var _0x4d6677=_0x6203[_0x3ba438];return _0x4d6677;};'use strict';var client=require(_0x3620('0x0'));exports[_0x3620('0x1')]=function(_0x4f4edd,_0x46ea44){return client[_0x3620('0x2')](_0x3620('0x3'),{'body':_0x46ea44,'options':{'where':{'id':_0x4f4edd}},'log':'updateOpenchannelInteraction'});};exports[_0x3620('0x4')]=function(_0x4521fe,_0x452d83){return client[_0x3620('0x2')](_0x3620('0x5'),{'body':_0x452d83,'options':{'where':{'id':_0x4521fe}},'log':'addTagsToChatInteraction'});};