Built motion from commit (unavailable).|2.5.7
[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 _0x7ae3=['CreateMailQueueReport','UpdateMailQueueReport','DESC','Request'];(function(_0x512681,_0x2071d6){var _0x24683d=function(_0x236256){while(--_0x236256){_0x512681['push'](_0x512681['shift']());}};_0x24683d(++_0x2071d6);}(_0x7ae3,0x1cf));var _0x37ae=function(_0xfaad9,_0x38a6c9){_0xfaad9=_0xfaad9-0x0;var _0x4dc6bd=_0x7ae3[_0xfaad9];return _0x4dc6bd;};'use strict';var client=require('../client');exports['create']=function(_0x433075){return client[_0x37ae('0x0')]('CreateMailQueueReport',{'body':_0x433075,'log':_0x37ae('0x1')});};exports['update']=function(_0x3648f2,_0x2bae39){return client[_0x37ae('0x0')](_0x37ae('0x2'),{'body':_0x2bae39,'options':{'where':{'uniqueid':_0x3648f2},'order':[['id',_0x37ae('0x3')]],'limit':0x1},'log':'UpdateMailQueueReport'});};