Built motion from commit (unavailable).|2.5.4
[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 _0xe36e=['update','UpdateFaxQueueReport','../client','Request','CreateFaxQueueReport'];(function(_0x5ce3c8,_0x2503bd){var _0xa76867=function(_0x52815e){while(--_0x52815e){_0x5ce3c8['push'](_0x5ce3c8['shift']());}};_0xa76867(++_0x2503bd);}(_0xe36e,0xbb));var _0xee36=function(_0x4526e1,_0x48a88c){_0x4526e1=_0x4526e1-0x0;var _0x38b122=_0xe36e[_0x4526e1];return _0x38b122;};'use strict';var client=require(_0xee36('0x0'));exports['create']=function(_0x5b01dc){return client[_0xee36('0x1')](_0xee36('0x2'),{'body':_0x5b01dc,'log':_0xee36('0x2')});};exports[_0xee36('0x3')]=function(_0x1e6d34,_0x21c228){return client[_0xee36('0x1')](_0xee36('0x4'),{'body':_0x21c228,'options':{'where':{'uniqueid':_0x1e6d34},'order':[['id','DESC']],'limit':0x1},'log':_0xee36('0x4')});};