1c6e355797aeb14036c06638bb549d3bdf688b5e
[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 _0x78ac=['update','UpdateFaxQueueReport','DESC','../client','Request','CreateFaxQueueReport'];(function(_0x1a2d2f,_0x52319f){var _0x1d0459=function(_0x117ea2){while(--_0x117ea2){_0x1a2d2f['push'](_0x1a2d2f['shift']());}};_0x1d0459(++_0x52319f);}(_0x78ac,0xab));var _0xc78a=function(_0x68c979,_0x431cff){_0x68c979=_0x68c979-0x0;var _0x4f0001=_0x78ac[_0x68c979];return _0x4f0001;};'use strict';var client=require(_0xc78a('0x0'));exports['create']=function(_0x12254e){return client[_0xc78a('0x1')](_0xc78a('0x2'),{'body':_0x12254e,'log':_0xc78a('0x2')});};exports[_0xc78a('0x3')]=function(_0x595ad8,_0x318844){return client[_0xc78a('0x1')](_0xc78a('0x4'),{'body':_0x318844,'options':{'where':{'uniqueid':_0x595ad8},'order':[['id',_0xc78a('0x5')]],'limit':0x1},'log':_0xc78a('0x4')});};