39894f5f202bc9b384f2f53f1aa7b14b8a746633
[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 _0xc480=['create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','../client'];(function(_0x590b63,_0x14debb){var _0x3c9380=function(_0x58fc67){while(--_0x58fc67){_0x590b63['push'](_0x590b63['shift']());}};_0x3c9380(++_0x14debb);}(_0xc480,0xe9));var _0x0c48=function(_0x599405,_0x1ab5d2){_0x599405=_0x599405-0x0;var _0x300afb=_0xc480[_0x599405];return _0x300afb;};'use strict';var client=require(_0x0c48('0x0'));exports[_0x0c48('0x1')]=function(_0x2ce0b5){return client[_0x0c48('0x2')]('CreateOpenchannelQueueReport',{'body':_0x2ce0b5,'log':_0x0c48('0x3')});};exports[_0x0c48('0x4')]=function(_0x8f4266,_0xbe073e){return client[_0x0c48('0x2')](_0x0c48('0x5'),{'body':_0xbe073e,'options':{'where':{'uniqueid':_0x8f4266},'order':[['id','DESC']],'limit':0x1},'log':_0x0c48('0x5')});};