Built motion from commit 10af8726.|2.6.34
[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 _0x88fa=['Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0x88fa,0x1d3));var _0xa88f=function(_0x386ee7,_0x22c4cb){_0x386ee7=_0x386ee7-0x0;var _0x5798c1=_0x88fa[_0x386ee7];return _0x5798c1;};'use strict';var client=require(_0xa88f('0x0'));exports['create']=function(_0x3a9105){return client[_0xa88f('0x1')](_0xa88f('0x2'),{'body':_0x3a9105,'log':_0xa88f('0x2')});};exports[_0xa88f('0x3')]=function(_0x5be83c,_0x53a4e8){return client[_0xa88f('0x1')](_0xa88f('0x4'),{'body':_0x53a4e8,'options':{'where':{'uniqueid':_0x5be83c},'order':[['id',_0xa88f('0x5')]],'limit':0x1},'log':_0xa88f('0x4')});};