6a3a771ff1d2941f57615031c0ce214b1a87d05a
[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 _0xb1d9=['CreateOpenchannelQueueReport','update','DESC','../client','create','Request'];(function(_0x493552,_0x2cd527){var _0x243ea8=function(_0x531f6e){while(--_0x531f6e){_0x493552['push'](_0x493552['shift']());}};_0x243ea8(++_0x2cd527);}(_0xb1d9,0x147));var _0x9b1d=function(_0x1b1eb1,_0x5a57ab){_0x1b1eb1=_0x1b1eb1-0x0;var _0x44911b=_0xb1d9[_0x1b1eb1];return _0x44911b;};'use strict';var client=require(_0x9b1d('0x0'));exports[_0x9b1d('0x1')]=function(_0x3411e7){return client[_0x9b1d('0x2')](_0x9b1d('0x3'),{'body':_0x3411e7,'log':_0x9b1d('0x3')});};exports[_0x9b1d('0x4')]=function(_0x34a962,_0x231500){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0x231500,'options':{'where':{'uniqueid':_0x34a962},'order':[['id',_0x9b1d('0x5')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};