9dff2db6731b1bf1232d0c27189bd4f0adc84e12
[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 _0xe47d=['updateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction','update','Request','UpdateChatInteraction'];(function(_0x50d0a5,_0x3ece14){var _0x16a49c=function(_0x5857fb){while(--_0x5857fb){_0x50d0a5['push'](_0x50d0a5['shift']());}};_0x16a49c(++_0x3ece14);}(_0xe47d,0x135));var _0xde47=function(_0x2a318a,_0x3f8006){_0x2a318a=_0x2a318a-0x0;var _0x346cf3=_0xe47d[_0x2a318a];return _0x346cf3;};'use strict';var client=require('../client');exports[_0xde47('0x0')]=function(_0x1eb6bd,_0x11e6a7){return client[_0xde47('0x1')](_0xde47('0x2'),{'body':_0x11e6a7,'options':{'where':{'id':_0x1eb6bd}},'log':_0xde47('0x3')});};exports['addTags']=function(_0x5a2312,_0x4bb3f9){return client[_0xde47('0x1')](_0xde47('0x4'),{'body':_0x4bb3f9,'options':{'where':{'id':_0x5a2312}},'log':_0xde47('0x5')});};