Built motion from commit bab6f49e.|2.6.17
[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 _0x583c=['update','UpdateMailInteraction','updateMailInteraction','Request','addTagsToChatInteraction','../client'];(function(_0x1f9f5f,_0x509fb7){var _0x51d649=function(_0x4a5285){while(--_0x4a5285){_0x1f9f5f['push'](_0x1f9f5f['shift']());}};_0x51d649(++_0x509fb7);}(_0x583c,0x12b));var _0xc583=function(_0xf44d98,_0x12a472){_0xf44d98=_0xf44d98-0x0;var _0x5ebb04=_0x583c[_0xf44d98];return _0x5ebb04;};'use strict';var client=require(_0xc583('0x0'));exports[_0xc583('0x1')]=function(_0xdc6797,_0x30ca4e){return client['Request'](_0xc583('0x2'),{'body':_0x30ca4e,'options':{'where':{'id':_0xdc6797}},'log':_0xc583('0x3')});};exports['addTags']=function(_0x4ca8e3,_0x13b8a7){return client[_0xc583('0x4')]('AddTagsToMailInteraction',{'body':_0x13b8a7,'options':{'where':{'id':_0x4ca8e3}},'log':_0xc583('0x5')});};