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 _0x5640=['update','UpdateChatQueueReport','DESC','../client','Request','CreateChatQueueReport'];(function(_0x484ba8,_0x38aa81){var _0x975e23=function(_0x3963d4){while(--_0x3963d4){_0x484ba8['push'](_0x484ba8['shift']());}};_0x975e23(++_0x38aa81);}(_0x5640,0x111));var _0x0564=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x5640[_0x4565bf];return _0x5610ba;};'use strict';var client=require(_0x0564('0x0'));exports['create']=function(_0xaefcb6){return client[_0x0564('0x1')](_0x0564('0x2'),{'body':_0xaefcb6,'log':_0x0564('0x2')});};exports[_0x0564('0x3')]=function(_0x10487f,_0x1cbb9d){return client[_0x0564('0x1')](_0x0564('0x4'),{'body':_0x1cbb9d,'options':{'where':{'uniqueid':_0x10487f},'order':[['id',_0x0564('0x5')]],'limit':0x1},'log':_0x0564('0x4')});};