Built motion from commit (unavailable).|2.5.20
[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 _0x3cd5=['UpdateMailInteraction','updateMailInteraction','AddTagsToMailInteraction','addTagsToChatInteraction','Request'];(function(_0xd48ab7,_0x28ffd6){var _0x3f1ed9=function(_0x2cc233){while(--_0x2cc233){_0xd48ab7['push'](_0xd48ab7['shift']());}};_0x3f1ed9(++_0x28ffd6);}(_0x3cd5,0x1b7));var _0x53cd=function(_0x52b7b9,_0x43ed4b){_0x52b7b9=_0x52b7b9-0x0;var _0x5b5d30=_0x3cd5[_0x52b7b9];return _0x5b5d30;};'use strict';var client=require('../client');exports['update']=function(_0x6a085d,_0x1ce644){return client[_0x53cd('0x0')](_0x53cd('0x1'),{'body':_0x1ce644,'options':{'where':{'id':_0x6a085d}},'log':_0x53cd('0x2')});};exports['addTags']=function(_0x3b2867,_0x42c6ff){return client[_0x53cd('0x0')](_0x53cd('0x3'),{'body':_0x42c6ff,'options':{'where':{'id':_0x3b2867}},'log':_0x53cd('0x4')});};