Built motion from commit 4e7c323b.|2.5.34
[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 _0xfcbb=['update','UpdateMailInteraction','updateMailInteraction','addTags','addTagsToChatInteraction','../client'];(function(_0x278bd6,_0x502330){var _0x3cb9b6=function(_0x596caa){while(--_0x596caa){_0x278bd6['push'](_0x278bd6['shift']());}};_0x3cb9b6(++_0x502330);}(_0xfcbb,0x10d));var _0xbfcb=function(_0x55fbe9,_0x4b250f){_0x55fbe9=_0x55fbe9-0x0;var _0x2b2a4f=_0xfcbb[_0x55fbe9];return _0x2b2a4f;};'use strict';var client=require(_0xbfcb('0x0'));exports[_0xbfcb('0x1')]=function(_0x112f37,_0x5a1002){return client['Request'](_0xbfcb('0x2'),{'body':_0x5a1002,'options':{'where':{'id':_0x112f37}},'log':_0xbfcb('0x3')});};exports[_0xbfcb('0x4')]=function(_0x135741,_0x1d8b50){return client['Request']('AddTagsToMailInteraction',{'body':_0x1d8b50,'options':{'where':{'id':_0x135741}},'log':_0xbfcb('0x5')});};