19b55f1f9ff69472c14e65c1181f87c9294c2955
[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 _0x0c72=['Request','CreateMailQueueReport','update','DESC','UpdateMailQueueReport'];(function(_0xc2f7c,_0x2c7fd9){var _0x334f8c=function(_0x4ce1df){while(--_0x4ce1df){_0xc2f7c['push'](_0xc2f7c['shift']());}};_0x334f8c(++_0x2c7fd9);}(_0x0c72,0x1ea));var _0x20c7=function(_0x59ce26,_0x35ef4b){_0x59ce26=_0x59ce26-0x0;var _0x22c16f=_0x0c72[_0x59ce26];return _0x22c16f;};'use strict';var client=require('../client');exports['create']=function(_0x8793df){return client[_0x20c7('0x0')]('CreateMailQueueReport',{'body':_0x8793df,'log':_0x20c7('0x1')});};exports[_0x20c7('0x2')]=function(_0x1118a5,_0x4ea761){return client[_0x20c7('0x0')]('UpdateMailQueueReport',{'body':_0x4ea761,'options':{'where':{'uniqueid':_0x1118a5},'order':[['id',_0x20c7('0x3')]],'limit':0x1},'log':_0x20c7('0x4')});};