Built motion from commit (unavailable).|2.5.8
[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 _0x3c79=['create','Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC','../client'];(function(_0x971f86,_0x401ab5){var _0x2daf7b=function(_0x1d2913){while(--_0x1d2913){_0x971f86['push'](_0x971f86['shift']());}};_0x2daf7b(++_0x401ab5);}(_0x3c79,0xef));var _0x93c7=function(_0x31bbb3,_0xa04ab6){_0x31bbb3=_0x31bbb3-0x0;var _0xad4524=_0x3c79[_0x31bbb3];return _0xad4524;};'use strict';var client=require(_0x93c7('0x0'));exports[_0x93c7('0x1')]=function(_0x4a9831){return client[_0x93c7('0x2')](_0x93c7('0x3'),{'body':_0x4a9831,'log':_0x93c7('0x3')});};exports['update']=function(_0x462df8,_0x20344d){return client['Request'](_0x93c7('0x4'),{'body':_0x20344d,'options':{'where':{'uniqueid':_0x462df8},'order':[['id',_0x93c7('0x5')]],'limit':0x1},'log':_0x93c7('0x4')});};