Built motion from commit 3c2ce842.|2.6.31
[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 _0x754b=['Request','CreateOpenchannelQueueReport','update','DESC','UpdateOpenchannelQueueReport','../client','create'];(function(_0x303c30,_0x16edcb){var _0x43161b=function(_0x3330ff){while(--_0x3330ff){_0x303c30['push'](_0x303c30['shift']());}};_0x43161b(++_0x16edcb);}(_0x754b,0x1ef));var _0xb754=function(_0x813d0a,_0x4fd3d7){_0x813d0a=_0x813d0a-0x0;var _0x241352=_0x754b[_0x813d0a];return _0x241352;};'use strict';var client=require(_0xb754('0x0'));exports[_0xb754('0x1')]=function(_0x26624c){return client[_0xb754('0x2')](_0xb754('0x3'),{'body':_0x26624c,'log':'CreateOpenchannelQueueReport'});};exports[_0xb754('0x4')]=function(_0x5bf7c2,_0x1b5592){return client[_0xb754('0x2')]('UpdateOpenchannelQueueReport',{'body':_0x1b5592,'options':{'where':{'uniqueid':_0x5bf7c2},'order':[['id',_0xb754('0x5')]],'limit':0x1},'log':_0xb754('0x6')});};