Built motion from commit 9e1399f3.|2.5.37
[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 _0xda03=['addTags','update','Request','UpdateChatInteraction'];(function(_0x79dd57,_0x94685a){var _0x236803=function(_0x43040b){while(--_0x43040b){_0x79dd57['push'](_0x79dd57['shift']());}};_0x236803(++_0x94685a);}(_0xda03,0x16d));var _0x3da0=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xda03[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0x3da0('0x0')]=function(_0x40064f,_0x2c4e0e){return client[_0x3da0('0x1')](_0x3da0('0x2'),{'body':_0x2c4e0e,'options':{'where':{'id':_0x40064f}},'log':'updateChatInteraction'});};exports[_0x3da0('0x3')]=function(_0x459867,_0x39becd){return client[_0x3da0('0x1')]('AddTagsToChatInteraction',{'body':_0x39becd,'options':{'where':{'id':_0x459867}},'log':'addTagsToChatInteraction'});};