Built motion from commit c738b9ac.|2.6.25
[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 _0x31ca=['moment','bluebird','request-promise','rimraf','../../config/environment','./voiceQueueReport.attributes','exports','VoiceQueueReport','calleridnum','lodash','util','../../config/logger','api'];(function(_0x17e1dc,_0x495627){var _0x17dd25=function(_0x535bac){while(--_0x535bac){_0x17e1dc['push'](_0x17e1dc['shift']());}};_0x17dd25(++_0x495627);}(_0x31ca,0x14e));var _0xa31c=function(_0x56ebf2,_0x4a7b69){_0x56ebf2=_0x56ebf2-0x0;var _0x27f0fb=_0x31ca[_0x56ebf2];return _0x27f0fb;};'use strict';var _=require(_0xa31c('0x0'));var util=require(_0xa31c('0x1'));var logger=require(_0xa31c('0x2'))(_0xa31c('0x3'));var moment=require(_0xa31c('0x4'));var BPromise=require(_0xa31c('0x5'));var rp=require(_0xa31c('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa31c('0x7'));var config=require(_0xa31c('0x8'));var attributes=require(_0xa31c('0x9'));module[_0xa31c('0xa')]=function(_0x1593cd,_0x2dfdfb){return _0x1593cd['define'](_0xa31c('0xb'),attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':['uniqueid']},{'fields':[_0xa31c('0xc')]}],'timestamps':!![]});};