Built motion from commit (unavailable).|2.3.5
[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 _0x0137=['AddTagsToMailInteraction','addTagsToChatInteraction','../client','Request','UpdateMailInteraction','updateMailInteraction'];(function(_0x43e511,_0x3fb744){var _0x584864=function(_0x58f34f){while(--_0x58f34f){_0x43e511['push'](_0x43e511['shift']());}};_0x584864(++_0x3fb744);}(_0x0137,0xa4));var _0x7013=function(_0x372433,_0xb55d02){_0x372433=_0x372433-0x0;var _0x375ac3=_0x0137[_0x372433];return _0x375ac3;};'use strict';var client=require(_0x7013('0x0'));exports['update']=function(_0x21491a,_0x4242bd){return client[_0x7013('0x1')](_0x7013('0x2'),{'body':_0x4242bd,'options':{'where':{'id':_0x21491a}},'log':_0x7013('0x3')});};exports['addTags']=function(_0x547329,_0x232446){return client[_0x7013('0x1')](_0x7013('0x4'),{'body':_0x232446,'options':{'where':{'id':_0x547329}},'log':_0x7013('0x5')});};