Built motion from commit (unavailable).|2.5.30
[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 _0x707b=['update','Request','updateMailInteraction','AddTagsToMailInteraction','addTagsToChatInteraction','../client'];(function(_0x55f8b4,_0x43f30d){var _0x2475f9=function(_0xdd6f4a){while(--_0xdd6f4a){_0x55f8b4['push'](_0x55f8b4['shift']());}};_0x2475f9(++_0x43f30d);}(_0x707b,0x8f));var _0xb707=function(_0x2c3a88,_0x48637e){_0x2c3a88=_0x2c3a88-0x0;var _0x4a7925=_0x707b[_0x2c3a88];return _0x4a7925;};'use strict';var client=require(_0xb707('0x0'));exports[_0xb707('0x1')]=function(_0x3e362f,_0x463770){return client[_0xb707('0x2')]('UpdateMailInteraction',{'body':_0x463770,'options':{'where':{'id':_0x3e362f}},'log':_0xb707('0x3')});};exports['addTags']=function(_0x13eb23,_0x352e71){return client['Request'](_0xb707('0x4'),{'body':_0x352e71,'options':{'where':{'id':_0x13eb23}},'log':_0xb707('0x5')});};