2e043d889f15c377f3b8e162ae6bd0469174716f
[motion2.git] / server / services / routing / rpc / mailInteraction.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 _0xbcd8=['updateMailInteraction','addTags','AddTagsToMailInteraction','addTagsToChatInteraction','../client','Request'];(function(_0x256684,_0x529c1e){var _0x37a0c9=function(_0x4b431b){while(--_0x4b431b){_0x256684['push'](_0x256684['shift']());}};_0x37a0c9(++_0x529c1e);}(_0xbcd8,0x88));var _0x8bcd=function(_0x32f26d,_0x2c0b5d){_0x32f26d=_0x32f26d-0x0;var _0x5d9ddc=_0xbcd8[_0x32f26d];return _0x5d9ddc;};'use strict';var client=require(_0x8bcd('0x0'));exports['update']=function(_0x3fad9d,_0x1eee52){return client[_0x8bcd('0x1')]('UpdateMailInteraction',{'body':_0x1eee52,'options':{'where':{'id':_0x3fad9d}},'log':_0x8bcd('0x2')});};exports[_0x8bcd('0x3')]=function(_0x5a56d0,_0x1f1738){return client[_0x8bcd('0x1')](_0x8bcd('0x4'),{'body':_0x1f1738,'options':{'where':{'id':_0x5a56d0}},'log':_0x8bcd('0x5')});};