7ad549fb9226e0b2d00682d7e462b407a7baae69
[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 _0x7109=['Request','UpdateOpenchannelQueueReport','../client','create','CreateOpenchannelQueueReport','update'];(function(_0x47aa64,_0xfb8a07){var _0x549c7a=function(_0x266165){while(--_0x266165){_0x47aa64['push'](_0x47aa64['shift']());}};_0x549c7a(++_0xfb8a07);}(_0x7109,0xd4));var _0x9710=function(_0xaf25ae,_0x2001c1){_0xaf25ae=_0xaf25ae-0x0;var _0x49732d=_0x7109[_0xaf25ae];return _0x49732d;};'use strict';var client=require(_0x9710('0x0'));exports[_0x9710('0x1')]=function(_0x560cbf){return client['Request'](_0x9710('0x2'),{'body':_0x560cbf,'log':_0x9710('0x2')});};exports[_0x9710('0x3')]=function(_0xe47abb,_0x3dec30){return client[_0x9710('0x4')](_0x9710('0x5'),{'body':_0x3dec30,'options':{'where':{'uniqueid':_0xe47abb},'order':[['id','DESC']],'limit':0x1},'log':_0x9710('0x5')});};