6d8a22086cb8c10bf011517bc356fff08b16577e
[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 _0x5781=['update','UpdateChatInteraction','addTags','Request','AddTagsToChatInteraction','addTagsToChatInteraction','../client'];(function(_0xf2af61,_0x5c7551){var _0x4acae6=function(_0x1bfab2){while(--_0x1bfab2){_0xf2af61['push'](_0xf2af61['shift']());}};_0x4acae6(++_0x5c7551);}(_0x5781,0xdf));var _0x1578=function(_0x2d6780,_0x46cd62){_0x2d6780=_0x2d6780-0x0;var _0x3f1b8f=_0x5781[_0x2d6780];return _0x3f1b8f;};'use strict';var client=require(_0x1578('0x0'));exports[_0x1578('0x1')]=function(_0x2c9f24,_0xe11a95){return client['Request'](_0x1578('0x2'),{'body':_0xe11a95,'options':{'where':{'id':_0x2c9f24}},'log':'updateChatInteraction'});};exports[_0x1578('0x3')]=function(_0x15bc3b,_0xd815d8){return client[_0x1578('0x4')](_0x1578('0x5'),{'body':_0xd815d8,'options':{'where':{'id':_0x15bc3b}},'log':_0x1578('0x6')});};