36434c86b5ec80040ba8419904a5672afa76ff20
[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 _0xf795=['addTagsToChatInteraction','../client','update','Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0x86e08b,_0x518d0a){var _0x8684bd=function(_0x5d5313){while(--_0x5d5313){_0x86e08b['push'](_0x86e08b['shift']());}};_0x8684bd(++_0x518d0a);}(_0xf795,0xb7));var _0x5f79=function(_0x8bf471,_0x2e9da0){_0x8bf471=_0x8bf471-0x0;var _0x3d93d7=_0xf795[_0x8bf471];return _0x3d93d7;};'use strict';var client=require(_0x5f79('0x0'));exports[_0x5f79('0x1')]=function(_0xaa9dc1,_0x5d4ac6){return client[_0x5f79('0x2')](_0x5f79('0x3'),{'body':_0x5d4ac6,'options':{'where':{'id':_0xaa9dc1}},'log':'updateOpenchannelInteraction'});};exports[_0x5f79('0x4')]=function(_0x552f71,_0x1bc2a8){return client['Request'](_0x5f79('0x5'),{'body':_0x1bc2a8,'options':{'where':{'id':_0x552f71}},'log':_0x5f79('0x6')});};