d62e44eabfe144ad681ec7354f33ae02752f03d7
[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 _0xb63f=['CreateChatQueueReport','update','UpdateChatQueueReport','Request'];(function(_0x31abee,_0x11ff0c){var _0x3c1761=function(_0x2b5062){while(--_0x2b5062){_0x31abee['push'](_0x31abee['shift']());}};_0x3c1761(++_0x11ff0c);}(_0xb63f,0xa3));var _0xfb63=function(_0x550e29,_0x4047f){_0x550e29=_0x550e29-0x0;var _0x3515b6=_0xb63f[_0x550e29];return _0x3515b6;};'use strict';var client=require('../client');exports['create']=function(_0x2f3c91){return client[_0xfb63('0x0')](_0xfb63('0x1'),{'body':_0x2f3c91,'log':_0xfb63('0x1')});};exports[_0xfb63('0x2')]=function(_0xca48e6,_0x2fac8f){return client[_0xfb63('0x0')](_0xfb63('0x3'),{'body':_0x2fac8f,'options':{'where':{'uniqueid':_0xca48e6},'order':[['id','DESC']],'limit':0x1},'log':_0xfb63('0x3')});};