8ee15f87a3fbc8ef4186f9367ea4a59e3fc73e8b
[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 _0x1c5f=['DESC','create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport'];(function(_0x2b8bd7,_0xa1b54d){var _0xf5b475=function(_0x268ce5){while(--_0x268ce5){_0x2b8bd7['push'](_0x2b8bd7['shift']());}};_0xf5b475(++_0xa1b54d);}(_0x1c5f,0x6a));var _0xf1c5=function(_0x1abdf3,_0x556e5e){_0x1abdf3=_0x1abdf3-0x0;var _0x86c10b=_0x1c5f[_0x1abdf3];return _0x86c10b;};'use strict';var client=require('../client');exports[_0xf1c5('0x0')]=function(_0x489ce6){return client[_0xf1c5('0x1')](_0xf1c5('0x2'),{'body':_0x489ce6,'log':_0xf1c5('0x2')});};exports['update']=function(_0x1991b5,_0x1bbf45){return client[_0xf1c5('0x1')](_0xf1c5('0x3'),{'body':_0x1bbf45,'options':{'where':{'uniqueid':_0x1991b5},'order':[['id',_0xf1c5('0x4')]],'limit':0x1},'log':_0xf1c5('0x3')});};