ccb7e4187e185fa3dc79832abfab4908a49e3faf
[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 _0x1598=['addTagsToChatInteraction','../client','update','UpdateMailInteraction','updateMailInteraction','addTags'];(function(_0x22ec87,_0x1d2e20){var _0x57668b=function(_0x5beed4){while(--_0x5beed4){_0x22ec87['push'](_0x22ec87['shift']());}};_0x57668b(++_0x1d2e20);}(_0x1598,0x1c9));var _0x8159=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x1598[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x8159('0x0'));exports[_0x8159('0x1')]=function(_0x413aea,_0x32b7b9){return client['Request'](_0x8159('0x2'),{'body':_0x32b7b9,'options':{'where':{'id':_0x413aea}},'log':_0x8159('0x3')});};exports[_0x8159('0x4')]=function(_0xf20b0,_0x4f5493){return client['Request']('AddTagsToMailInteraction',{'body':_0x4f5493,'options':{'where':{'id':_0xf20b0}},'log':_0x8159('0x5')});};