Built motion from commit ddca4d0d.|2.5.47
[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 _0x14a0=['AddTagsToMailInteraction','addTagsToChatInteraction','update','Request','UpdateMailInteraction','updateMailInteraction','addTags'];(function(_0x387065,_0x552aa5){var _0xa9c8be=function(_0x30c2c2){while(--_0x30c2c2){_0x387065['push'](_0x387065['shift']());}};_0xa9c8be(++_0x552aa5);}(_0x14a0,0x8e));var _0x014a=function(_0x35fc2a,_0x4788f4){_0x35fc2a=_0x35fc2a-0x0;var _0x379aa8=_0x14a0[_0x35fc2a];return _0x379aa8;};'use strict';var client=require('../client');exports[_0x014a('0x0')]=function(_0x451138,_0x4144ed){return client[_0x014a('0x1')](_0x014a('0x2'),{'body':_0x4144ed,'options':{'where':{'id':_0x451138}},'log':_0x014a('0x3')});};exports[_0x014a('0x4')]=function(_0x521a59,_0x57a522){return client[_0x014a('0x1')](_0x014a('0x5'),{'body':_0x57a522,'options':{'where':{'id':_0x521a59}},'log':_0x014a('0x6')});};