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 _0xfa7c=['Request','CreateChatQueueReport','update','DESC','UpdateChatQueueReport','../client'];(function(_0x23f4cd,_0x1a4f1a){var _0x5acbef=function(_0x591e5b){while(--_0x591e5b){_0x23f4cd['push'](_0x23f4cd['shift']());}};_0x5acbef(++_0x1a4f1a);}(_0xfa7c,0x15b));var _0xcfa7=function(_0x355734,_0x3b7a16){_0x355734=_0x355734-0x0;var _0x4fb69e=_0xfa7c[_0x355734];return _0x4fb69e;};'use strict';var client=require(_0xcfa7('0x0'));exports['create']=function(_0x46e1f9){return client[_0xcfa7('0x1')](_0xcfa7('0x2'),{'body':_0x46e1f9,'log':_0xcfa7('0x2')});};exports[_0xcfa7('0x3')]=function(_0x185124,_0x45411c){return client[_0xcfa7('0x1')]('UpdateChatQueueReport',{'body':_0x45411c,'options':{'where':{'uniqueid':_0x185124},'order':[['id',_0xcfa7('0x4')]],'limit':0x1},'log':_0xcfa7('0x5')});};