61c509724ec0309813a91830b4fdd2134ee663ce
[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 _0xe409=['define','VoiceQueueReport','uniqueid','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueueReport.attributes','exports'];(function(_0x3b0cd,_0x13056f){var _0x2ccb2b=function(_0x3451bd){while(--_0x3451bd){_0x3b0cd['push'](_0x3b0cd['shift']());}};_0x2ccb2b(++_0x13056f);}(_0xe409,0x1d7));var _0x9e40=function(_0x6f6361,_0xd3bf92){_0x6f6361=_0x6f6361-0x0;var _0x584b86=_0xe409[_0x6f6361];return _0x584b86;};'use strict';var _=require(_0x9e40('0x0'));var util=require(_0x9e40('0x1'));var logger=require(_0x9e40('0x2'))('api');var moment=require('moment');var BPromise=require(_0x9e40('0x3'));var rp=require(_0x9e40('0x4'));var fs=require('fs');var path=require(_0x9e40('0x5'));var rimraf=require(_0x9e40('0x6'));var config=require(_0x9e40('0x7'));var attributes=require(_0x9e40('0x8'));module[_0x9e40('0x9')]=function(_0x59177e,_0x32c006){return _0x59177e[_0x9e40('0xa')](_0x9e40('0xb'),attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':[_0x9e40('0xc')]},{'fields':['calleridnum']}],'timestamps':!![]});};