Built motion from commit d1eab355.|2.6.28
[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 _0x65bd=['Request','CreateOpenchannelQueueReport','DESC','UpdateOpenchannelQueueReport','../client'];(function(_0x2efabf,_0x1f1062){var _0x5c25cf=function(_0x511d12){while(--_0x511d12){_0x2efabf['push'](_0x2efabf['shift']());}};_0x5c25cf(++_0x1f1062);}(_0x65bd,0xb3));var _0xd65b=function(_0x23170e,_0x110b8a){_0x23170e=_0x23170e-0x0;var _0x34dfbb=_0x65bd[_0x23170e];return _0x34dfbb;};'use strict';var client=require(_0xd65b('0x0'));exports['create']=function(_0x533d6d){return client[_0xd65b('0x1')](_0xd65b('0x2'),{'body':_0x533d6d,'log':_0xd65b('0x2')});};exports['update']=function(_0x3b8687,_0x46412e){return client[_0xd65b('0x1')]('UpdateOpenchannelQueueReport',{'body':_0x46412e,'options':{'where':{'uniqueid':_0x3b8687},'order':[['id',_0xd65b('0x3')]],'limit':0x1},'log':_0xd65b('0x4')});};