Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / services / routing / rpc / openchannelQueueReport.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 _0xe0bc=['../client','DESC','UpdateOpenchannelQueueReport'];(function(_0xdf36e0,_0x32103a){var _0x4b75a4=function(_0x183fa7){while(--_0x183fa7){_0xdf36e0['push'](_0xdf36e0['shift']());}};_0x4b75a4(++_0x32103a);}(_0xe0bc,0xe1));var _0xce0b=function(_0x62e7ec,_0x38bf0c){_0x62e7ec=_0x62e7ec-0x0;var _0x1403bc=_0xe0bc[_0x62e7ec];return _0x1403bc;};'use strict';var client=require(_0xce0b('0x0'));exports['create']=function(_0x113c1f){return client['Request']('CreateOpenchannelQueueReport',{'body':_0x113c1f,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x329a9c,_0xb64669){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0xb64669,'options':{'where':{'uniqueid':_0x329a9c},'order':[['id',_0xce0b('0x1')]],'limit':0x1},'log':_0xce0b('0x2')});};