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 _0xc834=['./chatQueueReport.attributes','define','ChatQueueReport','report_chat_queue','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x1a7e2c,_0x4088aa){var _0x95e590=function(_0x39791){while(--_0x39791){_0x1a7e2c['push'](_0x1a7e2c['shift']());}};_0x95e590(++_0x4088aa);}(_0xc834,0x11d));var _0x4c83=function(_0x5523dd,_0x49e617){_0x5523dd=_0x5523dd-0x0;var _0x2ef814=_0xc834[_0x5523dd];return _0x2ef814;};'use strict';var _=require('lodash');var util=require(_0x4c83('0x0'));var logger=require(_0x4c83('0x1'))(_0x4c83('0x2'));var moment=require(_0x4c83('0x3'));var BPromise=require(_0x4c83('0x4'));var rp=require(_0x4c83('0x5'));var fs=require('fs');var path=require(_0x4c83('0x6'));var rimraf=require(_0x4c83('0x7'));var config=require(_0x4c83('0x8'));var attributes=require(_0x4c83('0x9'));module['exports']=function(_0x542dbf,_0xdb729f){return _0x542dbf[_0x4c83('0xa')](_0x4c83('0xb'),attributes,{'tableName':_0x4c83('0xc'),'paranoid':![],'indexes':[{'name':_0x4c83('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};