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 _0x43e7=['../../config/environment','define','lodash','../../config/logger','request-promise','rimraf'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x43e7,0xda));var _0x743e=function(_0x1b1e76,_0x31695b){_0x1b1e76=_0x1b1e76-0x0;var _0x3d743a=_0x43e7[_0x1b1e76];return _0x3d743a;};'use strict';var _=require(_0x743e('0x0'));var util=require('util');var logger=require(_0x743e('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x743e('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0x743e('0x3'));var config=require(_0x743e('0x4'));var attributes=require('./openchannelQueueReport.attributes');module['exports']=function(_0xb0c54d,_0x54a27d){return _0xb0c54d[_0x743e('0x5')]('OpenchannelQueueReport',attributes,{'tableName':'report_openchannel_queue','paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};