Built motion from commit 753c950e.|2.5.42
[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 _0x42d2=['Request','AddTagsToChatInteraction','../client','update','UpdateChatInteraction'];(function(_0x578d47,_0x30ba49){var _0x2f6ca8=function(_0x78f0b4){while(--_0x78f0b4){_0x578d47['push'](_0x578d47['shift']());}};_0x2f6ca8(++_0x30ba49);}(_0x42d2,0x10b));var _0x242d=function(_0x1b5aea,_0x3f04b7){_0x1b5aea=_0x1b5aea-0x0;var _0x15cfc6=_0x42d2[_0x1b5aea];return _0x15cfc6;};'use strict';var client=require(_0x242d('0x0'));exports[_0x242d('0x1')]=function(_0x1da044,_0x40ef6f){return client['Request'](_0x242d('0x2'),{'body':_0x40ef6f,'options':{'where':{'id':_0x1da044}},'log':'updateChatInteraction'});};exports['addTags']=function(_0x569ea2,_0x573fe6){return client[_0x242d('0x3')](_0x242d('0x4'),{'body':_0x573fe6,'options':{'where':{'id':_0x569ea2}},'log':'addTagsToChatInteraction'});};