08b251a0d96ed4788e1959c85ef1519e073ec8eb
[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 _0xca4f=['addTagsToChatInteraction','../client','UpdateChatInteraction','AddTagsToChatInteraction'];(function(_0x10bcc4,_0x4400e2){var _0x2da988=function(_0x2ee849){while(--_0x2ee849){_0x10bcc4['push'](_0x10bcc4['shift']());}};_0x2da988(++_0x4400e2);}(_0xca4f,0x125));var _0xfca4=function(_0x3d1139,_0xc48fe5){_0x3d1139=_0x3d1139-0x0;var _0x2fdf82=_0xca4f[_0x3d1139];return _0x2fdf82;};'use strict';var client=require(_0xfca4('0x0'));exports['update']=function(_0x56a609,_0x3531a1){return client['Request'](_0xfca4('0x1'),{'body':_0x3531a1,'options':{'where':{'id':_0x56a609}},'log':'updateChatInteraction'});};exports['addTags']=function(_0x3952bf,_0x386e2d){return client['Request'](_0xfca4('0x2'),{'body':_0x386e2d,'options':{'where':{'id':_0x3952bf}},'log':_0xfca4('0x3')});};