Built motion from commit a61a4a20.|2.5.46
[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 _0x5cfb=['create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','../client'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x5cfb,0x107));var _0xb5cf=function(_0x101ba9,_0x377658){_0x101ba9=_0x101ba9-0x0;var _0x5dcebc=_0x5cfb[_0x101ba9];return _0x5dcebc;};'use strict';var client=require(_0xb5cf('0x0'));exports[_0xb5cf('0x1')]=function(_0x226445){return client[_0xb5cf('0x2')](_0xb5cf('0x3'),{'body':_0x226445,'log':_0xb5cf('0x3')});};exports[_0xb5cf('0x4')]=function(_0x42c64d,_0x5ce461){return client[_0xb5cf('0x2')](_0xb5cf('0x5'),{'body':_0x5ce461,'options':{'where':{'uniqueid':_0x42c64d},'order':[['id','DESC']],'limit':0x1},'log':_0xb5cf('0x5')});};