402f71c30faa0418ce4bfda475383615309982f8
[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 _0x5692=['../client','create','Request','CreateFaxQueueReport','update','UpdateFaxQueueReport'];(function(_0x468837,_0x5f0a68){var _0x7c161e=function(_0x340946){while(--_0x340946){_0x468837['push'](_0x468837['shift']());}};_0x7c161e(++_0x5f0a68);}(_0x5692,0x14a));var _0x2569=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x5692[_0x5ddb1c];return _0x354adc;};'use strict';var client=require(_0x2569('0x0'));exports[_0x2569('0x1')]=function(_0x615966){return client[_0x2569('0x2')]('CreateFaxQueueReport',{'body':_0x615966,'log':_0x2569('0x3')});};exports[_0x2569('0x4')]=function(_0x3513e9,_0x304540){return client[_0x2569('0x2')](_0x2569('0x5'),{'body':_0x304540,'options':{'where':{'uniqueid':_0x3513e9},'order':[['id','DESC']],'limit':0x1},'log':_0x2569('0x5')});};