Built motion from commit 20b39a97.|2.6.29
[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 _0x3f8a=['report_queue','calleridnum','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueueReport.attributes','exports'];(function(_0x3f6bcf,_0x531e79){var _0x1c5350=function(_0x282fc5){while(--_0x282fc5){_0x3f6bcf['push'](_0x3f6bcf['shift']());}};_0x1c5350(++_0x531e79);}(_0x3f8a,0x1a6));var _0xa3f8=function(_0x118f9f,_0x36dddb){_0x118f9f=_0x118f9f-0x0;var _0x118c89=_0x3f8a[_0x118f9f];return _0x118c89;};'use strict';var _=require(_0xa3f8('0x0'));var util=require(_0xa3f8('0x1'));var logger=require(_0xa3f8('0x2'))(_0xa3f8('0x3'));var moment=require(_0xa3f8('0x4'));var BPromise=require(_0xa3f8('0x5'));var rp=require(_0xa3f8('0x6'));var fs=require('fs');var path=require(_0xa3f8('0x7'));var rimraf=require(_0xa3f8('0x8'));var config=require(_0xa3f8('0x9'));var attributes=require(_0xa3f8('0xa'));module[_0xa3f8('0xb')]=function(_0x344f67,_0xf2008a){return _0x344f67['define']('VoiceQueueReport',attributes,{'tableName':_0xa3f8('0xc'),'paranoid':![],'indexes':[{'fields':['uniqueid']},{'fields':[_0xa3f8('0xd')]}],'timestamps':!![]});};