Built motion from commit (unavailable).|2.5.14
[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 _0xd81d=['updateMailInteraction','addTagsToChatInteraction','update','Request','UpdateMailInteraction'];(function(_0x443f85,_0x1c2f84){var _0x40d7fe=function(_0x3e7a75){while(--_0x3e7a75){_0x443f85['push'](_0x443f85['shift']());}};_0x40d7fe(++_0x1c2f84);}(_0xd81d,0x1a1));var _0xdd81=function(_0x16812f,_0x27e01b){_0x16812f=_0x16812f-0x0;var _0x1715b3=_0xd81d[_0x16812f];return _0x1715b3;};'use strict';var client=require('../client');exports[_0xdd81('0x0')]=function(_0x5de05f,_0x23c1ec){return client[_0xdd81('0x1')](_0xdd81('0x2'),{'body':_0x23c1ec,'options':{'where':{'id':_0x5de05f}},'log':_0xdd81('0x3')});};exports['addTags']=function(_0x166696,_0x48a25a){return client['Request']('AddTagsToMailInteraction',{'body':_0x48a25a,'options':{'where':{'id':_0x166696}},'log':_0xdd81('0x4')});};