Built motion from commit (unavailable).|2.5.26
[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 _0x49d6=['UpdateFaxQueueReport','DESC','../client','Request','CreateFaxQueueReport'];(function(_0x1a18f9,_0x215d54){var _0x7cce8=function(_0xd5da29){while(--_0xd5da29){_0x1a18f9['push'](_0x1a18f9['shift']());}};_0x7cce8(++_0x215d54);}(_0x49d6,0x1bf));var _0x649d=function(_0x21c16f,_0x2fd4a0){_0x21c16f=_0x21c16f-0x0;var _0x58cfaf=_0x49d6[_0x21c16f];return _0x58cfaf;};'use strict';var client=require(_0x649d('0x0'));exports['create']=function(_0x7e9203){return client[_0x649d('0x1')](_0x649d('0x2'),{'body':_0x7e9203,'log':_0x649d('0x2')});};exports['update']=function(_0x53e3a9,_0x458af9){return client[_0x649d('0x1')](_0x649d('0x3'),{'body':_0x458af9,'options':{'where':{'uniqueid':_0x53e3a9},'order':[['id',_0x649d('0x4')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};