Built motion from commit e1760111.|2.6.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 _0x236c=['Request','UpdateMailInteraction','updateMailInteraction','AddTagsToMailInteraction','addTagsToChatInteraction','../client'];(function(_0x5428f5,_0x363285){var _0xf745ce=function(_0x16dbe2){while(--_0x16dbe2){_0x5428f5['push'](_0x5428f5['shift']());}};_0xf745ce(++_0x363285);}(_0x236c,0x155));var _0xc236=function(_0xd85453,_0x16df12){_0xd85453=_0xd85453-0x0;var _0x244890=_0x236c[_0xd85453];return _0x244890;};'use strict';var client=require(_0xc236('0x0'));exports['update']=function(_0x2ce95a,_0x404d50){return client[_0xc236('0x1')](_0xc236('0x2'),{'body':_0x404d50,'options':{'where':{'id':_0x2ce95a}},'log':_0xc236('0x3')});};exports['addTags']=function(_0x3adce9,_0x36e87d){return client[_0xc236('0x1')](_0xc236('0x4'),{'body':_0x36e87d,'options':{'where':{'id':_0x3adce9}},'log':_0xc236('0x5')});};