Built motion from commit 43538d75.|2.5.35
[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 _0x32f4=['updateMailInteraction','Request','AddTagsToMailInteraction','addTagsToChatInteraction','../client','update','UpdateMailInteraction'];(function(_0x2662c1,_0x33217c){var _0x58df9b=function(_0x475ba8){while(--_0x475ba8){_0x2662c1['push'](_0x2662c1['shift']());}};_0x58df9b(++_0x33217c);}(_0x32f4,0x154));var _0x432f=function(_0x4ae2b6,_0xb2416c){_0x4ae2b6=_0x4ae2b6-0x0;var _0x3ae896=_0x32f4[_0x4ae2b6];return _0x3ae896;};'use strict';var client=require(_0x432f('0x0'));exports[_0x432f('0x1')]=function(_0x29845b,_0x2b22ad){return client['Request'](_0x432f('0x2'),{'body':_0x2b22ad,'options':{'where':{'id':_0x29845b}},'log':_0x432f('0x3')});};exports['addTags']=function(_0x354293,_0x1eabac){return client[_0x432f('0x4')](_0x432f('0x5'),{'body':_0x1eabac,'options':{'where':{'id':_0x354293}},'log':_0x432f('0x6')});};