Built motion from commit d1eab355.|2.6.28
[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 _0xd6bc=['UpdateMailQueueReport','DESC','create','Request'];(function(_0x32113f,_0x36f44f){var _0x37fed7=function(_0x1500a0){while(--_0x1500a0){_0x32113f['push'](_0x32113f['shift']());}};_0x37fed7(++_0x36f44f);}(_0xd6bc,0x16e));var _0xcd6b=function(_0x45783c,_0x49c56d){_0x45783c=_0x45783c-0x0;var _0x1161da=_0xd6bc[_0x45783c];return _0x1161da;};'use strict';var client=require('../client');exports[_0xcd6b('0x0')]=function(_0x2a4e0f){return client[_0xcd6b('0x1')]('CreateMailQueueReport',{'body':_0x2a4e0f,'log':'CreateMailQueueReport'});};exports['update']=function(_0x7dacbf,_0x5cfc47){return client[_0xcd6b('0x1')](_0xcd6b('0x2'),{'body':_0x5cfc47,'options':{'where':{'uniqueid':_0x7dacbf},'order':[['id',_0xcd6b('0x3')]],'limit':0x1},'log':_0xcd6b('0x2')});};