Built motion from commit 43538d75.|2.5.35
[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 _0x1fc2=['UpdateOpenchannelQueueReport','../client','create','Request','DESC'];(function(_0x4cc03b,_0x299f1c){var _0xf0358c=function(_0x3d0da8){while(--_0x3d0da8){_0x4cc03b['push'](_0x4cc03b['shift']());}};_0xf0358c(++_0x299f1c);}(_0x1fc2,0x123));var _0x21fc=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0x1fc2[_0x46e363];return _0x3fb059;};'use strict';var client=require(_0x21fc('0x0'));exports[_0x21fc('0x1')]=function(_0x58b1b1){return client[_0x21fc('0x2')]('CreateOpenchannelQueueReport',{'body':_0x58b1b1,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x1b1bb4,_0x3559cc){return client[_0x21fc('0x2')]('UpdateOpenchannelQueueReport',{'body':_0x3559cc,'options':{'where':{'uniqueid':_0x1b1bb4},'order':[['id',_0x21fc('0x3')]],'limit':0x1},'log':_0x21fc('0x4')});};