Built motion from commit (unavailable).|2.4.18
[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 _0x6374=['../client','Request','UpdateMailInteraction','updateMailInteraction','addTags','AddTagsToMailInteraction','addTagsToChatInteraction'];(function(_0x4ed933,_0x427a88){var _0x3eed3e=function(_0x596939){while(--_0x596939){_0x4ed933['push'](_0x4ed933['shift']());}};_0x3eed3e(++_0x427a88);}(_0x6374,0x173));var _0x4637=function(_0x4b9571,_0x1d3754){_0x4b9571=_0x4b9571-0x0;var _0x430a7a=_0x6374[_0x4b9571];return _0x430a7a;};'use strict';var client=require(_0x4637('0x0'));exports['update']=function(_0x2ee307,_0x53a5d3){return client[_0x4637('0x1')](_0x4637('0x2'),{'body':_0x53a5d3,'options':{'where':{'id':_0x2ee307}},'log':_0x4637('0x3')});};exports[_0x4637('0x4')]=function(_0x48d916,_0x34f26f){return client[_0x4637('0x1')](_0x4637('0x5'),{'body':_0x34f26f,'options':{'where':{'id':_0x48d916}},'log':_0x4637('0x6')});};