Built motion from commit (unavailable).|2.5.7
[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 _0x5dc4=['update','UpdateOpenchannelQueueReport','../client','Request','CreateOpenchannelQueueReport'];(function(_0x46a671,_0x758e9a){var _0x526d75=function(_0xde3640){while(--_0xde3640){_0x46a671['push'](_0x46a671['shift']());}};_0x526d75(++_0x758e9a);}(_0x5dc4,0x15b));var _0x45dc=function(_0x542e1d,_0x3b4e56){_0x542e1d=_0x542e1d-0x0;var _0x271901=_0x5dc4[_0x542e1d];return _0x271901;};'use strict';var client=require(_0x45dc('0x0'));exports['create']=function(_0x58e97e){return client[_0x45dc('0x1')]('CreateOpenchannelQueueReport',{'body':_0x58e97e,'log':_0x45dc('0x2')});};exports[_0x45dc('0x3')]=function(_0x5335eb,_0x2114aa){return client[_0x45dc('0x1')](_0x45dc('0x4'),{'body':_0x2114aa,'options':{'where':{'uniqueid':_0x5335eb},'order':[['id','DESC']],'limit':0x1},'log':_0x45dc('0x4')});};