c34d87968cfc0da7175faab8ebb7d39ee5e7f937
[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 _0x0830=['../client','Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','addTagsToChatInteraction'];(function(_0x1499b1,_0x34984e){var _0x42a777=function(_0x72264e){while(--_0x72264e){_0x1499b1['push'](_0x1499b1['shift']());}};_0x42a777(++_0x34984e);}(_0x0830,0xcc));var _0x0083=function(_0x35b0bf,_0x216f69){_0x35b0bf=_0x35b0bf-0x0;var _0x3c3329=_0x0830[_0x35b0bf];return _0x3c3329;};'use strict';var client=require(_0x0083('0x0'));exports['update']=function(_0xefb280,_0x2b5852){return client[_0x0083('0x1')](_0x0083('0x2'),{'body':_0x2b5852,'options':{'where':{'id':_0xefb280}},'log':'updateOpenchannelInteraction'});};exports[_0x0083('0x3')]=function(_0x5e7cc0,_0x2b9ac7){return client[_0x0083('0x1')](_0x0083('0x4'),{'body':_0x2b9ac7,'options':{'where':{'id':_0x5e7cc0}},'log':_0x0083('0x5')});};