Built motion from commit f74363e9.|2.6.34
[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 _0x8aad=['addTagsToChatInteraction','../client','update','UpdateMailInteraction','updateMailInteraction'];(function(_0x458363,_0x1675db){var _0x4d0290=function(_0x22960f){while(--_0x22960f){_0x458363['push'](_0x458363['shift']());}};_0x4d0290(++_0x1675db);}(_0x8aad,0x146));var _0xd8aa=function(_0x75bec3,_0x5bf439){_0x75bec3=_0x75bec3-0x0;var _0x3e26c8=_0x8aad[_0x75bec3];return _0x3e26c8;};'use strict';var client=require(_0xd8aa('0x0'));exports[_0xd8aa('0x1')]=function(_0x54a6de,_0x11554c){return client['Request'](_0xd8aa('0x2'),{'body':_0x11554c,'options':{'where':{'id':_0x54a6de}},'log':_0xd8aa('0x3')});};exports['addTags']=function(_0x4a4235,_0x401aef){return client['Request']('AddTagsToMailInteraction',{'body':_0x401aef,'options':{'where':{'id':_0x4a4235}},'log':_0xd8aa('0x4')});};