Built motion from commit 3e059bc2.|2.5.32
[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 _0x2abd=['CreateMailQueueReport','UpdateMailQueueReport','DESC','../client'];(function(_0x26b5ff,_0x92009a){var _0x58603e=function(_0x4454ff){while(--_0x4454ff){_0x26b5ff['push'](_0x26b5ff['shift']());}};_0x58603e(++_0x92009a);}(_0x2abd,0x163));var _0xd2ab=function(_0x525c7b,_0x488fcc){_0x525c7b=_0x525c7b-0x0;var _0x27b33e=_0x2abd[_0x525c7b];return _0x27b33e;};'use strict';var client=require(_0xd2ab('0x0'));exports['create']=function(_0x215c2b){return client['Request'](_0xd2ab('0x1'),{'body':_0x215c2b,'log':_0xd2ab('0x1')});};exports['update']=function(_0x5d74c0,_0x170782){return client['Request'](_0xd2ab('0x2'),{'body':_0x170782,'options':{'where':{'uniqueid':_0x5d74c0},'order':[['id',_0xd2ab('0x3')]],'limit':0x1},'log':_0xd2ab('0x2')});};