Built motion from commit bab6f49e.|2.6.17
[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 _0xf707=['../client','create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0xb6a965,_0x5c5ace){var _0x51d37d=function(_0x1c7c0d){while(--_0x1c7c0d){_0xb6a965['push'](_0xb6a965['shift']());}};_0x51d37d(++_0x5c5ace);}(_0xf707,0xde));var _0x7f70=function(_0x55dee6,_0x2513a0){_0x55dee6=_0x55dee6-0x0;var _0x220030=_0xf707[_0x55dee6];return _0x220030;};'use strict';var client=require(_0x7f70('0x0'));exports[_0x7f70('0x1')]=function(_0xd9ee68){return client[_0x7f70('0x2')](_0x7f70('0x3'),{'body':_0xd9ee68,'log':'CreateOpenchannelQueueReport'});};exports[_0x7f70('0x4')]=function(_0x21fd5a,_0x2f9d68){return client['Request'](_0x7f70('0x5'),{'body':_0x2f9d68,'options':{'where':{'uniqueid':_0x21fd5a},'order':[['id','DESC']],'limit':0x1},'log':_0x7f70('0x5')});};