Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / routing / rpc / chatQueueReport.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 _0xfa2f=['UpdateChatQueueReport','DESC','CreateChatQueueReport','update','Request'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0xfa2f,0xe8));var _0xffa2=function(_0x48580f,_0x450095){_0x48580f=_0x48580f-0x0;var _0x26b0d2=_0xfa2f[_0x48580f];return _0x26b0d2;};'use strict';var client=require('../client');exports['create']=function(_0x3a81ad){return client['Request'](_0xffa2('0x0'),{'body':_0x3a81ad,'log':_0xffa2('0x0')});};exports[_0xffa2('0x1')]=function(_0x54d423,_0x3fcced){return client[_0xffa2('0x2')](_0xffa2('0x3'),{'body':_0x3fcced,'options':{'where':{'uniqueid':_0x54d423},'order':[['id',_0xffa2('0x4')]],'limit':0x1},'log':_0xffa2('0x3')});};