Built motion from commit 3e059bc2.|2.5.32
[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 _0x3d44=['Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client'];(function(_0x7eed09,_0x2b04c1){var _0x430f11=function(_0x43c954){while(--_0x43c954){_0x7eed09['push'](_0x7eed09['shift']());}};_0x430f11(++_0x2b04c1);}(_0x3d44,0x1af));var _0x43d4=function(_0x5f0089,_0x227e2c){_0x5f0089=_0x5f0089-0x0;var _0x193892=_0x3d44[_0x5f0089];return _0x193892;};'use strict';var client=require(_0x43d4('0x0'));exports['update']=function(_0x1b0d30,_0x23c3e3){return client[_0x43d4('0x1')](_0x43d4('0x2'),{'body':_0x23c3e3,'options':{'where':{'id':_0x1b0d30}},'log':'updateOpenchannelInteraction'});};exports[_0x43d4('0x3')]=function(_0x30790f,_0x222eb4){return client[_0x43d4('0x1')](_0x43d4('0x4'),{'body':_0x222eb4,'options':{'where':{'id':_0x30790f}},'log':_0x43d4('0x5')});};