9c45f04688c2a0b45e2c6671bbba432f07a59dad
[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 _0xf24c=['addTags','Request','AddTagsToChatInteraction','addTagsToChatInteraction','../client','UpdateChatInteraction','updateChatInteraction'];(function(_0x2f387c,_0x3017a6){var _0x3965a5=function(_0x4534f2){while(--_0x4534f2){_0x2f387c['push'](_0x2f387c['shift']());}};_0x3965a5(++_0x3017a6);}(_0xf24c,0xdd));var _0xcf24=function(_0x5bbb21,_0x4d0b03){_0x5bbb21=_0x5bbb21-0x0;var _0x59130c=_0xf24c[_0x5bbb21];return _0x59130c;};'use strict';var client=require(_0xcf24('0x0'));exports['update']=function(_0x33259f,_0x3b70eb){return client['Request'](_0xcf24('0x1'),{'body':_0x3b70eb,'options':{'where':{'id':_0x33259f}},'log':_0xcf24('0x2')});};exports[_0xcf24('0x3')]=function(_0x2cbbd3,_0x2ac453){return client[_0xcf24('0x4')](_0xcf24('0x5'),{'body':_0x2ac453,'options':{'where':{'id':_0x2cbbd3}},'log':_0xcf24('0x6')});};