ffd03f35120f3e8b088643819bfdc3bb4c286599
[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 _0x15d2=['create','Request','CreateFaxQueueReport','UpdateFaxQueueReport','DESC'];(function(_0x3aef5b,_0x50e4c2){var _0x51dca2=function(_0x2bf85f){while(--_0x2bf85f){_0x3aef5b['push'](_0x3aef5b['shift']());}};_0x51dca2(++_0x50e4c2);}(_0x15d2,0x163));var _0x215d=function(_0xb0fe92,_0x147e42){_0xb0fe92=_0xb0fe92-0x0;var _0x41787f=_0x15d2[_0xb0fe92];return _0x41787f;};'use strict';var client=require('../client');exports[_0x215d('0x0')]=function(_0x5e11c0){return client[_0x215d('0x1')]('CreateFaxQueueReport',{'body':_0x5e11c0,'log':_0x215d('0x2')});};exports['update']=function(_0x5d5ac3,_0x4c53b3){return client['Request'](_0x215d('0x3'),{'body':_0x4c53b3,'options':{'where':{'uniqueid':_0x5d5ac3},'order':[['id',_0x215d('0x4')]],'limit':0x1},'log':_0x215d('0x3')});};