Built motion from commit da24aabd.|2.6.20
[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 _0xeaf5=['addTags','../client','Request','updateChatInteraction'];(function(_0x196b93,_0x4a78a0){var _0x2eea5c=function(_0x2bcb37){while(--_0x2bcb37){_0x196b93['push'](_0x196b93['shift']());}};_0x2eea5c(++_0x4a78a0);}(_0xeaf5,0x175));var _0x5eaf=function(_0x21c23e,_0x1d33e3){_0x21c23e=_0x21c23e-0x0;var _0xa7b7e2=_0xeaf5[_0x21c23e];return _0xa7b7e2;};'use strict';var client=require(_0x5eaf('0x0'));exports['update']=function(_0x462ce4,_0x225b6f){return client[_0x5eaf('0x1')]('UpdateChatInteraction',{'body':_0x225b6f,'options':{'where':{'id':_0x462ce4}},'log':_0x5eaf('0x2')});};exports[_0x5eaf('0x3')]=function(_0xc7c46,_0x50df1b){return client[_0x5eaf('0x1')]('AddTagsToChatInteraction',{'body':_0x50df1b,'options':{'where':{'id':_0xc7c46}},'log':'addTagsToChatInteraction'});};