137cb8091280353598f3ba2ef14e3a125ac992ca
[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 _0xd88d=['update','Request','updateChatInteraction','AddTagsToChatInteraction'];(function(_0x412e27,_0x20a978){var _0x53da42=function(_0x43cae5){while(--_0x43cae5){_0x412e27['push'](_0x412e27['shift']());}};_0x53da42(++_0x20a978);}(_0xd88d,0x1d0));var _0xdd88=function(_0x467891,_0x5203a4){_0x467891=_0x467891-0x0;var _0x38c7b9=_0xd88d[_0x467891];return _0x38c7b9;};'use strict';var client=require('../client');exports[_0xdd88('0x0')]=function(_0x3b336b,_0x2c44a9){return client[_0xdd88('0x1')]('UpdateChatInteraction',{'body':_0x2c44a9,'options':{'where':{'id':_0x3b336b}},'log':_0xdd88('0x2')});};exports['addTags']=function(_0x2c7390,_0x57ef90){return client[_0xdd88('0x1')](_0xdd88('0x3'),{'body':_0x57ef90,'options':{'where':{'id':_0x2c7390}},'log':'addTagsToChatInteraction'});};