87b161b1ecc2cdbfbb3ee585548e86c5f2d1c1ed
[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 _0x584e=['updateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client'];(function(_0x171ca6,_0x2f8f9d){var _0x244768=function(_0x25390c){while(--_0x25390c){_0x171ca6['push'](_0x171ca6['shift']());}};_0x244768(++_0x2f8f9d);}(_0x584e,0x81));var _0xe584=function(_0x2bbc07,_0x1e2168){_0x2bbc07=_0x2bbc07-0x0;var _0x6879e4=_0x584e[_0x2bbc07];return _0x6879e4;};'use strict';var client=require(_0xe584('0x0'));exports['update']=function(_0x50f4f1,_0x5670d5){return client['Request']('UpdateChatInteraction',{'body':_0x5670d5,'options':{'where':{'id':_0x50f4f1}},'log':_0xe584('0x1')});};exports[_0xe584('0x2')]=function(_0x4aefe6,_0x1c842e){return client['Request'](_0xe584('0x3'),{'body':_0x1c842e,'options':{'where':{'id':_0x4aefe6}},'log':_0xe584('0x4')});};