c3b38a0788f14e2c3681d3ae9bf5f2aa3c25df1a
[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 _0x02d5=['Request','UpdateMailInteraction','updateMailInteraction','AddTagsToMailInteraction','addTagsToChatInteraction','update'];(function(_0x487473,_0x1c95a8){var _0x49697c=function(_0x504c7c){while(--_0x504c7c){_0x487473['push'](_0x487473['shift']());}};_0x49697c(++_0x1c95a8);}(_0x02d5,0x19d));var _0x502d=function(_0x395097,_0x6babd0){_0x395097=_0x395097-0x0;var _0x19f253=_0x02d5[_0x395097];return _0x19f253;};'use strict';var client=require('../client');exports[_0x502d('0x0')]=function(_0x2f7dbd,_0x2d9710){return client[_0x502d('0x1')](_0x502d('0x2'),{'body':_0x2d9710,'options':{'where':{'id':_0x2f7dbd}},'log':_0x502d('0x3')});};exports['addTags']=function(_0x464edf,_0x2aae08){return client[_0x502d('0x1')](_0x502d('0x4'),{'body':_0x2aae08,'options':{'where':{'id':_0x464edf}},'log':_0x502d('0x5')});};