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 _0x685f=['DESC','../client','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0x59000f,_0x4db9ec){var _0x446a49=function(_0x2cd42d){while(--_0x2cd42d){_0x59000f['push'](_0x59000f['shift']());}};_0x446a49(++_0x4db9ec);}(_0x685f,0xc7));var _0xf685=function(_0x1642c2,_0x4aee8f){_0x1642c2=_0x1642c2-0x0;var _0x432020=_0x685f[_0x1642c2];return _0x432020;};'use strict';var client=require(_0xf685('0x0'));exports['create']=function(_0x1af520){return client[_0xf685('0x1')](_0xf685('0x2'),{'body':_0x1af520,'log':_0xf685('0x2')});};exports[_0xf685('0x3')]=function(_0x35025f,_0x2ad5dd){return client[_0xf685('0x1')](_0xf685('0x4'),{'body':_0x2ad5dd,'options':{'where':{'uniqueid':_0x35025f},'order':[['id',_0xf685('0x5')]],'limit':0x1},'log':_0xf685('0x4')});};