765d203be8e364684f735e58f948d9e5e8f20e22
[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 _0xbd4a=['update','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','../client'];(function(_0x313241,_0x9c1b27){var _0x18dd4b=function(_0x479e7d){while(--_0x479e7d){_0x313241['push'](_0x313241['shift']());}};_0x18dd4b(++_0x9c1b27);}(_0xbd4a,0x71));var _0xabd4=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xbd4a[_0x17d9e3];return _0x14192d;};'use strict';var client=require(_0xabd4('0x0'));exports[_0xabd4('0x1')]=function(_0x70b86a,_0x336a71){return client[_0xabd4('0x2')](_0xabd4('0x3'),{'body':_0x336a71,'options':{'where':{'id':_0x70b86a}},'log':_0xabd4('0x4')});};exports[_0xabd4('0x5')]=function(_0x8583db,_0x46503e){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0x46503e,'options':{'where':{'id':_0x8583db}},'log':'addTagsToChatInteraction'});};