781452ecc131dd9303aa9d9882b62863feb96238
[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 _0x83bd=['DESC','UpdateOpenchannelQueueReport','CreateOpenchannelQueueReport','update'];(function(_0x2314a0,_0x2da91a){var _0x502581=function(_0x203e0c){while(--_0x203e0c){_0x2314a0['push'](_0x2314a0['shift']());}};_0x502581(++_0x2da91a);}(_0x83bd,0x182));var _0xd83b=function(_0x456032,_0x1a799d){_0x456032=_0x456032-0x0;var _0x1a53cd=_0x83bd[_0x456032];return _0x1a53cd;};'use strict';var client=require('../client');exports['create']=function(_0x627f2b){return client['Request'](_0xd83b('0x0'),{'body':_0x627f2b,'log':'CreateOpenchannelQueueReport'});};exports[_0xd83b('0x1')]=function(_0x32c1a9,_0x3a65a1){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0x3a65a1,'options':{'where':{'uniqueid':_0x32c1a9},'order':[['id',_0xd83b('0x2')]],'limit':0x1},'log':_0xd83b('0x3')});};