d89cf7d8368045534fa08e7ee5a0e916d5ac94b9
[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 _0xca2b=['Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','update'];(function(_0x564615,_0x51000c){var _0x3e5c3c=function(_0x35b777){while(--_0x35b777){_0x564615['push'](_0x564615['shift']());}};_0x3e5c3c(++_0x51000c);}(_0xca2b,0x176));var _0xbca2=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xca2b[_0x2c91e9];return _0x13f0ff;};'use strict';var client=require('../client');exports[_0xbca2('0x0')]=function(_0x443b56,_0x452245){return client[_0xbca2('0x1')](_0xbca2('0x2'),{'body':_0x452245,'options':{'where':{'id':_0x443b56}},'log':'updateOpenchannelInteraction'});};exports[_0xbca2('0x3')]=function(_0x271967,_0x34c711){return client[_0xbca2('0x1')](_0xbca2('0x4'),{'body':_0x34c711,'options':{'where':{'id':_0x271967}},'log':'addTagsToChatInteraction'});};