ad0fa8b1f71d3b8fd7a3329c849e7f732573807d
[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 _0x6c03=['addTagsToChatInteraction','../client','update','Request','UpdateMailInteraction','addTags','AddTagsToMailInteraction'];(function(_0x3ff0a7,_0x210e0a){var _0xff5104=function(_0x11c2bd){while(--_0x11c2bd){_0x3ff0a7['push'](_0x3ff0a7['shift']());}};_0xff5104(++_0x210e0a);}(_0x6c03,0x1a5));var _0x36c0=function(_0x3013ff,_0x4926c8){_0x3013ff=_0x3013ff-0x0;var _0x2d2c58=_0x6c03[_0x3013ff];return _0x2d2c58;};'use strict';var client=require(_0x36c0('0x0'));exports[_0x36c0('0x1')]=function(_0x3c1e9d,_0x81d856){return client[_0x36c0('0x2')](_0x36c0('0x3'),{'body':_0x81d856,'options':{'where':{'id':_0x3c1e9d}},'log':'updateMailInteraction'});};exports[_0x36c0('0x4')]=function(_0x50812e,_0x40131a){return client['Request'](_0x36c0('0x5'),{'body':_0x40131a,'options':{'where':{'id':_0x50812e}},'log':_0x36c0('0x6')});};