Built motion from commit (unavailable).|2.5.21
[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 _0xa903=['addTagsToChatInteraction','../client','Request','UpdateMailInteraction','addTags'];(function(_0x6131cd,_0x4c26a1){var _0x47e916=function(_0x1f2bce){while(--_0x1f2bce){_0x6131cd['push'](_0x6131cd['shift']());}};_0x47e916(++_0x4c26a1);}(_0xa903,0x10f));var _0x3a90=function(_0x55f6c6,_0x148467){_0x55f6c6=_0x55f6c6-0x0;var _0x56253b=_0xa903[_0x55f6c6];return _0x56253b;};'use strict';var client=require(_0x3a90('0x0'));exports['update']=function(_0x5a6756,_0x5545d6){return client[_0x3a90('0x1')](_0x3a90('0x2'),{'body':_0x5545d6,'options':{'where':{'id':_0x5a6756}},'log':'updateMailInteraction'});};exports[_0x3a90('0x3')]=function(_0x367f72,_0x22fda7){return client[_0x3a90('0x1')]('AddTagsToMailInteraction',{'body':_0x22fda7,'options':{'where':{'id':_0x367f72}},'log':_0x3a90('0x4')});};