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 _0x7f42=['DESC','../client','Request','CreateChatQueueReport'];(function(_0x37891c,_0x1b8330){var _0x2756b7=function(_0x257d3c){while(--_0x257d3c){_0x37891c['push'](_0x37891c['shift']());}};_0x2756b7(++_0x1b8330);}(_0x7f42,0x1dd));var _0x27f4=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0x7f42[_0x46e363];return _0x3fb059;};'use strict';var client=require(_0x27f4('0x0'));exports['create']=function(_0x26ace2){return client[_0x27f4('0x1')]('CreateChatQueueReport',{'body':_0x26ace2,'log':_0x27f4('0x2')});};exports['update']=function(_0x10627e,_0x4e1ac1){return client[_0x27f4('0x1')]('UpdateChatQueueReport',{'body':_0x4e1ac1,'options':{'where':{'uniqueid':_0x10627e},'order':[['id',_0x27f4('0x3')]],'limit':0x1},'log':'UpdateChatQueueReport'});};