07c0daea7f04bb6bcb7f0bd77ac14bb9199e0bbd
[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 _0x2374=['../client','Request','CreateFaxQueueReport','UpdateFaxQueueReport'];(function(_0x409f1c,_0x4d9ca8){var _0x50e343=function(_0x191590){while(--_0x191590){_0x409f1c['push'](_0x409f1c['shift']());}};_0x50e343(++_0x4d9ca8);}(_0x2374,0x11c));var _0x4237=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x2374[_0x4b369d];return _0x571a98;};'use strict';var client=require(_0x4237('0x0'));exports['create']=function(_0x17457e){return client[_0x4237('0x1')](_0x4237('0x2'),{'body':_0x17457e,'log':_0x4237('0x2')});};exports['update']=function(_0x285c0e,_0x779ca0){return client[_0x4237('0x1')](_0x4237('0x3'),{'body':_0x779ca0,'options':{'where':{'uniqueid':_0x285c0e},'order':[['id','DESC']],'limit':0x1},'log':_0x4237('0x3')});};