e9450bc64fa5c2f56c7e2c0bab1ec1013d9236b0
[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 _0xfc73=['UpdateOpenchannelQueueReport','DESC','../client','create','Request','CreateOpenchannelQueueReport','update'];(function(_0x420d8d,_0x78b67f){var _0x4865d7=function(_0x2965df){while(--_0x2965df){_0x420d8d['push'](_0x420d8d['shift']());}};_0x4865d7(++_0x78b67f);}(_0xfc73,0x1e5));var _0x3fc7=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xfc73[_0x122ef9];return _0x42fba0;};'use strict';var client=require(_0x3fc7('0x0'));exports[_0x3fc7('0x1')]=function(_0x488b5e){return client[_0x3fc7('0x2')](_0x3fc7('0x3'),{'body':_0x488b5e,'log':_0x3fc7('0x3')});};exports[_0x3fc7('0x4')]=function(_0x49275d,_0x557ec3){return client[_0x3fc7('0x2')](_0x3fc7('0x5'),{'body':_0x557ec3,'options':{'where':{'uniqueid':_0x49275d},'order':[['id',_0x3fc7('0x6')]],'limit':0x1},'log':_0x3fc7('0x5')});};