0c6cfd22a23cade8e25e1dc7e1b03372286f0136
[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 _0xc1e3=['UpdateMailInteraction','updateMailInteraction','addTags','Request','AddTagsToMailInteraction','addTagsToChatInteraction','../client','update'];(function(_0x2fe422,_0x178586){var _0x195a9b=function(_0x3e56ca){while(--_0x3e56ca){_0x2fe422['push'](_0x2fe422['shift']());}};_0x195a9b(++_0x178586);}(_0xc1e3,0x96));var _0x3c1e=function(_0x4aadc9,_0x29956c){_0x4aadc9=_0x4aadc9-0x0;var _0x47572f=_0xc1e3[_0x4aadc9];return _0x47572f;};'use strict';var client=require(_0x3c1e('0x0'));exports[_0x3c1e('0x1')]=function(_0x58c8fe,_0x2970c5){return client['Request'](_0x3c1e('0x2'),{'body':_0x2970c5,'options':{'where':{'id':_0x58c8fe}},'log':_0x3c1e('0x3')});};exports[_0x3c1e('0x4')]=function(_0x477829,_0x150086){return client[_0x3c1e('0x5')](_0x3c1e('0x6'),{'body':_0x150086,'options':{'where':{'id':_0x477829}},'log':_0x3c1e('0x7')});};