Built motion from commit f7863d46.|2.5.41
[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 _0xd946=['addTagsToChatInteraction','../client','Request','AddTagsToOpenchannelInteraction'];(function(_0x482bcd,_0x385029){var _0x11c22e=function(_0x159954){while(--_0x159954){_0x482bcd['push'](_0x482bcd['shift']());}};_0x11c22e(++_0x385029);}(_0xd946,0x181));var _0x6d94=function(_0x1fdea8,_0xee25d0){_0x1fdea8=_0x1fdea8-0x0;var _0x21c945=_0xd946[_0x1fdea8];return _0x21c945;};'use strict';var client=require(_0x6d94('0x0'));exports['update']=function(_0x46a6b3,_0x5d3a04){return client[_0x6d94('0x1')]('UpdateOpenchannelInteraction',{'body':_0x5d3a04,'options':{'where':{'id':_0x46a6b3}},'log':'updateOpenchannelInteraction'});};exports['addTags']=function(_0x2138e3,_0x4eb6a0){return client['Request'](_0x6d94('0x2'),{'body':_0x4eb6a0,'options':{'where':{'id':_0x2138e3}},'log':_0x6d94('0x3')});};