3dfeb1b095960fda6f676c9cf42e28a8139ec2f8
[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 _0x3b56=['addTags','../client','update','Request','updateOpenchannelInteraction'];(function(_0x2d34d6,_0x397ff9){var _0x1d3d12=function(_0x558800){while(--_0x558800){_0x2d34d6['push'](_0x2d34d6['shift']());}};_0x1d3d12(++_0x397ff9);}(_0x3b56,0xd3));var _0x63b5=function(_0x328e36,_0x201b36){_0x328e36=_0x328e36-0x0;var _0x4a9a9d=_0x3b56[_0x328e36];return _0x4a9a9d;};'use strict';var client=require(_0x63b5('0x0'));exports[_0x63b5('0x1')]=function(_0x4c1e91,_0x1a5930){return client[_0x63b5('0x2')]('UpdateOpenchannelInteraction',{'body':_0x1a5930,'options':{'where':{'id':_0x4c1e91}},'log':_0x63b5('0x3')});};exports[_0x63b5('0x4')]=function(_0x2d110c,_0x15ba16){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0x15ba16,'options':{'where':{'id':_0x2d110c}},'log':'addTagsToChatInteraction'});};