f1a8c7bbd8b8e8879096f57d2e381b43130436b4
[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 _0x68b8=['updateChatInteraction','addTags','addTagsToChatInteraction','update','Request','UpdateChatInteraction'];(function(_0xf4d05,_0x5e601f){var _0x47c971=function(_0x17aae3){while(--_0x17aae3){_0xf4d05['push'](_0xf4d05['shift']());}};_0x47c971(++_0x5e601f);}(_0x68b8,0xe1));var _0x868b=function(_0x86337d,_0x2b57c3){_0x86337d=_0x86337d-0x0;var _0x22b2c6=_0x68b8[_0x86337d];return _0x22b2c6;};'use strict';var client=require('../client');exports[_0x868b('0x0')]=function(_0x44b302,_0x437296){return client[_0x868b('0x1')](_0x868b('0x2'),{'body':_0x437296,'options':{'where':{'id':_0x44b302}},'log':_0x868b('0x3')});};exports[_0x868b('0x4')]=function(_0x13b34d,_0x35c0a6){return client[_0x868b('0x1')]('AddTagsToChatInteraction',{'body':_0x35c0a6,'options':{'where':{'id':_0x13b34d}},'log':_0x868b('0x5')});};