82d86c43d15d51a2555accee792ed753f41af0f9
[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 _0x806d=['CreateOpenchannelQueueReport','update','Request','UpdateOpenchannelQueueReport','DESC','create'];(function(_0x84b1da,_0x3ae92d){var _0x4295d8=function(_0x54f403){while(--_0x54f403){_0x84b1da['push'](_0x84b1da['shift']());}};_0x4295d8(++_0x3ae92d);}(_0x806d,0x1df));var _0xd806=function(_0x3f62ea,_0x4c074b){_0x3f62ea=_0x3f62ea-0x0;var _0x28e191=_0x806d[_0x3f62ea];return _0x28e191;};'use strict';var client=require('../client');exports[_0xd806('0x0')]=function(_0x18a935){return client['Request'](_0xd806('0x1'),{'body':_0x18a935,'log':_0xd806('0x1')});};exports[_0xd806('0x2')]=function(_0x305adc,_0x40cad4){return client[_0xd806('0x3')](_0xd806('0x4'),{'body':_0x40cad4,'options':{'where':{'uniqueid':_0x305adc},'order':[['id',_0xd806('0x5')]],'limit':0x1},'log':_0xd806('0x4')});};