Built motion from commit (unavailable).|2.5.3
[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 _0x49b7=['../client','Request','CreateFaxQueueReport','update','UpdateFaxQueueReport'];(function(_0x1b73a9,_0x5b5aa){var _0x277466=function(_0x5ba54d){while(--_0x5ba54d){_0x1b73a9['push'](_0x1b73a9['shift']());}};_0x277466(++_0x5b5aa);}(_0x49b7,0x73));var _0x749b=function(_0x23e33d,_0x31c8c8){_0x23e33d=_0x23e33d-0x0;var _0x818fc=_0x49b7[_0x23e33d];return _0x818fc;};'use strict';var client=require(_0x749b('0x0'));exports['create']=function(_0x392fa7){return client[_0x749b('0x1')](_0x749b('0x2'),{'body':_0x392fa7,'log':_0x749b('0x2')});};exports[_0x749b('0x3')]=function(_0x12ca6d,_0x163700){return client[_0x749b('0x1')](_0x749b('0x4'),{'body':_0x163700,'options':{'where':{'uniqueid':_0x12ca6d},'order':[['id','DESC']],'limit':0x1},'log':'UpdateFaxQueueReport'});};