Built motion from commit 753c950e.|2.5.42
[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 _0x541c=['DESC','create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0x760d71,_0x231004){var _0x8dfc7b=function(_0x242006){while(--_0x242006){_0x760d71['push'](_0x760d71['shift']());}};_0x8dfc7b(++_0x231004);}(_0x541c,0x14b));var _0xc541=function(_0x26f518,_0x5a6c2d){_0x26f518=_0x26f518-0x0;var _0x3666d=_0x541c[_0x26f518];return _0x3666d;};'use strict';var client=require('../client');exports[_0xc541('0x0')]=function(_0xa147da){return client[_0xc541('0x1')](_0xc541('0x2'),{'body':_0xa147da,'log':_0xc541('0x2')});};exports[_0xc541('0x3')]=function(_0x48625c,_0x108630){return client['Request'](_0xc541('0x4'),{'body':_0x108630,'options':{'where':{'uniqueid':_0x48625c},'order':[['id',_0xc541('0x5')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};