Built motion from commit 1cfc41f6.|2.5.41
[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 _0x430c=['AddTagsToMailInteraction','../client','Request','UpdateMailInteraction'];(function(_0x4ff3d9,_0x4cfc58){var _0x3b68ee=function(_0x5028cf){while(--_0x5028cf){_0x4ff3d9['push'](_0x4ff3d9['shift']());}};_0x3b68ee(++_0x4cfc58);}(_0x430c,0x1a1));var _0xc430=function(_0x265aa2,_0x220072){_0x265aa2=_0x265aa2-0x0;var _0x447a3a=_0x430c[_0x265aa2];return _0x447a3a;};'use strict';var client=require(_0xc430('0x0'));exports['update']=function(_0x4c0679,_0x426596){return client[_0xc430('0x1')](_0xc430('0x2'),{'body':_0x426596,'options':{'where':{'id':_0x4c0679}},'log':'updateMailInteraction'});};exports['addTags']=function(_0x5ccda6,_0x47d8b9){return client[_0xc430('0x1')](_0xc430('0x3'),{'body':_0x47d8b9,'options':{'where':{'id':_0x5ccda6}},'log':'addTagsToChatInteraction'});};