fce4ee3923332ebb14b7cde741de4da6bca9b80f
[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 _0xe180=['Request','addTags','AddTagsToMailInteraction','addTagsToChatInteraction','update'];(function(_0x369e14,_0xe00dfc){var _0x50b825=function(_0x2f8245){while(--_0x2f8245){_0x369e14['push'](_0x369e14['shift']());}};_0x50b825(++_0xe00dfc);}(_0xe180,0xc7));var _0x0e18=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xe180[_0x2c91e9];return _0x13f0ff;};'use strict';var client=require('../client');exports[_0x0e18('0x0')]=function(_0x396b0f,_0x44318e){return client[_0x0e18('0x1')]('UpdateMailInteraction',{'body':_0x44318e,'options':{'where':{'id':_0x396b0f}},'log':'updateMailInteraction'});};exports[_0x0e18('0x2')]=function(_0x3e4375,_0x17ba8d){return client['Request'](_0x0e18('0x3'),{'body':_0x17ba8d,'options':{'where':{'id':_0x3e4375}},'log':_0x0e18('0x4')});};