86aab7fb896d07d1da2f621fd680f56eb4085c80
[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 _0xba78=['../client','update','Request','AddTagsToOpenchannelInteraction','addTagsToChatInteraction'];(function(_0x555d10,_0x1acb29){var _0x45cb8b=function(_0x208c9e){while(--_0x208c9e){_0x555d10['push'](_0x555d10['shift']());}};_0x45cb8b(++_0x1acb29);}(_0xba78,0x16d));var _0x8ba7=function(_0x24adb5,_0x3c1e77){_0x24adb5=_0x24adb5-0x0;var _0x48dfbf=_0xba78[_0x24adb5];return _0x48dfbf;};'use strict';var client=require(_0x8ba7('0x0'));exports[_0x8ba7('0x1')]=function(_0x1861e5,_0x404a89){return client[_0x8ba7('0x2')]('UpdateOpenchannelInteraction',{'body':_0x404a89,'options':{'where':{'id':_0x1861e5}},'log':'updateOpenchannelInteraction'});};exports['addTags']=function(_0x100318,_0x36d99e){return client['Request'](_0x8ba7('0x3'),{'body':_0x36d99e,'options':{'where':{'id':_0x100318}},'log':_0x8ba7('0x4')});};