b45f3e2e2e75704705d21a44a9e4ba5af127bc8b
[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 _0x63ab=['../client','update','Request','updateMailInteraction','addTags','AddTagsToMailInteraction','addTagsToChatInteraction'];(function(_0x1402b2,_0x2c0781){var _0x16b57c=function(_0x38a56e){while(--_0x38a56e){_0x1402b2['push'](_0x1402b2['shift']());}};_0x16b57c(++_0x2c0781);}(_0x63ab,0x1b2));var _0xb63a=function(_0x555726,_0x3c8c59){_0x555726=_0x555726-0x0;var _0x43215f=_0x63ab[_0x555726];return _0x43215f;};'use strict';var client=require(_0xb63a('0x0'));exports[_0xb63a('0x1')]=function(_0x158e96,_0x3d9489){return client[_0xb63a('0x2')]('UpdateMailInteraction',{'body':_0x3d9489,'options':{'where':{'id':_0x158e96}},'log':_0xb63a('0x3')});};exports[_0xb63a('0x4')]=function(_0x4bccbb,_0xbf38ab){return client['Request'](_0xb63a('0x5'),{'body':_0xbf38ab,'options':{'where':{'id':_0x4bccbb}},'log':_0xb63a('0x6')});};