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 _0x4f88=['CreateChatQueueReport','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x3f3224,_0x18a170){var _0x4abc3f=function(_0x5e5050){while(--_0x5e5050){_0x3f3224['push'](_0x3f3224['shift']());}};_0x4abc3f(++_0x18a170);}(_0x4f88,0xf3));var _0x84f8=function(_0x2179f1,_0x21c653){_0x2179f1=_0x2179f1-0x0;var _0x176ec9=_0x4f88[_0x2179f1];return _0x176ec9;};'use strict';var client=require(_0x84f8('0x0'));exports[_0x84f8('0x1')]=function(_0x5b8988){return client[_0x84f8('0x2')](_0x84f8('0x3'),{'body':_0x5b8988,'log':_0x84f8('0x3')});};exports['update']=function(_0x5c24f1,_0xef8394){return client[_0x84f8('0x2')](_0x84f8('0x4'),{'body':_0xef8394,'options':{'where':{'uniqueid':_0x5c24f1},'order':[['id',_0x84f8('0x5')]],'limit':0x1},'log':_0x84f8('0x4')});};