fa31a165102c82b84ec0cb5b2f7f0725a4f9592d
[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 _0x6ba0=['updateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client','Request','UpdateChatInteraction'];(function(_0x435727,_0x3ad769){var _0x59de63=function(_0x4b6712){while(--_0x4b6712){_0x435727['push'](_0x435727['shift']());}};_0x59de63(++_0x3ad769);}(_0x6ba0,0x11c));var _0x06ba=function(_0x188a27,_0x284d2d){_0x188a27=_0x188a27-0x0;var _0x448d36=_0x6ba0[_0x188a27];return _0x448d36;};'use strict';var client=require(_0x06ba('0x0'));exports['update']=function(_0x1eadcb,_0x42f7ea){return client[_0x06ba('0x1')](_0x06ba('0x2'),{'body':_0x42f7ea,'options':{'where':{'id':_0x1eadcb}},'log':_0x06ba('0x3')});};exports[_0x06ba('0x4')]=function(_0x1599a7,_0x5c12fa){return client[_0x06ba('0x1')](_0x06ba('0x5'),{'body':_0x5c12fa,'options':{'where':{'id':_0x1599a7}},'log':_0x06ba('0x6')});};