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 _0x3a6f=['moment','bluebird','request-promise','path','rimraf','./openchannelQueueReport.attributes','exports','define','report_openchannel_queue','uniqueid','util','../../config/logger'];(function(_0x2b6e0b,_0x1b3684){var _0x2fe7fd=function(_0x23ef0c){while(--_0x23ef0c){_0x2b6e0b['push'](_0x2b6e0b['shift']());}};_0x2fe7fd(++_0x1b3684);}(_0x3a6f,0x18a));var _0xf3a6=function(_0x47fc7b,_0x23e0a6){_0x47fc7b=_0x47fc7b-0x0;var _0x421d71=_0x3a6f[_0x47fc7b];return _0x421d71;};'use strict';var _=require('lodash');var util=require(_0xf3a6('0x0'));var logger=require(_0xf3a6('0x1'))('api');var moment=require(_0xf3a6('0x2'));var BPromise=require(_0xf3a6('0x3'));var rp=require(_0xf3a6('0x4'));var fs=require('fs');var path=require(_0xf3a6('0x5'));var rimraf=require(_0xf3a6('0x6'));var config=require('../../config/environment');var attributes=require(_0xf3a6('0x7'));module[_0xf3a6('0x8')]=function(_0x2a8e50,_0x2aa54d){return _0x2a8e50[_0xf3a6('0x9')]('OpenchannelQueueReport',attributes,{'tableName':_0xf3a6('0xa'),'paranoid':![],'indexes':[{'name':_0xf3a6('0xb'),'fields':[_0xf3a6('0xb')]}],'timestamps':!![]});};