Built motion from commit (unavailable).|2.5.14
[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 _0x6420=['../client','create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport','DESC'];(function(_0x48d178,_0x31506c){var _0x165d95=function(_0x4af06c){while(--_0x4af06c){_0x48d178['push'](_0x48d178['shift']());}};_0x165d95(++_0x31506c);}(_0x6420,0xcc));var _0x0642=function(_0x2a55f8,_0x540ac4){_0x2a55f8=_0x2a55f8-0x0;var _0x245efd=_0x6420[_0x2a55f8];return _0x245efd;};'use strict';var client=require(_0x0642('0x0'));exports[_0x0642('0x1')]=function(_0x20f65f){return client[_0x0642('0x2')](_0x0642('0x3'),{'body':_0x20f65f,'log':_0x0642('0x3')});};exports['update']=function(_0x5cfc02,_0x98e9ab){return client[_0x0642('0x2')](_0x0642('0x4'),{'body':_0x98e9ab,'options':{'where':{'uniqueid':_0x5cfc02},'order':[['id',_0x0642('0x5')]],'limit':0x1},'log':_0x0642('0x4')});};