Built motion from commit 85328c08.|2.5.50
[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 _0xa365=['addTagsToChatInteraction','../client','Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0x2011ae,_0x4bec4b){var _0x1bfa52=function(_0x3492da){while(--_0x3492da){_0x2011ae['push'](_0x2011ae['shift']());}};_0x1bfa52(++_0x4bec4b);}(_0xa365,0x1ed));var _0x5a36=function(_0x3f0a10,_0x244777){_0x3f0a10=_0x3f0a10-0x0;var _0x22475f=_0xa365[_0x3f0a10];return _0x22475f;};'use strict';var client=require(_0x5a36('0x0'));exports['update']=function(_0x4090fa,_0x26fb6b){return client[_0x5a36('0x1')](_0x5a36('0x2'),{'body':_0x26fb6b,'options':{'where':{'id':_0x4090fa}},'log':'updateOpenchannelInteraction'});};exports[_0x5a36('0x3')]=function(_0x113ca1,_0x86c9ce){return client[_0x5a36('0x1')](_0x5a36('0x4'),{'body':_0x86c9ce,'options':{'where':{'id':_0x113ca1}},'log':_0x5a36('0x5')});};