558232a8c80729483c582d6f8d35c93857705524
[motion2.git] / server / services / routing / rpc / chatInteraction.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 _0x0d0c=['AddTagsToChatInteraction','addTagsToChatInteraction','../client','UpdateChatInteraction','updateChatInteraction','addTags'];(function(_0x4b1686,_0x568af6){var _0x380a97=function(_0x558ee8){while(--_0x558ee8){_0x4b1686['push'](_0x4b1686['shift']());}};_0x380a97(++_0x568af6);}(_0x0d0c,0xb0));var _0xc0d0=function(_0x1a2fb4,_0x29b95c){_0x1a2fb4=_0x1a2fb4-0x0;var _0x5621a1=_0x0d0c[_0x1a2fb4];return _0x5621a1;};'use strict';var client=require(_0xc0d0('0x0'));exports['update']=function(_0x56d62e,_0xf4b273){return client['Request'](_0xc0d0('0x1'),{'body':_0xf4b273,'options':{'where':{'id':_0x56d62e}},'log':_0xc0d0('0x2')});};exports[_0xc0d0('0x3')]=function(_0x2a4167,_0x3a2321){return client['Request'](_0xc0d0('0x4'),{'body':_0x3a2321,'options':{'where':{'id':_0x2a4167}},'log':_0xc0d0('0x5')});};