Built motion from commit 9d0783e6.|2.6.13
[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 _0x390d=['CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client','Request'];(function(_0x565ed7,_0x398228){var _0x183ad7=function(_0x5a43d7){while(--_0x5a43d7){_0x565ed7['push'](_0x565ed7['shift']());}};_0x183ad7(++_0x398228);}(_0x390d,0xdc));var _0xd390=function(_0x28c059,_0x25f5f2){_0x28c059=_0x28c059-0x0;var _0x12d8dd=_0x390d[_0x28c059];return _0x12d8dd;};'use strict';var client=require(_0xd390('0x0'));exports['create']=function(_0x4f6969){return client[_0xd390('0x1')](_0xd390('0x2'),{'body':_0x4f6969,'log':'CreateOpenchannelQueueReport'});};exports[_0xd390('0x3')]=function(_0x5d837f,_0x108dda){return client[_0xd390('0x1')](_0xd390('0x4'),{'body':_0x108dda,'options':{'where':{'uniqueid':_0x5d837f},'order':[['id',_0xd390('0x5')]],'limit':0x1},'log':_0xd390('0x4')});};