d8723d1e41ebfcb3569cbeecb82f1288bb827918
[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 _0xdbf9=['addTagsToChatInteraction','update','Request','UpdateMailInteraction','updateMailInteraction','addTags','AddTagsToMailInteraction'];(function(_0x1b4002,_0x5b4094){var _0x1716f3=function(_0x47cfd1){while(--_0x47cfd1){_0x1b4002['push'](_0x1b4002['shift']());}};_0x1716f3(++_0x5b4094);}(_0xdbf9,0xfd));var _0x9dbf=function(_0x24237f,_0x4cf32c){_0x24237f=_0x24237f-0x0;var _0x48298e=_0xdbf9[_0x24237f];return _0x48298e;};'use strict';var client=require('../client');exports[_0x9dbf('0x0')]=function(_0x1ea806,_0x4d0712){return client[_0x9dbf('0x1')](_0x9dbf('0x2'),{'body':_0x4d0712,'options':{'where':{'id':_0x1ea806}},'log':_0x9dbf('0x3')});};exports[_0x9dbf('0x4')]=function(_0x4d9d6e,_0x95a06e){return client['Request'](_0x9dbf('0x5'),{'body':_0x95a06e,'options':{'where':{'id':_0x4d9d6e}},'log':_0x9dbf('0x6')});};