Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / services / routing / rpc / mailQueueReport.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 _0xcf30=['Request','DESC','UpdateMailQueueReport','CreateMailQueueReport'];(function(_0x28c674,_0x32b689){var _0x3ed3c9=function(_0x3c9538){while(--_0x3c9538){_0x28c674['push'](_0x28c674['shift']());}};_0x3ed3c9(++_0x32b689);}(_0xcf30,0x9b));var _0x0cf3=function(_0x2b7583,_0x2424d5){_0x2b7583=_0x2b7583-0x0;var _0x2a9b54=_0xcf30[_0x2b7583];return _0x2a9b54;};'use strict';var client=require('../client');exports['create']=function(_0x410067){return client['Request']('CreateMailQueueReport',{'body':_0x410067,'log':_0x0cf3('0x0')});};exports['update']=function(_0x5900a9,_0x681c5e){return client[_0x0cf3('0x1')]('UpdateMailQueueReport',{'body':_0x681c5e,'options':{'where':{'uniqueid':_0x5900a9},'order':[['id',_0x0cf3('0x2')]],'limit':0x1},'log':_0x0cf3('0x3')});};