532a942a01bc4fac87cce868d9a6004a6fe46aad
[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 _0x9935=['create','Request','CreateFaxQueueReport','update','UpdateFaxQueueReport','../client'];(function(_0x49a19e,_0x34c29d){var _0x5c2792=function(_0x394c65){while(--_0x394c65){_0x49a19e['push'](_0x49a19e['shift']());}};_0x5c2792(++_0x34c29d);}(_0x9935,0x137));var _0x5993=function(_0x48d09,_0x324331){_0x48d09=_0x48d09-0x0;var _0x29a241=_0x9935[_0x48d09];return _0x29a241;};'use strict';var client=require(_0x5993('0x0'));exports[_0x5993('0x1')]=function(_0x5cc73c){return client[_0x5993('0x2')]('CreateFaxQueueReport',{'body':_0x5cc73c,'log':_0x5993('0x3')});};exports[_0x5993('0x4')]=function(_0x2787d1,_0x4cbd18){return client[_0x5993('0x2')](_0x5993('0x5'),{'body':_0x4cbd18,'options':{'where':{'uniqueid':_0x2787d1},'order':[['id','DESC']],'limit':0x1},'log':_0x5993('0x5')});};