5903cf8b3eeca4c5423814027b260667fdf907a4
[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 _0xfef3=['../client','Request','UpdateMailInteraction','addTags','AddTagsToMailInteraction'];(function(_0x308c40,_0x4e8747){var _0xa153f0=function(_0x2f5aa7){while(--_0x2f5aa7){_0x308c40['push'](_0x308c40['shift']());}};_0xa153f0(++_0x4e8747);}(_0xfef3,0x118));var _0x3fef=function(_0x515e13,_0x3fabd7){_0x515e13=_0x515e13-0x0;var _0x1dd659=_0xfef3[_0x515e13];return _0x1dd659;};'use strict';var client=require(_0x3fef('0x0'));exports['update']=function(_0x3f2183,_0x494ae6){return client[_0x3fef('0x1')](_0x3fef('0x2'),{'body':_0x494ae6,'options':{'where':{'id':_0x3f2183}},'log':'updateMailInteraction'});};exports[_0x3fef('0x3')]=function(_0x3b71e5,_0x538f28){return client[_0x3fef('0x1')](_0x3fef('0x4'),{'body':_0x538f28,'options':{'where':{'id':_0x3b71e5}},'log':'addTagsToChatInteraction'});};