Built motion from commit 746c7d2a.|2.5.35
[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 _0xca75=['Request','updateOpenchannelInteraction','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client'];(function(_0x28ef66,_0x698e26){var _0x2bc9f5=function(_0x52f878){while(--_0x52f878){_0x28ef66['push'](_0x28ef66['shift']());}};_0x2bc9f5(++_0x698e26);}(_0xca75,0xbd));var _0x5ca7=function(_0x76d2ec,_0x45ea7c){_0x76d2ec=_0x76d2ec-0x0;var _0x540bdc=_0xca75[_0x76d2ec];return _0x540bdc;};'use strict';var client=require(_0x5ca7('0x0'));exports['update']=function(_0x531124,_0x5b3771){return client[_0x5ca7('0x1')]('UpdateOpenchannelInteraction',{'body':_0x5b3771,'options':{'where':{'id':_0x531124}},'log':_0x5ca7('0x2')});};exports['addTags']=function(_0x5c8fa5,_0x276211){return client[_0x5ca7('0x1')](_0x5ca7('0x3'),{'body':_0x276211,'options':{'where':{'id':_0x5c8fa5}},'log':_0x5ca7('0x4')});};