Built motion from commit 9d1906d1.|2.5.40
[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 _0x53f4=['update','Request','UpdateChatInteraction','updateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction'];(function(_0x3a3a2c,_0x2e496c){var _0x488315=function(_0x188603){while(--_0x188603){_0x3a3a2c['push'](_0x3a3a2c['shift']());}};_0x488315(++_0x2e496c);}(_0x53f4,0xbd));var _0x453f=function(_0x14fd4e,_0x45a172){_0x14fd4e=_0x14fd4e-0x0;var _0x21ef11=_0x53f4[_0x14fd4e];return _0x21ef11;};'use strict';var client=require('../client');exports[_0x453f('0x0')]=function(_0x36f9a1,_0x35c3fd){return client[_0x453f('0x1')](_0x453f('0x2'),{'body':_0x35c3fd,'options':{'where':{'id':_0x36f9a1}},'log':_0x453f('0x3')});};exports[_0x453f('0x4')]=function(_0x16ca8e,_0x288c79){return client['Request'](_0x453f('0x5'),{'body':_0x288c79,'options':{'where':{'id':_0x16ca8e}},'log':_0x453f('0x6')});};