7d17f60770977df3a38319ed58b0a062ae34b244
[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 _0xd304=['Request','UpdateOpenchannelInteraction','addTags','addTagsToChatInteraction','../client','update'];(function(_0x6b1e6a,_0x15f84a){var _0x4e65bc=function(_0x5e34f5){while(--_0x5e34f5){_0x6b1e6a['push'](_0x6b1e6a['shift']());}};_0x4e65bc(++_0x15f84a);}(_0xd304,0x178));var _0x4d30=function(_0x4c0832,_0x56bc84){_0x4c0832=_0x4c0832-0x0;var _0x252b5e=_0xd304[_0x4c0832];return _0x252b5e;};'use strict';var client=require(_0x4d30('0x0'));exports[_0x4d30('0x1')]=function(_0x43bb92,_0x13c88c){return client[_0x4d30('0x2')](_0x4d30('0x3'),{'body':_0x13c88c,'options':{'where':{'id':_0x43bb92}},'log':'updateOpenchannelInteraction'});};exports[_0x4d30('0x4')]=function(_0x47a824,_0x346b6b){return client[_0x4d30('0x2')]('AddTagsToOpenchannelInteraction',{'body':_0x346b6b,'options':{'where':{'id':_0x47a824}},'log':_0x4d30('0x5')});};