4041441094fbb4e789b8c2471ad66f81a09ed831
[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 _0x123f=['addTags','AddTagsToMailInteraction','addTagsToChatInteraction','../client','update','Request','UpdateMailInteraction'];(function(_0x30ae5e,_0x391fc4){var _0x1f2e93=function(_0x60307d){while(--_0x60307d){_0x30ae5e['push'](_0x30ae5e['shift']());}};_0x1f2e93(++_0x391fc4);}(_0x123f,0x1c3));var _0xf123=function(_0x375126,_0x514a8e){_0x375126=_0x375126-0x0;var _0x1f76bb=_0x123f[_0x375126];return _0x1f76bb;};'use strict';var client=require(_0xf123('0x0'));exports[_0xf123('0x1')]=function(_0x56b027,_0x221e0b){return client[_0xf123('0x2')](_0xf123('0x3'),{'body':_0x221e0b,'options':{'where':{'id':_0x56b027}},'log':'updateMailInteraction'});};exports[_0xf123('0x4')]=function(_0xbdfe95,_0x5b3888){return client[_0xf123('0x2')](_0xf123('0x5'),{'body':_0x5b3888,'options':{'where':{'id':_0xbdfe95}},'log':_0xf123('0x6')});};