5190a53d6c458bee050c18464bb7ae7277cc98f9
[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 _0xe098=['UpdateMailInteraction','updateMailInteraction','addTags','AddTagsToMailInteraction','addTagsToChatInteraction','../client','Request'];(function(_0x5e780b,_0xa44ac9){var _0x5b4cf3=function(_0x20cd2c){while(--_0x20cd2c){_0x5e780b['push'](_0x5e780b['shift']());}};_0x5b4cf3(++_0xa44ac9);}(_0xe098,0x186));var _0x8e09=function(_0xffc703,_0x13d7e8){_0xffc703=_0xffc703-0x0;var _0x4cccfc=_0xe098[_0xffc703];return _0x4cccfc;};'use strict';var client=require(_0x8e09('0x0'));exports['update']=function(_0x1d9463,_0x2c61af){return client[_0x8e09('0x1')](_0x8e09('0x2'),{'body':_0x2c61af,'options':{'where':{'id':_0x1d9463}},'log':_0x8e09('0x3')});};exports[_0x8e09('0x4')]=function(_0x3be8e9,_0x40d190){return client[_0x8e09('0x1')](_0x8e09('0x5'),{'body':_0x40d190,'options':{'where':{'id':_0x3be8e9}},'log':_0x8e09('0x6')});};