1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xdf97=['../client','create','Request','CreateMailQueueReport','UpdateMailQueueReport','DESC'];(function(_0x1e1987,_0x479262){var _0x1eba61=function(_0x23e909){while(--_0x23e909){_0x1e1987['push'](_0x1e1987['shift']());}};_0x1eba61(++_0x479262);}(_0xdf97,0x11a));var _0x7df9=function(_0x3a6ae9,_0x4b9f10){_0x3a6ae9=_0x3a6ae9-0x0;var _0x34c58f=_0xdf97[_0x3a6ae9];return _0x34c58f;};'use strict';var client=require(_0x7df9('0x0'));exports[_0x7df9('0x1')]=function(_0x351c44){return client[_0x7df9('0x2')](_0x7df9('0x3'),{'body':_0x351c44,'log':_0x7df9('0x3')});};exports['update']=function(_0x1b1fac,_0x5dfaa1){return client[_0x7df9('0x2')](_0x7df9('0x4'),{'body':_0x5dfaa1,'options':{'where':{'uniqueid':_0x1b1fac},'order':[['id',_0x7df9('0x5')]],'limit':0x1},'log':_0x7df9('0x4')});};