4a436367516c23e6ee95e8af0f6145c667d16ec8
[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 _0xe77f=['CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x587693,_0x27fe90){var _0x510a1a=function(_0x290f71){while(--_0x290f71){_0x587693['push'](_0x587693['shift']());}};_0x510a1a(++_0x27fe90);}(_0xe77f,0xba));var _0xfe77=function(_0x1f9b47,_0x118075){_0x1f9b47=_0x1f9b47-0x0;var _0x2c5667=_0xe77f[_0x1f9b47];return _0x2c5667;};'use strict';var client=require(_0xfe77('0x0'));exports[_0xfe77('0x1')]=function(_0x53bc15){return client[_0xfe77('0x2')](_0xfe77('0x3'),{'body':_0x53bc15,'log':'CreateChatQueueReport'});};exports[_0xfe77('0x4')]=function(_0xd99b0d,_0x55a414){return client[_0xfe77('0x2')](_0xfe77('0x5'),{'body':_0x55a414,'options':{'where':{'uniqueid':_0xd99b0d},'order':[['id',_0xfe77('0x6')]],'limit':0x1},'log':_0xfe77('0x5')});};