b3bd837d1017e63420081b54238e4df255c08c96
[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 _0xc2c7=['update','Request','UpdateMailInteraction','updateMailInteraction','addTags','AddTagsToMailInteraction','addTagsToChatInteraction'];(function(_0x3110d7,_0x1a9b39){var _0x21c07a=function(_0x59d4f6){while(--_0x59d4f6){_0x3110d7['push'](_0x3110d7['shift']());}};_0x21c07a(++_0x1a9b39);}(_0xc2c7,0x134));var _0x7c2c=function(_0x3de78e,_0x499c81){_0x3de78e=_0x3de78e-0x0;var _0x32c8a3=_0xc2c7[_0x3de78e];return _0x32c8a3;};'use strict';var client=require('../client');exports[_0x7c2c('0x0')]=function(_0x30ed31,_0xdb8a29){return client[_0x7c2c('0x1')](_0x7c2c('0x2'),{'body':_0xdb8a29,'options':{'where':{'id':_0x30ed31}},'log':_0x7c2c('0x3')});};exports[_0x7c2c('0x4')]=function(_0x116f8a,_0x4bbc14){return client['Request'](_0x7c2c('0x5'),{'body':_0x4bbc14,'options':{'where':{'id':_0x116f8a}},'log':_0x7c2c('0x6')});};