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 _0xb9bb=['exports','OpenchannelQueueReport','uniqueid','../../config/logger','api','path','./openchannelQueueReport.attributes'];(function(_0x5e9d44,_0x10e39b){var _0x440329=function(_0x3a8cf3){while(--_0x3a8cf3){_0x5e9d44['push'](_0x5e9d44['shift']());}};_0x440329(++_0x10e39b);}(_0xb9bb,0xa4));var _0xbb9b=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xb9bb[_0x3ab51d];return _0x29a04e;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xbb9b('0x0'))(_0xbb9b('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xbb9b('0x2'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xbb9b('0x3'));module[_0xbb9b('0x4')]=function(_0x1afa70,_0x224710){return _0x1afa70['define'](_0xbb9b('0x5'),attributes,{'tableName':'report_openchannel_queue','paranoid':![],'indexes':[{'name':_0xbb9b('0x6'),'fields':[_0xbb9b('0x6')]}],'timestamps':!![]});};