ce742d1673eca46a5360a6b067eda67c49e8f388
[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 _0xd1c9=['Request','AddTagsToMailInteraction','addTagsToChatInteraction','../client','update','UpdateMailInteraction','updateMailInteraction','addTags'];(function(_0x3ab47f,_0x441b32){var _0x1221fe=function(_0x5176b6){while(--_0x5176b6){_0x3ab47f['push'](_0x3ab47f['shift']());}};_0x1221fe(++_0x441b32);}(_0xd1c9,0x103));var _0x9d1c=function(_0x547add,_0x387042){_0x547add=_0x547add-0x0;var _0x2ed1f3=_0xd1c9[_0x547add];return _0x2ed1f3;};'use strict';var client=require(_0x9d1c('0x0'));exports[_0x9d1c('0x1')]=function(_0x348fc2,_0x54702d){return client['Request'](_0x9d1c('0x2'),{'body':_0x54702d,'options':{'where':{'id':_0x348fc2}},'log':_0x9d1c('0x3')});};exports[_0x9d1c('0x4')]=function(_0xffeb4b,_0x23c95e){return client[_0x9d1c('0x5')](_0x9d1c('0x6'),{'body':_0x23c95e,'options':{'where':{'id':_0xffeb4b}},'log':_0x9d1c('0x7')});};