Built motion from commit e0fa946e.|2.6.5
[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 _0x72c9=['../client','create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0x12edf3,_0x2dc683){var _0x3e8216=function(_0x421e37){while(--_0x421e37){_0x12edf3['push'](_0x12edf3['shift']());}};_0x3e8216(++_0x2dc683);}(_0x72c9,0xcc));var _0x972c=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x72c9[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x972c('0x0'));exports[_0x972c('0x1')]=function(_0x4c91e5){return client[_0x972c('0x2')](_0x972c('0x3'),{'body':_0x4c91e5,'log':'CreateOpenchannelQueueReport'});};exports[_0x972c('0x4')]=function(_0x122df2,_0x20c18b){return client['Request'](_0x972c('0x5'),{'body':_0x20c18b,'options':{'where':{'uniqueid':_0x122df2},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};