Built motion from commit (unavailable).|2.5.5
[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 _0xdf29=['AddTagsToMailInteraction','addTagsToChatInteraction','Request','updateMailInteraction','addTags'];(function(_0xefd519,_0xc62635){var _0x4bb882=function(_0x37e0a1){while(--_0x37e0a1){_0xefd519['push'](_0xefd519['shift']());}};_0x4bb882(++_0xc62635);}(_0xdf29,0x1b5));var _0x9df2=function(_0x12ec13,_0x37a597){_0x12ec13=_0x12ec13-0x0;var _0x34e19f=_0xdf29[_0x12ec13];return _0x34e19f;};'use strict';var client=require('../client');exports['update']=function(_0x7018e6,_0x55326a){return client[_0x9df2('0x0')]('UpdateMailInteraction',{'body':_0x55326a,'options':{'where':{'id':_0x7018e6}},'log':_0x9df2('0x1')});};exports[_0x9df2('0x2')]=function(_0x40c27c,_0x1c4c5f){return client[_0x9df2('0x0')](_0x9df2('0x3'),{'body':_0x1c4c5f,'options':{'where':{'id':_0x40c27c}},'log':_0x9df2('0x4')});};