Built motion from commit (unavailable).|2.5.29
[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 _0x1c8a=['update','DESC','UpdateOpenchannelQueueReport','Request','CreateOpenchannelQueueReport'];(function(_0x5031c3,_0x15d57f){var _0x1e314e=function(_0x559cc4){while(--_0x559cc4){_0x5031c3['push'](_0x5031c3['shift']());}};_0x1e314e(++_0x15d57f);}(_0x1c8a,0x17f));var _0xa1c8=function(_0x3eb5dd,_0x46a70c){_0x3eb5dd=_0x3eb5dd-0x0;var _0x3646ca=_0x1c8a[_0x3eb5dd];return _0x3646ca;};'use strict';var client=require('../client');exports['create']=function(_0x990494){return client[_0xa1c8('0x0')]('CreateOpenchannelQueueReport',{'body':_0x990494,'log':_0xa1c8('0x1')});};exports[_0xa1c8('0x2')]=function(_0x4b682d,_0x590cd7){return client[_0xa1c8('0x0')]('UpdateOpenchannelQueueReport',{'body':_0x590cd7,'options':{'where':{'uniqueid':_0x4b682d},'order':[['id',_0xa1c8('0x3')]],'limit':0x1},'log':_0xa1c8('0x4')});};