Built motion from commit (unavailable).|2.5.9
[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 _0xd4a6=['../client','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC'];(function(_0x60a935,_0x4fae24){var _0x4e22a0=function(_0x395a0a){while(--_0x395a0a){_0x60a935['push'](_0x60a935['shift']());}};_0x4e22a0(++_0x4fae24);}(_0xd4a6,0x162));var _0x6d4a=function(_0x346cfd,_0xc115d7){_0x346cfd=_0x346cfd-0x0;var _0x9b7d2c=_0xd4a6[_0x346cfd];return _0x9b7d2c;};'use strict';var client=require(_0x6d4a('0x0'));exports['create']=function(_0x398334){return client[_0x6d4a('0x1')](_0x6d4a('0x2'),{'body':_0x398334,'log':_0x6d4a('0x2')});};exports[_0x6d4a('0x3')]=function(_0x230b90,_0x40e091){return client[_0x6d4a('0x1')](_0x6d4a('0x4'),{'body':_0x40e091,'options':{'where':{'uniqueid':_0x230b90},'order':[['id',_0x6d4a('0x5')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};