3320afa7393b773a0cf617f78084529b0251a028
[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 _0x3bc1=['UpdateMailInteraction','AddTagsToMailInteraction','../client','update','Request'];(function(_0x1762b4,_0x33d836){var _0x29beda=function(_0x31c2fa){while(--_0x31c2fa){_0x1762b4['push'](_0x1762b4['shift']());}};_0x29beda(++_0x33d836);}(_0x3bc1,0x7a));var _0x13bc=function(_0x22dcb7,_0x124a13){_0x22dcb7=_0x22dcb7-0x0;var _0x385622=_0x3bc1[_0x22dcb7];return _0x385622;};'use strict';var client=require(_0x13bc('0x0'));exports[_0x13bc('0x1')]=function(_0x6f611d,_0x71382){return client[_0x13bc('0x2')](_0x13bc('0x3'),{'body':_0x71382,'options':{'where':{'id':_0x6f611d}},'log':'updateMailInteraction'});};exports['addTags']=function(_0xb7c44,_0x565284){return client[_0x13bc('0x2')](_0x13bc('0x4'),{'body':_0x565284,'options':{'where':{'id':_0xb7c44}},'log':'addTagsToChatInteraction'});};