b6ff0de69d05159d18a6970082fa47f5f7e3adbd
[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 _0x2f28=['../client','Request','AddTagsToChatInteraction','addTagsToChatInteraction'];(function(_0x392407,_0x3c283a){var _0x2b08a4=function(_0x4895c0){while(--_0x4895c0){_0x392407['push'](_0x392407['shift']());}};_0x2b08a4(++_0x3c283a);}(_0x2f28,0x1ac));var _0x82f2=function(_0x179039,_0x1fb713){_0x179039=_0x179039-0x0;var _0xeb427=_0x2f28[_0x179039];return _0xeb427;};'use strict';var client=require(_0x82f2('0x0'));exports['update']=function(_0x6f618,_0xb5b8e8){return client[_0x82f2('0x1')]('UpdateChatInteraction',{'body':_0xb5b8e8,'options':{'where':{'id':_0x6f618}},'log':'updateChatInteraction'});};exports['addTags']=function(_0x178314,_0xba2305){return client[_0x82f2('0x1')](_0x82f2('0x2'),{'body':_0xba2305,'options':{'where':{'id':_0x178314}},'log':_0x82f2('0x3')});};