e6123d5844d9a1c02f4278540c71cd02c07ad20a
[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 _0xd1f5=['updateOpenchannelInteraction','addTags','../client','UpdateOpenchannelInteraction'];(function(_0x2cf67d,_0xcd8677){var _0x5132ae=function(_0x378ae5){while(--_0x378ae5){_0x2cf67d['push'](_0x2cf67d['shift']());}};_0x5132ae(++_0xcd8677);}(_0xd1f5,0x1de));var _0x5d1f=function(_0x55f6ac,_0x289e1f){_0x55f6ac=_0x55f6ac-0x0;var _0x2c8148=_0xd1f5[_0x55f6ac];return _0x2c8148;};'use strict';var client=require(_0x5d1f('0x0'));exports['update']=function(_0x28b84c,_0x3caa89){return client['Request'](_0x5d1f('0x1'),{'body':_0x3caa89,'options':{'where':{'id':_0x28b84c}},'log':_0x5d1f('0x2')});};exports[_0x5d1f('0x3')]=function(_0x4bab34,_0x425e1b){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0x425e1b,'options':{'where':{'id':_0x4bab34}},'log':'addTagsToChatInteraction'});};