f64cb23b702b98488bb4947fc7acf6f427dd4235
[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 _0x7766=['UpdateOpenchannelQueueReport','../client','create','CreateOpenchannelQueueReport','update','Request'];(function(_0x11c3f7,_0x51be41){var _0x234af2=function(_0x1f0895){while(--_0x1f0895){_0x11c3f7['push'](_0x11c3f7['shift']());}};_0x234af2(++_0x51be41);}(_0x7766,0x10f));var _0x6776=function(_0x517548,_0x118b97){_0x517548=_0x517548-0x0;var _0x1622e0=_0x7766[_0x517548];return _0x1622e0;};'use strict';var client=require(_0x6776('0x0'));exports[_0x6776('0x1')]=function(_0x4701c8){return client['Request'](_0x6776('0x2'),{'body':_0x4701c8,'log':_0x6776('0x2')});};exports[_0x6776('0x3')]=function(_0xa66fb5,_0x30c624){return client[_0x6776('0x4')](_0x6776('0x5'),{'body':_0x30c624,'options':{'where':{'uniqueid':_0xa66fb5},'order':[['id','DESC']],'limit':0x1},'log':_0x6776('0x5')});};