Built motion from commit a679711e.|2.6.15
[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 _0x16cc=['UpdateMailQueueReport','create','CreateMailQueueReport','Request'];(function(_0x453bc4,_0x1a31a0){var _0x55476c=function(_0x52e2b3){while(--_0x52e2b3){_0x453bc4['push'](_0x453bc4['shift']());}};_0x55476c(++_0x1a31a0);}(_0x16cc,0x1c1));var _0xc16c=function(_0x44febd,_0x4d63ca){_0x44febd=_0x44febd-0x0;var _0x3a0745=_0x16cc[_0x44febd];return _0x3a0745;};'use strict';var client=require('../client');exports[_0xc16c('0x0')]=function(_0x2d87f6){return client['Request'](_0xc16c('0x1'),{'body':_0x2d87f6,'log':_0xc16c('0x1')});};exports['update']=function(_0x4f38a0,_0x5b95d9){return client[_0xc16c('0x2')](_0xc16c('0x3'),{'body':_0x5b95d9,'options':{'where':{'uniqueid':_0x4f38a0},'order':[['id','DESC']],'limit':0x1},'log':_0xc16c('0x3')});};