604845884aa1db3ad5596c36a639b7f3ca814e94
[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 _0xb54a=['Request','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','update','UpdateOpenchannelInteraction','addTags'];(function(_0x3e8dfc,_0x5b6f38){var _0x4c1adf=function(_0x4548fa){while(--_0x4548fa){_0x3e8dfc['push'](_0x3e8dfc['shift']());}};_0x4c1adf(++_0x5b6f38);}(_0xb54a,0x123));var _0xab54=function(_0x4c4564,_0x242e57){_0x4c4564=_0x4c4564-0x0;var _0x19eb4b=_0xb54a[_0x4c4564];return _0x19eb4b;};'use strict';var client=require('../client');exports[_0xab54('0x0')]=function(_0x4baa0f,_0x4cbe30){return client['Request'](_0xab54('0x1'),{'body':_0x4cbe30,'options':{'where':{'id':_0x4baa0f}},'log':'updateOpenchannelInteraction'});};exports[_0xab54('0x2')]=function(_0x2015f8,_0x4a4bb3){return client[_0xab54('0x3')](_0xab54('0x4'),{'body':_0x4a4bb3,'options':{'where':{'id':_0x2015f8}},'log':_0xab54('0x5')});};