7aa67de00ad11aad4d119535e8ef7ec8a62fe56e
[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 _0x94e8=['addTagsToChatInteraction','../client','UpdateMailInteraction','addTags','AddTagsToMailInteraction'];(function(_0x4ac71d,_0x38e2be){var _0x203526=function(_0x5540a7){while(--_0x5540a7){_0x4ac71d['push'](_0x4ac71d['shift']());}};_0x203526(++_0x38e2be);}(_0x94e8,0x9c));var _0x894e=function(_0x40453a,_0x1ff061){_0x40453a=_0x40453a-0x0;var _0x2da74d=_0x94e8[_0x40453a];return _0x2da74d;};'use strict';var client=require(_0x894e('0x0'));exports['update']=function(_0x39f0cd,_0x393c62){return client['Request'](_0x894e('0x1'),{'body':_0x393c62,'options':{'where':{'id':_0x39f0cd}},'log':'updateMailInteraction'});};exports[_0x894e('0x2')]=function(_0x30b98f,_0x2cba69){return client['Request'](_0x894e('0x3'),{'body':_0x2cba69,'options':{'where':{'id':_0x30b98f}},'log':_0x894e('0x4')});};