10109939271fd62e1292d340ba9a9b9c00c5ee25
[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 _0x65ae=['updateOpenchannelInteraction','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','update','Request'];(function(_0x46361e,_0x243aaf){var _0x14e302=function(_0x9ebecf){while(--_0x9ebecf){_0x46361e['push'](_0x46361e['shift']());}};_0x14e302(++_0x243aaf);}(_0x65ae,0x135));var _0xe65a=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x65ae[_0x20a584];return _0x4b41a8;};'use strict';var client=require(_0xe65a('0x0'));exports[_0xe65a('0x1')]=function(_0x50593a,_0x1c15c4){return client[_0xe65a('0x2')]('UpdateOpenchannelInteraction',{'body':_0x1c15c4,'options':{'where':{'id':_0x50593a}},'log':_0xe65a('0x3')});};exports['addTags']=function(_0xc4ca5e,_0x4eed27){return client[_0xe65a('0x2')](_0xe65a('0x4'),{'body':_0x4eed27,'options':{'where':{'id':_0xc4ca5e}},'log':_0xe65a('0x5')});};