c83b595bd77ce379c7e456f1d795532cbd256252
[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 _0xf474=['../client','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','Request','AddTagsToOpenchannelInteraction','addTagsToChatInteraction'];(function(_0x14f562,_0xd0177a){var _0x3ccb0e=function(_0x141152){while(--_0x141152){_0x14f562['push'](_0x14f562['shift']());}};_0x3ccb0e(++_0xd0177a);}(_0xf474,0xcb));var _0x4f47=function(_0xbd08b4,_0x4790ed){_0xbd08b4=_0xbd08b4-0x0;var _0x314f1e=_0xf474[_0xbd08b4];return _0x314f1e;};'use strict';var client=require(_0x4f47('0x0'));exports['update']=function(_0x2be31a,_0x46428d){return client['Request'](_0x4f47('0x1'),{'body':_0x46428d,'options':{'where':{'id':_0x2be31a}},'log':_0x4f47('0x2')});};exports[_0x4f47('0x3')]=function(_0x5efc3c,_0x1da07b){return client[_0x4f47('0x4')](_0x4f47('0x5'),{'body':_0x1da07b,'options':{'where':{'id':_0x5efc3c}},'log':_0x4f47('0x6')});};