672ef67c011f50d7f63cfecc2d6a90a4a3785697
[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 _0x9073=['update','UpdateMailInteraction','addTags','Request','AddTagsToMailInteraction','../client'];(function(_0x55f8b4,_0x43f30d){var _0x2475f9=function(_0xdd6f4a){while(--_0xdd6f4a){_0x55f8b4['push'](_0x55f8b4['shift']());}};_0x2475f9(++_0x43f30d);}(_0x9073,0x19d));var _0x3907=function(_0x4864f0,_0x5da8c5){_0x4864f0=_0x4864f0-0x0;var _0x55445a=_0x9073[_0x4864f0];return _0x55445a;};'use strict';var client=require(_0x3907('0x0'));exports[_0x3907('0x1')]=function(_0x2a4e10,_0x3ff517){return client['Request'](_0x3907('0x2'),{'body':_0x3ff517,'options':{'where':{'id':_0x2a4e10}},'log':'updateMailInteraction'});};exports[_0x3907('0x3')]=function(_0x341aa9,_0xf97d84){return client[_0x3907('0x4')](_0x3907('0x5'),{'body':_0xf97d84,'options':{'where':{'id':_0x341aa9}},'log':'addTagsToChatInteraction'});};