Built motion from commit (unavailable).|2.5.4
[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 _0xde76=['Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','../client'];(function(_0x23dac2,_0x503821){var _0x2deffa=function(_0x3e8dbb){while(--_0x3e8dbb){_0x23dac2['push'](_0x23dac2['shift']());}};_0x2deffa(++_0x503821);}(_0xde76,0x18f));var _0x6de7=function(_0x25c3ac,_0x94bbfc){_0x25c3ac=_0x25c3ac-0x0;var _0x15657d=_0xde76[_0x25c3ac];return _0x15657d;};'use strict';var client=require(_0x6de7('0x0'));exports['update']=function(_0x2968e9,_0xedd2e7){return client[_0x6de7('0x1')](_0x6de7('0x2'),{'body':_0xedd2e7,'options':{'where':{'id':_0x2968e9}},'log':'updateOpenchannelInteraction'});};exports[_0x6de7('0x3')]=function(_0x7220a4,_0x1d64f0){return client[_0x6de7('0x1')](_0x6de7('0x4'),{'body':_0x1d64f0,'options':{'where':{'id':_0x7220a4}},'log':'addTagsToChatInteraction'});};