decdbaacfdcad4f52915117e8922a835d17c544b
[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 _0x53d9=['Request','UpdateChatInteraction','updateChatInteraction','addTags','update'];(function(_0x4ce603,_0x303fba){var _0xc152a1=function(_0x27cbdb){while(--_0x27cbdb){_0x4ce603['push'](_0x4ce603['shift']());}};_0xc152a1(++_0x303fba);}(_0x53d9,0x16c));var _0x953d=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x53d9[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0x953d('0x0')]=function(_0x158ff1,_0x250cba){return client[_0x953d('0x1')](_0x953d('0x2'),{'body':_0x250cba,'options':{'where':{'id':_0x158ff1}},'log':_0x953d('0x3')});};exports[_0x953d('0x4')]=function(_0x2e382e,_0x509eb9){return client[_0x953d('0x1')]('AddTagsToChatInteraction',{'body':_0x509eb9,'options':{'where':{'id':_0x2e382e}},'log':'addTagsToChatInteraction'});};