130b3b8cd74ba34d9cc7d9518de18bdda5b18b83
[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 _0x381e=['updateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction','../client','Request','UpdateChatInteraction'];(function(_0x445c98,_0x132bf7){var _0x2fe913=function(_0x32e864){while(--_0x32e864){_0x445c98['push'](_0x445c98['shift']());}};_0x2fe913(++_0x132bf7);}(_0x381e,0x1ad));var _0xe381=function(_0x53195f,_0x3c8313){_0x53195f=_0x53195f-0x0;var _0x263197=_0x381e[_0x53195f];return _0x263197;};'use strict';var client=require(_0xe381('0x0'));exports['update']=function(_0xe89974,_0x7f7fe9){return client[_0xe381('0x1')](_0xe381('0x2'),{'body':_0x7f7fe9,'options':{'where':{'id':_0xe89974}},'log':_0xe381('0x3')});};exports['addTags']=function(_0x57446,_0x2d0e38){return client[_0xe381('0x1')](_0xe381('0x4'),{'body':_0x2d0e38,'options':{'where':{'id':_0x57446}},'log':_0xe381('0x5')});};