4987864dd2fac68a081e0769d28ae1b7069f4d84
[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 _0x2c32=['AddTagsToMailInteraction','addTagsToChatInteraction','../client','update','Request','UpdateMailInteraction','updateMailInteraction','addTags'];(function(_0x17e36d,_0x4d3012){var _0x598756=function(_0x2e924a){while(--_0x2e924a){_0x17e36d['push'](_0x17e36d['shift']());}};_0x598756(++_0x4d3012);}(_0x2c32,0xb2));var _0x22c3=function(_0x2e2ae1,_0x9af0a8){_0x2e2ae1=_0x2e2ae1-0x0;var _0xf9c4b0=_0x2c32[_0x2e2ae1];return _0xf9c4b0;};'use strict';var client=require(_0x22c3('0x0'));exports[_0x22c3('0x1')]=function(_0x462aae,_0xedde61){return client[_0x22c3('0x2')](_0x22c3('0x3'),{'body':_0xedde61,'options':{'where':{'id':_0x462aae}},'log':_0x22c3('0x4')});};exports[_0x22c3('0x5')]=function(_0x1c4643,_0x11d455){return client[_0x22c3('0x2')](_0x22c3('0x6'),{'body':_0x11d455,'options':{'where':{'id':_0x1c4643}},'log':_0x22c3('0x7')});};