d7ebff2a0443beca7a5055de985f442dd5e05907
[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 _0xc240=['Request','UpdateOpenchannelInteraction','addTagsToChatInteraction','update'];(function(_0x2c1e7a,_0x155f86){var _0xcacb4f=function(_0x2b2eb3){while(--_0x2b2eb3){_0x2c1e7a['push'](_0x2c1e7a['shift']());}};_0xcacb4f(++_0x155f86);}(_0xc240,0x11f));var _0x0c24=function(_0x338229,_0x5880ab){_0x338229=_0x338229-0x0;var _0x38af9e=_0xc240[_0x338229];return _0x38af9e;};'use strict';var client=require('../client');exports[_0x0c24('0x0')]=function(_0x12d122,_0x1e03e7){return client[_0x0c24('0x1')](_0x0c24('0x2'),{'body':_0x1e03e7,'options':{'where':{'id':_0x12d122}},'log':'updateOpenchannelInteraction'});};exports['addTags']=function(_0x3701d5,_0x18a1f3){return client[_0x0c24('0x1')]('AddTagsToOpenchannelInteraction',{'body':_0x18a1f3,'options':{'where':{'id':_0x3701d5}},'log':_0x0c24('0x3')});};