33075efbee8a68eed9d6a879753c005e8bcbed03
[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 _0x3aee=['addTags','addTagsToChatInteraction','Request','UpdateChatInteraction'];(function(_0x2c4e45,_0x285adb){var _0x503ea0=function(_0x66696f){while(--_0x66696f){_0x2c4e45['push'](_0x2c4e45['shift']());}};_0x503ea0(++_0x285adb);}(_0x3aee,0xfa));var _0xe3ae=function(_0x88cd7b,_0x4c884c){_0x88cd7b=_0x88cd7b-0x0;var _0x56fcc8=_0x3aee[_0x88cd7b];return _0x56fcc8;};'use strict';var client=require('../client');exports['update']=function(_0x3da807,_0x2987fb){return client[_0xe3ae('0x0')](_0xe3ae('0x1'),{'body':_0x2987fb,'options':{'where':{'id':_0x3da807}},'log':'updateChatInteraction'});};exports[_0xe3ae('0x2')]=function(_0x143ef6,_0x332821){return client['Request']('AddTagsToChatInteraction',{'body':_0x332821,'options':{'where':{'id':_0x143ef6}},'log':_0xe3ae('0x3')});};