Built motion from commit 00bf23f6.|2.6.16
[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(_0x21e3d5,_0x443510){var _0x37fff5=function(_0x177dbc){while(--_0x177dbc){_0x21e3d5['push'](_0x21e3d5['shift']());}};_0x37fff5(++_0x443510);}(_0xc2c7,0x134));var _0x7c2c=function(_0x3c0f40,_0x10ed30){_0x3c0f40=_0x3c0f40-0x0;var _0x59a557=_0xc2c7[_0x3c0f40];return _0x59a557;};'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')});};