Built motion from commit (unavailable).|2.6.0
[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 _0x6422=['create','Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC'];(function(_0x5e848d,_0x1dbd20){var _0x3785e5=function(_0xc82b39){while(--_0xc82b39){_0x5e848d['push'](_0x5e848d['shift']());}};_0x3785e5(++_0x1dbd20);}(_0x6422,0x168));var _0x2642=function(_0x376b2e,_0x1faf50){_0x376b2e=_0x376b2e-0x0;var _0x19a279=_0x6422[_0x376b2e];return _0x19a279;};'use strict';var client=require('../client');exports[_0x2642('0x0')]=function(_0x5b4c8b){return client[_0x2642('0x1')](_0x2642('0x2'),{'body':_0x5b4c8b,'log':'CreateFaxQueueReport'});};exports['update']=function(_0x43121f,_0x113c90){return client[_0x2642('0x1')](_0x2642('0x3'),{'body':_0x113c90,'options':{'where':{'uniqueid':_0x43121f},'order':[['id',_0x2642('0x4')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};