fe7670af88c7fe11e592c7ade705fde30b09af5a
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x5110=['../../config/logger','api','request-promise','path','rimraf','../../config/environment','./voiceQueueReport.attributes','exports','define','VoiceQueueReport','uniqueid','lodash','util'];(function(_0x416586,_0xbdf0b1){var _0x5cbb10=function(_0x274854){while(--_0x274854){_0x416586['push'](_0x416586['shift']());}};_0x5cbb10(++_0xbdf0b1);}(_0x5110,0x19e));var _0x0511=function(_0x33ee40,_0x27f558){_0x33ee40=_0x33ee40-0x0;var _0x5098b5=_0x5110[_0x33ee40];return _0x5098b5;};'use strict';var _=require(_0x0511('0x0'));var util=require(_0x0511('0x1'));var logger=require(_0x0511('0x2'))(_0x0511('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x0511('0x4'));var fs=require('fs');var path=require(_0x0511('0x5'));var rimraf=require(_0x0511('0x6'));var config=require(_0x0511('0x7'));var attributes=require(_0x0511('0x8'));module[_0x0511('0x9')]=function(_0x4479a0,_0x3e3e5c){return _0x4479a0[_0x0511('0xa')](_0x0511('0xb'),attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':[_0x0511('0xc')]},{'fields':['calleridnum']}],'timestamps':!![]});};