e64ccd761a6573af8724364e4eeb4b4fa2463dd7
[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 _0x0e9b=['addTagsToChatInteraction','update','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction'];(function(_0x3552d2,_0x3c7fc8){var _0x1d1a21=function(_0x5e14bc){while(--_0x5e14bc){_0x3552d2['push'](_0x3552d2['shift']());}};_0x1d1a21(++_0x3c7fc8);}(_0x0e9b,0x65));var _0xb0e9=function(_0x4f9ac7,_0x123f23){_0x4f9ac7=_0x4f9ac7-0x0;var _0x1305e9=_0x0e9b[_0x4f9ac7];return _0x1305e9;};'use strict';var client=require('../client');exports[_0xb0e9('0x0')]=function(_0x36d630,_0x441081){return client[_0xb0e9('0x1')](_0xb0e9('0x2'),{'body':_0x441081,'options':{'where':{'id':_0x36d630}},'log':_0xb0e9('0x3')});};exports['addTags']=function(_0x323c8b,_0x3aee39){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0x3aee39,'options':{'where':{'id':_0x323c8b}},'log':_0xb0e9('0x4')});};