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 _0xae23=['CreateOpenchannelQueueReport','DESC','UpdateOpenchannelQueueReport','../client'];(function(_0x1ce4d1,_0xea0bcb){var _0x1b270e=function(_0x584e49){while(--_0x584e49){_0x1ce4d1['push'](_0x1ce4d1['shift']());}};_0x1b270e(++_0xea0bcb);}(_0xae23,0x15b));var _0x3ae2=function(_0xf0bcac,_0x531755){_0xf0bcac=_0xf0bcac-0x0;var _0x4e4c65=_0xae23[_0xf0bcac];return _0x4e4c65;};'use strict';var client=require(_0x3ae2('0x0'));exports['create']=function(_0x6e79f7){return client['Request'](_0x3ae2('0x1'),{'body':_0x6e79f7,'log':_0x3ae2('0x1')});};exports['update']=function(_0x381ac4,_0x4379c6){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0x4379c6,'options':{'where':{'uniqueid':_0x381ac4},'order':[['id',_0x3ae2('0x2')]],'limit':0x1},'log':_0x3ae2('0x3')});};