c076d5c1f71c0b68787512f93840e5401f2f10ca
[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 _0x3bdf=['AddTagsToMailInteraction','../client','update','UpdateMailInteraction','addTags','Request'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x3bdf,0x1b7));var _0xf3bd=function(_0x2485b4,_0x374f23){_0x2485b4=_0x2485b4-0x0;var _0x3ea77a=_0x3bdf[_0x2485b4];return _0x3ea77a;};'use strict';var client=require(_0xf3bd('0x0'));exports[_0xf3bd('0x1')]=function(_0x474ebe,_0x5edb28){return client['Request'](_0xf3bd('0x2'),{'body':_0x5edb28,'options':{'where':{'id':_0x474ebe}},'log':'updateMailInteraction'});};exports[_0xf3bd('0x3')]=function(_0x3b9b39,_0x3adcb5){return client[_0xf3bd('0x4')](_0xf3bd('0x5'),{'body':_0x3adcb5,'options':{'where':{'id':_0x3b9b39}},'log':'addTagsToChatInteraction'});};