c545790cf05945383dd60caf50b94cd767c2027b
[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 _0x04be=['updateOpenchannelInteraction','addTags','../client','update','Request','UpdateOpenchannelInteraction'];(function(_0x5de009,_0x460e12){var _0x52ef1a=function(_0x181087){while(--_0x181087){_0x5de009['push'](_0x5de009['shift']());}};_0x52ef1a(++_0x460e12);}(_0x04be,0x1ca));var _0xe04b=function(_0x1058bb,_0x49ec71){_0x1058bb=_0x1058bb-0x0;var _0x5577f6=_0x04be[_0x1058bb];return _0x5577f6;};'use strict';var client=require(_0xe04b('0x0'));exports[_0xe04b('0x1')]=function(_0x41c300,_0x1cf3e4){return client[_0xe04b('0x2')](_0xe04b('0x3'),{'body':_0x1cf3e4,'options':{'where':{'id':_0x41c300}},'log':_0xe04b('0x4')});};exports[_0xe04b('0x5')]=function(_0x330dc9,_0x39abe3){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0x39abe3,'options':{'where':{'id':_0x330dc9}},'log':'addTagsToChatInteraction'});};