8812b4f9cf10ca93d664fd6ef96963c6a6c04eba
[motion2.git] / server / services / routing / rpc / openchannelInteraction.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 _0xe900=['addTags','Request','update','UpdateOpenchannelInteraction','updateOpenchannelInteraction'];(function(_0x5d6456,_0x58ecc7){var _0x4d66c1=function(_0x4335e3){while(--_0x4335e3){_0x5d6456['push'](_0x5d6456['shift']());}};_0x4d66c1(++_0x58ecc7);}(_0xe900,0x93));var _0x0e90=function(_0x262238,_0xe70c9){_0x262238=_0x262238-0x0;var _0x193921=_0xe900[_0x262238];return _0x193921;};'use strict';var client=require('../client');exports[_0x0e90('0x0')]=function(_0x2a87ae,_0x1e79d6){return client['Request'](_0x0e90('0x1'),{'body':_0x1e79d6,'options':{'where':{'id':_0x2a87ae}},'log':_0x0e90('0x2')});};exports[_0x0e90('0x3')]=function(_0x106a46,_0x44e05b){return client[_0x0e90('0x4')]('AddTagsToOpenchannelInteraction',{'body':_0x44e05b,'options':{'where':{'id':_0x106a46}},'log':'addTagsToChatInteraction'});};