Built motion from commit 00bf23f6.|2.6.16
[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 _0x430f=['../client','UpdateOpenchannelInteraction','updateOpenchannelInteraction','Request','AddTagsToOpenchannelInteraction','addTagsToChatInteraction'];(function(_0x1c85ce,_0x502bd7){var _0x5a2d6a=function(_0x545ea6){while(--_0x545ea6){_0x1c85ce['push'](_0x1c85ce['shift']());}};_0x5a2d6a(++_0x502bd7);}(_0x430f,0x84));var _0xf430=function(_0x4dfbe6,_0x2eecb9){_0x4dfbe6=_0x4dfbe6-0x0;var _0x1b3e0f=_0x430f[_0x4dfbe6];return _0x1b3e0f;};'use strict';var client=require(_0xf430('0x0'));exports['update']=function(_0x11ffea,_0x3c8c52){return client['Request'](_0xf430('0x1'),{'body':_0x3c8c52,'options':{'where':{'id':_0x11ffea}},'log':_0xf430('0x2')});};exports['addTags']=function(_0x2d9593,_0x3ac946){return client[_0xf430('0x3')](_0xf430('0x4'),{'body':_0x3ac946,'options':{'where':{'id':_0x2d9593}},'log':_0xf430('0x5')});};