Built motion from commit f0a64034.|2.6.11
[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 _0x6167=['request-promise','path','../../config/environment','./voiceQueueReport.attributes','define','VoiceQueueReport','report_queue','calleridnum','lodash','../../config/logger','api','moment'];(function(_0x116895,_0x3dc984){var _0x42608e=function(_0x2d4fe0){while(--_0x2d4fe0){_0x116895['push'](_0x116895['shift']());}};_0x42608e(++_0x3dc984);}(_0x6167,0x1a0));var _0x7616=function(_0x16f878,_0x4d9c04){_0x16f878=_0x16f878-0x0;var _0x42bbae=_0x6167[_0x16f878];return _0x42bbae;};'use strict';var _=require(_0x7616('0x0'));var util=require('util');var logger=require(_0x7616('0x1'))(_0x7616('0x2'));var moment=require(_0x7616('0x3'));var BPromise=require('bluebird');var rp=require(_0x7616('0x4'));var fs=require('fs');var path=require(_0x7616('0x5'));var rimraf=require('rimraf');var config=require(_0x7616('0x6'));var attributes=require(_0x7616('0x7'));module['exports']=function(_0x4b95fd,_0x29b07a){return _0x4b95fd[_0x7616('0x8')](_0x7616('0x9'),attributes,{'tableName':_0x7616('0xa'),'paranoid':![],'indexes':[{'fields':['uniqueid']},{'fields':[_0x7616('0xb')]}],'timestamps':!![]});};