Built motion from commit 092f8824.|2.5.49
[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 _0x2858=['../client','Request','UpdateOpenchannelInteraction','addTags'];(function(_0x1f7c99,_0x3b3b77){var _0xb5ce8e=function(_0x589071){while(--_0x589071){_0x1f7c99['push'](_0x1f7c99['shift']());}};_0xb5ce8e(++_0x3b3b77);}(_0x2858,0x1a8));var _0x8285=function(_0x2c1a42,_0xd235a2){_0x2c1a42=_0x2c1a42-0x0;var _0x400e07=_0x2858[_0x2c1a42];return _0x400e07;};'use strict';var client=require(_0x8285('0x0'));exports['update']=function(_0x201f5a,_0x39497c){return client[_0x8285('0x1')](_0x8285('0x2'),{'body':_0x39497c,'options':{'where':{'id':_0x201f5a}},'log':'updateOpenchannelInteraction'});};exports[_0x8285('0x3')]=function(_0x1eaa5a,_0x1f92e3){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0x1f92e3,'options':{'where':{'id':_0x1eaa5a}},'log':'addTagsToChatInteraction'});};