Built motion from commit 1fa89557.|2.6.10
[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 _0xef5e=['updateOpenchannelInteraction','AddTagsToOpenchannelInteraction','../client','Request'];(function(_0x426006,_0x2e1c73){var _0x55b35a=function(_0x988c2f){while(--_0x988c2f){_0x426006['push'](_0x426006['shift']());}};_0x55b35a(++_0x2e1c73);}(_0xef5e,0xd6));var _0xeef5=function(_0x1a8cf1,_0xa0778d){_0x1a8cf1=_0x1a8cf1-0x0;var _0xe71bc7=_0xef5e[_0x1a8cf1];return _0xe71bc7;};'use strict';var client=require(_0xeef5('0x0'));exports['update']=function(_0x42d1c4,_0xd05851){return client[_0xeef5('0x1')]('UpdateOpenchannelInteraction',{'body':_0xd05851,'options':{'where':{'id':_0x42d1c4}},'log':_0xeef5('0x2')});};exports['addTags']=function(_0x25c12a,_0x17c30c){return client['Request'](_0xeef5('0x3'),{'body':_0x17c30c,'options':{'where':{'id':_0x25c12a}},'log':'addTagsToChatInteraction'});};