971e60394df773e3b156d4f8e88fc00ac35c1d65
[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 _0x096b=['create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','../client'];(function(_0x305a1d,_0x566a0e){var _0x41cc57=function(_0x259e7c){while(--_0x259e7c){_0x305a1d['push'](_0x305a1d['shift']());}};_0x41cc57(++_0x566a0e);}(_0x096b,0x149));var _0xb096=function(_0x31cb3f,_0x1154af){_0x31cb3f=_0x31cb3f-0x0;var _0x53d1e2=_0x096b[_0x31cb3f];return _0x53d1e2;};'use strict';var client=require(_0xb096('0x0'));exports[_0xb096('0x1')]=function(_0x322666){return client[_0xb096('0x2')](_0xb096('0x3'),{'body':_0x322666,'log':_0xb096('0x3')});};exports[_0xb096('0x4')]=function(_0x344e0a,_0x589b94){return client[_0xb096('0x2')](_0xb096('0x5'),{'body':_0x589b94,'options':{'where':{'uniqueid':_0x344e0a},'order':[['id','DESC']],'limit':0x1},'log':_0xb096('0x5')});};