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 _0xbc17=['api','moment','path','rimraf','./openchannelQueueReport.attributes','define','OpenchannelQueueReport','report_openchannel_queue','uniqueid','lodash','util'];(function(_0x3f5e62,_0x3c0357){var _0x3e1335=function(_0x163d3d){while(--_0x163d3d){_0x3f5e62['push'](_0x3f5e62['shift']());}};_0x3e1335(++_0x3c0357);}(_0xbc17,0x1ab));var _0x7bc1=function(_0x3ae147,_0x4ca19b){_0x3ae147=_0x3ae147-0x0;var _0x235663=_0xbc17[_0x3ae147];return _0x235663;};'use strict';var _=require(_0x7bc1('0x0'));var util=require(_0x7bc1('0x1'));var logger=require('../../config/logger')(_0x7bc1('0x2'));var moment=require(_0x7bc1('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7bc1('0x4'));var rimraf=require(_0x7bc1('0x5'));var config=require('../../config/environment');var attributes=require(_0x7bc1('0x6'));module['exports']=function(_0xba4fa8,_0xcecb62){return _0xba4fa8[_0x7bc1('0x7')](_0x7bc1('0x8'),attributes,{'tableName':_0x7bc1('0x9'),'paranoid':![],'indexes':[{'name':_0x7bc1('0xa'),'fields':[_0x7bc1('0xa')]}],'timestamps':!![]});};