2887659a0b702a7860843c1940635663f1ee8f86
[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 _0xf604=['CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','create','Request'];(function(_0x3c2166,_0x41fc16){var _0x30ccc3=function(_0x689bc3){while(--_0x689bc3){_0x3c2166['push'](_0x3c2166['shift']());}};_0x30ccc3(++_0x41fc16);}(_0xf604,0x190));var _0x4f60=function(_0x1348c0,_0x7a9608){_0x1348c0=_0x1348c0-0x0;var _0x8a6441=_0xf604[_0x1348c0];return _0x8a6441;};'use strict';var client=require('../client');exports[_0x4f60('0x0')]=function(_0x3cb9a9){return client[_0x4f60('0x1')]('CreateOpenchannelQueueReport',{'body':_0x3cb9a9,'log':_0x4f60('0x2')});};exports[_0x4f60('0x3')]=function(_0x1ab81f,_0x37b689){return client[_0x4f60('0x1')](_0x4f60('0x4'),{'body':_0x37b689,'options':{'where':{'uniqueid':_0x1ab81f},'order':[['id',_0x4f60('0x5')]],'limit':0x1},'log':_0x4f60('0x4')});};