8ddfd70b7a8ea0c2b382652c724b725c90c52e9f
[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 _0x01fe=['update','DESC','../client','Request'];(function(_0x5ae733,_0xbd346a){var _0x4f5ce8=function(_0x103415){while(--_0x103415){_0x5ae733['push'](_0x5ae733['shift']());}};_0x4f5ce8(++_0xbd346a);}(_0x01fe,0x102));var _0xe01f=function(_0x21f49e,_0x469c0a){_0x21f49e=_0x21f49e-0x0;var _0x1df81e=_0x01fe[_0x21f49e];return _0x1df81e;};'use strict';var client=require(_0xe01f('0x0'));exports['create']=function(_0x3ba50c){return client[_0xe01f('0x1')]('CreateChatQueueReport',{'body':_0x3ba50c,'log':'CreateChatQueueReport'});};exports[_0xe01f('0x2')]=function(_0x1212f6,_0x9505fa){return client[_0xe01f('0x1')]('UpdateChatQueueReport',{'body':_0x9505fa,'options':{'where':{'uniqueid':_0x1212f6},'order':[['id',_0xe01f('0x3')]],'limit':0x1},'log':'UpdateChatQueueReport'});};