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 _0xa151=['create','Request','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x3a5527,_0x99d238){var _0x2126dc=function(_0x35bcb3){while(--_0x35bcb3){_0x3a5527['push'](_0x3a5527['shift']());}};_0x2126dc(++_0x99d238);}(_0xa151,0x118));var _0x1a15=function(_0x572c0b,_0x407766){_0x572c0b=_0x572c0b-0x0;var _0xcbcb44=_0xa151[_0x572c0b];return _0xcbcb44;};'use strict';var client=require('../client');exports[_0x1a15('0x0')]=function(_0x36b2d4){return client[_0x1a15('0x1')](_0x1a15('0x2'),{'body':_0x36b2d4,'log':_0x1a15('0x2')});};exports[_0x1a15('0x3')]=function(_0x2f0a23,_0x5a2c84){return client[_0x1a15('0x1')](_0x1a15('0x4'),{'body':_0x5a2c84,'options':{'where':{'uniqueid':_0x2f0a23},'order':[['id','DESC']],'limit':0x1},'log':_0x1a15('0x4')});};