Built motion from commit e1760111.|2.6.18
[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 _0xb581=['DESC','../client','create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0x39bd3b,_0x548b77){var _0xb12070=function(_0x5472e9){while(--_0x5472e9){_0x39bd3b['push'](_0x39bd3b['shift']());}};_0xb12070(++_0x548b77);}(_0xb581,0x17b));var _0x1b58=function(_0x503a4d,_0x2af7a2){_0x503a4d=_0x503a4d-0x0;var _0x3d4081=_0xb581[_0x503a4d];return _0x3d4081;};'use strict';var client=require(_0x1b58('0x0'));exports[_0x1b58('0x1')]=function(_0xa9eaeb){return client[_0x1b58('0x2')](_0x1b58('0x3'),{'body':_0xa9eaeb,'log':_0x1b58('0x3')});};exports[_0x1b58('0x4')]=function(_0x388b7e,_0x1ed3bd){return client[_0x1b58('0x2')](_0x1b58('0x5'),{'body':_0x1ed3bd,'options':{'where':{'uniqueid':_0x388b7e},'order':[['id',_0x1b58('0x6')]],'limit':0x1},'log':_0x1b58('0x5')});};