Built motion from commit (unavailable).|2.3.0
[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 _0x3f98=['../client','create','Request','CreateOpenchannelQueueReport','update'];(function(_0x5d9987,_0x3c9d0c){var _0x4eb5a4=function(_0x23a46c){while(--_0x23a46c){_0x5d9987['push'](_0x5d9987['shift']());}};_0x4eb5a4(++_0x3c9d0c);}(_0x3f98,0xa0));var _0x83f9=function(_0xd55d72,_0x503c85){_0xd55d72=_0xd55d72-0x0;var _0x403b9b=_0x3f98[_0xd55d72];return _0x403b9b;};'use strict';var client=require(_0x83f9('0x0'));exports[_0x83f9('0x1')]=function(_0x345621){return client[_0x83f9('0x2')](_0x83f9('0x3'),{'body':_0x345621,'log':_0x83f9('0x3')});};exports[_0x83f9('0x4')]=function(_0x10a85f,_0x452a42){return client[_0x83f9('0x2')]('UpdateOpenchannelQueueReport',{'body':_0x452a42,'options':{'where':{'uniqueid':_0x10a85f},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};