Built motion from commit fe909640.|2.6.8
[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 _0x3383=['addTags','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','Request','updateOpenchannelInteraction'];(function(_0xd44fe0,_0x30ff30){var _0x436ac4=function(_0x3ea35d){while(--_0x3ea35d){_0xd44fe0['push'](_0xd44fe0['shift']());}};_0x436ac4(++_0x30ff30);}(_0x3383,0x1e3));var _0x3338=function(_0x15c7c6,_0x306aa2){_0x15c7c6=_0x15c7c6-0x0;var _0x5a9915=_0x3383[_0x15c7c6];return _0x5a9915;};'use strict';var client=require(_0x3338('0x0'));exports['update']=function(_0x4521dd,_0x5a4419){return client[_0x3338('0x1')]('UpdateOpenchannelInteraction',{'body':_0x5a4419,'options':{'where':{'id':_0x4521dd}},'log':_0x3338('0x2')});};exports[_0x3338('0x3')]=function(_0x23ae57,_0x4321ef){return client[_0x3338('0x1')](_0x3338('0x4'),{'body':_0x4321ef,'options':{'where':{'id':_0x23ae57}},'log':_0x3338('0x5')});};