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 _0xc820=['Request','CreateChatQueueReport','UpdateChatQueueReport','DESC','create'];(function(_0x174096,_0x345c0e){var _0x37742d=function(_0x535f9f){while(--_0x535f9f){_0x174096['push'](_0x174096['shift']());}};_0x37742d(++_0x345c0e);}(_0xc820,0x13f));var _0x0c82=function(_0x5841a4,_0x12aa83){_0x5841a4=_0x5841a4-0x0;var _0x1a3e49=_0xc820[_0x5841a4];return _0x1a3e49;};'use strict';var client=require('../client');exports[_0x0c82('0x0')]=function(_0x44415e){return client[_0x0c82('0x1')](_0x0c82('0x2'),{'body':_0x44415e,'log':_0x0c82('0x2')});};exports['update']=function(_0x409381,_0x4edc9c){return client[_0x0c82('0x1')](_0x0c82('0x3'),{'body':_0x4edc9c,'options':{'where':{'uniqueid':_0x409381},'order':[['id',_0x0c82('0x4')]],'limit':0x1},'log':_0x0c82('0x3')});};