Built motion from commit (unavailable).|2.4.18
[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 _0x9a62=['create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','../client'];(function(_0x378202,_0x43fc34){var _0x1235d1=function(_0x12d492){while(--_0x12d492){_0x378202['push'](_0x378202['shift']());}};_0x1235d1(++_0x43fc34);}(_0x9a62,0xdd));var _0x29a6=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x9a62[_0x42cae2];return _0x5f256f;};'use strict';var client=require(_0x29a6('0x0'));exports[_0x29a6('0x1')]=function(_0x20974a){return client[_0x29a6('0x2')](_0x29a6('0x3'),{'body':_0x20974a,'log':_0x29a6('0x3')});};exports[_0x29a6('0x4')]=function(_0x586bbf,_0x2e1bdf){return client[_0x29a6('0x2')](_0x29a6('0x5'),{'body':_0x2e1bdf,'options':{'where':{'uniqueid':_0x586bbf},'order':[['id','DESC']],'limit':0x1},'log':_0x29a6('0x5')});};