097abfc121791dfd604542a4800bda70da122778
[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 _0xd1c4=['create','Request','update','UpdateFaxQueueReport','../client'];(function(_0x5d4607,_0x6b5e7b){var _0x5e4a86=function(_0x46891a){while(--_0x46891a){_0x5d4607['push'](_0x5d4607['shift']());}};_0x5e4a86(++_0x6b5e7b);}(_0xd1c4,0xe0));var _0x4d1c=function(_0x52a7e5,_0x2ad163){_0x52a7e5=_0x52a7e5-0x0;var _0x5e75a5=_0xd1c4[_0x52a7e5];return _0x5e75a5;};'use strict';var client=require(_0x4d1c('0x0'));exports[_0x4d1c('0x1')]=function(_0xe7fe9c){return client[_0x4d1c('0x2')]('CreateFaxQueueReport',{'body':_0xe7fe9c,'log':'CreateFaxQueueReport'});};exports[_0x4d1c('0x3')]=function(_0x573315,_0x1940cf){return client[_0x4d1c('0x2')](_0x4d1c('0x4'),{'body':_0x1940cf,'options':{'where':{'uniqueid':_0x573315},'order':[['id','DESC']],'limit':0x1},'log':_0x4d1c('0x4')});};