be5a68178656bcf7b4f206234f0ee1d41d6d6009
[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 _0x23aa=['addTags','update','Request'];(function(_0xce4431,_0x56931a){var _0x33d018=function(_0x231d53){while(--_0x231d53){_0xce4431['push'](_0xce4431['shift']());}};_0x33d018(++_0x56931a);}(_0x23aa,0x6d));var _0xa23a=function(_0x2f75fd,_0x285b18){_0x2f75fd=_0x2f75fd-0x0;var _0x59f5ca=_0x23aa[_0x2f75fd];return _0x59f5ca;};'use strict';var client=require('../client');exports[_0xa23a('0x0')]=function(_0x3d547f,_0x5ef9c2){return client[_0xa23a('0x1')]('UpdateChatInteraction',{'body':_0x5ef9c2,'options':{'where':{'id':_0x3d547f}},'log':'updateChatInteraction'});};exports[_0xa23a('0x2')]=function(_0x3e93e7,_0x2d6780){return client['Request']('AddTagsToChatInteraction',{'body':_0x2d6780,'options':{'where':{'id':_0x3e93e7}},'log':'addTagsToChatInteraction'});};