57fa1319096cb6aa90b3e658cec8138a217b98d5
[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 _0x2542=['AddTagsToMailInteraction','../client','update','UpdateMailInteraction','addTags','Request'];(function(_0x1a3fdc,_0x2ce5a7){var _0x5dbe5f=function(_0x1ae876){while(--_0x1ae876){_0x1a3fdc['push'](_0x1a3fdc['shift']());}};_0x5dbe5f(++_0x2ce5a7);}(_0x2542,0x169));var _0x2254=function(_0x1e37e8,_0x18a60c){_0x1e37e8=_0x1e37e8-0x0;var _0x494689=_0x2542[_0x1e37e8];return _0x494689;};'use strict';var client=require(_0x2254('0x0'));exports[_0x2254('0x1')]=function(_0x2f3bcd,_0x20dfee){return client['Request'](_0x2254('0x2'),{'body':_0x20dfee,'options':{'where':{'id':_0x2f3bcd}},'log':'updateMailInteraction'});};exports[_0x2254('0x3')]=function(_0x3b3dcb,_0x27f5c9){return client[_0x2254('0x4')](_0x2254('0x5'),{'body':_0x27f5c9,'options':{'where':{'id':_0x3b3dcb}},'log':'addTagsToChatInteraction'});};