Built motion from commit (unavailable).|2.3.4
[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 _0x59a9=['UpdateMailInteraction','addTags','addTagsToChatInteraction','../client'];(function(_0x1fae4c,_0x838a24){var _0x2c8527=function(_0x44d238){while(--_0x44d238){_0x1fae4c['push'](_0x1fae4c['shift']());}};_0x2c8527(++_0x838a24);}(_0x59a9,0x1af));var _0x959a=function(_0x164d9b,_0x11157a){_0x164d9b=_0x164d9b-0x0;var _0x3f52f2=_0x59a9[_0x164d9b];return _0x3f52f2;};'use strict';var client=require(_0x959a('0x0'));exports['update']=function(_0x5a07cf,_0x35b78e){return client['Request'](_0x959a('0x1'),{'body':_0x35b78e,'options':{'where':{'id':_0x5a07cf}},'log':'updateMailInteraction'});};exports[_0x959a('0x2')]=function(_0x3d2e4e,_0xa07682){return client['Request']('AddTagsToMailInteraction',{'body':_0xa07682,'options':{'where':{'id':_0x3d2e4e}},'log':_0x959a('0x3')});};