Built motion from commit 3c2ce842.|2.6.31
[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 _0xc418=['update','Request','updateChatInteraction','AddTagsToChatInteraction'];(function(_0x558165,_0xf5d905){var _0x41138d=function(_0x203da7){while(--_0x203da7){_0x558165['push'](_0x558165['shift']());}};_0x41138d(++_0xf5d905);}(_0xc418,0x1cc));var _0x8c41=function(_0x33fdfc,_0x7c0a3a){_0x33fdfc=_0x33fdfc-0x0;var _0xc0f0f1=_0xc418[_0x33fdfc];return _0xc0f0f1;};'use strict';var client=require('../client');exports[_0x8c41('0x0')]=function(_0x306b18,_0x939722){return client[_0x8c41('0x1')]('UpdateChatInteraction',{'body':_0x939722,'options':{'where':{'id':_0x306b18}},'log':_0x8c41('0x2')});};exports['addTags']=function(_0x295506,_0x1e633a){return client[_0x8c41('0x1')](_0x8c41('0x3'),{'body':_0x1e633a,'options':{'where':{'id':_0x295506}},'log':'addTagsToChatInteraction'});};