716842d3fccfd63da486956f9419a5fd69a39a30
[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 _0xf99c=['update','UpdateChatInteraction','addTags','AddTagsToChatInteraction'];(function(_0x137e81,_0x3541c4){var _0x5f14e1=function(_0x23786a){while(--_0x23786a){_0x137e81['push'](_0x137e81['shift']());}};_0x5f14e1(++_0x3541c4);}(_0xf99c,0x88));var _0xcf99=function(_0x312734,_0x3e4449){_0x312734=_0x312734-0x0;var _0x4c92f0=_0xf99c[_0x312734];return _0x4c92f0;};'use strict';var client=require('../client');exports[_0xcf99('0x0')]=function(_0x4e3ebb,_0x4044f5){return client['Request'](_0xcf99('0x1'),{'body':_0x4044f5,'options':{'where':{'id':_0x4e3ebb}},'log':'updateChatInteraction'});};exports[_0xcf99('0x2')]=function(_0x16485e,_0x4dbfab){return client['Request'](_0xcf99('0x3'),{'body':_0x4dbfab,'options':{'where':{'id':_0x16485e}},'log':'addTagsToChatInteraction'});};