Built motion from commit (unavailable).|2.5.1
[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 _0xffde=['UpdateOpenchannelInteraction','updateOpenchannelInteraction','AddTagsToOpenchannelInteraction','../client','Request'];(function(_0x591a19,_0x246554){var _0x2f6a5d=function(_0x4d78ef){while(--_0x4d78ef){_0x591a19['push'](_0x591a19['shift']());}};_0x2f6a5d(++_0x246554);}(_0xffde,0x152));var _0xeffd=function(_0x2d875b,_0x2e2a84){_0x2d875b=_0x2d875b-0x0;var _0x154413=_0xffde[_0x2d875b];return _0x154413;};'use strict';var client=require(_0xeffd('0x0'));exports['update']=function(_0x3fc324,_0x2a1724){return client[_0xeffd('0x1')](_0xeffd('0x2'),{'body':_0x2a1724,'options':{'where':{'id':_0x3fc324}},'log':_0xeffd('0x3')});};exports['addTags']=function(_0x1195a7,_0x1a214e){return client['Request'](_0xeffd('0x4'),{'body':_0x1a214e,'options':{'where':{'id':_0x1195a7}},'log':'addTagsToChatInteraction'});};