058452da133706d706884056395e1b2f360b2f20
[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 _0x7bc8=['../client','update','UpdateMailInteraction','updateMailInteraction','addTags','Request','AddTagsToMailInteraction','addTagsToChatInteraction'];(function(_0x3de8a4,_0x289a5c){var _0x4635cf=function(_0x2bddb8){while(--_0x2bddb8){_0x3de8a4['push'](_0x3de8a4['shift']());}};_0x4635cf(++_0x289a5c);}(_0x7bc8,0xa8));var _0x87bc=function(_0xe449bb,_0x515c55){_0xe449bb=_0xe449bb-0x0;var _0x3272d1=_0x7bc8[_0xe449bb];return _0x3272d1;};'use strict';var client=require(_0x87bc('0x0'));exports[_0x87bc('0x1')]=function(_0x3fadb3,_0x3397b5){return client['Request'](_0x87bc('0x2'),{'body':_0x3397b5,'options':{'where':{'id':_0x3fadb3}},'log':_0x87bc('0x3')});};exports[_0x87bc('0x4')]=function(_0x3047e5,_0x4af538){return client[_0x87bc('0x5')](_0x87bc('0x6'),{'body':_0x4af538,'options':{'where':{'id':_0x3047e5}},'log':_0x87bc('0x7')});};