9e5a2e9e7de7443085e0fd60ddb29298baf7bc3b
[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 _0xa7b1=['UpdateOpenchannelQueueReport','DESC','create','Request','CreateOpenchannelQueueReport','update'];(function(_0x54f78b,_0x2c7990){var _0x41f47b=function(_0x1da120){while(--_0x1da120){_0x54f78b['push'](_0x54f78b['shift']());}};_0x41f47b(++_0x2c7990);}(_0xa7b1,0x194));var _0x1a7b=function(_0x2f2642,_0x21b86a){_0x2f2642=_0x2f2642-0x0;var _0x336dff=_0xa7b1[_0x2f2642];return _0x336dff;};'use strict';var client=require('../client');exports[_0x1a7b('0x0')]=function(_0x5284e3){return client[_0x1a7b('0x1')](_0x1a7b('0x2'),{'body':_0x5284e3,'log':_0x1a7b('0x2')});};exports[_0x1a7b('0x3')]=function(_0x1f6f8d,_0x43c1ca){return client[_0x1a7b('0x1')](_0x1a7b('0x4'),{'body':_0x43c1ca,'options':{'where':{'uniqueid':_0x1f6f8d},'order':[['id',_0x1a7b('0x5')]],'limit':0x1},'log':_0x1a7b('0x4')});};