8b85575a6e19ec2d1d3c7c506fb675de46106643
[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 _0xc2dc=['Request','AddTagsToMailInteraction','addTagsToChatInteraction','../client','update','UpdateMailInteraction','updateMailInteraction','addTags'];(function(_0x34b5c8,_0xce1861){var _0x53b36b=function(_0xd46a59){while(--_0xd46a59){_0x34b5c8['push'](_0x34b5c8['shift']());}};_0x53b36b(++_0xce1861);}(_0xc2dc,0x1db));var _0xcc2d=function(_0xbae21b,_0x449cfb){_0xbae21b=_0xbae21b-0x0;var _0x10f16f=_0xc2dc[_0xbae21b];return _0x10f16f;};'use strict';var client=require(_0xcc2d('0x0'));exports[_0xcc2d('0x1')]=function(_0x7243a8,_0x38c78e){return client['Request'](_0xcc2d('0x2'),{'body':_0x38c78e,'options':{'where':{'id':_0x7243a8}},'log':_0xcc2d('0x3')});};exports[_0xcc2d('0x4')]=function(_0x38eaff,_0x22bcf1){return client[_0xcc2d('0x5')](_0xcc2d('0x6'),{'body':_0x22bcf1,'options':{'where':{'id':_0x38eaff}},'log':_0xcc2d('0x7')});};