Built motion from commit 013e4bb4.|2.6.18
[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 _0xfaed=['Request','UpdateOpenchannelInteraction','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','update'];(function(_0x44ae0b,_0x3e9865){var _0x69232a=function(_0x5ae588){while(--_0x5ae588){_0x44ae0b['push'](_0x44ae0b['shift']());}};_0x69232a(++_0x3e9865);}(_0xfaed,0x8e));var _0xdfae=function(_0x478c8a,_0x9afc92){_0x478c8a=_0x478c8a-0x0;var _0x3b6b3e=_0xfaed[_0x478c8a];return _0x3b6b3e;};'use strict';var client=require(_0xdfae('0x0'));exports[_0xdfae('0x1')]=function(_0x19df8e,_0x5b21cb){return client[_0xdfae('0x2')](_0xdfae('0x3'),{'body':_0x5b21cb,'options':{'where':{'id':_0x19df8e}},'log':'updateOpenchannelInteraction'});};exports['addTags']=function(_0x1fa5d5,_0x142db2){return client[_0xdfae('0x2')](_0xdfae('0x4'),{'body':_0x142db2,'options':{'where':{'id':_0x1fa5d5}},'log':_0xdfae('0x5')});};