Built motion from commit (unavailable).|2.5.26
[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 _0xa758=['../client','update','Request','UpdateMailInteraction','updateMailInteraction','addTagsToChatInteraction'];(function(_0x465a0c,_0x19d4d5){var _0x1e202e=function(_0x27bd8a){while(--_0x27bd8a){_0x465a0c['push'](_0x465a0c['shift']());}};_0x1e202e(++_0x19d4d5);}(_0xa758,0x17a));var _0x8a75=function(_0xd55444,_0x18220b){_0xd55444=_0xd55444-0x0;var _0x29dc54=_0xa758[_0xd55444];return _0x29dc54;};'use strict';var client=require(_0x8a75('0x0'));exports[_0x8a75('0x1')]=function(_0x2a7e82,_0x2ea5f3){return client[_0x8a75('0x2')](_0x8a75('0x3'),{'body':_0x2ea5f3,'options':{'where':{'id':_0x2a7e82}},'log':_0x8a75('0x4')});};exports['addTags']=function(_0x4b7ed3,_0xf8f84a){return client['Request']('AddTagsToMailInteraction',{'body':_0xf8f84a,'options':{'where':{'id':_0x4b7ed3}},'log':_0x8a75('0x5')});};