876c369d97bff620a00f74a41d6d98fc5cec667c
[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 _0x6d11=['AddTagsToMailInteraction','addTagsToChatInteraction','../client','update','Request','updateMailInteraction','addTags'];(function(_0x34de3a,_0x2312b2){var _0x24c11f=function(_0x17a52b){while(--_0x17a52b){_0x34de3a['push'](_0x34de3a['shift']());}};_0x24c11f(++_0x2312b2);}(_0x6d11,0xbf));var _0x16d1=function(_0x34585b,_0xbc597d){_0x34585b=_0x34585b-0x0;var _0x2d986e=_0x6d11[_0x34585b];return _0x2d986e;};'use strict';var client=require(_0x16d1('0x0'));exports[_0x16d1('0x1')]=function(_0x78317b,_0x49dea5){return client[_0x16d1('0x2')]('UpdateMailInteraction',{'body':_0x49dea5,'options':{'where':{'id':_0x78317b}},'log':_0x16d1('0x3')});};exports[_0x16d1('0x4')]=function(_0x4bce83,_0x48754e){return client[_0x16d1('0x2')](_0x16d1('0x5'),{'body':_0x48754e,'options':{'where':{'id':_0x4bce83}},'log':_0x16d1('0x6')});};