648386c5eb8bc72600a43f94f74edc9148c21640
[motion2.git] / server / services / routing / rpc / faxQueueReport.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 _0xfa31=['../client','Request','CreateFaxQueueReport','update','UpdateFaxQueueReport'];(function(_0x2afbb0,_0x44f16d){var _0x411ff2=function(_0x5edd7e){while(--_0x5edd7e){_0x2afbb0['push'](_0x2afbb0['shift']());}};_0x411ff2(++_0x44f16d);}(_0xfa31,0x1db));var _0x1fa3=function(_0x47371e,_0x5cd6d8){_0x47371e=_0x47371e-0x0;var _0x4aa223=_0xfa31[_0x47371e];return _0x4aa223;};'use strict';var client=require(_0x1fa3('0x0'));exports['create']=function(_0x33e098){return client[_0x1fa3('0x1')](_0x1fa3('0x2'),{'body':_0x33e098,'log':_0x1fa3('0x2')});};exports[_0x1fa3('0x3')]=function(_0x47ea5f,_0x7305cf){return client[_0x1fa3('0x1')]('UpdateFaxQueueReport',{'body':_0x7305cf,'options':{'where':{'uniqueid':_0x47ea5f},'order':[['id','DESC']],'limit':0x1},'log':_0x1fa3('0x4')});};