b16a9b097ccd39a85d2ac192f0d18ff5c7803117
[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 _0x220d=['UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTagsToChatInteraction','update','Request'];(function(_0x233841,_0x1f6d2e){var _0x4a7ad9=function(_0x5d4aa0){while(--_0x5d4aa0){_0x233841['push'](_0x233841['shift']());}};_0x4a7ad9(++_0x1f6d2e);}(_0x220d,0xc1));var _0xd220=function(_0x37c6aa,_0x2d4052){_0x37c6aa=_0x37c6aa-0x0;var _0x519e87=_0x220d[_0x37c6aa];return _0x519e87;};'use strict';var client=require('../client');exports[_0xd220('0x0')]=function(_0x1ff11e,_0x37445b){return client[_0xd220('0x1')](_0xd220('0x2'),{'body':_0x37445b,'options':{'where':{'id':_0x1ff11e}},'log':_0xd220('0x3')});};exports['addTags']=function(_0x422d01,_0x270931){return client[_0xd220('0x1')]('AddTagsToOpenchannelInteraction',{'body':_0x270931,'options':{'where':{'id':_0x422d01}},'log':_0xd220('0x4')});};