Built motion from commit (unavailable).|2.4.21
[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 _0x3ee8=['Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC'];(function(_0x2cf062,_0x3c15c6){var _0x376203=function(_0x23ca8e){while(--_0x23ca8e){_0x2cf062['push'](_0x2cf062['shift']());}};_0x376203(++_0x3c15c6);}(_0x3ee8,0x188));var _0x83ee=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3ee8[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports['create']=function(_0x37b27c){return client[_0x83ee('0x0')](_0x83ee('0x1'),{'body':_0x37b27c,'log':_0x83ee('0x1')});};exports['update']=function(_0x3dbb53,_0x1afb42){return client[_0x83ee('0x0')](_0x83ee('0x2'),{'body':_0x1afb42,'options':{'where':{'uniqueid':_0x3dbb53},'order':[['id',_0x83ee('0x3')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};