Built motion from commit (unavailable).|2.5.11
[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 _0x1d44=['DESC','../client','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport'];(function(_0x10a13f,_0x5373d5){var _0x173fcc=function(_0x5f458c){while(--_0x5f458c){_0x10a13f['push'](_0x10a13f['shift']());}};_0x173fcc(++_0x5373d5);}(_0x1d44,0x16e));var _0x41d4=function(_0xf10840,_0xad3916){_0xf10840=_0xf10840-0x0;var _0x1fdf7e=_0x1d44[_0xf10840];return _0x1fdf7e;};'use strict';var client=require(_0x41d4('0x0'));exports['create']=function(_0x23b69e){return client[_0x41d4('0x1')]('CreateOpenchannelQueueReport',{'body':_0x23b69e,'log':_0x41d4('0x2')});};exports['update']=function(_0x106424,_0x5d04bd){return client[_0x41d4('0x1')](_0x41d4('0x3'),{'body':_0x5d04bd,'options':{'where':{'uniqueid':_0x106424},'order':[['id',_0x41d4('0x4')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};