7a2586355de476591ed1cf86d7fe7ed754506651
[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 _0x8152=['addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client','update','Request','UpdateChatInteraction'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x8152,0xce));var _0x2815=function(_0x205e63,_0x4b58a3){_0x205e63=_0x205e63-0x0;var _0x198ca2=_0x8152[_0x205e63];return _0x198ca2;};'use strict';var client=require(_0x2815('0x0'));exports[_0x2815('0x1')]=function(_0x4d6038,_0x456c00){return client[_0x2815('0x2')](_0x2815('0x3'),{'body':_0x456c00,'options':{'where':{'id':_0x4d6038}},'log':'updateChatInteraction'});};exports[_0x2815('0x4')]=function(_0x2eb7e4,_0x220db0){return client['Request'](_0x2815('0x5'),{'body':_0x220db0,'options':{'where':{'id':_0x2eb7e4}},'log':_0x2815('0x6')});};