095fc6bb8c89729560fe12745735ed0341db475a
[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 _0x4b26=['DESC','UpdateOpenchannelQueueReport','../client','create','CreateOpenchannelQueueReport','update','Request'];(function(_0x197dd7,_0x343460){var _0x42b03a=function(_0x4c5e4e){while(--_0x4c5e4e){_0x197dd7['push'](_0x197dd7['shift']());}};_0x42b03a(++_0x343460);}(_0x4b26,0xe2));var _0x64b2=function(_0x5311d7,_0x148bc4){_0x5311d7=_0x5311d7-0x0;var _0x339131=_0x4b26[_0x5311d7];return _0x339131;};'use strict';var client=require(_0x64b2('0x0'));exports[_0x64b2('0x1')]=function(_0x35bef0){return client['Request'](_0x64b2('0x2'),{'body':_0x35bef0,'log':_0x64b2('0x2')});};exports[_0x64b2('0x3')]=function(_0x2ec661,_0x227805){return client[_0x64b2('0x4')]('UpdateOpenchannelQueueReport',{'body':_0x227805,'options':{'where':{'uniqueid':_0x2ec661},'order':[['id',_0x64b2('0x5')]],'limit':0x1},'log':_0x64b2('0x6')});};