Built motion from commit (unavailable).|2.5.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 _0xb095=['CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client','create'];(function(_0x5dd921,_0x4b9fdd){var _0x62b488=function(_0x4b87ab){while(--_0x4b87ab){_0x5dd921['push'](_0x5dd921['shift']());}};_0x62b488(++_0x4b9fdd);}(_0xb095,0x1d2));var _0x5b09=function(_0x4cea61,_0x54f6ac){_0x4cea61=_0x4cea61-0x0;var _0x4a6769=_0xb095[_0x4cea61];return _0x4a6769;};'use strict';var client=require(_0x5b09('0x0'));exports[_0x5b09('0x1')]=function(_0x37d59c){return client['Request']('CreateOpenchannelQueueReport',{'body':_0x37d59c,'log':_0x5b09('0x2')});};exports[_0x5b09('0x3')]=function(_0x121cc7,_0x3973be){return client['Request'](_0x5b09('0x4'),{'body':_0x3973be,'options':{'where':{'uniqueid':_0x121cc7},'order':[['id',_0x5b09('0x5')]],'limit':0x1},'log':_0x5b09('0x4')});};